{ "version": "2.0", "metadata": { "apiVersion": "2020-05-31", "endpointPrefix": "cloudfront", "globalEndpoint": "cloudfront.amazonaws.com", "protocol": "rest-xml", "protocols": [ "rest-xml" ], "serviceAbbreviation": "CloudFront", "serviceFullName": "Amazon CloudFront", "serviceId": "CloudFront", "signatureVersion": "v4", "uid": "cloudfront-2020-05-31", "auth": [ "aws.auth#sigv4" ] }, "operations": { "AssociateAlias": { "name": "AssociateAlias2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/distribution/{TargetDistributionId}/associate-alias", "responseCode": 200 }, "input": { "shape": "AssociateAliasRequest" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "NoSuchDistribution" }, { "shape": "TooManyDistributionCNAMEs" }, { "shape": "IllegalUpdate" }, { "shape": "AccessDenied" } ], "documentation": "

Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.

With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.

To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see Moving an alternate domain name to a different distribution in the Amazon CloudFront Developer Guide.

" }, "CopyDistribution": { "name": "CopyDistribution2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/distribution/{PrimaryDistributionId}/copy", "responseCode": 201 }, "input": { "shape": "CopyDistributionRequest", "locationName": "CopyDistributionRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "CopyDistributionResult" }, "errors": [ { "shape": "CNAMEAlreadyExists" }, { "shape": "DistributionAlreadyExists" }, { "shape": "InvalidOrigin" }, { "shape": "InvalidOriginAccessIdentity" }, { "shape": "InvalidOriginAccessControl" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchDistribution" }, { "shape": "PreconditionFailed" }, { "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": "TooManyOriginGroupsPerDistribution" }, { "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" }, { "shape": "TooManyDistributionsWithLambdaAssociations" }, { "shape": "TooManyDistributionsWithSingleFunctionARN" }, { "shape": "TooManyLambdaFunctionAssociations" }, { "shape": "InvalidLambdaFunctionAssociation" }, { "shape": "TooManyDistributionsWithFunctionAssociations" }, { "shape": "TooManyFunctionAssociations" }, { "shape": "InvalidFunctionAssociation" }, { "shape": "InvalidOriginReadTimeout" }, { "shape": "InvalidOriginKeepaliveTimeout" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, { "shape": "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" }, { "shape": "NoSuchCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginAccessControl" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "TooManyDistributionsAssociatedToResponseHeadersPolicy" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToKeyGroup" }, { "shape": "TooManyKeyGroupsAssociatedToDistribution" }, { "shape": "TrustedKeyGroupDoesNotExist" }, { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "RealtimeLogConfigOwnerMismatch" } ], "documentation": "

Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.

After you create a staging distribution, you can use UpdateDistribution to modify the staging distribution's configuration. Then you can use CreateContinuousDeploymentPolicy to incrementally move traffic to the staging distribution.

This API operation requires the following IAM permissions:

" }, "CreateCachePolicy": { "name": "CreateCachePolicy2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/cache-policy", "responseCode": 201 }, "input": { "shape": "CreateCachePolicyRequest" }, "output": { "shape": "CreateCachePolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "CachePolicyAlreadyExists" }, { "shape": "TooManyCachePolicies" }, { "shape": "TooManyHeadersInCachePolicy" }, { "shape": "TooManyCookiesInCachePolicy" }, { "shape": "TooManyQueryStringsInCachePolicy" } ], "documentation": "

Creates a cache policy.

After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide.

" }, "CreateCloudFrontOriginAccessIdentity": { "name": "CreateCloudFrontOriginAccessIdentity2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/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.

" }, "CreateContinuousDeploymentPolicy": { "name": "CreateContinuousDeploymentPolicy2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/continuous-deployment-policy", "responseCode": 201 }, "input": { "shape": "CreateContinuousDeploymentPolicyRequest" }, "output": { "shape": "CreateContinuousDeploymentPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "InconsistentQuantities" }, { "shape": "ContinuousDeploymentPolicyAlreadyExists" }, { "shape": "TooManyContinuousDeploymentPolicies" }, { "shape": "StagingDistributionInUse" } ], "documentation": "

Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.

To use a continuous deployment policy, first use CopyDistribution to create a staging distribution, then use UpdateDistribution to modify the staging distribution's configuration.

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This workflow enables you to test changes to a distribution's configuration before moving all of your domain's production traffic to the new configuration.

" }, "CreateDistribution": { "name": "CreateDistribution2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/distribution", "responseCode": 201 }, "input": { "shape": "CreateDistributionRequest" }, "output": { "shape": "CreateDistributionResult" }, "errors": [ { "shape": "CNAMEAlreadyExists" }, { "shape": "DistributionAlreadyExists" }, { "shape": "InvalidOrigin" }, { "shape": "InvalidOriginAccessIdentity" }, { "shape": "InvalidOriginAccessControl" }, { "shape": "IllegalOriginAccessConfiguration" }, { "shape": "TooManyDistributionsAssociatedToOriginAccessControl" }, { "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": "TooManyOriginGroupsPerDistribution" }, { "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" }, { "shape": "TooManyDistributionsWithLambdaAssociations" }, { "shape": "TooManyDistributionsWithSingleFunctionARN" }, { "shape": "TooManyLambdaFunctionAssociations" }, { "shape": "InvalidLambdaFunctionAssociation" }, { "shape": "TooManyDistributionsWithFunctionAssociations" }, { "shape": "TooManyFunctionAssociations" }, { "shape": "InvalidFunctionAssociation" }, { "shape": "InvalidOriginReadTimeout" }, { "shape": "InvalidOriginKeepaliveTimeout" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, { "shape": "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" }, { "shape": "NoSuchCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToCachePolicy" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "TooManyDistributionsAssociatedToResponseHeadersPolicy" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToKeyGroup" }, { "shape": "TooManyKeyGroupsAssociatedToDistribution" }, { "shape": "TrustedKeyGroupDoesNotExist" }, { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "RealtimeLogConfigOwnerMismatch" }, { "shape": "ContinuousDeploymentPolicyInUse" }, { "shape": "NoSuchContinuousDeploymentPolicy" }, { "shape": "InvalidDomainNameForOriginAccessControl" } ], "documentation": "

Creates a CloudFront distribution.

" }, "CreateDistributionWithTags": { "name": "CreateDistributionWithTags2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/distribution?WithTags", "responseCode": 201 }, "input": { "shape": "CreateDistributionWithTagsRequest" }, "output": { "shape": "CreateDistributionWithTagsResult" }, "errors": [ { "shape": "CNAMEAlreadyExists" }, { "shape": "DistributionAlreadyExists" }, { "shape": "InvalidOrigin" }, { "shape": "InvalidOriginAccessIdentity" }, { "shape": "InvalidOriginAccessControl" }, { "shape": "IllegalOriginAccessConfiguration" }, { "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": "TooManyOriginGroupsPerDistribution" }, { "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" }, { "shape": "TooManyDistributionsWithLambdaAssociations" }, { "shape": "TooManyDistributionsWithSingleFunctionARN" }, { "shape": "TooManyLambdaFunctionAssociations" }, { "shape": "InvalidLambdaFunctionAssociation" }, { "shape": "TooManyDistributionsWithFunctionAssociations" }, { "shape": "TooManyFunctionAssociations" }, { "shape": "InvalidFunctionAssociation" }, { "shape": "InvalidOriginReadTimeout" }, { "shape": "InvalidOriginKeepaliveTimeout" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, { "shape": "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" }, { "shape": "NoSuchCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginAccessControl" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "TooManyDistributionsAssociatedToResponseHeadersPolicy" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToKeyGroup" }, { "shape": "TooManyKeyGroupsAssociatedToDistribution" }, { "shape": "TrustedKeyGroupDoesNotExist" }, { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "RealtimeLogConfigOwnerMismatch" }, { "shape": "ContinuousDeploymentPolicyInUse" }, { "shape": "NoSuchContinuousDeploymentPolicy" }, { "shape": "InvalidDomainNameForOriginAccessControl" } ], "documentation": "

Create a new distribution with tags. This API operation requires the following IAM permissions:

" }, "CreateFieldLevelEncryptionConfig": { "name": "CreateFieldLevelEncryptionConfig2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/field-level-encryption", "responseCode": 201 }, "input": { "shape": "CreateFieldLevelEncryptionConfigRequest" }, "output": { "shape": "CreateFieldLevelEncryptionConfigResult" }, "errors": [ { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "NoSuchFieldLevelEncryptionProfile" }, { "shape": "FieldLevelEncryptionConfigAlreadyExists" }, { "shape": "TooManyFieldLevelEncryptionConfigs" }, { "shape": "TooManyFieldLevelEncryptionQueryArgProfiles" }, { "shape": "TooManyFieldLevelEncryptionContentTypeProfiles" }, { "shape": "QueryArgProfileEmpty" } ], "documentation": "

Create a new field-level encryption configuration.

" }, "CreateFieldLevelEncryptionProfile": { "name": "CreateFieldLevelEncryptionProfile2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/field-level-encryption-profile", "responseCode": 201 }, "input": { "shape": "CreateFieldLevelEncryptionProfileRequest" }, "output": { "shape": "CreateFieldLevelEncryptionProfileResult" }, "errors": [ { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "NoSuchPublicKey" }, { "shape": "FieldLevelEncryptionProfileAlreadyExists" }, { "shape": "FieldLevelEncryptionProfileSizeExceeded" }, { "shape": "TooManyFieldLevelEncryptionProfiles" }, { "shape": "TooManyFieldLevelEncryptionEncryptionEntities" }, { "shape": "TooManyFieldLevelEncryptionFieldPatterns" } ], "documentation": "

Create a field-level encryption profile.

" }, "CreateFunction": { "name": "CreateFunction2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/function", "responseCode": 201 }, "input": { "shape": "CreateFunctionRequest", "locationName": "CreateFunctionRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "CreateFunctionResult" }, "errors": [ { "shape": "TooManyFunctions" }, { "shape": "FunctionAlreadyExists" }, { "shape": "FunctionSizeLimitExceeded" }, { "shape": "InvalidArgument" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Creates a CloudFront function.

To create a function, you provide the function code and some configuration information about the function. The response contains an Amazon Resource Name (ARN) that uniquely identifies the function.

When you create a function, it's in the DEVELOPMENT stage. In this stage, you can test the function with TestFunction, and update it with UpdateFunction.

When you're ready to use your function with a CloudFront distribution, use PublishFunction to copy the function from the DEVELOPMENT stage to LIVE. When it's live, you can attach the function to a distribution's cache behavior, using the function's ARN.

" }, "CreateInvalidation": { "name": "CreateInvalidation2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/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. For more information, see Invalidating files in the Amazon CloudFront Developer Guide.

" }, "CreateKeyGroup": { "name": "CreateKeyGroup2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/key-group", "responseCode": 201 }, "input": { "shape": "CreateKeyGroupRequest" }, "output": { "shape": "CreateKeyGroupResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "KeyGroupAlreadyExists" }, { "shape": "TooManyKeyGroups" }, { "shape": "TooManyPublicKeysInKeyGroup" } ], "documentation": "

Creates a key group that you can use with CloudFront signed URLs and signed cookies.

To create a key group, you must specify at least one public key for the key group. After you create a key group, you can reference it from one or more cache behaviors. When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

" }, "CreateKeyValueStore": { "name": "CreateKeyValueStore2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/key-value-store/", "responseCode": 201 }, "input": { "shape": "CreateKeyValueStoreRequest", "locationName": "CreateKeyValueStoreRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "CreateKeyValueStoreResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "EntityLimitExceeded" }, { "shape": "EntityAlreadyExists" }, { "shape": "EntitySizeLimitExceeded" }, { "shape": "InvalidArgument" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.

" }, "CreateMonitoringSubscription": { "name": "CreateMonitoringSubscription2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/" }, "input": { "shape": "CreateMonitoringSubscriptionRequest" }, "output": { "shape": "CreateMonitoringSubscriptionResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchDistribution" }, { "shape": "MonitoringSubscriptionAlreadyExists" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.

For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.

" }, "CreateOriginAccessControl": { "name": "CreateOriginAccessControl2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/origin-access-control", "responseCode": 201 }, "input": { "shape": "CreateOriginAccessControlRequest" }, "output": { "shape": "CreateOriginAccessControlResult" }, "errors": [ { "shape": "OriginAccessControlAlreadyExists" }, { "shape": "TooManyOriginAccessControls" }, { "shape": "InvalidArgument" } ], "documentation": "

Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.

This makes it possible to block public access to the origin, allowing viewers (users) to access the origin's content only through CloudFront.

For more information about using a CloudFront origin access control, see Restricting access to an Amazon Web Services origin in the Amazon CloudFront Developer Guide.

" }, "CreateOriginRequestPolicy": { "name": "CreateOriginRequestPolicy2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/origin-request-policy", "responseCode": 201 }, "input": { "shape": "CreateOriginRequestPolicyRequest" }, "output": { "shape": "CreateOriginRequestPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "OriginRequestPolicyAlreadyExists" }, { "shape": "TooManyOriginRequestPolicies" }, { "shape": "TooManyHeadersInOriginRequestPolicy" }, { "shape": "TooManyCookiesInOriginRequestPolicy" }, { "shape": "TooManyQueryStringsInOriginRequestPolicy" } ], "documentation": "

Creates an origin request policy.

After you create an origin request policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

CloudFront sends a request when it can't find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide.

" }, "CreatePublicKey": { "name": "CreatePublicKey2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/public-key", "responseCode": 201 }, "input": { "shape": "CreatePublicKeyRequest" }, "output": { "shape": "CreatePublicKeyResult" }, "errors": [ { "shape": "PublicKeyAlreadyExists" }, { "shape": "InvalidArgument" }, { "shape": "TooManyPublicKeys" } ], "documentation": "

Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption.

" }, "CreateRealtimeLogConfig": { "name": "CreateRealtimeLogConfig2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/realtime-log-config", "responseCode": 201 }, "input": { "shape": "CreateRealtimeLogConfigRequest", "locationName": "CreateRealtimeLogConfigRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "CreateRealtimeLogConfigResult" }, "errors": [ { "shape": "RealtimeLogConfigAlreadyExists" }, { "shape": "TooManyRealtimeLogConfigs" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Creates a real-time log configuration.

After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.

For more information about real-time log configurations, see Real-time logs in the Amazon CloudFront Developer Guide.

" }, "CreateResponseHeadersPolicy": { "name": "CreateResponseHeadersPolicy2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/response-headers-policy", "responseCode": 201 }, "input": { "shape": "CreateResponseHeadersPolicyRequest" }, "output": { "shape": "CreateResponseHeadersPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "ResponseHeadersPolicyAlreadyExists" }, { "shape": "TooManyResponseHeadersPolicies" }, { "shape": "TooManyCustomHeadersInResponseHeadersPolicy" }, { "shape": "TooLongCSPInResponseHeadersPolicy" }, { "shape": "TooManyRemoveHeadersInResponseHeadersPolicy" } ], "documentation": "

Creates a response headers policy.

A response headers policy contains information about a set of HTTP headers. To create a response headers policy, you provide some metadata about the policy and a set of configurations that specify the headers.

After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.

For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.

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

This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.

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

This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.

" }, "DeleteCachePolicy": { "name": "DeleteCachePolicy2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/cache-policy/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteCachePolicyRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchCachePolicy" }, { "shape": "PreconditionFailed" }, { "shape": "IllegalDelete" }, { "shape": "CachePolicyInUse" } ], "documentation": "

Deletes a cache policy.

You cannot delete a cache policy if it's attached to a cache behavior. First update your distributions to remove the cache policy from all cache behaviors, then delete the cache policy.

To delete a cache policy, you must provide the policy's identifier and version. To get these values, you can use ListCachePolicies or GetCachePolicy.

" }, "DeleteCloudFrontOriginAccessIdentity": { "name": "DeleteCloudFrontOriginAccessIdentity2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/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.

" }, "DeleteContinuousDeploymentPolicy": { "name": "DeleteContinuousDeploymentPolicy2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/continuous-deployment-policy/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteContinuousDeploymentPolicyRequest" }, "errors": [ { "shape": "InvalidIfMatchVersion" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" }, { "shape": "PreconditionFailed" }, { "shape": "ContinuousDeploymentPolicyInUse" }, { "shape": "NoSuchContinuousDeploymentPolicy" } ], "documentation": "

Deletes a continuous deployment policy.

You cannot delete a continuous deployment policy that's attached to a primary distribution. First update your distribution to remove the continuous deployment policy, then you can delete the policy.

" }, "DeleteDistribution": { "name": "DeleteDistribution2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/distribution/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteDistributionRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "DistributionNotDisabled" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchDistribution" }, { "shape": "PreconditionFailed" } ], "documentation": "

Delete a distribution.

" }, "DeleteFieldLevelEncryptionConfig": { "name": "DeleteFieldLevelEncryptionConfig2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/field-level-encryption/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteFieldLevelEncryptionConfigRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "PreconditionFailed" }, { "shape": "FieldLevelEncryptionConfigInUse" } ], "documentation": "

Remove a field-level encryption configuration.

" }, "DeleteFieldLevelEncryptionProfile": { "name": "DeleteFieldLevelEncryptionProfile2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/field-level-encryption-profile/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteFieldLevelEncryptionProfileRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFieldLevelEncryptionProfile" }, { "shape": "PreconditionFailed" }, { "shape": "FieldLevelEncryptionProfileInUse" } ], "documentation": "

Remove a field-level encryption profile.

" }, "DeleteFunction": { "name": "DeleteFunction2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/function/{Name}", "responseCode": 204 }, "input": { "shape": "DeleteFunctionRequest" }, "errors": [ { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFunctionExists" }, { "shape": "FunctionInUse" }, { "shape": "PreconditionFailed" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Deletes a CloudFront function.

You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.

To delete a function, you must provide the function's name and version (ETag value). To get these values, you can use ListFunctions and DescribeFunction.

" }, "DeleteKeyGroup": { "name": "DeleteKeyGroup2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/key-group/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteKeyGroupRequest" }, "errors": [ { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchResource" }, { "shape": "PreconditionFailed" }, { "shape": "ResourceInUse" } ], "documentation": "

Deletes a key group.

You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.

To delete a key group, you must provide the key group's identifier and version. To get these values, use ListKeyGroups followed by GetKeyGroup or GetKeyGroupConfig.

" }, "DeleteKeyValueStore": { "name": "DeleteKeyValueStore2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/key-value-store/{Name}", "responseCode": 204 }, "input": { "shape": "DeleteKeyValueStoreRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "EntityNotFound" }, { "shape": "CannotDeleteEntityWhileInUse" }, { "shape": "PreconditionFailed" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Specifies the key value store to delete.

", "idempotent": true }, "DeleteMonitoringSubscription": { "name": "DeleteMonitoringSubscription2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/" }, "input": { "shape": "DeleteMonitoringSubscriptionRequest" }, "output": { "shape": "DeleteMonitoringSubscriptionResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchDistribution" }, { "shape": "NoSuchMonitoringSubscription" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Disables additional CloudWatch metrics for the specified CloudFront distribution.

" }, "DeleteOriginAccessControl": { "name": "DeleteOriginAccessControl2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/origin-access-control/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteOriginAccessControlRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchOriginAccessControl" }, { "shape": "PreconditionFailed" }, { "shape": "OriginAccessControlInUse" } ], "documentation": "

Deletes a CloudFront origin access control.

You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin access control from all origins, then delete the origin access control.

" }, "DeleteOriginRequestPolicy": { "name": "DeleteOriginRequestPolicy2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/origin-request-policy/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteOriginRequestPolicyRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "PreconditionFailed" }, { "shape": "IllegalDelete" }, { "shape": "OriginRequestPolicyInUse" } ], "documentation": "

Deletes an origin request policy.

You cannot delete an origin request policy if it's attached to any cache behaviors. First update your distributions to remove the origin request policy from all cache behaviors, then delete the origin request policy.

To delete an origin request policy, you must provide the policy's identifier and version. To get the identifier, you can use ListOriginRequestPolicies or GetOriginRequestPolicy.

" }, "DeletePublicKey": { "name": "DeletePublicKey2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/public-key/{Id}", "responseCode": 204 }, "input": { "shape": "DeletePublicKeyRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "PublicKeyInUse" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchPublicKey" }, { "shape": "PreconditionFailed" } ], "documentation": "

Remove a public key you previously added to CloudFront.

" }, "DeleteRealtimeLogConfig": { "name": "DeleteRealtimeLogConfig2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/delete-realtime-log-config/", "responseCode": 204 }, "input": { "shape": "DeleteRealtimeLogConfigRequest", "locationName": "DeleteRealtimeLogConfigRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "errors": [ { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "RealtimeLogConfigInUse" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Deletes a real-time log configuration.

You cannot delete a real-time log configuration if it's attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.

To delete a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.

" }, "DeleteResponseHeadersPolicy": { "name": "DeleteResponseHeadersPolicy2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/response-headers-policy/{Id}", "responseCode": 204 }, "input": { "shape": "DeleteResponseHeadersPolicyRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "PreconditionFailed" }, { "shape": "IllegalDelete" }, { "shape": "ResponseHeadersPolicyInUse" } ], "documentation": "

Deletes a response headers policy.

You cannot delete a response headers policy if it's attached to a cache behavior. First update your distributions to remove the response headers policy from all cache behaviors, then delete the response headers policy.

To delete a response headers policy, you must provide the policy's identifier and version. To get these values, you can use ListResponseHeadersPolicies or GetResponseHeadersPolicy.

" }, "DeleteStreamingDistribution": { "name": "DeleteStreamingDistribution2020_05_31", "http": { "method": "DELETE", "requestUri": "/2020-05-31/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.

" }, "DescribeFunction": { "name": "DescribeFunction2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/function/{Name}/describe" }, "input": { "shape": "DescribeFunctionRequest" }, "output": { "shape": "DescribeFunctionResult" }, "errors": [ { "shape": "NoSuchFunctionExists" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use GetFunction.

To get configuration information and metadata about a function, you must provide the function's name and stage. To get these values, you can use ListFunctions.

" }, "DescribeKeyValueStore": { "name": "DescribeKeyValueStore2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/key-value-store/{Name}" }, "input": { "shape": "DescribeKeyValueStoreRequest" }, "output": { "shape": "DescribeKeyValueStoreResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "EntityNotFound" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Specifies the key value store and its configuration.

" }, "GetCachePolicy": { "name": "GetCachePolicy2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/cache-policy/{Id}" }, "input": { "shape": "GetCachePolicyRequest" }, "output": { "shape": "GetCachePolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchCachePolicy" } ], "documentation": "

Gets a cache policy, including the following metadata:

To get a cache policy, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

" }, "GetCachePolicyConfig": { "name": "GetCachePolicyConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/cache-policy/{Id}/config" }, "input": { "shape": "GetCachePolicyConfigRequest" }, "output": { "shape": "GetCachePolicyConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchCachePolicy" } ], "documentation": "

Gets a cache policy configuration.

To get a cache policy configuration, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

" }, "GetCloudFrontOriginAccessIdentity": { "name": "GetCloudFrontOriginAccessIdentity2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/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": "GetCloudFrontOriginAccessIdentityConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/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.

" }, "GetContinuousDeploymentPolicy": { "name": "GetContinuousDeploymentPolicy2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/continuous-deployment-policy/{Id}" }, "input": { "shape": "GetContinuousDeploymentPolicyRequest" }, "output": { "shape": "GetContinuousDeploymentPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchContinuousDeploymentPolicy" } ], "documentation": "

Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).

" }, "GetContinuousDeploymentPolicyConfig": { "name": "GetContinuousDeploymentPolicyConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/continuous-deployment-policy/{Id}/config" }, "input": { "shape": "GetContinuousDeploymentPolicyConfigRequest" }, "output": { "shape": "GetContinuousDeploymentPolicyConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchContinuousDeploymentPolicy" } ], "documentation": "

Gets configuration information about a continuous deployment policy.

" }, "GetDistribution": { "name": "GetDistribution2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distribution/{Id}" }, "input": { "shape": "GetDistributionRequest" }, "output": { "shape": "GetDistributionResult" }, "errors": [ { "shape": "NoSuchDistribution" }, { "shape": "AccessDenied" } ], "documentation": "

Get the information about a distribution.

" }, "GetDistributionConfig": { "name": "GetDistributionConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distribution/{Id}/config" }, "input": { "shape": "GetDistributionConfigRequest" }, "output": { "shape": "GetDistributionConfigResult" }, "errors": [ { "shape": "NoSuchDistribution" }, { "shape": "AccessDenied" } ], "documentation": "

Get the configuration information about a distribution.

" }, "GetFieldLevelEncryption": { "name": "GetFieldLevelEncryption2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/field-level-encryption/{Id}" }, "input": { "shape": "GetFieldLevelEncryptionRequest" }, "output": { "shape": "GetFieldLevelEncryptionResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchFieldLevelEncryptionConfig" } ], "documentation": "

Get the field-level encryption configuration information.

" }, "GetFieldLevelEncryptionConfig": { "name": "GetFieldLevelEncryptionConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/field-level-encryption/{Id}/config" }, "input": { "shape": "GetFieldLevelEncryptionConfigRequest" }, "output": { "shape": "GetFieldLevelEncryptionConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchFieldLevelEncryptionConfig" } ], "documentation": "

Get the field-level encryption configuration information.

" }, "GetFieldLevelEncryptionProfile": { "name": "GetFieldLevelEncryptionProfile2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/field-level-encryption-profile/{Id}" }, "input": { "shape": "GetFieldLevelEncryptionProfileRequest" }, "output": { "shape": "GetFieldLevelEncryptionProfileResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchFieldLevelEncryptionProfile" } ], "documentation": "

Get the field-level encryption profile information.

" }, "GetFieldLevelEncryptionProfileConfig": { "name": "GetFieldLevelEncryptionProfileConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/field-level-encryption-profile/{Id}/config" }, "input": { "shape": "GetFieldLevelEncryptionProfileConfigRequest" }, "output": { "shape": "GetFieldLevelEncryptionProfileConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchFieldLevelEncryptionProfile" } ], "documentation": "

Get the field-level encryption profile configuration information.

" }, "GetFunction": { "name": "GetFunction2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/function/{Name}" }, "input": { "shape": "GetFunctionRequest" }, "output": { "shape": "GetFunctionResult" }, "errors": [ { "shape": "NoSuchFunctionExists" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Gets the code of a CloudFront function. To get configuration information and metadata about a function, use DescribeFunction.

To get a function's code, you must provide the function's name and stage. To get these values, you can use ListFunctions.

" }, "GetInvalidation": { "name": "GetInvalidation2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}" }, "input": { "shape": "GetInvalidationRequest" }, "output": { "shape": "GetInvalidationResult" }, "errors": [ { "shape": "NoSuchInvalidation" }, { "shape": "NoSuchDistribution" }, { "shape": "AccessDenied" } ], "documentation": "

Get the information about an invalidation.

" }, "GetKeyGroup": { "name": "GetKeyGroup2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/key-group/{Id}" }, "input": { "shape": "GetKeyGroupRequest" }, "output": { "shape": "GetKeyGroupResult" }, "errors": [ { "shape": "NoSuchResource" } ], "documentation": "

Gets a key group, including the date and time when the key group was last modified.

To get a key group, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using ListDistributions or GetDistribution. If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups.

" }, "GetKeyGroupConfig": { "name": "GetKeyGroupConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/key-group/{Id}/config" }, "input": { "shape": "GetKeyGroupConfigRequest" }, "output": { "shape": "GetKeyGroupConfigResult" }, "errors": [ { "shape": "NoSuchResource" } ], "documentation": "

Gets a key group configuration.

To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using ListDistributions or GetDistribution. If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups.

" }, "GetMonitoringSubscription": { "name": "GetMonitoringSubscription2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/" }, "input": { "shape": "GetMonitoringSubscriptionRequest" }, "output": { "shape": "GetMonitoringSubscriptionResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchDistribution" }, { "shape": "NoSuchMonitoringSubscription" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.

" }, "GetOriginAccessControl": { "name": "GetOriginAccessControl2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-access-control/{Id}" }, "input": { "shape": "GetOriginAccessControlRequest" }, "output": { "shape": "GetOriginAccessControlResult" }, "errors": [ { "shape": "NoSuchOriginAccessControl" }, { "shape": "AccessDenied" } ], "documentation": "

Gets a CloudFront origin access control, including its unique identifier.

" }, "GetOriginAccessControlConfig": { "name": "GetOriginAccessControlConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-access-control/{Id}/config" }, "input": { "shape": "GetOriginAccessControlConfigRequest" }, "output": { "shape": "GetOriginAccessControlConfigResult" }, "errors": [ { "shape": "NoSuchOriginAccessControl" }, { "shape": "AccessDenied" } ], "documentation": "

Gets a CloudFront origin access control configuration.

" }, "GetOriginRequestPolicy": { "name": "GetOriginRequestPolicy2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-request-policy/{Id}" }, "input": { "shape": "GetOriginRequestPolicyRequest" }, "output": { "shape": "GetOriginRequestPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchOriginRequestPolicy" } ], "documentation": "

Gets an origin request policy, including the following metadata:

To get an origin request policy, you must provide the policy's identifier. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

" }, "GetOriginRequestPolicyConfig": { "name": "GetOriginRequestPolicyConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-request-policy/{Id}/config" }, "input": { "shape": "GetOriginRequestPolicyConfigRequest" }, "output": { "shape": "GetOriginRequestPolicyConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchOriginRequestPolicy" } ], "documentation": "

Gets an origin request policy configuration.

To get an origin request policy configuration, you must provide the policy's identifier. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

" }, "GetPublicKey": { "name": "GetPublicKey2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/public-key/{Id}" }, "input": { "shape": "GetPublicKeyRequest" }, "output": { "shape": "GetPublicKeyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchPublicKey" } ], "documentation": "

Gets a public key.

" }, "GetPublicKeyConfig": { "name": "GetPublicKeyConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/public-key/{Id}/config" }, "input": { "shape": "GetPublicKeyConfigRequest" }, "output": { "shape": "GetPublicKeyConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchPublicKey" } ], "documentation": "

Gets a public key configuration.

" }, "GetRealtimeLogConfig": { "name": "GetRealtimeLogConfig2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/get-realtime-log-config/" }, "input": { "shape": "GetRealtimeLogConfigRequest", "locationName": "GetRealtimeLogConfigRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "GetRealtimeLogConfigResult" }, "errors": [ { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Gets a real-time log configuration.

To get a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to get.

" }, "GetResponseHeadersPolicy": { "name": "GetResponseHeadersPolicy2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/response-headers-policy/{Id}" }, "input": { "shape": "GetResponseHeadersPolicyRequest" }, "output": { "shape": "GetResponseHeadersPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchResponseHeadersPolicy" } ], "documentation": "

Gets a response headers policy, including metadata (the policy's identifier and the date and time when the policy was last modified).

To get a response headers policy, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

" }, "GetResponseHeadersPolicyConfig": { "name": "GetResponseHeadersPolicyConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/response-headers-policy/{Id}/config" }, "input": { "shape": "GetResponseHeadersPolicyConfigRequest" }, "output": { "shape": "GetResponseHeadersPolicyConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchResponseHeadersPolicy" } ], "documentation": "

Gets a response headers policy configuration.

To get a response headers policy configuration, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

" }, "GetStreamingDistribution": { "name": "GetStreamingDistribution2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/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": "GetStreamingDistributionConfig2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/streaming-distribution/{Id}/config" }, "input": { "shape": "GetStreamingDistributionConfigRequest" }, "output": { "shape": "GetStreamingDistributionConfigResult" }, "errors": [ { "shape": "NoSuchStreamingDistribution" }, { "shape": "AccessDenied" } ], "documentation": "

Get the configuration information about a streaming distribution.

" }, "ListCachePolicies": { "name": "ListCachePolicies2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/cache-policy" }, "input": { "shape": "ListCachePoliciesRequest" }, "output": { "shape": "ListCachePoliciesResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchCachePolicy" }, { "shape": "InvalidArgument" } ], "documentation": "

Gets a list of cache policies.

You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListCloudFrontOriginAccessIdentities": { "name": "ListCloudFrontOriginAccessIdentities2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-access-identity/cloudfront" }, "input": { "shape": "ListCloudFrontOriginAccessIdentitiesRequest" }, "output": { "shape": "ListCloudFrontOriginAccessIdentitiesResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

Lists origin access identities.

" }, "ListConflictingAliases": { "name": "ListConflictingAliases2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/conflicting-alias", "responseCode": 200 }, "input": { "shape": "ListConflictingAliasesRequest" }, "output": { "shape": "ListConflictingAliasesResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "NoSuchDistribution" } ], "documentation": "

Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict or overlap with the provided alias, and the associated CloudFront distributions and Amazon Web Services accounts for each conflicting alias. In the returned list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don't own.

Use this operation to find aliases that are in use in CloudFront that conflict or overlap with the provided alias. For example, if you provide www.example.com as input, the returned list can include www.example.com and the overlapping wildcard alternate domain name (*.example.com), if they exist. If you provide *.example.com as input, the returned list can include *.example.com and any alternate domain names covered by that wildcard (for example, www.example.com, test.example.com, dev.example.com, and so on), if they exist.

To list conflicting aliases, you provide the alias to search and the ID of a distribution in your account that has an attached SSL/TLS certificate that includes the provided alias. For more information, including how to set up the distribution and certificate, see Moving an alternate domain name to a different distribution in the Amazon CloudFront Developer Guide.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListContinuousDeploymentPolicies": { "name": "ListContinuousDeploymentPolicies2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/continuous-deployment-policy" }, "input": { "shape": "ListContinuousDeploymentPoliciesRequest" }, "output": { "shape": "ListContinuousDeploymentPoliciesResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "AccessDenied" }, { "shape": "NoSuchContinuousDeploymentPolicy" } ], "documentation": "

Gets a list of the continuous deployment policies in your Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListDistributions": { "name": "ListDistributions2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distribution" }, "input": { "shape": "ListDistributionsRequest" }, "output": { "shape": "ListDistributionsResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

List CloudFront distributions.

" }, "ListDistributionsByCachePolicyId": { "name": "ListDistributionsByCachePolicyId2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}" }, "input": { "shape": "ListDistributionsByCachePolicyIdRequest" }, "output": { "shape": "ListDistributionsByCachePolicyIdResult" }, "errors": [ { "shape": "NoSuchCachePolicy" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListDistributionsByKeyGroup": { "name": "ListDistributionsByKeyGroup2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}" }, "input": { "shape": "ListDistributionsByKeyGroupRequest" }, "output": { "shape": "ListDistributionsByKeyGroupResult" }, "errors": [ { "shape": "NoSuchResource" }, { "shape": "InvalidArgument" } ], "documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that references the specified key group.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListDistributionsByOriginRequestPolicyId": { "name": "ListDistributionsByOriginRequestPolicyId2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}" }, "input": { "shape": "ListDistributionsByOriginRequestPolicyIdRequest" }, "output": { "shape": "ListDistributionsByOriginRequestPolicyIdResult" }, "errors": [ { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified origin request policy.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListDistributionsByRealtimeLogConfig": { "name": "ListDistributionsByRealtimeLogConfig2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/distributionsByRealtimeLogConfig/" }, "input": { "shape": "ListDistributionsByRealtimeLogConfigRequest", "locationName": "ListDistributionsByRealtimeLogConfigRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "ListDistributionsByRealtimeLogConfigResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

Gets a list of distributions that have a cache behavior that's associated with the specified real-time log configuration.

You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list distributions for.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListDistributionsByResponseHeadersPolicyId": { "name": "ListDistributionsByResponseHeadersPolicyId2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}" }, "input": { "shape": "ListDistributionsByResponseHeadersPolicyIdRequest" }, "output": { "shape": "ListDistributionsByResponseHeadersPolicyIdResult" }, "errors": [ { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified response headers policy.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListDistributionsByWebACLId": { "name": "ListDistributionsByWebACLId2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distributionsByWebACLId/{WebACLId}" }, "input": { "shape": "ListDistributionsByWebACLIdRequest" }, "output": { "shape": "ListDistributionsByWebACLIdResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "InvalidWebACLId" } ], "documentation": "

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

" }, "ListFieldLevelEncryptionConfigs": { "name": "ListFieldLevelEncryptionConfigs2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/field-level-encryption" }, "input": { "shape": "ListFieldLevelEncryptionConfigsRequest" }, "output": { "shape": "ListFieldLevelEncryptionConfigsResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

List all field-level encryption configurations that have been created in CloudFront for this account.

" }, "ListFieldLevelEncryptionProfiles": { "name": "ListFieldLevelEncryptionProfiles2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/field-level-encryption-profile" }, "input": { "shape": "ListFieldLevelEncryptionProfilesRequest" }, "output": { "shape": "ListFieldLevelEncryptionProfilesResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

Request a list of field-level encryption profiles that have been created in CloudFront for this account.

" }, "ListFunctions": { "name": "ListFunctions2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/function" }, "input": { "shape": "ListFunctionsRequest" }, "output": { "shape": "ListFunctionsResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Gets a list of all CloudFront functions in your Amazon Web Services account.

You can optionally apply a filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListInvalidations": { "name": "ListInvalidations2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/distribution/{DistributionId}/invalidation" }, "input": { "shape": "ListInvalidationsRequest" }, "output": { "shape": "ListInvalidationsResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "NoSuchDistribution" }, { "shape": "AccessDenied" } ], "documentation": "

Lists invalidation batches.

" }, "ListKeyGroups": { "name": "ListKeyGroups2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/key-group" }, "input": { "shape": "ListKeyGroupsRequest" }, "output": { "shape": "ListKeyGroupsResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

Gets a list of key groups.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListKeyValueStores": { "name": "ListKeyValueStores2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/key-value-store" }, "input": { "shape": "ListKeyValueStoresRequest" }, "output": { "shape": "ListKeyValueStoresResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Specifies the key value stores to list.

" }, "ListOriginAccessControls": { "name": "ListOriginAccessControls2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-access-control" }, "input": { "shape": "ListOriginAccessControlsRequest" }, "output": { "shape": "ListOriginAccessControlsResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

Gets the list of CloudFront origin access controls in this Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the NextMarker value from the current response as the Marker value in the next request.

" }, "ListOriginRequestPolicies": { "name": "ListOriginRequestPolicies2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/origin-request-policy" }, "input": { "shape": "ListOriginRequestPoliciesRequest" }, "output": { "shape": "ListOriginRequestPoliciesResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "InvalidArgument" } ], "documentation": "

Gets a list of origin request policies.

You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListPublicKeys": { "name": "ListPublicKeys2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/public-key" }, "input": { "shape": "ListPublicKeysRequest" }, "output": { "shape": "ListPublicKeysResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

List all public keys that have been added to CloudFront for this account.

" }, "ListRealtimeLogConfigs": { "name": "ListRealtimeLogConfigs2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/realtime-log-config" }, "input": { "shape": "ListRealtimeLogConfigsRequest" }, "output": { "shape": "ListRealtimeLogConfigsResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "AccessDenied" }, { "shape": "NoSuchRealtimeLogConfig" } ], "documentation": "

Gets a list of real-time log configurations.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListResponseHeadersPolicies": { "name": "ListResponseHeadersPolicies2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/response-headers-policy" }, "input": { "shape": "ListResponseHeadersPoliciesRequest" }, "output": { "shape": "ListResponseHeadersPoliciesResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "InvalidArgument" } ], "documentation": "

Gets a list of response headers policies.

You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

" }, "ListStreamingDistributions": { "name": "ListStreamingDistributions2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/streaming-distribution" }, "input": { "shape": "ListStreamingDistributionsRequest" }, "output": { "shape": "ListStreamingDistributionsResult" }, "errors": [ { "shape": "InvalidArgument" } ], "documentation": "

List streaming distributions.

" }, "ListTagsForResource": { "name": "ListTagsForResource2020_05_31", "http": { "method": "GET", "requestUri": "/2020-05-31/tagging" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "InvalidTagging" }, { "shape": "NoSuchResource" } ], "documentation": "

List tags for a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

" }, "PublishFunction": { "name": "PublishFunction2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/function/{Name}/publish" }, "input": { "shape": "PublishFunctionRequest" }, "output": { "shape": "PublishFunctionResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFunctionExists" }, { "shape": "PreconditionFailed" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Publishes a CloudFront function by copying the function code from the DEVELOPMENT stage to LIVE. This automatically updates all cache behaviors that are using this function to use the newly published copy in the LIVE stage.

When a function is published to the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's Amazon Resource Name (ARN).

To publish a function, you must provide the function's name and version (ETag value). To get these values, you can use ListFunctions and DescribeFunction.

" }, "TagResource": { "name": "TagResource2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/tagging?Operation=Tag", "responseCode": 204 }, "input": { "shape": "TagResourceRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "InvalidTagging" }, { "shape": "NoSuchResource" } ], "documentation": "

Add tags to a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

" }, "TestFunction": { "name": "TestFunction2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/function/{Name}/test" }, "input": { "shape": "TestFunctionRequest", "locationName": "TestFunctionRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "TestFunctionResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFunctionExists" }, { "shape": "TestFunctionFailed" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Tests a CloudFront function.

To test a function, you provide an event object that represents an HTTP request or response that your CloudFront distribution could receive in production. CloudFront runs the function, passing it the event object that you provided, and returns the function's result (the modified event object) in the response. The response also contains function logs and error messages, if any exist. For more information about testing functions, see Testing functions in the Amazon CloudFront Developer Guide.

To test a function, you provide the function's name and version (ETag value) along with the event object. To get the function's name and version, you can use ListFunctions and DescribeFunction.

" }, "UntagResource": { "name": "UntagResource2020_05_31", "http": { "method": "POST", "requestUri": "/2020-05-31/tagging?Operation=Untag", "responseCode": 204 }, "input": { "shape": "UntagResourceRequest" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "InvalidTagging" }, { "shape": "NoSuchResource" } ], "documentation": "

Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

" }, "UpdateCachePolicy": { "name": "UpdateCachePolicy2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/cache-policy/{Id}" }, "input": { "shape": "UpdateCachePolicyRequest" }, "output": { "shape": "UpdateCachePolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "IllegalUpdate" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchCachePolicy" }, { "shape": "PreconditionFailed" }, { "shape": "CachePolicyAlreadyExists" }, { "shape": "TooManyHeadersInCachePolicy" }, { "shape": "TooManyCookiesInCachePolicy" }, { "shape": "TooManyQueryStringsInCachePolicy" } ], "documentation": "

Updates a cache policy configuration.

When you update a cache policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a cache policy configuration:

  1. Use GetCachePolicyConfig to get the current configuration.

  2. Locally modify the fields in the cache policy configuration that you want to update.

  3. Call UpdateCachePolicy by providing the entire cache policy configuration, including the fields that you modified and those that you didn't.

" }, "UpdateCloudFrontOriginAccessIdentity": { "name": "UpdateCloudFrontOriginAccessIdentity2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/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.

" }, "UpdateContinuousDeploymentPolicy": { "name": "UpdateContinuousDeploymentPolicy2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/continuous-deployment-policy/{Id}" }, "input": { "shape": "UpdateContinuousDeploymentPolicyRequest" }, "output": { "shape": "UpdateContinuousDeploymentPolicyResult" }, "errors": [ { "shape": "InvalidIfMatchVersion" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" }, { "shape": "InconsistentQuantities" }, { "shape": "PreconditionFailed" }, { "shape": "StagingDistributionInUse" }, { "shape": "NoSuchContinuousDeploymentPolicy" } ], "documentation": "

Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.

When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration:

  1. Use GetContinuousDeploymentPolicyConfig to get the current configuration.

  2. Locally modify the fields in the continuous deployment policy configuration that you want to update.

  3. Use UpdateContinuousDeploymentPolicy, providing the entire continuous deployment policy configuration, including the fields that you modified and those that you didn't.

" }, "UpdateDistribution": { "name": "UpdateDistribution2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/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": "InvalidOriginAccessControl" }, { "shape": "TooManyTrustedSigners" }, { "shape": "TrustedSignerDoesNotExist" }, { "shape": "InvalidViewerCertificate" }, { "shape": "InvalidMinimumProtocolVersion" }, { "shape": "InvalidRequiredProtocol" }, { "shape": "NoSuchOrigin" }, { "shape": "TooManyOrigins" }, { "shape": "TooManyOriginGroupsPerDistribution" }, { "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" }, { "shape": "TooManyDistributionsWithLambdaAssociations" }, { "shape": "TooManyDistributionsWithSingleFunctionARN" }, { "shape": "TooManyLambdaFunctionAssociations" }, { "shape": "InvalidLambdaFunctionAssociation" }, { "shape": "TooManyDistributionsWithFunctionAssociations" }, { "shape": "TooManyFunctionAssociations" }, { "shape": "InvalidFunctionAssociation" }, { "shape": "InvalidOriginReadTimeout" }, { "shape": "InvalidOriginKeepaliveTimeout" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, { "shape": "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" }, { "shape": "NoSuchCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginAccessControl" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "TooManyDistributionsAssociatedToResponseHeadersPolicy" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToKeyGroup" }, { "shape": "TooManyKeyGroupsAssociatedToDistribution" }, { "shape": "TrustedKeyGroupDoesNotExist" }, { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "RealtimeLogConfigOwnerMismatch" }, { "shape": "ContinuousDeploymentPolicyInUse" }, { "shape": "NoSuchContinuousDeploymentPolicy" }, { "shape": "StagingDistributionInUse" }, { "shape": "IllegalOriginAccessConfiguration" }, { "shape": "InvalidDomainNameForOriginAccessControl" } ], "documentation": "

Updates the configuration for a CloudFront distribution.

The update process includes getting the current distribution configuration, updating it to make your changes, and then submitting an UpdateDistribution request to make the updates.

To update a web distribution using the CloudFront API

  1. Use GetDistributionConfig to get the current configuration, including the version identifier (ETag).

  2. Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions:

  3. Submit an UpdateDistribution request, providing the distribution configuration. The new configuration replaces the existing configuration. The values that you specify in an UpdateDistribution request are not merged into your existing configuration. Make sure to include all fields: the ones that you modified and also the ones that you didn't.

" }, "UpdateDistributionWithStagingConfig": { "name": "UpdateDistributionWithStagingConfig2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/distribution/{Id}/promote-staging-config" }, "input": { "shape": "UpdateDistributionWithStagingConfigRequest" }, "output": { "shape": "UpdateDistributionWithStagingConfigResult" }, "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": "InvalidOriginAccessControl" }, { "shape": "TooManyTrustedSigners" }, { "shape": "TrustedSignerDoesNotExist" }, { "shape": "InvalidViewerCertificate" }, { "shape": "InvalidMinimumProtocolVersion" }, { "shape": "InvalidRequiredProtocol" }, { "shape": "NoSuchOrigin" }, { "shape": "TooManyOrigins" }, { "shape": "TooManyOriginGroupsPerDistribution" }, { "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" }, { "shape": "TooManyDistributionsWithLambdaAssociations" }, { "shape": "TooManyDistributionsWithSingleFunctionARN" }, { "shape": "TooManyLambdaFunctionAssociations" }, { "shape": "InvalidLambdaFunctionAssociation" }, { "shape": "TooManyDistributionsWithFunctionAssociations" }, { "shape": "TooManyFunctionAssociations" }, { "shape": "InvalidFunctionAssociation" }, { "shape": "InvalidOriginReadTimeout" }, { "shape": "InvalidOriginKeepaliveTimeout" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, { "shape": "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" }, { "shape": "NoSuchCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToCachePolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginAccessControl" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "TooManyDistributionsAssociatedToResponseHeadersPolicy" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToOriginRequestPolicy" }, { "shape": "TooManyDistributionsAssociatedToKeyGroup" }, { "shape": "TooManyKeyGroupsAssociatedToDistribution" }, { "shape": "TrustedKeyGroupDoesNotExist" }, { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "RealtimeLogConfigOwnerMismatch" } ], "documentation": "

Copies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its Aliases (also known as alternate domain names or CNAMEs) and ContinuousDeploymentPolicyId value, but otherwise its configuration is overwritten to match the staging distribution.

You can use this operation in a continuous deployment workflow after you have tested configuration changes on the staging distribution. After using a continuous deployment policy to move a portion of your domain name's traffic to the staging distribution and verifying that it works as intended, you can use this operation to copy the staging distribution's configuration to the primary distribution. This action will disable the continuous deployment policy and move your domain's traffic back to the primary distribution.

This API operation requires the following IAM permissions:

" }, "UpdateFieldLevelEncryptionConfig": { "name": "UpdateFieldLevelEncryptionConfig2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/field-level-encryption/{Id}/config" }, "input": { "shape": "UpdateFieldLevelEncryptionConfigRequest" }, "output": { "shape": "UpdateFieldLevelEncryptionConfigResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "IllegalUpdate" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFieldLevelEncryptionProfile" }, { "shape": "NoSuchFieldLevelEncryptionConfig" }, { "shape": "PreconditionFailed" }, { "shape": "TooManyFieldLevelEncryptionQueryArgProfiles" }, { "shape": "TooManyFieldLevelEncryptionContentTypeProfiles" }, { "shape": "QueryArgProfileEmpty" } ], "documentation": "

Update a field-level encryption configuration.

" }, "UpdateFieldLevelEncryptionProfile": { "name": "UpdateFieldLevelEncryptionProfile2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/field-level-encryption-profile/{Id}/config" }, "input": { "shape": "UpdateFieldLevelEncryptionProfileRequest" }, "output": { "shape": "UpdateFieldLevelEncryptionProfileResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "FieldLevelEncryptionProfileAlreadyExists" }, { "shape": "IllegalUpdate" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchPublicKey" }, { "shape": "NoSuchFieldLevelEncryptionProfile" }, { "shape": "PreconditionFailed" }, { "shape": "FieldLevelEncryptionProfileSizeExceeded" }, { "shape": "TooManyFieldLevelEncryptionEncryptionEntities" }, { "shape": "TooManyFieldLevelEncryptionFieldPatterns" } ], "documentation": "

Update a field-level encryption profile.

" }, "UpdateFunction": { "name": "UpdateFunction2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/function/{Name}" }, "input": { "shape": "UpdateFunctionRequest", "locationName": "UpdateFunctionRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "UpdateFunctionResult" }, "errors": [ { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchFunctionExists" }, { "shape": "PreconditionFailed" }, { "shape": "FunctionSizeLimitExceeded" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Updates a CloudFront function.

You can update a function's code or the comment that describes the function. You cannot update a function's name.

To update a function, you provide the function's name and version (ETag value) along with the updated function code. To get the name and version, you can use ListFunctions and DescribeFunction.

" }, "UpdateKeyGroup": { "name": "UpdateKeyGroup2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/key-group/{Id}" }, "input": { "shape": "UpdateKeyGroupRequest" }, "output": { "shape": "UpdateKeyGroupResult" }, "errors": [ { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchResource" }, { "shape": "PreconditionFailed" }, { "shape": "KeyGroupAlreadyExists" }, { "shape": "InvalidArgument" }, { "shape": "TooManyPublicKeysInKeyGroup" } ], "documentation": "

Updates a key group.

When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:

  1. Get the current key group with GetKeyGroup or GetKeyGroupConfig.

  2. Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.

  3. Call UpdateKeyGroup with the entire key group object, including the fields that you modified and those that you didn't.

" }, "UpdateKeyValueStore": { "name": "UpdateKeyValueStore2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/key-value-store/{Name}" }, "input": { "shape": "UpdateKeyValueStoreRequest", "locationName": "UpdateKeyValueStoreRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "UpdateKeyValueStoreResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "InvalidArgument" }, { "shape": "EntityNotFound" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "PreconditionFailed" }, { "shape": "UnsupportedOperation" } ], "documentation": "

Specifies the key value store to update.

", "idempotent": true }, "UpdateOriginAccessControl": { "name": "UpdateOriginAccessControl2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/origin-access-control/{Id}/config" }, "input": { "shape": "UpdateOriginAccessControlRequest" }, "output": { "shape": "UpdateOriginAccessControlResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "IllegalUpdate" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "OriginAccessControlAlreadyExists" }, { "shape": "NoSuchOriginAccessControl" }, { "shape": "PreconditionFailed" }, { "shape": "InvalidArgument" } ], "documentation": "

Updates a CloudFront origin access control.

" }, "UpdateOriginRequestPolicy": { "name": "UpdateOriginRequestPolicy2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/origin-request-policy/{Id}" }, "input": { "shape": "UpdateOriginRequestPolicyRequest" }, "output": { "shape": "UpdateOriginRequestPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "IllegalUpdate" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchOriginRequestPolicy" }, { "shape": "PreconditionFailed" }, { "shape": "OriginRequestPolicyAlreadyExists" }, { "shape": "TooManyHeadersInOriginRequestPolicy" }, { "shape": "TooManyCookiesInOriginRequestPolicy" }, { "shape": "TooManyQueryStringsInOriginRequestPolicy" } ], "documentation": "

Updates an origin request policy configuration.

When you update an origin request policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update an origin request policy configuration:

  1. Use GetOriginRequestPolicyConfig to get the current configuration.

  2. Locally modify the fields in the origin request policy configuration that you want to update.

  3. Call UpdateOriginRequestPolicy by providing the entire origin request policy configuration, including the fields that you modified and those that you didn't.

" }, "UpdatePublicKey": { "name": "UpdatePublicKey2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/public-key/{Id}/config" }, "input": { "shape": "UpdatePublicKeyRequest" }, "output": { "shape": "UpdatePublicKeyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "CannotChangeImmutablePublicKeyFields" }, { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "IllegalUpdate" }, { "shape": "NoSuchPublicKey" }, { "shape": "PreconditionFailed" } ], "documentation": "

Update public key information. Note that the only value you can change is the comment.

" }, "UpdateRealtimeLogConfig": { "name": "UpdateRealtimeLogConfig2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/realtime-log-config/" }, "input": { "shape": "UpdateRealtimeLogConfigRequest", "locationName": "UpdateRealtimeLogConfigRequest", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "output": { "shape": "UpdateRealtimeLogConfigResult" }, "errors": [ { "shape": "NoSuchRealtimeLogConfig" }, { "shape": "InvalidArgument" }, { "shape": "AccessDenied" } ], "documentation": "

Updates a real-time log configuration.

When you update a real-time log configuration, all the parameters are updated with the values provided in the request. You cannot update some parameters independent of others. To update a real-time log configuration:

  1. Call GetRealtimeLogConfig to get the current real-time log configuration.

  2. Locally modify the parameters in the real-time log configuration that you want to update.

  3. Call this API (UpdateRealtimeLogConfig) by providing the entire real-time log configuration, including the parameters that you modified and those that you didn't.

You cannot update a real-time log configuration's Name or ARN.

" }, "UpdateResponseHeadersPolicy": { "name": "UpdateResponseHeadersPolicy2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/response-headers-policy/{Id}" }, "input": { "shape": "UpdateResponseHeadersPolicyRequest" }, "output": { "shape": "UpdateResponseHeadersPolicyResult" }, "errors": [ { "shape": "AccessDenied" }, { "shape": "IllegalUpdate" }, { "shape": "InconsistentQuantities" }, { "shape": "InvalidArgument" }, { "shape": "InvalidIfMatchVersion" }, { "shape": "NoSuchResponseHeadersPolicy" }, { "shape": "PreconditionFailed" }, { "shape": "ResponseHeadersPolicyAlreadyExists" }, { "shape": "TooManyCustomHeadersInResponseHeadersPolicy" }, { "shape": "TooLongCSPInResponseHeadersPolicy" }, { "shape": "TooManyRemoveHeadersInResponseHeadersPolicy" } ], "documentation": "

Updates a response headers policy.

When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration:

  1. Use GetResponseHeadersPolicyConfig to get the current policy's configuration.

  2. Modify the fields in the response headers policy configuration that you want to update.

  3. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.

" }, "UpdateStreamingDistribution": { "name": "UpdateStreamingDistribution2020_05_31", "http": { "method": "PUT", "requestUri": "/2020-05-31/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": "InvalidOriginAccessControl" }, { "shape": "TooManyTrustedSigners" }, { "shape": "TrustedSignerDoesNotExist" }, { "shape": "InconsistentQuantities" } ], "documentation": "

Update a streaming distribution.

" } }, "shapes": { "AccessControlAllowHeadersList": { "type": "list", "member": { "shape": "string", "locationName": "Header" } }, "AccessControlAllowMethodsList": { "type": "list", "member": { "shape": "ResponseHeadersPolicyAccessControlAllowMethodsValues", "locationName": "Method" } }, "AccessControlAllowOriginsList": { "type": "list", "member": { "shape": "string", "locationName": "Origin" } }, "AccessControlExposeHeadersList": { "type": "list", "member": { "shape": "string", "locationName": "Header" } }, "ActiveTrustedKeyGroups": { "type": "structure", "required": [ "Enabled", "Quantity" ], "members": { "Enabled": { "shape": "boolean", "documentation": "

This field is true if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

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

The number of key groups in the list.

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

A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

" } }, "documentation": "

A list of key groups, and the public keys in each key group, that CloudFront can use to verify the signatures of signed URLs and signed cookies.

" }, "ActiveTrustedSigners": { "type": "structure", "required": [ "Enabled", "Quantity" ], "members": { "Enabled": { "shape": "boolean", "documentation": "

This field is true if any of the Amazon Web Services accounts in the list are configured as trusted signers. If not, this field is false.

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

The number of Amazon Web Services accounts in the list.

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

A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

" } }, "documentation": "

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

" }, "AliasICPRecordal": { "type": "structure", "members": { "CNAME": { "shape": "string", "documentation": "

A domain name associated with a distribution.

" }, "ICPRecordalStatus": { "shape": "ICPRecordalStatus", "documentation": "

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

" } }, "documentation": "

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions. The status is returned in the CloudFront response; you can't configure it yourself.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

" }, "AliasICPRecordals": { "type": "list", "member": { "shape": "AliasICPRecordal", "locationName": "AliasICPRecordal" } }, "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.

" }, "AssociateAliasRequest": { "type": "structure", "required": [ "TargetDistributionId", "Alias" ], "members": { "TargetDistributionId": { "shape": "string", "documentation": "

The ID of the distribution that you're associating the alias with.

", "location": "uri", "locationName": "TargetDistributionId" }, "Alias": { "shape": "string", "documentation": "

The alias (also known as a CNAME) to add to the target distribution.

", "location": "querystring", "locationName": "Alias" } } }, "AwsAccountNumberList": { "type": "list", "member": { "shape": "string", "locationName": "AwsAccountNumber" } }, "CacheBehavior": { "type": "structure", "required": [ "PathPattern", "TargetOriginId", "ViewerProtocolPolicy" ], "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 they match this cache behavior.

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

We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

" }, "TrustedKeyGroups": { "shape": "TrustedKeyGroups", "documentation": "

A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

" }, "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 Requiring HTTPS Between Viewers and CloudFront 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 Managing Cache Expiration in the Amazon CloudFront Developer Guide.

" }, "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.

" }, "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.

" }, "LambdaFunctionAssociations": { "shape": "LambdaFunctionAssociations", "documentation": "

A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

" }, "FunctionAssociations": { "shape": "FunctionAssociations", "documentation": "

A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

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

The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior.

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

The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

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

The unique identifier of the cache policy that is attached to this cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

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

The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

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

The identifier for a response headers policy.

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

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

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

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

This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

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 Managing How Long Content Stays in an Edge Cache (Expiration) in the 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).

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

This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

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 Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

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

This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

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 Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

", "deprecated": true } }, "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 serve 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 quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.

If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't specify an empty individual CacheBehavior element, because this is invalid. For more information, see CacheBehaviors.

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

" }, "CachePolicy": { "type": "structure", "required": [ "Id", "LastModifiedTime", "CachePolicyConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the cache policy.

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

The date and time when the cache policy was last modified.

" }, "CachePolicyConfig": { "shape": "CachePolicyConfig", "documentation": "

The cache policy configuration.

" } }, "documentation": "

A cache policy.

When it's attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" }, "CachePolicyConfig": { "type": "structure", "required": [ "Name", "MinTTL" ], "members": { "Comment": { "shape": "string", "documentation": "

A comment to describe the cache policy. The comment cannot be longer than 128 characters.

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

A unique name to identify the cache policy.

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

The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL.

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

The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

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

The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

" }, "ParametersInCacheKeyAndForwardedToOrigin": { "shape": "ParametersInCacheKeyAndForwardedToOrigin", "documentation": "

The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin.

" } }, "documentation": "

A cache policy configuration.

This configuration determines the following:

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" }, "CachePolicyCookieBehavior": { "type": "string", "enum": [ "none", "whitelist", "allExcept", "all" ] }, "CachePolicyCookiesConfig": { "type": "structure", "required": [ "CookieBehavior" ], "members": { "CookieBehavior": { "shape": "CachePolicyCookieBehavior", "documentation": "

Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

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

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CachePolicyHeaderBehavior": { "type": "string", "enum": [ "none", "whitelist" ] }, "CachePolicyHeadersConfig": { "type": "structure", "required": [ "HeaderBehavior" ], "members": { "HeaderBehavior": { "shape": "CachePolicyHeaderBehavior", "documentation": "

Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

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

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CachePolicyList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing cache policies where you left off.

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

The maximum number of cache policies requested.

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

The total number of cache policies returned in the response.

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

Contains the cache policies in the list.

" } }, "documentation": "

A list of cache policies.

" }, "CachePolicyQueryStringBehavior": { "type": "string", "enum": [ "none", "whitelist", "allExcept", "all" ] }, "CachePolicyQueryStringsConfig": { "type": "structure", "required": [ "QueryStringBehavior" ], "members": { "QueryStringBehavior": { "shape": "CachePolicyQueryStringBehavior", "documentation": "

Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

" }, "QueryStrings": { "shape": "QueryStringNames", "documentation": "

Contains the specific query strings in viewer requests that either are or are not included in the cache key and in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

" } }, "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CachePolicySummary": { "type": "structure", "required": [ "Type", "CachePolicy" ], "members": { "Type": { "shape": "CachePolicyType", "documentation": "

The type of cache policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).

" }, "CachePolicy": { "shape": "CachePolicy", "documentation": "

The cache policy.

" } }, "documentation": "

Contains a cache policy.

" }, "CachePolicySummaryList": { "type": "list", "member": { "shape": "CachePolicySummary", "locationName": "CachePolicySummary" } }, "CachePolicyType": { "type": "string", "enum": [ "managed", "custom" ] }, "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. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

" } }, "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.

" }, "CloudFrontOriginAccessIdentityConfig": { "type": "structure", "required": [ "CallerReference", "Comment" ], "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 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": "

A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

" } }, "documentation": "

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

" }, "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 Amazon Web Services account.

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

A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current Amazon Web Services 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" } }, "CommentType": { "type": "string", "sensitive": true }, "ConflictingAlias": { "type": "structure", "members": { "Alias": { "shape": "string", "documentation": "

An alias (also called a CNAME).

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

The (partially hidden) ID of the CloudFront distribution associated with the alias.

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

The (partially hidden) ID of the Amazon Web Services account that owns the distribution that's associated with the alias.

" } }, "documentation": "

An alias (also called a CNAME) and the CloudFront distribution and Amazon Web Services account ID that it's associated with. The distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don't own.

" }, "ConflictingAliases": { "type": "list", "member": { "shape": "ConflictingAlias", "locationName": "ConflictingAlias" } }, "ConflictingAliasesList": { "type": "structure", "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing conflicting aliases where you left off.

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

The maximum number of conflicting aliases requested.

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

The number of conflicting aliases returned in the response.

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

Contains the conflicting aliases in the list.

" } }, "documentation": "

A list of aliases (also called CNAMEs) and the CloudFront distributions and Amazon Web Services accounts that they are associated with. In the list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don't own.

" }, "ContentTypeProfile": { "type": "structure", "required": [ "Format", "ContentType" ], "members": { "Format": { "shape": "Format", "documentation": "

The format for a field-level encryption content type-profile mapping.

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

The profile ID for a field-level encryption content type-profile mapping.

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

The content type for a field-level encryption content type-profile mapping.

" } }, "documentation": "

A field-level encryption content type profile.

" }, "ContentTypeProfileConfig": { "type": "structure", "required": [ "ForwardWhenContentTypeIsUnknown" ], "members": { "ForwardWhenContentTypeIsUnknown": { "shape": "boolean", "documentation": "

The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.

" }, "ContentTypeProfiles": { "shape": "ContentTypeProfiles", "documentation": "

The configuration for a field-level encryption content type-profile.

" } }, "documentation": "

The configuration for a field-level encryption content type-profile mapping.

" }, "ContentTypeProfileList": { "type": "list", "member": { "shape": "ContentTypeProfile", "locationName": "ContentTypeProfile" } }, "ContentTypeProfiles": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of field-level encryption content type-profile mappings.

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

Items in a field-level encryption content type-profile mapping.

" } }, "documentation": "

Field-level encryption content type-profile.

" }, "ContinuousDeploymentPolicy": { "type": "structure", "required": [ "Id", "LastModifiedTime", "ContinuousDeploymentPolicyConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the continuous deployment policy.

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

The date and time the continuous deployment policy was last modified.

" }, "ContinuousDeploymentPolicyConfig": { "shape": "ContinuousDeploymentPolicyConfig" } }, "documentation": "

A continuous deployment policy.

" }, "ContinuousDeploymentPolicyConfig": { "type": "structure", "required": [ "StagingDistributionDnsNames", "Enabled" ], "members": { "StagingDistributionDnsNames": { "shape": "StagingDistributionDnsNames", "documentation": "

The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.

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

A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true, this policy is enabled and in effect. When this value is false, this policy is not enabled and has no effect.

" }, "TrafficConfig": { "shape": "TrafficConfig", "documentation": "

Contains the parameters for routing production traffic from your primary to staging distributions.

" } }, "documentation": "

Contains the configuration for a continuous deployment policy.

" }, "ContinuousDeploymentPolicyList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

Indicates the next page of continuous deployment policies. To get the next page of the list, use this value in the Marker field of your request.

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

The maximum number of continuous deployment policies that were specified in your request.

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

The total number of continuous deployment policies in your Amazon Web Services account, regardless of the MaxItems value.

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

A list of continuous deployment policy items.

" } }, "documentation": "

Contains a list of continuous deployment policies.

" }, "ContinuousDeploymentPolicySummary": { "type": "structure", "required": [ "ContinuousDeploymentPolicy" ], "members": { "ContinuousDeploymentPolicy": { "shape": "ContinuousDeploymentPolicy", "documentation": "

The continuous deployment policy.

" } }, "documentation": "

A summary of the information about your continuous deployment policies.

" }, "ContinuousDeploymentPolicySummaryList": { "type": "list", "member": { "shape": "ContinuousDeploymentPolicySummary", "locationName": "ContinuousDeploymentPolicySummary" } }, "ContinuousDeploymentPolicyType": { "type": "string", "enum": [ "SingleWeight", "SingleHeader" ] }, "ContinuousDeploymentSingleHeaderConfig": { "type": "structure", "required": [ "Header", "Value" ], "members": { "Header": { "shape": "string", "documentation": "

The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-.

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

The request header value.

" } }, "documentation": "

This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.

" }, "ContinuousDeploymentSingleWeightConfig": { "type": "structure", "required": [ "Weight" ], "members": { "Weight": { "shape": "float", "documentation": "

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.

" }, "SessionStickinessConfig": { "shape": "SessionStickinessConfig" } }, "documentation": "

Contains the percentage of traffic to send to a staging distribution.

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

The number of cookie names in the Items list.

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

A list of cookie names.

" } }, "documentation": "

Contains a list of cookie names.

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

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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 CloudFront Limits in the Amazon Web Services General Reference.

" } }, "documentation": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use CookiesConfig in a cache policy. See CachePolicy.

If you want to send cookies to the origin but not include them in the cache key, use CookiesConfig in an origin request policy. See OriginRequestPolicy.

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 Caching Content Based on Cookies in the Amazon CloudFront Developer Guide.

" }, "CopyDistributionRequest": { "type": "structure", "required": [ "PrimaryDistributionId", "CallerReference" ], "members": { "PrimaryDistributionId": { "shape": "string", "documentation": "

The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.

", "location": "uri", "locationName": "PrimaryDistributionId" }, "Staging": { "shape": "boolean", "documentation": "

The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.

", "location": "header", "locationName": "Staging" }, "IfMatch": { "shape": "string", "documentation": "

The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.

", "location": "header", "locationName": "If-Match" }, "CallerReference": { "shape": "string", "documentation": "

A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.

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

A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

If you omit this field, the default value is True.

" } } }, "CopyDistributionResult": { "type": "structure", "members": { "Distribution": { "shape": "Distribution" }, "Location": { "shape": "string", "documentation": "

The URL of the staging distribution.

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

The version identifier for the current version of the staging distribution.

", "location": "header", "locationName": "ETag" } }, "payload": "Distribution" }, "CreateCachePolicyRequest": { "type": "structure", "required": [ "CachePolicyConfig" ], "members": { "CachePolicyConfig": { "shape": "CachePolicyConfig", "documentation": "

A cache policy configuration.

", "locationName": "CachePolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "CachePolicyConfig" }, "CreateCachePolicyResult": { "type": "structure", "members": { "CachePolicy": { "shape": "CachePolicy", "documentation": "

A cache policy.

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

The fully qualified URI of the cache policy just created.

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

The current version of the cache policy.

", "location": "header", "locationName": "ETag" } }, "payload": "CachePolicy" }, "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/2020-05-31/" } } }, "documentation": "

The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide.

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

", "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" }, "CreateContinuousDeploymentPolicyRequest": { "type": "structure", "required": [ "ContinuousDeploymentPolicyConfig" ], "members": { "ContinuousDeploymentPolicyConfig": { "shape": "ContinuousDeploymentPolicyConfig", "documentation": "

Contains the configuration for a continuous deployment policy.

", "locationName": "ContinuousDeploymentPolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "ContinuousDeploymentPolicyConfig" }, "CreateContinuousDeploymentPolicyResult": { "type": "structure", "members": { "ContinuousDeploymentPolicy": { "shape": "ContinuousDeploymentPolicy", "documentation": "

A continuous deployment policy.

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

The location of the continuous deployment policy.

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

The version identifier for the current version of the continuous deployment policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ContinuousDeploymentPolicy" }, "CreateDistributionRequest": { "type": "structure", "required": [ "DistributionConfig" ], "members": { "DistributionConfig": { "shape": "DistributionConfig", "documentation": "

The distribution's configuration information.

", "locationName": "DistributionConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "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.

", "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/2020-05-31/" } } }, "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.

", "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" }, "CreateFieldLevelEncryptionConfigRequest": { "type": "structure", "required": [ "FieldLevelEncryptionConfig" ], "members": { "FieldLevelEncryptionConfig": { "shape": "FieldLevelEncryptionConfig", "documentation": "

The request to create a new field-level encryption configuration.

", "locationName": "FieldLevelEncryptionConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "FieldLevelEncryptionConfig" }, "CreateFieldLevelEncryptionConfigResult": { "type": "structure", "members": { "FieldLevelEncryption": { "shape": "FieldLevelEncryption", "documentation": "

Returned when you create a new field-level encryption configuration.

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

The fully qualified URI of the new configuration resource just created.

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

The current version of the field level encryption configuration. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryption" }, "CreateFieldLevelEncryptionProfileRequest": { "type": "structure", "required": [ "FieldLevelEncryptionProfileConfig" ], "members": { "FieldLevelEncryptionProfileConfig": { "shape": "FieldLevelEncryptionProfileConfig", "documentation": "

The request to create a field-level encryption profile.

", "locationName": "FieldLevelEncryptionProfileConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "FieldLevelEncryptionProfileConfig" }, "CreateFieldLevelEncryptionProfileResult": { "type": "structure", "members": { "FieldLevelEncryptionProfile": { "shape": "FieldLevelEncryptionProfile", "documentation": "

Returned when you create a new field-level encryption profile.

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

The fully qualified URI of the new profile resource just created.

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

The current version of the field level encryption profile. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryptionProfile" }, "CreateFunctionRequest": { "type": "structure", "required": [ "Name", "FunctionConfig", "FunctionCode" ], "members": { "Name": { "shape": "FunctionName", "documentation": "

A name to identify the function.

" }, "FunctionConfig": { "shape": "FunctionConfig", "documentation": "

Configuration information about the function, including an optional comment and the function's runtime.

" }, "FunctionCode": { "shape": "FunctionBlob", "documentation": "

The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.

" } } }, "CreateFunctionResult": { "type": "structure", "members": { "FunctionSummary": { "shape": "FunctionSummary", "documentation": "

Contains configuration information and metadata about a CloudFront function.

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

The URL of the CloudFront function. Use the URL to manage the function with the CloudFront API.

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

The version identifier for the current version of the CloudFront function.

", "location": "header", "locationName": "ETag" } }, "payload": "FunctionSummary" }, "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/2020-05-31/" } } }, "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" }, "CreateKeyGroupRequest": { "type": "structure", "required": [ "KeyGroupConfig" ], "members": { "KeyGroupConfig": { "shape": "KeyGroupConfig", "documentation": "

A key group configuration.

", "locationName": "KeyGroupConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "KeyGroupConfig" }, "CreateKeyGroupResult": { "type": "structure", "members": { "KeyGroup": { "shape": "KeyGroup", "documentation": "

The key group that was just created.

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

The URL of the key group.

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

The identifier for this version of the key group.

", "location": "header", "locationName": "ETag" } }, "payload": "KeyGroup" }, "CreateKeyValueStoreRequest": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "KeyValueStoreName", "documentation": "

The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.

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

The comment of the key value store.

" }, "ImportSource": { "shape": "ImportSource", "documentation": "

The S3 bucket that provides the source for the import. The source must be in a valid JSON format.

" } } }, "CreateKeyValueStoreResult": { "type": "structure", "members": { "KeyValueStore": { "shape": "KeyValueStore", "documentation": "

The resulting key value store.

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

The ETag in the resulting key value store.

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

The location of the resulting key value store.

", "location": "header", "locationName": "Location" } }, "payload": "KeyValueStore" }, "CreateMonitoringSubscriptionRequest": { "type": "structure", "required": [ "MonitoringSubscription", "DistributionId" ], "members": { "DistributionId": { "shape": "string", "documentation": "

The ID of the distribution that you are enabling metrics for.

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

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

", "locationName": "MonitoringSubscription", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "MonitoringSubscription" }, "CreateMonitoringSubscriptionResult": { "type": "structure", "members": { "MonitoringSubscription": { "shape": "MonitoringSubscription", "documentation": "

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

" } }, "payload": "MonitoringSubscription" }, "CreateOriginAccessControlRequest": { "type": "structure", "required": [ "OriginAccessControlConfig" ], "members": { "OriginAccessControlConfig": { "shape": "OriginAccessControlConfig", "documentation": "

Contains the origin access control.

", "locationName": "OriginAccessControlConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "OriginAccessControlConfig" }, "CreateOriginAccessControlResult": { "type": "structure", "members": { "OriginAccessControl": { "shape": "OriginAccessControl", "documentation": "

Contains an origin access control.

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

The URL of the origin access control.

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

The version identifier for the current version of the origin access control.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginAccessControl" }, "CreateOriginRequestPolicyRequest": { "type": "structure", "required": [ "OriginRequestPolicyConfig" ], "members": { "OriginRequestPolicyConfig": { "shape": "OriginRequestPolicyConfig", "documentation": "

An origin request policy configuration.

", "locationName": "OriginRequestPolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "OriginRequestPolicyConfig" }, "CreateOriginRequestPolicyResult": { "type": "structure", "members": { "OriginRequestPolicy": { "shape": "OriginRequestPolicy", "documentation": "

An origin request policy.

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

The fully qualified URI of the origin request policy just created.

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

The current version of the origin request policy.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginRequestPolicy" }, "CreatePublicKeyRequest": { "type": "structure", "required": [ "PublicKeyConfig" ], "members": { "PublicKeyConfig": { "shape": "PublicKeyConfig", "documentation": "

A CloudFront public key configuration.

", "locationName": "PublicKeyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "PublicKeyConfig" }, "CreatePublicKeyResult": { "type": "structure", "members": { "PublicKey": { "shape": "PublicKey", "documentation": "

The public key.

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

The URL of the public key.

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

The identifier for this version of the public key.

", "location": "header", "locationName": "ETag" } }, "payload": "PublicKey" }, "CreateRealtimeLogConfigRequest": { "type": "structure", "required": [ "EndPoints", "Fields", "Name", "SamplingRate" ], "members": { "EndPoints": { "shape": "EndPointList", "documentation": "

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

" }, "Fields": { "shape": "FieldList", "documentation": "

A list of fields to include in each real-time log record.

For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

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

A unique name to identify this real-time log configuration.

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

The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.

" } } }, "CreateRealtimeLogConfigResult": { "type": "structure", "members": { "RealtimeLogConfig": { "shape": "RealtimeLogConfig", "documentation": "

A real-time log configuration.

" } } }, "CreateResponseHeadersPolicyRequest": { "type": "structure", "required": [ "ResponseHeadersPolicyConfig" ], "members": { "ResponseHeadersPolicyConfig": { "shape": "ResponseHeadersPolicyConfig", "documentation": "

Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.

", "locationName": "ResponseHeadersPolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } } }, "payload": "ResponseHeadersPolicyConfig" }, "CreateResponseHeadersPolicyResult": { "type": "structure", "members": { "ResponseHeadersPolicy": { "shape": "ResponseHeadersPolicy", "documentation": "

Contains a response headers policy.

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

The URL of the response headers policy.

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

The version identifier for the current version of the response headers policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ResponseHeadersPolicy" }, "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/2020-05-31/" } } }, "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.

", "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/2020-05-31/" } } }, "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.

", "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": "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.

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.

" }, "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.

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 that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

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

The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

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

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

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

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

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

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

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

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

" } }, "documentation": "

A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.

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

The value of ID for the origin that you want CloudFront to route requests to when they use the default cache behavior.

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

We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

" }, "TrustedKeyGroups": { "shape": "TrustedKeyGroups", "documentation": "

A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

" }, "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 Requiring HTTPS Between Viewers and CloudFront 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 Managing Cache Expiration in the Amazon CloudFront Developer Guide.

" }, "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.

" }, "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.

" }, "LambdaFunctionAssociations": { "shape": "LambdaFunctionAssociations", "documentation": "

A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

" }, "FunctionAssociations": { "shape": "FunctionAssociations", "documentation": "

A list of CloudFront functions that are associated with this cache behavior. Your functions must be published to the LIVE stage to associate them with a cache behavior.

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

The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior.

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

The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

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

The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

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

The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

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

The identifier for a response headers policy.

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

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

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

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

This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

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 Managing How Long Content Stays in an Edge Cache (Expiration) in the 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).

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

This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

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 Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

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

This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

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 Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

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

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if request URLs don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

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

The unique identifier for the cache policy that you are deleting. To get the identifier, you can use ListCachePolicies.

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

The version of the cache policy that you are deleting. The version is the cache policy's ETag value, which you can get using ListCachePolicies, GetCachePolicy, or GetCachePolicyConfig.

", "location": "header", "locationName": "If-Match" } } }, "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.

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

The identifier of the continuous deployment policy that you are deleting.

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

The current version (ETag value) of the continuous deployment policy that you are deleting.

", "location": "header", "locationName": "If-Match" } } }, "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.

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

The ID of the configuration you want to delete from CloudFront.

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

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

", "location": "header", "locationName": "If-Match" } } }, "DeleteFieldLevelEncryptionProfileRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

Request the ID of the profile you want to delete from CloudFront.

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

The value of the ETag header that you received when retrieving the profile to delete. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "If-Match" } } }, "DeleteFunctionRequest": { "type": "structure", "required": [ "IfMatch", "Name" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the function that you are deleting.

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

The current version (ETag value) of the function that you are deleting, which you can get using DescribeFunction.

", "location": "header", "locationName": "If-Match" } } }, "DeleteKeyGroupRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the key group that you are deleting. To get the identifier, use ListKeyGroups.

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

The version of the key group that you are deleting. The version is the key group's ETag value. To get the ETag, use GetKeyGroup or GetKeyGroupConfig.

", "location": "header", "locationName": "If-Match" } } }, "DeleteKeyValueStoreRequest": { "type": "structure", "required": [ "IfMatch", "Name" ], "members": { "Name": { "shape": "KeyValueStoreName", "documentation": "

The name of the key value store.

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

The key value store to delete, if a match occurs.

", "location": "header", "locationName": "If-Match" } } }, "DeleteMonitoringSubscriptionRequest": { "type": "structure", "required": [ "DistributionId" ], "members": { "DistributionId": { "shape": "string", "documentation": "

The ID of the distribution that you are disabling metrics for.

", "location": "uri", "locationName": "DistributionId" } } }, "DeleteMonitoringSubscriptionResult": { "type": "structure", "members": {} }, "DeleteOriginAccessControlRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier of the origin access control that you are deleting.

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

The current version (ETag value) of the origin access control that you are deleting.

", "location": "header", "locationName": "If-Match" } } }, "DeleteOriginRequestPolicyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use ListOriginRequestPolicies.

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

The version of the origin request policy that you are deleting. The version is the origin request policy's ETag value, which you can get using ListOriginRequestPolicies, GetOriginRequestPolicy, or GetOriginRequestPolicyConfig.

", "location": "header", "locationName": "If-Match" } } }, "DeletePublicKeyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The ID of the public key you want to remove from CloudFront.

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

The value of the ETag header that you received when retrieving the public key identity to delete. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "If-Match" } } }, "DeleteRealtimeLogConfigRequest": { "type": "structure", "members": { "Name": { "shape": "string", "documentation": "

The name of the real-time log configuration to delete.

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

The Amazon Resource Name (ARN) of the real-time log configuration to delete.

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

The identifier for the response headers policy that you are deleting.

To get the identifier, you can use ListResponseHeadersPolicies.

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

The version of the response headers policy that you are deleting.

The version is the response headers policy's ETag value, which you can get using ListResponseHeadersPolicies, GetResponseHeadersPolicy, or GetResponseHeadersPolicyConfig.

", "location": "header", "locationName": "If-Match" } } }, "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.

" }, "DescribeFunctionRequest": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the function that you are getting information about.

", "location": "uri", "locationName": "Name" }, "Stage": { "shape": "FunctionStage", "documentation": "

The function's stage, either DEVELOPMENT or LIVE.

", "location": "querystring", "locationName": "Stage" } } }, "DescribeFunctionResult": { "type": "structure", "members": { "FunctionSummary": { "shape": "FunctionSummary", "documentation": "

Contains configuration information and metadata about a CloudFront function.

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

The version identifier for the current version of the CloudFront function.

", "location": "header", "locationName": "ETag" } }, "payload": "FunctionSummary" }, "DescribeKeyValueStoreRequest": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "KeyValueStoreName", "documentation": "

The name of the key value store.

", "location": "uri", "locationName": "Name" } } }, "DescribeKeyValueStoreResult": { "type": "structure", "members": { "KeyValueStore": { "shape": "KeyValueStore", "documentation": "

The resulting key value store.

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

The ETag of the resulting key value store.

", "location": "header", "locationName": "ETag" } }, "payload": "KeyValueStore" }, "Distribution": { "type": "structure", "required": [ "Id", "ARN", "Status", "LastModifiedTime", "InProgressInvalidationBatches", "DomainName", "DistributionConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The distribution's identifier. For example: E1U5RQF7T870K0.

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

The distribution's Amazon Resource Name (ARN).

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

The distribution's status. 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 when the distribution was last modified.

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

The number of invalidation batches currently in progress.

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

The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

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

We recommend using TrustedKeyGroups instead of TrustedSigners.

This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

" }, "ActiveTrustedKeyGroups": { "shape": "ActiveTrustedKeyGroups", "documentation": "

This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.

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

The distribution's configuration.

" }, "AliasICPRecordals": { "shape": "AliasICPRecordals", "documentation": "

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

" } }, "documentation": "

A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.

" }, "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 that you already sent in a previous request to create a distribution, 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 (https://www.example.com) instead of an object in your distribution (https://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. Don't 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.

" }, "OriginGroups": { "shape": "OriginGroups", "documentation": "

A complex type that contains information about origin groups for this distribution.

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

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

" }, "CacheBehaviors": { "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": "CommentType", "documentation": "

A comment to describe the distribution. The comment cannot be longer than 128 characters.

" }, "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 (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

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

From this field, you can enable or disable the selected distribution.

" }, "ViewerCertificate": { "shape": "ViewerCertificate", "documentation": "

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

" }, "Restrictions": { "shape": "Restrictions", "documentation": "

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

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

A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. To specify a web ACL created using WAF Classic, use the ACL ID, for example a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

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 WAF, see the WAF Developer Guide.

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

(Optional) Specify the HTTP version(s) 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 TLSv1.2 or later, and must support Server Name Indication (SNI).

For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see Connection Migration at RFC 9000. For more information about supported TLSv1.3 ciphers, see Supported protocols and ciphers between viewers and CloudFront.

" }, "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, don't 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 Route 53 Amazon Web Services Integration 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 Route 53 Amazon Web Services Integration Developer Guide.

If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration 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.

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

The identifier of a continuous deployment policy. For more information, see CreateContinuousDeploymentPolicy.

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

A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

" } }, "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.

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

The value provided in the Marker request field.

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

Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

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

The maximum number of distribution IDs requested.

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

A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the Marker request field to retrieve more distribution IDs in the list.

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

The total number of distribution IDs returned in the response.

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

Contains the distribution IDs in the list.

" } }, "documentation": "

A list of distribution IDs.

" }, "DistributionIdListSummary": { "type": "list", "member": { "shape": "string", "locationName": "DistributionId" } }, "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 Amazon Web Services account.

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

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

" } }, "documentation": "

A distribution list.

" }, "DistributionSummary": { "type": "structure", "required": [ "Id", "ARN", "Status", "LastModifiedTime", "DomainName", "Aliases", "Origins", "DefaultCacheBehavior", "CacheBehaviors", "CustomErrorResponses", "Comment", "PriceClass", "Enabled", "ViewerCertificate", "Restrictions", "WebACLId", "HttpVersion", "IsIPV6Enabled", "Staging" ], "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 Amazon Web Services 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, d111111abcdef8.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.

" }, "OriginGroups": { "shape": "OriginGroups", "documentation": "

A complex type that contains information about origin groups for this distribution.

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

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

" }, "CacheBehaviors": { "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", "documentation": "

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

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

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

" }, "ViewerCertificate": { "shape": "ViewerCertificate", "documentation": "

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

" }, "Restrictions": { "shape": "Restrictions", "documentation": "

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

" }, "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.

" }, "AliasICPRecordals": { "shape": "AliasICPRecordals", "documentation": "

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

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

A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

" } }, "documentation": "

A summary of the information about a CloudFront distribution.

" }, "DistributionSummaryList": { "type": "list", "member": { "shape": "DistributionSummary", "locationName": "DistributionSummary" } }, "EncryptionEntities": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

Number of field pattern items in a field-level encryption content type-profile mapping.

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

An array of field patterns in a field-level encryption content type-profile mapping.

" } }, "documentation": "

Complex data type for field-level encryption profiles that includes all of the encryption entities.

" }, "EncryptionEntity": { "type": "structure", "required": [ "PublicKeyId", "ProviderId", "FieldPatterns" ], "members": { "PublicKeyId": { "shape": "string", "documentation": "

The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

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

The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

" }, "FieldPatterns": { "shape": "FieldPatterns", "documentation": "

Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

" } }, "documentation": "

Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications.

" }, "EncryptionEntityList": { "type": "list", "member": { "shape": "EncryptionEntity", "locationName": "EncryptionEntity" } }, "EndPoint": { "type": "structure", "required": [ "StreamType" ], "members": { "StreamType": { "shape": "string", "documentation": "

The type of data stream where you are sending real-time log data. The only valid value is Kinesis.

" }, "KinesisStreamConfig": { "shape": "KinesisStreamConfig", "documentation": "

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

" } }, "documentation": "

Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.

" }, "EndPointList": { "type": "list", "member": { "shape": "EndPoint" } }, "EventType": { "type": "string", "enum": [ "viewer-request", "viewer-response", "origin-request", "origin-response" ] }, "FieldLevelEncryption": { "type": "structure", "required": [ "Id", "LastModifiedTime", "FieldLevelEncryptionConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

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

The last time the field-level encryption configuration was changed.

" }, "FieldLevelEncryptionConfig": { "shape": "FieldLevelEncryptionConfig", "documentation": "

A complex data type that includes the profile configurations specified for field-level encryption.

" } }, "documentation": "

A complex data type that includes the profile configurations and other options specified for field-level encryption.

" }, "FieldLevelEncryptionConfig": { "type": "structure", "required": [ "CallerReference" ], "members": { "CallerReference": { "shape": "string", "documentation": "

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

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

An optional comment about the configuration. The comment cannot be longer than 128 characters.

" }, "QueryArgProfileConfig": { "shape": "QueryArgProfileConfig", "documentation": "

A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.

" }, "ContentTypeProfileConfig": { "shape": "ContentTypeProfileConfig", "documentation": "

A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.

" } }, "documentation": "

A complex data type that includes the profile configurations specified for field-level encryption.

" }, "FieldLevelEncryptionList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your configurations where you left off.

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

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

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

The number of field-level encryption items.

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

An array of field-level encryption items.

" } }, "documentation": "

List of field-level encryption configurations.

" }, "FieldLevelEncryptionProfile": { "type": "structure", "required": [ "Id", "LastModifiedTime", "FieldLevelEncryptionProfileConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The ID for a field-level encryption profile configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

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

The last time the field-level encryption profile was updated.

" }, "FieldLevelEncryptionProfileConfig": { "shape": "FieldLevelEncryptionProfileConfig", "documentation": "

A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.

" } }, "documentation": "

A complex data type for field-level encryption profiles.

" }, "FieldLevelEncryptionProfileConfig": { "type": "structure", "required": [ "Name", "CallerReference", "EncryptionEntities" ], "members": { "Name": { "shape": "string", "documentation": "

Profile name for the field-level encryption profile.

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

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

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

An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.

" }, "EncryptionEntities": { "shape": "EncryptionEntities", "documentation": "

A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

" } }, "documentation": "

A complex data type of profiles for the field-level encryption.

" }, "FieldLevelEncryptionProfileList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your profiles where you left off.

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

The maximum number of field-level encryption profiles you want in the response body.

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

The number of field-level encryption profiles.

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

The field-level encryption profile items.

" } }, "documentation": "

List of field-level encryption profiles.

" }, "FieldLevelEncryptionProfileSummary": { "type": "structure", "required": [ "Id", "LastModifiedTime", "Name", "EncryptionEntities" ], "members": { "Id": { "shape": "string", "documentation": "

ID for the field-level encryption profile summary.

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

The time when the field-level encryption profile summary was last updated.

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

Name for the field-level encryption profile summary.

" }, "EncryptionEntities": { "shape": "EncryptionEntities", "documentation": "

A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

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

An optional comment for the field-level encryption profile summary. The comment cannot be longer than 128 characters.

" } }, "documentation": "

The field-level encryption profile summary.

" }, "FieldLevelEncryptionProfileSummaryList": { "type": "list", "member": { "shape": "FieldLevelEncryptionProfileSummary", "locationName": "FieldLevelEncryptionProfileSummary" } }, "FieldLevelEncryptionSummary": { "type": "structure", "required": [ "Id", "LastModifiedTime" ], "members": { "Id": { "shape": "string", "documentation": "

The unique ID of a field-level encryption item.

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

The last time that the summary of field-level encryption items was modified.

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

An optional comment about the field-level encryption item. The comment cannot be longer than 128 characters.

" }, "QueryArgProfileConfig": { "shape": "QueryArgProfileConfig", "documentation": "

A summary of a query argument-profile mapping.

" }, "ContentTypeProfileConfig": { "shape": "ContentTypeProfileConfig", "documentation": "

A summary of a content type-profile mapping.

" } }, "documentation": "

A summary of a field-level encryption item.

" }, "FieldLevelEncryptionSummaryList": { "type": "list", "member": { "shape": "FieldLevelEncryptionSummary", "locationName": "FieldLevelEncryptionSummary" } }, "FieldList": { "type": "list", "member": { "shape": "string", "locationName": "Field" } }, "FieldPatternList": { "type": "list", "member": { "shape": "string", "locationName": "FieldPattern" } }, "FieldPatterns": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of field-level encryption field patterns.

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

An array of the field-level encryption field patterns.

" } }, "documentation": "

A complex data type that includes the field patterns to match for field-level encryption.

" }, "Format": { "type": "string", "enum": [ "URLEncoded" ] }, "ForwardedValues": { "type": "structure", "required": [ "QueryString", "Cookies" ], "members": { "QueryString": { "shape": "boolean", "documentation": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies the Headers, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.

For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.

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

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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

" } }, "documentation": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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

" }, "FrameOptionsList": { "type": "string", "enum": [ "DENY", "SAMEORIGIN" ] }, "FunctionARN": { "type": "string", "max": 108, "pattern": "arn:aws:cloudfront::[0-9]{12}:function\\/[a-zA-Z0-9-_]{1,64}$" }, "FunctionAssociation": { "type": "structure", "required": [ "FunctionARN", "EventType" ], "members": { "FunctionARN": { "shape": "FunctionARN", "documentation": "

The Amazon Resource Name (ARN) of the function.

" }, "EventType": { "shape": "EventType", "documentation": "

The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

" } }, "documentation": "

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

" }, "FunctionAssociationList": { "type": "list", "member": { "shape": "FunctionAssociation", "locationName": "FunctionAssociation" } }, "FunctionAssociations": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of CloudFront functions in the list.

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

The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.

" } }, "documentation": "

A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.

" }, "FunctionBlob": { "type": "blob", "max": 40960, "min": 1, "sensitive": true }, "FunctionConfig": { "type": "structure", "required": [ "Comment", "Runtime" ], "members": { "Comment": { "shape": "string", "documentation": "

A comment to describe the function.

" }, "Runtime": { "shape": "FunctionRuntime", "documentation": "

The function's runtime environment version.

" }, "KeyValueStoreAssociations": { "shape": "KeyValueStoreAssociations", "documentation": "

The configuration for the key value store associations.

" } }, "documentation": "

Contains configuration information about a CloudFront function.

" }, "FunctionEventObject": { "type": "blob", "max": 40960, "sensitive": true }, "FunctionExecutionLogList": { "type": "list", "member": { "shape": "string" }, "sensitive": true }, "FunctionList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing functions where you left off.

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

The maximum number of functions requested.

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

The number of functions returned in the response.

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

Contains the functions in the list.

" } }, "documentation": "

A list of CloudFront functions.

" }, "FunctionMetadata": { "type": "structure", "required": [ "FunctionARN", "LastModifiedTime" ], "members": { "FunctionARN": { "shape": "string", "documentation": "

The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

" }, "Stage": { "shape": "FunctionStage", "documentation": "

The stage that the function is in, either DEVELOPMENT or LIVE.

When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

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

The date and time when the function was created.

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

The date and time when the function was most recently updated.

" } }, "documentation": "

Contains metadata about a CloudFront function.

" }, "FunctionName": { "type": "string", "max": 64, "min": 1, "pattern": "^[a-zA-Z0-9-_]{1,64}$" }, "FunctionRuntime": { "type": "string", "enum": [ "cloudfront-js-1.0", "cloudfront-js-2.0" ] }, "FunctionStage": { "type": "string", "enum": [ "DEVELOPMENT", "LIVE" ] }, "FunctionSummary": { "type": "structure", "required": [ "Name", "FunctionConfig", "FunctionMetadata" ], "members": { "Name": { "shape": "FunctionName", "documentation": "

The name of the CloudFront function.

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

The status of the CloudFront function.

" }, "FunctionConfig": { "shape": "FunctionConfig", "documentation": "

Contains configuration information about a CloudFront function.

" }, "FunctionMetadata": { "shape": "FunctionMetadata", "documentation": "

Contains metadata about a CloudFront function.

" } }, "documentation": "

Contains configuration information and metadata about a CloudFront function.

" }, "FunctionSummaryList": { "type": "list", "member": { "shape": "FunctionSummary", "locationName": "FunctionSummary" } }, "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 on 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" ] }, "GetCachePolicyConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

", "location": "uri", "locationName": "Id" } } }, "GetCachePolicyConfigResult": { "type": "structure", "members": { "CachePolicyConfig": { "shape": "CachePolicyConfig", "documentation": "

The cache policy configuration.

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

The current version of the cache policy.

", "location": "header", "locationName": "ETag" } }, "payload": "CachePolicyConfig" }, "GetCachePolicyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

", "location": "uri", "locationName": "Id" } } }, "GetCachePolicyResult": { "type": "structure", "members": { "CachePolicy": { "shape": "CachePolicy", "documentation": "

The cache policy.

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

The current version of the cache policy.

", "location": "header", "locationName": "ETag" } }, "payload": "CachePolicy" }, "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 CloudFrontOriginAccessIdentityConfig.

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

The identifier of the continuous deployment policy whose configuration you are getting.

", "location": "uri", "locationName": "Id" } } }, "GetContinuousDeploymentPolicyConfigResult": { "type": "structure", "members": { "ContinuousDeploymentPolicyConfig": { "shape": "ContinuousDeploymentPolicyConfig" }, "ETag": { "shape": "string", "documentation": "

The version identifier for the current version of the continuous deployment policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ContinuousDeploymentPolicyConfig" }, "GetContinuousDeploymentPolicyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the continuous deployment policy that you are getting.

", "location": "uri", "locationName": "Id" } } }, "GetContinuousDeploymentPolicyResult": { "type": "structure", "members": { "ContinuousDeploymentPolicy": { "shape": "ContinuousDeploymentPolicy", "documentation": "

A continuous deployment policy.

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

The version identifier for the current version of the continuous deployment policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ContinuousDeploymentPolicy" }, "GetDistributionConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

", "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. If the ID is empty, an empty distribution configuration is returned.

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

Request the ID for the field-level encryption configuration information.

", "location": "uri", "locationName": "Id" } } }, "GetFieldLevelEncryptionConfigResult": { "type": "structure", "members": { "FieldLevelEncryptionConfig": { "shape": "FieldLevelEncryptionConfig", "documentation": "

Return the field-level encryption configuration information.

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

The current version of the field level encryption configuration. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryptionConfig" }, "GetFieldLevelEncryptionProfileConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

Get the ID for the field-level encryption profile configuration information.

", "location": "uri", "locationName": "Id" } } }, "GetFieldLevelEncryptionProfileConfigResult": { "type": "structure", "members": { "FieldLevelEncryptionProfileConfig": { "shape": "FieldLevelEncryptionProfileConfig", "documentation": "

Return the field-level encryption profile configuration information.

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

The current version of the field-level encryption profile configuration result. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryptionProfileConfig" }, "GetFieldLevelEncryptionProfileRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

Get the ID for the field-level encryption profile information.

", "location": "uri", "locationName": "Id" } } }, "GetFieldLevelEncryptionProfileResult": { "type": "structure", "members": { "FieldLevelEncryptionProfile": { "shape": "FieldLevelEncryptionProfile", "documentation": "

Return the field-level encryption profile information.

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

The current version of the field level encryption profile. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryptionProfile" }, "GetFieldLevelEncryptionRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

Request the ID for the field-level encryption configuration information.

", "location": "uri", "locationName": "Id" } } }, "GetFieldLevelEncryptionResult": { "type": "structure", "members": { "FieldLevelEncryption": { "shape": "FieldLevelEncryption", "documentation": "

Return the field-level encryption configuration information.

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

The current version of the field level encryption configuration. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryption" }, "GetFunctionRequest": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the function whose code you are getting.

", "location": "uri", "locationName": "Name" }, "Stage": { "shape": "FunctionStage", "documentation": "

The function's stage, either DEVELOPMENT or LIVE.

", "location": "querystring", "locationName": "Stage" } } }, "GetFunctionResult": { "type": "structure", "members": { "FunctionCode": { "shape": "FunctionBlob", "documentation": "

The function code of a CloudFront function.

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

The version identifier for the current version of the CloudFront function.

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

The content type (media type) of the response.

", "location": "header", "locationName": "Content-Type" } }, "payload": "FunctionCode" }, "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" }, "GetKeyGroupConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups.

", "location": "uri", "locationName": "Id" } } }, "GetKeyGroupConfigResult": { "type": "structure", "members": { "KeyGroupConfig": { "shape": "KeyGroupConfig", "documentation": "

The key group configuration.

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

The identifier for this version of the key group.

", "location": "header", "locationName": "ETag" } }, "payload": "KeyGroupConfig" }, "GetKeyGroupRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the key group that you are getting. To get the identifier, use ListKeyGroups.

", "location": "uri", "locationName": "Id" } } }, "GetKeyGroupResult": { "type": "structure", "members": { "KeyGroup": { "shape": "KeyGroup", "documentation": "

The key group.

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

The identifier for this version of the key group.

", "location": "header", "locationName": "ETag" } }, "payload": "KeyGroup" }, "GetMonitoringSubscriptionRequest": { "type": "structure", "required": [ "DistributionId" ], "members": { "DistributionId": { "shape": "string", "documentation": "

The ID of the distribution that you are getting metrics information for.

", "location": "uri", "locationName": "DistributionId" } } }, "GetMonitoringSubscriptionResult": { "type": "structure", "members": { "MonitoringSubscription": { "shape": "MonitoringSubscription", "documentation": "

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

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

The unique identifier of the origin access control.

", "location": "uri", "locationName": "Id" } } }, "GetOriginAccessControlConfigResult": { "type": "structure", "members": { "OriginAccessControlConfig": { "shape": "OriginAccessControlConfig", "documentation": "

Contains an origin access control configuration.

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

The version identifier for the current version of the origin access control.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginAccessControlConfig" }, "GetOriginAccessControlRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier of the origin access control.

", "location": "uri", "locationName": "Id" } } }, "GetOriginAccessControlResult": { "type": "structure", "members": { "OriginAccessControl": { "shape": "OriginAccessControl", "documentation": "

Contains an origin access control, including its unique identifier.

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

The version identifier for the current version of the origin access control.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginAccessControl" }, "GetOriginRequestPolicyConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

", "location": "uri", "locationName": "Id" } } }, "GetOriginRequestPolicyConfigResult": { "type": "structure", "members": { "OriginRequestPolicyConfig": { "shape": "OriginRequestPolicyConfig", "documentation": "

The origin request policy configuration.

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

The current version of the origin request policy.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginRequestPolicyConfig" }, "GetOriginRequestPolicyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

", "location": "uri", "locationName": "Id" } } }, "GetOriginRequestPolicyResult": { "type": "structure", "members": { "OriginRequestPolicy": { "shape": "OriginRequestPolicy", "documentation": "

The origin request policy.

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

The current version of the origin request policy.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginRequestPolicy" }, "GetPublicKeyConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the public key whose configuration you are getting.

", "location": "uri", "locationName": "Id" } } }, "GetPublicKeyConfigResult": { "type": "structure", "members": { "PublicKeyConfig": { "shape": "PublicKeyConfig", "documentation": "

A public key configuration.

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

The identifier for this version of the public key configuration.

", "location": "header", "locationName": "ETag" } }, "payload": "PublicKeyConfig" }, "GetPublicKeyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the public key you are getting.

", "location": "uri", "locationName": "Id" } } }, "GetPublicKeyResult": { "type": "structure", "members": { "PublicKey": { "shape": "PublicKey", "documentation": "

The public key.

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

The identifier for this version of the public key.

", "location": "header", "locationName": "ETag" } }, "payload": "PublicKey" }, "GetRealtimeLogConfigRequest": { "type": "structure", "members": { "Name": { "shape": "string", "documentation": "

The name of the real-time log configuration to get.

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

The Amazon Resource Name (ARN) of the real-time log configuration to get.

" } } }, "GetRealtimeLogConfigResult": { "type": "structure", "members": { "RealtimeLogConfig": { "shape": "RealtimeLogConfig", "documentation": "

A real-time log configuration.

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

The identifier for the response headers policy.

If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

", "location": "uri", "locationName": "Id" } } }, "GetResponseHeadersPolicyConfigResult": { "type": "structure", "members": { "ResponseHeadersPolicyConfig": { "shape": "ResponseHeadersPolicyConfig", "documentation": "

Contains a response headers policy.

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

The version identifier for the current version of the response headers policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ResponseHeadersPolicyConfig" }, "GetResponseHeadersPolicyRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier for the response headers policy.

If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

", "location": "uri", "locationName": "Id" } } }, "GetResponseHeadersPolicyResult": { "type": "structure", "members": { "ResponseHeadersPolicy": { "shape": "ResponseHeadersPolicy", "documentation": "

Contains a response headers policy.

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

The version identifier for the current version of the response headers policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ResponseHeadersPolicy" }, "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 header names in the Items list.

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

A list of HTTP header names.

" } }, "documentation": "

Contains a list of HTTP header names.

" }, "HttpVersion": { "type": "string", "enum": [ "http1.1", "http2", "http3", "http2and3" ] }, "ICPRecordalStatus": { "type": "string", "enum": [ "APPROVED", "SUSPENDED", "PENDING" ] }, "ImportSource": { "type": "structure", "required": [ "SourceType", "SourceARN" ], "members": { "SourceType": { "shape": "ImportSourceType", "documentation": "

The source type of the import source for the key value store.

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

The Amazon Resource Name (ARN) of the import source for the key value store.

" } }, "documentation": "

The import source for the key value store.

" }, "ImportSourceType": { "type": "string", "enum": [ "S3" ] }, "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 Amazon Web Services account.

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

A complex type that contains one InvalidationSummary element for each invalidation batch created by the current Amazon Web Services 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", "documentation": "

The time that an invalidation request was created.

" }, "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" ] }, "KGKeyPairIds": { "type": "structure", "members": { "KeyGroupId": { "shape": "string", "documentation": "

The identifier of the key group that contains the public keys.

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

A list of identifiers for the public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.

" }, "KGKeyPairIdsList": { "type": "list", "member": { "shape": "KGKeyPairIds", "locationName": "KeyGroup" } }, "KeyGroup": { "type": "structure", "required": [ "Id", "LastModifiedTime", "KeyGroupConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier for the key group.

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

The date and time when the key group was last modified.

" }, "KeyGroupConfig": { "shape": "KeyGroupConfig", "documentation": "

The key group configuration.

" } }, "documentation": "

A key group.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.

" }, "KeyGroupConfig": { "type": "structure", "required": [ "Name", "Items" ], "members": { "Name": { "shape": "string", "documentation": "

A name to identify the key group.

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

A list of the identifiers of the public keys in the key group.

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

A comment to describe the key group. The comment cannot be longer than 128 characters.

" } }, "documentation": "

A key group configuration.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.

" }, "KeyGroupList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.

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

The maximum number of key groups requested.

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

The number of key groups returned in the response.

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

A list of key groups.

" } }, "documentation": "

A list of key groups.

" }, "KeyGroupSummary": { "type": "structure", "required": [ "KeyGroup" ], "members": { "KeyGroup": { "shape": "KeyGroup", "documentation": "

A key group.

" } }, "documentation": "

Contains information about a key group.

" }, "KeyGroupSummaryList": { "type": "list", "member": { "shape": "KeyGroupSummary", "locationName": "KeyGroupSummary" } }, "KeyPairIdList": { "type": "list", "member": { "shape": "string", "locationName": "KeyPairId" } }, "KeyPairIds": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of key pair identifiers in the list.

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

A list of CloudFront key pair identifiers.

" } }, "documentation": "

A list of CloudFront key pair identifiers.

" }, "KeyValueStore": { "type": "structure", "required": [ "Name", "Id", "Comment", "ARN", "LastModifiedTime" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the key value store.

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

The unique Id for the key value store.

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

A comment for the key value store.

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

The Amazon Resource Name (ARN) of the key value store.

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

The status of the key value store.

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

The last-modified time of the key value store.

" } }, "documentation": "

The key value store. Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.

" }, "KeyValueStoreARN": { "type": "string", "max": 85, "pattern": "arn:aws:cloudfront::[0-9]{12}:key-value-store\\/[0-9a-fA-F-]{36}$" }, "KeyValueStoreAssociation": { "type": "structure", "required": [ "KeyValueStoreARN" ], "members": { "KeyValueStoreARN": { "shape": "KeyValueStoreARN", "documentation": "

The Amazon Resource Name (ARN) of the key value store association.

" } }, "documentation": "

The key value store association.

" }, "KeyValueStoreAssociationList": { "type": "list", "member": { "shape": "KeyValueStoreAssociation", "locationName": "KeyValueStoreAssociation" } }, "KeyValueStoreAssociations": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The quantity of key value store associations.

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

The items of the key value store association.

" } }, "documentation": "

The key value store associations.

" }, "KeyValueStoreComment": { "type": "string", "max": 128 }, "KeyValueStoreList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

The next marker associated with the key value store list.

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

The maximum number of items in the key value store list.

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

The quantity of the key value store list.

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

The items of the key value store list.

" } }, "documentation": "

The key value store list.

" }, "KeyValueStoreName": { "type": "string", "max": 64, "min": 1, "pattern": "^[a-zA-Z0-9-_]{1,64}$" }, "KeyValueStoreSummaryList": { "type": "list", "member": { "shape": "KeyValueStore", "locationName": "KeyValueStore" } }, "KinesisStreamConfig": { "type": "structure", "required": [ "RoleARN", "StreamARN" ], "members": { "RoleARN": { "shape": "string", "documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.

For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.

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

The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

" } }, "documentation": "

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

" }, "LambdaFunctionARN": { "type": "string" }, "LambdaFunctionAssociation": { "type": "structure", "required": [ "LambdaFunctionARN", "EventType" ], "members": { "LambdaFunctionARN": { "shape": "LambdaFunctionARN", "documentation": "

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

" }, "EventType": { "shape": "EventType", "documentation": "

Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:

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

A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.

" } }, "documentation": "

A complex type that contains a Lambda@Edge function association.

" }, "LambdaFunctionAssociationList": { "type": "list", "member": { "shape": "LambdaFunctionAssociation", "locationName": "LambdaFunctionAssociation" } }, "LambdaFunctionAssociations": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of Lambda@Edge function associations for this cache behavior.

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

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

" } }, "documentation": "

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

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

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

" }, "ListCachePoliciesRequest": { "type": "structure", "members": { "Type": { "shape": "CachePolicyType", "documentation": "

A filter to return only the specified kinds of cache policies. Valid values are:

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

Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of cache policies that you want in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListCachePoliciesResult": { "type": "structure", "members": { "CachePolicyList": { "shape": "CachePolicyList", "documentation": "

A list of cache policies.

" } }, "payload": "CachePolicyList" }, "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" }, "ListConflictingAliasesRequest": { "type": "structure", "required": [ "DistributionId", "Alias" ], "members": { "DistributionId": { "shape": "distributionIdString", "documentation": "

The ID of a distribution in your account that has an attached SSL/TLS certificate that includes the provided alias.

", "location": "querystring", "locationName": "DistributionId" }, "Alias": { "shape": "aliasString", "documentation": "

The alias (also called a CNAME) to search for conflicting aliases.

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

Use this field when paginating results to indicate where to begin in the list of conflicting aliases. The response includes conflicting aliases in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of conflicting aliases that you want in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListConflictingAliasesResult": { "type": "structure", "members": { "ConflictingAliasesList": { "shape": "ConflictingAliasesList", "documentation": "

A list of conflicting aliases.

" } }, "payload": "ConflictingAliasesList" }, "ListContinuousDeploymentPoliciesRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of continuous deployment policies that you want returned in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListContinuousDeploymentPoliciesResult": { "type": "structure", "members": { "ContinuousDeploymentPolicyList": { "shape": "ContinuousDeploymentPolicyList", "documentation": "

A list of continuous deployment policies.

" } }, "payload": "ContinuousDeploymentPolicyList" }, "ListDistributionsByCachePolicyIdRequest": { "type": "structure", "required": [ "CachePolicyId" ], "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of distribution IDs that you want in the response.

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

The ID of the cache policy whose associated distribution IDs you want to list.

", "location": "uri", "locationName": "CachePolicyId" } } }, "ListDistributionsByCachePolicyIdResult": { "type": "structure", "members": { "DistributionIdList": { "shape": "DistributionIdList", "documentation": "

A list of distribution IDs.

" } }, "payload": "DistributionIdList" }, "ListDistributionsByKeyGroupRequest": { "type": "structure", "required": [ "KeyGroupId" ], "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of distribution IDs that you want in the response.

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

The ID of the key group whose associated distribution IDs you are listing.

", "location": "uri", "locationName": "KeyGroupId" } } }, "ListDistributionsByKeyGroupResult": { "type": "structure", "members": { "DistributionIdList": { "shape": "DistributionIdList" } }, "payload": "DistributionIdList" }, "ListDistributionsByOriginRequestPolicyIdRequest": { "type": "structure", "required": [ "OriginRequestPolicyId" ], "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of distribution IDs that you want in the response.

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

The ID of the origin request policy whose associated distribution IDs you want to list.

", "location": "uri", "locationName": "OriginRequestPolicyId" } } }, "ListDistributionsByOriginRequestPolicyIdResult": { "type": "structure", "members": { "DistributionIdList": { "shape": "DistributionIdList", "documentation": "

A list of distribution IDs.

" } }, "payload": "DistributionIdList" }, "ListDistributionsByRealtimeLogConfigRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

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

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

The name of the real-time log configuration whose associated distributions you want to list.

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

The Amazon Resource Name (ARN) of the real-time log configuration whose associated distributions you want to list.

" } } }, "ListDistributionsByRealtimeLogConfigResult": { "type": "structure", "members": { "DistributionList": { "shape": "DistributionList" } }, "payload": "DistributionList" }, "ListDistributionsByResponseHeadersPolicyIdRequest": { "type": "structure", "required": [ "ResponseHeadersPolicyId" ], "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of distribution IDs that you want to get in the response.

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

The ID of the response headers policy whose associated distribution IDs you want to list.

", "location": "uri", "locationName": "ResponseHeadersPolicyId" } } }, "ListDistributionsByResponseHeadersPolicyIdResult": { "type": "structure", "members": { "DistributionIdList": { "shape": "DistributionIdList" } }, "payload": "DistributionIdList" }, "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 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.

For WAFV2, this is the ARN of the web ACL, such as arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

For WAF Classic, this is the ID of the web ACL, such as a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

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

The request to list distributions that are associated with a specified 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 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" }, "ListFieldLevelEncryptionConfigsRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last configuration on that page).

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

The maximum number of field-level encryption configurations you want in the response body.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListFieldLevelEncryptionConfigsResult": { "type": "structure", "members": { "FieldLevelEncryptionList": { "shape": "FieldLevelEncryptionList", "documentation": "

Returns a list of all field-level encryption configurations that have been created in CloudFront for this account.

" } }, "payload": "FieldLevelEncryptionList" }, "ListFieldLevelEncryptionProfilesRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this when paginating results to indicate where to begin in your list of profiles. The results include profiles in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last profile on that page).

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

The maximum number of field-level encryption profiles you want in the response body.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListFieldLevelEncryptionProfilesResult": { "type": "structure", "members": { "FieldLevelEncryptionProfileList": { "shape": "FieldLevelEncryptionProfileList", "documentation": "

Returns a list of the field-level encryption profiles that have been created in CloudFront for this account.

" } }, "payload": "FieldLevelEncryptionProfileList" }, "ListFunctionsRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of functions that you want in the response.

", "location": "querystring", "locationName": "MaxItems" }, "Stage": { "shape": "FunctionStage", "documentation": "

An optional filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

", "location": "querystring", "locationName": "Stage" } } }, "ListFunctionsResult": { "type": "structure", "members": { "FunctionList": { "shape": "FunctionList", "documentation": "

A list of CloudFront functions.

" } }, "payload": "FunctionList" }, "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" }, "ListKeyGroupsRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of key groups that you want in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListKeyGroupsResult": { "type": "structure", "members": { "KeyGroupList": { "shape": "KeyGroupList", "documentation": "

A list of key groups.

" } }, "payload": "KeyGroupList" }, "ListKeyValueStoresRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

The marker associated with the key value stores list.

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

The maximum number of items in the key value stores list.

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

The status of the request for the key value stores list.

", "location": "querystring", "locationName": "Status" } } }, "ListKeyValueStoresResult": { "type": "structure", "members": { "KeyValueStoreList": { "shape": "KeyValueStoreList", "documentation": "

The resulting key value stores list.

" } }, "payload": "KeyValueStoreList" }, "ListOriginAccessControlsRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of origin access controls that you want in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListOriginAccessControlsResult": { "type": "structure", "members": { "OriginAccessControlList": { "shape": "OriginAccessControlList", "documentation": "

A list of origin access controls.

" } }, "payload": "OriginAccessControlList" }, "ListOriginRequestPoliciesRequest": { "type": "structure", "members": { "Type": { "shape": "OriginRequestPolicyType", "documentation": "

A filter to return only the specified kinds of origin request policies. Valid values are:

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

Use this field when paginating results to indicate where to begin in your list of origin request policies. The response includes origin request policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of origin request policies that you want in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListOriginRequestPoliciesResult": { "type": "structure", "members": { "OriginRequestPolicyList": { "shape": "OriginRequestPolicyList", "documentation": "

A list of origin request policies.

" } }, "payload": "OriginRequestPolicyList" }, "ListPublicKeysRequest": { "type": "structure", "members": { "Marker": { "shape": "string", "documentation": "

Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page).

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

The maximum number of public keys you want in the response body.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListPublicKeysResult": { "type": "structure", "members": { "PublicKeyList": { "shape": "PublicKeyList", "documentation": "

Returns a list of all public keys that have been added to CloudFront for this account.

" } }, "payload": "PublicKeyList" }, "ListRealtimeLogConfigsRequest": { "type": "structure", "members": { "MaxItems": { "shape": "string", "documentation": "

The maximum number of real-time log configurations that you want in the response.

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

Use this field when paginating results to indicate where to begin in your list of real-time log configurations. The response includes real-time log configurations in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

", "location": "querystring", "locationName": "Marker" } } }, "ListRealtimeLogConfigsResult": { "type": "structure", "members": { "RealtimeLogConfigs": { "shape": "RealtimeLogConfigs", "documentation": "

A list of real-time log configurations.

" } }, "payload": "RealtimeLogConfigs" }, "ListResponseHeadersPoliciesRequest": { "type": "structure", "members": { "Type": { "shape": "ResponseHeadersPolicyType", "documentation": "

A filter to get only the specified kind of response headers policies. Valid values are:

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

Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

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

The maximum number of response headers policies that you want to get in the response.

", "location": "querystring", "locationName": "MaxItems" } } }, "ListResponseHeadersPoliciesResult": { "type": "structure", "members": { "ResponseHeadersPolicyList": { "shape": "ResponseHeadersPolicyList", "documentation": "

A list of response headers policies.

" } }, "payload": "ResponseHeadersPolicyList" }, "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 don't 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 don't 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 don't 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", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021" ] }, "MonitoringSubscription": { "type": "structure", "members": { "RealtimeMetricsSubscriptionConfig": { "shape": "RealtimeMetricsSubscriptionConfig", "documentation": "

A subscription configuration for additional CloudWatch metrics.

" } }, "documentation": "

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

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

A unique identifier for the origin. This value must be unique within the distribution.

Use this value to specify the TargetOriginId in a CacheBehavior or DefaultCacheBehavior.

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

The domain name for the origin.

For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.

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

An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.

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

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

A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.

For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

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

Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead.

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

Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.

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

The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.

For a custom origin (including an Amazon S3 bucket that's configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.

For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.

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

The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don't specify otherwise) is 10 seconds.

For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

" }, "OriginShield": { "shape": "OriginShield", "documentation": "

CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin.

For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

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

The unique identifier of an origin access control for this origin.

For more information, see Restricting access to an Amazon S3 origin in the Amazon CloudFront Developer Guide.

" } }, "documentation": "

An origin.

An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:

For the current maximum number of origins that you can specify per distribution, see General Quotas on Web Distributions in the Amazon CloudFront Developer Guide (quotas were formerly referred to as limits).

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

The unique identifier of the origin access control.

" }, "OriginAccessControlConfig": { "shape": "OriginAccessControlConfig", "documentation": "

The origin access control.

" } }, "documentation": "

A CloudFront origin access control, including its unique identifier.

" }, "OriginAccessControlConfig": { "type": "structure", "required": [ "Name", "SigningProtocol", "SigningBehavior", "OriginAccessControlOriginType" ], "members": { "Name": { "shape": "string", "documentation": "

A name to identify the origin access control. You can specify up to 64 characters.

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

A description of the origin access control.

" }, "SigningProtocol": { "shape": "OriginAccessControlSigningProtocols", "documentation": "

The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

" }, "SigningBehavior": { "shape": "OriginAccessControlSigningBehaviors", "documentation": "

Specifies which requests CloudFront signs (adds authentication information to). Specify always for the most common use case. For more information, see origin access control advanced settings in the Amazon CloudFront Developer Guide.

This field can have one of the following values:

" }, "OriginAccessControlOriginType": { "shape": "OriginAccessControlOriginTypes", "documentation": "

The type of origin that this origin access control is for.

" } }, "documentation": "

A CloudFront origin access control configuration.

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

The value of the Marker field that was provided in the request.

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

If there are more items in the list than are in this response, this element is present. It contains the value to use in the Marker field of another request to continue listing origin access controls.

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

The maximum number of origin access controls requested.

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

If there are more items in the list than are in this response, this value is true.

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

The number of origin access controls returned in the response.

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

Contains the origin access controls in the list.

" } }, "documentation": "

A list of CloudFront origin access controls.

" }, "OriginAccessControlOriginTypes": { "type": "string", "enum": [ "s3", "mediastore", "mediapackagev2", "lambda" ] }, "OriginAccessControlSigningBehaviors": { "type": "string", "enum": [ "never", "always", "no-override" ] }, "OriginAccessControlSigningProtocols": { "type": "string", "enum": [ "sigv4" ] }, "OriginAccessControlSummary": { "type": "structure", "required": [ "Id", "Description", "Name", "SigningProtocol", "SigningBehavior", "OriginAccessControlOriginType" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier of the origin access control.

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

A description of the origin access control.

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

A unique name that identifies the origin access control.

" }, "SigningProtocol": { "shape": "OriginAccessControlSigningProtocols", "documentation": "

The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

" }, "SigningBehavior": { "shape": "OriginAccessControlSigningBehaviors", "documentation": "

A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:

" }, "OriginAccessControlOriginType": { "shape": "OriginAccessControlOriginTypes", "documentation": "

The type of origin that this origin access control is for.

" } }, "documentation": "

A CloudFront origin access control.

" }, "OriginAccessControlSummaryList": { "type": "list", "member": { "shape": "OriginAccessControlSummary", "locationName": "OriginAccessControlSummary" } }, "OriginCustomHeader": { "type": "structure", "required": [ "HeaderName", "HeaderValue" ], "members": { "HeaderName": { "shape": "string", "documentation": "

The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

" }, "HeaderValue": { "shape": "sensitiveStringType", "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" } }, "OriginGroup": { "type": "structure", "required": [ "Id", "FailoverCriteria", "Members" ], "members": { "Id": { "shape": "string", "documentation": "

The origin group's ID.

" }, "FailoverCriteria": { "shape": "OriginGroupFailoverCriteria", "documentation": "

A complex type that contains information about the failover criteria for an origin group.

" }, "Members": { "shape": "OriginGroupMembers", "documentation": "

A complex type that contains information about the origins in an origin group.

" } }, "documentation": "

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specify the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.

" }, "OriginGroupFailoverCriteria": { "type": "structure", "required": [ "StatusCodes" ], "members": { "StatusCodes": { "shape": "StatusCodes", "documentation": "

The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

" } }, "documentation": "

A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.

" }, "OriginGroupList": { "type": "list", "member": { "shape": "OriginGroup", "locationName": "OriginGroup" }, "documentation": "

List of origin groups for a distribution.

" }, "OriginGroupMember": { "type": "structure", "required": [ "OriginId" ], "members": { "OriginId": { "shape": "string", "documentation": "

The ID for an origin in an origin group.

" } }, "documentation": "

An origin in an origin group.

" }, "OriginGroupMemberList": { "type": "list", "member": { "shape": "OriginGroupMember", "locationName": "OriginGroupMember" }, "documentation": "

List of origins in an origin group.

", "max": 2, "min": 2 }, "OriginGroupMembers": { "type": "structure", "required": [ "Quantity", "Items" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of origins in an origin group.

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

Items (origins) in an origin group.

" } }, "documentation": "

A complex data type for the origins included in an origin group.

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

The number of origin groups.

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

The items (origin groups) in a distribution.

" } }, "documentation": "

A complex data type for the origin groups specified for a distribution.

" }, "OriginList": { "type": "list", "member": { "shape": "Origin", "locationName": "Origin" }, "min": 1 }, "OriginProtocolPolicy": { "type": "string", "enum": [ "http-only", "match-viewer", "https-only" ] }, "OriginRequestPolicy": { "type": "structure", "required": [ "Id", "LastModifiedTime", "OriginRequestPolicyConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The unique identifier for the origin request policy.

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

The date and time when the origin request policy was last modified.

" }, "OriginRequestPolicyConfig": { "shape": "OriginRequestPolicyConfig", "documentation": "

The origin request policy configuration.

" } }, "documentation": "

An origin request policy.

When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

" }, "OriginRequestPolicyConfig": { "type": "structure", "required": [ "Name", "HeadersConfig", "CookiesConfig", "QueryStringsConfig" ], "members": { "Comment": { "shape": "string", "documentation": "

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

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

A unique name to identify the origin request policy.

" }, "HeadersConfig": { "shape": "OriginRequestPolicyHeadersConfig", "documentation": "

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

" }, "CookiesConfig": { "shape": "OriginRequestPolicyCookiesConfig", "documentation": "

The cookies from viewer requests to include in origin requests.

" }, "QueryStringsConfig": { "shape": "OriginRequestPolicyQueryStringsConfig", "documentation": "

The URL query strings from viewer requests to include in origin requests.

" } }, "documentation": "

An origin request policy configuration.

This configuration determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

" }, "OriginRequestPolicyCookieBehavior": { "type": "string", "enum": [ "none", "whitelist", "all", "allExcept" ] }, "OriginRequestPolicyCookiesConfig": { "type": "structure", "required": [ "CookieBehavior" ], "members": { "CookieBehavior": { "shape": "OriginRequestPolicyCookieBehavior", "documentation": "

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

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

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.

" }, "OriginRequestPolicyHeaderBehavior": { "type": "string", "enum": [ "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept" ] }, "OriginRequestPolicyHeadersConfig": { "type": "structure", "required": [ "HeaderBehavior" ], "members": { "HeaderBehavior": { "shape": "OriginRequestPolicyHeaderBehavior", "documentation": "

Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

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

An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

" }, "OriginRequestPolicyList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing origin request policies where you left off.

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

The maximum number of origin request policies requested.

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

The total number of origin request policies returned in the response.

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

Contains the origin request policies in the list.

" } }, "documentation": "

A list of origin request policies.

" }, "OriginRequestPolicyQueryStringBehavior": { "type": "string", "enum": [ "none", "whitelist", "all", "allExcept" ] }, "OriginRequestPolicyQueryStringsConfig": { "type": "structure", "required": [ "QueryStringBehavior" ], "members": { "QueryStringBehavior": { "shape": "OriginRequestPolicyQueryStringBehavior", "documentation": "

Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

" }, "QueryStrings": { "shape": "QueryStringNames", "documentation": "

Contains the specific query strings in viewer requests that either are or are not included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the OriginRequestPolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

" } }, "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.

" }, "OriginRequestPolicySummary": { "type": "structure", "required": [ "Type", "OriginRequestPolicy" ], "members": { "Type": { "shape": "OriginRequestPolicyType", "documentation": "

The type of origin request policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).

" }, "OriginRequestPolicy": { "shape": "OriginRequestPolicy", "documentation": "

The origin request policy.

" } }, "documentation": "

Contains an origin request policy.

" }, "OriginRequestPolicySummaryList": { "type": "list", "member": { "shape": "OriginRequestPolicySummary", "locationName": "OriginRequestPolicySummary" } }, "OriginRequestPolicyType": { "type": "string", "enum": [ "managed", "custom" ] }, "OriginShield": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "shape": "boolean", "documentation": "

A flag that specifies whether Origin Shield is enabled.

When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

" }, "OriginShieldRegion": { "shape": "OriginShieldRegion", "documentation": "

The Amazon Web Services Region for Origin Shield.

Specify the Amazon Web Services Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the Amazon Web Services Region for Origin Shield. For the list of Amazon Web Services Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Amazon Web Services Region for Origin Shield in the Amazon CloudFront Developer Guide.

" } }, "documentation": "

CloudFront Origin Shield.

Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

" }, "OriginShieldRegion": { "type": "string", "max": 32, "min": 1, "pattern": "[a-z]{2}-[a-z]+-\\d" }, "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", "Items" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of origins for this distribution.

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

A list of origins.

" } }, "documentation": "

Contains information about the origins for this distribution.

" }, "ParametersInCacheKeyAndForwardedToOrigin": { "type": "structure", "required": [ "EnableAcceptEncodingGzip", "HeadersConfig", "CookiesConfig", "QueryStringsConfig" ], "members": { "EnableAcceptEncodingGzip": { "shape": "boolean", "documentation": "

A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

This field is related to the EnableAcceptEncodingBrotli field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

For more information, see Compression support in the Amazon CloudFront Developer Guide.

If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

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

A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

This field is related to the EnableAcceptEncodingGzip field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

For more information, see Compression support in the Amazon CloudFront Developer Guide.

If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

" }, "HeadersConfig": { "shape": "CachePolicyHeadersConfig", "documentation": "

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CookiesConfig": { "shape": "CachePolicyCookiesConfig", "documentation": "

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "QueryStringsConfig": { "shape": "CachePolicyQueryStringsConfig", "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.

" } }, "documentation": "

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

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

The number of invalidation paths specified for the 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.

" }, "PriceClass": { "type": "string", "enum": [ "PriceClass_100", "PriceClass_200", "PriceClass_All" ] }, "PublicKey": { "type": "structure", "required": [ "Id", "CreatedTime", "PublicKeyConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the public key.

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

The date and time when the public key was uploaded.

" }, "PublicKeyConfig": { "shape": "PublicKeyConfig", "documentation": "

Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

" } }, "documentation": "

A public key that you can use with signed URLs and signed cookies, or with field-level encryption.

" }, "PublicKeyConfig": { "type": "structure", "required": [ "CallerReference", "Name", "EncodedKey" ], "members": { "CallerReference": { "shape": "string", "documentation": "

A string included in the request to help make sure that the request can't be replayed.

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

A name to help identify the public key.

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

The public key that you can use with signed URLs and signed cookies, or with field-level encryption.

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

A comment to describe the public key. The comment cannot be longer than 128 characters.

" } }, "documentation": "

Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

" }, "PublicKeyIdList": { "type": "list", "member": { "shape": "string", "locationName": "PublicKey" } }, "PublicKeyList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.

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

The maximum number of public keys you want in the response.

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

The number of public keys in the list.

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

A list of public keys.

" } }, "documentation": "

A list of public keys that you can use with signed URLs and signed cookies, or with field-level encryption.

" }, "PublicKeySummary": { "type": "structure", "required": [ "Id", "Name", "CreatedTime", "EncodedKey" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the public key.

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

A name to help identify the public key.

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

The date and time when the public key was uploaded.

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

The public key.

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

A comment to describe the public key. The comment cannot be longer than 128 characters.

" } }, "documentation": "

Contains information about a public key.

" }, "PublicKeySummaryList": { "type": "list", "member": { "shape": "PublicKeySummary", "locationName": "PublicKeySummary" } }, "PublishFunctionRequest": { "type": "structure", "required": [ "Name", "IfMatch" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the function that you are publishing.

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

The current version (ETag value) of the function that you are publishing, which you can get using DescribeFunction.

", "location": "header", "locationName": "If-Match" } } }, "PublishFunctionResult": { "type": "structure", "members": { "FunctionSummary": { "shape": "FunctionSummary", "documentation": "

Contains configuration information and metadata about a CloudFront function.

" } }, "payload": "FunctionSummary" }, "QueryArgProfile": { "type": "structure", "required": [ "QueryArg", "ProfileId" ], "members": { "QueryArg": { "shape": "string", "documentation": "

Query argument for field-level encryption query argument-profile mapping.

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

ID of profile to use for field-level encryption query argument-profile mapping

" } }, "documentation": "

Query argument-profile mapping for field-level encryption.

" }, "QueryArgProfileConfig": { "type": "structure", "required": [ "ForwardWhenQueryArgProfileIsUnknown" ], "members": { "ForwardWhenQueryArgProfileIsUnknown": { "shape": "boolean", "documentation": "

Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.

" }, "QueryArgProfiles": { "shape": "QueryArgProfiles", "documentation": "

Profiles specified for query argument-profile mapping for field-level encryption.

" } }, "documentation": "

Configuration for query argument-profile mapping for field-level encryption.

" }, "QueryArgProfileList": { "type": "list", "member": { "shape": "QueryArgProfile", "locationName": "QueryArgProfile" } }, "QueryArgProfiles": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

Number of profiles for query argument-profile mapping for field-level encryption.

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

Number of items for query argument-profile mapping for field-level encryption.

" } }, "documentation": "

Query argument-profile mapping for field-level encryption.

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

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

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

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

" } }, "documentation": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use QueryStringsConfig in a cache policy. See CachePolicy.

If you want to send query strings to the origin but not include them in the cache key, use QueryStringsConfig in an origin request policy. See OriginRequestPolicy.

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

" }, "QueryStringCacheKeysList": { "type": "list", "member": { "shape": "string", "locationName": "Name" } }, "QueryStringNames": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of query string names in the Items list.

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

A list of query string names.

" } }, "documentation": "

Contains a list of query string names.

" }, "QueryStringNamesList": { "type": "list", "member": { "shape": "string", "locationName": "Name" } }, "RealtimeLogConfig": { "type": "structure", "required": [ "ARN", "Name", "SamplingRate", "EndPoints", "Fields" ], "members": { "ARN": { "shape": "string", "documentation": "

The Amazon Resource Name (ARN) of this real-time log configuration.

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

The unique name of this real-time log configuration.

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

The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.

" }, "EndPoints": { "shape": "EndPointList", "documentation": "

Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

" }, "Fields": { "shape": "FieldList", "documentation": "

A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.

For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

" } }, "documentation": "

A real-time log configuration.

" }, "RealtimeLogConfigList": { "type": "list", "member": { "shape": "RealtimeLogConfig" } }, "RealtimeLogConfigs": { "type": "structure", "required": [ "MaxItems", "IsTruncated", "Marker" ], "members": { "MaxItems": { "shape": "integer", "documentation": "

The maximum number of real-time log configurations requested.

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

Contains the list of real-time log configurations.

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

A flag that indicates whether there are more real-time log configurations than are contained in this list.

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

This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.

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

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing real-time log configurations where you left off.

" } }, "documentation": "

A list of real-time log configurations.

" }, "RealtimeMetricsSubscriptionConfig": { "type": "structure", "required": [ "RealtimeMetricsSubscriptionStatus" ], "members": { "RealtimeMetricsSubscriptionStatus": { "shape": "RealtimeMetricsSubscriptionStatus", "documentation": "

A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

" } }, "documentation": "

A subscription configuration for additional CloudWatch metrics.

" }, "RealtimeMetricsSubscriptionStatus": { "type": "string", "enum": [ "Enabled", "Disabled" ] }, "ReferrerPolicyList": { "type": "string", "enum": [ "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url" ] }, "ResourceARN": { "type": "string", "pattern": "arn:aws(-cn)?:cloudfront::[0-9]+:.*" }, "ResponseHeadersPolicy": { "type": "structure", "required": [ "Id", "LastModifiedTime", "ResponseHeadersPolicyConfig" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier for the response headers policy.

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

The date and time when the response headers policy was last modified.

" }, "ResponseHeadersPolicyConfig": { "shape": "ResponseHeadersPolicyConfig", "documentation": "

A response headers policy configuration.

" } }, "documentation": "

A response headers policy.

A response headers policy contains information about a set of HTTP response headers.

After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.

For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.

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

The number of HTTP header names in the list.

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

The list of HTTP header names. You can specify * to allow all headers.

" } }, "documentation": "

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

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

The number of HTTP methods in the list.

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

The list of HTTP methods. Valid values are:

ALL is a special value that includes all of the listed HTTP methods.

" } }, "documentation": "

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

" }, "ResponseHeadersPolicyAccessControlAllowMethodsValues": { "type": "string", "enum": [ "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL" ] }, "ResponseHeadersPolicyAccessControlAllowOrigins": { "type": "structure", "required": [ "Quantity", "Items" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of origins in the list.

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

The list of origins (domain names). You can specify * to allow all origins.

" } }, "documentation": "

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

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

The number of HTTP headers in the list.

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

The list of HTTP headers. You can specify * to expose all headers.

" } }, "documentation": "

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.

" }, "ResponseHeadersPolicyConfig": { "type": "structure", "required": [ "Name" ], "members": { "Comment": { "shape": "string", "documentation": "

A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

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

A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

" }, "CorsConfig": { "shape": "ResponseHeadersPolicyCorsConfig", "documentation": "

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

" }, "SecurityHeadersConfig": { "shape": "ResponseHeadersPolicySecurityHeadersConfig", "documentation": "

A configuration for a set of security-related HTTP response headers.

" }, "ServerTimingHeadersConfig": { "shape": "ResponseHeadersPolicyServerTimingHeadersConfig", "documentation": "

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

" }, "CustomHeadersConfig": { "shape": "ResponseHeadersPolicyCustomHeadersConfig", "documentation": "

A configuration for a set of custom HTTP response headers.

" }, "RemoveHeadersConfig": { "shape": "ResponseHeadersPolicyRemoveHeadersConfig", "documentation": "

A configuration for a set of HTTP headers to remove from the HTTP response.

" } }, "documentation": "

A response headers policy configuration.

A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.

" }, "ResponseHeadersPolicyContentSecurityPolicy": { "type": "structure", "required": [ "Override", "ContentSecurityPolicy" ], "members": { "Override": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

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

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

" } }, "documentation": "

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

" }, "ResponseHeadersPolicyContentTypeOptions": { "type": "structure", "required": [ "Override" ], "members": { "Override": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront overrides the X-Content-Type-Options HTTP response header received from the origin with the one specified in this response headers policy.

" } }, "documentation": "

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

" }, "ResponseHeadersPolicyCorsConfig": { "type": "structure", "required": [ "AccessControlAllowOrigins", "AccessControlAllowHeaders", "AccessControlAllowMethods", "AccessControlAllowCredentials", "OriginOverride" ], "members": { "AccessControlAllowOrigins": { "shape": "ResponseHeadersPolicyAccessControlAllowOrigins", "documentation": "

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

" }, "AccessControlAllowHeaders": { "shape": "ResponseHeadersPolicyAccessControlAllowHeaders", "documentation": "

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

" }, "AccessControlAllowMethods": { "shape": "ResponseHeadersPolicyAccessControlAllowMethods", "documentation": "

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

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

A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.

For more information about the Access-Control-Allow-Credentials HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.

" }, "AccessControlExposeHeaders": { "shape": "ResponseHeadersPolicyAccessControlExposeHeaders", "documentation": "

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.

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

A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.

For more information about the Access-Control-Max-Age HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.

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

A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.

" } }, "documentation": "

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for CORS requests that match a cache behavior associated with this response headers policy.

For more information about CORS, see Cross-Origin Resource Sharing (CORS) in the MDN Web Docs.

" }, "ResponseHeadersPolicyCustomHeader": { "type": "structure", "required": [ "Header", "Value", "Override" ], "members": { "Header": { "shape": "string", "documentation": "

The HTTP response header name.

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

The value for the HTTP response header.

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

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

" } }, "documentation": "

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

" }, "ResponseHeadersPolicyCustomHeaderList": { "type": "list", "member": { "shape": "ResponseHeadersPolicyCustomHeader", "locationName": "ResponseHeadersPolicyCustomHeader" } }, "ResponseHeadersPolicyCustomHeadersConfig": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of HTTP response headers in the list.

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

The list of HTTP response headers and their values.

" } }, "documentation": "

A list of HTTP response header names and their values. CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

" }, "ResponseHeadersPolicyFrameOptions": { "type": "structure", "required": [ "Override", "FrameOption" ], "members": { "Override": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.

" }, "FrameOption": { "shape": "FrameOptionsList", "documentation": "

The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

For more information about these values, see X-Frame-Options in the MDN Web Docs.

" } }, "documentation": "

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

" }, "ResponseHeadersPolicyList": { "type": "structure", "required": [ "MaxItems", "Quantity" ], "members": { "NextMarker": { "shape": "string", "documentation": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing response headers policies where you left off.

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

The maximum number of response headers policies requested.

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

The number of response headers policies returned.

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

The response headers policies in the list.

" } }, "documentation": "

A list of response headers policies.

" }, "ResponseHeadersPolicyReferrerPolicy": { "type": "structure", "required": [ "Override", "ReferrerPolicy" ], "members": { "Override": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

" }, "ReferrerPolicy": { "shape": "ReferrerPolicyList", "documentation": "

The value of the Referrer-Policy HTTP response header. Valid values are:

For more information about these values, see Referrer-Policy in the MDN Web Docs.

" } }, "documentation": "

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

" }, "ResponseHeadersPolicyRemoveHeader": { "type": "structure", "required": [ "Header" ], "members": { "Header": { "shape": "string", "documentation": "

The HTTP header name.

" } }, "documentation": "

The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

" }, "ResponseHeadersPolicyRemoveHeaderList": { "type": "list", "member": { "shape": "ResponseHeadersPolicyRemoveHeader", "locationName": "ResponseHeadersPolicyRemoveHeader" } }, "ResponseHeadersPolicyRemoveHeadersConfig": { "type": "structure", "required": [ "Quantity" ], "members": { "Quantity": { "shape": "integer", "documentation": "

The number of HTTP header names in the list.

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

The list of HTTP header names.

" } }, "documentation": "

A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

" }, "ResponseHeadersPolicySecurityHeadersConfig": { "type": "structure", "members": { "XSSProtection": { "shape": "ResponseHeadersPolicyXSSProtection", "documentation": "

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

" }, "FrameOptions": { "shape": "ResponseHeadersPolicyFrameOptions", "documentation": "

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

" }, "ReferrerPolicy": { "shape": "ResponseHeadersPolicyReferrerPolicy", "documentation": "

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

" }, "ContentSecurityPolicy": { "shape": "ResponseHeadersPolicyContentSecurityPolicy", "documentation": "

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

" }, "ContentTypeOptions": { "shape": "ResponseHeadersPolicyContentTypeOptions", "documentation": "

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

" }, "StrictTransportSecurity": { "shape": "ResponseHeadersPolicyStrictTransportSecurity", "documentation": "

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.

" } }, "documentation": "

A configuration for a set of security-related HTTP response headers. CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior associated with this response headers policy.

" }, "ResponseHeadersPolicyServerTimingHeadersConfig": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront adds the Server-Timing header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

" }, "SamplingRate": { "shape": "SamplingRate", "documentation": "

A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to. When you set the sampling rate to 100, CloudFront adds the Server-Timing header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.

" } }, "documentation": "

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. CloudFront adds this header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

You can use the Server-Timing header to view metrics that can help you gain insights about the behavior and performance of CloudFront. For example, you can see which cache layer served a cache hit, or the first byte latency from the origin when there was a cache miss. You can use the metrics in the Server-Timing header to troubleshoot issues or test the efficiency of your CloudFront configuration. For more information, see Server-Timing header in the Amazon CloudFront Developer Guide.

" }, "ResponseHeadersPolicyStrictTransportSecurity": { "type": "structure", "required": [ "Override", "AccessControlMaxAgeSec" ], "members": { "Override": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront overrides the Strict-Transport-Security HTTP response header received from the origin with the one specified in this response headers policy.

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

A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

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

A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.

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

A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

" } }, "documentation": "

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

" }, "ResponseHeadersPolicySummary": { "type": "structure", "required": [ "Type", "ResponseHeadersPolicy" ], "members": { "Type": { "shape": "ResponseHeadersPolicyType", "documentation": "

The type of response headers policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).

" }, "ResponseHeadersPolicy": { "shape": "ResponseHeadersPolicy", "documentation": "

The response headers policy.

" } }, "documentation": "

Contains a response headers policy.

" }, "ResponseHeadersPolicySummaryList": { "type": "list", "member": { "shape": "ResponseHeadersPolicySummary", "locationName": "ResponseHeadersPolicySummary" } }, "ResponseHeadersPolicyType": { "type": "string", "enum": [ "managed", "custom" ] }, "ResponseHeadersPolicyXSSProtection": { "type": "structure", "required": [ "Override", "Protection" ], "members": { "Override": { "shape": "boolean", "documentation": "

A Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.

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

A Boolean that determines the value of the X-XSS-Protection HTTP response header. When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.

For more information about these settings, see X-XSS-Protection in the MDN Web Docs.

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

A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.

For more information about this directive, see X-XSS-Protection in the MDN Web Docs.

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

A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.

You cannot specify a ReportUri when ModeBlock is true.

For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.

" } }, "documentation": "

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

" }, "Restrictions": { "type": "structure", "required": [ "GeoRestriction" ], "members": { "GeoRestriction": { "shape": "GeoRestriction", "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.

" } }, "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 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 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": "

If you're using origin access control (OAC) instead of origin access identity, specify an empty OriginAccessIdentity element. For more information, see Restricting access to an Amazon Web Services in the Amazon CloudFront Developer Guide.

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

The 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 or an S3 bucket that is configured as a website endpoint, use the CustomOriginConfig element instead.

" }, "SSLSupportMethod": { "type": "string", "enum": [ "sni-only", "vip", "static-ip" ] }, "SamplingRate": { "type": "double", "max": 100, "min": 0 }, "SessionStickinessConfig": { "type": "structure", "required": [ "IdleTTL", "MaximumTTL" ], "members": { "IdleTTL": { "shape": "integer", "documentation": "

The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to MaximumTTL.

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

The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be greater than or equal to IdleTTL.

" } }, "documentation": "

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.

" }, "Signer": { "type": "structure", "members": { "AwsAccountNumber": { "shape": "string", "documentation": "

An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

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

A list of CloudFront key pair identifiers.

" } }, "documentation": "

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

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

The number of CloudFront domain names in your staging distribution.

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

The CloudFront domain name of the staging distribution.

" } }, "documentation": "

The CloudFront domain name of the staging distribution.

" }, "StatusCodeList": { "type": "list", "member": { "shape": "integer", "locationName": "StatusCode" }, "documentation": "

List of status codes for origin failover.

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

The number of status codes.

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

The items (status codes) for an origin group.

" } }, "documentation": "

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

" }, "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", "documentation": "

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

" }, "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 Amazon Web Services 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 Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services 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 Amazon Web Services 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 tells CloudFront where you want RTMP content to be delivered from, and the details about how to track and manage content delivery.

" }, "StreamingDistributionConfig": { "type": "structure", "required": [ "CallerReference", "S3Origin", "Comment", "TrustedSigners", "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 StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, 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 Amazon Web Services 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 Amazon Web Services account.

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

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

" } }, "documentation": "

A streaming distribution list.

" }, "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 Amazon Web Services 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, d111111abcdef8.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 Amazon Web Services 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.

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

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

The comment originally specified when this distribution was created.

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

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

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

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

" } }, "documentation": "

A summary of the information for a 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 don't 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 don't 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/2020-05-31/" } } }, "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.

" }, "TestFunctionRequest": { "type": "structure", "required": [ "Name", "IfMatch", "EventObject" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the function that you are testing.

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

The current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.

", "location": "header", "locationName": "If-Match" }, "Stage": { "shape": "FunctionStage", "documentation": "

The stage of the function that you are testing, either DEVELOPMENT or LIVE.

" }, "EventObject": { "shape": "FunctionEventObject", "documentation": "

The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.

" } } }, "TestFunctionResult": { "type": "structure", "members": { "TestResult": { "shape": "TestResult", "documentation": "

An object that represents the result of running the function with the provided event object.

" } }, "payload": "TestResult" }, "TestResult": { "type": "structure", "members": { "FunctionSummary": { "shape": "FunctionSummary", "documentation": "

Contains configuration information and metadata about the CloudFront function that was tested.

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

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

" }, "FunctionExecutionLogs": { "shape": "FunctionExecutionLogList", "documentation": "

Contains the log lines that the function wrote (if any) when running the test.

" }, "FunctionErrorMessage": { "shape": "sensitiveStringType", "documentation": "

If the result of testing the function was an error, this field contains the error message.

" }, "FunctionOutput": { "shape": "sensitiveStringType", "documentation": "

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

" } }, "documentation": "

Contains the result of testing a CloudFront function with TestFunction.

" }, "TrafficConfig": { "type": "structure", "required": [ "Type" ], "members": { "SingleWeightConfig": { "shape": "ContinuousDeploymentSingleWeightConfig", "documentation": "

Contains the percentage of traffic to send to the staging distribution.

" }, "SingleHeaderConfig": { "shape": "ContinuousDeploymentSingleHeaderConfig", "documentation": "

Determines which HTTP requests are sent to the staging distribution.

" }, "Type": { "shape": "ContinuousDeploymentPolicyType", "documentation": "

The type of traffic configuration.

" } }, "documentation": "

The traffic configuration of your continuous deployment.

" }, "TrustedKeyGroupIdList": { "type": "list", "member": { "shape": "string", "locationName": "KeyGroup" } }, "TrustedKeyGroups": { "type": "structure", "required": [ "Enabled", "Quantity" ], "members": { "Enabled": { "shape": "boolean", "documentation": "

This field is true if any of the key groups in the list have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

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

The number of key groups in the list.

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

A list of key groups identifiers.

" } }, "documentation": "

A list of key groups whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

" }, "TrustedSigners": { "type": "structure", "required": [ "Enabled", "Quantity" ], "members": { "Enabled": { "shape": "boolean", "documentation": "

This field is true if any of the Amazon Web Services accounts in the list are configured as trusted signers. If not, this field is false.

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

The number of Amazon Web Services accounts in the list.

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

A list of Amazon Web Services account identifiers.

" } }, "documentation": "

A list of Amazon Web Services accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

" }, "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/2020-05-31/" } } }, "documentation": "

The request to remove tags from a CloudFront resource.

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

A cache policy configuration.

", "locationName": "CachePolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId field in the response to GetDistributionConfig.

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

The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.

", "location": "header", "locationName": "If-Match" } }, "payload": "CachePolicyConfig" }, "UpdateCachePolicyResult": { "type": "structure", "members": { "CachePolicy": { "shape": "CachePolicy", "documentation": "

A cache policy.

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

The current version of the cache policy.

", "location": "header", "locationName": "ETag" } }, "payload": "CachePolicy" }, "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/2020-05-31/" } }, "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" }, "UpdateContinuousDeploymentPolicyRequest": { "type": "structure", "required": [ "ContinuousDeploymentPolicyConfig", "Id" ], "members": { "ContinuousDeploymentPolicyConfig": { "shape": "ContinuousDeploymentPolicyConfig", "documentation": "

The continuous deployment policy configuration.

", "locationName": "ContinuousDeploymentPolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The identifier of the continuous deployment policy that you are updating.

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

The current version (ETag value) of the continuous deployment policy that you are updating.

", "location": "header", "locationName": "If-Match" } }, "payload": "ContinuousDeploymentPolicyConfig" }, "UpdateContinuousDeploymentPolicyResult": { "type": "structure", "members": { "ContinuousDeploymentPolicy": { "shape": "ContinuousDeploymentPolicy", "documentation": "

A continuous deployment policy.

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

The version identifier for the current version of the continuous deployment policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ContinuousDeploymentPolicy" }, "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/2020-05-31/" } }, "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" }, "UpdateDistributionWithStagingConfigRequest": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "string", "documentation": "

The identifier of the primary distribution to which you are copying a staging distribution's configuration.

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

The identifier of the staging distribution whose configuration you are copying to the primary distribution.

", "location": "querystring", "locationName": "StagingDistributionId" }, "IfMatch": { "shape": "string", "documentation": "

The current versions (ETag values) of both primary and staging distributions. Provide these in the following format:

<primary ETag>, <staging ETag>

", "location": "header", "locationName": "If-Match" } } }, "UpdateDistributionWithStagingConfigResult": { "type": "structure", "members": { "Distribution": { "shape": "Distribution" }, "ETag": { "shape": "string", "documentation": "

The current version of the primary distribution (after it's updated).

", "location": "header", "locationName": "ETag" } }, "payload": "Distribution" }, "UpdateFieldLevelEncryptionConfigRequest": { "type": "structure", "required": [ "FieldLevelEncryptionConfig", "Id" ], "members": { "FieldLevelEncryptionConfig": { "shape": "FieldLevelEncryptionConfig", "documentation": "

Request to update a field-level encryption configuration.

", "locationName": "FieldLevelEncryptionConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The ID of the configuration you want to update.

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

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

", "location": "header", "locationName": "If-Match" } }, "payload": "FieldLevelEncryptionConfig" }, "UpdateFieldLevelEncryptionConfigResult": { "type": "structure", "members": { "FieldLevelEncryption": { "shape": "FieldLevelEncryption", "documentation": "

Return the results of updating the configuration.

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

The value of the ETag header that you received when updating the configuration. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryption" }, "UpdateFieldLevelEncryptionProfileRequest": { "type": "structure", "required": [ "FieldLevelEncryptionProfileConfig", "Id" ], "members": { "FieldLevelEncryptionProfileConfig": { "shape": "FieldLevelEncryptionProfileConfig", "documentation": "

Request to update a field-level encryption profile.

", "locationName": "FieldLevelEncryptionProfileConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The ID of the field-level encryption profile request.

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

The value of the ETag header that you received when retrieving the profile identity to update. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "If-Match" } }, "payload": "FieldLevelEncryptionProfileConfig" }, "UpdateFieldLevelEncryptionProfileResult": { "type": "structure", "members": { "FieldLevelEncryptionProfile": { "shape": "FieldLevelEncryptionProfile", "documentation": "

Return the results of updating the profile.

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

The result of the field-level encryption profile request.

", "location": "header", "locationName": "ETag" } }, "payload": "FieldLevelEncryptionProfile" }, "UpdateFunctionRequest": { "type": "structure", "required": [ "IfMatch", "FunctionConfig", "FunctionCode", "Name" ], "members": { "Name": { "shape": "string", "documentation": "

The name of the function that you are updating.

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

The current version (ETag value) of the function that you are updating, which you can get using DescribeFunction.

", "location": "header", "locationName": "If-Match" }, "FunctionConfig": { "shape": "FunctionConfig", "documentation": "

Configuration information about the function.

" }, "FunctionCode": { "shape": "FunctionBlob", "documentation": "

The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.

" } } }, "UpdateFunctionResult": { "type": "structure", "members": { "FunctionSummary": { "shape": "FunctionSummary", "documentation": "

Contains configuration information and metadata about a CloudFront function.

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

The version identifier for the current version of the CloudFront function.

", "location": "header", "locationName": "ETtag" } }, "payload": "FunctionSummary" }, "UpdateKeyGroupRequest": { "type": "structure", "required": [ "KeyGroupConfig", "Id" ], "members": { "KeyGroupConfig": { "shape": "KeyGroupConfig", "documentation": "

The key group configuration.

", "locationName": "KeyGroupConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The identifier of the key group that you are updating.

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

The version of the key group that you are updating. The version is the key group's ETag value.

", "location": "header", "locationName": "If-Match" } }, "payload": "KeyGroupConfig" }, "UpdateKeyGroupResult": { "type": "structure", "members": { "KeyGroup": { "shape": "KeyGroup", "documentation": "

The key group that was just updated.

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

The identifier for this version of the key group.

", "location": "header", "locationName": "ETag" } }, "payload": "KeyGroup" }, "UpdateKeyValueStoreRequest": { "type": "structure", "required": [ "Name", "Comment", "IfMatch" ], "members": { "Name": { "shape": "KeyValueStoreName", "documentation": "

The name of the key value store to update.

", "location": "uri", "locationName": "Name" }, "Comment": { "shape": "KeyValueStoreComment", "documentation": "

The comment of the key value store to update.

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

The key value store to update, if a match occurs.

", "location": "header", "locationName": "If-Match" } } }, "UpdateKeyValueStoreResult": { "type": "structure", "members": { "KeyValueStore": { "shape": "KeyValueStore", "documentation": "

The resulting key value store to update.

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

The ETag of the resulting key value store.

", "location": "header", "locationName": "ETag" } }, "payload": "KeyValueStore" }, "UpdateOriginAccessControlRequest": { "type": "structure", "required": [ "OriginAccessControlConfig", "Id" ], "members": { "OriginAccessControlConfig": { "shape": "OriginAccessControlConfig", "documentation": "

An origin access control.

", "locationName": "OriginAccessControlConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The unique identifier of the origin access control that you are updating.

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

The current version (ETag value) of the origin access control that you are updating.

", "location": "header", "locationName": "If-Match" } }, "payload": "OriginAccessControlConfig" }, "UpdateOriginAccessControlResult": { "type": "structure", "members": { "OriginAccessControl": { "shape": "OriginAccessControl", "documentation": "

The origin access control after it has been updated.

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

The new version of the origin access control after it has been updated.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginAccessControl" }, "UpdateOriginRequestPolicyRequest": { "type": "structure", "required": [ "OriginRequestPolicyConfig", "Id" ], "members": { "OriginRequestPolicyConfig": { "shape": "OriginRequestPolicyConfig", "documentation": "

An origin request policy configuration.

", "locationName": "OriginRequestPolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.

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

The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.

", "location": "header", "locationName": "If-Match" } }, "payload": "OriginRequestPolicyConfig" }, "UpdateOriginRequestPolicyResult": { "type": "structure", "members": { "OriginRequestPolicy": { "shape": "OriginRequestPolicy", "documentation": "

An origin request policy.

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

The current version of the origin request policy.

", "location": "header", "locationName": "ETag" } }, "payload": "OriginRequestPolicy" }, "UpdatePublicKeyRequest": { "type": "structure", "required": [ "PublicKeyConfig", "Id" ], "members": { "PublicKeyConfig": { "shape": "PublicKeyConfig", "documentation": "

A public key configuration.

", "locationName": "PublicKeyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The identifier of the public key that you are updating.

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

The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL.

", "location": "header", "locationName": "If-Match" } }, "payload": "PublicKeyConfig" }, "UpdatePublicKeyResult": { "type": "structure", "members": { "PublicKey": { "shape": "PublicKey", "documentation": "

The public key.

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

The identifier of the current version of the public key.

", "location": "header", "locationName": "ETag" } }, "payload": "PublicKey" }, "UpdateRealtimeLogConfigRequest": { "type": "structure", "members": { "EndPoints": { "shape": "EndPointList", "documentation": "

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

" }, "Fields": { "shape": "FieldList", "documentation": "

A list of fields to include in each real-time log record.

For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

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

The name for this real-time log configuration.

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

The Amazon Resource Name (ARN) for this real-time log configuration.

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

The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.

" } } }, "UpdateRealtimeLogConfigResult": { "type": "structure", "members": { "RealtimeLogConfig": { "shape": "RealtimeLogConfig", "documentation": "

A real-time log configuration.

" } } }, "UpdateResponseHeadersPolicyRequest": { "type": "structure", "required": [ "ResponseHeadersPolicyConfig", "Id" ], "members": { "ResponseHeadersPolicyConfig": { "shape": "ResponseHeadersPolicyConfig", "documentation": "

A response headers policy configuration.

", "locationName": "ResponseHeadersPolicyConfig", "xmlNamespace": { "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" } }, "Id": { "shape": "string", "documentation": "

The identifier for the response headers policy that you are updating.

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

The version of the response headers policy that you are updating.

The version is returned in the cache policy's ETag field in the response to GetResponseHeadersPolicyConfig.

", "location": "header", "locationName": "If-Match" } }, "payload": "ResponseHeadersPolicyConfig" }, "UpdateResponseHeadersPolicyResult": { "type": "structure", "members": { "ResponseHeadersPolicy": { "shape": "ResponseHeadersPolicy", "documentation": "

A response headers policy.

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

The current version of the response headers policy.

", "location": "header", "locationName": "ETag" } }, "payload": "ResponseHeadersPolicy" }, "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/2020-05-31/" } }, "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 the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, set this field to true.

If the distribution uses Aliases (alternate domain names or CNAMEs), set this field to false and specify values for the following fields:

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

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Identity and Access Management (IAM), provide the ID of the IAM certificate.

If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

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

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

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

If the distribution uses Aliases (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, don't set a value for this field.

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

If the distribution uses Aliases (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings:

For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

On the CloudFront console, this setting is called Security Policy.

When you're using SNI only (you set SSLSupportMethod to sni-only), you must specify TLSv1 or higher.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net (you set CloudFrontDefaultCertificate to true), CloudFront automatically sets the security policy to TLSv1 regardless of the value that you set here.

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

This field is deprecated. Use one of the following fields instead:

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

This field is deprecated. Use one of the following fields instead:

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

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

If the distribution doesn't use Aliases (also known as alternate domain names or CNAMEs)—that is, if the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net—set CloudFrontDefaultCertificate to true and leave all other fields empty.

If the distribution uses Aliases (alternate domain names or CNAMEs), use the fields in this type to specify the following settings:

All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy in the CacheBehavior or DefaultCacheBehavior. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use CustomOriginConfig.

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

" }, "ViewerProtocolPolicy": { "type": "string", "enum": [ "allow-all", "https-only", "redirect-to-https" ] }, "aliasString": { "type": "string", "max": 253 }, "boolean": { "type": "boolean" }, "distributionIdString": { "type": "string", "max": 25 }, "float": { "type": "float" }, "integer": { "type": "integer" }, "listConflictingAliasesMaxItemsInteger": { "type": "integer", "max": 100 }, "long": { "type": "long" }, "sensitiveStringType": { "type": "string", "sensitive": true }, "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 CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.

" }