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 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.
DeleteProtection' | |
|
Instances
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.
DeleteProtectionResponse' | |
|
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.