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

Description

Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.

In the Route 53 console, traffic policy instances are known as policy records.

Synopsis

Creating a Request

data DeleteTrafficPolicyInstance Source #

A request to delete a specified traffic policy instance.

See: newDeleteTrafficPolicyInstance smart constructor.

Constructors

DeleteTrafficPolicyInstance' 

Fields

  • id :: Text

    The ID of the traffic policy instance that you want to delete.

    When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.

Instances

Instances details
Eq DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Read DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Show DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Generic DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Associated Types

type Rep DeleteTrafficPolicyInstance :: Type -> Type #

NFData DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Hashable DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

AWSRequest DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

ToHeaders DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

ToPath DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

ToQuery DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

type Rep DeleteTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

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

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

newDeleteTrafficPolicyInstance Source #

Create a value of DeleteTrafficPolicyInstance 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:id:DeleteTrafficPolicyInstance', deleteTrafficPolicyInstance_id - The ID of the traffic policy instance that you want to delete.

When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.

Request Lenses

deleteTrafficPolicyInstance_id :: Lens' DeleteTrafficPolicyInstance Text Source #

The ID of the traffic policy instance that you want to delete.

When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.

Destructuring the Response

data DeleteTrafficPolicyInstanceResponse Source #

An empty element.

See: newDeleteTrafficPolicyInstanceResponse smart constructor.

Constructors

DeleteTrafficPolicyInstanceResponse' 

Fields

Instances

Instances details
Eq DeleteTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Read DeleteTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Show DeleteTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

Generic DeleteTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

NFData DeleteTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

type Rep DeleteTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteTrafficPolicyInstance

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

newDeleteTrafficPolicyInstanceResponse Source #

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

Response Lenses