Class: Aws::APIGateway::Types::TagResourceRequest

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

Overview

Adds or updates a tag on a given resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of a resource that can be tagged.

Returns:

  • (String)


4875
4876
4877
4878
4879
4880
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4875

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

#tagsHash<String,String>

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

Returns:

  • (Hash<String,String>)


4875
4876
4877
4878
4879
4880
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4875

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