AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Braket::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "String", # required
  tags: { # required
    "String" => "String",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Specify the resourceArn of the resource to which a tag will be added.

Returns:

  • (String)


684
685
686
687
688
689
# File 'gems/aws-sdk-braket/lib/aws-sdk-braket/types.rb', line 684

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

#tagsHash<String,String>

Specify the tags to add to the resource.

Returns:

  • (Hash<String,String>)


684
685
686
687
688
689
# File 'gems/aws-sdk-braket/lib/aws-sdk-braket/types.rb', line 684

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