Struct: kms.GrantListEntry
Overview
Contains information about a grant.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Constraints *GrantConstraints
A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.
-
CreationDate *time.Time
The date and time when the grant was created.
-
GrantId *string
The unique identifier for the grant.
-
GranteePrincipal *string
The identity that gets the permissions in the grant.
-
IssuingAccount *string
The Amazon Web Services account under which the grant was issued.
-
KeyId *string
The unique identifier for the KMS key to which the grant applies.
-
Name *string
The friendly name that identifies the grant.
-
Operations []*string
The list of operations permitted by the grant.
-
RetiringPrincipal *string
The principal that can retire the grant.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetConstraints(*GrantConstraints) *GrantListEntry
operation
SetConstraints sets the Constraints field's value.
-
SetCreationDate(time.Time) *GrantListEntry
operation
SetCreationDate sets the CreationDate field's value.
-
SetGranteePrincipal(string) *GrantListEntry
operation
SetGranteePrincipal sets the GranteePrincipal field's value.
-
SetGrantId(string) *GrantListEntry
operation
SetGrantId sets the GrantId field's value.
-
SetIssuingAccount(string) *GrantListEntry
operation
SetIssuingAccount sets the IssuingAccount field's value.
-
SetKeyId(string) *GrantListEntry
operation
SetKeyId sets the KeyId field's value.
-
SetName(string) *GrantListEntry
operation
SetName sets the Name field's value.
-
SetOperations([]*string) *GrantListEntry
operation
SetOperations sets the Operations field's value.
-
SetRetiringPrincipal(string) *GrantListEntry
operation
SetRetiringPrincipal sets the RetiringPrincipal field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
Constraints *GrantConstraints
`type:"structure"`
A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.
CreationDate *time.Time
`type:"timestamp"`
The date and time when the grant was created.
GrantId *string
`min:"1" type:"string"`
The unique identifier for the grant.
GranteePrincipal *string
`min:"1" type:"string"`
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 (docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services), which might represent several different grantee principals.
IssuingAccount *string
`min:"1" type:"string"`
The Amazon Web Services account under which the grant was issued.
KeyId *string
`min:"1" type:"string"`
The unique identifier for the KMS key to which the grant applies.
Name *string
`min:"1" type:"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.
Operations []*string
`type:"list" enum:"GrantOperation"`
The list of operations permitted by the grant.
RetiringPrincipal *string
`min:"1" type:"string"`
The principal that can retire the grant.
_ struct{}
`type:"structure"`
Method Details
func (s GrantListEntry) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
12993 12994 12995 |
// File 'service/kms/api.go', line 12993
|
func (s *GrantListEntry) SetConstraints(v *GrantConstraints) *GrantListEntry
SetConstraints sets the Constraints field's value.
12998 12999 13000 13001 |
// File 'service/kms/api.go', line 12998
|
func (s *GrantListEntry) SetCreationDate(v time.Time) *GrantListEntry
SetCreationDate sets the CreationDate field's value.
13004 13005 13006 13007 |
// File 'service/kms/api.go', line 13004
|
func (s *GrantListEntry) SetGranteePrincipal(v string) *GrantListEntry
SetGranteePrincipal sets the GranteePrincipal field's value.
13016 13017 13018 13019 |
// File 'service/kms/api.go', line 13016
|
func (s *GrantListEntry) SetGrantId(v string) *GrantListEntry
SetGrantId sets the GrantId field's value.
13010 13011 13012 13013 |
// File 'service/kms/api.go', line 13010
|
func (s *GrantListEntry) SetIssuingAccount(v string) *GrantListEntry
SetIssuingAccount sets the IssuingAccount field's value.
13022 13023 13024 13025 |
// File 'service/kms/api.go', line 13022
|
func (s *GrantListEntry) SetKeyId(v string) *GrantListEntry
SetKeyId sets the KeyId field's value.
13028 13029 13030 13031 |
// File 'service/kms/api.go', line 13028
|
func (s *GrantListEntry) SetName(v string) *GrantListEntry
SetName sets the Name field's value.
13034 13035 13036 13037 |
// File 'service/kms/api.go', line 13034
|
func (s *GrantListEntry) SetOperations(v []*string) *GrantListEntry
SetOperations sets the Operations field's value.
13040 13041 13042 13043 |
// File 'service/kms/api.go', line 13040
|
func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry
SetRetiringPrincipal sets the RetiringPrincipal field's value.
13046 13047 13048 13049 |
// File 'service/kms/api.go', line 13046
|
func (s GrantListEntry) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
12984 12985 12986 |
// File 'service/kms/api.go', line 12984
|