Smaws_Client_StorageGateway.CreateTapesCreates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes. This operation is only supported in the tape gateway type.
Cache storage must be allocated to the gateway before you can create virtual tapes. Use the AddCache operation to add cache storage to a gateway.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidGatewayRequestException of Types.invalid_gateway_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_tapes_input ->
(Types.create_tapes_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidGatewayRequestException of
Types.invalid_gateway_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_tapes_input ->
(Types.create_tapes_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidGatewayRequestException of
Types.invalid_gateway_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result