コード例 #1
0
        public void StorageGatewayCreateTapeWithBarcode()
        {
            #region to-create-a-virtual-tape-using-a-barcode-1471371842452

            var client   = new AmazonStorageGatewayClient();
            var response = client.CreateTapeWithBarcode(new CreateTapeWithBarcodeRequest
            {
                GatewayARN      = "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
                TapeBarcode     = "TEST12345",
                TapeSizeInBytes = 107374182400
            });

            string tapeARN = response.TapeARN;

            #endregion
        }