# Amazon CloudFront API

> Amazon CloudFront API on Apizie: 106 endpoints (Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution. With…, Creates a staging distribution using the configuration of the provided primary distribution. A staging…, Gets a list of cache policies. You can optionally apply a filter to return only the managed policies created…, Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors.…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:amazonaws-cloudfront`
- Category: Cloud
- Status: byok
- Source: https://github.com/mermade/aws2openapi
- Page: https://zieapi.vercel.app/api/cloud/amazonaws-cloudfront
- OpenAPI: https://zieapi.vercel.app/api/cloud/amazonaws-cloudfront/openapi.json

Amazon CloudFront This is the Amazon CloudFront API Reference . This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront…

## Endpoints

### Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution. With…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/associate-alias2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| TargetDistributionId | string | yes | The ID of the distribution that you're associating the alias with. |
| Alias | string | yes | The alias (also known as a CNAME) to add to the target distribution. |

### Creates a staging distribution using the configuration of the provided primary distribution. A staging…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/copy-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| PrimaryDistributionId | string | yes | The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions . |
| Staging | boolean | no | The type of distribution that your primary distribution will be copied to. The only valid value is True , indicating that you are copying… |
| If-Match | string | no | The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to… |
| body | string | yes | XML request body (string) |

### Gets a list of cache policies. You can optionally apply a filter to return only the managed policies created…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-cache-policies2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Type | string | no | A filter to return only the specified kinds of cache policies. Valid values are: managed – Returns only the managed policies created by… |
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in… |
| MaxItems | string | no | The maximum number of cache policies that you want in the response. |

### Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors.…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-cache-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Lists origin access identities.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-cloud-front-origin-access-identities2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in… |
| MaxItems | string | no | The maximum number of origin access identities you want in the response body. |

### Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-cloud-front-origin-access-identity2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a list of the continuous deployment policies in your Amazon Web Services account. You can optionally…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-continuous-deployment-policies2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes… |
| MaxItems | string | no | The maximum number of continuous deployment policies that you want returned in the response. |

### Creates a continuous deployment policy that distributes traffic for a custom domain name to two different…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-continuous-deployment-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### List CloudFront distributions.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list… |
| MaxItems | string | no | The maximum number of distributions you want in the response body. |

### Creates a CloudFront distribution.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Create a new distribution with tags. This API operation requires the following IAM permissions:…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-distribution-with-tags2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| WithTags | boolean | yes |  |
| body | string | yes | XML request body (string) |

### List all field-level encryption configurations that have been created in CloudFront for this account.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-field-level-encryption-configs2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list… |
| MaxItems | string | no | The maximum number of field-level encryption configurations you want in the response body. |

### Create a new field-level encryption configuration.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-field-level-encryption-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Request a list of field-level encryption profiles that have been created in CloudFront for this account.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-field-level-encryption-profiles2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this when paginating results to indicate where to begin in your list of profiles. The results include profiles in the list that occur… |
| MaxItems | string | no | The maximum number of field-level encryption profiles you want in the response body. |

### Create a field-level encryption profile.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-field-level-encryption-profile2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a list of all CloudFront functions in your Amazon Web Services account. You can optionally apply a…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-functions2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list… |
| MaxItems | string | no | The maximum number of functions that you want in the response. |
| Stage | string | no | An optional filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE . |

### Creates a CloudFront function. To create a function, you provide the function code and some configuration…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Lists invalidation batches.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-invalidations2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The distribution's ID. |
| Marker | string | no | Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are… |
| MaxItems | string | no | The maximum number of invalidation batches that you want in the response body. |

### Create a new invalidation.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-invalidation2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The distribution's id. |
| body | string | yes | XML request body (string) |

### Gets a list of key groups. You can optionally specify the maximum number of items to receive in the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-key-groups2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups in the list… |
| MaxItems | string | no | The maximum number of key groups that you want in the response. |

### Creates a key group that you can use with CloudFront signed URLs and signed cookies . To create a key group,…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-key-group2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-monitoring-subscription2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The ID of the distribution that you are getting metrics information for. |

### Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-monitoring-subscription2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The ID of the distribution that you are enabling metrics for. |
| body | string | yes | XML request body (string) |

### Disables additional CloudWatch metrics for the specified CloudFront distribution.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-monitoring-subscription2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The ID of the distribution that you are disabling metrics for. |

### Gets the list of CloudFront origin access controls in this Amazon Web Services account. You can optionally…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-origin-access-controls2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items… |
| MaxItems | string | no | The maximum number of origin access controls that you want in the response. |

### Creates a new origin access control in CloudFront. After you create an origin access control, you can add it…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-origin-access-control2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a list of origin request policies. You can optionally apply a filter to return only the managed…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-origin-request-policies2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Type | string | no | A filter to return only the specified kinds of origin request policies. Valid values are: managed – Returns only the managed policies… |
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of origin request policies. The response includes origin… |
| MaxItems | string | no | The maximum number of origin request policies that you want in the response. |

### Creates an origin request policy. After you create an origin request policy, you can attach it to one or…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-origin-request-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### List all public keys that have been added to CloudFront for this account.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-public-keys2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that… |
| MaxItems | string | no | The maximum number of public keys you want in the response body. |

### Uploads a public key to CloudFront that you can use with signed URLs and signed cookies , or with…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-public-key2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a list of real-time log configurations. You can optionally specify the maximum number of items to…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-realtime-log-configs2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| MaxItems | string | no | The maximum number of real-time log configurations that you want in the response. |
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of real-time log configurations. The response includes… |

### Creates a real-time log configuration. After you create a real-time log configuration, you can attach it to…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-realtime-log-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a list of response headers policies. You can optionally apply a filter to get only the managed policies…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-response-headers-policies2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Type | string | no | A filter to get only the specified kind of response headers policies. Valid values are: managed – Gets only the managed policies created… |
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes… |
| MaxItems | string | no | The maximum number of response headers policies that you want to get in the response. |

### Creates a response headers policy. A response headers policy contains information about a set of HTTP…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-response-headers-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### List streaming distributions.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-streaming-distributions2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | The value that you provided for the Marker request parameter. |
| MaxItems | string | no | The value that you provided for the MaxItems request parameter. |

### This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-streaming-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/create-streaming-distribution-with-tags2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| WithTags | boolean | yes |  |
| body | string | yes | XML request body (string) |

### Gets a cache policy, including the following metadata: The policy's identifier. The date and time when the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-cache-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's… |

### Updates a cache policy configuration. When you update a cache policy configuration, all the fields are…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-cache-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId field in… |
| If-Match | string | no | The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to… |
| body | string | yes | XML request body (string) |

### Deletes a cache policy. You cannot delete a cache policy if it's attached to a cache behavior. First update…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-cache-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the cache policy that you are deleting. To get the identifier, you can use ListCachePolicies . |
| If-Match | string | no | The version of the cache policy that you are deleting. The version is the cache policy's ETag value, which you can get using… |

### Get the information about an origin access identity.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-cloud-front-origin-access-identity2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identity's ID. |

### Delete an origin access identity.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-cloud-front-origin-access-identity2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The origin access identity's ID. |
| If-Match | string | no | The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL . |

### Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-continuous-deployment-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the continuous deployment policy that you are getting. |

### Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-continuous-deployment-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the continuous deployment policy that you are updating. |
| If-Match | string | no | The current version ( ETag value) of the continuous deployment policy that you are updating. |
| body | string | yes | XML request body (string) |

### Deletes a continuous deployment policy. You cannot delete a continuous deployment policy that's attached to…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-continuous-deployment-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the continuous deployment policy that you are deleting. |
| If-Match | string | no | The current version ( ETag value) of the continuous deployment policy that you are deleting. |

### Get the information about a distribution.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The distribution's ID. If the ID is empty, an empty distribution configuration is returned. |

### Delete a distribution.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The distribution ID. |
| If-Match | string | no | The value of the ETag header that you received when you disabled the distribution. For example: E2QWRUHAPOMQZL . |

### Get the field-level encryption configuration information.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-field-level-encryption2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | Request the ID for the field-level encryption configuration information. |

### Remove a field-level encryption configuration.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-field-level-encryption-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The ID of the configuration you want to delete from CloudFront. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the configuration identity to delete. For example: E2QWRUHAPOMQZL . |

### Get the field-level encryption profile information.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-field-level-encryption-profile2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | Get the ID for the field-level encryption profile information. |

### Remove a field-level encryption profile.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-field-level-encryption-profile2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | Request the ID of the profile you want to delete from CloudFront. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the profile to delete. For example: E2QWRUHAPOMQZL . |

### Updates a CloudFront function. You can update a function's code or the comment that describes the function.…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | string | yes | The name of the function that you are updating. |
| If-Match | string | yes | The current version ( ETag value) of the function that you are updating, which you can get using DescribeFunction . |
| body | string | yes | XML request body (string) |

### Deletes a CloudFront function. You cannot delete a function if it's associated with a cache behavior. First,…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | string | yes | The name of the function that you are deleting. |
| If-Match | string | yes | The current version ( ETag value) of the function that you are deleting, which you can get using DescribeFunction . |

### Gets a key group, including the date and time when the key group was last modified. To get a key group, you…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-key-group2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the key group that you are getting. To get the identifier, use ListKeyGroups . |

### Updates a key group. When you update a key group, all the fields are updated with the values provided in the…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-key-group2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the key group that you are updating. |
| If-Match | string | no | The version of the key group that you are updating. The version is the key group's ETag value. |
| body | string | yes | XML request body (string) |

### Deletes a key group. You cannot delete a key group that is referenced in a cache behavior. First update your…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-key-group2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the key group that you are deleting. To get the identifier, use ListKeyGroups . |
| If-Match | string | no | The version of the key group that you are deleting. The version is the key group's ETag value. To get the ETag , use GetKeyGroup or… |

### Gets a CloudFront origin access control, including its unique identifier.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-origin-access-control2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier of the origin access control. |

### Deletes a CloudFront origin access control. You cannot delete an origin access control if it's in use.…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-origin-access-control2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier of the origin access control that you are deleting. |
| If-Match | string | no | The current version ( ETag value) of the origin access control that you are deleting. |

### Gets an origin request policy, including the following metadata: The policy's identifier. The date and time…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-origin-request-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can… |

### Updates an origin request policy configuration. When you update an origin request policy configuration, all…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-origin-request-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's… |
| If-Match | string | no | The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the… |
| body | string | yes | XML request body (string) |

### Deletes an origin request policy. You cannot delete an origin request policy if it's attached to any cache…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-origin-request-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use ListOriginRequestPolicies . |
| If-Match | string | no | The version of the origin request policy that you are deleting. The version is the origin request policy's ETag value, which you can get… |

### Gets a public key.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-public-key2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the public key you are getting. |

### Remove a public key you previously added to CloudFront.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-public-key2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The ID of the public key you want to remove from CloudFront. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the public key identity to delete. For example: E2QWRUHAPOMQZL . |

### Deletes a real-time log configuration. You cannot delete a real-time log configuration if it's attached to a…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-realtime-log-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a response headers policy, including metadata (the policy's identifier and the date and time when the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-response-headers-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier for the response headers policy. If the response headers policy is attached to a distribution's cache behavior, you can get… |

### Updates a response headers policy. When you update a response headers policy, the entire policy is replaced.…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-response-headers-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier for the response headers policy that you are updating. |
| If-Match | string | no | The version of the response headers policy that you are updating. The version is returned in the cache policy's ETag field in the response… |
| body | string | yes | XML request body (string) |

### Deletes a response headers policy. You cannot delete a response headers policy if it's attached to a cache…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-response-headers-policy2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier for the response headers policy that you are deleting. To get the identifier, you can use ListResponseHeadersPolicies . |
| If-Match | string | no | The version of the response headers policy that you are deleting. The version is the response headers policy's ETag value, which you can… |

### Gets information about a specified RTMP distribution, including the distribution configuration.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-streaming-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The streaming distribution's ID. |

### Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/delete-streaming-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The distribution ID. |
| If-Match | string | no | The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL . |

### Gets configuration information and metadata about a CloudFront function, but not the function's code. To get…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/describe-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | string | yes | The name of the function that you are getting information about. |
| Stage | string | no | The function's stage, either DEVELOPMENT or LIVE . |

### Gets a cache policy configuration. To get a cache policy configuration, you must provide the policy's…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-cache-policy-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's… |

### Get the configuration information about an origin access identity.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-cloud-front-origin-access-identity-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identity's ID. |

### Update an origin access identity.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-cloud-front-origin-access-identity2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identity's id. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL . |
| body | string | yes | XML request body (string) |

### Gets configuration information about a continuous deployment policy.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-continuous-deployment-policy-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the continuous deployment policy whose configuration you are getting. |

### Get the configuration information about a distribution.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-distribution-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The distribution's ID. If the ID is empty, an empty distribution configuration is returned. |

### Updates the configuration for a CloudFront distribution. The update process includes getting the current…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The distribution's id. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL . |
| body | string | yes | XML request body (string) |

### Get the field-level encryption configuration information.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-field-level-encryption-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | Request the ID for the field-level encryption configuration information. |

### Update a field-level encryption configuration.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-field-level-encryption-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The ID of the configuration you want to update. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the configuration identity to update. For example: E2QWRUHAPOMQZL . |
| body | string | yes | XML request body (string) |

### Get the field-level encryption profile configuration information.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-field-level-encryption-profile-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | Get the ID for the field-level encryption profile configuration information. |

### Update a field-level encryption profile.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-field-level-encryption-profile2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The ID of the field-level encryption profile request. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the profile identity to update. For example: E2QWRUHAPOMQZL . |
| body | string | yes | XML request body (string) |

### Gets the code of a CloudFront function. To get configuration information and metadata about a function, use…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | string | yes | The name of the function whose code you are getting. |
| Stage | string | no | The function's stage, either DEVELOPMENT or LIVE . |

### Get the information about an invalidation.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-invalidation2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The distribution's ID. |
| Id | string | yes | The identifier for the invalidation request, for example, IDFDVBD632BHDS5 . |

### Gets a key group configuration. To get a key group configuration, you must provide the key group's…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-key-group-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups . |

### Gets a CloudFront origin access control configuration.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-origin-access-control-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier of the origin access control. |

### Updates a CloudFront origin access control.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-origin-access-control2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier of the origin access control that you are updating. |
| If-Match | string | no | The current version ( ETag value) of the origin access control that you are updating. |
| body | string | yes | XML request body (string) |

### Gets an origin request policy configuration. To get an origin request policy configuration, you must provide…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-origin-request-policy-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can… |

### Gets a public key configuration.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-public-key-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the public key whose configuration you are getting. |

### Update public key information. Note that the only value you can change is the comment.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-public-key2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the public key that you are updating. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL . |
| body | string | yes | XML request body (string) |

### Gets a real-time log configuration. To get a real-time log configuration, you can provide the…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-realtime-log-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a response headers policy configuration. To get a response headers policy configuration, you must…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-response-headers-policy-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier for the response headers policy. If the response headers policy is attached to a distribution's cache behavior, you can get… |

### Get the configuration information about a streaming distribution.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/get-streaming-distribution-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The streaming distribution's ID. |

### Update a streaming distribution.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-streaming-distribution2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The streaming distribution's id. |
| If-Match | string | no | The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL . |
| body | string | yes | XML request body (string) |

### Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict or overlap with the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-conflicting-aliases2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DistributionId | string | yes | The ID of a distribution in your account that has an attached SSL/TLS certificate that includes the provided alias. |
| Alias | string | yes | The alias (also called a CNAME) to search for conflicting aliases. |
| Marker | string | no | Use this field when paginating results to indicate where to begin in the list of conflicting aliases. The response includes conflicting… |
| MaxItems | integer | no | The maximum number of conflicting aliases that you want in the response. |

### Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions-by-cache-policy-id2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs… |
| MaxItems | string | no | The maximum number of distribution IDs that you want in the response. |
| CachePolicyId | string | yes | The ID of the cache policy whose associated distribution IDs you want to list. |

### Gets a list of distribution IDs for distributions that have a cache behavior that references the specified…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions-by-key-group2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs… |
| MaxItems | string | no | The maximum number of distribution IDs that you want in the response. |
| KeyGroupId | string | yes | The ID of the key group whose associated distribution IDs you are listing. |

### Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions-by-origin-request-policy-id2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs… |
| MaxItems | string | no | The maximum number of distribution IDs that you want in the response. |
| OriginRequestPolicyId | string | yes | The ID of the origin request policy whose associated distribution IDs you want to list. |

### Gets a list of distributions that have a cache behavior that's associated with the specified real-time log…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions-by-realtime-log-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

### Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the…
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions-by-response-headers-policy-id2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs… |
| MaxItems | string | no | The maximum number of distribution IDs that you want to get in the response. |
| ResponseHeadersPolicyId | string | yes | The ID of the response headers policy whose associated distribution IDs you want to list. |

### List the distributions that are associated with a specified WAF web ACL.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-distributions-by-web-aclid2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Marker | string | no | Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the… |
| MaxItems | string | no | The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100. |
| WebACLId | string | yes | The ID of the WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list… |

### List tags for a CloudFront resource.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/list-tags-for-resource2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | string | yes | An ARN of a CloudFront resource. |

### Publishes a CloudFront function by copying the function code from the DEVELOPMENT stage to LIVE . This…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/publish-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | string | yes | The name of the function that you are publishing. |
| If-Match | string | yes | The current version ( ETag value) of the function that you are publishing, which you can get using DescribeFunction . |

### Add tags to a CloudFront resource.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/tag-resource2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | string | yes | An ARN of a CloudFront resource. |
| Operation | string | yes |  |
| body | string | yes | XML request body (string) |

### Tests a CloudFront function. To test a function, you provide an event object that represents an HTTP request…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/test-function2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | string | yes | The name of the function that you are testing. |
| If-Match | string | yes | The current version ( ETag value) of the function that you are testing, which you can get using DescribeFunction . |
| body | string | yes | XML request body (string) |

### Remove tags from a CloudFront resource.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/untag-resource2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | string | yes | An ARN of a CloudFront resource. |
| Operation | string | yes |  |
| body | string | yes | XML request body (string) |

### Copies the staging distribution's configuration to its corresponding primary distribution. The primary…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-distribution-with-staging-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | yes | The identifier of the primary distribution to which you are copying a staging distribution's configuration. |
| StagingDistributionId | string | no | The identifier of the staging distribution whose configuration you are copying to the primary distribution. |
| If-Match | string | no | The current versions ( ETag values) of both primary and staging distributions. Provide these in the following format: &lt;primary… |

### Updates a real-time log configuration. When you update a real-time log configuration, all the parameters are…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/update-realtime-log-config2020-05-31` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | yes | XML request body (string) |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/associate-alias2020-05-31" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Amazon CloudFront API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:amazonaws-cloudfront/associate-alias2020-05-31 with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Amazon CloudFront API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Amazon CloudFront itself also needs your own key from amazonaws.com.

### Can AI agents use the Amazon CloudFront API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:amazonaws-cloudfront.

### What is the status of the Amazon CloudFront API?
Needs your own provider key (bring your own key)
