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

Class: Aws::CloudHSMV2::Types::ListTagsRequest

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

Overview

Note:

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

{
  resource_id: "ClusterId", # required
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of tags to return in the response. When there are more tags than the number you specify, the response contains a NextToken value.

Returns:

  • (Integer)


586
587
588
589
590
591
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 586

class ListTagsRequest < Struct.new(
  :resource_id,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

The NextToken value that you received in the previous response. Use this value to get more tags.

Returns:

  • (String)


586
587
588
589
590
591
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 586

class ListTagsRequest < Struct.new(
  :resource_id,
  :next_token,
  :max_results)
  include Aws::Structure
end

#resource_idString

The cluster identifier (ID) for the cluster whose tags you are getting. To find the cluster ID, use DescribeClusters.

Returns:

  • (String)


586
587
588
589
590
591
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 586

class ListTagsRequest < Struct.new(
  :resource_id,
  :next_token,
  :max_results)
  include Aws::Structure
end