Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.StorageGateway.DisableGateway
Description
Disables a 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 gateway-VTL that is not reachable or not functioning.
Once a gateway is disabled it cannot be enabled.
See: AWS API Reference for DisableGateway.
Creating a Request
Arguments
:: Text | |
-> DisableGateway |
Creates a value of DisableGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableGateway Source
DisableGatewayInput
See: disableGateway
smart constructor.
Instances
Request Lenses
dGatewayARN :: Lens' DisableGateway Text Source
Undocumented member.
Destructuring the Response
Arguments
:: Int | |
-> DisableGatewayResponse |
Creates a value of DisableGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableGatewayResponse Source
DisableGatewayOutput
See: disableGatewayResponse
smart constructor.
Response Lenses
disrsGatewayARN :: Lens' DisableGatewayResponse (Maybe Text) Source
The unique Amazon Resource Name of the disabled gateway.
disrsResponseStatus :: Lens' DisableGatewayResponse Int Source
The response status code.