| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Shield.DeleteProtection
Description
Deletes an Shield Advanced Protection.
Synopsis
- data DeleteProtection = DeleteProtection' {
- protectionId :: Text
- newDeleteProtection :: Text -> DeleteProtection
- deleteProtection_protectionId :: Lens' DeleteProtection Text
- data DeleteProtectionResponse = DeleteProtectionResponse' {
- httpStatus :: Int
- newDeleteProtectionResponse :: Int -> DeleteProtectionResponse
- deleteProtectionResponse_httpStatus :: Lens' DeleteProtectionResponse Int
Creating a Request
data DeleteProtection Source #
See: newDeleteProtection smart constructor.
Constructors
| DeleteProtection' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteProtection |
Create a value of DeleteProtection 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:protectionId:DeleteProtection', deleteProtection_protectionId - The unique identifier (ID) for the Protection object to be deleted.
Request Lenses
deleteProtection_protectionId :: Lens' DeleteProtection Text Source #
The unique identifier (ID) for the Protection object to be deleted.
Destructuring the Response
data DeleteProtectionResponse Source #
See: newDeleteProtectionResponse smart constructor.
Constructors
| DeleteProtectionResponse' | |
Fields
| |
Instances
newDeleteProtectionResponse Source #
Create a value of DeleteProtectionResponse 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:DeleteProtectionResponse', deleteProtectionResponse_httpStatus - The response's http status code.
Response Lenses
deleteProtectionResponse_httpStatus :: Lens' DeleteProtectionResponse Int Source #
The response's http status code.