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.

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.

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.