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.ChangeTagsForResource

Description

Adds, edits, or deletes tags for a health check or a 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 ChangeTagsForResource Source #

A complex type that contains information about the tags that you want to add, edit, or delete.

See: newChangeTagsForResource smart constructor.

Constructors

ChangeTagsForResource' 

Fields

  • removeTagKeys :: Maybe (NonEmpty Text)

    A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

  • addTags :: Maybe (NonEmpty Tag)

    A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

    You can add a maximum of 10 tags to a health check or a hosted zone.

  • 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 add, change, or delete tags.

Instances

Instances details
Eq ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Read ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Show ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Generic ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Associated Types

type Rep ChangeTagsForResource :: Type -> Type #

NFData ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Methods

rnf :: ChangeTagsForResource -> () #

Hashable ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

AWSRequest ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Associated Types

type AWSResponse ChangeTagsForResource #

ToHeaders ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

ToPath ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

ToQuery ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

ToElement ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

ToXML ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

type Rep ChangeTagsForResource Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

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

Defined in Amazonka.Route53.ChangeTagsForResource

newChangeTagsForResource Source #

Create a value of ChangeTagsForResource 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:removeTagKeys:ChangeTagsForResource', changeTagsForResource_removeTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

$sel:addTags:ChangeTagsForResource', changeTagsForResource_addTags - A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

You can add a maximum of 10 tags to a health check or a hosted zone.

$sel:resourceType:ChangeTagsForResource', changeTagsForResource_resourceType - The type of the resource.

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

$sel:resourceId:ChangeTagsForResource', changeTagsForResource_resourceId - The ID of the resource for which you want to add, change, or delete tags.

Request Lenses

changeTagsForResource_removeTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text)) Source #

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

changeTagsForResource_addTags :: Lens' ChangeTagsForResource (Maybe (NonEmpty Tag)) Source #

A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

You can add a maximum of 10 tags to a health check or a hosted zone.

changeTagsForResource_resourceType :: Lens' ChangeTagsForResource TagResourceType Source #

The type of the resource.

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

changeTagsForResource_resourceId :: Lens' ChangeTagsForResource Text Source #

The ID of the resource for which you want to add, change, or delete tags.

Destructuring the Response

data ChangeTagsForResourceResponse Source #

Empty response for the request.

See: newChangeTagsForResourceResponse smart constructor.

Constructors

ChangeTagsForResourceResponse' 

Fields

Instances

Instances details
Eq ChangeTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Read ChangeTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Show ChangeTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Generic ChangeTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

Associated Types

type Rep ChangeTagsForResourceResponse :: Type -> Type #

NFData ChangeTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

type Rep ChangeTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Route53.ChangeTagsForResource

type Rep ChangeTagsForResourceResponse = D1 ('MetaData "ChangeTagsForResourceResponse" "Amazonka.Route53.ChangeTagsForResource" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ChangeTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newChangeTagsForResourceResponse Source #

Create a value of ChangeTagsForResourceResponse 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:ChangeTagsForResourceResponse', changeTagsForResourceResponse_httpStatus - The response's http status code.

Response Lenses