Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a traffic policy.
Send a DELETE
request to the /Amazon Route 53 API version /trafficpolicy
resource.
- deleteTrafficPolicy :: Text -> Natural -> DeleteTrafficPolicy
- data DeleteTrafficPolicy
- dtpId :: Lens' DeleteTrafficPolicy Text
- dtpVersion :: Lens' DeleteTrafficPolicy Natural
- deleteTrafficPolicyResponse :: Int -> DeleteTrafficPolicyResponse
- data DeleteTrafficPolicyResponse
- dtprsResponseStatus :: Lens' DeleteTrafficPolicyResponse Int
Creating a Request
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:
dtpId
- The ID of the traffic policy that you want to delete.dtpVersion
- The version number of the traffic policy that you want to delete.
data DeleteTrafficPolicy Source #
A request to delete a specified traffic policy version.
See: deleteTrafficPolicy
smart constructor.
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:
dtprsResponseStatus
- -- | The response status code.
data DeleteTrafficPolicyResponse Source #
An empty element.
See: deleteTrafficPolicyResponse
smart constructor.
Response Lenses
dtprsResponseStatus :: Lens' DeleteTrafficPolicyResponse Int Source #
- - | The response status code.