amazonka-route53-1.4.0: Amazon Route 53 SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.DeleteTrafficPolicy

Contents

Description

Deletes a traffic policy. To delete a traffic policy, send a DELETE request to the '/Route 53 API version/trafficpolicy' resource.

Synopsis

Creating a Request

deleteTrafficPolicy Source

Creates a value of DeleteTrafficPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dtpId :: Lens' DeleteTrafficPolicy Text Source

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

dtpVersion :: Lens' DeleteTrafficPolicy Natural Source

The version number of the traffic policy that you want to delete.

Destructuring the Response

deleteTrafficPolicyResponse Source

Creates a value of DeleteTrafficPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses