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.ListTagsForResource

Description

Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • nextToken :: Maybe Text

    An identifier returned from the previous ListTagsForResource call. It can be used to return the next set of applications in the list.

  • resourceArn :: Text

    The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags associated with the resource that is identified by the ResourceArn.

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

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

Defined in Amazonka.CodeDeploy.ListTagsForResource

newListTagsForResource Source #

Create a value of ListTagsForResource 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:nextToken:ListTagsForResource', listTagsForResource_nextToken - An identifier returned from the previous ListTagsForResource call. It can be used to return the next set of applications in the list.

$sel:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags associated with the resource that is identified by the ResourceArn.

Request Lenses

listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text) Source #

An identifier returned from the previous ListTagsForResource call. It can be used to return the next set of applications in the list.

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags associated with the resource that is identified by the ResourceArn.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • nextToken :: Maybe Text

    If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.

  • tags :: Maybe [Tag]

    A list of tags returned by ListTagsForResource. The tags are associated with the resource identified by the input ResourceArn parameter.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.CodeDeploy.ListTagsForResource" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTagsForResourceResponse Source #

Create a value of ListTagsForResourceResponse 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:nextToken:ListTagsForResource', listTagsForResourceResponse_nextToken - If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - A list of tags returned by ListTagsForResource. The tags are associated with the resource identified by the input ResourceArn parameter.

$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

Response Lenses

listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #

If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

A list of tags returned by ListTagsForResource. The tags are associated with the resource identified by the input ResourceArn parameter.