libZSservicesZSamazonka-route53ZSamazonka-route53
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.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
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

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

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.Route53.ListTagsForResource" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TagResourceType) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.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:resourceType:ListTagsForResource', listTagsForResource_resourceType - The type of the resource.

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

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

Defined in Amazonka.Route53.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-route53ZSamazonka-route53" '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.