UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 623 kB
{"openapi":"3.0.0","info":{"version":"2020-05-31","x-release":"v4","title":"Amazon CloudFront","description":"<fullname>Amazon CloudFront</fullname> <p>This is the <i>Amazon CloudFront API Reference</i>. 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 <i>Amazon CloudFront Developer Guide</i>.</p>","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-2020-05-31.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-driver":"external"}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://docs.aws.amazon.com/cloudfront/"},"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)"}],"x-hasEquivalentPaths":true,"paths":{"/2020-05-31/distribution/{TargetDistributionId}/associate-alias#Alias":{"put":{"operationId":"AssociateAlias2020_05_31","description":"<p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.</p> <p>With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.</p> <p>To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move\">Moving an alternate domain name to a different distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>","responses":{"200":{"description":"Success"},"480":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"481":{"description":"NoSuchDistribution","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchDistribution"}}}},"482":{"description":"TooManyDistributionCNAMEs","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionCNAMEs"}}}},"483":{"description":"IllegalUpdate","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/IllegalUpdate"}}}},"484":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}}},"parameters":[{"name":"TargetDistributionId","in":"path","required":true,"description":"The ID of the distribution that you're associating the alias with.","schema":{"type":"string"}},{"name":"Alias","in":"query","required":true,"description":"The alias (also known as a CNAME) to add to the target distribution.","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"}]},"/2020-05-31/distribution/{PrimaryDistributionId}/copy":{"post":{"operationId":"CopyDistribution2020_05_31","description":"<p>Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.</p> <p>After you create a staging distribution, you can use <code>UpdateDistribution</code> to modify the staging distribution's configuration. Then you can use <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the staging distribution.</p> <p>This API operation requires the following IAM permissions:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html\">GetDistribution</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html\">CreateDistribution</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CopyDistribution.html\">CopyDistribution</a> </p> </li> </ul>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CopyDistributionResult"}}}},"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":"InvalidOriginAccessControl","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidOriginAccessControl"}}}},"485":{"description":"InvalidIfMatchVersion","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidIfMatchVersion"}}}},"486":{"description":"NoSuchDistribution","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchDistribution"}}}},"487":{"description":"PreconditionFailed","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/PreconditionFailed"}}}},"488":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}},"489":{"description":"TooManyTrustedSigners","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyTrustedSigners"}}}},"490":{"description":"TrustedSignerDoesNotExist","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TrustedSignerDoesNotExist"}}}},"491":{"description":"InvalidViewerCertificate","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidViewerCertificate"}}}},"492":{"description":"InvalidMinimumProtocolVersion","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidMinimumProtocolVersion"}}}},"493":{"description":"MissingBody","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/MissingBody"}}}},"494":{"description":"TooManyDistributionCNAMEs","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionCNAMEs"}}}},"495":{"description":"TooManyDistributions","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributions"}}}},"496":{"description":"InvalidDefaultRootObject","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidDefaultRootObject"}}}},"497":{"description":"InvalidRelativePath","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidRelativePath"}}}},"498":{"description":"InvalidErrorCode","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidErrorCode"}}}},"499":{"description":"InvalidResponseCode","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidResponseCode"}}}},"500":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"501":{"description":"InvalidRequiredProtocol","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidRequiredProtocol"}}}},"502":{"description":"NoSuchOrigin","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchOrigin"}}}},"503":{"description":"TooManyOrigins","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyOrigins"}}}},"504":{"description":"TooManyOriginGroupsPerDistribution","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyOriginGroupsPerDistribution"}}}},"505":{"description":"TooManyCacheBehaviors","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCacheBehaviors"}}}},"506":{"description":"TooManyCookieNamesInWhiteList","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCookieNamesInWhiteList"}}}},"507":{"description":"InvalidForwardCookies","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidForwardCookies"}}}},"508":{"description":"TooManyHeadersInForwardedValues","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyHeadersInForwardedValues"}}}},"509":{"description":"InvalidHeadersForS3Origin","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidHeadersForS3Origin"}}}},"510":{"description":"InconsistentQuantities","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InconsistentQuantities"}}}},"511":{"description":"TooManyCertificates","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCertificates"}}}},"512":{"description":"InvalidLocationCode","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidLocationCode"}}}},"513":{"description":"InvalidGeoRestrictionParameter","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidGeoRestrictionParameter"}}}},"514":{"description":"InvalidProtocolSettings","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidProtocolSettings"}}}},"515":{"description":"InvalidTTLOrder","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidTTLOrder"}}}},"516":{"description":"InvalidWebACLId","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidWebACLId"}}}},"517":{"description":"TooManyOriginCustomHeaders","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyOriginCustomHeaders"}}}},"518":{"description":"TooManyQueryStringParameters","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyQueryStringParameters"}}}},"519":{"description":"InvalidQueryStringParameters","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidQueryStringParameters"}}}},"520":{"description":"TooManyDistributionsWithLambdaAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsWithLambdaAssociations"}}}},"521":{"description":"TooManyDistributionsWithSingleFunctionARN","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsWithSingleFunctionARN"}}}},"522":{"description":"TooManyLambdaFunctionAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyLambdaFunctionAssociations"}}}},"523":{"description":"InvalidLambdaFunctionAssociation","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidLambdaFunctionAssociation"}}}},"524":{"description":"TooManyDistributionsWithFunctionAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsWithFunctionAssociations"}}}},"525":{"description":"TooManyFunctionAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyFunctionAssociations"}}}},"526":{"description":"InvalidFunctionAssociation","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidFunctionAssociation"}}}},"527":{"description":"InvalidOriginReadTimeout","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidOriginReadTimeout"}}}},"528":{"description":"InvalidOriginKeepaliveTimeout","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidOriginKeepaliveTimeout"}}}},"529":{"description":"NoSuchFieldLevelEncryptionConfig","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchFieldLevelEncryptionConfig"}}}},"530":{"description":"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"}}}},"531":{"description":"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"}}}},"532":{"description":"NoSuchCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchCachePolicy"}}}},"533":{"description":"TooManyDistributionsAssociatedToCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToCachePolicy"}}}},"534":{"description":"TooManyDistributionsAssociatedToOriginAccessControl","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToOriginAccessControl"}}}},"535":{"description":"NoSuchResponseHeadersPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchResponseHeadersPolicy"}}}},"536":{"description":"TooManyDistributionsAssociatedToResponseHeadersPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToResponseHeadersPolicy"}}}},"537":{"description":"NoSuchOriginRequestPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchOriginRequestPolicy"}}}},"538":{"description":"TooManyDistributionsAssociatedToOriginRequestPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToOriginRequestPolicy"}}}},"539":{"description":"TooManyDistributionsAssociatedToKeyGroup","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToKeyGroup"}}}},"540":{"description":"TooManyKeyGroupsAssociatedToDistribution","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyKeyGroupsAssociatedToDistribution"}}}},"541":{"description":"TrustedKeyGroupDoesNotExist","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TrustedKeyGroupDoesNotExist"}}}},"542":{"description":"NoSuchRealtimeLogConfig","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchRealtimeLogConfig"}}}},"543":{"description":"RealtimeLogConfigOwnerMismatch","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/RealtimeLogConfigOwnerMismatch"}}}}},"parameters":[{"name":"PrimaryDistributionId","in":"path","required":true,"description":"The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use <code>ListDistributions</code>.","schema":{"type":"string"}},{"name":"Staging","in":"header","required":false,"description":"The type of distribution that your primary distribution will be copied to. The only valid value is <code>True</code>, indicating that you are copying to a staging distribution.","schema":{"type":"boolean"}},{"name":"If-Match","in":"header","required":false,"description":"The version identifier of the primary distribution whose configuration you are copying. This is the <code>ETag</code> value returned in the response to <code>GetDistribution</code> and <code>GetDistributionConfig</code>.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"text/xml":{"schema":{"type":"object","required":["CallerReference"],"properties":{"CallerReference":{"description":"A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.","type":"string"},"Enabled":{"description":"<p>A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to <code>True</code>, the staging distribution is enabled. When you set this value to <code>False</code>, the staging distribution is disabled.</p> <p>If you omit this field, the default value is <code>True</code>.</p>","type":"boolean"}}}}}}},"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"}]},"/2020-05-31/cache-policy":{"post":{"operationId":"CreateCachePolicy2020_05_31","description":"<p>Creates a cache policy.</p> <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:</p> <ul> <li> <p>The values that CloudFront includes in the <i>cache key</i>. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.</p> </li> <li> <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.</p> </li> </ul> <p>The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but <i>not</i> include them in the cache key, use <code>OriginRequestPolicy</code>.</p> <p>For more information about cache policies, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html\">Controlling the cache key</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateCachePolicyResult"}}}},"480":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}},"481":{"description":"InconsistentQuantities","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InconsistentQuantities"}}}},"482":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"483":{"description":"CachePolicyAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CachePolicyAlreadyExists"}}}},"484":{"description":"TooManyCachePolicies","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCachePolicies"}}}},"485":{"description":"TooManyHeadersInCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyHeadersInCachePolicy"}}}},"486":{"description":"TooManyCookiesInCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCookiesInCachePolicy"}}}},"487":{"description":"TooManyQueryStringsInCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyQueryStringsInCachePolicy"}}}}},"parameters":[],"requestBody":{"required":true,"content":{"text/xml":{"schema":{"type":"object","required":["CachePolicyConfig"],"properties":{"CachePolicyConfig":{"description":"<p>A cache policy configuration.</p> <p>This configuration determines the following:</p> <ul> <li> <p>The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.</p> </li> <li> <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.</p> </li> </ul> <p>The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but <i>not</i> include them in the cache key, use <code>OriginRequestPolicy</code>.</p>","type":"object","properties":{"Comment":{"allOf":[{"$ref":"#/components/schemas/string"},{"description":"A comment to describe the cache policy. The comment cannot be longer than 128 characters."}]},"Name":{"allOf":[{"$ref":"#/components/schemas/string"},{"description":"A unique name to identify the cache policy."}]},"DefaultTTL":{"allOf":[{"$ref":"#/components/schemas/long"},{"description":"<p>The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does <i>not</i> send <code>Cache-Control</code> or <code>Expires</code> headers with the object. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default value for this field is 86400 seconds (one day). If the value of <code>MinTTL</code> is more than 86400 seconds, then the default value for this field is the same as the value of <code>MinTTL</code>.</p>"}]},"MaxTTL":{"allOf":[{"$ref":"#/components/schemas/long"},{"description":"<p>The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends <code>Cache-Control</code> or <code>Expires</code> headers with the object. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default value for this field is 31536000 seconds (one year). If the value of <code>MinTTL</code> or <code>DefaultTTL</code> is more than 31536000 seconds, then the default value for this field is the same as the value of <code>DefaultTTL</code>.</p>"}]},"MinTTL":{"allOf":[{"$ref":"#/components/schemas/long"},{"description":"The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>."}]},"ParametersInCacheKeyAndForwardedToOrigin":{"allOf":[{"$ref":"#/components/schemas/ParametersInCacheKeyAndForwardedToOrigin"},{"description":"The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin."}]}}}}}}}}},"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":"ListCachePolicies2020_05_31","description":"<p>Gets a list of cache policies.</p> <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the subsequent request.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListCachePoliciesResult"}}}},"480":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}},"481":{"description":"NoSuchCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchCachePolicy"}}}},"482":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}}},"parameters":[{"name":"Type","in":"query","required":false,"description":"<p>A filter to return only the specified kinds of cache policies. Valid values are:</p> <ul> <li> <p> <code>managed</code> – Returns only the managed policies created by Amazon Web Services.</p> </li> <li> <p> <code>custom</code> – Returns only the custom policies created in your Amazon Web Services account.</p> </li> </ul>","schema":{"type":"string","enum":["managed","custom"]}},{"name":"Marker","in":"query","required":false,"description":"Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.","schema":{"type":"string"}},{"name":"MaxItems","in":"query","required":false,"description":"The maximum number of cache policies that you want in the response.","schema":{"type":"string"}}]}},"/2020-05-31/origin-access-identity/cloudfront":{"post":{"operationId":"CreateCloudFrontOriginAccessIdentity2020_05_31","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 <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateCloudFrontOriginAccessIdentityResult"}}}},"480":{"description":"CloudFrontOriginAccessIdentityAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CloudFrontOriginAccessIdentityAlreadyExists"}}}},"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"}}}}},"parameters":[],"requestBody":{"required":true,"content":{"text/xml":{"schema":{"type":"object","required":["CloudFrontOriginAccessIdentityConfig"],"properties":{"CloudFrontOriginAccessIdentityConfig":{"description":"Origin access identity configuration. Send a <code>GET</code> request to the <code>/<i>CloudFront API version</i>/CloudFront/identity ID/config</code> resource.","type":"object","properties":{"CallerReference":{"allOf":[{"$ref":"#/components/schemas/string"},{"description":"<p>A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.</p> <p>If the value of <code>CallerReference</code> is new (regardless of the content of the <code>CloudFrontOriginAccessIdentityConfig</code> object), a new origin access identity is created.</p> <p>If the <code>CallerReference</code> is a value already sent in a previous identity request, and the content of the <code>CloudFrontOriginAccessIdentityConfig</code> is identical to the original request (ignoring white space), the response includes the same information returned to the original request.</p> <p>If the <code>CallerReference</code> is a value you already sent in a previous request to create an identity, but the content of the <code>CloudFrontOriginAccessIdentityConfig</code> is different from the original request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code> error. </p>"}]},"Comment":{"allOf":[{"$ref":"#/components/schemas/string"},{"description":"A comment to describe the origin access identity. The comment cannot be longer than 128 characters."}]}}}}}}}}},"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":"ListCloudFrontOriginAccessIdentities2020_05_31","description":"Lists origin access identities.","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListCloudFrontOriginAccessIdentitiesResult"}}}},"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 <code>Marker</code> to the value of the <code>NextMarker</code> 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"}}]}},"/2020-05-31/continuous-deployment-policy":{"post":{"operationId":"CreateContinuousDeploymentPolicy2020_05_31","description":"<p>Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.</p> <p>To use a continuous deployment policy, first use <code>CopyDistribution</code> to create a staging distribution, then use <code>UpdateDistribution</code> to modify the staging distribution's configuration.</p> <p>After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This workflow enables you to test changes to a distribution's configuration before moving all of your domain's production traffic to the new configuration.</p>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateContinuousDeploymentPolicyResult"}}}},"480":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}},"481":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"482":{"description":"InconsistentQuantities","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InconsistentQuantities"}}}},"483":{"description":"ContinuousDeploymentPolicyAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ContinuousDeploymentPolicyAlreadyExists"}}}},"484":{"description":"TooManyContinuousDeploymentPolicies","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyContinuousDeploymentPolicies"}}}},"485":{"description":"StagingDistributionInUse","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/StagingDistributionInUse"}}}}},"parameters":[],"requestBody":{"required":true,"content":{"text/xml":{"schema":{"type":"object","required":["ContinuousDeploymentPolicyConfig"],"properties":{"ContinuousDeploymentPolicyConfig":{"description":"Contains the configuration for a continuous deployment policy.","type":"object","properties":{"StagingDistributionDnsNames":{"allOf":[{"$ref":"#/components/schemas/StagingDistributionDnsNames"},{"description":"The CloudFront domain name of the staging distribution. For example: <code>d111111abcdef8.cloudfront.net</code>."}]},"Enabled":{"allOf":[{"$ref":"#/components/schemas/boolean"},{"description":"A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is <code>true</code>, this policy is enabled and in effect. When this value is <code>false</code>, this policy is not enabled and has no effect."}]},"TrafficConfig":{"allOf":[{"$ref":"#/components/schemas/TrafficConfig"},{"description":"Contains the parameters for routing production traffic from your primary to staging distributions."}]}}}}}}}}},"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":"ListContinuousDeploymentPolicies2020_05_31","description":"<p>Gets a list of the continuous deployment policies in your Amazon Web Services account.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the subsequent request.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListContinuousDeploymentPoliciesResult"}}}},"480":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"481":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}},"482":{"description":"NoSuchContinuousDeploymentPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchContinuousDeploymentPolicy"}}}}},"parameters":[{"name":"Marker","in":"query","required":false,"description":"Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.","schema":{"type":"string"}},{"name":"MaxItems","in":"query","required":false,"description":"The maximum number of continuous deployment policies that you want returned in the response.","schema":{"type":"string"}}]}},"/2020-05-31/distribution":{"post":{"operationId":"CreateDistribution2020_05_31","description":"Creates a CloudFront distribution.","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":"InvalidOriginAccessControl","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidOriginAccessControl"}}}},"485":{"description":"IllegalOriginAccessConfiguration","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/IllegalOriginAccessConfiguration"}}}},"486":{"description":"TooManyDistributionsAssociatedToOriginAccessControl","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToOriginAccessControl"}}}},"487":{"description":"AccessDenied","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AccessDenied"}}}},"488":{"description":"TooManyTrustedSigners","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyTrustedSigners"}}}},"489":{"description":"TrustedSignerDoesNotExist","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TrustedSignerDoesNotExist"}}}},"490":{"description":"InvalidViewerCertificate","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidViewerCertificate"}}}},"491":{"description":"InvalidMinimumProtocolVersion","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidMinimumProtocolVersion"}}}},"492":{"description":"MissingBody","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/MissingBody"}}}},"493":{"description":"TooManyDistributionCNAMEs","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionCNAMEs"}}}},"494":{"description":"TooManyDistributions","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributions"}}}},"495":{"description":"InvalidDefaultRootObject","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidDefaultRootObject"}}}},"496":{"description":"InvalidRelativePath","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidRelativePath"}}}},"497":{"description":"InvalidErrorCode","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidErrorCode"}}}},"498":{"description":"InvalidResponseCode","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidResponseCode"}}}},"499":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"500":{"description":"InvalidRequiredProtocol","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidRequiredProtocol"}}}},"501":{"description":"NoSuchOrigin","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchOrigin"}}}},"502":{"description":"TooManyOrigins","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyOrigins"}}}},"503":{"description":"TooManyOriginGroupsPerDistribution","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyOriginGroupsPerDistribution"}}}},"504":{"description":"TooManyCacheBehaviors","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCacheBehaviors"}}}},"505":{"description":"TooManyCookieNamesInWhiteList","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCookieNamesInWhiteList"}}}},"506":{"description":"InvalidForwardCookies","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidForwardCookies"}}}},"507":{"description":"TooManyHeadersInForwardedValues","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyHeadersInForwardedValues"}}}},"508":{"description":"InvalidHeadersForS3Origin","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidHeadersForS3Origin"}}}},"509":{"description":"InconsistentQuantities","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InconsistentQuantities"}}}},"510":{"description":"TooManyCertificates","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyCertificates"}}}},"511":{"description":"InvalidLocationCode","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidLocationCode"}}}},"512":{"description":"InvalidGeoRestrictionParameter","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidGeoRestrictionParameter"}}}},"513":{"description":"InvalidProtocolSettings","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidProtocolSettings"}}}},"514":{"description":"InvalidTTLOrder","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidTTLOrder"}}}},"515":{"description":"InvalidWebACLId","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidWebACLId"}}}},"516":{"description":"TooManyOriginCustomHeaders","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyOriginCustomHeaders"}}}},"517":{"description":"TooManyQueryStringParameters","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyQueryStringParameters"}}}},"518":{"description":"InvalidQueryStringParameters","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidQueryStringParameters"}}}},"519":{"description":"TooManyDistributionsWithLambdaAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsWithLambdaAssociations"}}}},"520":{"description":"TooManyDistributionsWithSingleFunctionARN","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsWithSingleFunctionARN"}}}},"521":{"description":"TooManyLambdaFunctionAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyLambdaFunctionAssociations"}}}},"522":{"description":"InvalidLambdaFunctionAssociation","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidLambdaFunctionAssociation"}}}},"523":{"description":"TooManyDistributionsWithFunctionAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsWithFunctionAssociations"}}}},"524":{"description":"TooManyFunctionAssociations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyFunctionAssociations"}}}},"525":{"description":"InvalidFunctionAssociation","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidFunctionAssociation"}}}},"526":{"description":"InvalidOriginReadTimeout","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidOriginReadTimeout"}}}},"527":{"description":"InvalidOriginKeepaliveTimeout","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidOriginKeepaliveTimeout"}}}},"528":{"description":"NoSuchFieldLevelEncryptionConfig","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchFieldLevelEncryptionConfig"}}}},"529":{"description":"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"}}}},"530":{"description":"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"}}}},"531":{"description":"NoSuchCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchCachePolicy"}}}},"532":{"description":"TooManyDistributionsAssociatedToCachePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToCachePolicy"}}}},"533":{"description":"NoSuchResponseHeadersPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchResponseHeadersPolicy"}}}},"534":{"description":"TooManyDistributionsAssociatedToResponseHeadersPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToResponseHeadersPolicy"}}}},"535":{"description":"NoSuchOriginRequestPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchOriginRequestPolicy"}}}},"536":{"description":"TooManyDistributionsAssociatedToOriginRequestPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToOriginRequestPolicy"}}}},"537":{"description":"TooManyDistributionsAssociatedToKeyGroup","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyDistributionsAssociatedToKeyGroup"}}}},"538":{"description":"TooManyKeyGroupsAssociatedToDistribution","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyKeyGroupsAssociatedToDistribution"}}}},"539":{"description":"TrustedKeyGroupDoesNotExist","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TrustedKeyGroupDoesNotExist"}}}},"540":{"description":"NoSuchRealtimeLogConfig","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchRealtimeLogConfig"}}}},"541":{"description":"RealtimeLogConfigOwnerMismatch","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/RealtimeLogConfigOwnerMismatch"}}}},"542":{"description":"ContinuousDeploymentPolicyInUse","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ContinuousDeploymentPolicyInUse"}}}},"543":{"description":"NoSuchContinuousDeploymentPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchContinuousDeploymentPolicy"}}}},"544":{"description":"InvalidDomainNameForOriginAccessControl","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidDomainNameForOriginAccessControl"}}}}},"parameters":[],"requestBody":{"required":true,"content":{"text/xml":{"schema":{"type":"object","required":["DistributionConfig"],"properties":{"DistributionConfig":{"description":"A distribution configuration.","type":"object","properties":{"CallerReference":{"allOf":[{"$ref":"#/components/schemas/string"},{"description":"<p>A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.</p> <p>If the value of <code>CallerReference</code> is new (regardless of the content of the <code>DistributionConfig</code> object), CloudFront creates a new distribution.</p> <p>If <code>CallerReference</code> is a value that you already sent in a previous request to create a distribution, CloudFront returns a <code>DistributionAlreadyExists</code> error.</p>"}]},"Aliases":{"allOf":[{"$ref":"#/components/schemas/Aliases"},{"description":"A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution."}]},"DefaultRootObject":{"allOf":[{"$ref":"#/components/schemas/string"},{"description":"<p>The object that you want CloudFront to request from your origin (for example, <code>index.html</code>) when a viewer requests the root URL for your distribution (<code>https://www.example.com</code>) instead of an object in your distribution (<code>https://www.example.com/product-description.html</code>). Specifying a default root object avoids exposing the contents of your distribution.</p> <p>Specify only the object name, for example, <code>index.html</code>. Don't add a <code>/</code> before the object name.</p> <p>If you don't want to specify a default root object when you create a distribution, include an empty <code>DefaultRootObject</code> element.</p> <p>To delete the default root object from an existing distribution, update the distribution configuration and include an empty <code>DefaultRootObject</code> element.</p> <p>To replace the default root object, update the distribution configuration and specify the new object.</p> <p>For more information about the default root object, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html\">Creating a Default Root Object</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"}]},"Origins":{"allOf":[{"$ref":"#/components/schemas/Origins"},{"description":"A complex type that contains information about origins for this distribution."}]},"OriginGroups":{"allOf":[{"$ref":"#/components/schemas/OriginGroups"},{"description":"A complex type that contains information about origin groups for this distribution."}]},"DefaultCacheBehavior":{"allOf":[{"$ref":"#/components/schemas/DefaultCacheBehavior"},{"description":"A complex type that describes the default cache behavior if you don't specify a <code>CacheBehavior</code> element or if files don't match any of the values of <code>PathPattern</code> in <code>CacheBehavior</code> elements. You must create exactly one default cache behavior."}]},"CacheBehaviors":{"allOf":[{"$ref":"#/components/schemas/CacheBehaviors"},{"description":"A complex type that contains zero or more <code>CacheBehavior</code> elements."}]},"CustomErrorResponses":{"allOf":[{"$ref":"#/components/schemas/CustomErrorResponses"},{"description":"<p>A complex type that controls the following:</p> <ul> <li> <p>Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.</p> </li> <li> <p>How long CloudFront caches HTTP status codes in the 4xx and 5xx range.</p> </li> </ul> <p>For more information about custom error pages, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html\">Customizing Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"}]},"Comment":{"allOf":[{"$ref":"#/components/schemas/CommentType"},{"description":"A comment to describe the distribution. The comment cannot be longer than 128 characters."}]},"Logging":{"allOf":[{"$ref":"#/components/schemas/LoggingConfig"},{"description":"<p>A complex type that controls whether access logs are written for the distribution.</p> <p>For more information about logging, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html\">Access Logs</a> in the <i>Amazon CloudFront