| 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.UpdateVTLDeviceType
Description
This operation updates the type of medium changer in a gateway-VTL. When you activate a gateway-VTL, you select a medium changer type for the gateway-VTL. This operation enables you to select a different type of medium changer after a gateway-VTL is activated.
See: AWS API Reference for UpdateVTLDeviceType.
- updateVTLDeviceType :: Text -> Text -> UpdateVTLDeviceType
- data UpdateVTLDeviceType
- uvtldtVTLDeviceARN :: Lens' UpdateVTLDeviceType Text
- uvtldtDeviceType :: Lens' UpdateVTLDeviceType Text
- updateVTLDeviceTypeResponse :: Int -> UpdateVTLDeviceTypeResponse
- data UpdateVTLDeviceTypeResponse
- uvtldtrsVTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text)
- uvtldtrsStatus :: Lens' UpdateVTLDeviceTypeResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> UpdateVTLDeviceType | 
Creates a value of UpdateVTLDeviceType with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateVTLDeviceType Source
UpdateVTLDeviceTypeInput
See: updateVTLDeviceType smart constructor.
Instances
Request Lenses
uvtldtVTLDeviceARN :: Lens' UpdateVTLDeviceType Text Source
The Amazon Resource Name (ARN) of the medium changer you want to select.
uvtldtDeviceType :: Lens' UpdateVTLDeviceType Text Source
The type of medium changer you want to select.
Valid Values: "STK-L700", "AWS-Gateway-VTL"
Destructuring the Response
updateVTLDeviceTypeResponse Source
Arguments
| :: Int | |
| -> UpdateVTLDeviceTypeResponse | 
Creates a value of UpdateVTLDeviceTypeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateVTLDeviceTypeResponse Source
UpdateVTLDeviceTypeOutput
See: updateVTLDeviceTypeResponse smart constructor.
Response Lenses
uvtldtrsVTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the medium changer you have selected.
uvtldtrsStatus :: Lens' UpdateVTLDeviceTypeResponse Int Source
The response status code.