| 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.BackupGateway.DisassociateGatewayFromServer
Description
Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.
Synopsis
- data DisassociateGatewayFromServer = DisassociateGatewayFromServer' {
- gatewayArn :: Text
- newDisassociateGatewayFromServer :: Text -> DisassociateGatewayFromServer
- disassociateGatewayFromServer_gatewayArn :: Lens' DisassociateGatewayFromServer Text
- data DisassociateGatewayFromServerResponse = DisassociateGatewayFromServerResponse' {
- gatewayArn :: Maybe Text
- httpStatus :: Int
- newDisassociateGatewayFromServerResponse :: Int -> DisassociateGatewayFromServerResponse
- disassociateGatewayFromServerResponse_gatewayArn :: Lens' DisassociateGatewayFromServerResponse (Maybe Text)
- disassociateGatewayFromServerResponse_httpStatus :: Lens' DisassociateGatewayFromServerResponse Int
Creating a Request
data DisassociateGatewayFromServer Source #
See: newDisassociateGatewayFromServer smart constructor.
Constructors
| DisassociateGatewayFromServer' | |
Fields
| |
Instances
newDisassociateGatewayFromServer Source #
Create a value of DisassociateGatewayFromServer 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:
DisassociateGatewayFromServer, disassociateGatewayFromServer_gatewayArn - The Amazon Resource Name (ARN) of the gateway to disassociate.
Request Lenses
disassociateGatewayFromServer_gatewayArn :: Lens' DisassociateGatewayFromServer Text Source #
The Amazon Resource Name (ARN) of the gateway to disassociate.
Destructuring the Response
data DisassociateGatewayFromServerResponse Source #
See: newDisassociateGatewayFromServerResponse smart constructor.
Constructors
| DisassociateGatewayFromServerResponse' | |
Fields
| |
Instances
newDisassociateGatewayFromServerResponse Source #
Arguments
| :: Int | |
| -> DisassociateGatewayFromServerResponse |
Create a value of DisassociateGatewayFromServerResponse 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:
DisassociateGatewayFromServer, disassociateGatewayFromServerResponse_gatewayArn - The Amazon Resource Name (ARN) of the gateway you disassociated.
$sel:httpStatus:DisassociateGatewayFromServerResponse', disassociateGatewayFromServerResponse_httpStatus - The response's http status code.
Response Lenses
disassociateGatewayFromServerResponse_gatewayArn :: Lens' DisassociateGatewayFromServerResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the gateway you disassociated.
disassociateGatewayFromServerResponse_httpStatus :: Lens' DisassociateGatewayFromServerResponse Int Source #
The response's http status code.