Struct: kms.ListAliasesInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
KeyId *string
Lists only aliases that are associated with the specified KMS key.
-
Limit *int64
Use this parameter to specify the maximum number of items to return.
-
Marker *string
Use this parameter in a subsequent request after you receive a response with truncated results.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetKeyId(string) *ListAliasesInput
operation
SetKeyId sets the KeyId field's value.
-
SetLimit(int64) *ListAliasesInput
operation
SetLimit sets the Limit field's value.
-
SetMarker(string) *ListAliasesInput
operation
SetMarker sets the Marker field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
KeyId *string
`min:"1" type:"string"`
Lists only aliases that are associated with the specified KMS key. Enter a KMS key in your Amazon Web Services account.
This parameter is optional. If you omit it, ListAliases returns all aliases in the account and Region.
Specify the key ID or key ARN of the KMS key.
For example:
-
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
Limit *int64
`min:"1" type:"integer"`
Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
Marker *string
`min:"1" type:"string"`
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received.
_ struct{}
`type:"structure"`
Method Details
func (s ListAliasesInput) 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”.
14621 14622 14623 |
// File 'service/kms/api.go', line 14621
|
func (s *ListAliasesInput) SetKeyId(v string) *ListAliasesInput
SetKeyId sets the KeyId field's value.
14645 14646 14647 14648 |
// File 'service/kms/api.go', line 14645
|
func (s *ListAliasesInput) SetLimit(v int64) *ListAliasesInput
SetLimit sets the Limit field's value.
14651 14652 14653 14654 |
// File 'service/kms/api.go', line 14651
|
func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput
SetMarker sets the Marker field's value.
14657 14658 14659 14660 |
// File 'service/kms/api.go', line 14657
|
func (s ListAliasesInput) 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”.
14612 14613 14614 |
// File 'service/kms/api.go', line 14612
|
func (s *ListAliasesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 |
// File 'service/kms/api.go', line 14626
|