amazonka-service-quotas-2.0: Amazon Quotas 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.ServiceQuotas.ListTagsForResource

Description

Returns a list of the tags assigned to the specified applied quota.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • resourceARN :: Text

    The Amazon Resource Name (ARN) for the applied quota for which you want to list tags. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

Instances

Instances details
ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.ServiceQuotas.ListTagsForResource" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (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:resourceARN:ListTagsForResource', listTagsForResource_resourceARN - The Amazon Resource Name (ARN) for the applied quota for which you want to list tags. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

Request Lenses

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) for the applied quota for which you want to list tags. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • tags :: Maybe [Tag]

    A complex data type that contains zero or more tag elements.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.ServiceQuotas.ListTagsForResource" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (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:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - A complex data type that contains zero or more tag elements.

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

Response Lenses

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

A complex data type that contains zero or more tag elements.