libZSservicesZSamazonka-kinesisZSamazonka-kinesis
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kinesis.AddTagsToStream

Description

Adds or updates tags for the specified Kinesis data stream. Each time you invoke this operation, you can specify up to 10 tags. If you want to add more than 10 tags to your stream, you can invoke this operation multiple times. In total, each stream can have up to 50 tags.

If tags have already been assigned to the stream, AddTagsToStream overwrites any existing tags that correspond to the specified tag keys.

AddTagsToStream has a limit of five transactions per second per account.

Synopsis

Creating a Request

data AddTagsToStream Source #

Represents the input for AddTagsToStream.

See: newAddTagsToStream smart constructor.

Constructors

AddTagsToStream' 

Fields

Instances

Instances details
Eq AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Read AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Show AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Generic AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Associated Types

type Rep AddTagsToStream :: Type -> Type #

NFData AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Methods

rnf :: AddTagsToStream -> () #

Hashable AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

ToJSON AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

AWSRequest AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Associated Types

type AWSResponse AddTagsToStream #

ToHeaders AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

ToPath AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

ToQuery AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

type Rep AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

type Rep AddTagsToStream = D1 ('MetaData "AddTagsToStream" "Amazonka.Kinesis.AddTagsToStream" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "AddTagsToStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse AddTagsToStream Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

newAddTagsToStream Source #

Create a value of AddTagsToStream with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:streamName:AddTagsToStream', addTagsToStream_streamName - The name of the stream.

$sel:tags:AddTagsToStream', addTagsToStream_tags - A set of up to 10 key-value pairs to use to create the tags.

Request Lenses

addTagsToStream_tags :: Lens' AddTagsToStream (HashMap Text Text) Source #

A set of up to 10 key-value pairs to use to create the tags.

Destructuring the Response

data AddTagsToStreamResponse Source #

See: newAddTagsToStreamResponse smart constructor.

Instances

Instances details
Eq AddTagsToStreamResponse Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Read AddTagsToStreamResponse Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Show AddTagsToStreamResponse Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Generic AddTagsToStreamResponse Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Associated Types

type Rep AddTagsToStreamResponse :: Type -> Type #

NFData AddTagsToStreamResponse Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

Methods

rnf :: AddTagsToStreamResponse -> () #

type Rep AddTagsToStreamResponse Source # 
Instance details

Defined in Amazonka.Kinesis.AddTagsToStream

type Rep AddTagsToStreamResponse = D1 ('MetaData "AddTagsToStreamResponse" "Amazonka.Kinesis.AddTagsToStream" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "AddTagsToStreamResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddTagsToStreamResponse :: AddTagsToStreamResponse Source #

Create a value of AddTagsToStreamResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.