| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types.Grant
Description
Synopsis
- data Grant = Grant' {}
- newGrant :: Grant
- grant_grantee :: Lens' Grant (Maybe Grantee)
- grant_permission :: Lens' Grant (Maybe Permission)
Documentation
Container for grant information.
See: newGrant smart constructor.
Constructors
| Grant' | |
Fields
| |
Instances
| FromXML Grant Source # | |
| ToXML Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
| Generic Grant Source # | |
| Read Grant Source # | |
| Show Grant Source # | |
| NFData Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
| Eq Grant Source # | |
| Hashable 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" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Grant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Grantee)) :*: S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Permission)))) | |
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:grantee:Grant', grant_grantee - The person being granted permissions.
$sel:permission:Grant', grant_permission - Specifies the permission given to the grantee.
grant_permission :: Lens' Grant (Maybe Permission) Source #
Specifies the permission given to the grantee.