You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
Note:
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "String", # required
tags: { # required
"String" => "String",
},
}
Adds or updates a tag on a given resource.
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
[Required] The ARN of a resource that can be tagged.
-
#tags ⇒ Hash<String,String>
[Required] The key-value map of strings.
Instance Attribute Details
#resource_arn ⇒ String
[Required] The ARN of a resource that can be tagged.
#tags ⇒ Hash<String,String>
[Required] 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.