Class: Aws::SavingsPlans::Types::TagResourceRequest

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (String)


1019
1020
1021
1022
1023
1024
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 1019

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

#tagsHash<String,String>

One or more tags. For example, \{ "tags": {"key1":"value1", "key2":"value2"\} \}.

Returns:

  • (Hash<String,String>)


1019
1020
1021
1022
1023
1024
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 1019

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