{ "version":"2.0", "metadata":{ "apiVersion":"2016-09-29", "endpointPrefix":"cloudfront", "globalEndpoint":"cloudfront.amazonaws.com", "protocol":"rest-xml", "serviceAbbreviation":"CloudFront", "serviceFullName":"Amazon CloudFront", "serviceId":"CloudFront", "signatureVersion":"v4" }, "operations":{ "CreateCloudFrontOriginAccessIdentity":{ "name":"CreateCloudFrontOriginAccessIdentity2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/origin-access-identity/cloudfront", "responseCode":201 }, "input":{"shape":"CreateCloudFrontOriginAccessIdentityRequest"}, "output":{"shape":"CreateCloudFrontOriginAccessIdentityResult"}, "errors":[ {"shape":"CloudFrontOriginAccessIdentityAlreadyExists"}, {"shape":"MissingBody"}, {"shape":"TooManyCloudFrontOriginAccessIdentities"}, {"shape":"InvalidArgument"}, {"shape":"InconsistentQuantities"} ], "documentation":"

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.

" }, "CreateDistribution":{ "name":"CreateDistribution2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/distribution", "responseCode":201 }, "input":{"shape":"CreateDistributionRequest"}, "output":{"shape":"CreateDistributionResult"}, "errors":[ {"shape":"CNAMEAlreadyExists"}, {"shape":"DistributionAlreadyExists"}, {"shape":"InvalidOrigin"}, {"shape":"InvalidOriginAccessIdentity"}, {"shape":"AccessDenied"}, {"shape":"TooManyTrustedSigners"}, {"shape":"TrustedSignerDoesNotExist"}, {"shape":"InvalidViewerCertificate"}, {"shape":"InvalidMinimumProtocolVersion"}, {"shape":"MissingBody"}, {"shape":"TooManyDistributionCNAMEs"}, {"shape":"TooManyDistributions"}, {"shape":"InvalidDefaultRootObject"}, {"shape":"InvalidRelativePath"}, {"shape":"InvalidErrorCode"}, {"shape":"InvalidResponseCode"}, {"shape":"InvalidArgument"}, {"shape":"InvalidRequiredProtocol"}, {"shape":"NoSuchOrigin"}, {"shape":"TooManyOrigins"}, {"shape":"TooManyCacheBehaviors"}, {"shape":"TooManyCookieNamesInWhiteList"}, {"shape":"InvalidForwardCookies"}, {"shape":"TooManyHeadersInForwardedValues"}, {"shape":"InvalidHeadersForS3Origin"}, {"shape":"InconsistentQuantities"}, {"shape":"TooManyCertificates"}, {"shape":"InvalidLocationCode"}, {"shape":"InvalidGeoRestrictionParameter"}, {"shape":"InvalidProtocolSettings"}, {"shape":"InvalidTTLOrder"}, {"shape":"InvalidWebACLId"}, {"shape":"TooManyOriginCustomHeaders"}, {"shape":"TooManyQueryStringParameters"}, {"shape":"InvalidQueryStringParameters"} ], "documentation":"

Creates a new web distribution. Send a GET request to the /CloudFront API version/distribution/distribution ID resource.

" }, "CreateDistributionWithTags":{ "name":"CreateDistributionWithTags2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/distribution?WithTags", "responseCode":201 }, "input":{"shape":"CreateDistributionWithTagsRequest"}, "output":{"shape":"CreateDistributionWithTagsResult"}, "errors":[ {"shape":"CNAMEAlreadyExists"}, {"shape":"DistributionAlreadyExists"}, {"shape":"InvalidOrigin"}, {"shape":"InvalidOriginAccessIdentity"}, {"shape":"AccessDenied"}, {"shape":"TooManyTrustedSigners"}, {"shape":"TrustedSignerDoesNotExist"}, {"shape":"InvalidViewerCertificate"}, {"shape":"InvalidMinimumProtocolVersion"}, {"shape":"MissingBody"}, {"shape":"TooManyDistributionCNAMEs"}, {"shape":"TooManyDistributions"}, {"shape":"InvalidDefaultRootObject"}, {"shape":"InvalidRelativePath"}, {"shape":"InvalidErrorCode"}, {"shape":"InvalidResponseCode"}, {"shape":"InvalidArgument"}, {"shape":"InvalidRequiredProtocol"}, {"shape":"NoSuchOrigin"}, {"shape":"TooManyOrigins"}, {"shape":"TooManyCacheBehaviors"}, {"shape":"TooManyCookieNamesInWhiteList"}, {"shape":"InvalidForwardCookies"}, {"shape":"TooManyHeadersInForwardedValues"}, {"shape":"InvalidHeadersForS3Origin"}, {"shape":"InconsistentQuantities"}, {"shape":"TooManyCertificates"}, {"shape":"InvalidLocationCode"}, {"shape":"InvalidGeoRestrictionParameter"}, {"shape":"InvalidProtocolSettings"}, {"shape":"InvalidTTLOrder"}, {"shape":"InvalidWebACLId"}, {"shape":"TooManyOriginCustomHeaders"}, {"shape":"InvalidTagging"}, {"shape":"TooManyQueryStringParameters"}, {"shape":"InvalidQueryStringParameters"} ], "documentation":"

Create a new distribution with tags.

" }, "CreateInvalidation":{ "name":"CreateInvalidation2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/distribution/{DistributionId}/invalidation", "responseCode":201 }, "input":{"shape":"CreateInvalidationRequest"}, "output":{"shape":"CreateInvalidationResult"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"MissingBody"}, {"shape":"InvalidArgument"}, {"shape":"NoSuchDistribution"}, {"shape":"BatchTooLarge"}, {"shape":"TooManyInvalidationsInProgress"}, {"shape":"InconsistentQuantities"} ], "documentation":"

Create a new invalidation.

" }, "CreateStreamingDistribution":{ "name":"CreateStreamingDistribution2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/streaming-distribution", "responseCode":201 }, "input":{"shape":"CreateStreamingDistributionRequest"}, "output":{"shape":"CreateStreamingDistributionResult"}, "errors":[ {"shape":"CNAMEAlreadyExists"}, {"shape":"StreamingDistributionAlreadyExists"}, {"shape":"InvalidOrigin"}, {"shape":"InvalidOriginAccessIdentity"}, {"shape":"AccessDenied"}, {"shape":"TooManyTrustedSigners"}, {"shape":"TrustedSignerDoesNotExist"}, {"shape":"MissingBody"}, {"shape":"TooManyStreamingDistributionCNAMEs"}, {"shape":"TooManyStreamingDistributions"}, {"shape":"InvalidArgument"}, {"shape":"InconsistentQuantities"} ], "documentation":"

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.

" }, "CreateStreamingDistributionWithTags":{ "name":"CreateStreamingDistributionWithTags2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/streaming-distribution?WithTags", "responseCode":201 }, "input":{"shape":"CreateStreamingDistributionWithTagsRequest"}, "output":{"shape":"CreateStreamingDistributionWithTagsResult"}, "errors":[ {"shape":"CNAMEAlreadyExists"}, {"shape":"StreamingDistributionAlreadyExists"}, {"shape":"InvalidOrigin"}, {"shape":"InvalidOriginAccessIdentity"}, {"shape":"AccessDenied"}, {"shape":"TooManyTrustedSigners"}, {"shape":"TrustedSignerDoesNotExist"}, {"shape":"MissingBody"}, {"shape":"TooManyStreamingDistributionCNAMEs"}, {"shape":"TooManyStreamingDistributions"}, {"shape":"InvalidArgument"}, {"shape":"InconsistentQuantities"}, {"shape":"InvalidTagging"} ], "documentation":"

Create a new streaming distribution with tags.

" }, "DeleteCloudFrontOriginAccessIdentity":{ "name":"DeleteCloudFrontOriginAccessIdentity2016_09_29", "http":{ "method":"DELETE", "requestUri":"/2016-09-29/origin-access-identity/cloudfront/{Id}", "responseCode":204 }, "input":{"shape":"DeleteCloudFrontOriginAccessIdentityRequest"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"InvalidIfMatchVersion"}, {"shape":"NoSuchCloudFrontOriginAccessIdentity"}, {"shape":"PreconditionFailed"}, {"shape":"CloudFrontOriginAccessIdentityInUse"} ], "documentation":"

Delete an origin access identity.

" }, "DeleteDistribution":{ "name":"DeleteDistribution2016_09_29", "http":{ "method":"DELETE", "requestUri":"/2016-09-29/distribution/{Id}", "responseCode":204 }, "input":{"shape":"DeleteDistributionRequest"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"DistributionNotDisabled"}, {"shape":"InvalidIfMatchVersion"}, {"shape":"NoSuchDistribution"}, {"shape":"PreconditionFailed"} ], "documentation":"

Delete a distribution.

" }, "DeleteStreamingDistribution":{ "name":"DeleteStreamingDistribution2016_09_29", "http":{ "method":"DELETE", "requestUri":"/2016-09-29/streaming-distribution/{Id}", "responseCode":204 }, "input":{"shape":"DeleteStreamingDistributionRequest"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"StreamingDistributionNotDisabled"}, {"shape":"InvalidIfMatchVersion"}, {"shape":"NoSuchStreamingDistribution"}, {"shape":"PreconditionFailed"} ], "documentation":"

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.

" }, "GetCloudFrontOriginAccessIdentity":{ "name":"GetCloudFrontOriginAccessIdentity2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/origin-access-identity/cloudfront/{Id}" }, "input":{"shape":"GetCloudFrontOriginAccessIdentityRequest"}, "output":{"shape":"GetCloudFrontOriginAccessIdentityResult"}, "errors":[ {"shape":"NoSuchCloudFrontOriginAccessIdentity"}, {"shape":"AccessDenied"} ], "documentation":"

Get the information about an origin access identity.

" }, "GetCloudFrontOriginAccessIdentityConfig":{ "name":"GetCloudFrontOriginAccessIdentityConfig2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/origin-access-identity/cloudfront/{Id}/config" }, "input":{"shape":"GetCloudFrontOriginAccessIdentityConfigRequest"}, "output":{"shape":"GetCloudFrontOriginAccessIdentityConfigResult"}, "errors":[ {"shape":"NoSuchCloudFrontOriginAccessIdentity"}, {"shape":"AccessDenied"} ], "documentation":"

Get the configuration information about an origin access identity.

" }, "GetDistribution":{ "name":"GetDistribution2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/distribution/{Id}" }, "input":{"shape":"GetDistributionRequest"}, "output":{"shape":"GetDistributionResult"}, "errors":[ {"shape":"NoSuchDistribution"}, {"shape":"AccessDenied"} ], "documentation":"

Get the information about a distribution.

" }, "GetDistributionConfig":{ "name":"GetDistributionConfig2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/distribution/{Id}/config" }, "input":{"shape":"GetDistributionConfigRequest"}, "output":{"shape":"GetDistributionConfigResult"}, "errors":[ {"shape":"NoSuchDistribution"}, {"shape":"AccessDenied"} ], "documentation":"

Get the configuration information about a distribution.

" }, "GetInvalidation":{ "name":"GetInvalidation2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/distribution/{DistributionId}/invalidation/{Id}" }, "input":{"shape":"GetInvalidationRequest"}, "output":{"shape":"GetInvalidationResult"}, "errors":[ {"shape":"NoSuchInvalidation"}, {"shape":"NoSuchDistribution"}, {"shape":"AccessDenied"} ], "documentation":"

Get the information about an invalidation.

" }, "GetStreamingDistribution":{ "name":"GetStreamingDistribution2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/streaming-distribution/{Id}" }, "input":{"shape":"GetStreamingDistributionRequest"}, "output":{"shape":"GetStreamingDistributionResult"}, "errors":[ {"shape":"NoSuchStreamingDistribution"}, {"shape":"AccessDenied"} ], "documentation":"

Gets information about a specified RTMP distribution, including the distribution configuration.

" }, "GetStreamingDistributionConfig":{ "name":"GetStreamingDistributionConfig2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/streaming-distribution/{Id}/config" }, "input":{"shape":"GetStreamingDistributionConfigRequest"}, "output":{"shape":"GetStreamingDistributionConfigResult"}, "errors":[ {"shape":"NoSuchStreamingDistribution"}, {"shape":"AccessDenied"} ], "documentation":"

Get the configuration information about a streaming distribution.

" }, "ListCloudFrontOriginAccessIdentities":{ "name":"ListCloudFrontOriginAccessIdentities2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/origin-access-identity/cloudfront" }, "input":{"shape":"ListCloudFrontOriginAccessIdentitiesRequest"}, "output":{"shape":"ListCloudFrontOriginAccessIdentitiesResult"}, "errors":[ {"shape":"InvalidArgument"} ], "documentation":"

Lists origin access identities.

" }, "ListDistributions":{ "name":"ListDistributions2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/distribution" }, "input":{"shape":"ListDistributionsRequest"}, "output":{"shape":"ListDistributionsResult"}, "errors":[ {"shape":"InvalidArgument"} ], "documentation":"

List distributions.

" }, "ListDistributionsByWebACLId":{ "name":"ListDistributionsByWebACLId2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/distributionsByWebACLId/{WebACLId}" }, "input":{"shape":"ListDistributionsByWebACLIdRequest"}, "output":{"shape":"ListDistributionsByWebACLIdResult"}, "errors":[ {"shape":"InvalidArgument"}, {"shape":"InvalidWebACLId"} ], "documentation":"

List the distributions that are associated with a specified AWS WAF web ACL.

" }, "ListInvalidations":{ "name":"ListInvalidations2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/distribution/{DistributionId}/invalidation" }, "input":{"shape":"ListInvalidationsRequest"}, "output":{"shape":"ListInvalidationsResult"}, "errors":[ {"shape":"InvalidArgument"}, {"shape":"NoSuchDistribution"}, {"shape":"AccessDenied"} ], "documentation":"

Lists invalidation batches.

" }, "ListStreamingDistributions":{ "name":"ListStreamingDistributions2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/streaming-distribution" }, "input":{"shape":"ListStreamingDistributionsRequest"}, "output":{"shape":"ListStreamingDistributionsResult"}, "errors":[ {"shape":"InvalidArgument"} ], "documentation":"

List streaming distributions.

" }, "ListTagsForResource":{ "name":"ListTagsForResource2016_09_29", "http":{ "method":"GET", "requestUri":"/2016-09-29/tagging" }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResult"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"InvalidArgument"}, {"shape":"InvalidTagging"}, {"shape":"NoSuchResource"} ], "documentation":"

List tags for a CloudFront resource.

" }, "TagResource":{ "name":"TagResource2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/tagging?Operation=Tag", "responseCode":204 }, "input":{"shape":"TagResourceRequest"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"InvalidArgument"}, {"shape":"InvalidTagging"}, {"shape":"NoSuchResource"} ], "documentation":"

Add tags to a CloudFront resource.

" }, "UntagResource":{ "name":"UntagResource2016_09_29", "http":{ "method":"POST", "requestUri":"/2016-09-29/tagging?Operation=Untag", "responseCode":204 }, "input":{"shape":"UntagResourceRequest"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"InvalidArgument"}, {"shape":"InvalidTagging"}, {"shape":"NoSuchResource"} ], "documentation":"

Remove tags from a CloudFront resource.

" }, "UpdateCloudFrontOriginAccessIdentity":{ "name":"UpdateCloudFrontOriginAccessIdentity2016_09_29", "http":{ "method":"PUT", "requestUri":"/2016-09-29/origin-access-identity/cloudfront/{Id}/config" }, "input":{"shape":"UpdateCloudFrontOriginAccessIdentityRequest"}, "output":{"shape":"UpdateCloudFrontOriginAccessIdentityResult"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"IllegalUpdate"}, {"shape":"InvalidIfMatchVersion"}, {"shape":"MissingBody"}, {"shape":"NoSuchCloudFrontOriginAccessIdentity"}, {"shape":"PreconditionFailed"}, {"shape":"InvalidArgument"}, {"shape":"InconsistentQuantities"} ], "documentation":"

Update an origin access identity.

" }, "UpdateDistribution":{ "name":"UpdateDistribution2016_09_29", "http":{ "method":"PUT", "requestUri":"/2016-09-29/distribution/{Id}/config" }, "input":{"shape":"UpdateDistributionRequest"}, "output":{"shape":"UpdateDistributionResult"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"CNAMEAlreadyExists"}, {"shape":"IllegalUpdate"}, {"shape":"InvalidIfMatchVersion"}, {"shape":"MissingBody"}, {"shape":"NoSuchDistribution"}, {"shape":"PreconditionFailed"}, {"shape":"TooManyDistributionCNAMEs"}, {"shape":"InvalidDefaultRootObject"}, {"shape":"InvalidRelativePath"}, {"shape":"InvalidErrorCode"}, {"shape":"InvalidResponseCode"}, {"shape":"InvalidArgument"}, {"shape":"InvalidOriginAccessIdentity"}, {"shape":"TooManyTrustedSigners"}, {"shape":"TrustedSignerDoesNotExist"}, {"shape":"InvalidViewerCertificate"}, {"shape":"InvalidMinimumProtocolVersion"}, {"shape":"InvalidRequiredProtocol"}, {"shape":"NoSuchOrigin"}, {"shape":"TooManyOrigins"}, {"shape":"TooManyCacheBehaviors"}, {"shape":"TooManyCookieNamesInWhiteList"}, {"shape":"InvalidForwardCookies"}, {"shape":"TooManyHeadersInForwardedValues"}, {"shape":"InvalidHeadersForS3Origin"}, {"shape":"InconsistentQuantities"}, {"shape":"TooManyCertificates"}, {"shape":"InvalidLocationCode"}, {"shape":"InvalidGeoRestrictionParameter"}, {"shape":"InvalidTTLOrder"}, {"shape":"InvalidWebACLId"}, {"shape":"TooManyOriginCustomHeaders"}, {"shape":"TooManyQueryStringParameters"}, {"shape":"InvalidQueryStringParameters"} ], "documentation":"

Update a distribution.

" }, "UpdateStreamingDistribution":{ "name":"UpdateStreamingDistribution2016_09_29", "http":{ "method":"PUT", "requestUri":"/2016-09-29/streaming-distribution/{Id}/config" }, "input":{"shape":"UpdateStreamingDistributionRequest"}, "output":{"shape":"UpdateStreamingDistributionResult"}, "errors":[ {"shape":"AccessDenied"}, {"shape":"CNAMEAlreadyExists"}, {"shape":"IllegalUpdate"}, {"shape":"InvalidIfMatchVersion"}, {"shape":"MissingBody"}, {"shape":"NoSuchStreamingDistribution"}, {"shape":"PreconditionFailed"}, {"shape":"TooManyStreamingDistributionCNAMEs"}, {"shape":"InvalidArgument"}, {"shape":"InvalidOriginAccessIdentity"}, {"shape":"TooManyTrustedSigners"}, {"shape":"TrustedSignerDoesNotExist"}, {"shape":"InconsistentQuantities"} ], "documentation":"

Update a streaming distribution.

" } }, "shapes":{ "AccessDenied":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Access denied.

", "error":{"httpStatusCode":403}, "exception":true }, "ActiveTrustedSigners":{ "type":"structure", "required":[ "Enabled", "Quantity" ], "members":{ "Enabled":{ "shape":"boolean", "documentation":"

Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type for this RTMP distribution have active CloudFront key pairs. If not, Enabled is false.

For more information, see ActiveTrustedSigners.

" }, "Quantity":{ "shape":"integer", "documentation":"

A complex type that contains one Signer complex type for each trusted signer specified in the TrustedSigners complex type.

For more information, see ActiveTrustedSigners.

" }, "Items":{ "shape":"SignerList", "documentation":"

A complex type that contains one Signer complex type for each trusted signer that is specified in the TrustedSigners complex type.

For more information, see ActiveTrustedSigners.

" } }, "documentation":"

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":"list", "member":{ "shape":"string", "locationName":"CNAME" } }, "Aliases":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of CNAME aliases, if any, that you want to associate with this distribution.

" }, "Items":{ "shape":"AliasList", "documentation":"

A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

" } }, "documentation":"

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

" }, "AllowedMethods":{ "type":"structure", "required":[ "Quantity", "Items" ], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

" }, "Items":{ "shape":"MethodsList", "documentation":"

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

" }, "CachedMethods":{"shape":"CachedMethods"} }, "documentation":"

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":"list", "member":{ "shape":"string", "locationName":"AwsAccountNumber" } }, "BatchTooLarge":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":413}, "exception":true }, "CNAMEAlreadyExists":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":409}, "exception":true }, "CacheBehavior":{ "type":"structure", "required":[ "PathPattern", "TargetOriginId", "ForwardedValues", "TrustedSigners", "ViewerProtocolPolicy", "MinTTL" ], "members":{ "PathPattern":{ "shape":"string", "documentation":"

The pattern (for example, images/*.jpg) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution.

You can optionally include a slash (/) at the beginning of the path pattern. For example, /images/*.jpg. CloudFront behavior is the same with or without the leading /.

The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.

For more information, see Path Pattern in the Amazon CloudFront Developer Guide.

" }, "TargetOriginId":{ "shape":"string", "documentation":"

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

" }, "ForwardedValues":{ "shape":"ForwardedValues", "documentation":"

A complex type that specifies how CloudFront handles query strings and cookies.

" }, "TrustedSigners":{ "shape":"TrustedSigners", "documentation":"

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.

" }, "ViewerProtocolPolicy":{ "shape":"ViewerProtocolPolicy", "documentation":"

The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

" }, "MinTTL":{ "shape":"long", "documentation":"

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

" }, "AllowedMethods":{"shape":"AllowedMethods"}, "SmoothStreaming":{ "shape":"boolean", "documentation":"

Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

" }, "DefaultTTL":{ "shape":"long", "documentation":"

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

" }, "MaxTTL":{ "shape":"long", "documentation":"

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

" }, "Compress":{ "shape":"boolean", "documentation":"

Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

" } }, "documentation":"

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":"list", "member":{ "shape":"CacheBehavior", "locationName":"CacheBehavior" } }, "CacheBehaviors":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of cache behaviors for this distribution.

" }, "Items":{ "shape":"CacheBehaviorList", "documentation":"

Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

" } }, "documentation":"

A complex type that contains zero or more CacheBehavior elements.

" }, "CachedMethods":{ "type":"structure", "required":[ "Quantity", "Items" ], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests).

" }, "Items":{ "shape":"MethodsList", "documentation":"

A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

" } }, "documentation":"

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.

" }, "CertificateSource":{ "type":"string", "enum":[ "cloudfront", "iam", "acm" ] }, "CloudFrontOriginAccessIdentity":{ "type":"structure", "required":[ "Id", "S3CanonicalUserId" ], "members":{ "Id":{ "shape":"string", "documentation":"

The ID for the origin access identity. For example: E74FTE3AJFJ256A.

" }, "S3CanonicalUserId":{ "shape":"string", "documentation":"

The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

" }, "CloudFrontOriginAccessIdentityConfig":{ "shape":"CloudFrontOriginAccessIdentityConfig", "documentation":"

The current configuration information for the identity.

" } }, "documentation":"

CloudFront origin access identity.

" }, "CloudFrontOriginAccessIdentityAlreadyExists":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

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.

", "error":{"httpStatusCode":409}, "exception":true }, "CloudFrontOriginAccessIdentityConfig":{ "type":"structure", "required":[ "CallerReference", "Comment" ], "members":{ "CallerReference":{ "shape":"string", "documentation":"

A unique number that ensures the request can't be replayed.

If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.

If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

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.

" }, "Comment":{ "shape":"string", "documentation":"

Any comments you want to include about the origin access identity.

" } }, "documentation":"

Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.

" }, "CloudFrontOriginAccessIdentityInUse":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":409}, "exception":true }, "CloudFrontOriginAccessIdentityList":{ "type":"structure", "required":[ "Marker", "MaxItems", "IsTruncated", "Quantity" ], "members":{ "Marker":{ "shape":"string", "documentation":"

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).

" }, "NextMarker":{ "shape":"string", "documentation":"

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.

" }, "MaxItems":{ "shape":"integer", "documentation":"

The maximum number of origin access identities you want in the response body.

" }, "IsTruncated":{ "shape":"boolean", "documentation":"

A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.

" }, "Quantity":{ "shape":"integer", "documentation":"

The number of CloudFront origin access identities that were created by the current AWS account.

" }, "Items":{ "shape":"CloudFrontOriginAccessIdentitySummaryList", "documentation":"

A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account.

" } }, "documentation":"

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":"structure", "required":[ "Id", "S3CanonicalUserId", "Comment" ], "members":{ "Id":{ "shape":"string", "documentation":"

The ID for the origin access identity. For example: E74FTE3AJFJ256A.

" }, "S3CanonicalUserId":{ "shape":"string", "documentation":"

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

" }, "Comment":{ "shape":"string", "documentation":"

The comment for this origin access identity, as originally specified when created.

" } }, "documentation":"

Summary of the information about a CloudFront origin access identity.

" }, "CloudFrontOriginAccessIdentitySummaryList":{ "type":"list", "member":{ "shape":"CloudFrontOriginAccessIdentitySummary", "locationName":"CloudFrontOriginAccessIdentitySummary" } }, "CookieNameList":{ "type":"list", "member":{ "shape":"string", "locationName":"Name" } }, "CookieNames":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.

" }, "Items":{ "shape":"CookieNameList", "documentation":"

A complex type that contains one Name element for each cookie that you want CloudFront to forward to the origin for this cache behavior.

" } }, "documentation":"

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.

" }, "CookiePreference":{ "type":"structure", "required":["Forward"], "members":{ "Forward":{ "shape":"ItemSelection", "documentation":"

Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type.

Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element.

" }, "WhitelistedNames":{ "shape":"CookieNames", "documentation":"

Required if you specify whitelist for the value of Forward:. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies.

If you specify all or none for the value of Forward, omit WhitelistedNames. If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically.

For the current limit on the number of cookie names that you can whitelist for each cache behavior, see Amazon CloudFront Limits in the AWS General Reference.

" } }, "documentation":"

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":"structure", "required":["CloudFrontOriginAccessIdentityConfig"], "members":{ "CloudFrontOriginAccessIdentityConfig":{ "shape":"CloudFrontOriginAccessIdentityConfig", "documentation":"

The current configuration information for the identity.

", "locationName":"CloudFrontOriginAccessIdentityConfig", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to create a new origin access identity.

", "payload":"CloudFrontOriginAccessIdentityConfig" }, "CreateCloudFrontOriginAccessIdentityResult":{ "type":"structure", "members":{ "CloudFrontOriginAccessIdentity":{ "shape":"CloudFrontOriginAccessIdentity", "documentation":"

The origin access identity's information.

" }, "Location":{ "shape":"string", "documentation":"

The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.

", "location":"header", "locationName":"Location" }, "ETag":{ "shape":"string", "documentation":"

The current version of the origin access identity created.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"CloudFrontOriginAccessIdentity" }, "CreateDistributionRequest":{ "type":"structure", "required":["DistributionConfig"], "members":{ "DistributionConfig":{ "shape":"DistributionConfig", "documentation":"

The distribution's configuration information.

", "locationName":"DistributionConfig", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to create a new distribution.

", "payload":"DistributionConfig" }, "CreateDistributionResult":{ "type":"structure", "members":{ "Distribution":{ "shape":"Distribution", "documentation":"

The distribution's information.

" }, "Location":{ "shape":"string", "documentation":"

The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.

", "location":"header", "locationName":"Location" }, "ETag":{ "shape":"string", "documentation":"

The current version of the distribution created.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Distribution" }, "CreateDistributionWithTagsRequest":{ "type":"structure", "required":["DistributionConfigWithTags"], "members":{ "DistributionConfigWithTags":{ "shape":"DistributionConfigWithTags", "documentation":"

The distribution's configuration information.

", "locationName":"DistributionConfigWithTags", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to create a new distribution with tags.

", "payload":"DistributionConfigWithTags" }, "CreateDistributionWithTagsResult":{ "type":"structure", "members":{ "Distribution":{ "shape":"Distribution", "documentation":"

The distribution's information.

" }, "Location":{ "shape":"string", "documentation":"

The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.

", "location":"header", "locationName":"Location" }, "ETag":{ "shape":"string", "documentation":"

The current version of the distribution created.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Distribution" }, "CreateInvalidationRequest":{ "type":"structure", "required":[ "DistributionId", "InvalidationBatch" ], "members":{ "DistributionId":{ "shape":"string", "documentation":"

The distribution's id.

", "location":"uri", "locationName":"DistributionId" }, "InvalidationBatch":{ "shape":"InvalidationBatch", "documentation":"

The batch information for the invalidation.

", "locationName":"InvalidationBatch", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to create an invalidation.

", "payload":"InvalidationBatch" }, "CreateInvalidationResult":{ "type":"structure", "members":{ "Location":{ "shape":"string", "documentation":"

The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.

", "location":"header", "locationName":"Location" }, "Invalidation":{ "shape":"Invalidation", "documentation":"

The invalidation's information.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Invalidation" }, "CreateStreamingDistributionRequest":{ "type":"structure", "required":["StreamingDistributionConfig"], "members":{ "StreamingDistributionConfig":{ "shape":"StreamingDistributionConfig", "documentation":"

The streaming distribution's configuration information.

", "locationName":"StreamingDistributionConfig", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to create a new streaming distribution.

", "payload":"StreamingDistributionConfig" }, "CreateStreamingDistributionResult":{ "type":"structure", "members":{ "StreamingDistribution":{ "shape":"StreamingDistribution", "documentation":"

The streaming distribution's information.

" }, "Location":{ "shape":"string", "documentation":"

The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8.

", "location":"header", "locationName":"Location" }, "ETag":{ "shape":"string", "documentation":"

The current version of the streaming distribution created.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"StreamingDistribution" }, "CreateStreamingDistributionWithTagsRequest":{ "type":"structure", "required":["StreamingDistributionConfigWithTags"], "members":{ "StreamingDistributionConfigWithTags":{ "shape":"StreamingDistributionConfigWithTags", "documentation":"

The streaming distribution's configuration information.

", "locationName":"StreamingDistributionConfigWithTags", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to create a new streaming distribution with tags.

", "payload":"StreamingDistributionConfigWithTags" }, "CreateStreamingDistributionWithTagsResult":{ "type":"structure", "members":{ "StreamingDistribution":{ "shape":"StreamingDistribution", "documentation":"

The streaming distribution's information.

" }, "Location":{ "shape":"string", "documentation":"

The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8.

", "location":"header", "locationName":"Location" }, "ETag":{ "shape":"string", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"StreamingDistribution" }, "CustomErrorResponse":{ "type":"structure", "required":["ErrorCode"], "members":{ "ErrorCode":{ "shape":"integer", "documentation":"

The HTTP status code for which you want to specify a custom error page and/or a caching duration.

" }, "ResponsePagePath":{ "shape":"string", "documentation":"

The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true:

If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode. If you don't want to specify a value, include an empty element, <ResponsePagePath>, in the XML document.

We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

" }, "ResponseCode":{ "shape":"string", "documentation":"

The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example:

If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath. If you don't want to specify a value, include an empty element, <ResponseCode>, in the XML document.

" }, "ErrorCachingMinTTL":{ "shape":"long", "documentation":"

The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available.

If you don't want to specify a value, include an empty element, <ErrorCachingMinTTL>, in the XML document.

For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

" } }, "documentation":"

A complex type that controls:

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

" }, "CustomErrorResponseList":{ "type":"list", "member":{ "shape":"CustomErrorResponse", "locationName":"CustomErrorResponse" } }, "CustomErrorResponses":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

" }, "Items":{ "shape":"CustomErrorResponseList", "documentation":"

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

" } }, "documentation":"

A complex type that controls:

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

" }, "CustomHeaders":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of custom headers, if any, for this distribution.

" }, "Items":{ "shape":"OriginCustomHeadersList", "documentation":"

Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

" } }, "documentation":"

A complex type that contains the list of Custom Headers for each origin.

" }, "CustomOriginConfig":{ "type":"structure", "required":[ "HTTPPort", "HTTPSPort", "OriginProtocolPolicy" ], "members":{ "HTTPPort":{ "shape":"integer", "documentation":"

The HTTP port the custom origin listens on.

" }, "HTTPSPort":{ "shape":"integer", "documentation":"

The HTTPS port the custom origin listens on.

" }, "OriginProtocolPolicy":{ "shape":"OriginProtocolPolicy", "documentation":"

The origin protocol policy to apply to your origin.

" }, "OriginSslProtocols":{ "shape":"OriginSslProtocols", "documentation":"

The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.

" } }, "documentation":"

A customer origin.

" }, "DefaultCacheBehavior":{ "type":"structure", "required":[ "TargetOriginId", "ForwardedValues", "TrustedSigners", "ViewerProtocolPolicy", "MinTTL" ], "members":{ "TargetOriginId":{ "shape":"string", "documentation":"

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

" }, "ForwardedValues":{ "shape":"ForwardedValues", "documentation":"

A complex type that specifies how CloudFront handles query strings and cookies.

" }, "TrustedSigners":{ "shape":"TrustedSigners", "documentation":"

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.

" }, "ViewerProtocolPolicy":{ "shape":"ViewerProtocolPolicy", "documentation":"

The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

" }, "MinTTL":{ "shape":"long", "documentation":"

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

" }, "AllowedMethods":{"shape":"AllowedMethods"}, "SmoothStreaming":{ "shape":"boolean", "documentation":"

Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

" }, "DefaultTTL":{ "shape":"long", "documentation":"

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

" }, "MaxTTL":{"shape":"long"}, "Compress":{ "shape":"boolean", "documentation":"

Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

" } }, "documentation":"

A complex type that describes the default cache behavior if you do not 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.

" }, "DeleteCloudFrontOriginAccessIdentityRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The origin access identity's ID.

", "location":"uri", "locationName":"Id" }, "IfMatch":{ "shape":"string", "documentation":"

The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"If-Match" } }, "documentation":"

Deletes a origin access identity.

" }, "DeleteDistributionRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The distribution ID.

", "location":"uri", "locationName":"Id" }, "IfMatch":{ "shape":"string", "documentation":"

The value of the ETag header that you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"If-Match" } }, "documentation":"

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.

" }, "DeleteStreamingDistributionRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The distribution ID.

", "location":"uri", "locationName":"Id" }, "IfMatch":{ "shape":"string", "documentation":"

The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"If-Match" } }, "documentation":"

The request to delete a streaming distribution.

" }, "Distribution":{ "type":"structure", "required":[ "Id", "ARN", "Status", "LastModifiedTime", "InProgressInvalidationBatches", "DomainName", "ActiveTrustedSigners", "DistributionConfig" ], "members":{ "Id":{ "shape":"string", "documentation":"

The identifier for the distribution. For example: EDFDVBD632BHDS5.

" }, "ARN":{ "shape":"string", "documentation":"

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

" }, "Status":{ "shape":"string", "documentation":"

This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

" }, "LastModifiedTime":{ "shape":"timestamp", "documentation":"

The date and time the distribution was last modified.

" }, "InProgressInvalidationBatches":{ "shape":"integer", "documentation":"

The number of invalidation batches currently in progress.

" }, "DomainName":{ "shape":"string", "documentation":"

The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

" }, "ActiveTrustedSigners":{ "shape":"ActiveTrustedSigners", "documentation":"

CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create working signed URLs.

" }, "DistributionConfig":{ "shape":"DistributionConfig", "documentation":"

The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource.

" } }, "documentation":"

The distribution's information.

" }, "DistributionAlreadyExists":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The caller reference you attempted to create the distribution with is associated with another distribution.

", "error":{"httpStatusCode":409}, "exception":true }, "DistributionConfig":{ "type":"structure", "required":[ "CallerReference", "Origins", "DefaultCacheBehavior", "Comment", "Enabled" ], "members":{ "CallerReference":{ "shape":"string", "documentation":"

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value you already sent in a previous request to create a distribution, and if the content of the DistributionConfig is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request.

If CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

" }, "Aliases":{ "shape":"Aliases", "documentation":"

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

" }, "DefaultRootObject":{ "shape":"string", "documentation":"

The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Do not add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

" }, "Origins":{ "shape":"Origins", "documentation":"

A complex type that contains information about origins for this distribution.

" }, "DefaultCacheBehavior":{ "shape":"DefaultCacheBehavior", "documentation":"

A complex type that describes the default cache behavior if you do not 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":{ "shape":"CacheBehaviors", "documentation":"

A complex type that contains zero or more CacheBehavior elements.

" }, "CustomErrorResponses":{ "shape":"CustomErrorResponses", "documentation":"

A complex type that controls the following:

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

" }, "Comment":{ "shape":"string", "documentation":"

Any comments you want to include about the distribution.

If you don't want to specify a comment, include an empty Comment element.

To delete an existing comment, update the distribution configuration and include an empty Comment element.

To add or change a comment, update the distribution configuration and specify the new comment.

" }, "Logging":{ "shape":"LoggingConfig", "documentation":"

A complex type that controls whether access logs are written for the distribution.

For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

" }, "PriceClass":{ "shape":"PriceClass", "documentation":"

The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes map to CloudFront regions, see Amazon CloudFront Pricing.

" }, "Enabled":{ "shape":"boolean", "documentation":"

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket.

If you do not want to enable logging when you create a distribution, or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements.

If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.

" }, "ViewerCertificate":{"shape":"ViewerCertificate"}, "Restrictions":{"shape":"Restrictions"}, "WebACLId":{ "shape":"string", "documentation":"

A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution.

AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the AWS WAF Developer Guide.

" }, "HttpVersion":{ "shape":"HttpVersion", "documentation":"

(Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for \"http/2 optimization.\"

" }, "IsIPV6Enabled":{ "shape":"boolean", "documentation":"

If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, do not enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

If you're using an Amazon Route 53 alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Amazon Route 53 Developer Guide.

If you created a CNAME resource record set, either with Amazon Route 53 or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

" } }, "documentation":"

A distribution configuration.

" }, "DistributionConfigWithTags":{ "type":"structure", "required":[ "DistributionConfig", "Tags" ], "members":{ "DistributionConfig":{ "shape":"DistributionConfig", "documentation":"

A distribution configuration.

" }, "Tags":{ "shape":"Tags", "documentation":"

A complex type that contains zero or more Tag elements.

" } }, "documentation":"

A distribution Configuration and a list of tags to be associated with the distribution.

" }, "DistributionList":{ "type":"structure", "required":[ "Marker", "MaxItems", "IsTruncated", "Quantity" ], "members":{ "Marker":{ "shape":"string", "documentation":"

The value you provided for the Marker request parameter.

" }, "NextMarker":{ "shape":"string", "documentation":"

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

" }, "MaxItems":{ "shape":"integer", "documentation":"

The value you provided for the MaxItems request parameter.

" }, "IsTruncated":{ "shape":"boolean", "documentation":"

A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

" }, "Quantity":{ "shape":"integer", "documentation":"

The number of distributions that were created by the current AWS account.

" }, "Items":{ "shape":"DistributionSummaryList", "documentation":"

A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account.

" } }, "documentation":"

A distribution list.

" }, "DistributionNotDisabled":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":409}, "exception":true }, "DistributionSummary":{ "type":"structure", "required":[ "Id", "ARN", "Status", "LastModifiedTime", "DomainName", "Aliases", "Origins", "DefaultCacheBehavior", "CacheBehaviors", "CustomErrorResponses", "Comment", "PriceClass", "Enabled", "ViewerCertificate", "Restrictions", "WebACLId", "HttpVersion", "IsIPV6Enabled" ], "members":{ "Id":{ "shape":"string", "documentation":"

The identifier for the distribution. For example: EDFDVBD632BHDS5.

" }, "ARN":{ "shape":"string", "documentation":"

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

" }, "Status":{ "shape":"string", "documentation":"

The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

" }, "LastModifiedTime":{ "shape":"timestamp", "documentation":"

The date and time the distribution was last modified.

" }, "DomainName":{ "shape":"string", "documentation":"

The domain name that corresponds to the distribution. For example: d604721fxaaqy9.cloudfront.net.

" }, "Aliases":{ "shape":"Aliases", "documentation":"

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

" }, "Origins":{ "shape":"Origins", "documentation":"

A complex type that contains information about origins for this distribution.

" }, "DefaultCacheBehavior":{ "shape":"DefaultCacheBehavior", "documentation":"

A complex type that describes the default cache behavior if you do not 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":{ "shape":"CacheBehaviors", "documentation":"

A complex type that contains zero or more CacheBehavior elements.

" }, "CustomErrorResponses":{ "shape":"CustomErrorResponses", "documentation":"

A complex type that contains zero or more CustomErrorResponses elements.

" }, "Comment":{ "shape":"string", "documentation":"

The comment originally specified when this distribution was created.

" }, "PriceClass":{"shape":"PriceClass"}, "Enabled":{ "shape":"boolean", "documentation":"

Whether the distribution is enabled to accept user requests for content.

" }, "ViewerCertificate":{"shape":"ViewerCertificate"}, "Restrictions":{"shape":"Restrictions"}, "WebACLId":{ "shape":"string", "documentation":"

The Web ACL Id (if any) associated with the distribution.

" }, "HttpVersion":{ "shape":"HttpVersion", "documentation":"

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

" }, "IsIPV6Enabled":{ "shape":"boolean", "documentation":"

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

" } }, "documentation":"

A summary of the information about a CloudFront distribution.

" }, "DistributionSummaryList":{ "type":"list", "member":{ "shape":"DistributionSummary", "locationName":"DistributionSummary" } }, "ForwardedValues":{ "type":"structure", "required":[ "QueryString", "Cookies" ], "members":{ "QueryString":{ "shape":"boolean", "documentation":"

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any:

If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

" }, "Cookies":{ "shape":"CookiePreference", "documentation":"

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.

" }, "Headers":{ "shape":"Headers", "documentation":"

A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.

" }, "QueryStringCacheKeys":{ "shape":"QueryStringCacheKeys", "documentation":"

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

" } }, "documentation":"

A complex type that specifies how CloudFront handles query strings and cookies.

" }, "GeoRestriction":{ "type":"structure", "required":[ "RestrictionType", "Quantity" ], "members":{ "RestrictionType":{ "shape":"GeoRestrictionType", "documentation":"

The method that you want to use to restrict distribution of your content by country:

" }, "Quantity":{ "shape":"integer", "documentation":"

When geo restriction is enabled, this is the number of countries in your whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, and you can omit Items.

" }, "Items":{ "shape":"LocationList", "documentation":"

A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist).

The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist. Include one Location element for each country.

CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the International Organization for Standardization website. You can also refer to the country list in the CloudFront console, which includes both country names and codes.

" } }, "documentation":"

A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

" }, "GeoRestrictionType":{ "type":"string", "enum":[ "blacklist", "whitelist", "none" ] }, "GetCloudFrontOriginAccessIdentityConfigRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The identity's ID.

", "location":"uri", "locationName":"Id" } }, "documentation":"

The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfigComplexType.

" }, "GetCloudFrontOriginAccessIdentityConfigResult":{ "type":"structure", "members":{ "CloudFrontOriginAccessIdentityConfig":{ "shape":"CloudFrontOriginAccessIdentityConfig", "documentation":"

The origin access identity's configuration information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"CloudFrontOriginAccessIdentityConfig" }, "GetCloudFrontOriginAccessIdentityRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The identity's ID.

", "location":"uri", "locationName":"Id" } }, "documentation":"

The request to get an origin access identity's information.

" }, "GetCloudFrontOriginAccessIdentityResult":{ "type":"structure", "members":{ "CloudFrontOriginAccessIdentity":{ "shape":"CloudFrontOriginAccessIdentity", "documentation":"

The origin access identity's information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"CloudFrontOriginAccessIdentity" }, "GetDistributionConfigRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The distribution's ID.

", "location":"uri", "locationName":"Id" } }, "documentation":"

The request to get a distribution configuration.

" }, "GetDistributionConfigResult":{ "type":"structure", "members":{ "DistributionConfig":{ "shape":"DistributionConfig", "documentation":"

The distribution's configuration information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"DistributionConfig" }, "GetDistributionRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The distribution's ID.

", "location":"uri", "locationName":"Id" } }, "documentation":"

The request to get a distribution's information.

" }, "GetDistributionResult":{ "type":"structure", "members":{ "Distribution":{ "shape":"Distribution", "documentation":"

The distribution's information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Distribution" }, "GetInvalidationRequest":{ "type":"structure", "required":[ "DistributionId", "Id" ], "members":{ "DistributionId":{ "shape":"string", "documentation":"

The distribution's ID.

", "location":"uri", "locationName":"DistributionId" }, "Id":{ "shape":"string", "documentation":"

The identifier for the invalidation request, for example, IDFDVBD632BHDS5.

", "location":"uri", "locationName":"Id" } }, "documentation":"

The request to get an invalidation's information.

" }, "GetInvalidationResult":{ "type":"structure", "members":{ "Invalidation":{ "shape":"Invalidation", "documentation":"

The invalidation's information. For more information, see Invalidation Complex Type.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Invalidation" }, "GetStreamingDistributionConfigRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The streaming distribution's ID.

", "location":"uri", "locationName":"Id" } }, "documentation":"

To request to get a streaming distribution configuration.

" }, "GetStreamingDistributionConfigResult":{ "type":"structure", "members":{ "StreamingDistributionConfig":{ "shape":"StreamingDistributionConfig", "documentation":"

The streaming distribution's configuration information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"StreamingDistributionConfig" }, "GetStreamingDistributionRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"string", "documentation":"

The streaming distribution's ID.

", "location":"uri", "locationName":"Id" } }, "documentation":"

The request to get a streaming distribution's information.

" }, "GetStreamingDistributionResult":{ "type":"structure", "members":{ "StreamingDistribution":{ "shape":"StreamingDistribution", "documentation":"

The streaming distribution's information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the streaming distribution's information. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"StreamingDistribution" }, "HeaderList":{ "type":"list", "member":{ "shape":"string", "locationName":"Name" } }, "Headers":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of different headers that you want CloudFront to forward to the origin for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following:

" }, "Items":{ "shape":"HeaderList", "documentation":"

A complex type that contains one Name element for each header that you want CloudFront to forward to the origin and to vary on for this cache behavior. If Quantity is 0, omit Items.

" } }, "documentation":"

A complex type that specifies the headers that you want CloudFront to forward to the origin for this cache behavior.

For the headers that you specify, CloudFront also 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.

" }, "HttpVersion":{ "type":"string", "enum":[ "http1.1", "http2" ] }, "IllegalUpdate":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Origin and CallerReference cannot be updated.

", "error":{"httpStatusCode":400}, "exception":true }, "InconsistentQuantities":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The value of Quantity and the size of Items do not match.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidArgument":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The argument is invalid.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidDefaultRootObject":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The default root object file name is too big or contains an invalid character.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidErrorCode":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidForwardCookies":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

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.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidGeoRestrictionParameter":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidHeadersForS3Origin":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidIfMatchVersion":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The If-Match version is missing or not valid for the distribution.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidLocationCode":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidMinimumProtocolVersion":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidOrigin":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidOriginAccessIdentity":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The origin access identity is not valid or doesn't exist.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidProtocolSettings":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidQueryStringParameters":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidRelativePath":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidRequiredProtocol":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

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.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidResponseCode":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidTTLOrder":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidTagging":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidViewerCertificate":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "InvalidWebACLId":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "Invalidation":{ "type":"structure", "required":[ "Id", "Status", "CreateTime", "InvalidationBatch" ], "members":{ "Id":{ "shape":"string", "documentation":"

The identifier for the invalidation request. For example: IDFDVBD632BHDS5.

" }, "Status":{ "shape":"string", "documentation":"

The status of the invalidation request. When the invalidation batch is finished, the status is Completed.

" }, "CreateTime":{ "shape":"timestamp", "documentation":"

The date and time the invalidation request was first made.

" }, "InvalidationBatch":{ "shape":"InvalidationBatch", "documentation":"

The current invalidation information for the batch request.

" } }, "documentation":"

An invalidation.

" }, "InvalidationBatch":{ "type":"structure", "required":[ "Paths", "CallerReference" ], "members":{ "Paths":{ "shape":"Paths", "documentation":"

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.

" }, "CallerReference":{ "shape":"string", "documentation":"

A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp, for example, 20120301090000.

If you make a second invalidation request with the same value for CallerReference, and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference.

If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

" } }, "documentation":"

An invalidation batch.

" }, "InvalidationList":{ "type":"structure", "required":[ "Marker", "MaxItems", "IsTruncated", "Quantity" ], "members":{ "Marker":{ "shape":"string", "documentation":"

The value that you provided for the Marker request parameter.

" }, "NextMarker":{ "shape":"string", "documentation":"

If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

" }, "MaxItems":{ "shape":"integer", "documentation":"

The value that you provided for the MaxItems request parameter.

" }, "IsTruncated":{ "shape":"boolean", "documentation":"

A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

" }, "Quantity":{ "shape":"integer", "documentation":"

The number of invalidation batches that were created by the current AWS account.

" }, "Items":{ "shape":"InvalidationSummaryList", "documentation":"

A complex type that contains one InvalidationSummary element for each invalidation batch created by the current AWS account.

" } }, "documentation":"

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":"structure", "required":[ "Id", "CreateTime", "Status" ], "members":{ "Id":{ "shape":"string", "documentation":"

The unique ID for an invalidation request.

" }, "CreateTime":{"shape":"timestamp"}, "Status":{ "shape":"string", "documentation":"

The status of an invalidation request.

" } }, "documentation":"

A summary of an invalidation request.

" }, "InvalidationSummaryList":{ "type":"list", "member":{ "shape":"InvalidationSummary", "locationName":"InvalidationSummary" } }, "ItemSelection":{ "type":"string", "enum":[ "none", "whitelist", "all" ] }, "KeyPairIdList":{ "type":"list", "member":{ "shape":"string", "locationName":"KeyPairId" } }, "KeyPairIds":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of active CloudFront key pairs for AwsAccountNumber.

For more information, see ActiveTrustedSigners.

" }, "Items":{ "shape":"KeyPairIdList", "documentation":"

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

For more information, see ActiveTrustedSigners.

" } }, "documentation":"

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

For more information, see ActiveTrustedSigners.

" }, "ListCloudFrontOriginAccessIdentitiesRequest":{ "type":"structure", "members":{ "Marker":{ "shape":"string", "documentation":"

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).

", "location":"querystring", "locationName":"Marker" }, "MaxItems":{ "shape":"string", "documentation":"

The maximum number of origin access identities you want in the response body.

", "location":"querystring", "locationName":"MaxItems" } }, "documentation":"

The request to list origin access identities.

" }, "ListCloudFrontOriginAccessIdentitiesResult":{ "type":"structure", "members":{ "CloudFrontOriginAccessIdentityList":{ "shape":"CloudFrontOriginAccessIdentityList", "documentation":"

The CloudFrontOriginAccessIdentityList type.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"CloudFrontOriginAccessIdentityList" }, "ListDistributionsByWebACLIdRequest":{ "type":"structure", "required":["WebACLId"], "members":{ "Marker":{ "shape":"string", "documentation":"

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.)

", "location":"querystring", "locationName":"Marker" }, "MaxItems":{ "shape":"string", "documentation":"

The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.

", "location":"querystring", "locationName":"MaxItems" }, "WebACLId":{ "shape":"string", "documentation":"

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.

", "location":"uri", "locationName":"WebACLId" } }, "documentation":"

The request to list distributions that are associated with a specified AWS WAF web ACL.

" }, "ListDistributionsByWebACLIdResult":{ "type":"structure", "members":{ "DistributionList":{ "shape":"DistributionList", "documentation":"

The DistributionList type.

" } }, "documentation":"

The response to a request to list the distributions that are associated with a specified AWS WAF web ACL.

", "payload":"DistributionList" }, "ListDistributionsRequest":{ "type":"structure", "members":{ "Marker":{ "shape":"string", "documentation":"

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).

", "location":"querystring", "locationName":"Marker" }, "MaxItems":{ "shape":"string", "documentation":"

The maximum number of distributions you want in the response body.

", "location":"querystring", "locationName":"MaxItems" } }, "documentation":"

The request to list your distributions.

" }, "ListDistributionsResult":{ "type":"structure", "members":{ "DistributionList":{ "shape":"DistributionList", "documentation":"

The DistributionList type.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"DistributionList" }, "ListInvalidationsRequest":{ "type":"structure", "required":["DistributionId"], "members":{ "DistributionId":{ "shape":"string", "documentation":"

The distribution's ID.

", "location":"uri", "locationName":"DistributionId" }, "Marker":{ "shape":"string", "documentation":"

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.

", "location":"querystring", "locationName":"Marker" }, "MaxItems":{ "shape":"string", "documentation":"

The maximum number of invalidation batches that you want in the response body.

", "location":"querystring", "locationName":"MaxItems" } }, "documentation":"

The request to list invalidations.

" }, "ListInvalidationsResult":{ "type":"structure", "members":{ "InvalidationList":{ "shape":"InvalidationList", "documentation":"

Information about invalidation batches.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"InvalidationList" }, "ListStreamingDistributionsRequest":{ "type":"structure", "members":{ "Marker":{ "shape":"string", "documentation":"

The value that you provided for the Marker request parameter.

", "location":"querystring", "locationName":"Marker" }, "MaxItems":{ "shape":"string", "documentation":"

The value that you provided for the MaxItems request parameter.

", "location":"querystring", "locationName":"MaxItems" } }, "documentation":"

The request to list your streaming distributions.

" }, "ListStreamingDistributionsResult":{ "type":"structure", "members":{ "StreamingDistributionList":{ "shape":"StreamingDistributionList", "documentation":"

The StreamingDistributionList type.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"StreamingDistributionList" }, "ListTagsForResourceRequest":{ "type":"structure", "required":["Resource"], "members":{ "Resource":{ "shape":"ResourceARN", "documentation":"

An ARN of a CloudFront resource.

", "location":"querystring", "locationName":"Resource" } }, "documentation":"

The request to list tags for a CloudFront resource.

" }, "ListTagsForResourceResult":{ "type":"structure", "required":["Tags"], "members":{ "Tags":{ "shape":"Tags", "documentation":"

A complex type that contains zero or more Tag elements.

" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Tags" }, "LocationList":{ "type":"list", "member":{ "shape":"string", "locationName":"Location" } }, "LoggingConfig":{ "type":"structure", "required":[ "Enabled", "IncludeCookies", "Bucket", "Prefix" ], "members":{ "Enabled":{ "shape":"boolean", "documentation":"

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

" }, "IncludeCookies":{ "shape":"boolean", "documentation":"

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you do not want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

" }, "Bucket":{ "shape":"string", "documentation":"

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

" }, "Prefix":{ "shape":"string", "documentation":"

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

" } }, "documentation":"

A complex type that controls whether access logs are written for the distribution.

" }, "Method":{ "type":"string", "enum":[ "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE" ] }, "MethodsList":{ "type":"list", "member":{ "shape":"Method", "locationName":"Method" } }, "MinimumProtocolVersion":{ "type":"string", "enum":[ "SSLv3", "TLSv1" ] }, "MissingBody":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

This operation requires a body. Ensure that the body is present and the Content-Type header is set.

", "error":{"httpStatusCode":400}, "exception":true }, "NoSuchCloudFrontOriginAccessIdentity":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The specified origin access identity does not exist.

", "error":{"httpStatusCode":404}, "exception":true }, "NoSuchDistribution":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The specified distribution does not exist.

", "error":{"httpStatusCode":404}, "exception":true }, "NoSuchInvalidation":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The specified invalidation does not exist.

", "error":{"httpStatusCode":404}, "exception":true }, "NoSuchOrigin":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

No origin exists with the specified Origin Id.

", "error":{"httpStatusCode":404}, "exception":true }, "NoSuchResource":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":404}, "exception":true }, "NoSuchStreamingDistribution":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The specified streaming distribution does not exist.

", "error":{"httpStatusCode":404}, "exception":true }, "Origin":{ "type":"structure", "required":[ "Id", "DomainName" ], "members":{ "Id":{ "shape":"string", "documentation":"

A unique identifier for the origin. The value of Id must be unique within the distribution.

When you specify the value of TargetOriginId for the default cache behavior or for another cache behavior, you indicate the origin to which you want the cache behavior to route requests by specifying the value of the Id element for that origin. When a request matches the path pattern for that cache behavior, CloudFront routes the request to the specified origin. For more information, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.

" }, "DomainName":{ "shape":"string", "documentation":"

Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com.

Constraints for Amazon S3 origins:

Custom Origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.

Constraints for custom origins:

" }, "OriginPath":{ "shape":"string", "documentation":"

An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath element, specify the directory name, beginning with a /. CloudFront appends the directory name to the value of DomainName, for example, example.com/production. Do not include a / at the end of the directory name.

For example, suppose you've specified the following values for your distribution:

When a user enters example.com/index.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucket/production/index.html.

When a user enters example.com/acme/index.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucket/production/acme/index.html.

" }, "CustomHeaders":{ "shape":"CustomHeaders", "documentation":"

A complex type that contains names and values for the custom headers that you want.

" }, "S3OriginConfig":{ "shape":"S3OriginConfig", "documentation":"

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.

" }, "CustomOriginConfig":{ "shape":"CustomOriginConfig", "documentation":"

A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.

" } }, "documentation":"

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":"structure", "required":[ "HeaderName", "HeaderValue" ], "members":{ "HeaderName":{ "shape":"string", "documentation":"

The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon Amazon CloudFront Developer Guide.

" }, "HeaderValue":{ "shape":"string", "documentation":"

The value for the header that you specified in the HeaderName field.

" } }, "documentation":"

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

" }, "OriginCustomHeadersList":{ "type":"list", "member":{ "shape":"OriginCustomHeader", "locationName":"OriginCustomHeader" } }, "OriginList":{ "type":"list", "member":{ "shape":"Origin", "locationName":"Origin" }, "min":1 }, "OriginProtocolPolicy":{ "type":"string", "enum":[ "http-only", "match-viewer", "https-only" ] }, "OriginSslProtocols":{ "type":"structure", "required":[ "Quantity", "Items" ], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

" }, "Items":{ "shape":"SslProtocolsList", "documentation":"

A list that contains allowed SSL/TLS protocols for this distribution.

" } }, "documentation":"

A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.

" }, "Origins":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of origins for this distribution.

" }, "Items":{ "shape":"OriginList", "documentation":"

A complex type that contains origins for this distribution.

" } }, "documentation":"

A complex type that contains information about origins for this distribution.

" }, "PathList":{ "type":"list", "member":{ "shape":"string", "locationName":"Path" } }, "Paths":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of objects that you want to invalidate.

" }, "Items":{ "shape":"PathList", "documentation":"

A complex type that contains a list of the paths that you want to invalidate.

" } }, "documentation":"

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.

" }, "PreconditionFailed":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

The precondition given in one or more of the request-header fields evaluated to false.

", "error":{"httpStatusCode":412}, "exception":true }, "PriceClass":{ "type":"string", "enum":[ "PriceClass_100", "PriceClass_200", "PriceClass_All" ] }, "QueryStringCacheKeys":{ "type":"structure", "required":["Quantity"], "members":{ "Quantity":{ "shape":"integer", "documentation":"

The number of whitelisted query string parameters for this cache behavior.

" }, "Items":{ "shape":"QueryStringCacheKeysList", "documentation":"

(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. If Quantity is 0, you can omit Items.

" } } }, "QueryStringCacheKeysList":{ "type":"list", "member":{ "shape":"string", "locationName":"Name" } }, "ResourceARN":{ "type":"string", "pattern":"arn:aws:cloudfront::[0-9]+:.*" }, "Restrictions":{ "type":"structure", "required":["GeoRestriction"], "members":{ "GeoRestriction":{"shape":"GeoRestriction"} }, "documentation":"

A complex type that identifies ways in which you want to restrict distribution of your content.

" }, "S3Origin":{ "type":"structure", "required":[ "DomainName", "OriginAccessIdentity" ], "members":{ "DomainName":{ "shape":"string", "documentation":"

The DNS name of the Amazon S3 origin.

" }, "OriginAccessIdentity":{ "shape":"string", "documentation":"

The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide.

" } }, "documentation":"

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

" }, "S3OriginConfig":{ "type":"structure", "required":["OriginAccessIdentity"], "members":{ "OriginAccessIdentity":{ "shape":"string", "documentation":"

The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

origin-access-identity/CloudFront/ID-of-origin-access-identity

where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

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

" } }, "documentation":"

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.

" }, "SSLSupportMethod":{ "type":"string", "enum":[ "sni-only", "vip" ] }, "Signer":{ "type":"structure", "members":{ "AwsAccountNumber":{ "shape":"string", "documentation":"

An AWS account that is included in the TrustedSigners complex type for this RTMP distribution. Valid values include:

" }, "KeyPairIds":{ "shape":"KeyPairIds", "documentation":"

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

" } }, "documentation":"

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.

" }, "SignerList":{ "type":"list", "member":{ "shape":"Signer", "locationName":"Signer" } }, "SslProtocol":{ "type":"string", "enum":[ "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" ] }, "SslProtocolsList":{ "type":"list", "member":{ "shape":"SslProtocol", "locationName":"SslProtocol" } }, "StreamingDistribution":{ "type":"structure", "required":[ "Id", "ARN", "Status", "DomainName", "ActiveTrustedSigners", "StreamingDistributionConfig" ], "members":{ "Id":{ "shape":"string", "documentation":"

The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

" }, "ARN":{"shape":"string"}, "Status":{ "shape":"string", "documentation":"

The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

" }, "LastModifiedTime":{ "shape":"timestamp", "documentation":"

The date and time that the distribution was last modified.

" }, "DomainName":{ "shape":"string", "documentation":"

The domain name that corresponds to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.

" }, "ActiveTrustedSigners":{ "shape":"ActiveTrustedSigners", "documentation":"

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.

" }, "StreamingDistributionConfig":{ "shape":"StreamingDistributionConfig", "documentation":"

The current configuration information for the RTMP distribution.

" } }, "documentation":"

A streaming distribution.

" }, "StreamingDistributionAlreadyExists":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":409}, "exception":true }, "StreamingDistributionConfig":{ "type":"structure", "required":[ "CallerReference", "S3Origin", "Comment", "TrustedSigners", "Enabled" ], "members":{ "CallerReference":{ "shape":"string", "documentation":"

A unique number that ensures that the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

" }, "S3Origin":{ "shape":"S3Origin", "documentation":"

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

" }, "Aliases":{ "shape":"Aliases", "documentation":"

A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

" }, "Comment":{ "shape":"string", "documentation":"

Any comments you want to include about the streaming distribution.

" }, "Logging":{ "shape":"StreamingLoggingConfig", "documentation":"

A complex type that controls whether access logs are written for the streaming distribution.

" }, "TrustedSigners":{ "shape":"TrustedSigners", "documentation":"

A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

" }, "PriceClass":{ "shape":"PriceClass", "documentation":"

A complex type that contains information about price class for this streaming distribution.

" }, "Enabled":{ "shape":"boolean", "documentation":"

Whether the streaming distribution is enabled to accept user requests for content.

" } }, "documentation":"

The RTMP distribution's configuration information.

" }, "StreamingDistributionConfigWithTags":{ "type":"structure", "required":[ "StreamingDistributionConfig", "Tags" ], "members":{ "StreamingDistributionConfig":{ "shape":"StreamingDistributionConfig", "documentation":"

A streaming distribution Configuration.

" }, "Tags":{ "shape":"Tags", "documentation":"

A complex type that contains zero or more Tag elements.

" } }, "documentation":"

A streaming distribution Configuration and a list of tags to be associated with the streaming distribution.

" }, "StreamingDistributionList":{ "type":"structure", "required":[ "Marker", "MaxItems", "IsTruncated", "Quantity" ], "members":{ "Marker":{ "shape":"string", "documentation":"

The value you provided for the Marker request parameter.

" }, "NextMarker":{ "shape":"string", "documentation":"

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.

" }, "MaxItems":{ "shape":"integer", "documentation":"

The value you provided for the MaxItems request parameter.

" }, "IsTruncated":{ "shape":"boolean", "documentation":"

A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

" }, "Quantity":{ "shape":"integer", "documentation":"

The number of streaming distributions that were created by the current AWS account.

" }, "Items":{ "shape":"StreamingDistributionSummaryList", "documentation":"

A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account.

" } }, "documentation":"

A streaming distribution list.

" }, "StreamingDistributionNotDisabled":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":409}, "exception":true }, "StreamingDistributionSummary":{ "type":"structure", "required":[ "Id", "ARN", "Status", "LastModifiedTime", "DomainName", "S3Origin", "Aliases", "TrustedSigners", "Comment", "PriceClass", "Enabled" ], "members":{ "Id":{ "shape":"string", "documentation":"

The identifier for the distribution. For example: EDFDVBD632BHDS5.

" }, "ARN":{ "shape":"string", "documentation":"

The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

" }, "Status":{ "shape":"string", "documentation":"

Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

" }, "LastModifiedTime":{ "shape":"timestamp", "documentation":"

The date and time the distribution was last modified.

" }, "DomainName":{ "shape":"string", "documentation":"

The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

" }, "S3Origin":{ "shape":"S3Origin", "documentation":"

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

" }, "Aliases":{ "shape":"Aliases", "documentation":"

A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

" }, "TrustedSigners":{ "shape":"TrustedSigners", "documentation":"

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.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.

" }, "Comment":{ "shape":"string", "documentation":"

The comment originally specified when this distribution was created.

" }, "PriceClass":{"shape":"PriceClass"}, "Enabled":{ "shape":"boolean", "documentation":"

Whether the distribution is enabled to accept end user requests for content.

" } }, "documentation":"

A summary of the information for an Amazon CloudFront streaming distribution.

" }, "StreamingDistributionSummaryList":{ "type":"list", "member":{ "shape":"StreamingDistributionSummary", "locationName":"StreamingDistributionSummary" } }, "StreamingLoggingConfig":{ "type":"structure", "required":[ "Enabled", "Bucket", "Prefix" ], "members":{ "Enabled":{ "shape":"boolean", "documentation":"

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.

" }, "Bucket":{ "shape":"string", "documentation":"

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

" }, "Prefix":{ "shape":"string", "documentation":"

An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

" } }, "documentation":"

A complex type that controls whether access logs are written for this streaming distribution.

" }, "Tag":{ "type":"structure", "required":["Key"], "members":{ "Key":{ "shape":"TagKey", "documentation":"

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 _ - . : / = + @.

" }, "Value":{ "shape":"TagValue", "documentation":"

A string that contains an optional Tag value.

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

" } }, "documentation":"

A complex type that contains Tag key and Tag value.

" }, "TagKey":{ "type":"string", "documentation":"

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 _ - . : / = + @.

", "max":128, "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeyList":{ "type":"list", "member":{ "shape":"TagKey", "locationName":"Key" } }, "TagKeys":{ "type":"structure", "members":{ "Items":{ "shape":"TagKeyList", "documentation":"

A complex type that contains Tag key elements.

" } }, "documentation":"

A complex type that contains zero or more Tag elements.

" }, "TagList":{ "type":"list", "member":{ "shape":"Tag", "locationName":"Tag" } }, "TagResourceRequest":{ "type":"structure", "required":[ "Resource", "Tags" ], "members":{ "Resource":{ "shape":"ResourceARN", "documentation":"

An ARN of a CloudFront resource.

", "location":"querystring", "locationName":"Resource" }, "Tags":{ "shape":"Tags", "documentation":"

A complex type that contains zero or more Tag elements.

", "locationName":"Tags", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to add tags to a CloudFront resource.

", "payload":"Tags" }, "TagValue":{ "type":"string", "max":256, "min":0, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "Tags":{ "type":"structure", "members":{ "Items":{ "shape":"TagList", "documentation":"

A complex type that contains Tag elements.

" } }, "documentation":"

A complex type that contains zero or more Tag elements.

" }, "TooManyCacheBehaviors":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

You cannot create more cache behaviors for the distribution.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyCertificates":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

You cannot create anymore custom SSL/TLS certificates.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyCloudFrontOriginAccessIdentities":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Processing your request would cause you to exceed the maximum number of origin access identities allowed.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyCookieNamesInWhiteList":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Your request contains more cookie names in the whitelist than are allowed per cache behavior.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyDistributionCNAMEs":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Your request contains more CNAMEs than are allowed per distribution.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyDistributions":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Processing your request would cause you to exceed the maximum number of distributions allowed.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyHeadersInForwardedValues":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "TooManyInvalidationsInProgress":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyOriginCustomHeaders":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "TooManyOrigins":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

You cannot create more origins for the distribution.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyQueryStringParameters":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "TooManyStreamingDistributionCNAMEs":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "error":{"httpStatusCode":400}, "exception":true }, "TooManyStreamingDistributions":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Processing your request would cause you to exceed the maximum number of streaming distributions allowed.

", "error":{"httpStatusCode":400}, "exception":true }, "TooManyTrustedSigners":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

Your request contains more trusted signers than are allowed per distribution.

", "error":{"httpStatusCode":400}, "exception":true }, "TrustedSignerDoesNotExist":{ "type":"structure", "members":{ "Message":{"shape":"string"} }, "documentation":"

One or more of your trusted signers do not exist.

", "error":{"httpStatusCode":400}, "exception":true }, "TrustedSigners":{ "type":"structure", "required":[ "Enabled", "Quantity" ], "members":{ "Enabled":{ "shape":"boolean", "documentation":"

Specifies whether you want to require viewers to use signed URLs to access the files specified by PathPattern and TargetOriginId.

" }, "Quantity":{ "shape":"integer", "documentation":"

The number of trusted signers for this cache behavior.

" }, "Items":{ "shape":"AwsAccountNumberList", "documentation":"

Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

" } }, "documentation":"

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 .

" }, "UntagResourceRequest":{ "type":"structure", "required":[ "Resource", "TagKeys" ], "members":{ "Resource":{ "shape":"ResourceARN", "documentation":"

An ARN of a CloudFront resource.

", "location":"querystring", "locationName":"Resource" }, "TagKeys":{ "shape":"TagKeys", "documentation":"

A complex type that contains zero or more Tag key elements.

", "locationName":"TagKeys", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} } }, "documentation":"

The request to remove tags from a CloudFront resource.

", "payload":"TagKeys" }, "UpdateCloudFrontOriginAccessIdentityRequest":{ "type":"structure", "required":[ "CloudFrontOriginAccessIdentityConfig", "Id" ], "members":{ "CloudFrontOriginAccessIdentityConfig":{ "shape":"CloudFrontOriginAccessIdentityConfig", "documentation":"

The identity's configuration information.

", "locationName":"CloudFrontOriginAccessIdentityConfig", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} }, "Id":{ "shape":"string", "documentation":"

The identity's id.

", "location":"uri", "locationName":"Id" }, "IfMatch":{ "shape":"string", "documentation":"

The value of the ETag header that you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"If-Match" } }, "documentation":"

The request to update an origin access identity.

", "payload":"CloudFrontOriginAccessIdentityConfig" }, "UpdateCloudFrontOriginAccessIdentityResult":{ "type":"structure", "members":{ "CloudFrontOriginAccessIdentity":{ "shape":"CloudFrontOriginAccessIdentity", "documentation":"

The origin access identity's information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"CloudFrontOriginAccessIdentity" }, "UpdateDistributionRequest":{ "type":"structure", "required":[ "DistributionConfig", "Id" ], "members":{ "DistributionConfig":{ "shape":"DistributionConfig", "documentation":"

The distribution's configuration information.

", "locationName":"DistributionConfig", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} }, "Id":{ "shape":"string", "documentation":"

The distribution's id.

", "location":"uri", "locationName":"Id" }, "IfMatch":{ "shape":"string", "documentation":"

The value of the ETag header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"If-Match" } }, "documentation":"

The request to update a distribution.

", "payload":"DistributionConfig" }, "UpdateDistributionResult":{ "type":"structure", "members":{ "Distribution":{ "shape":"Distribution", "documentation":"

The distribution's information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"Distribution" }, "UpdateStreamingDistributionRequest":{ "type":"structure", "required":[ "StreamingDistributionConfig", "Id" ], "members":{ "StreamingDistributionConfig":{ "shape":"StreamingDistributionConfig", "documentation":"

The streaming distribution's configuration information.

", "locationName":"StreamingDistributionConfig", "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-09-29/"} }, "Id":{ "shape":"string", "documentation":"

The streaming distribution's id.

", "location":"uri", "locationName":"Id" }, "IfMatch":{ "shape":"string", "documentation":"

The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"If-Match" } }, "documentation":"

The request to update a streaming distribution.

", "payload":"StreamingDistributionConfig" }, "UpdateStreamingDistributionResult":{ "type":"structure", "members":{ "StreamingDistribution":{ "shape":"StreamingDistribution", "documentation":"

The streaming distribution's information.

" }, "ETag":{ "shape":"string", "documentation":"

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", "location":"header", "locationName":"ETag" } }, "documentation":"

The returned result of the corresponding request.

", "payload":"StreamingDistribution" }, "ViewerCertificate":{ "type":"structure", "members":{ "CloudFrontDefaultCertificate":{ "shape":"boolean", "documentation":"

If you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name of your distribution in your object URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg), set to true. Omit this value if you are setting an ACMCertificateArn or IAMCertificateId.

" }, "IAMCertificateId":{ "shape":"string", "documentation":"

If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg), specify the IAM certificate identifier of the custom viewer certificate for this distribution. Specify either this value, ACMCertificateArn, or CloudFrontDefaultCertificate.

" }, "ACMCertificateArn":{ "shape":"string", "documentation":"

If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg), specify the ACM certificate ARN of the custom viewer certificate for this distribution. Specify either this value, IAMCertificateId, or CloudFrontDefaultCertificate.

" }, "SSLSupportMethod":{ "shape":"SSLSupportMethod", "documentation":"

If you specify a value for ACMCertificateArn or for IAMCertificateId, you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients:

Do not specify a value for SSLSupportMethod if you specified <CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate>.

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

" }, "MinimumProtocolVersion":{ "shape":"MinimumProtocolVersion", "documentation":"

Specify the minimum version of the SSL/TLS protocol that you want CloudFront to use for HTTPS connections between viewers and CloudFront: SSLv3 or TLSv1. CloudFront serves your objects only to viewers that support SSL/TLS version that you specify and later versions. The TLSv1 protocol is more secure, so we recommend that you specify SSLv3 only if your users are using browsers or devices that don't support TLSv1. Note the following:

" }, "Certificate":{ "shape":"string", "documentation":"

Include one of these values to specify the following:

You must specify one (and only one) of the three values. Do not specify false for CloudFrontDefaultCertificate.

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

<CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate>

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:

", "deprecated":true }, "CertificateSource":{ "shape":"CertificateSource", "documentation":"

This field is deprecated. You can use one of the following: [ACMCertificateArn, IAMCertificateId, or CloudFrontDefaultCertificate].

", "deprecated":true } }, "documentation":"

A complex type that specifies the following:

For more information, see Using an HTTPS Connection to Access Your Objects in the Amazon Amazon CloudFront Developer Guide.

" }, "ViewerProtocolPolicy":{ "type":"string", "enum":[ "allow-all", "https-only", "redirect-to-https" ] }, "boolean":{"type":"boolean"}, "integer":{"type":"integer"}, "long":{"type":"long"}, "string":{"type":"string"}, "timestamp":{"type":"timestamp"} }, "documentation":"Amazon CloudFront

This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about the CloudFront API actions, data types, and errors. For detailed information about CloudFront features and their associated API calls, see the Amazon CloudFront Developer Guide.

" }