AWS Storage Gateway

2016/02/18 - AWS Storage Gateway - 1 new api methods

CreateTapeWithBarcode (new) Link ΒΆ

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'
)
type GatewayARN

string

param GatewayARN

[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.

type TapeSizeInBytes

integer

param TapeSizeInBytes

[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).

type TapeBarcode

string

param TapeBarcode

[REQUIRED]

The barcode that you want to assign to the tape.

rtype

dict

returns

Response Syntax

{
    'TapeARN': 'string'
}

Response Structure

  • (dict) --

    CreateTapeOutput

    • TapeARN (string) --

      A unique Amazon Resource Name (ARN) that represents the virtual tape that was created.