openapi: 3.0.0 info: version: 2017-10-30 x-release: v4 title: Amazon CloudFront 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.

x-logo: url: https://twitter.com/awscloud/profile_image?size=original backgroundColor: "#FFFFFF" termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: cloudfront x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/cloudfront-2017-10-30.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-direct: true x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: false externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/cloudfront/ x-hasEquivalentPaths: true security: - hmac: [] paths: /2017-10-30/origin-access-identity/cloudfront: post: operationId: CreateCloudFrontOriginAccessIdentity2017_10_30 description: Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateCloudFrontOriginAccessIdentityRes\ ult" "480": description: CloudFrontOriginAccessIdentityAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityAlreadyEx\ ists" "481": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "482": description: TooManyCloudFrontOriginAccessIdentities content: text/xml: schema: $ref: "#/components/schemas/TooManyCloudFrontOriginAccessIdentities" "483": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "484": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" requestBody: $ref: "#/components/requestBodies/CreateCloudFrontOriginAccessIdentity2017_\ 10_30Body" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListCloudFrontOriginAccessIdentities2017_10_30 description: Lists origin access identities. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListCloudFrontOriginAccessIdentitiesRes\ ult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" parameters: - name: Marker in: query required: false description: Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page). schema: type: string - name: MaxItems in: query required: false description: "The maximum number of origin access identities you want in the response body. " schema: type: string /2017-10-30/distribution: post: operationId: CreateDistribution2017_10_30 description: Creates a new web distribution. Send a POST request to the /CloudFront API version/distribution/distribution ID resource. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateDistributionResult" "480": description: CNAMEAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CNAMEAlreadyExists" "481": description: DistributionAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/DistributionAlreadyExists" "482": description: InvalidOrigin content: text/xml: schema: $ref: "#/components/schemas/InvalidOrigin" "483": description: InvalidOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginAccessIdentity" "484": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "485": description: TooManyTrustedSigners content: text/xml: schema: $ref: "#/components/schemas/TooManyTrustedSigners" "486": description: TrustedSignerDoesNotExist content: text/xml: schema: $ref: "#/components/schemas/TrustedSignerDoesNotExist" "487": description: InvalidViewerCertificate content: text/xml: schema: $ref: "#/components/schemas/InvalidViewerCertificate" "488": description: InvalidMinimumProtocolVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidMinimumProtocolVersion" "489": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "490": description: TooManyDistributionCNAMEs content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionCNAMEs" "491": description: TooManyDistributions content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributions" "492": description: InvalidDefaultRootObject content: text/xml: schema: $ref: "#/components/schemas/InvalidDefaultRootObject" "493": description: InvalidRelativePath content: text/xml: schema: $ref: "#/components/schemas/InvalidRelativePath" "494": description: InvalidErrorCode content: text/xml: schema: $ref: "#/components/schemas/InvalidErrorCode" "495": description: InvalidResponseCode content: text/xml: schema: $ref: "#/components/schemas/InvalidResponseCode" "496": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "497": description: InvalidRequiredProtocol content: text/xml: schema: $ref: "#/components/schemas/InvalidRequiredProtocol" "498": description: NoSuchOrigin content: text/xml: schema: $ref: "#/components/schemas/NoSuchOrigin" "499": description: TooManyOrigins content: text/xml: schema: $ref: "#/components/schemas/TooManyOrigins" "500": description: TooManyCacheBehaviors content: text/xml: schema: $ref: "#/components/schemas/TooManyCacheBehaviors" "501": description: TooManyCookieNamesInWhiteList content: text/xml: schema: $ref: "#/components/schemas/TooManyCookieNamesInWhiteList" "502": description: InvalidForwardCookies content: text/xml: schema: $ref: "#/components/schemas/InvalidForwardCookies" "503": description: TooManyHeadersInForwardedValues content: text/xml: schema: $ref: "#/components/schemas/TooManyHeadersInForwardedValues" "504": description: InvalidHeadersForS3Origin content: text/xml: schema: $ref: "#/components/schemas/InvalidHeadersForS3Origin" "505": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "506": description: TooManyCertificates content: text/xml: schema: $ref: "#/components/schemas/TooManyCertificates" "507": description: InvalidLocationCode content: text/xml: schema: $ref: "#/components/schemas/InvalidLocationCode" "508": description: InvalidGeoRestrictionParameter content: text/xml: schema: $ref: "#/components/schemas/InvalidGeoRestrictionParameter" "509": description: InvalidProtocolSettings content: text/xml: schema: $ref: "#/components/schemas/InvalidProtocolSettings" "510": description: InvalidTTLOrder content: text/xml: schema: $ref: "#/components/schemas/InvalidTTLOrder" "511": description: InvalidWebACLId content: text/xml: schema: $ref: "#/components/schemas/InvalidWebACLId" "512": description: TooManyOriginCustomHeaders content: text/xml: schema: $ref: "#/components/schemas/TooManyOriginCustomHeaders" "513": description: TooManyQueryStringParameters content: text/xml: schema: $ref: "#/components/schemas/TooManyQueryStringParameters" "514": description: InvalidQueryStringParameters content: text/xml: schema: $ref: "#/components/schemas/InvalidQueryStringParameters" "515": description: TooManyDistributionsWithLambdaAssociations content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionsWithLambdaAssociati\ ons" "516": description: TooManyLambdaFunctionAssociations content: text/xml: schema: $ref: "#/components/schemas/TooManyLambdaFunctionAssociations" "517": description: InvalidLambdaFunctionAssociation content: text/xml: schema: $ref: "#/components/schemas/InvalidLambdaFunctionAssociation" "518": description: InvalidOriginReadTimeout content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginReadTimeout" "519": description: InvalidOriginKeepaliveTimeout content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginKeepaliveTimeout" "520": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" "521": description: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior content: text/xml: schema: $ref: "#/components/schemas/IllegalFieldLevelEncryptionConfigAssoci\ ationWithCacheBehavior" "522": description: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionsAssociatedToFieldLe\ velEncryptionConfig" requestBody: $ref: "#/components/requestBodies/CreateDistribution2017_10_30Body" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListDistributions2017_10_30 description: "List distributions. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListDistributionsResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" parameters: - name: Marker in: query required: false description: Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page). schema: type: string - name: MaxItems in: query required: false description: The maximum number of distributions you want in the response body. schema: type: string /2017-10-30/distribution#WithTags: post: operationId: CreateDistributionWithTags2017_10_30 description: Create a new distribution with tags. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateDistributionWithTagsResult" "480": description: CNAMEAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CNAMEAlreadyExists" "481": description: DistributionAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/DistributionAlreadyExists" "482": description: InvalidOrigin content: text/xml: schema: $ref: "#/components/schemas/InvalidOrigin" "483": description: InvalidOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginAccessIdentity" "484": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "485": description: TooManyTrustedSigners content: text/xml: schema: $ref: "#/components/schemas/TooManyTrustedSigners" "486": description: TrustedSignerDoesNotExist content: text/xml: schema: $ref: "#/components/schemas/TrustedSignerDoesNotExist" "487": description: InvalidViewerCertificate content: text/xml: schema: $ref: "#/components/schemas/InvalidViewerCertificate" "488": description: InvalidMinimumProtocolVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidMinimumProtocolVersion" "489": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "490": description: TooManyDistributionCNAMEs content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionCNAMEs" "491": description: TooManyDistributions content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributions" "492": description: InvalidDefaultRootObject content: text/xml: schema: $ref: "#/components/schemas/InvalidDefaultRootObject" "493": description: InvalidRelativePath content: text/xml: schema: $ref: "#/components/schemas/InvalidRelativePath" "494": description: InvalidErrorCode content: text/xml: schema: $ref: "#/components/schemas/InvalidErrorCode" "495": description: InvalidResponseCode content: text/xml: schema: $ref: "#/components/schemas/InvalidResponseCode" "496": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "497": description: InvalidRequiredProtocol content: text/xml: schema: $ref: "#/components/schemas/InvalidRequiredProtocol" "498": description: NoSuchOrigin content: text/xml: schema: $ref: "#/components/schemas/NoSuchOrigin" "499": description: TooManyOrigins content: text/xml: schema: $ref: "#/components/schemas/TooManyOrigins" "500": description: TooManyCacheBehaviors content: text/xml: schema: $ref: "#/components/schemas/TooManyCacheBehaviors" "501": description: TooManyCookieNamesInWhiteList content: text/xml: schema: $ref: "#/components/schemas/TooManyCookieNamesInWhiteList" "502": description: InvalidForwardCookies content: text/xml: schema: $ref: "#/components/schemas/InvalidForwardCookies" "503": description: TooManyHeadersInForwardedValues content: text/xml: schema: $ref: "#/components/schemas/TooManyHeadersInForwardedValues" "504": description: InvalidHeadersForS3Origin content: text/xml: schema: $ref: "#/components/schemas/InvalidHeadersForS3Origin" "505": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "506": description: TooManyCertificates content: text/xml: schema: $ref: "#/components/schemas/TooManyCertificates" "507": description: InvalidLocationCode content: text/xml: schema: $ref: "#/components/schemas/InvalidLocationCode" "508": description: InvalidGeoRestrictionParameter content: text/xml: schema: $ref: "#/components/schemas/InvalidGeoRestrictionParameter" "509": description: InvalidProtocolSettings content: text/xml: schema: $ref: "#/components/schemas/InvalidProtocolSettings" "510": description: InvalidTTLOrder content: text/xml: schema: $ref: "#/components/schemas/InvalidTTLOrder" "511": description: InvalidWebACLId content: text/xml: schema: $ref: "#/components/schemas/InvalidWebACLId" "512": description: TooManyOriginCustomHeaders content: text/xml: schema: $ref: "#/components/schemas/TooManyOriginCustomHeaders" "513": description: InvalidTagging content: text/xml: schema: $ref: "#/components/schemas/InvalidTagging" "514": description: TooManyQueryStringParameters content: text/xml: schema: $ref: "#/components/schemas/TooManyQueryStringParameters" "515": description: InvalidQueryStringParameters content: text/xml: schema: $ref: "#/components/schemas/InvalidQueryStringParameters" "516": description: TooManyDistributionsWithLambdaAssociations content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionsWithLambdaAssociati\ ons" "517": description: TooManyLambdaFunctionAssociations content: text/xml: schema: $ref: "#/components/schemas/TooManyLambdaFunctionAssociations" "518": description: InvalidLambdaFunctionAssociation content: text/xml: schema: $ref: "#/components/schemas/InvalidLambdaFunctionAssociation" "519": description: InvalidOriginReadTimeout content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginReadTimeout" "520": description: InvalidOriginKeepaliveTimeout content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginKeepaliveTimeout" "521": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" "522": description: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior content: text/xml: schema: $ref: "#/components/schemas/IllegalFieldLevelEncryptionConfigAssoci\ ationWithCacheBehavior" "523": description: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionsAssociatedToFieldLe\ velEncryptionConfig" parameters: - name: WithTags in: query required: true allowEmptyValue: true schema: type: boolean enum: - true requestBody: content: text/xml: schema: type: object required: - DistributionConfigWithTags properties: DistributionConfigWithTags: description: A distribution Configuration and a list of tags to be associated with the distribution. type: object properties: DistributionConfig: $ref: "#/components/schemas/DistributionConfig" Tags: $ref: "#/components/schemas/Tags" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" /2017-10-30/field-level-encryption: post: operationId: CreateFieldLevelEncryptionConfig2017_10_30 description: Create a new field-level encryption configuration. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateFieldLevelEncryptionConfigResult" "480": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "481": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "482": description: NoSuchFieldLevelEncryptionProfile content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionProfile" "483": description: FieldLevelEncryptionConfigAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionConfigAlreadyExists" "484": description: TooManyFieldLevelEncryptionConfigs content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionConfigs" "485": description: TooManyFieldLevelEncryptionQueryArgProfiles content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionQueryArgProf\ iles" "486": description: TooManyFieldLevelEncryptionContentTypeProfiles content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionContentTypeP\ rofiles" "487": description: QueryArgProfileEmpty content: text/xml: schema: $ref: "#/components/schemas/QueryArgProfileEmpty" requestBody: $ref: "#/components/requestBodies/CreateFieldLevelEncryptionConfig2017_10_3\ 0Body" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListFieldLevelEncryptionConfigs2017_10_30 description: List all field-level encryption configurations that have been created in CloudFront for this account. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListFieldLevelEncryptionConfigsResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" parameters: - name: Marker in: query required: false description: "Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last configuration on that page). " schema: type: string - name: MaxItems in: query required: false description: "The maximum number of field-level encryption configurations you want in the response body. " schema: type: string /2017-10-30/field-level-encryption-profile: post: operationId: CreateFieldLevelEncryptionProfile2017_10_30 description: Create a field-level encryption profile. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateFieldLevelEncryptionProfileResult" "480": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "481": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "482": description: NoSuchPublicKey content: text/xml: schema: $ref: "#/components/schemas/NoSuchPublicKey" "483": description: FieldLevelEncryptionProfileAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionProfileAlreadyExists" "484": description: FieldLevelEncryptionProfileSizeExceeded content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionProfileSizeExceeded" "485": description: TooManyFieldLevelEncryptionProfiles content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionProfiles" "486": description: TooManyFieldLevelEncryptionEncryptionEntities content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionEncryptionEn\ tities" "487": description: TooManyFieldLevelEncryptionFieldPatterns content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionFieldPatterns" requestBody: $ref: "#/components/requestBodies/CreateFieldLevelEncryptionProfile2017_10_\ 30Body" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListFieldLevelEncryptionProfiles2017_10_30 description: Request a list of field-level encryption profiles that have been created in CloudFront for this account. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListFieldLevelEncryptionProfilesResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" parameters: - name: Marker in: query required: false description: "Use this when paginating results to indicate where to begin in your list of profiles. The results include profiles in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last profile on that page). " schema: type: string - name: MaxItems in: query required: false description: "The maximum number of field-level encryption profiles you want in the response body. " schema: type: string "/2017-10-30/distribution/{DistributionId}/invalidation": post: operationId: CreateInvalidation2017_10_30 description: "Create a new invalidation. " responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateInvalidationResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "482": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "483": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "484": description: BatchTooLarge content: text/xml: schema: $ref: "#/components/schemas/BatchTooLarge" "485": description: TooManyInvalidationsInProgress content: text/xml: schema: $ref: "#/components/schemas/TooManyInvalidationsInProgress" "486": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" parameters: - name: DistributionId in: path required: true description: The distribution's id. schema: type: string requestBody: content: text/xml: schema: type: object required: - InvalidationBatch properties: InvalidationBatch: description: An invalidation batch. type: object properties: Paths: $ref: "#/components/schemas/Paths" CallerReference: $ref: "#/components/schemas/string" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListInvalidations2017_10_30 description: "Lists invalidation batches. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListInvalidationsResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "481": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "482": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: DistributionId in: path required: true description: The distribution's ID. schema: type: string - name: Marker in: query required: false description: "Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page. " schema: type: string - name: MaxItems in: query required: false description: The maximum number of invalidation batches that you want in the response body. schema: type: string /2017-10-30/public-key: post: operationId: CreatePublicKey2017_10_30 description: Add a new public key to CloudFront to use, for example, for field-level encryption. You can add a maximum of 10 public keys with one AWS account. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreatePublicKeyResult" "480": description: PublicKeyAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/PublicKeyAlreadyExists" "481": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "482": description: TooManyPublicKeys content: text/xml: schema: $ref: "#/components/schemas/TooManyPublicKeys" requestBody: $ref: "#/components/requestBodies/CreatePublicKey2017_10_30Body" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListPublicKeys2017_10_30 description: List all public keys that have been added to CloudFront for this account. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListPublicKeysResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" parameters: - name: Marker in: query required: false description: "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 occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page). " schema: type: string - name: MaxItems in: query required: false description: "The maximum number of public keys you want in the response body. " schema: type: string /2017-10-30/streaming-distribution: post: operationId: CreateStreamingDistribution2017_10_30 description:

Creates a new RMTP distribution. An RTMP distribution is similar to a web distribution, but an RTMP distribution streams media files using the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP.

To create a new web distribution, submit a POST request to the CloudFront API version/distribution resource. The request body must include a document with a StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig element and returns other information about the RTMP distribution.

To get the status of your request, use the GET StreamingDistribution API action. When the value of Enabled is true and the value of Status is Deployed, your distribution is ready. A distribution usually deploys in less than 15 minutes.

For more information about web distributions, see Working with RTMP Distributions in the Amazon CloudFront Developer Guide.

Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a web distribution or an RTMP distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values specified.

responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateStreamingDistributionResult" "480": description: CNAMEAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CNAMEAlreadyExists" "481": description: StreamingDistributionAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/StreamingDistributionAlreadyExists" "482": description: InvalidOrigin content: text/xml: schema: $ref: "#/components/schemas/InvalidOrigin" "483": description: InvalidOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginAccessIdentity" "484": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "485": description: TooManyTrustedSigners content: text/xml: schema: $ref: "#/components/schemas/TooManyTrustedSigners" "486": description: TrustedSignerDoesNotExist content: text/xml: schema: $ref: "#/components/schemas/TrustedSignerDoesNotExist" "487": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "488": description: TooManyStreamingDistributionCNAMEs content: text/xml: schema: $ref: "#/components/schemas/TooManyStreamingDistributionCNAMEs" "489": description: TooManyStreamingDistributions content: text/xml: schema: $ref: "#/components/schemas/TooManyStreamingDistributions" "490": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "491": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" requestBody: $ref: "#/components/requestBodies/CreateStreamingDistribution2017_10_30Body" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: ListStreamingDistributions2017_10_30 description: "List streaming distributions. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListStreamingDistributionsResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" parameters: - name: Marker in: query required: false description: The value that you provided for the Marker request parameter. schema: type: string - name: MaxItems in: query required: false description: The value that you provided for the MaxItems request parameter. schema: type: string /2017-10-30/streaming-distribution#WithTags: post: operationId: CreateStreamingDistributionWithTags2017_10_30 description: Create a new streaming distribution with tags. responses: "201": description: Success content: text/xml: schema: $ref: "#/components/schemas/CreateStreamingDistributionWithTagsResu\ lt" "480": description: CNAMEAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CNAMEAlreadyExists" "481": description: StreamingDistributionAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/StreamingDistributionAlreadyExists" "482": description: InvalidOrigin content: text/xml: schema: $ref: "#/components/schemas/InvalidOrigin" "483": description: InvalidOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginAccessIdentity" "484": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "485": description: TooManyTrustedSigners content: text/xml: schema: $ref: "#/components/schemas/TooManyTrustedSigners" "486": description: TrustedSignerDoesNotExist content: text/xml: schema: $ref: "#/components/schemas/TrustedSignerDoesNotExist" "487": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "488": description: TooManyStreamingDistributionCNAMEs content: text/xml: schema: $ref: "#/components/schemas/TooManyStreamingDistributionCNAMEs" "489": description: TooManyStreamingDistributions content: text/xml: schema: $ref: "#/components/schemas/TooManyStreamingDistributions" "490": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "491": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "492": description: InvalidTagging content: text/xml: schema: $ref: "#/components/schemas/InvalidTagging" parameters: - name: WithTags in: query required: true allowEmptyValue: true schema: type: boolean enum: - true requestBody: content: text/xml: schema: type: object required: - StreamingDistributionConfigWithTags properties: StreamingDistributionConfigWithTags: description: A streaming distribution Configuration and a list of tags to be associated with the streaming distribution. type: object properties: StreamingDistributionConfig: $ref: "#/components/schemas/StreamingDistributionConfig" Tags: $ref: "#/components/schemas/Tags" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/2017-10-30/origin-access-identity/cloudfront/{Id}": delete: operationId: DeleteCloudFrontOriginAccessIdentity2017_10_30 description: "Delete an origin access identity. " responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "482": description: NoSuchCloudFrontOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/NoSuchCloudFrontOriginAccessIdentity" "483": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "484": description: CloudFrontOriginAccessIdentityInUse content: text/xml: schema: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityInUse" parameters: - name: Id in: path required: true description: The origin access identity's ID. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL." schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetCloudFrontOriginAccessIdentity2017_10_30 description: "Get the information about an origin access identity. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetCloudFrontOriginAccessIdentityResult" "480": description: NoSuchCloudFrontOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/NoSuchCloudFrontOriginAccessIdentity" "481": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: Id in: path required: true description: The identity's ID. schema: type: string "/2017-10-30/distribution/{Id}": delete: operationId: DeleteDistribution2017_10_30 description: "Delete a distribution. " responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: DistributionNotDisabled content: text/xml: schema: $ref: "#/components/schemas/DistributionNotDisabled" "482": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "483": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "484": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" parameters: - name: Id in: path required: true description: "The distribution ID. " schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when you disabled the distribution. For example: E2QWRUHAPOMQZL. " schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetDistribution2017_10_30 description: "Get the information about a distribution. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetDistributionResult" "480": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "481": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: Id in: path required: true description: The distribution's ID. schema: type: string "/2017-10-30/field-level-encryption/{Id}": delete: operationId: DeleteFieldLevelEncryptionConfig2017_10_30 description: Remove a field-level encryption configuration. responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "482": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" "483": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "484": description: FieldLevelEncryptionConfigInUse content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionConfigInUse" parameters: - name: Id in: path required: true description: The ID of the configuration you want to delete from CloudFront. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the configuration identity to delete. For example: E2QWRUHAPOMQZL." schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetFieldLevelEncryption2017_10_30 description: Get the field-level encryption configuration information. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetFieldLevelEncryptionResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" parameters: - name: Id in: path required: true description: Request the ID for the field-level encryption configuration information. schema: type: string "/2017-10-30/field-level-encryption-profile/{Id}": delete: operationId: DeleteFieldLevelEncryptionProfile2017_10_30 description: Remove a field-level encryption profile. responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "482": description: NoSuchFieldLevelEncryptionProfile content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionProfile" "483": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "484": description: FieldLevelEncryptionProfileInUse content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionProfileInUse" parameters: - name: Id in: path required: true description: Request the ID of the profile you want to delete from CloudFront. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the profile to delete. For example: E2QWRUHAPOMQZL." schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetFieldLevelEncryptionProfile2017_10_30 description: Get the field-level encryption profile information. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetFieldLevelEncryptionProfileResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: NoSuchFieldLevelEncryptionProfile content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionProfile" parameters: - name: Id in: path required: true description: Get the ID for the field-level encryption profile information. schema: type: string "/2017-10-30/public-key/{Id}": delete: operationId: DeletePublicKey2017_10_30 description: Remove a public key you previously added to CloudFront. responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: PublicKeyInUse content: text/xml: schema: $ref: "#/components/schemas/PublicKeyInUse" "482": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "483": description: NoSuchPublicKey content: text/xml: schema: $ref: "#/components/schemas/NoSuchPublicKey" "484": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" parameters: - name: Id in: path required: true description: The ID of the public key you want to remove from CloudFront. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the public key identity to delete. For example: E2QWRUHAPOMQZL." schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetPublicKey2017_10_30 description: Get the public key information. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetPublicKeyResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: NoSuchPublicKey content: text/xml: schema: $ref: "#/components/schemas/NoSuchPublicKey" parameters: - name: Id in: path required: true description: Request the ID for the public key. schema: type: string "/2017-10-30/streaming-distribution/{Id}": delete: operationId: DeleteStreamingDistribution2017_10_30 description:

Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.

To delete an RTMP distribution using the CloudFront API:

  1. Disable the RTMP distribution.

  2. Submit a GET Streaming Distribution Config request to get the current configuration and the Etag header for the distribution.

  3. Update the XML document that was returned in the response to your GET Streaming Distribution Config request to change the value of Enabled to false.

  4. Submit a PUT Streaming Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2.

  5. Review the response to the PUT Streaming Distribution Config request to confirm that the distribution was successfully disabled.

  6. Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed.

  7. Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2.

  8. Review the response to your DELETE Streaming Distribution request to confirm that the distribution was successfully deleted.

For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.

responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: StreamingDistributionNotDisabled content: text/xml: schema: $ref: "#/components/schemas/StreamingDistributionNotDisabled" "482": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "483": description: NoSuchStreamingDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchStreamingDistribution" "484": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" parameters: - name: Id in: path required: true description: "The distribution ID. " schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL." schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetStreamingDistribution2017_10_30 description: Gets information about a specified RTMP distribution, including the distribution configuration. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetStreamingDistributionResult" "480": description: NoSuchStreamingDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchStreamingDistribution" "481": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: Id in: path required: true description: The streaming distribution's ID. schema: type: string "/2017-10-30/origin-access-identity/cloudfront/{Id}/config": get: operationId: GetCloudFrontOriginAccessIdentityConfig2017_10_30 description: "Get the configuration information about an origin access identity. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetCloudFrontOriginAccessIdentityConfig\ Result" "480": description: NoSuchCloudFrontOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/NoSuchCloudFrontOriginAccessIdentity" "481": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: Id in: path required: true description: "The identity's ID. " schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdateCloudFrontOriginAccessIdentity2017_10_30 description: "Update an origin access identity. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/UpdateCloudFrontOriginAccessIdentityRes\ ult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: IllegalUpdate content: text/xml: schema: $ref: "#/components/schemas/IllegalUpdate" "482": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "483": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "484": description: NoSuchCloudFrontOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/NoSuchCloudFrontOriginAccessIdentity" "485": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "486": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "487": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" parameters: - name: Id in: path required: true description: The identity's id. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL." schema: type: string requestBody: $ref: "#/components/requestBodies/CreateCloudFrontOriginAccessIdentity2017_\ 10_30Body" "/2017-10-30/distribution/{Id}/config": get: operationId: GetDistributionConfig2017_10_30 description: "Get the configuration information about a distribution. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetDistributionConfigResult" "480": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "481": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: Id in: path required: true description: The distribution's ID. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdateDistribution2017_10_30 description: "

Updates the configuration for a web distribution. Perform the following steps.

For information about updating a distribution using the CloudFront console, see Creating or Updating a Web Distribution Using the CloudFront Console in the Amazon CloudFront Developer Guide.

To update a web distribution using the CloudFront API

  1. Submit a GetDistributionConfig request to get the current configuration and an Etag header for the distribution.

    If you update the distribution again, you need to get a new Etag header.

  2. Update the XML document that was returned in the response to your GetDistributionConfig request to include the desired changes. You can't change the value of CallerReference. If you try to change this value, CloudFront returns an IllegalUpdate error.

    The new configuration replaces the existing configuration; the values that you specify in an UpdateDistribution request are not merged into the existing configuration. When you add, delete, or replace values in an element that allows multiple values (for example, CNAME), you must specify all of the values that you want to appear in the updated distribution. In addition, you must update the corresponding Quantity element.

  3. Submit an UpdateDistribution request to update the configuration for your distribution:

  4. Review the response to the UpdateDistribution request to confirm that the configuration was successfully updated.

  5. Optional: Submit a GetDistribution request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed.

    Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a distribution. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values you're actually specifying.

" responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/UpdateDistributionResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: CNAMEAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CNAMEAlreadyExists" "482": description: IllegalUpdate content: text/xml: schema: $ref: "#/components/schemas/IllegalUpdate" "483": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "484": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "485": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "486": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "487": description: TooManyDistributionCNAMEs content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionCNAMEs" "488": description: InvalidDefaultRootObject content: text/xml: schema: $ref: "#/components/schemas/InvalidDefaultRootObject" "489": description: InvalidRelativePath content: text/xml: schema: $ref: "#/components/schemas/InvalidRelativePath" "490": description: InvalidErrorCode content: text/xml: schema: $ref: "#/components/schemas/InvalidErrorCode" "491": description: InvalidResponseCode content: text/xml: schema: $ref: "#/components/schemas/InvalidResponseCode" "492": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "493": description: InvalidOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginAccessIdentity" "494": description: TooManyTrustedSigners content: text/xml: schema: $ref: "#/components/schemas/TooManyTrustedSigners" "495": description: TrustedSignerDoesNotExist content: text/xml: schema: $ref: "#/components/schemas/TrustedSignerDoesNotExist" "496": description: InvalidViewerCertificate content: text/xml: schema: $ref: "#/components/schemas/InvalidViewerCertificate" "497": description: InvalidMinimumProtocolVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidMinimumProtocolVersion" "498": description: InvalidRequiredProtocol content: text/xml: schema: $ref: "#/components/schemas/InvalidRequiredProtocol" "499": description: NoSuchOrigin content: text/xml: schema: $ref: "#/components/schemas/NoSuchOrigin" "500": description: TooManyOrigins content: text/xml: schema: $ref: "#/components/schemas/TooManyOrigins" "501": description: TooManyCacheBehaviors content: text/xml: schema: $ref: "#/components/schemas/TooManyCacheBehaviors" "502": description: TooManyCookieNamesInWhiteList content: text/xml: schema: $ref: "#/components/schemas/TooManyCookieNamesInWhiteList" "503": description: InvalidForwardCookies content: text/xml: schema: $ref: "#/components/schemas/InvalidForwardCookies" "504": description: TooManyHeadersInForwardedValues content: text/xml: schema: $ref: "#/components/schemas/TooManyHeadersInForwardedValues" "505": description: InvalidHeadersForS3Origin content: text/xml: schema: $ref: "#/components/schemas/InvalidHeadersForS3Origin" "506": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "507": description: TooManyCertificates content: text/xml: schema: $ref: "#/components/schemas/TooManyCertificates" "508": description: InvalidLocationCode content: text/xml: schema: $ref: "#/components/schemas/InvalidLocationCode" "509": description: InvalidGeoRestrictionParameter content: text/xml: schema: $ref: "#/components/schemas/InvalidGeoRestrictionParameter" "510": description: InvalidTTLOrder content: text/xml: schema: $ref: "#/components/schemas/InvalidTTLOrder" "511": description: InvalidWebACLId content: text/xml: schema: $ref: "#/components/schemas/InvalidWebACLId" "512": description: TooManyOriginCustomHeaders content: text/xml: schema: $ref: "#/components/schemas/TooManyOriginCustomHeaders" "513": description: TooManyQueryStringParameters content: text/xml: schema: $ref: "#/components/schemas/TooManyQueryStringParameters" "514": description: InvalidQueryStringParameters content: text/xml: schema: $ref: "#/components/schemas/InvalidQueryStringParameters" "515": description: TooManyDistributionsWithLambdaAssociations content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionsWithLambdaAssociati\ ons" "516": description: TooManyLambdaFunctionAssociations content: text/xml: schema: $ref: "#/components/schemas/TooManyLambdaFunctionAssociations" "517": description: InvalidLambdaFunctionAssociation content: text/xml: schema: $ref: "#/components/schemas/InvalidLambdaFunctionAssociation" "518": description: InvalidOriginReadTimeout content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginReadTimeout" "519": description: InvalidOriginKeepaliveTimeout content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginKeepaliveTimeout" "520": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" "521": description: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior content: text/xml: schema: $ref: "#/components/schemas/IllegalFieldLevelEncryptionConfigAssoci\ ationWithCacheBehavior" "522": description: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/TooManyDistributionsAssociatedToFieldLe\ velEncryptionConfig" parameters: - name: Id in: path required: true description: The distribution's id. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL." schema: type: string requestBody: $ref: "#/components/requestBodies/CreateDistribution2017_10_30Body" "/2017-10-30/field-level-encryption/{Id}/config": get: operationId: GetFieldLevelEncryptionConfig2017_10_30 description: Get the field-level encryption configuration information. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetFieldLevelEncryptionConfigResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" parameters: - name: Id in: path required: true description: Request the ID for the field-level encryption configuration information. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdateFieldLevelEncryptionConfig2017_10_30 description: "Update a field-level encryption configuration. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/UpdateFieldLevelEncryptionConfigResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: IllegalUpdate content: text/xml: schema: $ref: "#/components/schemas/IllegalUpdate" "482": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "483": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "484": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "485": description: NoSuchFieldLevelEncryptionProfile content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionProfile" "486": description: NoSuchFieldLevelEncryptionConfig content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionConfig" "487": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "488": description: TooManyFieldLevelEncryptionQueryArgProfiles content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionQueryArgProf\ iles" "489": description: TooManyFieldLevelEncryptionContentTypeProfiles content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionContentTypeP\ rofiles" "490": description: QueryArgProfileEmpty content: text/xml: schema: $ref: "#/components/schemas/QueryArgProfileEmpty" parameters: - name: Id in: path required: true description: The ID of the configuration you want to update. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the configuration identity to update. For example: E2QWRUHAPOMQZL." schema: type: string requestBody: $ref: "#/components/requestBodies/CreateFieldLevelEncryptionConfig2017_10_3\ 0Body" "/2017-10-30/field-level-encryption-profile/{Id}/config": get: operationId: GetFieldLevelEncryptionProfileConfig2017_10_30 description: Get the field-level encryption profile configuration information. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetFieldLevelEncryptionProfileConfigRes\ ult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: NoSuchFieldLevelEncryptionProfile content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionProfile" parameters: - name: Id in: path required: true description: Get the ID for the field-level encryption profile configuration information. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdateFieldLevelEncryptionProfile2017_10_30 description: "Update a field-level encryption profile. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/UpdateFieldLevelEncryptionProfileResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: FieldLevelEncryptionProfileAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionProfileAlreadyExists" "482": description: IllegalUpdate content: text/xml: schema: $ref: "#/components/schemas/IllegalUpdate" "483": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" "484": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "485": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "486": description: NoSuchPublicKey content: text/xml: schema: $ref: "#/components/schemas/NoSuchPublicKey" "487": description: NoSuchFieldLevelEncryptionProfile content: text/xml: schema: $ref: "#/components/schemas/NoSuchFieldLevelEncryptionProfile" "488": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "489": description: FieldLevelEncryptionProfileSizeExceeded content: text/xml: schema: $ref: "#/components/schemas/FieldLevelEncryptionProfileSizeExceeded" "490": description: TooManyFieldLevelEncryptionEncryptionEntities content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionEncryptionEn\ tities" "491": description: TooManyFieldLevelEncryptionFieldPatterns content: text/xml: schema: $ref: "#/components/schemas/TooManyFieldLevelEncryptionFieldPatterns" parameters: - name: Id in: path required: true description: "The ID of the field-level encryption profile request. " schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the profile identity to update. For example: E2QWRUHAPOMQZL." schema: type: string requestBody: $ref: "#/components/requestBodies/CreateFieldLevelEncryptionProfile2017_10_\ 30Body" "/2017-10-30/distribution/{DistributionId}/invalidation/{Id}": get: operationId: GetInvalidation2017_10_30 description: "Get the information about an invalidation. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetInvalidationResult" "480": description: NoSuchInvalidation content: text/xml: schema: $ref: "#/components/schemas/NoSuchInvalidation" "481": description: NoSuchDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchDistribution" "482": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: DistributionId in: path required: true description: The distribution's ID. schema: type: string - name: Id in: path required: true description: The identifier for the invalidation request, for example, IDFDVBD632BHDS5. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/2017-10-30/public-key/{Id}/config": get: operationId: GetPublicKeyConfig2017_10_30 description: Return public key configuration informaation responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetPublicKeyConfigResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: NoSuchPublicKey content: text/xml: schema: $ref: "#/components/schemas/NoSuchPublicKey" parameters: - name: Id in: path required: true description: Request the ID for the public key configuration. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdatePublicKey2017_10_30 description: Update public key information. Note that the only value you can change is the comment. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/UpdatePublicKeyResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: CannotChangeImmutablePublicKeyFields content: text/xml: schema: $ref: "#/components/schemas/CannotChangeImmutablePublicKeyFields" "482": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "483": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "484": description: IllegalUpdate content: text/xml: schema: $ref: "#/components/schemas/IllegalUpdate" "485": description: NoSuchPublicKey content: text/xml: schema: $ref: "#/components/schemas/NoSuchPublicKey" "486": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" parameters: - name: Id in: path required: true description: ID of the public key to be updated. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL." schema: type: string requestBody: $ref: "#/components/requestBodies/CreatePublicKey2017_10_30Body" "/2017-10-30/streaming-distribution/{Id}/config": get: operationId: GetStreamingDistributionConfig2017_10_30 description: "Get the configuration information about a streaming distribution. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/GetStreamingDistributionConfigResult" "480": description: NoSuchStreamingDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchStreamingDistribution" "481": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" parameters: - name: Id in: path required: true description: The streaming distribution's ID. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdateStreamingDistribution2017_10_30 description: "Update a streaming distribution. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/UpdateStreamingDistributionResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: CNAMEAlreadyExists content: text/xml: schema: $ref: "#/components/schemas/CNAMEAlreadyExists" "482": description: IllegalUpdate content: text/xml: schema: $ref: "#/components/schemas/IllegalUpdate" "483": description: InvalidIfMatchVersion content: text/xml: schema: $ref: "#/components/schemas/InvalidIfMatchVersion" "484": description: MissingBody content: text/xml: schema: $ref: "#/components/schemas/MissingBody" "485": description: NoSuchStreamingDistribution content: text/xml: schema: $ref: "#/components/schemas/NoSuchStreamingDistribution" "486": description: PreconditionFailed content: text/xml: schema: $ref: "#/components/schemas/PreconditionFailed" "487": description: TooManyStreamingDistributionCNAMEs content: text/xml: schema: $ref: "#/components/schemas/TooManyStreamingDistributionCNAMEs" "488": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "489": description: InvalidOriginAccessIdentity content: text/xml: schema: $ref: "#/components/schemas/InvalidOriginAccessIdentity" "490": description: TooManyTrustedSigners content: text/xml: schema: $ref: "#/components/schemas/TooManyTrustedSigners" "491": description: TrustedSignerDoesNotExist content: text/xml: schema: $ref: "#/components/schemas/TrustedSignerDoesNotExist" "492": description: InconsistentQuantities content: text/xml: schema: $ref: "#/components/schemas/InconsistentQuantities" parameters: - name: Id in: path required: true description: The streaming distribution's id. schema: type: string - name: If-Match in: header required: false description: "The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL." schema: type: string requestBody: $ref: "#/components/requestBodies/CreateStreamingDistribution2017_10_30Body" "/2017-10-30/distributionsByWebACLId/{WebACLId}": get: operationId: ListDistributionsByWebACLId2017_10_30 description: "List the distributions that are associated with a specified AWS WAF web ACL. " responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListDistributionsByWebACLIdResult" "480": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "481": description: InvalidWebACLId content: text/xml: schema: $ref: "#/components/schemas/InvalidWebACLId" parameters: - name: Marker in: query required: false description: "Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.) " schema: type: string - name: MaxItems in: query required: false description: The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100. schema: type: string - name: WebACLId in: path required: true description: "The ID of the AWS WAF web ACL that you want to list the associated distributions. If you specify \"null\" for the ID, the request returns a list of the distributions that aren't associated with a web ACL. " schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" /2017-10-30/tagging#Resource: get: operationId: ListTagsForResource2017_10_30 description: List tags for a CloudFront resource. responses: "200": description: Success content: text/xml: schema: $ref: "#/components/schemas/ListTagsForResourceResult" "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "482": description: InvalidTagging content: text/xml: schema: $ref: "#/components/schemas/InvalidTagging" "483": description: NoSuchResource content: text/xml: schema: $ref: "#/components/schemas/NoSuchResource" parameters: - name: Resource in: query required: true description: " An ARN of a CloudFront resource." schema: type: string pattern: arn:aws:cloudfront::[0-9]+:.* parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" /2017-10-30/tagging#Operation=Tag&Resource: post: operationId: TagResource2017_10_30 description: Add tags to a CloudFront resource. responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "482": description: InvalidTagging content: text/xml: schema: $ref: "#/components/schemas/InvalidTagging" "483": description: NoSuchResource content: text/xml: schema: $ref: "#/components/schemas/NoSuchResource" parameters: - name: Resource in: query required: true description: " An ARN of a CloudFront resource." schema: type: string pattern: arn:aws:cloudfront::[0-9]+:.* - name: Operation in: query required: true schema: type: string enum: - Tag requestBody: content: text/xml: schema: type: object required: - Tags properties: Tags: description: " A complex type that contains zero or more Tag elements." type: object properties: Items: $ref: "#/components/schemas/TagList" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" /2017-10-30/tagging#Operation=Untag&Resource: post: operationId: UntagResource2017_10_30 description: Remove tags from a CloudFront resource. responses: "204": description: Success "480": description: AccessDenied content: text/xml: schema: $ref: "#/components/schemas/AccessDenied" "481": description: InvalidArgument content: text/xml: schema: $ref: "#/components/schemas/InvalidArgument" "482": description: InvalidTagging content: text/xml: schema: $ref: "#/components/schemas/InvalidTagging" "483": description: NoSuchResource content: text/xml: schema: $ref: "#/components/schemas/NoSuchResource" parameters: - name: Resource in: query required: true description: " An ARN of a CloudFront resource." schema: type: string pattern: arn:aws:cloudfront::[0-9]+:.* - name: Operation in: query required: true schema: type: string enum: - Untag requestBody: content: text/xml: schema: type: object required: - TagKeys properties: TagKeys: description: " A complex type that contains zero or more Tag elements." type: object properties: Items: $ref: "#/components/schemas/TagKeyList" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" servers: - url: https://cloudfront.amazonaws.com variables: {} description: The general CloudFront multi-region endpoint - url: http://cloudfront.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The CloudFront endpoint for China (Beijing) and China (Ningxia) - url: https://cloudfront.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The CloudFront endpoint for China (Beijing) and China (Ningxia) components: parameters: X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header required: false schema: type: string X-Amz-Date: name: X-Amz-Date in: header required: false schema: type: string X-Amz-Algorithm: name: X-Amz-Algorithm in: header required: false schema: type: string X-Amz-Credential: name: X-Amz-Credential in: header required: false schema: type: string X-Amz-Security-Token: name: X-Amz-Security-Token in: header required: false schema: type: string X-Amz-Signature: name: X-Amz-Signature in: header required: false schema: type: string X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header required: false schema: type: string requestBodies: CreateCloudFrontOriginAccessIdentity2017_10_30Body: content: text/xml: schema: type: object required: - CloudFrontOriginAccessIdentityConfig properties: CloudFrontOriginAccessIdentityConfig: description: "Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource. " type: object properties: CallerReference: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" required: true CreateStreamingDistribution2017_10_30Body: content: text/xml: schema: type: object required: - StreamingDistributionConfig properties: StreamingDistributionConfig: description: The RTMP distribution's configuration information. type: object properties: CallerReference: $ref: "#/components/schemas/string" S3Origin: $ref: "#/components/schemas/S3Origin" Aliases: $ref: "#/components/schemas/Aliases" Comment: $ref: "#/components/schemas/string" Logging: $ref: "#/components/schemas/StreamingLoggingConfig" TrustedSigners: $ref: "#/components/schemas/TrustedSigners" PriceClass: $ref: "#/components/schemas/PriceClass" Enabled: $ref: "#/components/schemas/boolean" required: true CreateFieldLevelEncryptionProfile2017_10_30Body: content: text/xml: schema: type: object required: - FieldLevelEncryptionProfileConfig properties: FieldLevelEncryptionProfileConfig: description: A complex data type of profiles for the field-level encryption. type: object properties: Name: $ref: "#/components/schemas/string" CallerReference: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" EncryptionEntities: $ref: "#/components/schemas/EncryptionEntities" required: true CreateDistribution2017_10_30Body: content: text/xml: schema: type: object required: - DistributionConfig properties: DistributionConfig: description: A distribution configuration. type: object properties: CallerReference: $ref: "#/components/schemas/string" Aliases: $ref: "#/components/schemas/Aliases" DefaultRootObject: $ref: "#/components/schemas/string" Origins: $ref: "#/components/schemas/Origins" DefaultCacheBehavior: $ref: "#/components/schemas/DefaultCacheBehavior" CacheBehaviors: $ref: "#/components/schemas/CacheBehaviors" CustomErrorResponses: $ref: "#/components/schemas/CustomErrorResponses" Comment: $ref: "#/components/schemas/string" Logging: $ref: "#/components/schemas/LoggingConfig" PriceClass: $ref: "#/components/schemas/PriceClass" Enabled: $ref: "#/components/schemas/boolean" ViewerCertificate: $ref: "#/components/schemas/ViewerCertificate" Restrictions: $ref: "#/components/schemas/Restrictions" WebACLId: $ref: "#/components/schemas/string" HttpVersion: $ref: "#/components/schemas/HttpVersion" IsIPV6Enabled: $ref: "#/components/schemas/boolean" required: true CreateFieldLevelEncryptionConfig2017_10_30Body: content: text/xml: schema: type: object required: - FieldLevelEncryptionConfig properties: FieldLevelEncryptionConfig: description: "A complex data type that includes the profile configurations specified for field-level encryption. " type: object properties: CallerReference: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" QueryArgProfileConfig: $ref: "#/components/schemas/QueryArgProfileConfig" ContentTypeProfileConfig: $ref: "#/components/schemas/ContentTypeProfileConfig" required: true CreatePublicKey2017_10_30Body: content: text/xml: schema: type: object required: - PublicKeyConfig properties: PublicKeyConfig: description: Information about a public key you add to CloudFront to use with features like field-level encryption. type: object properties: CallerReference: $ref: "#/components/schemas/string" Name: $ref: "#/components/schemas/string" EncodedKey: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" required: true securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 schemas: CreateCloudFrontOriginAccessIdentityResult: type: object properties: CloudFrontOriginAccessIdentity: $ref: "#/components/schemas/CloudFrontOriginAccessIdentity" description: The returned result of the corresponding request. string: type: string CloudFrontOriginAccessIdentityAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" description: "If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. " MissingBody: type: object properties: Message: $ref: "#/components/schemas/string" description: This operation requires a body. Ensure that the body is present and the Content-Type header is set. TooManyCloudFrontOriginAccessIdentities: type: object properties: Message: $ref: "#/components/schemas/string" description: Processing your request would cause you to exceed the maximum number of origin access identities allowed. InvalidArgument: type: object properties: Message: $ref: "#/components/schemas/string" description: The argument is invalid. InconsistentQuantities: type: object properties: Message: $ref: "#/components/schemas/string" description: The value of Quantity and the size of Items don't match. CreateDistributionResult: type: object properties: Distribution: $ref: "#/components/schemas/Distribution" description: The returned result of the corresponding request. Aliases: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/AliasList" description: "A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution. " Origins: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/OriginList" description: "A complex type that contains information about origins for this distribution. " DefaultCacheBehavior: type: object required: - TargetOriginId - ForwardedValues - TrustedSigners - ViewerProtocolPolicy - MinTTL properties: TargetOriginId: $ref: "#/components/schemas/string" ForwardedValues: $ref: "#/components/schemas/ForwardedValues" TrustedSigners: $ref: "#/components/schemas/TrustedSigners" ViewerProtocolPolicy: $ref: "#/components/schemas/ViewerProtocolPolicy" MinTTL: $ref: "#/components/schemas/long" AllowedMethods: $ref: "#/components/schemas/AllowedMethods" SmoothStreaming: $ref: "#/components/schemas/boolean" DefaultTTL: $ref: "#/components/schemas/long" MaxTTL: $ref: "#/components/schemas/long" Compress: $ref: "#/components/schemas/boolean" LambdaFunctionAssociations: $ref: "#/components/schemas/LambdaFunctionAssociations" FieldLevelEncryptionId: $ref: "#/components/schemas/string" description: A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior. CacheBehaviors: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/CacheBehaviorList" description: "A complex type that contains zero or more CacheBehavior elements. " CustomErrorResponses: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/CustomErrorResponseList" description:

A complex type that controls:

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

LoggingConfig: type: object required: - Enabled - IncludeCookies - Bucket - Prefix properties: Enabled: $ref: "#/components/schemas/boolean" IncludeCookies: $ref: "#/components/schemas/boolean" Bucket: $ref: "#/components/schemas/string" Prefix: $ref: "#/components/schemas/string" description: A complex type that controls whether access logs are written for the distribution. PriceClass: type: string enum: - PriceClass_100 - PriceClass_200 - PriceClass_All boolean: type: boolean ViewerCertificate: type: object properties: CloudFrontDefaultCertificate: $ref: "#/components/schemas/boolean" IAMCertificateId: $ref: "#/components/schemas/string" ACMCertificateArn: $ref: "#/components/schemas/string" SSLSupportMethod: $ref: "#/components/schemas/SSLSupportMethod" MinimumProtocolVersion: $ref: "#/components/schemas/MinimumProtocolVersion" Certificate: $ref: "#/components/schemas/string" CertificateSource: $ref: "#/components/schemas/CertificateSource" description: "

A complex type that specifies the following:

You must specify only one of the following values:

Don't specify false for CloudFrontDefaultCertificate.

If you want viewers to use HTTP instead of HTTPS to request your objects: Specify the following value:

<CloudFrontDefaultCertificate>true<CloudFrontDefaultCert\ ificate>

In addition, specify allow-all for ViewerProtocolPolicy for all of your cache behaviors.

If you want viewers to use HTTPS to request your objects: Choose the type of certificate that you want to use based on whether you're using an alternate domain name for your objects or the CloudFront domain name:

If you want viewers to use HTTPS, you must also specify one of the following values in your cache behaviors:

You can also optionally require that CloudFront use HTTPS to communicate with your origin by specifying one of the following values for the applicable origins:

For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide.

" Restrictions: type: object required: - GeoRestriction properties: GeoRestriction: $ref: "#/components/schemas/GeoRestriction" description: A complex type that identifies ways in which you want to restrict distribution of your content. HttpVersion: type: string enum: - http1.1 - http2 CNAMEAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" DistributionAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" description: The caller reference you attempted to create the distribution with is associated with another distribution. InvalidOrigin: type: object properties: Message: $ref: "#/components/schemas/string" description: The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. InvalidOriginAccessIdentity: type: object properties: Message: $ref: "#/components/schemas/string" description: The origin access identity is not valid or doesn't exist. AccessDenied: type: object properties: Message: $ref: "#/components/schemas/string" description: Access denied. TooManyTrustedSigners: type: object properties: Message: $ref: "#/components/schemas/string" description: Your request contains more trusted signers than are allowed per distribution. TrustedSignerDoesNotExist: type: object properties: Message: $ref: "#/components/schemas/string" description: One or more of your trusted signers don't exist. InvalidViewerCertificate: type: object properties: Message: $ref: "#/components/schemas/string" InvalidMinimumProtocolVersion: type: object properties: Message: $ref: "#/components/schemas/string" TooManyDistributionCNAMEs: type: object properties: Message: $ref: "#/components/schemas/string" description: Your request contains more CNAMEs than are allowed per distribution. TooManyDistributions: type: object properties: Message: $ref: "#/components/schemas/string" description: Processing your request would cause you to exceed the maximum number of distributions allowed. InvalidDefaultRootObject: type: object properties: Message: $ref: "#/components/schemas/string" description: The default root object file name is too big or contains an invalid character. InvalidRelativePath: type: object properties: Message: $ref: "#/components/schemas/string" description: The relative path is too big, is not URL-encoded, or does not begin with a slash (/). InvalidErrorCode: type: object properties: Message: $ref: "#/components/schemas/string" InvalidResponseCode: type: object properties: Message: $ref: "#/components/schemas/string" InvalidRequiredProtocol: type: object properties: Message: $ref: "#/components/schemas/string" description: This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration. NoSuchOrigin: type: object properties: Message: $ref: "#/components/schemas/string" description: "No origin exists with the specified Origin Id. " TooManyOrigins: type: object properties: Message: $ref: "#/components/schemas/string" description: You cannot create more origins for the distribution. TooManyCacheBehaviors: type: object properties: Message: $ref: "#/components/schemas/string" description: You cannot create more cache behaviors for the distribution. TooManyCookieNamesInWhiteList: type: object properties: Message: $ref: "#/components/schemas/string" description: Your request contains more cookie names in the whitelist than are allowed per cache behavior. InvalidForwardCookies: type: object properties: Message: $ref: "#/components/schemas/string" description: Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected. TooManyHeadersInForwardedValues: type: object properties: Message: $ref: "#/components/schemas/string" InvalidHeadersForS3Origin: type: object properties: Message: $ref: "#/components/schemas/string" TooManyCertificates: type: object properties: Message: $ref: "#/components/schemas/string" description: You cannot create anymore custom SSL/TLS certificates. InvalidLocationCode: type: object properties: Message: $ref: "#/components/schemas/string" InvalidGeoRestrictionParameter: type: object properties: Message: $ref: "#/components/schemas/string" InvalidProtocolSettings: type: object properties: Message: $ref: "#/components/schemas/string" description: You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI). InvalidTTLOrder: type: object properties: Message: $ref: "#/components/schemas/string" InvalidWebACLId: type: object properties: Message: $ref: "#/components/schemas/string" TooManyOriginCustomHeaders: type: object properties: Message: $ref: "#/components/schemas/string" TooManyQueryStringParameters: type: object properties: Message: $ref: "#/components/schemas/string" InvalidQueryStringParameters: type: object properties: Message: $ref: "#/components/schemas/string" TooManyDistributionsWithLambdaAssociations: type: object properties: Message: $ref: "#/components/schemas/string" description: Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded. TooManyLambdaFunctionAssociations: type: object properties: Message: $ref: "#/components/schemas/string" description: Your request contains more Lambda function associations than are allowed per distribution. InvalidLambdaFunctionAssociation: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified Lambda function association is invalid. InvalidOriginReadTimeout: type: object properties: Message: $ref: "#/components/schemas/string" InvalidOriginKeepaliveTimeout: type: object properties: Message: $ref: "#/components/schemas/string" NoSuchFieldLevelEncryptionConfig: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified configuration for field-level encryption doesn't exist. IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified configuration for field-level encryption can't be associated with the specified cache behavior. TooManyDistributionsAssociatedToFieldLevelEncryptionConfig: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of distributions have been associated with the specified configuration for field-level encryption. CreateDistributionWithTagsResult: type: object properties: Distribution: $ref: "#/components/schemas/Distribution" description: "The returned result of the corresponding request. " DistributionConfig: type: object required: - CallerReference - Origins - DefaultCacheBehavior - Comment - Enabled properties: CallerReference: $ref: "#/components/schemas/string" Aliases: $ref: "#/components/schemas/Aliases" DefaultRootObject: $ref: "#/components/schemas/string" Origins: $ref: "#/components/schemas/Origins" DefaultCacheBehavior: $ref: "#/components/schemas/DefaultCacheBehavior" CacheBehaviors: $ref: "#/components/schemas/CacheBehaviors" CustomErrorResponses: $ref: "#/components/schemas/CustomErrorResponses" Comment: $ref: "#/components/schemas/string" Logging: $ref: "#/components/schemas/LoggingConfig" PriceClass: $ref: "#/components/schemas/PriceClass" Enabled: $ref: "#/components/schemas/boolean" ViewerCertificate: $ref: "#/components/schemas/ViewerCertificate" Restrictions: $ref: "#/components/schemas/Restrictions" WebACLId: $ref: "#/components/schemas/string" HttpVersion: $ref: "#/components/schemas/HttpVersion" IsIPV6Enabled: $ref: "#/components/schemas/boolean" description: A distribution configuration. Tags: type: object properties: Items: $ref: "#/components/schemas/TagList" description: " A complex type that contains zero or more Tag elements." InvalidTagging: type: object properties: Message: $ref: "#/components/schemas/string" CreateFieldLevelEncryptionConfigResult: type: object properties: FieldLevelEncryption: $ref: "#/components/schemas/FieldLevelEncryption" QueryArgProfileConfig: type: object required: - ForwardWhenQueryArgProfileIsUnknown properties: ForwardWhenQueryArgProfileIsUnknown: $ref: "#/components/schemas/boolean" QueryArgProfiles: $ref: "#/components/schemas/QueryArgProfiles" description: Configuration for query argument-profile mapping for field-level encryption. ContentTypeProfileConfig: type: object required: - ForwardWhenContentTypeIsUnknown properties: ForwardWhenContentTypeIsUnknown: $ref: "#/components/schemas/boolean" ContentTypeProfiles: $ref: "#/components/schemas/ContentTypeProfiles" description: "The configuration for a field-level encryption content type-profile mapping. " NoSuchFieldLevelEncryptionProfile: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified profile for field-level encryption doesn't exist. FieldLevelEncryptionConfigAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified configuration for field-level encryption already exists. TooManyFieldLevelEncryptionConfigs: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of configurations for field-level encryption have been created. TooManyFieldLevelEncryptionQueryArgProfiles: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of query arg profiles for field-level encryption have been created. TooManyFieldLevelEncryptionContentTypeProfiles: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of content type profiles for field-level encryption have been created. QueryArgProfileEmpty: type: object properties: Message: $ref: "#/components/schemas/string" description: No profile specified for the field-level encryption query argument. CreateFieldLevelEncryptionProfileResult: type: object properties: FieldLevelEncryptionProfile: $ref: "#/components/schemas/FieldLevelEncryptionProfile" EncryptionEntities: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/EncryptionEntityList" description: "Complex data type for field-level encryption profiles that includes all of the encryption entities. " NoSuchPublicKey: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified public key doesn't exist. FieldLevelEncryptionProfileAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified profile for field-level encryption already exists. FieldLevelEncryptionProfileSizeExceeded: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum size of a profile for field-level encryption was exceeded. TooManyFieldLevelEncryptionProfiles: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of profiles for field-level encryption have been created. TooManyFieldLevelEncryptionEncryptionEntities: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of encryption entities for field-level encryption have been created. TooManyFieldLevelEncryptionFieldPatterns: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of field patterns for field-level encryption have been created. CreateInvalidationResult: type: object properties: Invalidation: $ref: "#/components/schemas/Invalidation" description: The returned result of the corresponding request. Paths: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/PathList" description: 'A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide. ' NoSuchDistribution: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified distribution does not exist. BatchTooLarge: type: object properties: Message: $ref: "#/components/schemas/string" TooManyInvalidationsInProgress: type: object properties: Message: $ref: "#/components/schemas/string" description: You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects. CreatePublicKeyResult: type: object properties: PublicKey: $ref: "#/components/schemas/PublicKey" PublicKeyAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified public key already exists. TooManyPublicKeys: type: object properties: Message: $ref: "#/components/schemas/string" description: The maximum number of public keys for field-level encryption have been created. To create a new public key, delete one of the existing keys. CreateStreamingDistributionResult: type: object properties: StreamingDistribution: $ref: "#/components/schemas/StreamingDistribution" description: The returned result of the corresponding request. S3Origin: type: object required: - DomainName - OriginAccessIdentity properties: DomainName: $ref: "#/components/schemas/string" OriginAccessIdentity: $ref: "#/components/schemas/string" description: A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. StreamingLoggingConfig: type: object required: - Enabled - Bucket - Prefix properties: Enabled: $ref: "#/components/schemas/boolean" Bucket: $ref: "#/components/schemas/string" Prefix: $ref: "#/components/schemas/string" description: A complex type that controls whether access logs are written for this streaming distribution. TrustedSigners: type: object required: - Enabled - Quantity properties: Enabled: $ref: "#/components/schemas/boolean" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/AwsAccountNumberList" description:

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.

If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide.

If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items.

To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information about updating the distribution configuration, see DistributionConfig .

StreamingDistributionAlreadyExists: type: object properties: Message: $ref: "#/components/schemas/string" TooManyStreamingDistributionCNAMEs: type: object properties: Message: $ref: "#/components/schemas/string" TooManyStreamingDistributions: type: object properties: Message: $ref: "#/components/schemas/string" description: Processing your request would cause you to exceed the maximum number of streaming distributions allowed. CreateStreamingDistributionWithTagsResult: type: object properties: StreamingDistribution: $ref: "#/components/schemas/StreamingDistribution" description: "The returned result of the corresponding request. " StreamingDistributionConfig: type: object required: - CallerReference - S3Origin - Comment - TrustedSigners - Enabled properties: CallerReference: $ref: "#/components/schemas/string" S3Origin: $ref: "#/components/schemas/S3Origin" Aliases: $ref: "#/components/schemas/Aliases" Comment: $ref: "#/components/schemas/string" Logging: $ref: "#/components/schemas/StreamingLoggingConfig" TrustedSigners: $ref: "#/components/schemas/TrustedSigners" PriceClass: $ref: "#/components/schemas/PriceClass" Enabled: $ref: "#/components/schemas/boolean" description: The RTMP distribution's configuration information. InvalidIfMatchVersion: type: object properties: Message: $ref: "#/components/schemas/string" description: The If-Match version is missing or not valid for the distribution. NoSuchCloudFrontOriginAccessIdentity: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified origin access identity does not exist. PreconditionFailed: type: object properties: Message: $ref: "#/components/schemas/string" description: "The precondition given in one or more of the request-header fields evaluated to false. " CloudFrontOriginAccessIdentityInUse: type: object properties: Message: $ref: "#/components/schemas/string" DistributionNotDisabled: type: object properties: Message: $ref: "#/components/schemas/string" FieldLevelEncryptionConfigInUse: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified configuration for field-level encryption is in use. FieldLevelEncryptionProfileInUse: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified profile for field-level encryption is in use. PublicKeyInUse: type: object properties: Message: $ref: "#/components/schemas/string" description: "The specified public key is in use. " StreamingDistributionNotDisabled: type: object properties: Message: $ref: "#/components/schemas/string" NoSuchStreamingDistribution: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified streaming distribution does not exist. GetCloudFrontOriginAccessIdentityResult: type: object properties: CloudFrontOriginAccessIdentity: $ref: "#/components/schemas/CloudFrontOriginAccessIdentity" description: The returned result of the corresponding request. GetCloudFrontOriginAccessIdentityConfigResult: type: object properties: CloudFrontOriginAccessIdentityConfig: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityConfig" description: The returned result of the corresponding request. GetDistributionResult: type: object properties: Distribution: $ref: "#/components/schemas/Distribution" description: The returned result of the corresponding request. GetDistributionConfigResult: type: object properties: DistributionConfig: $ref: "#/components/schemas/DistributionConfig" description: The returned result of the corresponding request. GetFieldLevelEncryptionResult: type: object properties: FieldLevelEncryption: $ref: "#/components/schemas/FieldLevelEncryption" GetFieldLevelEncryptionConfigResult: type: object properties: FieldLevelEncryptionConfig: $ref: "#/components/schemas/FieldLevelEncryptionConfig" GetFieldLevelEncryptionProfileResult: type: object properties: FieldLevelEncryptionProfile: $ref: "#/components/schemas/FieldLevelEncryptionProfile" GetFieldLevelEncryptionProfileConfigResult: type: object properties: FieldLevelEncryptionProfileConfig: $ref: "#/components/schemas/FieldLevelEncryptionProfileConfig" GetInvalidationResult: type: object properties: Invalidation: $ref: "#/components/schemas/Invalidation" description: The returned result of the corresponding request. NoSuchInvalidation: type: object properties: Message: $ref: "#/components/schemas/string" description: The specified invalidation does not exist. GetPublicKeyResult: type: object properties: PublicKey: $ref: "#/components/schemas/PublicKey" GetPublicKeyConfigResult: type: object properties: PublicKeyConfig: $ref: "#/components/schemas/PublicKeyConfig" GetStreamingDistributionResult: type: object properties: StreamingDistribution: $ref: "#/components/schemas/StreamingDistribution" description: The returned result of the corresponding request. GetStreamingDistributionConfigResult: type: object properties: StreamingDistributionConfig: $ref: "#/components/schemas/StreamingDistributionConfig" description: The returned result of the corresponding request. ListCloudFrontOriginAccessIdentitiesResult: type: object properties: CloudFrontOriginAccessIdentityList: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityList" description: "The returned result of the corresponding request. " ListDistributionsResult: type: object properties: DistributionList: $ref: "#/components/schemas/DistributionList" description: "The returned result of the corresponding request. " ListDistributionsByWebACLIdResult: type: object properties: DistributionList: $ref: "#/components/schemas/DistributionList" description: "The response to a request to list the distributions that are associated with a specified AWS WAF web ACL. " ListFieldLevelEncryptionConfigsResult: type: object properties: FieldLevelEncryptionList: $ref: "#/components/schemas/FieldLevelEncryptionList" ListFieldLevelEncryptionProfilesResult: type: object properties: FieldLevelEncryptionProfileList: $ref: "#/components/schemas/FieldLevelEncryptionProfileList" ListInvalidationsResult: type: object properties: InvalidationList: $ref: "#/components/schemas/InvalidationList" description: "The returned result of the corresponding request. " ListPublicKeysResult: type: object properties: PublicKeyList: $ref: "#/components/schemas/PublicKeyList" ListStreamingDistributionsResult: type: object properties: StreamingDistributionList: $ref: "#/components/schemas/StreamingDistributionList" description: "The returned result of the corresponding request. " ListTagsForResourceResult: type: object required: - Tags properties: Tags: $ref: "#/components/schemas/Tags" description: " The returned result of the corresponding request." NoSuchResource: type: object properties: Message: $ref: "#/components/schemas/string" TagList: type: array items: $ref: "#/components/schemas/Tag" TagKeyList: type: array items: $ref: "#/components/schemas/TagKey" UpdateCloudFrontOriginAccessIdentityResult: type: object properties: CloudFrontOriginAccessIdentity: $ref: "#/components/schemas/CloudFrontOriginAccessIdentity" description: The returned result of the corresponding request. IllegalUpdate: type: object properties: Message: $ref: "#/components/schemas/string" description: "Origin and CallerReference cannot be updated. " UpdateDistributionResult: type: object properties: Distribution: $ref: "#/components/schemas/Distribution" description: The returned result of the corresponding request. UpdateFieldLevelEncryptionConfigResult: type: object properties: FieldLevelEncryption: $ref: "#/components/schemas/FieldLevelEncryption" UpdateFieldLevelEncryptionProfileResult: type: object properties: FieldLevelEncryptionProfile: $ref: "#/components/schemas/FieldLevelEncryptionProfile" UpdatePublicKeyResult: type: object properties: PublicKey: $ref: "#/components/schemas/PublicKey" CannotChangeImmutablePublicKeyFields: type: object properties: Message: $ref: "#/components/schemas/string" description: You can't change the value of a public key. UpdateStreamingDistributionResult: type: object properties: StreamingDistribution: $ref: "#/components/schemas/StreamingDistribution" description: The returned result of the corresponding request. integer: type: integer SignerList: type: array items: $ref: "#/components/schemas/Signer" ActiveTrustedSigners: type: object required: - Enabled - Quantity properties: Enabled: $ref: "#/components/schemas/boolean" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/SignerList" description:

A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

AliasList: type: array items: $ref: "#/components/schemas/string" MethodsList: type: array items: $ref: "#/components/schemas/Method" CachedMethods: type: object required: - Quantity - Items properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/MethodsList" description:

A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:

If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.

AllowedMethods: type: object required: - Quantity - Items properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/MethodsList" CachedMethods: $ref: "#/components/schemas/CachedMethods" description:

A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

AwsAccountNumberList: type: array items: $ref: "#/components/schemas/string" ForwardedValues: type: object required: - QueryString - Cookies properties: QueryString: $ref: "#/components/schemas/boolean" Cookies: $ref: "#/components/schemas/CookiePreference" Headers: $ref: "#/components/schemas/Headers" QueryStringCacheKeys: $ref: "#/components/schemas/QueryStringCacheKeys" description: A complex type that specifies how CloudFront handles query strings and cookies. ViewerProtocolPolicy: type: string enum: - allow-all - https-only - redirect-to-https long: type: integer LambdaFunctionAssociations: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/LambdaFunctionAssociationList" description:

A complex type that specifies a list of Lambda functions associations for a cache behavior.

If you want to invoke one or more Lambda functions triggered by requests that match the PathPattern of the cache behavior, specify the applicable values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation items in this list (one for each possible value of EventType) and each EventType can be associated with the Lambda function only once.

If you don't want to invoke any Lambda functions for the requests that match PathPattern, specify 0 for Quantity and omit Items.

CacheBehavior: type: object required: - PathPattern - TargetOriginId - ForwardedValues - TrustedSigners - ViewerProtocolPolicy - MinTTL properties: PathPattern: $ref: "#/components/schemas/string" TargetOriginId: $ref: "#/components/schemas/string" ForwardedValues: $ref: "#/components/schemas/ForwardedValues" TrustedSigners: $ref: "#/components/schemas/TrustedSigners" ViewerProtocolPolicy: $ref: "#/components/schemas/ViewerProtocolPolicy" MinTTL: $ref: "#/components/schemas/long" AllowedMethods: $ref: "#/components/schemas/AllowedMethods" SmoothStreaming: $ref: "#/components/schemas/boolean" DefaultTTL: $ref: "#/components/schemas/long" MaxTTL: $ref: "#/components/schemas/long" Compress: $ref: "#/components/schemas/boolean" LambdaFunctionAssociations: $ref: "#/components/schemas/LambdaFunctionAssociations" FieldLevelEncryptionId: $ref: "#/components/schemas/string" description:

A complex type that describes how CloudFront processes requests.

You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.

For the current limit on the number of cache behaviors that you can add to a distribution, see Amazon CloudFront Limits in the AWS General Reference.

If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't include an empty CacheBehavior element, or CloudFront returns a MalformedXML error.

To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element.

To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.

For more information about cache behaviors, see Cache Behaviors in the Amazon CloudFront Developer Guide.

CacheBehaviorList: type: array items: $ref: "#/components/schemas/CacheBehavior" CertificateSource: type: string enum: - cloudfront - iam - acm CloudFrontOriginAccessIdentityConfig: type: object required: - CallerReference - Comment properties: CallerReference: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" description: "Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource. " CloudFrontOriginAccessIdentity: type: object required: - Id - S3CanonicalUserId properties: Id: $ref: "#/components/schemas/string" S3CanonicalUserId: $ref: "#/components/schemas/string" CloudFrontOriginAccessIdentityConfig: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityConfig" description: CloudFront origin access identity. CloudFrontOriginAccessIdentitySummaryList: type: array items: $ref: "#/components/schemas/CloudFrontOriginAccessIdentitySummary" CloudFrontOriginAccessIdentityList: type: object required: - Marker - MaxItems - IsTruncated - Quantity properties: Marker: $ref: "#/components/schemas/string" NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" IsTruncated: $ref: "#/components/schemas/boolean" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/CloudFrontOriginAccessIdentitySummaryList" description: Lists the origin access identities for CloudFront.Send a GET request to the /CloudFront API version/origin-access-identity/cloudfront resource. The response includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems and Marker parameters. CloudFrontOriginAccessIdentitySummary: type: object required: - Id - S3CanonicalUserId - Comment properties: Id: $ref: "#/components/schemas/string" S3CanonicalUserId: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" description: Summary of the information about a CloudFront origin access identity. Format: type: string enum: - URLEncoded ContentTypeProfile: type: object required: - Format - ContentType properties: Format: $ref: "#/components/schemas/Format" ProfileId: $ref: "#/components/schemas/string" ContentType: $ref: "#/components/schemas/string" description: "A field-level encryption content type profile. " ContentTypeProfiles: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/ContentTypeProfileList" description: "Field-level encryption content type-profile. " ContentTypeProfileList: type: array items: $ref: "#/components/schemas/ContentTypeProfile" CookieNameList: type: array items: $ref: "#/components/schemas/string" CookieNames: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/CookieNameList" description: A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide. ItemSelection: type: string enum: - none - whitelist - all CookiePreference: type: object required: - Forward properties: Forward: $ref: "#/components/schemas/ItemSelection" WhitelistedNames: $ref: "#/components/schemas/CookieNames" description: A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide. CreateCloudFrontOriginAccessIdentityRequest: type: object required: - CloudFrontOriginAccessIdentityConfig properties: CloudFrontOriginAccessIdentityConfig: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityConfig" description: The request to create a new origin access identity. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ CreateDistributionRequest: type: object required: - DistributionConfig properties: DistributionConfig: $ref: "#/components/schemas/DistributionConfig" description: The request to create a new distribution. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ Distribution: type: object required: - Id - ARN - Status - LastModifiedTime - InProgressInvalidationBatches - DomainName - ActiveTrustedSigners - DistributionConfig properties: Id: $ref: "#/components/schemas/string" ARN: $ref: "#/components/schemas/string" Status: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" InProgressInvalidationBatches: $ref: "#/components/schemas/integer" DomainName: $ref: "#/components/schemas/string" ActiveTrustedSigners: $ref: "#/components/schemas/ActiveTrustedSigners" DistributionConfig: $ref: "#/components/schemas/DistributionConfig" description: The distribution's information. DistributionConfigWithTags: type: object required: - DistributionConfig - Tags properties: DistributionConfig: $ref: "#/components/schemas/DistributionConfig" Tags: $ref: "#/components/schemas/Tags" description: A distribution Configuration and a list of tags to be associated with the distribution. CreateDistributionWithTagsRequest: type: object required: - DistributionConfigWithTags properties: DistributionConfigWithTags: $ref: "#/components/schemas/DistributionConfigWithTags" description: "The request to create a new distribution with tags. " xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ FieldLevelEncryptionConfig: type: object required: - CallerReference properties: CallerReference: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" QueryArgProfileConfig: $ref: "#/components/schemas/QueryArgProfileConfig" ContentTypeProfileConfig: $ref: "#/components/schemas/ContentTypeProfileConfig" description: "A complex data type that includes the profile configurations specified for field-level encryption. " CreateFieldLevelEncryptionConfigRequest: type: object required: - FieldLevelEncryptionConfig properties: FieldLevelEncryptionConfig: $ref: "#/components/schemas/FieldLevelEncryptionConfig" xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ FieldLevelEncryption: type: object required: - Id - LastModifiedTime - FieldLevelEncryptionConfig properties: Id: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" FieldLevelEncryptionConfig: $ref: "#/components/schemas/FieldLevelEncryptionConfig" description: "A complex data type that includes the profile configurations and other options specified for field-level encryption. " FieldLevelEncryptionProfileConfig: type: object required: - Name - CallerReference - EncryptionEntities properties: Name: $ref: "#/components/schemas/string" CallerReference: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" EncryptionEntities: $ref: "#/components/schemas/EncryptionEntities" description: A complex data type of profiles for the field-level encryption. CreateFieldLevelEncryptionProfileRequest: type: object required: - FieldLevelEncryptionProfileConfig properties: FieldLevelEncryptionProfileConfig: $ref: "#/components/schemas/FieldLevelEncryptionProfileConfig" xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ FieldLevelEncryptionProfile: type: object required: - Id - LastModifiedTime - FieldLevelEncryptionProfileConfig properties: Id: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" FieldLevelEncryptionProfileConfig: $ref: "#/components/schemas/FieldLevelEncryptionProfileConfig" description: A complex data type for field-level encryption profiles. InvalidationBatch: type: object required: - Paths - CallerReference properties: Paths: $ref: "#/components/schemas/Paths" CallerReference: $ref: "#/components/schemas/string" description: An invalidation batch. CreateInvalidationRequest: type: object required: - InvalidationBatch properties: InvalidationBatch: $ref: "#/components/schemas/InvalidationBatch" description: The request to create an invalidation. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ Invalidation: type: object required: - Id - Status - CreateTime - InvalidationBatch properties: Id: $ref: "#/components/schemas/string" Status: $ref: "#/components/schemas/string" CreateTime: $ref: "#/components/schemas/timestamp" InvalidationBatch: $ref: "#/components/schemas/InvalidationBatch" description: "An invalidation. " PublicKeyConfig: type: object required: - CallerReference - Name - EncodedKey properties: CallerReference: $ref: "#/components/schemas/string" Name: $ref: "#/components/schemas/string" EncodedKey: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" description: Information about a public key you add to CloudFront to use with features like field-level encryption. CreatePublicKeyRequest: type: object required: - PublicKeyConfig properties: PublicKeyConfig: $ref: "#/components/schemas/PublicKeyConfig" xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ PublicKey: type: object required: - Id - CreatedTime - PublicKeyConfig properties: Id: $ref: "#/components/schemas/string" CreatedTime: $ref: "#/components/schemas/timestamp" PublicKeyConfig: $ref: "#/components/schemas/PublicKeyConfig" description: A complex data type of public keys you add to CloudFront to use with features like field-level encryption. CreateStreamingDistributionRequest: type: object required: - StreamingDistributionConfig properties: StreamingDistributionConfig: $ref: "#/components/schemas/StreamingDistributionConfig" description: The request to create a new streaming distribution. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ StreamingDistribution: type: object required: - Id - ARN - Status - DomainName - ActiveTrustedSigners - StreamingDistributionConfig properties: Id: $ref: "#/components/schemas/string" ARN: $ref: "#/components/schemas/string" Status: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" DomainName: $ref: "#/components/schemas/string" ActiveTrustedSigners: $ref: "#/components/schemas/ActiveTrustedSigners" StreamingDistributionConfig: $ref: "#/components/schemas/StreamingDistributionConfig" description: "A streaming distribution. " StreamingDistributionConfigWithTags: type: object required: - StreamingDistributionConfig - Tags properties: StreamingDistributionConfig: $ref: "#/components/schemas/StreamingDistributionConfig" Tags: $ref: "#/components/schemas/Tags" description: A streaming distribution Configuration and a list of tags to be associated with the streaming distribution. CreateStreamingDistributionWithTagsRequest: type: object required: - StreamingDistributionConfigWithTags properties: StreamingDistributionConfigWithTags: $ref: "#/components/schemas/StreamingDistributionConfigWithTags" description: The request to create a new streaming distribution with tags. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ CustomErrorResponse: type: object required: - ErrorCode properties: ErrorCode: $ref: "#/components/schemas/integer" ResponsePagePath: $ref: "#/components/schemas/string" ResponseCode: $ref: "#/components/schemas/string" ErrorCachingMinTTL: $ref: "#/components/schemas/long" description:

A complex type that controls:

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

CustomErrorResponseList: type: array items: $ref: "#/components/schemas/CustomErrorResponse" OriginCustomHeadersList: type: array items: $ref: "#/components/schemas/OriginCustomHeader" CustomHeaders: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/OriginCustomHeadersList" description: "A complex type that contains the list of Custom Headers for each origin. " OriginProtocolPolicy: type: string enum: - http-only - match-viewer - https-only OriginSslProtocols: type: object required: - Quantity - Items properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/SslProtocolsList" description: "A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin. " CustomOriginConfig: type: object required: - HTTPPort - HTTPSPort - OriginProtocolPolicy properties: HTTPPort: $ref: "#/components/schemas/integer" HTTPSPort: $ref: "#/components/schemas/integer" OriginProtocolPolicy: $ref: "#/components/schemas/OriginProtocolPolicy" OriginSslProtocols: $ref: "#/components/schemas/OriginSslProtocols" OriginReadTimeout: $ref: "#/components/schemas/integer" OriginKeepaliveTimeout: $ref: "#/components/schemas/integer" description: A customer origin. DeleteCloudFrontOriginAccessIdentityRequest: type: object properties: {} description: Deletes a origin access identity. DeleteDistributionRequest: type: object properties: {} description:

This action deletes a web distribution. To delete a web distribution using the CloudFront API, perform the following steps.

To delete a web distribution using the CloudFront API:

  1. Disable the web distribution

  2. Submit a GET Distribution Config request to get the current configuration and the Etag header for the distribution.

  3. Update the XML document that was returned in the response to your GET Distribution Config request to change the value of Enabled to false.

  4. Submit a PUT Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Distribution Config request in Step 2.

  5. Review the response to the PUT Distribution Config request to confirm that the distribution was successfully disabled.

  6. Submit a GET Distribution request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed.

  7. Submit a DELETE Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Distribution Config request in Step 6.

  8. Review the response to your DELETE Distribution request to confirm that the distribution was successfully deleted.

For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.

DeleteFieldLevelEncryptionConfigRequest: type: object properties: {} DeleteFieldLevelEncryptionProfileRequest: type: object properties: {} DeletePublicKeyRequest: type: object properties: {} DeleteStreamingDistributionRequest: type: object properties: {} description: The request to delete a streaming distribution. timestamp: type: string format: date-time DistributionSummaryList: type: array items: $ref: "#/components/schemas/DistributionSummary" DistributionList: type: object required: - Marker - MaxItems - IsTruncated - Quantity properties: Marker: $ref: "#/components/schemas/string" NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" IsTruncated: $ref: "#/components/schemas/boolean" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/DistributionSummaryList" description: A distribution list. DistributionSummary: type: object required: - Id - ARN - Status - LastModifiedTime - DomainName - Aliases - Origins - DefaultCacheBehavior - CacheBehaviors - CustomErrorResponses - Comment - PriceClass - Enabled - ViewerCertificate - Restrictions - WebACLId - HttpVersion - IsIPV6Enabled properties: Id: $ref: "#/components/schemas/string" ARN: $ref: "#/components/schemas/string" Status: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" DomainName: $ref: "#/components/schemas/string" Aliases: $ref: "#/components/schemas/Aliases" Origins: $ref: "#/components/schemas/Origins" DefaultCacheBehavior: $ref: "#/components/schemas/DefaultCacheBehavior" CacheBehaviors: $ref: "#/components/schemas/CacheBehaviors" CustomErrorResponses: $ref: "#/components/schemas/CustomErrorResponses" Comment: $ref: "#/components/schemas/string" PriceClass: $ref: "#/components/schemas/PriceClass" Enabled: $ref: "#/components/schemas/boolean" ViewerCertificate: $ref: "#/components/schemas/ViewerCertificate" Restrictions: $ref: "#/components/schemas/Restrictions" WebACLId: $ref: "#/components/schemas/string" HttpVersion: $ref: "#/components/schemas/HttpVersion" IsIPV6Enabled: $ref: "#/components/schemas/boolean" description: A summary of the information about a CloudFront distribution. EncryptionEntityList: type: array items: $ref: "#/components/schemas/EncryptionEntity" FieldPatterns: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/FieldPatternList" description: A complex data type that includes the field patterns to match for field-level encryption. EncryptionEntity: type: object required: - PublicKeyId - ProviderId - FieldPatterns properties: PublicKeyId: $ref: "#/components/schemas/string" ProviderId: $ref: "#/components/schemas/string" FieldPatterns: $ref: "#/components/schemas/FieldPatterns" description: "Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications. " EventType: type: string enum: - viewer-request - viewer-response - origin-request - origin-response FieldLevelEncryptionSummaryList: type: array items: $ref: "#/components/schemas/FieldLevelEncryptionSummary" FieldLevelEncryptionList: type: object required: - MaxItems - Quantity properties: NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/FieldLevelEncryptionSummaryList" description: List of field-level encrpytion configurations. FieldLevelEncryptionProfileSummaryList: type: array items: $ref: "#/components/schemas/FieldLevelEncryptionProfileSummary" FieldLevelEncryptionProfileList: type: object required: - MaxItems - Quantity properties: NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/FieldLevelEncryptionProfileSummaryList" description: List of field-level encryption profiles. FieldLevelEncryptionProfileSummary: type: object required: - Id - LastModifiedTime - Name - EncryptionEntities properties: Id: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" Name: $ref: "#/components/schemas/string" EncryptionEntities: $ref: "#/components/schemas/EncryptionEntities" Comment: $ref: "#/components/schemas/string" description: The field-level encryption profile summary. FieldLevelEncryptionSummary: type: object required: - Id - LastModifiedTime properties: Id: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" Comment: $ref: "#/components/schemas/string" QueryArgProfileConfig: $ref: "#/components/schemas/QueryArgProfileConfig" ContentTypeProfileConfig: $ref: "#/components/schemas/ContentTypeProfileConfig" description: A summary of a field-level encryption item. FieldPatternList: type: array items: $ref: "#/components/schemas/string" Headers: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/HeaderList" description:

A complex type that specifies the request headers, if any, that you want CloudFront to base caching on for this cache behavior.

For the headers that you specify, CloudFront caches separate versions of a specified object based on the header values in viewer requests. For example, suppose viewer requests for logo.jpg contain a custom product header that has a value of either acme or apex, and you configure CloudFront to cache your content based on values in the product header. CloudFront forwards the product header to the origin and caches the response from the origin once for each header value. For more information about caching based on header values, see How CloudFront Forwards and Caches Headers in the Amazon CloudFront Developer Guide.

QueryStringCacheKeys: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/QueryStringCacheKeysList" GeoRestrictionType: type: string enum: - blacklist - whitelist - none LocationList: type: array items: $ref: "#/components/schemas/string" GeoRestriction: type: object required: - RestrictionType - Quantity properties: RestrictionType: $ref: "#/components/schemas/GeoRestrictionType" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/LocationList" description: "A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases. " GetCloudFrontOriginAccessIdentityConfigRequest: type: object properties: {} description: The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfigComplexType. GetCloudFrontOriginAccessIdentityRequest: type: object properties: {} description: The request to get an origin access identity's information. GetDistributionConfigRequest: type: object properties: {} description: The request to get a distribution configuration. GetDistributionRequest: type: object properties: {} description: The request to get a distribution's information. GetFieldLevelEncryptionConfigRequest: type: object properties: {} GetFieldLevelEncryptionProfileConfigRequest: type: object properties: {} GetFieldLevelEncryptionProfileRequest: type: object properties: {} GetFieldLevelEncryptionRequest: type: object properties: {} GetInvalidationRequest: type: object properties: {} description: "The request to get an invalidation's information. " GetPublicKeyConfigRequest: type: object properties: {} GetPublicKeyRequest: type: object properties: {} GetStreamingDistributionConfigRequest: type: object properties: {} description: To request to get a streaming distribution configuration. GetStreamingDistributionRequest: type: object properties: {} description: The request to get a streaming distribution's information. HeaderList: type: array items: $ref: "#/components/schemas/string" InvalidationSummaryList: type: array items: $ref: "#/components/schemas/InvalidationSummary" InvalidationList: type: object required: - Marker - MaxItems - IsTruncated - Quantity properties: Marker: $ref: "#/components/schemas/string" NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" IsTruncated: $ref: "#/components/schemas/boolean" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/InvalidationSummaryList" description: The InvalidationList complex type describes the list of invalidation objects. For more information about invalidation, see Invalidating Objects (Web Distributions Only) in the Amazon CloudFront Developer Guide. InvalidationSummary: type: object required: - Id - CreateTime - Status properties: Id: $ref: "#/components/schemas/string" CreateTime: $ref: "#/components/schemas/timestamp" Status: $ref: "#/components/schemas/string" description: A summary of an invalidation request. KeyPairIdList: type: array items: $ref: "#/components/schemas/string" KeyPairIds: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/KeyPairIdList" description:

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

For more information, see ActiveTrustedSigners.

LambdaFunctionARN: type: string LambdaFunctionAssociation: type: object required: - LambdaFunctionARN - EventType properties: LambdaFunctionARN: $ref: "#/components/schemas/LambdaFunctionARN" EventType: $ref: "#/components/schemas/EventType" description: A complex type that contains a Lambda function association. LambdaFunctionAssociationList: type: array items: $ref: "#/components/schemas/LambdaFunctionAssociation" ListCloudFrontOriginAccessIdentitiesRequest: type: object properties: {} description: "The request to list origin access identities. " ListDistributionsByWebACLIdRequest: type: object properties: {} description: "The request to list distributions that are associated with a specified AWS WAF web ACL. " ListDistributionsRequest: type: object properties: {} description: "The request to list your distributions. " ListFieldLevelEncryptionConfigsRequest: type: object properties: {} ListFieldLevelEncryptionProfilesRequest: type: object properties: {} ListInvalidationsRequest: type: object properties: {} description: "The request to list invalidations. " ListPublicKeysRequest: type: object properties: {} PublicKeyList: type: object required: - MaxItems - Quantity properties: NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/PublicKeySummaryList" description: A list of public keys you've added to CloudFront to use with features like field-level encryption. ListStreamingDistributionsRequest: type: object properties: {} description: "The request to list your streaming distributions. " StreamingDistributionList: type: object required: - Marker - MaxItems - IsTruncated - Quantity properties: Marker: $ref: "#/components/schemas/string" NextMarker: $ref: "#/components/schemas/string" MaxItems: $ref: "#/components/schemas/integer" IsTruncated: $ref: "#/components/schemas/boolean" Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/StreamingDistributionSummaryList" description: "A streaming distribution list. " ResourceARN: type: string pattern: arn:aws:cloudfront::[0-9]+:.* ListTagsForResourceRequest: type: object properties: {} description: " The request to list tags for a CloudFront resource." Method: type: string enum: - GET - HEAD - POST - PUT - PATCH - OPTIONS - DELETE MinimumProtocolVersion: type: string enum: - SSLv3 - TLSv1 - TLSv1_2016 - TLSv1.1_2016 - TLSv1.2_2018 S3OriginConfig: type: object required: - OriginAccessIdentity properties: OriginAccessIdentity: $ref: "#/components/schemas/string" description: A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead. Origin: type: object required: - Id - DomainName properties: Id: $ref: "#/components/schemas/string" DomainName: $ref: "#/components/schemas/string" OriginPath: $ref: "#/components/schemas/string" CustomHeaders: $ref: "#/components/schemas/CustomHeaders" S3OriginConfig: $ref: "#/components/schemas/S3OriginConfig" CustomOriginConfig: $ref: "#/components/schemas/CustomOriginConfig" description:

A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files. You must create at least one origin.

For the current limit on the number of origins that you can create for a distribution, see Amazon CloudFront Limits in the AWS General Reference.

OriginCustomHeader: type: object required: - HeaderName - HeaderValue properties: HeaderName: $ref: "#/components/schemas/string" HeaderValue: $ref: "#/components/schemas/string" description: "A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution. " OriginList: type: array items: $ref: "#/components/schemas/Origin" minItems: 1 SslProtocolsList: type: array items: $ref: "#/components/schemas/SslProtocol" PathList: type: array items: $ref: "#/components/schemas/string" PublicKeySummaryList: type: array items: $ref: "#/components/schemas/PublicKeySummary" PublicKeySummary: type: object required: - Id - Name - CreatedTime - EncodedKey properties: Id: $ref: "#/components/schemas/string" Name: $ref: "#/components/schemas/string" CreatedTime: $ref: "#/components/schemas/timestamp" EncodedKey: $ref: "#/components/schemas/string" Comment: $ref: "#/components/schemas/string" description: " Public key information summary. " QueryArgProfile: type: object required: - QueryArg - ProfileId properties: QueryArg: $ref: "#/components/schemas/string" ProfileId: $ref: "#/components/schemas/string" description: Query argument-profile mapping for field-level encryption. QueryArgProfiles: type: object required: - Quantity properties: Quantity: $ref: "#/components/schemas/integer" Items: $ref: "#/components/schemas/QueryArgProfileList" description: Query argument-profile mapping for field-level encryption. QueryArgProfileList: type: array items: $ref: "#/components/schemas/QueryArgProfile" QueryStringCacheKeysList: type: array items: $ref: "#/components/schemas/string" SSLSupportMethod: type: string enum: - sni-only - vip Signer: type: object properties: AwsAccountNumber: $ref: "#/components/schemas/string" KeyPairIds: $ref: "#/components/schemas/KeyPairIds" description: "A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any. " SslProtocol: type: string enum: - SSLv3 - TLSv1 - TLSv1.1 - TLSv1.2 StreamingDistributionSummaryList: type: array items: $ref: "#/components/schemas/StreamingDistributionSummary" StreamingDistributionSummary: type: object required: - Id - ARN - Status - LastModifiedTime - DomainName - S3Origin - Aliases - TrustedSigners - Comment - PriceClass - Enabled properties: Id: $ref: "#/components/schemas/string" ARN: $ref: "#/components/schemas/string" Status: $ref: "#/components/schemas/string" LastModifiedTime: $ref: "#/components/schemas/timestamp" DomainName: $ref: "#/components/schemas/string" S3Origin: $ref: "#/components/schemas/S3Origin" Aliases: $ref: "#/components/schemas/Aliases" TrustedSigners: $ref: "#/components/schemas/TrustedSigners" Comment: $ref: "#/components/schemas/string" PriceClass: $ref: "#/components/schemas/PriceClass" Enabled: $ref: "#/components/schemas/boolean" description: " A summary of the information for an Amazon CloudFront streaming distribution." TagKey: type: string pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$ description: "

A string that contains Tag key.

The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

" minLength: 1 maxLength: 128 TagValue: type: string pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$ minLength: 0 maxLength: 256 Tag: type: object required: - Key properties: Key: $ref: "#/components/schemas/TagKey" Value: $ref: "#/components/schemas/TagValue" description: " A complex type that contains Tag key and Tag value." TagKeys: type: object properties: Items: $ref: "#/components/schemas/TagKeyList" description: " A complex type that contains zero or more Tag elements." TagResourceRequest: type: object required: - Tags properties: Tags: $ref: "#/components/schemas/Tags" description: " The request to add tags to a CloudFront resource." xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UntagResourceRequest: type: object required: - TagKeys properties: TagKeys: $ref: "#/components/schemas/TagKeys" description: " The request to remove tags from a CloudFront resource." xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UpdateCloudFrontOriginAccessIdentityRequest: type: object required: - CloudFrontOriginAccessIdentityConfig properties: CloudFrontOriginAccessIdentityConfig: $ref: "#/components/schemas/CloudFrontOriginAccessIdentityConfig" description: The request to update an origin access identity. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UpdateDistributionRequest: type: object required: - DistributionConfig properties: DistributionConfig: $ref: "#/components/schemas/DistributionConfig" description: The request to update a distribution. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UpdateFieldLevelEncryptionConfigRequest: type: object required: - FieldLevelEncryptionConfig properties: FieldLevelEncryptionConfig: $ref: "#/components/schemas/FieldLevelEncryptionConfig" xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UpdateFieldLevelEncryptionProfileRequest: type: object required: - FieldLevelEncryptionProfileConfig properties: FieldLevelEncryptionProfileConfig: $ref: "#/components/schemas/FieldLevelEncryptionProfileConfig" xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UpdatePublicKeyRequest: type: object required: - PublicKeyConfig properties: PublicKeyConfig: $ref: "#/components/schemas/PublicKeyConfig" xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/ UpdateStreamingDistributionRequest: type: object required: - StreamingDistributionConfig properties: StreamingDistributionConfig: $ref: "#/components/schemas/StreamingDistributionConfig" description: The request to update a streaming distribution. xml: namespace: http://cloudfront.amazonaws.com/doc/2017-10-30/