| 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.DeleteTrafficPolicyInstance
Description
Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.
Synopsis
- deleteTrafficPolicyInstance :: Text -> DeleteTrafficPolicyInstance
- data DeleteTrafficPolicyInstance
- dtpiId :: Lens' DeleteTrafficPolicyInstance Text
- deleteTrafficPolicyInstanceResponse :: Int -> DeleteTrafficPolicyInstanceResponse
- data DeleteTrafficPolicyInstanceResponse
- dtpirsResponseStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int
Creating a Request
deleteTrafficPolicyInstance Source #
Arguments
| :: Text | |
| -> DeleteTrafficPolicyInstance |
Creates a value of DeleteTrafficPolicyInstance with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtpiId- The ID of the traffic policy instance that you want to delete. Important: 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.
data DeleteTrafficPolicyInstance Source #
A request to delete a specified traffic policy instance.
See: deleteTrafficPolicyInstance smart constructor.
Instances
Request Lenses
dtpiId :: Lens' DeleteTrafficPolicyInstance Text Source #
The ID of the traffic policy instance that you want to delete. Important: 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
deleteTrafficPolicyInstanceResponse Source #
Arguments
| :: Int | |
| -> DeleteTrafficPolicyInstanceResponse |
Creates a value of DeleteTrafficPolicyInstanceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtpirsResponseStatus- -- | The response status code.
data DeleteTrafficPolicyInstanceResponse Source #
An empty element.
See: deleteTrafficPolicyInstanceResponse smart constructor.
Instances
Response Lenses
dtpirsResponseStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int Source #
- - | The response status code.