module Stratosphere.S3.AccessGrant (
module Exports, AccessGrant(..), mkAccessGrant
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.S3.AccessGrant.AccessGrantsLocationConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.AccessGrant.GranteeProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data AccessGrant
=
AccessGrant {AccessGrant -> ()
haddock_workaround_ :: (),
AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationConfiguration :: (Prelude.Maybe AccessGrantsLocationConfigurationProperty),
AccessGrant -> Value Text
accessGrantsLocationId :: (Value Prelude.Text),
AccessGrant -> Maybe (Value Text)
applicationArn :: (Prelude.Maybe (Value Prelude.Text)),
AccessGrant -> GranteeProperty
grantee :: GranteeProperty,
AccessGrant -> Value Text
permission :: (Value Prelude.Text),
AccessGrant -> Maybe (Value Text)
s3PrefixType :: (Prelude.Maybe (Value Prelude.Text)),
AccessGrant -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (AccessGrant -> AccessGrant -> Bool
(AccessGrant -> AccessGrant -> Bool)
-> (AccessGrant -> AccessGrant -> Bool) -> Eq AccessGrant
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AccessGrant -> AccessGrant -> Bool
== :: AccessGrant -> AccessGrant -> Bool
$c/= :: AccessGrant -> AccessGrant -> Bool
/= :: AccessGrant -> AccessGrant -> Bool
Prelude.Eq, Int -> AccessGrant -> ShowS
[AccessGrant] -> ShowS
AccessGrant -> String
(Int -> AccessGrant -> ShowS)
-> (AccessGrant -> String)
-> ([AccessGrant] -> ShowS)
-> Show AccessGrant
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AccessGrant -> ShowS
showsPrec :: Int -> AccessGrant -> ShowS
$cshow :: AccessGrant -> String
show :: AccessGrant -> String
$cshowList :: [AccessGrant] -> ShowS
showList :: [AccessGrant] -> ShowS
Prelude.Show)
mkAccessGrant ::
Value Prelude.Text
-> GranteeProperty -> Value Prelude.Text -> AccessGrant
mkAccessGrant :: Value Text -> GranteeProperty -> Value Text -> AccessGrant
mkAccessGrant Value Text
accessGrantsLocationId GranteeProperty
grantee Value Text
permission
= AccessGrant
{haddock_workaround_ :: ()
haddock_workaround_ = (),
accessGrantsLocationId :: Value Text
accessGrantsLocationId = Value Text
accessGrantsLocationId, grantee :: GranteeProperty
grantee = GranteeProperty
grantee,
permission :: Value Text
permission = Value Text
permission,
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationConfiguration = Maybe AccessGrantsLocationConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
applicationArn :: Maybe (Value Text)
applicationArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, s3PrefixType :: Maybe (Value Text)
s3PrefixType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AccessGrant where
toResourceProperties :: AccessGrant -> ResourceProperties
toResourceProperties AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::S3::AccessGrant", 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
"AccessGrantsLocationId" 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
accessGrantsLocationId,
Key
"Grantee" Key -> GranteeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= GranteeProperty
grantee, Key
"Permission" 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
permission]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AccessGrantsLocationConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AccessGrantsLocationConfiguration"
(AccessGrantsLocationConfigurationProperty -> (Key, Value))
-> Maybe AccessGrantsLocationConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationConfiguration,
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
"ApplicationArn" (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)
applicationArn,
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
"S3PrefixType" (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)
s3PrefixType,
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]))}
instance JSON.ToJSON AccessGrant where
toJSON :: AccessGrant -> Value
toJSON AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= [(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
"AccessGrantsLocationId" 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
accessGrantsLocationId,
Key
"Grantee" Key -> GranteeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= GranteeProperty
grantee, Key
"Permission" 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
permission]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AccessGrantsLocationConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AccessGrantsLocationConfiguration"
(AccessGrantsLocationConfigurationProperty -> (Key, Value))
-> Maybe AccessGrantsLocationConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationConfiguration,
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
"ApplicationArn" (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)
applicationArn,
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
"S3PrefixType" (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)
s3PrefixType,
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])))
instance Property "AccessGrantsLocationConfiguration" AccessGrant where
type PropertyType "AccessGrantsLocationConfiguration" AccessGrant = AccessGrantsLocationConfigurationProperty
set :: PropertyType "AccessGrantsLocationConfiguration" AccessGrant
-> AccessGrant -> AccessGrant
set PropertyType "AccessGrantsLocationConfiguration" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant
{accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationConfiguration = AccessGrantsLocationConfigurationProperty
-> Maybe AccessGrantsLocationConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AccessGrantsLocationConfiguration" AccessGrant
AccessGrantsLocationConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
GranteeProperty
haddock_workaround_ :: ()
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "AccessGrantsLocationId" AccessGrant where
type PropertyType "AccessGrantsLocationId" AccessGrant = Value Prelude.Text
set :: PropertyType "AccessGrantsLocationId" AccessGrant
-> AccessGrant -> AccessGrant
set PropertyType "AccessGrantsLocationId" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant {accessGrantsLocationId :: Value Text
accessGrantsLocationId = PropertyType "AccessGrantsLocationId" AccessGrant
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "ApplicationArn" AccessGrant where
type PropertyType "ApplicationArn" AccessGrant = Value Prelude.Text
set :: PropertyType "ApplicationArn" AccessGrant
-> AccessGrant -> AccessGrant
set PropertyType "ApplicationArn" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant {applicationArn :: Maybe (Value Text)
applicationArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ApplicationArn" AccessGrant
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Grantee" AccessGrant where
type PropertyType "Grantee" AccessGrant = GranteeProperty
set :: PropertyType "Grantee" AccessGrant -> AccessGrant -> AccessGrant
set PropertyType "Grantee" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant {grantee :: GranteeProperty
grantee = PropertyType "Grantee" AccessGrant
GranteeProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Permission" AccessGrant where
type PropertyType "Permission" AccessGrant = Value Prelude.Text
set :: PropertyType "Permission" AccessGrant -> AccessGrant -> AccessGrant
set PropertyType "Permission" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant {permission :: Value Text
permission = PropertyType "Permission" AccessGrant
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "S3PrefixType" AccessGrant where
type PropertyType "S3PrefixType" AccessGrant = Value Prelude.Text
set :: PropertyType "S3PrefixType" AccessGrant
-> AccessGrant -> AccessGrant
set PropertyType "S3PrefixType" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant {s3PrefixType :: Maybe (Value Text)
s3PrefixType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3PrefixType" AccessGrant
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" AccessGrant where
type PropertyType "Tags" AccessGrant = [Tag]
set :: PropertyType "Tags" AccessGrant -> AccessGrant -> AccessGrant
set PropertyType "Tags" AccessGrant
newValue AccessGrant {Maybe [Tag]
Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: AccessGrant -> ()
accessGrantsLocationConfiguration :: AccessGrant -> Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: AccessGrant -> Value Text
applicationArn :: AccessGrant -> Maybe (Value Text)
grantee :: AccessGrant -> GranteeProperty
permission :: AccessGrant -> Value Text
s3PrefixType :: AccessGrant -> Maybe (Value Text)
tags :: AccessGrant -> Maybe [Tag]
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= AccessGrant {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" AccessGrant
newValue, Maybe (Value Text)
Maybe AccessGrantsLocationConfigurationProperty
()
Value Text
GranteeProperty
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
haddock_workaround_ :: ()
accessGrantsLocationConfiguration :: Maybe AccessGrantsLocationConfigurationProperty
accessGrantsLocationId :: Value Text
applicationArn :: Maybe (Value Text)
grantee :: GranteeProperty
permission :: Value Text
s3PrefixType :: Maybe (Value Text)
..}