Class: Aws::S3Control::Types::TagResourceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID that created the S3 resource that you're trying to add tags to or the requester's account ID.

Returns:

  • (String)


7960
7961
7962
7963
7964
7965
7966
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7960

class TagResourceRequest < Struct.new(
  :account_id,
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The Amazon Resource Name (ARN) of the S3 resource that you're trying to add tags to. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

Returns:

  • (String)


7960
7961
7962
7963
7964
7965
7966
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7960

class TagResourceRequest < Struct.new(
  :account_id,
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The Amazon Web Services resource tags that you want to add to the specified S3 resource.

Returns:



7960
7961
7962
7963
7964
7965
7966
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7960

class TagResourceRequest < Struct.new(
  :account_id,
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end