| 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.Glacier.Types.Grant
Description
Synopsis
- data Grant = Grant' {}
 - newGrant :: Grant
 - grant_grantee :: Lens' Grant (Maybe Grantee)
 - grant_permission :: Lens' Grant (Maybe Permission)
 
Documentation
Contains information about a grant.
See: newGrant smart constructor.
Constructors
| Grant' | |
Fields 
  | |
Instances
| FromJSON Grant Source # | |
| ToJSON Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant  | |
| Generic Grant Source # | |
| Read Grant Source # | |
| Show Grant Source # | |
| NFData Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant  | |
| Eq Grant Source # | |
| Hashable Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant  | |
| type Rep Grant Source # | |
Defined in Amazonka.Glacier.Types.Grant type Rep Grant = D1 ('MetaData "Grant" "Amazonka.Glacier.Types.Grant" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" '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 grantee.
$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.