module Stratosphere.S3Express.AccessPoint (
module Exports, AccessPoint(..), mkAccessPoint
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.S3Express.AccessPoint.PublicAccessBlockConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.S3Express.AccessPoint.ScopeProperty as Exports
import {-# SOURCE #-} Stratosphere.S3Express.AccessPoint.VpcConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data AccessPoint
=
AccessPoint {AccessPoint -> ()
haddock_workaround_ :: (),
AccessPoint -> Value Text
bucket :: (Value Prelude.Text),
AccessPoint -> Maybe (Value Text)
bucketAccountId :: (Prelude.Maybe (Value Prelude.Text)),
AccessPoint -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
AccessPoint -> Maybe Object
policy :: (Prelude.Maybe JSON.Object),
AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
publicAccessBlockConfiguration :: (Prelude.Maybe PublicAccessBlockConfigurationProperty),
AccessPoint -> Maybe ScopeProperty
scope :: (Prelude.Maybe ScopeProperty),
AccessPoint -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
AccessPoint -> Maybe VpcConfigurationProperty
vpcConfiguration :: (Prelude.Maybe VpcConfigurationProperty)}
deriving stock (AccessPoint -> AccessPoint -> Bool
(AccessPoint -> AccessPoint -> Bool)
-> (AccessPoint -> AccessPoint -> Bool) -> Eq AccessPoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AccessPoint -> AccessPoint -> Bool
== :: AccessPoint -> AccessPoint -> Bool
$c/= :: AccessPoint -> AccessPoint -> Bool
/= :: AccessPoint -> AccessPoint -> Bool
Prelude.Eq, Int -> AccessPoint -> ShowS
[AccessPoint] -> ShowS
AccessPoint -> String
(Int -> AccessPoint -> ShowS)
-> (AccessPoint -> String)
-> ([AccessPoint] -> ShowS)
-> Show AccessPoint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AccessPoint -> ShowS
showsPrec :: Int -> AccessPoint -> ShowS
$cshow :: AccessPoint -> String
show :: AccessPoint -> String
$cshowList :: [AccessPoint] -> ShowS
showList :: [AccessPoint] -> ShowS
Prelude.Show)
mkAccessPoint :: Value Prelude.Text -> AccessPoint
mkAccessPoint :: Value Text -> AccessPoint
mkAccessPoint Value Text
bucket
= AccessPoint
{haddock_workaround_ :: ()
haddock_workaround_ = (), bucket :: Value Text
bucket = Value Text
bucket,
bucketAccountId :: Maybe (Value Text)
bucketAccountId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
policy :: Maybe Object
policy = Maybe Object
forall a. Maybe a
Prelude.Nothing,
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
publicAccessBlockConfiguration = Maybe PublicAccessBlockConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
scope :: Maybe ScopeProperty
scope = Maybe ScopeProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
vpcConfiguration :: Maybe VpcConfigurationProperty
vpcConfiguration = Maybe VpcConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AccessPoint where
toResourceProperties :: AccessPoint -> ResourceProperties
toResourceProperties AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::S3Express::AccessPoint",
supportsTags :: Bool
supportsTags = Bool
Prelude.True,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"Bucket" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
bucket]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BucketAccountId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
bucketAccountId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Policy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
policy,
Key -> PublicAccessBlockConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PublicAccessBlockConfiguration"
(PublicAccessBlockConfigurationProperty -> (Key, Value))
-> Maybe PublicAccessBlockConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PublicAccessBlockConfigurationProperty
publicAccessBlockConfiguration,
Key -> ScopeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Scope" (ScopeProperty -> (Key, Value))
-> Maybe ScopeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ScopeProperty
scope,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Key -> VpcConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcConfiguration" (VpcConfigurationProperty -> (Key, Value))
-> Maybe VpcConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VpcConfigurationProperty
vpcConfiguration]))}
instance JSON.ToJSON AccessPoint where
toJSON :: AccessPoint -> Value
toJSON AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"Bucket" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
bucket]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BucketAccountId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
bucketAccountId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Policy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
policy,
Key -> PublicAccessBlockConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PublicAccessBlockConfiguration"
(PublicAccessBlockConfigurationProperty -> (Key, Value))
-> Maybe PublicAccessBlockConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PublicAccessBlockConfigurationProperty
publicAccessBlockConfiguration,
Key -> ScopeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Scope" (ScopeProperty -> (Key, Value))
-> Maybe ScopeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ScopeProperty
scope,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Key -> VpcConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcConfiguration" (VpcConfigurationProperty -> (Key, Value))
-> Maybe VpcConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VpcConfigurationProperty
vpcConfiguration])))
instance Property "Bucket" AccessPoint where
type PropertyType "Bucket" AccessPoint = Value Prelude.Text
set :: PropertyType "Bucket" AccessPoint -> AccessPoint -> AccessPoint
set PropertyType "Bucket" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..} = AccessPoint {bucket :: Value Text
bucket = PropertyType "Bucket" AccessPoint
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
haddock_workaround_ :: ()
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "BucketAccountId" AccessPoint where
type PropertyType "BucketAccountId" AccessPoint = Value Prelude.Text
set :: PropertyType "BucketAccountId" AccessPoint
-> AccessPoint -> AccessPoint
set PropertyType "BucketAccountId" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint {bucketAccountId :: Maybe (Value Text)
bucketAccountId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BucketAccountId" AccessPoint
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "Name" AccessPoint where
type PropertyType "Name" AccessPoint = Value Prelude.Text
set :: PropertyType "Name" AccessPoint -> AccessPoint -> AccessPoint
set PropertyType "Name" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" AccessPoint
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "Policy" AccessPoint where
type PropertyType "Policy" AccessPoint = JSON.Object
set :: PropertyType "Policy" AccessPoint -> AccessPoint -> AccessPoint
set PropertyType "Policy" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint {policy :: Maybe Object
policy = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "Policy" AccessPoint
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "PublicAccessBlockConfiguration" AccessPoint where
type PropertyType "PublicAccessBlockConfiguration" AccessPoint = PublicAccessBlockConfigurationProperty
set :: PropertyType "PublicAccessBlockConfiguration" AccessPoint
-> AccessPoint -> AccessPoint
set PropertyType "PublicAccessBlockConfiguration" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint
{publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
publicAccessBlockConfiguration = PublicAccessBlockConfigurationProperty
-> Maybe PublicAccessBlockConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PublicAccessBlockConfiguration" AccessPoint
PublicAccessBlockConfigurationProperty
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "Scope" AccessPoint where
type PropertyType "Scope" AccessPoint = ScopeProperty
set :: PropertyType "Scope" AccessPoint -> AccessPoint -> AccessPoint
set PropertyType "Scope" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint {scope :: Maybe ScopeProperty
scope = ScopeProperty -> Maybe ScopeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Scope" AccessPoint
ScopeProperty
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "Tags" AccessPoint where
type PropertyType "Tags" AccessPoint = [Tag]
set :: PropertyType "Tags" AccessPoint -> AccessPoint -> AccessPoint
set PropertyType "Tags" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" AccessPoint
newValue, Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
vpcConfiguration :: Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
instance Property "VpcConfiguration" AccessPoint where
type PropertyType "VpcConfiguration" AccessPoint = VpcConfigurationProperty
set :: PropertyType "VpcConfiguration" AccessPoint
-> AccessPoint -> AccessPoint
set PropertyType "VpcConfiguration" AccessPoint
newValue AccessPoint {Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
Maybe VpcConfigurationProperty
()
Value Text
haddock_workaround_ :: AccessPoint -> ()
bucket :: AccessPoint -> Value Text
bucketAccountId :: AccessPoint -> Maybe (Value Text)
name :: AccessPoint -> Maybe (Value Text)
policy :: AccessPoint -> Maybe Object
publicAccessBlockConfiguration :: AccessPoint -> Maybe PublicAccessBlockConfigurationProperty
scope :: AccessPoint -> Maybe ScopeProperty
tags :: AccessPoint -> Maybe [Tag]
vpcConfiguration :: AccessPoint -> Maybe VpcConfigurationProperty
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
vpcConfiguration :: Maybe VpcConfigurationProperty
..}
= AccessPoint {vpcConfiguration :: Maybe VpcConfigurationProperty
vpcConfiguration = VpcConfigurationProperty -> Maybe VpcConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcConfiguration" AccessPoint
VpcConfigurationProperty
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
Maybe PublicAccessBlockConfigurationProperty
Maybe ScopeProperty
()
Value Text
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
bucket :: Value Text
bucketAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
publicAccessBlockConfiguration :: Maybe PublicAccessBlockConfigurationProperty
scope :: Maybe ScopeProperty
tags :: Maybe [Tag]
..}