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

Class: Aws::Amplify::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplify/lib/aws-sdk-amplify/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",
  },
}

Request structure used to tag resource.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Resource arn used to tag resource.

Returns:

  • (String)


1973
1974
1975
1976
1977
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 1973

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

#tagsHash<String,String>

Tags used to tag resource.

Returns:

  • (Hash<String,String>)


1973
1974
1975
1976
1977
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 1973

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