amazonka-route53-2.0: Amazon Route 53 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.Route53.ListTagsForResource

Description

Lists tags for one health check or hosted zone.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.

Synopsis

Creating a Request

data ListTagsForResource Source #

A complex type containing information about a request for a list of the tags that are associated with an individual resource.

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • resourceType :: TagResourceType

    The type of the resource.

    • The resource type for health checks is healthcheck.
    • The resource type for hosted zones is hostedzone.
  • resourceId :: Text

    The ID of the resource for which you want to retrieve tags.

Instances

Instances details
ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.Route53.ListTagsForResource" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TagResourceType) :*: S1 ('MetaSel ('Just "resourceId") '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_resourceType - The type of the resource.

  • The resource type for health checks is healthcheck.
  • The resource type for hosted zones is hostedzone.

ListTagsForResource, listTagsForResource_resourceId - The ID of the resource for which you want to retrieve tags.

Request Lenses

listTagsForResource_resourceType :: Lens' ListTagsForResource TagResourceType Source #

The type of the resource.

  • The resource type for health checks is healthcheck.
  • The resource type for hosted zones is hostedzone.

listTagsForResource_resourceId :: Lens' ListTagsForResource Text Source #

The ID of the resource for which you want to retrieve tags.

Destructuring the Response

data ListTagsForResourceResponse Source #

A complex type that contains information about the health checks or hosted zones for which you want to list tags.

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.Route53.ListTagsForResource" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resourceTagSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceTagSet)))

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:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

$sel:resourceTagSet:ListTagsForResourceResponse', listTagsForResourceResponse_resourceTagSet - A ResourceTagSet containing tags associated with the specified resource.

Response Lenses

listTagsForResourceResponse_resourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet Source #

A ResourceTagSet containing tags associated with the specified resource.