libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.TagResource

Description

Associates the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter.

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

  • resourceArn :: Text

    The ARN of a resource, such as a CodeDeploy application or deployment group.

  • tags :: [Tag]

    A list of tags that TagResource associates with a resource. The resource is identified by the ResourceArn input parameter.

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.CodeDeploy.TagResource" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.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 ARN of a resource, such as a CodeDeploy application or deployment group.

$sel:tags:TagResource', tagResource_tags - A list of tags that TagResource associates with a resource. The resource is identified by the ResourceArn input parameter.

Request Lenses

tagResource_resourceArn :: Lens' TagResource Text Source #

The ARN of a resource, such as a CodeDeploy application or deployment group.

tagResource_tags :: Lens' TagResource [Tag] Source #

A list of tags that TagResource associates with a resource. The resource is identified by the ResourceArn input parameter.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Fields

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.CodeDeploy.TagResource" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" '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