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 |
Disables a tape gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.
Use this operation for a tape gateway that is not reachable or not functioning. This operation is only supported in the tape gateway type.
After a gateway is disabled, it cannot be enabled.
Synopsis
- data DisableGateway = DisableGateway' {
- gatewayARN :: Text
- newDisableGateway :: Text -> DisableGateway
- disableGateway_gatewayARN :: Lens' DisableGateway Text
- data DisableGatewayResponse = DisableGatewayResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newDisableGatewayResponse :: Int -> DisableGatewayResponse
- disableGatewayResponse_gatewayARN :: Lens' DisableGatewayResponse (Maybe Text)
- disableGatewayResponse_httpStatus :: Lens' DisableGatewayResponse Int
Creating a Request
data DisableGateway Source #
DisableGatewayInput
See: newDisableGateway
smart constructor.
Instances
Create a value of DisableGateway
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:gatewayARN:DisableGateway'
, disableGateway_gatewayARN
- Undocumented member.
Request Lenses
disableGateway_gatewayARN :: Lens' DisableGateway Text Source #
Undocumented member.
Destructuring the Response
data DisableGatewayResponse Source #
DisableGatewayOutput
See: newDisableGatewayResponse
smart constructor.
DisableGatewayResponse' | |
|
Instances
newDisableGatewayResponse Source #
Create a value of DisableGatewayResponse
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:gatewayARN:DisableGateway'
, disableGatewayResponse_gatewayARN
- The unique Amazon Resource Name (ARN) of the disabled gateway.
$sel:httpStatus:DisableGatewayResponse'
, disableGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
disableGatewayResponse_gatewayARN :: Lens' DisableGatewayResponse (Maybe Text) Source #
The unique Amazon Resource Name (ARN) of the disabled gateway.
disableGatewayResponse_httpStatus :: Lens' DisableGatewayResponse Int Source #
The response's http status code.