amazonka-xray-2.0: Amazon X-Ray 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.XRay.ListTagsForResource

Description

Returns a list of tags that are applied to the specified Amazon Web Services X-Ray group or sampling rule.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • nextToken :: Maybe Text

    A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results as the value of this parameter to get the next page of results.

  • resourceARN :: Text

    The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

Instances

Instances details
ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.XRay.ListTagsForResource" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" '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)))

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:

ListTagsForResource, listTagsForResource_nextToken - A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results as the value of this parameter to get the next page of results.

ListTagsForResource, listTagsForResource_resourceARN - The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

Request Lenses

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

A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results as the value of this parameter to get the next page of results.

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • nextToken :: Maybe Text

    A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results to get the next page of results.

  • tags :: Maybe [Tag]

    A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.XRay.ListTagsForResource" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" '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 - A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results to get the next page of results.

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.

ListTagsForResourceResponse, listTagsForResourceResponse_httpStatus - The response's http status code.

Response Lenses

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

A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results to get the next page of results.

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

A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.