libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.ListTagsForResource

Description

List tags for a resource. For more information, see /AWS Proton resources and tagging/ in the AWS Proton Administrator Guide or AWS Proton User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • nextToken :: Maybe Text

    A token to indicate the location of the next resource tag in the array of resource tags, after the list of resource tags that was previously requested.

  • maxResults :: Maybe Natural

    The maximum number of tags to list.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource for the listed tags.

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

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

Defined in Amazonka.Proton.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 - A token to indicate the location of the next resource tag in the array of resource tags, after the list of resource tags that was previously requested.

$sel:maxResults:ListTagsForResource', listTagsForResource_maxResults - The maximum number of tags to list.

$sel:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The Amazon Resource Name (ARN) of the resource for the listed tags.

Request Lenses

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

A token to indicate the location of the next resource tag in the array of resource tags, after the list of resource tags that was previously requested.

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource for the listed tags.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • nextToken :: Maybe Text

    A token to indicate the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.

  • httpStatus :: Int

    The response's http status code.

  • tags :: [Tag]

    An array of resource tags with detail data.

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Proton.ListTagsForResource

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

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 - A token to indicate the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.

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

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - An array of resource tags with detail data.

Response Lenses

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

A token to indicate the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag] Source #

An array of resource tags with detail data.