libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
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.MediaConvert.TagResource

Description

Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.

  • tags :: HashMap Text Text

    The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.MediaConvert.TagResource" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.MediaConvert.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:arn:TagResource', tagResource_arn - The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.

$sel:tags:TagResource', tagResource_tags - The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

Request Lenses

tagResource_arn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Fields

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.MediaConvert.TagResource" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" '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