Amazon Web Services Distribution API

The Distribution API from Amazon Web Services — 9 operation(s) for distribution.

Operations 9

PUT /2020-05-31/distribution/{TargetDistributionId}/associate-alias Amazon Web Services Associatealias #
POST /2020-05-31/distribution/{PrimaryDistributionId}/copy Amazon Web Services Copydistribution #
GET /2020-05-31/distribution Amazon Web Services Listdistributions #
POST /2020-05-31/distribution?WithTags Amazon Web Services Createdistributionwithtags #
GET /2020-05-31/distribution/{DistributionId}/invalidation Amazon Web Services Listinvalidations #
GET /2020-05-31/distribution/{Id} Amazon Web Services Getdistribution #
PUT /2020-05-31/distribution/{Id}/config Amazon Web Services Updatedistribution #
GET /2020-05-31/distribution/{DistributionId}/invalidation/{Id} Amazon Web Services Getinvalidation #
PUT /2020-05-31/distribution/{Id}/promote-staging-config Amazon Web Services Updatedistributionwithstagingconfig #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-web-services-distribution-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-web-services-distribution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Web Services cloudfront Distribution API
  description: '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 features, see the Amazon CloudFront Developer Guide.'
tags:
- name: Distribution
paths:
  /2020-05-31/distribution/{TargetDistributionId}/associate-alias:
    PUT:
      summary: Amazon Web Services Associatealias
      description: Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution. With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution. To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see Moving an alternate domain name to a different distribution in the Amazon CloudFront Developer Guide.
      operationId: amazonWebServicesAssociateAlias
      tags:
      - Distribution
  /2020-05-31/distribution/{PrimaryDistributionId}/copy:
    POST:
      summary: Amazon Web Services Copydistribution
      description: 'Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow. After you create a staging distribution, you can use UpdateDistribution to modify the staging distribution''s configuration. Then you can use CreateContinuousDeploymentPolicy to incrementally move traffic to the staging distribution. This API operation requires the following IAM permissions: GetDistribution CreateDistribution CopyDistribution'
      operationId: amazonWebServicesCopyDistribution
      tags:
      - Distribution
  /2020-05-31/distribution:
    GET:
      summary: Amazon Web Services Listdistributions
      description: List CloudFront distributions.
      operationId: amazonWebServicesListDistributions
      tags:
      - Distribution
  /2020-05-31/distribution?WithTags:
    POST:
      summary: Amazon Web Services Createdistributionwithtags
      description: 'Create a new distribution with tags. This API operation requires the following IAM permissions: CreateDistribution TagResource'
      operationId: amazonWebServicesCreateDistributionWithTags
      tags:
      - Distribution
  /2020-05-31/distribution/{DistributionId}/invalidation:
    GET:
      summary: Amazon Web Services Listinvalidations
      description: Lists invalidation batches.
      operationId: amazonWebServicesListInvalidations
      tags:
      - Distribution
  /2020-05-31/distribution/{Id}:
    GET:
      summary: Amazon Web Services Getdistribution
      description: Get the information about a distribution.
      operationId: amazonWebServicesGetDistribution
      tags:
      - Distribution
  /2020-05-31/distribution/{Id}/config:
    PUT:
      summary: Amazon Web Services Updatedistribution
      description: 'Updates the configuration for a CloudFront distribution. The update process includes getting the current distribution configuration, updating it to make your changes, and then submitting an UpdateDistribution request to make the updates. To update a web distribution using the CloudFront API Use GetDistributionConfig to get the current configuration, including the version identifier (ETag). Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions: You must rename the ETag field to IfMatch, leaving the value unchanged. (Set the value of IfMatch to the value of ETag, then remove the ETag field.) You can''t change the value of CallerReference. Submit an UpdateDistribution request, providing the distribution configuration. The new configuration replaces the existing configuration. The values that you specify in an UpdateDistribution request are not merged into your existing configuration. Make sure to include all fields: the ones that you modified and also the ones that you didn''t.'
      operationId: amazonWebServicesUpdateDistribution
      tags:
      - Distribution
  /2020-05-31/distribution/{DistributionId}/invalidation/{Id}:
    GET:
      summary: Amazon Web Services Getinvalidation
      description: Get the information about an invalidation.
      operationId: amazonWebServicesGetInvalidation
      tags:
      - Distribution
  /2020-05-31/distribution/{Id}/promote-staging-config:
    PUT:
      summary: Amazon Web Services Updatedistributionwithstagingconfig
      description: 'Copies the staging distribution''s configuration to its corresponding primary distribution. The primary distribution retains its Aliases (also known as alternate domain names or CNAMEs) and ContinuousDeploymentPolicyId value, but otherwise its configuration is overwritten to match the staging distribution. You can use this operation in a continuous deployment workflow after you have tested configuration changes on the staging distribution. After using a continuous deployment policy to move a portion of your domain name''s traffic to the staging distribution and verifying that it works as intended, you can use this operation to copy the staging distribution''s configuration to the primary distribution. This action will disable the continuous deployment policy and move your domain''s traffic back to the primary distribution. This API operation requires the following IAM permissions: GetDistribution UpdateDistribution'
      operationId: amazonWebServicesUpdateDistributionWithStagingConfig
      tags:
      - Distribution