Copyright | (c) 2013-2015 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 instance and all of the resource record sets that Amazon Route 53 created when you created the instance.
To delete a traffic policy instance, send a DELETE
request to the
'2013-04-01/trafficpolicy/traffic policy instance ID' resource.
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.
See: AWS API Reference for DeleteTrafficPolicyInstance.
- deleteTrafficPolicyInstance :: Text -> DeleteTrafficPolicyInstance
- data DeleteTrafficPolicyInstance
- dtpiId :: Lens' DeleteTrafficPolicyInstance Text
- deleteTrafficPolicyInstanceResponse :: Int -> DeleteTrafficPolicyInstanceResponse
- data DeleteTrafficPolicyInstanceResponse
- dtpirsResponseStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int
Creating a Request
deleteTrafficPolicyInstance Source
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:
data DeleteTrafficPolicyInstance Source
A complex type that contains information about the traffic policy instance that you want to delete.
See: deleteTrafficPolicyInstance
smart constructor.
Request Lenses
dtpiId :: 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
deleteTrafficPolicyInstanceResponse Source
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:
data DeleteTrafficPolicyInstanceResponse Source
An empty element.
See: deleteTrafficPolicyInstanceResponse
smart constructor.
Response Lenses
dtpirsResponseStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int Source
The response status code.