{
  "info": {
    "_postman_id": "4ca2c309-2fdf-4606-987a-309e1d477e4a",
    "name": "Amazon Storage Gateway REST Amazon Storage Gateway REST API #X Amz Target=StorageGateway 20130630.CreateTapeWithBarcode API",
    "description": "AWS Storage Gateway is a hybrid cloud storage service that gives you on-premises access to virtually unlimited cloud storage. This API enables management of gateways, volumes, virtual tapes, file shares, and cached storage resources.\n\nContact Support:\n Name: AWS Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T00:56:32.000Z",
    "updatedAt": "2026-07-28T00:56:32.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-4ca2c309-2fdf-4606-987a-309e1d477e4a"
  },
  "item": [
    {
      "name": "#X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode",
      "item": [
        {
          "name": "Create Tape With Barcode",
          "id": "88a32b70-a9b4-4c55-9755-16016b4ef010",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "StorageGateway_20130630.CreateTapeWithBarcode"
              },
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GatewayARN\": \"<string>\",\n  \"TapeSizeInBytes\": \"<integer>\",\n  \"TapeBarcode\": \"IQ2MLIXWKH\",\n  \"KMSEncrypted\": \"<boolean>\",\n  \"KMSKey\": \"alias/g537`U7\",\n  \"PoolId\": \"<string>\",\n  \"Worm\": \"<boolean>\",\n  \"Tags\": [\n    {\n      \"Key\": \":ZLp-+ZZ{\",\n      \"Value\": \"<string>\"\n    },\n    {\n      \"Key\": \"L.}-{_.NN/\",\n      \"Value\": \"<string>\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/#X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "hash": "X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode"
            },
            "description": "<p>Creates a virtual tape by using your own barcode. You write data to the virtual tape and then archive the tape. A barcode is unique and cannot be reused if it has already been used on a tape. This applies to barcodes used on deleted tapes. This operation is only supported in the tape gateway type.</p> <note> <p>Cache storage must be allocated to the gateway before you can create a virtual tape. Use the <a>AddCache</a> operation to add cache storage to a gateway.</p> </note>"
          },
          "response": [
            {
              "id": "17e10575-9d32-4086-952b-d56911b46233",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "StorageGateway_20130630.CreateTapeWithBarcode"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"GatewayARN\": \"<string>\",\n  \"TapeSizeInBytes\": \"<integer>\",\n  \"TapeBarcode\": \"IQ2MLIXWKH\",\n  \"KMSEncrypted\": \"<boolean>\",\n  \"KMSKey\": \"alias/g537`U7\",\n  \"PoolId\": \"<string>\",\n  \"Worm\": \"<boolean>\",\n  \"Tags\": [\n    {\n      \"Key\": \":ZLp-+ZZ{\",\n      \"Value\": \"<string>\"\n    },\n    {\n      \"Key\": \"L.}-{_.NN/\",\n      \"Value\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"TapeARN\": \"arn:aws-us-gov:storagegateway:xapi0qmnsno:72:tape/2653L7MSZF4\"\n}",
              "createdAt": "2026-07-28T00:56:32.000Z",
              "updatedAt": "2026-07-28T00:56:32.000Z",
              "uid": "35240-17e10575-9d32-4086-952b-d56911b46233"
            },
            {
              "id": "17f14ceb-64af-456e-8baa-fce2ecb13ec2",
              "name": "InvalidGatewayRequestException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "StorageGateway_20130630.CreateTapeWithBarcode"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"GatewayARN\": \"<string>\",\n  \"TapeSizeInBytes\": \"<integer>\",\n  \"TapeBarcode\": \"IQ2MLIXWKH\",\n  \"KMSEncrypted\": \"<boolean>\",\n  \"KMSKey\": \"alias/g537`U7\",\n  \"PoolId\": \"<string>\",\n  \"Worm\": \"<boolean>\",\n  \"Tags\": [\n    {\n      \"Key\": \":ZLp-+ZZ{\",\n      \"Value\": \"<string>\"\n    },\n    {\n      \"Key\": \"L.}-{_.NN/\",\n      \"Value\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T00:56:32.000Z",
              "updatedAt": "2026-07-28T00:56:32.000Z",
              "uid": "35240-17f14ceb-64af-456e-8baa-fce2ecb13ec2"
            },
            {
              "id": "a99d26fe-fedf-4a3c-a6ff-bbfb68486cc0",
              "name": "InternalServerError",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "StorageGateway_20130630.CreateTapeWithBarcode"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"GatewayARN\": \"<string>\",\n  \"TapeSizeInBytes\": \"<integer>\",\n  \"TapeBarcode\": \"IQ2MLIXWKH\",\n  \"KMSEncrypted\": \"<boolean>\",\n  \"KMSKey\": \"alias/g537`U7\",\n  \"PoolId\": \"<string>\",\n  \"Worm\": \"<boolean>\",\n  \"Tags\": [\n    {\n      \"Key\": \":ZLp-+ZZ{\",\n      \"Value\": \"<string>\"\n    },\n    {\n      \"Key\": \"L.}-{_.NN/\",\n      \"Value\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=StorageGateway_20130630.CreateTapeWithBarcode"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T00:56:32.000Z",
              "updatedAt": "2026-07-28T00:56:32.000Z",
              "uid": "35240-a99d26fe-fedf-4a3c-a6ff-bbfb68486cc0"
            }
          ],
          "createdAt": "2026-07-28T00:56:32.000Z",
          "updatedAt": "2026-07-28T00:56:32.000Z",
          "uid": "35240-88a32b70-a9b4-4c55-9755-16016b4ef010"
        }
      ],
      "id": "27004315-c6d8-4271-ad08-42dfbf2cba3b",
      "createdAt": "2026-07-28T00:56:32.000Z",
      "updatedAt": "2026-07-28T00:56:32.000Z",
      "uid": "35240-27004315-c6d8-4271-ad08-42dfbf2cba3b"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "https://storagegateway.{{region}}.amazonaws.com"
    }
  ]
}