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

Class: Aws::CloudTrail::Types::RemoveTagsRequest

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

{
  resource_id: "String", # required
  tags_list: [
    {
      key: "String", # required
      value: "String",
    },
  ],
}

Specifies the tags to remove from a trail.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:

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

Returns:

  • (String)


1094
1095
1096
1097
1098
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1094

class RemoveTagsRequest < Struct.new(
  :resource_id,
  :tags_list)
  include Aws::Structure
end

#tags_listArray<Types::Tag>

Specifies a list of tags to be removed.

Returns:



1094
1095
1096
1097
1098
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1094

class RemoveTagsRequest < Struct.new(
  :resource_id,
  :tags_list)
  include Aws::Structure
end