class
Amazonite::Kms::RetireGrantRequest
- Amazonite::Kms::RetireGrantRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/retire_grant_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(grant_token : String | Nil = nil, key_id : String | Nil = nil, grant_id : String | Nil = nil, dry_run : Bool | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#dry_run : Bool | Nil
Checks if your request will succeed.
-
#dry_run=(dry_run : Bool | Nil)
Checks if your request will succeed.
-
#grant_id : String | Nil
Identifies the grant to retire.
-
#grant_id=(grant_id : String | Nil)
Identifies the grant to retire.
-
#grant_token : String | Nil
Identifies the grant to be retired.
-
#grant_token=(grant_token : String | Nil)
Identifies the grant to be retired.
-
#hash(hasher)
See
Object#hash(hasher) -
#key_id : String | Nil
The key ARN KMS key associated with the grant.
-
#key_id=(key_id : String | Nil)
The key ARN KMS key associated with the grant.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your permissions in the Key Management Service Developer Guide.
Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your permissions in the Key Management Service Developer Guide.
Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
- Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
- Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
Identifies the grant to be retired. You can use a grant token to identify a new grant even before it has achieved eventual consistency.
Only the CreateGrant operation returns a grant token. For details, see Grant token and Eventual consistency in the Key Management Service Developer Guide.
Identifies the grant to be retired. You can use a grant token to identify a new grant even before it has achieved eventual consistency.
Only the CreateGrant operation returns a grant token. For details, see Grant token and Eventual consistency in the Key Management Service Developer Guide.
The key ARN KMS key associated with the grant. To find the key ARN, use the ListKeys operation.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
The key ARN KMS key associated with the grant. To find the key ARN, use the ListKeys operation.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab