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
Contains information about a grant.
See: newGrant
smart constructor.
Grant' | |
|
Instances
Eq Grant Source # | |
Read Grant Source # | |
Show Grant Source # | |
Generic Grant Source # | |
NFData Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant | |
Hashable Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant | |
ToJSON Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant | |
FromJSON Grant Source # | |
type Rep Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant type Rep Grant = D1 ('MetaData "Grant" "Amazonka.Glacier.Types.Grant" "libZSservicesZSamazonka-glacierZSamazonka-glacier" '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 grantee.
grant_permission :: Lens' Grant (Maybe Permission) Source #
Specifies the permission given to the grantee.