{
  "info": {
    "_postman_id": "56c8fa6e-0560-4b22-af75-36f73045b00c",
    "name": "Inspector2 Accountpermissions Usage API",
    "description": "Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2 and Amazon ECR environments.\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:28:46.000Z",
    "updatedAt": "2026-07-28T10:28:46.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-56c8fa6e-0560-4b22-af75-36f73045b00c"
  },
  "item": [
    {
      "name": "usage",
      "item": [
        {
          "name": "list",
          "item": [
            {
              "name": "Amazon Inspector List Usage Totals",
              "id": "6dbe15a2-95d4-4547-b60d-9352956f3cfd",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "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  \"accountIds\": [\n    \"314176784914\"\n  ],\n  \"maxResults\": \"<integer>\",\n  \"nextToken\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/usage/list?maxResults=<string>&nextToken=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "usage",
                    "list"
                  ],
                  "query": [
                    {
                      "description": "Pagination limit",
                      "key": "maxResults",
                      "value": "<string>"
                    },
                    {
                      "description": "Pagination token",
                      "key": "nextToken",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Lists the Amazon Inspector usage totals over the last 30 days."
              },
              "response": [
                {
                  "id": "aa992d66-c367-4325-a165-406c1352ef57",
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "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  \"accountIds\": [\n    \"314176784914\"\n  ],\n  \"maxResults\": \"<integer>\",\n  \"nextToken\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/usage/list?maxResults=<string>&nextToken=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "usage",
                        "list"
                      ],
                      "query": [
                        {
                          "description": "Pagination limit",
                          "key": "maxResults",
                          "value": "<string>"
                        },
                        {
                          "description": "Pagination token",
                          "key": "nextToken",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"nextToken\": \"<string>\",\n  \"totals\": [\n    {\n      \"accountId\": \"652704216307\",\n      \"usage\": [\n        {\n          \"currency\": \"USD\",\n          \"estimatedMonthlyCost\": \"<double>\",\n          \"total\": \"<double>\",\n          \"type\": \"ECR_RESCAN\"\n        },\n        {\n          \"currency\": \"USD\",\n          \"estimatedMonthlyCost\": \"<double>\",\n          \"total\": \"<double>\",\n          \"type\": \"ECR_INITIAL_SCAN\"\n        }\n      ]\n    },\n    {\n      \"accountId\": \"725980086098\",\n      \"usage\": [\n        {\n          \"currency\": \"USD\",\n          \"estimatedMonthlyCost\": \"<double>\",\n          \"total\": \"<double>\",\n          \"type\": \"LAMBDA_FUNCTION_HOURS\"\n        },\n        {\n          \"currency\": \"USD\",\n          \"estimatedMonthlyCost\": \"<double>\",\n          \"total\": \"<double>\",\n          \"type\": \"EC2_INSTANCE_HOURS\"\n        }\n      ]\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T10:28:46.000Z",
                  "updatedAt": "2026-07-28T10:28:46.000Z",
                  "uid": "35240-aa992d66-c367-4325-a165-406c1352ef57"
                },
                {
                  "id": "7cb67e88-b0d7-48dd-9c3c-1b1e4f89c5c5",
                  "name": "ValidationException",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "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  \"accountIds\": [\n    \"314176784914\"\n  ],\n  \"maxResults\": \"<integer>\",\n  \"nextToken\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/usage/list?maxResults=<string>&nextToken=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "usage",
                        "list"
                      ],
                      "query": [
                        {
                          "description": "Pagination limit",
                          "key": "maxResults",
                          "value": "<string>"
                        },
                        {
                          "description": "Pagination token",
                          "key": "nextToken",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{}",
                  "createdAt": "2026-07-28T10:28:46.000Z",
                  "updatedAt": "2026-07-28T10:28:46.000Z",
                  "uid": "35240-7cb67e88-b0d7-48dd-9c3c-1b1e4f89c5c5"
                },
                {
                  "id": "815275c7-ea26-4bf3-b23d-8d105cdc1886",
                  "name": "AccessDeniedException",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "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  \"accountIds\": [\n    \"314176784914\"\n  ],\n  \"maxResults\": \"<integer>\",\n  \"nextToken\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/usage/list?maxResults=<string>&nextToken=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "usage",
                        "list"
                      ],
                      "query": [
                        {
                          "description": "Pagination limit",
                          "key": "maxResults",
                          "value": "<string>"
                        },
                        {
                          "description": "Pagination token",
                          "key": "nextToken",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{}",
                  "createdAt": "2026-07-28T10:28:46.000Z",
                  "updatedAt": "2026-07-28T10:28:46.000Z",
                  "uid": "35240-815275c7-ea26-4bf3-b23d-8d105cdc1886"
                },
                {
                  "id": "19868366-5107-4355-9762-528ae9f8d2be",
                  "name": "ThrottlingException",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "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  \"accountIds\": [\n    \"314176784914\"\n  ],\n  \"maxResults\": \"<integer>\",\n  \"nextToken\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/usage/list?maxResults=<string>&nextToken=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "usage",
                        "list"
                      ],
                      "query": [
                        {
                          "description": "Pagination limit",
                          "key": "maxResults",
                          "value": "<string>"
                        },
                        {
                          "description": "Pagination token",
                          "key": "nextToken",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{}",
                  "createdAt": "2026-07-28T10:28:46.000Z",
                  "updatedAt": "2026-07-28T10:28:46.000Z",
                  "uid": "35240-19868366-5107-4355-9762-528ae9f8d2be"
                },
                {
                  "id": "e74e8d4c-5163-4942-915e-f9550b89c873",
                  "name": "InternalServerException",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "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  \"accountIds\": [\n    \"314176784914\"\n  ],\n  \"maxResults\": \"<integer>\",\n  \"nextToken\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/usage/list?maxResults=<string>&nextToken=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "usage",
                        "list"
                      ],
                      "query": [
                        {
                          "description": "Pagination limit",
                          "key": "maxResults",
                          "value": "<string>"
                        },
                        {
                          "description": "Pagination token",
                          "key": "nextToken",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{}",
                  "createdAt": "2026-07-28T10:28:46.000Z",
                  "updatedAt": "2026-07-28T10:28:46.000Z",
                  "uid": "35240-e74e8d4c-5163-4942-915e-f9550b89c873"
                }
              ],
              "createdAt": "2026-07-28T10:28:46.000Z",
              "updatedAt": "2026-07-28T10:28:46.000Z",
              "uid": "35240-6dbe15a2-95d4-4547-b60d-9352956f3cfd"
            }
          ],
          "id": "1a99f4a6-3b58-4c0d-bd96-f29846b7b713",
          "createdAt": "2026-07-28T10:28:46.000Z",
          "updatedAt": "2026-07-28T10:28:46.000Z",
          "uid": "35240-1a99f4a6-3b58-4c0d-bd96-f29846b7b713"
        }
      ],
      "id": "1e510d36-8f7b-442e-a074-d5d9849b1730",
      "createdAt": "2026-07-28T10:28:46.000Z",
      "updatedAt": "2026-07-28T10:28:46.000Z",
      "uid": "35240-1e510d36-8f7b-442e-a074-d5d9849b1730"
    }
  ],
  "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": "http://inspector2.{{region}}.amazonaws.com"
    }
  ]
}