libZSservicesZSamazonka-kmsZSamazonka-kms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KMS.Types.GrantListEntry

Description

 
Synopsis

Documentation

data GrantListEntry Source #

Contains information about a grant.

See: newGrantListEntry smart constructor.

Constructors

GrantListEntry' 

Fields

  • keyId :: Maybe Text

    The unique identifier for the KMS key to which the grant applies.

  • retiringPrincipal :: Maybe Text

    The principal that can retire the grant.

  • issuingAccount :: Maybe Text

    The Amazon Web Services account under which the grant was issued.

  • grantId :: Maybe Text

    The unique identifier for the grant.

  • constraints :: Maybe GrantConstraints

    A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.

  • granteePrincipal :: Maybe Text

    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.

  • name :: Maybe Text

    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.

  • creationDate :: Maybe POSIX

    The date and time when the grant was created.

  • operations :: Maybe [GrantOperation]

    The list of operations permitted by the grant.

Instances

Instances details
Eq GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

Read GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

Show GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

Generic GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

Associated Types

type Rep GrantListEntry :: Type -> Type #

NFData GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

Methods

rnf :: GrantListEntry -> () #

Hashable GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

FromJSON GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

type Rep GrantListEntry Source # 
Instance details

Defined in Amazonka.KMS.Types.GrantListEntry

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.