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

Class: Aws::SSM::Types::RemoveTagsFromResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb

Overview

Note:

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

{
  resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
  resource_id: "ResourceId", # required
  tag_keys: ["TagKey"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The resource ID for which you want to remove tags.

Returns:

  • (String)


8236
8237
8238
8239
8240
8241
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8236

class RemoveTagsFromResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :tag_keys)
  include Aws::Structure
end

#resource_typeString

The type of resource of which you want to remove a tag.

Returns:

  • (String)


8236
8237
8238
8239
8240
8241
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8236

class RemoveTagsFromResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :tag_keys)
  include Aws::Structure
end

#tag_keysArray<String>

Tag keys that you want to remove from the specified resource.

Returns:

  • (Array<String>)


8236
8237
8238
8239
8240
8241
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8236

class RemoveTagsFromResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :tag_keys)
  include Aws::Structure
end