| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Route53.DeleteTrafficPolicy
Description
Deletes a traffic policy.
Synopsis
- 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
Arguments
| :: Text | |
| -> Natural | |
| -> DeleteTrafficPolicy |
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.
Instances
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 #
Arguments
| :: Int | |
| -> DeleteTrafficPolicyResponse |
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.
Instances
Response Lenses
dtprsResponseStatus :: Lens' DeleteTrafficPolicyResponse Int Source #
- - | The response status code.