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 GrantListEntry = GrantListEntry' {}
- newGrantListEntry :: GrantListEntry
- grantListEntry_keyId :: Lens' GrantListEntry (Maybe Text)
- grantListEntry_retiringPrincipal :: Lens' GrantListEntry (Maybe Text)
- grantListEntry_issuingAccount :: Lens' GrantListEntry (Maybe Text)
- grantListEntry_grantId :: Lens' GrantListEntry (Maybe Text)
- grantListEntry_constraints :: Lens' GrantListEntry (Maybe GrantConstraints)
- grantListEntry_granteePrincipal :: Lens' GrantListEntry (Maybe Text)
- grantListEntry_name :: Lens' GrantListEntry (Maybe Text)
- grantListEntry_creationDate :: Lens' GrantListEntry (Maybe UTCTime)
- grantListEntry_operations :: Lens' GrantListEntry (Maybe [GrantOperation])
Documentation
data GrantListEntry Source #
Contains information about a grant.
See: newGrantListEntry
smart constructor.
GrantListEntry' | |
|
Instances
newGrantListEntry :: GrantListEntry Source #
Create a value of GrantListEntry
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:keyId:GrantListEntry'
, grantListEntry_keyId
- The unique identifier for the KMS key to which the grant applies.
$sel:retiringPrincipal:GrantListEntry'
, grantListEntry_retiringPrincipal
- The principal that can retire the grant.
$sel:issuingAccount:GrantListEntry'
, grantListEntry_issuingAccount
- The Amazon Web Services account under which the grant was issued.
$sel:grantId:GrantListEntry'
, grantListEntry_grantId
- The unique identifier for the grant.
$sel:constraints:GrantListEntry'
, grantListEntry_constraints
- A list of key-value pairs that must be present in the encryption context
of certain subsequent operations that the grant allows.
$sel:granteePrincipal:GrantListEntry'
, grantListEntry_granteePrincipal
- The identity that gets the permissions in the grant.
The GranteePrincipal
field in the ListGrants
response usually
contains the user or role designated as the grantee principal in the
grant. However, when the grantee principal in the grant is an Amazon Web
Services service, the GranteePrincipal
field contains the
service principal,
which might represent several different grantee principals.
$sel:name:GrantListEntry'
, grantListEntry_name
- The friendly name that identifies the grant. If a name was provided in
the CreateGrant request, that name is returned. Otherwise this value is
null.
$sel:creationDate:GrantListEntry'
, grantListEntry_creationDate
- The date and time when the grant was created.
$sel:operations:GrantListEntry'
, grantListEntry_operations
- The list of operations permitted by the grant.
grantListEntry_keyId :: Lens' GrantListEntry (Maybe Text) Source #
The unique identifier for the KMS key to which the grant applies.
grantListEntry_retiringPrincipal :: Lens' GrantListEntry (Maybe Text) Source #
The principal that can retire the grant.
grantListEntry_issuingAccount :: Lens' GrantListEntry (Maybe Text) Source #
The Amazon Web Services account under which the grant was issued.
grantListEntry_grantId :: Lens' GrantListEntry (Maybe Text) Source #
The unique identifier for the grant.
grantListEntry_constraints :: Lens' GrantListEntry (Maybe GrantConstraints) Source #
A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.
grantListEntry_granteePrincipal :: Lens' GrantListEntry (Maybe Text) Source #
The identity that gets the permissions in the grant.
The GranteePrincipal
field in the ListGrants
response usually
contains the user or role designated as the grantee principal in the
grant. However, when the grantee principal in the grant is an Amazon Web
Services service, the GranteePrincipal
field contains the
service principal,
which might represent several different grantee principals.
grantListEntry_name :: Lens' GrantListEntry (Maybe Text) Source #
The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null.
grantListEntry_creationDate :: Lens' GrantListEntry (Maybe UTCTime) Source #
The date and time when the grant was created.
grantListEntry_operations :: Lens' GrantListEntry (Maybe [GrantOperation]) Source #
The list of operations permitted by the grant.