Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Grant = Grant' {}
- newGrant :: Grant
- grant_permission :: Lens' Grant (Maybe Permission)
- grant_grantee :: Lens' Grant (Maybe Grantee)
Documentation
Container for grant information.
See: newGrant
smart constructor.
Grant' | |
|
Instances
Eq Grant Source # | |
Read Grant Source # | |
Show Grant Source # | |
Generic Grant Source # | |
NFData Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
Hashable Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
FromXML Grant Source # | |
ToXML Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
type Rep Grant Source # | |
Defined in Amazonka.S3.Types.Grant type Rep Grant = D1 ('MetaData "Grant" "Amazonka.S3.Types.Grant" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "Grant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Permission)) :*: S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Grantee)))) |
Create a value of Grant
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:permission:Grant'
, grant_permission
- Specifies the permission given to the grantee.
$sel:grantee:Grant'
, grant_grantee
- The person being granted permissions.
grant_permission :: Lens' Grant (Maybe Permission) Source #
Specifies the permission given to the grantee.