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 |
Deletes a backup gateway.
Synopsis
- data DeleteGateway = DeleteGateway' {
- gatewayArn :: Text
- newDeleteGateway :: Text -> DeleteGateway
- deleteGateway_gatewayArn :: Lens' DeleteGateway Text
- data DeleteGatewayResponse = DeleteGatewayResponse' {
- gatewayArn :: Maybe Text
- httpStatus :: Int
- newDeleteGatewayResponse :: Int -> DeleteGatewayResponse
- deleteGatewayResponse_gatewayArn :: Lens' DeleteGatewayResponse (Maybe Text)
- deleteGatewayResponse_httpStatus :: Lens' DeleteGatewayResponse Int
Creating a Request
data DeleteGateway Source #
See: newDeleteGateway
smart constructor.
DeleteGateway' | |
|
Instances
Create a value of DeleteGateway
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:
DeleteGateway
, deleteGateway_gatewayArn
- The Amazon Resource Name (ARN) of the gateway to delete.
Request Lenses
deleteGateway_gatewayArn :: Lens' DeleteGateway Text Source #
The Amazon Resource Name (ARN) of the gateway to delete.
Destructuring the Response
data DeleteGatewayResponse Source #
See: newDeleteGatewayResponse
smart constructor.
DeleteGatewayResponse' | |
|
Instances
newDeleteGatewayResponse Source #
Create a value of DeleteGatewayResponse
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:
DeleteGateway
, deleteGatewayResponse_gatewayArn
- The Amazon Resource Name (ARN) of the gateway you deleted.
$sel:httpStatus:DeleteGatewayResponse'
, deleteGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
deleteGatewayResponse_gatewayArn :: Lens' DeleteGatewayResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the gateway you deleted.
deleteGatewayResponse_httpStatus :: Lens' DeleteGatewayResponse Int Source #
The response's http status code.