| 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.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_DisableGateway.html
- data DisableGateway
- disableGateway :: Text -> DisableGateway
- dg1GatewayARN :: Lens' DisableGateway Text
- data DisableGatewayResponse
- disableGatewayResponse :: DisableGatewayResponse
- dgr1GatewayARN :: Lens' DisableGatewayResponse (Maybe Text)
Request
data DisableGateway Source
Instances
| Eq DisableGateway | |
| Ord DisableGateway | |
| Read DisableGateway | |
| Show DisableGateway | |
| IsString DisableGateway | |
| Monoid DisableGateway | |
| AWSRequest DisableGateway | |
| ToQuery DisableGateway | |
| ToPath DisableGateway | |
| ToHeaders DisableGateway | |
| ToJSON DisableGateway | |
| type Sv DisableGateway = StorageGateway | |
| type Rs DisableGateway = DisableGatewayResponse |
Request constructor
Arguments
| :: Text | |
| -> DisableGateway |
DisableGateway constructor.
The fields accessible through corresponding lenses are:
dg1GatewayARN::Text
Request lenses
dg1GatewayARN :: Lens' DisableGateway Text Source
Response
Response constructor
disableGatewayResponse :: DisableGatewayResponse Source
DisableGatewayResponse constructor.
The fields accessible through corresponding lenses are:
dgr1GatewayARN::MaybeText
Response lenses
dgr1GatewayARN :: Lens' DisableGatewayResponse (Maybe Text) Source
The unique Amazon Resource Name of the disabled gateway.