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

Class: Aws::SSM::Types::ListTagsForResourceRequest

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 ListTagsForResourceRequest data as a hash:

{
  resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
  resource_id: "ResourceId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The resource ID for which you want to see a list of tags.

Returns:

  • (String)


6988
6989
6990
6991
6992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6988

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

#resource_typeString

Returns a list of tags for a specific resource type.

Returns:

  • (String)


6988
6989
6990
6991
6992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6988

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