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

Class: Aws::CloudTrail::Types::ListTagsRequest

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

Overview

Note:

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

{
  resource_id_list: ["String"], # required
  next_token: "String",
}

Specifies a list of trail tags to return.

Instance Attribute Summary collapse

Instance Attribute Details

#next_tokenString

Reserved for future use.

Returns:

  • (String)


830
831
832
833
834
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 830

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

#resource_id_listArray<String>

Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

Returns:

  • (Array<String>)


830
831
832
833
834
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 830

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