Copyright | (c) 2013-2021 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 |
Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.
In the Route 53 console, traffic policy instances are known as policy records.
Synopsis
- data DeleteTrafficPolicyInstance = DeleteTrafficPolicyInstance' {}
- newDeleteTrafficPolicyInstance :: Text -> DeleteTrafficPolicyInstance
- deleteTrafficPolicyInstance_id :: Lens' DeleteTrafficPolicyInstance Text
- data DeleteTrafficPolicyInstanceResponse = DeleteTrafficPolicyInstanceResponse' {
- httpStatus :: Int
- newDeleteTrafficPolicyInstanceResponse :: Int -> DeleteTrafficPolicyInstanceResponse
- deleteTrafficPolicyInstanceResponse_httpStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int
Creating a Request
data DeleteTrafficPolicyInstance Source #
A request to delete a specified traffic policy instance.
See: newDeleteTrafficPolicyInstance
smart constructor.
Instances
newDeleteTrafficPolicyInstance Source #
Create a value of DeleteTrafficPolicyInstance
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:DeleteTrafficPolicyInstance'
, deleteTrafficPolicyInstance_id
- 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.
Request Lenses
deleteTrafficPolicyInstance_id :: 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
data DeleteTrafficPolicyInstanceResponse Source #
An empty element.
See: newDeleteTrafficPolicyInstanceResponse
smart constructor.
DeleteTrafficPolicyInstanceResponse' | |
|
Instances
Eq DeleteTrafficPolicyInstanceResponse Source # | |
Read DeleteTrafficPolicyInstanceResponse Source # | |
Show DeleteTrafficPolicyInstanceResponse Source # | |
Generic DeleteTrafficPolicyInstanceResponse Source # | |
NFData DeleteTrafficPolicyInstanceResponse Source # | |
Defined in Amazonka.Route53.DeleteTrafficPolicyInstance rnf :: DeleteTrafficPolicyInstanceResponse -> () # | |
type Rep DeleteTrafficPolicyInstanceResponse Source # | |
Defined in Amazonka.Route53.DeleteTrafficPolicyInstance type Rep DeleteTrafficPolicyInstanceResponse = D1 ('MetaData "DeleteTrafficPolicyInstanceResponse" "Amazonka.Route53.DeleteTrafficPolicyInstance" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "DeleteTrafficPolicyInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteTrafficPolicyInstanceResponse Source #
Create a value of DeleteTrafficPolicyInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteTrafficPolicyInstanceResponse'
, deleteTrafficPolicyInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTrafficPolicyInstanceResponse_httpStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int Source #
The response's http status code.