2016/02/18 - AWS Storage Gateway - 1 new api methods
Creates a virtual tape by using your own barcode. You write data to the virtual tape and then archive the tape.
Note
Cache storage must be allocated to the gateway before you can create a virtual tape. Use the AddCache operation to add cache storage to a gateway.
Request Syntax
client.create_tape_with_barcode( GatewayARN='string', TapeSizeInBytes=123, TapeBarcode='string' )
string
[REQUIRED]
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the ListGateways operation to return a list of gateways for your account and region.
integer
[REQUIRED]
The size, in bytes, of the virtual tape that you want to create.
Note
The size must be aligned by gigabyte (1024*1024*1024 byte).
string
[REQUIRED]
The barcode that you want to assign to the tape.
dict
Response Syntax
{ 'TapeARN': 'string' }
Response Structure
(dict) --
CreateTapeOutput
TapeARN (string) --
A unique Amazon Resource Name (ARN) that represents the virtual tape that was created.