amazonka-storagegateway-0.0.5: Amazon Storage Gateway SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.CreateTapes

Contents

Description

Creates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes.

http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateTapes.html

Synopsis

Request

Request constructor

Request lenses

ctClientToken :: Lens' CreateTapes Text Source

A unique identifier that you use to retry a request. If you retry a request, use the same ClientToken you specified in the initial request.

ctGatewayARN :: Lens' CreateTapes Text Source

The unique Amazon Resource Name(ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and region.

ctNumTapesToCreate :: Lens' CreateTapes Natural Source

The number of virtual tapes you want to create.

ctTapeBarcodePrefix :: Lens' CreateTapes Text Source

A prefix you append to the barcode of the virtual tape you are creating. This makes a barcode unique.

ctTapeSizeInBytes :: Lens' CreateTapes Natural Source

The size, in bytes, of the virtual tapes you want to create.

Response

Response constructor

createTapesResponse :: CreateTapesResponse Source

CreateTapesResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

ctrTapeARNs :: Lens' CreateTapesResponse [Text] Source

A list of unique Amazon Resource Named (ARN) the represents the virtual tapes that were created.