amazonka-codepipeline-2.0: Amazon CodePipeline SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodePipeline.ListTagsForResource

Description

Gets the set of key-value pairs (metadata) that are used to manage the resource.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call.

  • nextToken :: Maybe Text

    The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

  • resourceArn :: Text

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

Instances

Instances details
ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.CodePipeline.ListTagsForResource" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:maxResults:ListTagsForResource', listTagsForResource_maxResults - The maximum number of results to return in a single call.

ListTagsForResource, listTagsForResource_nextToken - The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

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

Request Lenses

listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural) Source #

The maximum number of results to return in a single call.

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

The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

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

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • nextToken :: Maybe Text

    If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent API call to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

  • tags :: Maybe [Tag]

    The tags for the resource.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.CodePipeline.ListTagsForResource" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" '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:

ListTagsForResource, listTagsForResourceResponse_nextToken - If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent API call to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

ListTagsForResourceResponse, listTagsForResourceResponse_tags - The tags for the resource.

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

Response Lenses

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

If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent API call to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.