Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a virtual tape by using your own barcode. You write data to the virtual tape and then archive the tape.
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.
- createTapeWithBarcode :: Text -> Integer -> Text -> CreateTapeWithBarcode
- data CreateTapeWithBarcode
- ctwbGatewayARN :: Lens' CreateTapeWithBarcode Text
- ctwbTapeSizeInBytes :: Lens' CreateTapeWithBarcode Integer
- ctwbTapeBarcode :: Lens' CreateTapeWithBarcode Text
- createTapeWithBarcodeResponse :: Int -> CreateTapeWithBarcodeResponse
- data CreateTapeWithBarcodeResponse
- ctwbrsTapeARN :: Lens' CreateTapeWithBarcodeResponse (Maybe Text)
- ctwbrsResponseStatus :: Lens' CreateTapeWithBarcodeResponse Int
Creating a Request
Creates a value of CreateTapeWithBarcode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateTapeWithBarcode Source
CreateTapeWithBarcodeInput
See: createTapeWithBarcode
smart constructor.
Request Lenses
ctwbGatewayARN :: Lens' CreateTapeWithBarcode Text Source
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.
ctwbTapeSizeInBytes :: Lens' CreateTapeWithBarcode Integer Source
The size, in bytes, of the virtual tape that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
ctwbTapeBarcode :: Lens' CreateTapeWithBarcode Text Source
The barcode that you want to assign to the tape.
Destructuring the Response
createTapeWithBarcodeResponse Source
Creates a value of CreateTapeWithBarcodeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateTapeWithBarcodeResponse Source
CreateTapeOutput
See: createTapeWithBarcodeResponse
smart constructor.
Response Lenses
ctwbrsTapeARN :: Lens' CreateTapeWithBarcodeResponse (Maybe Text) Source
A unique Amazon Resource Name (ARN) that represents the virtual tape that was created.
ctwbrsResponseStatus :: Lens' CreateTapeWithBarcodeResponse Int Source
The response status code.