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)


8202
8203
8204
8205
8206
8207
8208
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 8202

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)


8202
8203
8204
8205
8206
8207
8208
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 8202

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:



8202
8203
8204
8205
8206
8207
8208
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 8202

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