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

Class: Aws::Kinesis::Types::AddTagsToStreamInput

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

Overview

Note:

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

{
  stream_name: "StreamName", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Represents the input for AddTagsToStream.

Instance Attribute Summary collapse

Instance Attribute Details

#stream_nameString

The name of the stream.

Returns:

  • (String)


33
34
35
36
37
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 33

class AddTagsToStreamInput < Struct.new(
  :stream_name,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

The set of key-value pairs to use to create the tags.

Returns:

  • (Hash<String,String>)


33
34
35
36
37
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 33

class AddTagsToStreamInput < Struct.new(
  :stream_name,
  :tags)
  include Aws::Structure
end