{
  "info": {
    "_postman_id": "857ce8cb-8549-4725-928d-447163deadc4",
    "name": "EC2 Image Builder CancelImageCreation PutImageRecipePolicy API",
    "description": "EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date \"golden\" server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.\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:21:35.000Z",
    "updatedAt": "2026-07-28T10:21:35.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-857ce8cb-8549-4725-928d-447163deadc4"
  },
  "item": [
    {
      "name": "PutImageRecipePolicy",
      "item": [
        {
          "name": "Amazon EC2 Image Builder Put Image Recipe Policy",
          "id": "5b7777d3-f4cd-4816-b06a-aa07934c2293",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "PUT",
            "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/PutImageRecipePolicy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "PutImageRecipePolicy"
              ]
            },
            "description": "Applies a policy to an image recipe. We recommend that you call the RAM API <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html\">CreateResourceShare</a> to share resources. If you call the Image Builder API <code>PutImageRecipePolicy</code>, you must also call the RAM API <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html\">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be visible to all principals with whom the resource is shared."
          },
          "response": [
            {
              "id": "3c9430a7-4eb5-432b-880e-1513d77e90b2",
              "name": "Success",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"requestId\": \"<string>\",\n  \"imageRecipeArn\": \"arn:aws7C=a|QK:imagebuilder:>H|yI:aws:image-recipe/9q5/4.2699064.89736307\"\n}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-3c9430a7-4eb5-432b-880e-1513d77e90b2"
            },
            {
              "id": "ffa1c56d-fff0-47dd-a921-a205b3a20c6d",
              "name": "ServiceException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-ffa1c56d-fff0-47dd-a921-a205b3a20c6d"
            },
            {
              "id": "ec26d044-16ed-4b79-80a9-4cf1fc48da71",
              "name": "ClientException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-ec26d044-16ed-4b79-80a9-4cf1fc48da71"
            },
            {
              "id": "6d045e06-2328-4301-bd45-3a3a90f42e03",
              "name": "ServiceUnavailableException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-6d045e06-2328-4301-bd45-3a3a90f42e03"
            },
            {
              "id": "0d7a9686-f4c9-495d-aa19-2c8e2f1badba",
              "name": "InvalidRequestException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-0d7a9686-f4c9-495d-aa19-2c8e2f1badba"
            },
            {
              "id": "07f87b1f-4ac7-4781-bc7b-adebc9c9ec57",
              "name": "InvalidParameterValueException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-07f87b1f-4ac7-4781-bc7b-adebc9c9ec57"
            },
            {
              "id": "2337f24f-4f3e-4114-a152-328cc57b8b6d",
              "name": "ResourceNotFoundException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-2337f24f-4f3e-4114-a152-328cc57b8b6d"
            },
            {
              "id": "7452bfd8-d1a5-4735-a01b-586db3de6bd2",
              "name": "ForbiddenException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-7452bfd8-d1a5-4735-a01b-586db3de6bd2"
            },
            {
              "id": "6451c299-b47c-49d6-9c88-cc50fffc4efb",
              "name": "CallRateLimitExceededException",
              "originalRequest": {
                "method": "PUT",
                "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  \"imageRecipeArn\": \"arn:awsz)0Q14:imagebuilder:PR:aws:image-recipe/yra9xhq/14080.2070.8059617\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutImageRecipePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutImageRecipePolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:35.000Z",
              "updatedAt": "2026-07-28T10:21:35.000Z",
              "uid": "35240-6451c299-b47c-49d6-9c88-cc50fffc4efb"
            }
          ],
          "createdAt": "2026-07-28T10:21:35.000Z",
          "updatedAt": "2026-07-28T10:21:35.000Z",
          "uid": "35240-5b7777d3-f4cd-4816-b06a-aa07934c2293"
        }
      ],
      "id": "f4ad0e42-8fdc-4812-8563-698d28b1c9ce",
      "createdAt": "2026-07-28T10:21:35.000Z",
      "updatedAt": "2026-07-28T10:21:35.000Z",
      "uid": "35240-f4ad0e42-8fdc-4812-8563-698d28b1c9ce"
    }
  ],
  "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://imagebuilder.{{region}}.amazonaws.com"
    }
  ]
}