Class: Aws::KMS::Types::UntagResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Note:

When making an API call, you may pass UntagResourceRequest data as a hash:

{
  key_id: "KeyIdType", # required
  tag_keys: ["TagKeyType"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

A unique identifier for the CMK from which you are removing tags.

Specify the key ID or the Amazon Resource Name (ARN) of the CMK.

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 CMK, use ListKeys or DescribeKey.

Returns:

  • (String)


2751
2752
2753
2754
2755
# File 'lib/aws-sdk-kms/types.rb', line 2751

class UntagResourceRequest < Struct.new(
  :key_id,
  :tag_keys)
  include Aws::Structure
end

#tag_keysArray<String>

One or more tag keys. Specify only the tag keys, not the tag values.

Returns:

  • (Array<String>)


2751
2752
2753
2754
2755
# File 'lib/aws-sdk-kms/types.rb', line 2751

class UntagResourceRequest < Struct.new(
  :key_id,
  :tag_keys)
  include Aws::Structure
end