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 |
Updates the type of medium changer in a tape gateway. When you activate a tape gateway, you select a medium changer type for the tape gateway. This operation enables you to select a different type of medium changer after a tape gateway is activated. This operation is only supported in the tape gateway type.
Synopsis
- data UpdateVTLDeviceType = UpdateVTLDeviceType' {
- vTLDeviceARN :: Text
- deviceType :: Text
- newUpdateVTLDeviceType :: Text -> Text -> UpdateVTLDeviceType
- updateVTLDeviceType_vTLDeviceARN :: Lens' UpdateVTLDeviceType Text
- updateVTLDeviceType_deviceType :: Lens' UpdateVTLDeviceType Text
- data UpdateVTLDeviceTypeResponse = UpdateVTLDeviceTypeResponse' {
- vTLDeviceARN :: Maybe Text
- httpStatus :: Int
- newUpdateVTLDeviceTypeResponse :: Int -> UpdateVTLDeviceTypeResponse
- updateVTLDeviceTypeResponse_vTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text)
- updateVTLDeviceTypeResponse_httpStatus :: Lens' UpdateVTLDeviceTypeResponse Int
Creating a Request
data UpdateVTLDeviceType Source #
See: newUpdateVTLDeviceType
smart constructor.
UpdateVTLDeviceType' | |
|
Instances
newUpdateVTLDeviceType Source #
:: Text | |
-> Text | |
-> UpdateVTLDeviceType |
Create a value of UpdateVTLDeviceType
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:vTLDeviceARN:UpdateVTLDeviceType'
, updateVTLDeviceType_vTLDeviceARN
- The Amazon Resource Name (ARN) of the medium changer you want to select.
$sel:deviceType:UpdateVTLDeviceType'
, updateVTLDeviceType_deviceType
- The type of medium changer you want to select.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
Request Lenses
updateVTLDeviceType_vTLDeviceARN :: Lens' UpdateVTLDeviceType Text Source #
The Amazon Resource Name (ARN) of the medium changer you want to select.
updateVTLDeviceType_deviceType :: Lens' UpdateVTLDeviceType Text Source #
The type of medium changer you want to select.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
Destructuring the Response
data UpdateVTLDeviceTypeResponse Source #
UpdateVTLDeviceTypeOutput
See: newUpdateVTLDeviceTypeResponse
smart constructor.
UpdateVTLDeviceTypeResponse' | |
|
Instances
newUpdateVTLDeviceTypeResponse Source #
Create a value of UpdateVTLDeviceTypeResponse
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:vTLDeviceARN:UpdateVTLDeviceType'
, updateVTLDeviceTypeResponse_vTLDeviceARN
- The Amazon Resource Name (ARN) of the medium changer you have selected.
$sel:httpStatus:UpdateVTLDeviceTypeResponse'
, updateVTLDeviceTypeResponse_httpStatus
- The response's http status code.
Response Lenses
updateVTLDeviceTypeResponse_vTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the medium changer you have selected.
updateVTLDeviceTypeResponse_httpStatus :: Lens' UpdateVTLDeviceTypeResponse Int Source #
The response's http status code.