updateVtlDeviceType
inline suspend fun StorageGatewayClient.updateVtlDeviceType(crossinline block: UpdateVtlDeviceTypeRequest.Builder.() -> Unit): UpdateVtlDeviceTypeResponse
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.
Samples
fun main() {
//sampleStart
// Updates the type of medium changer in a gateway VTL after a gateway VTL is activated.
val resp = storageGatewayClient.updateVtlDeviceType {
vtlDeviceArn = "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001"
deviceType = "Medium Changer"
}
//sampleEnd
}