You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kms/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. You can use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:

  • Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

Returns:

  • (String)


2217
2218
2219
2220
2221
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2217

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>)


2217
2218
2219
2220
2221
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2217

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