Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_UpdateVTLDeviceType.html
- data UpdateVTLDeviceType
- updateVTLDeviceType :: Text -> Text -> UpdateVTLDeviceType
- uvtldtDeviceType :: Lens' UpdateVTLDeviceType Text
- uvtldtVTLDeviceARN :: Lens' UpdateVTLDeviceType Text
- data UpdateVTLDeviceTypeResponse
- updateVTLDeviceTypeResponse :: UpdateVTLDeviceTypeResponse
- uvtldtrVTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text)
Request
data UpdateVTLDeviceType Source
Eq UpdateVTLDeviceType | |
Ord UpdateVTLDeviceType | |
Read UpdateVTLDeviceType | |
Show UpdateVTLDeviceType | |
AWSRequest UpdateVTLDeviceType | |
ToQuery UpdateVTLDeviceType | |
ToPath UpdateVTLDeviceType | |
ToHeaders UpdateVTLDeviceType | |
ToJSON UpdateVTLDeviceType | |
type Sv UpdateVTLDeviceType = StorageGateway | |
type Rs UpdateVTLDeviceType = UpdateVTLDeviceTypeResponse |
Request constructor
:: Text | |
-> Text | |
-> UpdateVTLDeviceType |
UpdateVTLDeviceType
constructor.
The fields accessible through corresponding lenses are:
uvtldtDeviceType
::
Text
uvtldtVTLDeviceARN
::
Text
Request lenses
uvtldtDeviceType :: Lens' UpdateVTLDeviceType Text Source
The type of medium changer you want to select.
Valid Values: STK-L700, AWS-Gateway-VTL
uvtldtVTLDeviceARN :: Lens' UpdateVTLDeviceType Text Source
The Amazon Resource Name (ARN) of the medium changer you want to select.
Response
Response constructor
updateVTLDeviceTypeResponse :: UpdateVTLDeviceTypeResponse Source
UpdateVTLDeviceTypeResponse
constructor.
The fields accessible through corresponding lenses are:
uvtldtrVTLDeviceARN
::
Maybe
Text
Response lenses
uvtldtrVTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the medium changer you have selected.