Creates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes.
NOTE: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.
 Declaration Syntax
 Declaration Syntax| C# | 
public CreateTapesResponse CreateTapes( CreateTapesRequest createTapesRequest )
 Parameters
 Parameters- createTapesRequest (CreateTapesRequest)
- Container for the necessary parameters to execute the CreateTapes service method on AmazonStorageGateway.
 Return Value
 Return ValueThe response from the CreateTapes service method, as returned by AmazonStorageGateway.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerErrorException | |
| InvalidGatewayRequestException |