libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.ListTagsForResource

Description

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

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
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Associated Types

type AWSResponse 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

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.XRay.ListTagsForResource" "libZSservicesZSamazonka-xrayZSamazonka-xray" '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.XRay.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 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.

$sel:resourceARN: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
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.XRay.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-xrayZSamazonka-xray" '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 - 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.

$sel:httpStatus: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.