Class: Aws::MediaStore::Types::TagResourceInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resourceString

The Amazon Resource Name (ARN) for the container.

Returns:

  • (String)


793
794
795
796
797
798
# File 'gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb', line 793

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

#tagsArray<Types::Tag>

An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example, suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.

Returns:



793
794
795
796
797
798
# File 'gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb', line 793

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