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

Class: Aws::AppSync::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "ResourceArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The GraphqlApi ARN.

Returns:

  • (String)


2222
2223
2224
2225
2226
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2222

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

#tagsHash<String,String>

A TagMap object.

Returns:

  • (Hash<String,String>)


2222
2223
2224
2225
2226
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2222

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