libZSservicesZSamazonka-kinesis-videoZSamazonka-kinesis-video
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.KinesisVideo.TagResource

Description

Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

  • resourceARN :: Text

    The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.

  • tags :: NonEmpty Tag

    A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.KinesisVideo.TagResource" "libZSservicesZSamazonka-kinesis-videoZSamazonka-kinesis-video" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Tag))))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

newTagResource Source #

Create a value of TagResource 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:resourceARN:TagResource', tagResource_resourceARN - The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.

$sel:tags:TagResource', tagResource_tags - A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.

Request Lenses

tagResource_resourceARN :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.

tagResource_tags :: Lens' TagResource (NonEmpty Tag) Source #

A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Fields

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.KinesisVideo.TagResource" "libZSservicesZSamazonka-kinesis-videoZSamazonka-kinesis-video" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', tagResourceResponse_httpStatus - The response's http status code.

Response Lenses