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

Class: Aws::ApiGatewayV2::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "__string", # required
  tags: {
    "__string" => "StringWithLengthBetween1And1600",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Returns:

  • (String)


4560
4561
4562
4563
4564
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4560

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

#tagsHash<String,String>

A key value pair of string with key length between[1-128] and value length between[1-256]

Returns:

  • (Hash<String,String>)


4560
4561
4562
4563
4564
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4560

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