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)


8664
8665
8666
8667
8668
8669
8670
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 8664

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 applying tags to. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

Returns:

  • (String)


8664
8665
8666
8667
8668
8669
8670
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 8664

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:



8664
8665
8666
8667
8668
8669
8670
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 8664

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