GrantListEntry
public struct GrantListEntry : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.
Declaration
Swift
public let constraints: GrantConstraints?
-
The date and time when the grant was created.
Declaration
Swift
public let creationDate: TimeStamp?
-
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 AWS service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.
Declaration
Swift
public let granteePrincipal: String?
-
The unique identifier for the grant.
Declaration
Swift
public let grantId: String?
-
The AWS account under which the grant was issued.
Declaration
Swift
public let issuingAccount: String?
-
The unique identifier for the customer master key (CMK) to which the grant applies.
Declaration
Swift
public let keyId: String?
-
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.
Declaration
Swift
public let name: String?
-
The list of operations permitted by the grant.
Declaration
Swift
public let operations: [GrantOperation]?
-
The principal that can retire the grant.
Declaration
Swift
public let retiringPrincipal: String?
-
init(constraints:creationDate:granteePrincipal:grantId:issuingAccount:keyId:name:operations:retiringPrincipal:)
Undocumented
Declaration
Swift
public init(constraints: GrantConstraints? = nil, creationDate: TimeStamp? = nil, granteePrincipal: String? = nil, grantId: String? = nil, issuingAccount: String? = nil, keyId: String? = nil, name: String? = nil, operations: [GrantOperation]? = nil, retiringPrincipal: String? = nil)