

# Actions
<a name="API_Operations"></a>

The following actions are supported by Amazon CloudFront:
+  [AssociateAlias](API_AssociateAlias.md) 
+  [AssociateDistributionTenantWebACL](API_AssociateDistributionTenantWebACL.md) 
+  [AssociateDistributionWebACL](API_AssociateDistributionWebACL.md) 
+  [CopyDistribution](API_CopyDistribution.md) 
+  [CreateAnycastIpList](API_CreateAnycastIpList.md) 
+  [CreateCachePolicy](API_CreateCachePolicy.md) 
+  [CreateCloudFrontOriginAccessIdentity](API_CreateCloudFrontOriginAccessIdentity.md) 
+  [CreateConnectionFunction](API_CreateConnectionFunction.md) 
+  [CreateConnectionGroup](API_CreateConnectionGroup.md) 
+  [CreateContinuousDeploymentPolicy](API_CreateContinuousDeploymentPolicy.md) 
+  [CreateDistribution](API_CreateDistribution.md) 
+  [CreateDistributionTenant](API_CreateDistributionTenant.md) 
+  [CreateDistributionWithTags](API_CreateDistributionWithTags.md) 
+  [CreateFieldLevelEncryptionConfig](API_CreateFieldLevelEncryptionConfig.md) 
+  [CreateFieldLevelEncryptionProfile](API_CreateFieldLevelEncryptionProfile.md) 
+  [CreateFunction](API_CreateFunction.md) 
+  [CreateInvalidation](API_CreateInvalidation.md) 
+  [CreateInvalidationForDistributionTenant](API_CreateInvalidationForDistributionTenant.md) 
+  [CreateKeyGroup](API_CreateKeyGroup.md) 
+  [CreateKeyValueStore](API_CreateKeyValueStore.md) 
+  [CreateMonitoringSubscription](API_CreateMonitoringSubscription.md) 
+  [CreateOriginAccessControl](API_CreateOriginAccessControl.md) 
+  [CreateOriginRequestPolicy](API_CreateOriginRequestPolicy.md) 
+  [CreatePublicKey](API_CreatePublicKey.md) 
+  [CreateRealtimeLogConfig](API_CreateRealtimeLogConfig.md) 
+  [CreateResponseHeadersPolicy](API_CreateResponseHeadersPolicy.md) 
+  [CreateStreamingDistribution](API_CreateStreamingDistribution.md) 
+  [CreateStreamingDistributionWithTags](API_CreateStreamingDistributionWithTags.md) 
+  [CreateTrustStore](API_CreateTrustStore.md) 
+  [CreateVpcOrigin](API_CreateVpcOrigin.md) 
+  [DeleteAnycastIpList](API_DeleteAnycastIpList.md) 
+  [DeleteCachePolicy](API_DeleteCachePolicy.md) 
+  [DeleteCloudFrontOriginAccessIdentity](API_DeleteCloudFrontOriginAccessIdentity.md) 
+  [DeleteConnectionFunction](API_DeleteConnectionFunction.md) 
+  [DeleteConnectionGroup](API_DeleteConnectionGroup.md) 
+  [DeleteContinuousDeploymentPolicy](API_DeleteContinuousDeploymentPolicy.md) 
+  [DeleteDistribution](API_DeleteDistribution.md) 
+  [DeleteDistributionTenant](API_DeleteDistributionTenant.md) 
+  [DeleteFieldLevelEncryptionConfig](API_DeleteFieldLevelEncryptionConfig.md) 
+  [DeleteFieldLevelEncryptionProfile](API_DeleteFieldLevelEncryptionProfile.md) 
+  [DeleteFunction](API_DeleteFunction.md) 
+  [DeleteKeyGroup](API_DeleteKeyGroup.md) 
+  [DeleteKeyValueStore](API_DeleteKeyValueStore.md) 
+  [DeleteMonitoringSubscription](API_DeleteMonitoringSubscription.md) 
+  [DeleteOriginAccessControl](API_DeleteOriginAccessControl.md) 
+  [DeleteOriginRequestPolicy](API_DeleteOriginRequestPolicy.md) 
+  [DeletePublicKey](API_DeletePublicKey.md) 
+  [DeleteRealtimeLogConfig](API_DeleteRealtimeLogConfig.md) 
+  [DeleteResponseHeadersPolicy](API_DeleteResponseHeadersPolicy.md) 
+  [DeleteStreamingDistribution](API_DeleteStreamingDistribution.md) 
+  [DeleteTrustStore](API_DeleteTrustStore.md) 
+  [DeleteVpcOrigin](API_DeleteVpcOrigin.md) 
+  [DescribeConnectionFunction](API_DescribeConnectionFunction.md) 
+  [DescribeFunction](API_DescribeFunction.md) 
+  [DescribeKeyValueStore](API_DescribeKeyValueStore.md) 
+  [DisassociateDistributionTenantWebACL](API_DisassociateDistributionTenantWebACL.md) 
+  [DisassociateDistributionWebACL](API_DisassociateDistributionWebACL.md) 
+  [GetAnycastIpList](API_GetAnycastIpList.md) 
+  [GetCachePolicy](API_GetCachePolicy.md) 
+  [GetCachePolicyConfig](API_GetCachePolicyConfig.md) 
+  [GetCloudFrontOriginAccessIdentity](API_GetCloudFrontOriginAccessIdentity.md) 
+  [GetCloudFrontOriginAccessIdentityConfig](API_GetCloudFrontOriginAccessIdentityConfig.md) 
+  [GetConnectionFunction](API_GetConnectionFunction.md) 
+  [GetConnectionGroup](API_GetConnectionGroup.md) 
+  [GetConnectionGroupByRoutingEndpoint](API_GetConnectionGroupByRoutingEndpoint.md) 
+  [GetContinuousDeploymentPolicy](API_GetContinuousDeploymentPolicy.md) 
+  [GetContinuousDeploymentPolicyConfig](API_GetContinuousDeploymentPolicyConfig.md) 
+  [GetDistribution](API_GetDistribution.md) 
+  [GetDistributionConfig](API_GetDistributionConfig.md) 
+  [GetDistributionTenant](API_GetDistributionTenant.md) 
+  [GetDistributionTenantByDomain](API_GetDistributionTenantByDomain.md) 
+  [GetFieldLevelEncryption](API_GetFieldLevelEncryption.md) 
+  [GetFieldLevelEncryptionConfig](API_GetFieldLevelEncryptionConfig.md) 
+  [GetFieldLevelEncryptionProfile](API_GetFieldLevelEncryptionProfile.md) 
+  [GetFieldLevelEncryptionProfileConfig](API_GetFieldLevelEncryptionProfileConfig.md) 
+  [GetFunction](API_GetFunction.md) 
+  [GetInvalidation](API_GetInvalidation.md) 
+  [GetInvalidationForDistributionTenant](API_GetInvalidationForDistributionTenant.md) 
+  [GetKeyGroup](API_GetKeyGroup.md) 
+  [GetKeyGroupConfig](API_GetKeyGroupConfig.md) 
+  [GetManagedCertificateDetails](API_GetManagedCertificateDetails.md) 
+  [GetMonitoringSubscription](API_GetMonitoringSubscription.md) 
+  [GetOriginAccessControl](API_GetOriginAccessControl.md) 
+  [GetOriginAccessControlConfig](API_GetOriginAccessControlConfig.md) 
+  [GetOriginRequestPolicy](API_GetOriginRequestPolicy.md) 
+  [GetOriginRequestPolicyConfig](API_GetOriginRequestPolicyConfig.md) 
+  [GetPublicKey](API_GetPublicKey.md) 
+  [GetPublicKeyConfig](API_GetPublicKeyConfig.md) 
+  [GetRealtimeLogConfig](API_GetRealtimeLogConfig.md) 
+  [GetResponseHeadersPolicy](API_GetResponseHeadersPolicy.md) 
+  [GetResponseHeadersPolicyConfig](API_GetResponseHeadersPolicyConfig.md) 
+  [GetStreamingDistribution](API_GetStreamingDistribution.md) 
+  [GetStreamingDistributionConfig](API_GetStreamingDistributionConfig.md) 
+  [GetTrustStore](API_GetTrustStore.md) 
+  [GetVpcOrigin](API_GetVpcOrigin.md) 
+  [ListAnycastIpLists](API_ListAnycastIpLists.md) 
+  [ListCachePolicies](API_ListCachePolicies.md) 
+  [ListCloudFrontOriginAccessIdentities](API_ListCloudFrontOriginAccessIdentities.md) 
+  [ListConflictingAliases](API_ListConflictingAliases.md) 
+  [ListConnectionFunctions](API_ListConnectionFunctions.md) 
+  [ListConnectionGroups](API_ListConnectionGroups.md) 
+  [ListContinuousDeploymentPolicies](API_ListContinuousDeploymentPolicies.md) 
+  [ListDistributions](API_ListDistributions.md) 
+  [ListDistributionsByAnycastIpListId](API_ListDistributionsByAnycastIpListId.md) 
+  [ListDistributionsByCachePolicyId](API_ListDistributionsByCachePolicyId.md) 
+  [ListDistributionsByConnectionFunction](API_ListDistributionsByConnectionFunction.md) 
+  [ListDistributionsByConnectionMode](API_ListDistributionsByConnectionMode.md) 
+  [ListDistributionsByKeyGroup](API_ListDistributionsByKeyGroup.md) 
+  [ListDistributionsByOriginRequestPolicyId](API_ListDistributionsByOriginRequestPolicyId.md) 
+  [ListDistributionsByRealtimeLogConfig](API_ListDistributionsByRealtimeLogConfig.md) 
+  [ListDistributionsByResponseHeadersPolicyId](API_ListDistributionsByResponseHeadersPolicyId.md) 
+  [ListDistributionsByTrustStore](API_ListDistributionsByTrustStore.md) 
+  [ListDistributionsByVpcOriginId](API_ListDistributionsByVpcOriginId.md) 
+  [ListDistributionsByWebACLId](API_ListDistributionsByWebACLId.md) 
+  [ListDistributionTenants](API_ListDistributionTenants.md) 
+  [ListDistributionTenantsByCustomization](API_ListDistributionTenantsByCustomization.md) 
+  [ListDomainConflicts](API_ListDomainConflicts.md) 
+  [ListFieldLevelEncryptionConfigs](API_ListFieldLevelEncryptionConfigs.md) 
+  [ListFieldLevelEncryptionProfiles](API_ListFieldLevelEncryptionProfiles.md) 
+  [ListFunctions](API_ListFunctions.md) 
+  [ListInvalidations](API_ListInvalidations.md) 
+  [ListInvalidationsForDistributionTenant](API_ListInvalidationsForDistributionTenant.md) 
+  [ListKeyGroups](API_ListKeyGroups.md) 
+  [ListKeyValueStores](API_ListKeyValueStores.md) 
+  [ListOriginAccessControls](API_ListOriginAccessControls.md) 
+  [ListOriginRequestPolicies](API_ListOriginRequestPolicies.md) 
+  [ListPublicKeys](API_ListPublicKeys.md) 
+  [ListRealtimeLogConfigs](API_ListRealtimeLogConfigs.md) 
+  [ListResponseHeadersPolicies](API_ListResponseHeadersPolicies.md) 
+  [ListStreamingDistributions](API_ListStreamingDistributions.md) 
+  [ListTagsForResource](API_ListTagsForResource.md) 
+  [ListTrustStores](API_ListTrustStores.md) 
+  [ListVpcOrigins](API_ListVpcOrigins.md) 
+  [PublishConnectionFunction](API_PublishConnectionFunction.md) 
+  [PublishFunction](API_PublishFunction.md) 
+  [TagResource](API_TagResource.md) 
+  [TestConnectionFunction](API_TestConnectionFunction.md) 
+  [TestFunction](API_TestFunction.md) 
+  [UntagResource](API_UntagResource.md) 
+  [UpdateAnycastIpList](API_UpdateAnycastIpList.md) 
+  [UpdateCachePolicy](API_UpdateCachePolicy.md) 
+  [UpdateCloudFrontOriginAccessIdentity](API_UpdateCloudFrontOriginAccessIdentity.md) 
+  [UpdateConnectionFunction](API_UpdateConnectionFunction.md) 
+  [UpdateConnectionGroup](API_UpdateConnectionGroup.md) 
+  [UpdateContinuousDeploymentPolicy](API_UpdateContinuousDeploymentPolicy.md) 
+  [UpdateDistribution](API_UpdateDistribution.md) 
+  [UpdateDistributionTenant](API_UpdateDistributionTenant.md) 
+  [UpdateDistributionWithStagingConfig](API_UpdateDistributionWithStagingConfig.md) 
+  [UpdateDomainAssociation](API_UpdateDomainAssociation.md) 
+  [UpdateFieldLevelEncryptionConfig](API_UpdateFieldLevelEncryptionConfig.md) 
+  [UpdateFieldLevelEncryptionProfile](API_UpdateFieldLevelEncryptionProfile.md) 
+  [UpdateFunction](API_UpdateFunction.md) 
+  [UpdateKeyGroup](API_UpdateKeyGroup.md) 
+  [UpdateKeyValueStore](API_UpdateKeyValueStore.md) 
+  [UpdateOriginAccessControl](API_UpdateOriginAccessControl.md) 
+  [UpdateOriginRequestPolicy](API_UpdateOriginRequestPolicy.md) 
+  [UpdatePublicKey](API_UpdatePublicKey.md) 
+  [UpdateRealtimeLogConfig](API_UpdateRealtimeLogConfig.md) 
+  [UpdateResponseHeadersPolicy](API_UpdateResponseHeadersPolicy.md) 
+  [UpdateStreamingDistribution](API_UpdateStreamingDistribution.md) 
+  [UpdateTrustStore](API_UpdateTrustStore.md) 
+  [UpdateVpcOrigin](API_UpdateVpcOrigin.md) 
+  [VerifyDnsConfiguration](API_VerifyDnsConfiguration.md) 

The following actions are supported by Amazon CloudFront KeyValueStore:
+  [DeleteKey](API_kvs_DeleteKey.md) 
+  [DescribeKeyValueStore](API_kvs_DescribeKeyValueStore.md) 
+  [GetKey](API_kvs_GetKey.md) 
+  [ListKeys](API_kvs_ListKeys.md) 
+  [PutKey](API_kvs_PutKey.md) 
+  [UpdateKeys](API_kvs_UpdateKeys.md) 

# Amazon CloudFront
<a name="API_Operations_Amazon_CloudFront"></a>

The following actions are supported by Amazon CloudFront:
+  [AssociateAlias](API_AssociateAlias.md) 
+  [AssociateDistributionTenantWebACL](API_AssociateDistributionTenantWebACL.md) 
+  [AssociateDistributionWebACL](API_AssociateDistributionWebACL.md) 
+  [CopyDistribution](API_CopyDistribution.md) 
+  [CreateAnycastIpList](API_CreateAnycastIpList.md) 
+  [CreateCachePolicy](API_CreateCachePolicy.md) 
+  [CreateCloudFrontOriginAccessIdentity](API_CreateCloudFrontOriginAccessIdentity.md) 
+  [CreateConnectionFunction](API_CreateConnectionFunction.md) 
+  [CreateConnectionGroup](API_CreateConnectionGroup.md) 
+  [CreateContinuousDeploymentPolicy](API_CreateContinuousDeploymentPolicy.md) 
+  [CreateDistribution](API_CreateDistribution.md) 
+  [CreateDistributionTenant](API_CreateDistributionTenant.md) 
+  [CreateDistributionWithTags](API_CreateDistributionWithTags.md) 
+  [CreateFieldLevelEncryptionConfig](API_CreateFieldLevelEncryptionConfig.md) 
+  [CreateFieldLevelEncryptionProfile](API_CreateFieldLevelEncryptionProfile.md) 
+  [CreateFunction](API_CreateFunction.md) 
+  [CreateInvalidation](API_CreateInvalidation.md) 
+  [CreateInvalidationForDistributionTenant](API_CreateInvalidationForDistributionTenant.md) 
+  [CreateKeyGroup](API_CreateKeyGroup.md) 
+  [CreateKeyValueStore](API_CreateKeyValueStore.md) 
+  [CreateMonitoringSubscription](API_CreateMonitoringSubscription.md) 
+  [CreateOriginAccessControl](API_CreateOriginAccessControl.md) 
+  [CreateOriginRequestPolicy](API_CreateOriginRequestPolicy.md) 
+  [CreatePublicKey](API_CreatePublicKey.md) 
+  [CreateRealtimeLogConfig](API_CreateRealtimeLogConfig.md) 
+  [CreateResponseHeadersPolicy](API_CreateResponseHeadersPolicy.md) 
+  [CreateStreamingDistribution](API_CreateStreamingDistribution.md) 
+  [CreateStreamingDistributionWithTags](API_CreateStreamingDistributionWithTags.md) 
+  [CreateTrustStore](API_CreateTrustStore.md) 
+  [CreateVpcOrigin](API_CreateVpcOrigin.md) 
+  [DeleteAnycastIpList](API_DeleteAnycastIpList.md) 
+  [DeleteCachePolicy](API_DeleteCachePolicy.md) 
+  [DeleteCloudFrontOriginAccessIdentity](API_DeleteCloudFrontOriginAccessIdentity.md) 
+  [DeleteConnectionFunction](API_DeleteConnectionFunction.md) 
+  [DeleteConnectionGroup](API_DeleteConnectionGroup.md) 
+  [DeleteContinuousDeploymentPolicy](API_DeleteContinuousDeploymentPolicy.md) 
+  [DeleteDistribution](API_DeleteDistribution.md) 
+  [DeleteDistributionTenant](API_DeleteDistributionTenant.md) 
+  [DeleteFieldLevelEncryptionConfig](API_DeleteFieldLevelEncryptionConfig.md) 
+  [DeleteFieldLevelEncryptionProfile](API_DeleteFieldLevelEncryptionProfile.md) 
+  [DeleteFunction](API_DeleteFunction.md) 
+  [DeleteKeyGroup](API_DeleteKeyGroup.md) 
+  [DeleteKeyValueStore](API_DeleteKeyValueStore.md) 
+  [DeleteMonitoringSubscription](API_DeleteMonitoringSubscription.md) 
+  [DeleteOriginAccessControl](API_DeleteOriginAccessControl.md) 
+  [DeleteOriginRequestPolicy](API_DeleteOriginRequestPolicy.md) 
+  [DeletePublicKey](API_DeletePublicKey.md) 
+  [DeleteRealtimeLogConfig](API_DeleteRealtimeLogConfig.md) 
+  [DeleteResponseHeadersPolicy](API_DeleteResponseHeadersPolicy.md) 
+  [DeleteStreamingDistribution](API_DeleteStreamingDistribution.md) 
+  [DeleteTrustStore](API_DeleteTrustStore.md) 
+  [DeleteVpcOrigin](API_DeleteVpcOrigin.md) 
+  [DescribeConnectionFunction](API_DescribeConnectionFunction.md) 
+  [DescribeFunction](API_DescribeFunction.md) 
+  [DescribeKeyValueStore](API_DescribeKeyValueStore.md) 
+  [DisassociateDistributionTenantWebACL](API_DisassociateDistributionTenantWebACL.md) 
+  [DisassociateDistributionWebACL](API_DisassociateDistributionWebACL.md) 
+  [GetAnycastIpList](API_GetAnycastIpList.md) 
+  [GetCachePolicy](API_GetCachePolicy.md) 
+  [GetCachePolicyConfig](API_GetCachePolicyConfig.md) 
+  [GetCloudFrontOriginAccessIdentity](API_GetCloudFrontOriginAccessIdentity.md) 
+  [GetCloudFrontOriginAccessIdentityConfig](API_GetCloudFrontOriginAccessIdentityConfig.md) 
+  [GetConnectionFunction](API_GetConnectionFunction.md) 
+  [GetConnectionGroup](API_GetConnectionGroup.md) 
+  [GetConnectionGroupByRoutingEndpoint](API_GetConnectionGroupByRoutingEndpoint.md) 
+  [GetContinuousDeploymentPolicy](API_GetContinuousDeploymentPolicy.md) 
+  [GetContinuousDeploymentPolicyConfig](API_GetContinuousDeploymentPolicyConfig.md) 
+  [GetDistribution](API_GetDistribution.md) 
+  [GetDistributionConfig](API_GetDistributionConfig.md) 
+  [GetDistributionTenant](API_GetDistributionTenant.md) 
+  [GetDistributionTenantByDomain](API_GetDistributionTenantByDomain.md) 
+  [GetFieldLevelEncryption](API_GetFieldLevelEncryption.md) 
+  [GetFieldLevelEncryptionConfig](API_GetFieldLevelEncryptionConfig.md) 
+  [GetFieldLevelEncryptionProfile](API_GetFieldLevelEncryptionProfile.md) 
+  [GetFieldLevelEncryptionProfileConfig](API_GetFieldLevelEncryptionProfileConfig.md) 
+  [GetFunction](API_GetFunction.md) 
+  [GetInvalidation](API_GetInvalidation.md) 
+  [GetInvalidationForDistributionTenant](API_GetInvalidationForDistributionTenant.md) 
+  [GetKeyGroup](API_GetKeyGroup.md) 
+  [GetKeyGroupConfig](API_GetKeyGroupConfig.md) 
+  [GetManagedCertificateDetails](API_GetManagedCertificateDetails.md) 
+  [GetMonitoringSubscription](API_GetMonitoringSubscription.md) 
+  [GetOriginAccessControl](API_GetOriginAccessControl.md) 
+  [GetOriginAccessControlConfig](API_GetOriginAccessControlConfig.md) 
+  [GetOriginRequestPolicy](API_GetOriginRequestPolicy.md) 
+  [GetOriginRequestPolicyConfig](API_GetOriginRequestPolicyConfig.md) 
+  [GetPublicKey](API_GetPublicKey.md) 
+  [GetPublicKeyConfig](API_GetPublicKeyConfig.md) 
+  [GetRealtimeLogConfig](API_GetRealtimeLogConfig.md) 
+  [GetResponseHeadersPolicy](API_GetResponseHeadersPolicy.md) 
+  [GetResponseHeadersPolicyConfig](API_GetResponseHeadersPolicyConfig.md) 
+  [GetStreamingDistribution](API_GetStreamingDistribution.md) 
+  [GetStreamingDistributionConfig](API_GetStreamingDistributionConfig.md) 
+  [GetTrustStore](API_GetTrustStore.md) 
+  [GetVpcOrigin](API_GetVpcOrigin.md) 
+  [ListAnycastIpLists](API_ListAnycastIpLists.md) 
+  [ListCachePolicies](API_ListCachePolicies.md) 
+  [ListCloudFrontOriginAccessIdentities](API_ListCloudFrontOriginAccessIdentities.md) 
+  [ListConflictingAliases](API_ListConflictingAliases.md) 
+  [ListConnectionFunctions](API_ListConnectionFunctions.md) 
+  [ListConnectionGroups](API_ListConnectionGroups.md) 
+  [ListContinuousDeploymentPolicies](API_ListContinuousDeploymentPolicies.md) 
+  [ListDistributions](API_ListDistributions.md) 
+  [ListDistributionsByAnycastIpListId](API_ListDistributionsByAnycastIpListId.md) 
+  [ListDistributionsByCachePolicyId](API_ListDistributionsByCachePolicyId.md) 
+  [ListDistributionsByConnectionFunction](API_ListDistributionsByConnectionFunction.md) 
+  [ListDistributionsByConnectionMode](API_ListDistributionsByConnectionMode.md) 
+  [ListDistributionsByKeyGroup](API_ListDistributionsByKeyGroup.md) 
+  [ListDistributionsByOriginRequestPolicyId](API_ListDistributionsByOriginRequestPolicyId.md) 
+  [ListDistributionsByRealtimeLogConfig](API_ListDistributionsByRealtimeLogConfig.md) 
+  [ListDistributionsByResponseHeadersPolicyId](API_ListDistributionsByResponseHeadersPolicyId.md) 
+  [ListDistributionsByTrustStore](API_ListDistributionsByTrustStore.md) 
+  [ListDistributionsByVpcOriginId](API_ListDistributionsByVpcOriginId.md) 
+  [ListDistributionsByWebACLId](API_ListDistributionsByWebACLId.md) 
+  [ListDistributionTenants](API_ListDistributionTenants.md) 
+  [ListDistributionTenantsByCustomization](API_ListDistributionTenantsByCustomization.md) 
+  [ListDomainConflicts](API_ListDomainConflicts.md) 
+  [ListFieldLevelEncryptionConfigs](API_ListFieldLevelEncryptionConfigs.md) 
+  [ListFieldLevelEncryptionProfiles](API_ListFieldLevelEncryptionProfiles.md) 
+  [ListFunctions](API_ListFunctions.md) 
+  [ListInvalidations](API_ListInvalidations.md) 
+  [ListInvalidationsForDistributionTenant](API_ListInvalidationsForDistributionTenant.md) 
+  [ListKeyGroups](API_ListKeyGroups.md) 
+  [ListKeyValueStores](API_ListKeyValueStores.md) 
+  [ListOriginAccessControls](API_ListOriginAccessControls.md) 
+  [ListOriginRequestPolicies](API_ListOriginRequestPolicies.md) 
+  [ListPublicKeys](API_ListPublicKeys.md) 
+  [ListRealtimeLogConfigs](API_ListRealtimeLogConfigs.md) 
+  [ListResponseHeadersPolicies](API_ListResponseHeadersPolicies.md) 
+  [ListStreamingDistributions](API_ListStreamingDistributions.md) 
+  [ListTagsForResource](API_ListTagsForResource.md) 
+  [ListTrustStores](API_ListTrustStores.md) 
+  [ListVpcOrigins](API_ListVpcOrigins.md) 
+  [PublishConnectionFunction](API_PublishConnectionFunction.md) 
+  [PublishFunction](API_PublishFunction.md) 
+  [TagResource](API_TagResource.md) 
+  [TestConnectionFunction](API_TestConnectionFunction.md) 
+  [TestFunction](API_TestFunction.md) 
+  [UntagResource](API_UntagResource.md) 
+  [UpdateAnycastIpList](API_UpdateAnycastIpList.md) 
+  [UpdateCachePolicy](API_UpdateCachePolicy.md) 
+  [UpdateCloudFrontOriginAccessIdentity](API_UpdateCloudFrontOriginAccessIdentity.md) 
+  [UpdateConnectionFunction](API_UpdateConnectionFunction.md) 
+  [UpdateConnectionGroup](API_UpdateConnectionGroup.md) 
+  [UpdateContinuousDeploymentPolicy](API_UpdateContinuousDeploymentPolicy.md) 
+  [UpdateDistribution](API_UpdateDistribution.md) 
+  [UpdateDistributionTenant](API_UpdateDistributionTenant.md) 
+  [UpdateDistributionWithStagingConfig](API_UpdateDistributionWithStagingConfig.md) 
+  [UpdateDomainAssociation](API_UpdateDomainAssociation.md) 
+  [UpdateFieldLevelEncryptionConfig](API_UpdateFieldLevelEncryptionConfig.md) 
+  [UpdateFieldLevelEncryptionProfile](API_UpdateFieldLevelEncryptionProfile.md) 
+  [UpdateFunction](API_UpdateFunction.md) 
+  [UpdateKeyGroup](API_UpdateKeyGroup.md) 
+  [UpdateKeyValueStore](API_UpdateKeyValueStore.md) 
+  [UpdateOriginAccessControl](API_UpdateOriginAccessControl.md) 
+  [UpdateOriginRequestPolicy](API_UpdateOriginRequestPolicy.md) 
+  [UpdatePublicKey](API_UpdatePublicKey.md) 
+  [UpdateRealtimeLogConfig](API_UpdateRealtimeLogConfig.md) 
+  [UpdateResponseHeadersPolicy](API_UpdateResponseHeadersPolicy.md) 
+  [UpdateStreamingDistribution](API_UpdateStreamingDistribution.md) 
+  [UpdateTrustStore](API_UpdateTrustStore.md) 
+  [UpdateVpcOrigin](API_UpdateVpcOrigin.md) 
+  [VerifyDnsConfiguration](API_VerifyDnsConfiguration.md) 

# AssociateAlias
<a name="API_AssociateAlias"></a>

**Note**  
The `AssociateAlias` API operation only supports standard distributions. To move domains between distribution tenants and/or standard distributions, we recommend that you use the [UpdateDomainAssociation](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDomainAssociation.html) API operation instead.

Associates an alias with a CloudFront standard distribution. An alias is commonly known as a custom domain or vanity domain. It can also be called a CNAME or alternate domain name.

With this operation, you can move an alias that's already used for a standard distribution to a different standard distribution. This prevents the downtime that could occur if you first remove the alias from one standard distribution and then separately add the alias to another standard distribution.

To use this operation, specify the alias and the ID of the target standard distribution.

For more information, including how to set up the target standard distribution, prerequisites that you must complete, and other restrictions, see [Moving an alternate domain name to a different standard distribution or distribution tenant](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_AssociateAlias_RequestSyntax"></a>

```
PUT /2020-05-31/distribution/TargetDistributionId/associate-alias?Alias=Alias HTTP/1.1
```

## URI Request Parameters
<a name="API_AssociateAlias_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Alias](#API_AssociateAlias_RequestSyntax) **   <a name="cloudfront-AssociateAlias-request-uri-Alias"></a>
The alias (also known as a CNAME) to add to the target standard distribution.  
Required: Yes

 ** [TargetDistributionId](#API_AssociateAlias_RequestSyntax) **   <a name="cloudfront-AssociateAlias-request-uri-TargetDistributionId"></a>
The ID of the standard distribution that you're associating the alias with.  
Required: Yes

## Request Body
<a name="API_AssociateAlias_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_AssociateAlias_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_AssociateAlias_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_AssociateAlias_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** TooManyDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

## See Also
<a name="API_AssociateAlias_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/AssociateAlias) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/AssociateAlias) 

# AssociateDistributionTenantWebACL
<a name="API_AssociateDistributionTenantWebACL"></a>

Associates the AWS WAF web ACL with a distribution tenant.

## Request Syntax
<a name="API_AssociateDistributionTenantWebACL_RequestSyntax"></a>

```
PUT /2020-05-31/distribution-tenant/Id/associate-web-acl HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<AssociateDistributionTenantWebACLRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <WebACLArn>string</WebACLArn>
</AssociateDistributionTenantWebACLRequest>
```

## URI Request Parameters
<a name="API_AssociateDistributionTenantWebACL_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_AssociateDistributionTenantWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-request-uri-Id"></a>
The ID of the distribution tenant.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_AssociateDistributionTenantWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-request-IfMatch"></a>
The current `ETag` of the distribution tenant. This value is returned in the response of the `GetDistributionTenant` API operation.

## Request Body
<a name="API_AssociateDistributionTenantWebACL_RequestBody"></a>

The request accepts the following data in XML format.

 ** [AssociateDistributionTenantWebACLRequest](#API_AssociateDistributionTenantWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-request-AssociateDistributionTenantWebACLRequest"></a>
Root level tag for the AssociateDistributionTenantWebACLRequest parameters.  
Required: Yes

 ** [WebACLArn](#API_AssociateDistributionTenantWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-request-WebACLArn"></a>
The Amazon Resource Name (ARN) of the AWS WAF web ACL to associate.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_AssociateDistributionTenantWebACL_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
<?xml version="1.0" encoding="UTF-8"?>
<AssociateDistributionTenantWebACLResult>
   <Id>string</Id>
   <WebACLArn>string</WebACLArn>
</AssociateDistributionTenantWebACLResult>
```

## Response Elements
<a name="API_AssociateDistributionTenantWebACL_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_AssociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-response-ETag"></a>
The current version of the distribution tenant.

The following data is returned in XML format by the service.

 ** [AssociateDistributionTenantWebACLResult](#API_AssociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-response-AssociateDistributionTenantWebACLResult"></a>
Root level tag for the AssociateDistributionTenantWebACLResult parameters.  
Required: Yes

 ** [Id](#API_AssociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-response-Id"></a>
The ID of the distribution tenant.  
Type: String

 ** [WebACLArn](#API_AssociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionTenantWebACL-response-WebACLArn"></a>
The ARN of the AWS WAF web ACL that you associated with the distribution tenant.  
Type: String

## Errors
<a name="API_AssociateDistributionTenantWebACL_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_AssociateDistributionTenantWebACL_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/AssociateDistributionTenantWebACL) 

# AssociateDistributionWebACL
<a name="API_AssociateDistributionWebACL"></a>

Associates the AWS WAF web ACL with a distribution.

## Request Syntax
<a name="API_AssociateDistributionWebACL_RequestSyntax"></a>

```
PUT /2020-05-31/distribution/Id/associate-web-acl HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<AssociateDistributionWebACLRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <WebACLArn>string</WebACLArn>
</AssociateDistributionWebACLRequest>
```

## URI Request Parameters
<a name="API_AssociateDistributionWebACL_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_AssociateDistributionWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-request-uri-Id"></a>
The ID of the distribution.  
Required: Yes

 ** [If-Match](#API_AssociateDistributionWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the distribution that you're associating with the AWS WAF web ACL.

## Request Body
<a name="API_AssociateDistributionWebACL_RequestBody"></a>

The request accepts the following data in XML format.

 ** [AssociateDistributionWebACLRequest](#API_AssociateDistributionWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-request-AssociateDistributionWebACLRequest"></a>
Root level tag for the AssociateDistributionWebACLRequest parameters.  
Required: Yes

 ** [WebACLArn](#API_AssociateDistributionWebACL_RequestSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-request-WebACLArn"></a>
The Amazon Resource Name (ARN) of the AWS WAF web ACL to associate.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_AssociateDistributionWebACL_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
<?xml version="1.0" encoding="UTF-8"?>
<AssociateDistributionWebACLResult>
   <Id>string</Id>
   <WebACLArn>string</WebACLArn>
</AssociateDistributionWebACLResult>
```

## Response Elements
<a name="API_AssociateDistributionWebACL_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_AssociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-response-ETag"></a>
The current version of the distribution.

The following data is returned in XML format by the service.

 ** [AssociateDistributionWebACLResult](#API_AssociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-response-AssociateDistributionWebACLResult"></a>
Root level tag for the AssociateDistributionWebACLResult parameters.  
Required: Yes

 ** [Id](#API_AssociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-response-Id"></a>
The ID of the distribution.  
Type: String

 ** [WebACLArn](#API_AssociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-AssociateDistributionWebACL-response-WebACLArn"></a>
The ARN of the AWS WAF web ACL that you associated with the distribution.  
Type: String

## Errors
<a name="API_AssociateDistributionWebACL_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_AssociateDistributionWebACL_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/AssociateDistributionWebACL) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/AssociateDistributionWebACL) 

# CopyDistribution
<a name="API_CopyDistribution"></a>

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

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

This API operation requires the following IAM permissions:
+  [GetDistribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html) 
+  [CreateDistribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html) 
+  [CopyDistribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CopyDistribution.html) 

## Request Syntax
<a name="API_CopyDistribution_RequestSyntax"></a>

```
POST /2020-05-31/distribution/PrimaryDistributionId/copy HTTP/1.1
Staging: Staging
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<CopyDistributionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Enabled>boolean</Enabled>
</CopyDistributionRequest>
```

## URI Request Parameters
<a name="API_CopyDistribution_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_CopyDistribution_RequestSyntax) **   <a name="cloudfront-CopyDistribution-request-IfMatch"></a>
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`.

 ** [PrimaryDistributionId](#API_CopyDistribution_RequestSyntax) **   <a name="cloudfront-CopyDistribution-request-uri-PrimaryDistributionId"></a>
The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use `ListDistributions`.  
Required: Yes

 ** [Staging](#API_CopyDistribution_RequestSyntax) **   <a name="cloudfront-CopyDistribution-request-Staging"></a>
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.

## Request Body
<a name="API_CopyDistribution_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CopyDistributionRequest](#API_CopyDistribution_RequestSyntax) **   <a name="cloudfront-CopyDistribution-request-CopyDistributionRequest"></a>
Root level tag for the CopyDistributionRequest parameters.  
Required: Yes

 ** [CallerReference](#API_CopyDistribution_RequestSyntax) **   <a name="cloudfront-CopyDistribution-request-CallerReference"></a>
A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.  
Type: String  
Required: Yes

 ** [Enabled](#API_CopyDistribution_RequestSyntax) **   <a name="cloudfront-CopyDistribution-request-Enabled"></a>
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`.  
Type: Boolean  
Required: No

## Response Syntax
<a name="API_CopyDistribution_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<Distribution>
   <ActiveTrustedKeyGroups>
      <Enabled>boolean</Enabled>
      <Items>
         <KeyGroup>
            <KeyGroupId>string</KeyGroupId>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </KeyGroup>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedKeyGroups>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <AliasICPRecordals>
      <AliasICPRecordal>
         <CNAME>string</CNAME>
         <ICPRecordalStatus>string</ICPRecordalStatus>
      </AliasICPRecordal>
   </AliasICPRecordals>
   <ARN>string</ARN>
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <InProgressInvalidationBatches>integer</InProgressInvalidationBatches>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
</Distribution>
```

## Response Elements
<a name="API_CopyDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [Distribution](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-Distribution"></a>
Root level tag for the Distribution parameters.  
Required: Yes

 ** [ActiveTrustedKeyGroups](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-ActiveTrustedKeyGroups"></a>
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.  
Type: [ActiveTrustedKeyGroups](API_ActiveTrustedKeyGroups.md) object

 ** [ActiveTrustedSigners](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-ActiveTrustedSigners"></a>
We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
This field contains a list of AWS 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.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [AliasICPRecordals](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-AliasICPRecordals"></a>
 AWS 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](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in *Getting Started with AWS services in China*.  
Type: Array of [AliasICPRecordal](API_AliasICPRecordal.md) objects

 ** [ARN](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-ARN"></a>
The distribution's Amazon Resource Name (ARN).  
Type: String

 ** [DistributionConfig](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-DistributionConfig"></a>
The distribution's configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object

 ** [DomainName](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-DomainName"></a>
The distribution's CloudFront domain name. For example: `d111111abcdef8.cloudfront.net`.  
Type: String

 ** [Id](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-Id"></a>
The distribution's identifier. For example: `E1U5RQF7T870K0`.  
Type: String

 ** [InProgressInvalidationBatches](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-InProgressInvalidationBatches"></a>
The number of invalidation batches currently in progress.  
Type: Integer

 ** [LastModifiedTime](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-LastModifiedTime"></a>
The date and time when the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_CopyDistribution_ResponseSyntax) **   <a name="cloudfront-CopyDistribution-response-Status"></a>
The distribution's status. When the status is `Deployed`, the distribution's information is fully propagated to all CloudFront edge locations.  
Type: String

## Errors
<a name="API_CopyDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** DistributionAlreadyExists **   
The caller reference you attempted to create the distribution with is associated with another distribution.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior **   
The specified configuration for field-level encryption can't be associated with the specified cache behavior.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidDefaultRootObject **   
The default root object file name is too big or contains an invalid character.  
HTTP Status Code: 400

 ** InvalidErrorCode **   
An invalid error code was specified.  
HTTP Status Code: 400

 ** InvalidForwardCookies **   
Your request contains forward cookies option which doesn't match with the expectation for the `whitelisted` list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.  
HTTP Status Code: 400

 ** InvalidFunctionAssociation **   
A CloudFront function association is invalid.  
HTTP Status Code: 400

 ** InvalidGeoRestrictionParameter **   
The specified geo restriction parameter is not valid.  
HTTP Status Code: 400

 ** InvalidHeadersForS3Origin **   
The headers specified are not valid for an Amazon S3 origin.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** InvalidLambdaFunctionAssociation **   
The specified Lambda@Edge function association is invalid.  
HTTP Status Code: 400

 ** InvalidLocationCode **   
The location code specified is not valid.  
HTTP Status Code: 400

 ** InvalidMinimumProtocolVersion **   
The minimum protocol version specified is not valid.  
HTTP Status Code: 400

 ** InvalidOrigin **   
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** InvalidOriginKeepaliveTimeout **   
The keep alive timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidOriginReadTimeout **   
The read timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidProtocolSettings **   
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).  
HTTP Status Code: 400

 ** InvalidQueryStringParameters **   
The query string parameters specified are not valid.  
HTTP Status Code: 400

 ** InvalidRelativePath **   
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).  
HTTP Status Code: 400

 ** InvalidRequiredProtocol **   
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the `RequiredProtocols` element from your distribution configuration.  
HTTP Status Code: 400

 ** InvalidResponseCode **   
A response code is not valid.  
HTTP Status Code: 400

 ** InvalidTTLOrder **   
The TTL order specified is not valid.  
HTTP Status Code: 400

 ** InvalidViewerCertificate **   
A viewer certificate specified is not valid.  
HTTP Status Code: 400

 ** InvalidWebACLId **   
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchOrigin **   
No origin exists with the specified `Origin Id`.  
HTTP Status Code: 404

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** RealtimeLogConfigOwnerMismatch **   
The specified real-time log configuration belongs to a different AWS account.  
HTTP Status Code: 401

 ** TooManyCacheBehaviors **   
You cannot create more cache behaviors for the distribution.  
HTTP Status Code: 400

 ** TooManyCertificates **   
You cannot create anymore custom SSL/TLS certificates.  
HTTP Status Code: 400

 ** TooManyCookieNamesInWhiteList **   
Your request contains more cookie names in the whitelist than are allowed per cache behavior.  
HTTP Status Code: 400

 ** TooManyDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyDistributions **   
Processing your request would cause you to exceed the maximum number of distributions allowed.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToCachePolicy **   
The maximum number of distributions have been associated with the specified cache policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToFieldLevelEncryptionConfig **   
The maximum number of distributions have been associated with the specified configuration for field-level encryption.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToKeyGroup **   
The number of distributions that reference this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginAccessControl **   
The maximum number of distributions have been associated with the specified origin access control.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginRequestPolicy **   
The maximum number of distributions have been associated with the specified origin request policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToResponseHeadersPolicy **   
The maximum number of distributions have been associated with the specified response headers policy.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithFunctionAssociations **   
You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithLambdaAssociations **   
Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.  
HTTP Status Code: 400

 ** TooManyDistributionsWithSingleFunctionARN **   
The maximum number of distributions have been associated with the specified Lambda@Edge function.  
HTTP Status Code: 400

 ** TooManyFunctionAssociations **   
You have reached the maximum number of CloudFront function associations for this distribution. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInForwardedValues **   
Your request contains too many headers in forwarded values.  
HTTP Status Code: 400

 ** TooManyKeyGroupsAssociatedToDistribution **   
The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyLambdaFunctionAssociations **   
Your request contains more Lambda@Edge function associations than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyOriginCustomHeaders **   
Your request contains too many origin custom headers.  
HTTP Status Code: 400

 ** TooManyOriginGroupsPerDistribution **   
Processing your request would cause you to exceed the maximum number of origin groups allowed.  
HTTP Status Code: 400

 ** TooManyOrigins **   
You cannot create more origins for the distribution.  
HTTP Status Code: 400

 ** TooManyQueryStringParameters **   
Your request contains too many query string parameters.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedKeyGroupDoesNotExist **   
The specified key group does not exist.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_CopyDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CopyDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CopyDistribution) 

# CreateAnycastIpList
<a name="API_CreateAnycastIpList"></a>

Creates an Anycast static IP list.

## Request Syntax
<a name="API_CreateAnycastIpList_RequestSyntax"></a>

```
POST /2020-05-31/anycast-ip-list HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateAnycastIpListRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <IpAddressType>string</IpAddressType>
   <IpamCidrConfigs>
      <IpamCidrConfig>
         <AnycastIp>string</AnycastIp>
         <Cidr>string</Cidr>
         <IpamPoolArn>string</IpamPoolArn>
         <Status>string</Status>
      </IpamCidrConfig>
   </IpamCidrConfigs>
   <IpCount>integer</IpCount>
   <Name>string</Name>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</CreateAnycastIpListRequest>
```

## URI Request Parameters
<a name="API_CreateAnycastIpList_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateAnycastIpList_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateAnycastIpListRequest](#API_CreateAnycastIpList_RequestSyntax) **   <a name="cloudfront-CreateAnycastIpList-request-CreateAnycastIpListRequest"></a>
Root level tag for the CreateAnycastIpListRequest parameters.  
Required: Yes

 ** [IpAddressType](#API_CreateAnycastIpList_RequestSyntax) **   <a name="cloudfront-CreateAnycastIpList-request-IpAddressType"></a>
The IP address type for the Anycast static IP list. You can specify one of the following options:  
+  `ipv4` only
+  `ipv6` only 
+  `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
Type: String  
Valid Values: `ipv4 | ipv6 | dualstack`   
Required: No

 ** [IpamCidrConfigs](#API_CreateAnycastIpList_RequestSyntax) **   <a name="cloudfront-CreateAnycastIpList-request-IpamCidrConfigs"></a>
 A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for creating the Anycast static IP list.   
Type: Array of [IpamCidrConfig](API_IpamCidrConfig.md) objects  
Required: No

 ** [IpCount](#API_CreateAnycastIpList_RequestSyntax) **   <a name="cloudfront-CreateAnycastIpList-request-IpCount"></a>
The number of static IP addresses that are allocated to the Anycast static IP list. Valid values: 21 or 3.  
Type: Integer  
Required: Yes

 ** [Name](#API_CreateAnycastIpList_RequestSyntax) **   <a name="cloudfront-CreateAnycastIpList-request-Name"></a>
Name of the Anycast static IP list.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

 ** [Tags](#API_CreateAnycastIpList_RequestSyntax) **   <a name="cloudfront-CreateAnycastIpList-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: No

## Response Syntax
<a name="API_CreateAnycastIpList_ResponseSyntax"></a>

```
HTTP/1.1 202
<?xml version="1.0" encoding="UTF-8"?>
<AnycastIpList>
   <AnycastIps>
      <AnycastIp>string</AnycastIp>
   </AnycastIps>
   <Arn>string</Arn>
   <Id>string</Id>
   <IpAddressType>string</IpAddressType>
   <IpamConfig>
      <IpamCidrConfigs>
         <IpamCidrConfig>
            <AnycastIp>string</AnycastIp>
            <Cidr>string</Cidr>
            <IpamPoolArn>string</IpamPoolArn>
            <Status>string</Status>
         </IpamCidrConfig>
      </IpamCidrConfigs>
      <Quantity>integer</Quantity>
   </IpamConfig>
   <IpCount>integer</IpCount>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Status>string</Status>
</AnycastIpList>
```

## Response Elements
<a name="API_CreateAnycastIpList_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 202 response.

The following data is returned in XML format by the service.

 ** [AnycastIpList](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-AnycastIpList"></a>
Root level tag for the AnycastIpList parameters.  
Required: Yes

 ** [AnycastIps](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-AnycastIps"></a>
The static IP addresses that are allocated to the Anycast static IP list.  
Type: Array of strings

 ** [Arn](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-Arn"></a>
The Amazon Resource Name (ARN) of the Anycast static IP list.  
Type: String

 ** [Id](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-Id"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [IpAddressType](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-IpAddressType"></a>
The IP address type for the Anycast static IP list.  
Type: String  
Valid Values: `ipv4 | ipv6 | dualstack` 

 ** [IpamConfig](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-IpamConfig"></a>
The IPAM configuration for the Anycast static IP list, that contains the quantity and list of IPAM CIDR configurations.  
Type: [IpamConfig](API_IpamConfig.md) object

 ** [IpCount](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-IpCount"></a>
The number of IP addresses in the Anycast static IP list.  
Type: Integer

 ** [LastModifiedTime](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-LastModifiedTime"></a>
The last time the Anycast static IP list was modified.  
Type: Timestamp

 ** [Name](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-Name"></a>
The name of the Anycast static IP list.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_CreateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-CreateAnycastIpList-response-Status"></a>
The status of the Anycast static IP list. Valid values: `Deployed`, `Deploying`, or `Failed`.  
Type: String

## Errors
<a name="API_CreateAnycastIpList_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_CreateAnycastIpList_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateAnycastIpList) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateAnycastIpList) 

# CreateCachePolicy
<a name="API_CreateCachePolicy"></a>

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 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 default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
**Important**  
If your minimum TTL is greater than 0, CloudFront will cache content for at least the duration specified in the cache policy's minimum TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private` directives are present in the origin headers.

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateCachePolicy_RequestSyntax"></a>

```
POST /2020-05-31/cache-policy HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <DefaultTTL>long</DefaultTTL>
   <MaxTTL>long</MaxTTL>
   <MinTTL>long</MinTTL>
   <Name>string</Name>
   <ParametersInCacheKeyAndForwardedToOrigin>
      <CookiesConfig>
         <CookieBehavior>string</CookieBehavior>
         <Cookies>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Cookies>
      </CookiesConfig>
      <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
      <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
      <HeadersConfig>
         <HeaderBehavior>string</HeaderBehavior>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
      </HeadersConfig>
      <QueryStringsConfig>
         <QueryStringBehavior>string</QueryStringBehavior>
         <QueryStrings>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStrings>
      </QueryStringsConfig>
   </ParametersInCacheKeyAndForwardedToOrigin>
</CachePolicyConfig>
```

## URI Request Parameters
<a name="API_CreateCachePolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateCachePolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CachePolicyConfig](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-CachePolicyConfig"></a>
Root level tag for the CachePolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-Comment"></a>
A comment to describe the cache policy. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [DefaultTTL](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-DefaultTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) 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`.  
Type: Long  
Required: No

 ** [MaxTTL](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-MaxTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) 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`.  
Type: Long  
Required: No

 ** [MinTTL](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-MinTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.  
Type: Long  
Required: Yes

 ** [Name](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-Name"></a>
A unique name to identify the cache policy.  
Type: String  
Required: Yes

 ** [ParametersInCacheKeyAndForwardedToOrigin](#API_CreateCachePolicy_RequestSyntax) **   <a name="cloudfront-CreateCachePolicy-request-ParametersInCacheKeyAndForwardedToOrigin"></a>
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.  
Type: [ParametersInCacheKeyAndForwardedToOrigin](API_ParametersInCacheKeyAndForwardedToOrigin.md) object  
Required: No

## Response Syntax
<a name="API_CreateCachePolicy_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicy>
   <CachePolicyConfig>
      <Comment>string</Comment>
      <DefaultTTL>long</DefaultTTL>
      <MaxTTL>long</MaxTTL>
      <MinTTL>long</MinTTL>
      <Name>string</Name>
      <ParametersInCacheKeyAndForwardedToOrigin>
         <CookiesConfig>
            <CookieBehavior>string</CookieBehavior>
            <Cookies>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Cookies>
         </CookiesConfig>
         <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
         <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
         <HeadersConfig>
            <HeaderBehavior>string</HeaderBehavior>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
         </HeadersConfig>
         <QueryStringsConfig>
            <QueryStringBehavior>string</QueryStringBehavior>
            <QueryStrings>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStrings>
         </QueryStringsConfig>
      </ParametersInCacheKeyAndForwardedToOrigin>
   </CachePolicyConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</CachePolicy>
```

## Response Elements
<a name="API_CreateCachePolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [CachePolicy](#API_CreateCachePolicy_ResponseSyntax) **   <a name="cloudfront-CreateCachePolicy-response-CachePolicy"></a>
Root level tag for the CachePolicy parameters.  
Required: Yes

 ** [CachePolicyConfig](#API_CreateCachePolicy_ResponseSyntax) **   <a name="cloudfront-CreateCachePolicy-response-CachePolicyConfig"></a>
The cache policy configuration.  
Type: [CachePolicyConfig](API_CachePolicyConfig.md) object

 ** [Id](#API_CreateCachePolicy_ResponseSyntax) **   <a name="cloudfront-CreateCachePolicy-response-Id"></a>
The unique identifier for the cache policy.  
Type: String

 ** [LastModifiedTime](#API_CreateCachePolicy_ResponseSyntax) **   <a name="cloudfront-CreateCachePolicy-response-LastModifiedTime"></a>
The date and time when the cache policy was last modified.  
Type: Timestamp

## Errors
<a name="API_CreateCachePolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CachePolicyAlreadyExists **   
A cache policy with this name already exists. You must provide a unique name. To modify an existing cache policy, use `UpdateCachePolicy`.  
HTTP Status Code: 409

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** TooManyCachePolicies **   
You have reached the maximum number of cache policies for this AWS account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyCookiesInCachePolicy **   
The number of cookies in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInCachePolicy **   
The number of headers in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyQueryStringsInCachePolicy **   
The number of query strings in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_CreateCachePolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateCachePolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateCachePolicy) 

# CreateCloudFrontOriginAccessIdentity
<a name="API_CreateCloudFrontOriginAccessIdentity"></a>

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateCloudFrontOriginAccessIdentity_RequestSyntax"></a>

```
POST /2020-05-31/origin-access-identity/cloudfront HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentityConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
</CloudFrontOriginAccessIdentityConfig>
```

## URI Request Parameters
<a name="API_CreateCloudFrontOriginAccessIdentity_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateCloudFrontOriginAccessIdentity_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CloudFrontOriginAccessIdentityConfig](#API_CreateCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-request-CloudFrontOriginAccessIdentityConfig"></a>
Root level tag for the CloudFrontOriginAccessIdentityConfig parameters.  
Required: Yes

 ** [CallerReference](#API_CreateCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-request-CallerReference"></a>
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.   
Type: String  
Required: Yes

 ** [Comment](#API_CreateCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-request-Comment"></a>
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_CreateCloudFrontOriginAccessIdentity_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentity>
   <CloudFrontOriginAccessIdentityConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
   </CloudFrontOriginAccessIdentityConfig>
   <Id>string</Id>
   <S3CanonicalUserId>string</S3CanonicalUserId>
</CloudFrontOriginAccessIdentity>
```

## Response Elements
<a name="API_CreateCloudFrontOriginAccessIdentity_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [CloudFrontOriginAccessIdentity](#API_CreateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-response-CloudFrontOriginAccessIdentity"></a>
Root level tag for the CloudFrontOriginAccessIdentity parameters.  
Required: Yes

 ** [CloudFrontOriginAccessIdentityConfig](#API_CreateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-response-CloudFrontOriginAccessIdentityConfig"></a>
The current configuration information for the identity.  
Type: [CloudFrontOriginAccessIdentityConfig](API_CloudFrontOriginAccessIdentityConfig.md) object

 ** [Id](#API_CreateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-response-Id"></a>
The ID for the origin access identity, for example, `E74FTE3AJFJ256A`.   
Type: String

 ** [S3CanonicalUserId](#API_CreateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-CreateCloudFrontOriginAccessIdentity-response-S3CanonicalUserId"></a>
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.  
Type: String

## Errors
<a name="API_CreateCloudFrontOriginAccessIdentity_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** CloudFrontOriginAccessIdentityAlreadyExists **   
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.   
HTTP Status Code: 409

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** TooManyCloudFrontOriginAccessIdentities **   
Processing your request would cause you to exceed the maximum number of origin access identities allowed.  
HTTP Status Code: 400

## See Also
<a name="API_CreateCloudFrontOriginAccessIdentity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity) 

# CreateConnectionFunction
<a name="API_CreateConnectionFunction"></a>

Creates a connection function.

## Request Syntax
<a name="API_CreateConnectionFunction_RequestSyntax"></a>

```
POST /2020-05-31/connection-function HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateConnectionFunctionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ConnectionFunctionCode>blob</ConnectionFunctionCode>
   <ConnectionFunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </ConnectionFunctionConfig>
   <Name>string</Name>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</CreateConnectionFunctionRequest>
```

## URI Request Parameters
<a name="API_CreateConnectionFunction_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateConnectionFunction_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateConnectionFunctionRequest](#API_CreateConnectionFunction_RequestSyntax) **   <a name="cloudfront-CreateConnectionFunction-request-CreateConnectionFunctionRequest"></a>
Root level tag for the CreateConnectionFunctionRequest parameters.  
Required: Yes

 ** [ConnectionFunctionCode](#API_CreateConnectionFunction_RequestSyntax) **   <a name="cloudfront-CreateConnectionFunction-request-ConnectionFunctionCode"></a>
The code for the connection function.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 40960.  
Required: Yes

 ** [ConnectionFunctionConfig](#API_CreateConnectionFunction_RequestSyntax) **   <a name="cloudfront-CreateConnectionFunction-request-ConnectionFunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object  
Required: Yes

 ** [Name](#API_CreateConnectionFunction_RequestSyntax) **   <a name="cloudfront-CreateConnectionFunction-request-Name"></a>
A name for the connection function.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

 ** [Tags](#API_CreateConnectionFunction_RequestSyntax) **   <a name="cloudfront-CreateConnectionFunction-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: No

## Response Syntax
<a name="API_CreateConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionFunctionSummary>
   <ConnectionFunctionArn>string</ConnectionFunctionArn>
   <ConnectionFunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </ConnectionFunctionConfig>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Stage>string</Stage>
   <Status>string</Status>
</ConnectionFunctionSummary>
```

## Response Elements
<a name="API_CreateConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [ConnectionFunctionSummary](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-ConnectionFunctionSummary"></a>
Root level tag for the ConnectionFunctionSummary parameters.  
Required: Yes

 ** [ConnectionFunctionArn](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-ConnectionFunctionArn"></a>
The connection function Amazon Resource Name (ARN).  
Type: String

 ** [ConnectionFunctionConfig](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-ConnectionFunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [CreatedTime](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-CreatedTime"></a>
The connection function created time.  
Type: Timestamp

 ** [Id](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-Id"></a>
The connection function ID.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [LastModifiedTime](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-LastModifiedTime"></a>
The connection function last modified time.  
Type: Timestamp

 ** [Name](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-Name"></a>
The connection function name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Stage](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-Stage"></a>
The connection function stage.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE` 

 ** [Status](#API_CreateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-CreateConnectionFunction-response-Status"></a>
The connection function status.  
Type: String

## Errors
<a name="API_CreateConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntitySizeLimitExceeded **   
The entity size limit was exceeded.  
HTTP Status Code: 413

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_CreateConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateConnectionFunction) 

# CreateConnectionGroup
<a name="API_CreateConnectionGroup"></a>

Creates a connection group.

## Request Syntax
<a name="API_CreateConnectionGroup_RequestSyntax"></a>

```
POST /2020-05-31/connection-group HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateConnectionGroupRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <AnycastIpListId>string</AnycastIpListId>
   <Enabled>boolean</Enabled>
   <Ipv6Enabled>boolean</Ipv6Enabled>
   <Name>string</Name>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</CreateConnectionGroupRequest>
```

## URI Request Parameters
<a name="API_CreateConnectionGroup_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateConnectionGroup_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateConnectionGroupRequest](#API_CreateConnectionGroup_RequestSyntax) **   <a name="cloudfront-CreateConnectionGroup-request-CreateConnectionGroupRequest"></a>
Root level tag for the CreateConnectionGroupRequest parameters.  
Required: Yes

 ** [AnycastIpListId](#API_CreateConnectionGroup_RequestSyntax) **   <a name="cloudfront-CreateConnectionGroup-request-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Type: String  
Required: No

 ** [Enabled](#API_CreateConnectionGroup_RequestSyntax) **   <a name="cloudfront-CreateConnectionGroup-request-Enabled"></a>
Enable the connection group.  
Type: Boolean  
Required: No

 ** [Ipv6Enabled](#API_CreateConnectionGroup_RequestSyntax) **   <a name="cloudfront-CreateConnectionGroup-request-Ipv6Enabled"></a>
Enable IPv6 for the connection group. The default is `true`. For more information, see [Enable IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) in the *Amazon CloudFront Developer Guide*.  
Type: Boolean  
Required: No

 ** [Name](#API_CreateConnectionGroup_RequestSyntax) **   <a name="cloudfront-CreateConnectionGroup-request-Name"></a>
The name of the connection group. Enter a friendly identifier that is unique within your AWS account. This name can't be updated after you create the connection group.  
Type: String  
Required: Yes

 ** [Tags](#API_CreateConnectionGroup_RequestSyntax) **   <a name="cloudfront-CreateConnectionGroup-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: No

## Response Syntax
<a name="API_CreateConnectionGroup_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionGroup>
   <AnycastIpListId>string</AnycastIpListId>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <Ipv6Enabled>boolean</Ipv6Enabled>
   <IsDefault>boolean</IsDefault>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <RoutingEndpoint>string</RoutingEndpoint>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</ConnectionGroup>
```

## Response Elements
<a name="API_CreateConnectionGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [ConnectionGroup](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-ConnectionGroup"></a>
Root level tag for the ConnectionGroup parameters.  
Required: Yes

 ** [AnycastIpListId](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [Arn](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Arn"></a>
The Amazon Resource Name (ARN) of the connection group.  
Type: String

 ** [CreatedTime](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-CreatedTime"></a>
The date and time when the connection group was created.  
Type: Timestamp

 ** [Enabled](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Enabled"></a>
Whether the connection group is enabled.  
Type: Boolean

 ** [Id](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Id"></a>
The ID of the connection group.  
Type: String

 ** [Ipv6Enabled](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Ipv6Enabled"></a>
IPv6 is enabled for the connection group.  
Type: Boolean

 ** [IsDefault](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-IsDefault"></a>
Whether the connection group is the default connection group for the distribution tenants.  
Type: Boolean

 ** [LastModifiedTime](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-LastModifiedTime"></a>
The date and time when the connection group was updated.  
Type: Timestamp

 ** [Name](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Name"></a>
The name of the connection group.  
Type: String

 ** [RoutingEndpoint](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-RoutingEndpoint"></a>
The routing endpoint (also known as the DNS name) that is assigned to the connection group, such as d111111abcdef8.cloudfront.net.  
Type: String

 ** [Status](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Status"></a>
The status of the connection group.  
Type: String

 ** [Tags](#API_CreateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-CreateConnectionGroup-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_CreateConnectionGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

## See Also
<a name="API_CreateConnectionGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateConnectionGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateConnectionGroup) 

# CreateContinuousDeploymentPolicy
<a name="API_CreateContinuousDeploymentPolicy"></a>

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.

## Request Syntax
<a name="API_CreateContinuousDeploymentPolicy_RequestSyntax"></a>

```
POST /2020-05-31/continuous-deployment-policy HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Enabled>boolean</Enabled>
   <StagingDistributionDnsNames>
      <Items>
         <DnsName>string</DnsName>
      </Items>
      <Quantity>integer</Quantity>
   </StagingDistributionDnsNames>
   <TrafficConfig>
      <SingleHeaderConfig>
         <Header>string</Header>
         <Value>string</Value>
      </SingleHeaderConfig>
      <SingleWeightConfig>
         <SessionStickinessConfig>
            <IdleTTL>integer</IdleTTL>
            <MaximumTTL>integer</MaximumTTL>
         </SessionStickinessConfig>
         <Weight>float</Weight>
      </SingleWeightConfig>
      <Type>string</Type>
   </TrafficConfig>
</ContinuousDeploymentPolicyConfig>
```

## URI Request Parameters
<a name="API_CreateContinuousDeploymentPolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateContinuousDeploymentPolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ContinuousDeploymentPolicyConfig](#API_CreateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-request-ContinuousDeploymentPolicyConfig"></a>
Root level tag for the ContinuousDeploymentPolicyConfig parameters.  
Required: Yes

 ** [Enabled](#API_CreateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-request-Enabled"></a>
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.  
Type: Boolean  
Required: Yes

 ** [StagingDistributionDnsNames](#API_CreateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-request-StagingDistributionDnsNames"></a>
The CloudFront domain name of the staging distribution. For example: `d111111abcdef8.cloudfront.net`.  
Type: [StagingDistributionDnsNames](API_StagingDistributionDnsNames.md) object  
Required: Yes

 ** [TrafficConfig](#API_CreateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-request-TrafficConfig"></a>
Contains the parameters for routing production traffic from your primary to staging distributions.  
Type: [TrafficConfig](API_TrafficConfig.md) object  
Required: No

## Response Syntax
<a name="API_CreateContinuousDeploymentPolicy_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicy>
   <ContinuousDeploymentPolicyConfig>
      <Enabled>boolean</Enabled>
      <StagingDistributionDnsNames>
         <Items>
            <DnsName>string</DnsName>
         </Items>
         <Quantity>integer</Quantity>
      </StagingDistributionDnsNames>
      <TrafficConfig>
         <SingleHeaderConfig>
            <Header>string</Header>
            <Value>string</Value>
         </SingleHeaderConfig>
         <SingleWeightConfig>
            <SessionStickinessConfig>
               <IdleTTL>integer</IdleTTL>
               <MaximumTTL>integer</MaximumTTL>
            </SessionStickinessConfig>
            <Weight>float</Weight>
         </SingleWeightConfig>
         <Type>string</Type>
      </TrafficConfig>
   </ContinuousDeploymentPolicyConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</ContinuousDeploymentPolicy>
```

## Response Elements
<a name="API_CreateContinuousDeploymentPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [ContinuousDeploymentPolicy](#API_CreateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-response-ContinuousDeploymentPolicy"></a>
Root level tag for the ContinuousDeploymentPolicy parameters.  
Required: Yes

 ** [ContinuousDeploymentPolicyConfig](#API_CreateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-response-ContinuousDeploymentPolicyConfig"></a>
Contains the configuration for a continuous deployment policy.  
Type: [ContinuousDeploymentPolicyConfig](API_ContinuousDeploymentPolicyConfig.md) object

 ** [Id](#API_CreateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-response-Id"></a>
The identifier of the continuous deployment policy.  
Type: String

 ** [LastModifiedTime](#API_CreateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-CreateContinuousDeploymentPolicy-response-LastModifiedTime"></a>
The date and time the continuous deployment policy was last modified.  
Type: Timestamp

## Errors
<a name="API_CreateContinuousDeploymentPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** ContinuousDeploymentPolicyAlreadyExists **   
A continuous deployment policy with this configuration already exists.  
HTTP Status Code: 409

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** StagingDistributionInUse **   
A continuous deployment policy for this staging distribution already exists.  
HTTP Status Code: 409

 ** TooManyContinuousDeploymentPolicies **   
You have reached the maximum number of continuous deployment policies for this AWS account.  
HTTP Status Code: 400

## See Also
<a name="API_CreateContinuousDeploymentPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateContinuousDeploymentPolicy) 

# CreateDistribution
<a name="API_CreateDistribution"></a>

Creates a CloudFront distribution.

## Request Syntax
<a name="API_CreateDistribution_RequestSyntax"></a>

```
POST /2020-05-31/distribution HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<DistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Aliases>
      <Items>
         <CNAME>string</CNAME>
      </Items>
      <Quantity>integer</Quantity>
   </Aliases>
   <AnycastIpListId>string</AnycastIpListId>
   <CacheBehaviors>
      <Items>
         <CacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <PathPattern>string</PathPattern>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </CacheBehavior>
      </Items>
      <Quantity>integer</Quantity>
   </CacheBehaviors>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <ConnectionFunctionAssociation>
      <Id>string</Id>
   </ConnectionFunctionAssociation>
   <ConnectionMode>string</ConnectionMode>
   <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
   <CustomErrorResponses>
      <Items>
         <CustomErrorResponse>
            <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
            <ErrorCode>integer</ErrorCode>
            <ResponseCode>string</ResponseCode>
            <ResponsePagePath>string</ResponsePagePath>
         </CustomErrorResponse>
      </Items>
      <Quantity>integer</Quantity>
   </CustomErrorResponses>
   <DefaultCacheBehavior>
      <AllowedMethods>
         <CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </CachedMethods>
         <Items>
            <Method>string</Method>
         </Items>
         <Quantity>integer</Quantity>
      </AllowedMethods>
      <CachePolicyId>string</CachePolicyId>
      <Compress>boolean</Compress>
      <DefaultTTL>long</DefaultTTL>
      <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
      <ForwardedValues>
         <Cookies>
            <Forward>string</Forward>
            <WhitelistedNames>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </WhitelistedNames>
         </Cookies>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
         <QueryString>boolean</QueryString>
         <QueryStringCacheKeys>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStringCacheKeys>
      </ForwardedValues>
      <FunctionAssociations>
         <Items>
            <FunctionAssociation>
               <EventType>string</EventType>
               <FunctionARN>string</FunctionARN>
            </FunctionAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </FunctionAssociations>
      <GrpcConfig>
         <Enabled>boolean</Enabled>
      </GrpcConfig>
      <LambdaFunctionAssociations>
         <Items>
            <LambdaFunctionAssociation>
               <EventType>string</EventType>
               <IncludeBody>boolean</IncludeBody>
               <LambdaFunctionARN>string</LambdaFunctionARN>
            </LambdaFunctionAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </LambdaFunctionAssociations>
      <MaxTTL>long</MaxTTL>
      <MinTTL>long</MinTTL>
      <OriginRequestPolicyId>string</OriginRequestPolicyId>
      <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
      <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
      <SmoothStreaming>boolean</SmoothStreaming>
      <TargetOriginId>string</TargetOriginId>
      <TrustedKeyGroups>
         <Enabled>boolean</Enabled>
         <Items>
            <KeyGroup>string</KeyGroup>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedKeyGroups>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
      <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
   </DefaultCacheBehavior>
   <DefaultRootObject>string</DefaultRootObject>
   <Enabled>boolean</Enabled>
   <HttpVersion>string</HttpVersion>
   <IsIPV6Enabled>boolean</IsIPV6Enabled>
   <Logging>
      <Bucket>string</Bucket>
      <Enabled>boolean</Enabled>
      <IncludeCookies>boolean</IncludeCookies>
      <Prefix>string</Prefix>
   </Logging>
   <OriginGroups>
      <Items>
         <OriginGroup>
            <FailoverCriteria>
               <StatusCodes>
                  <Items>
                     <StatusCode>integer</StatusCode>
                  </Items>
                  <Quantity>integer</Quantity>
               </StatusCodes>
            </FailoverCriteria>
            <Id>string</Id>
            <Members>
               <Items>
                  <OriginGroupMember>
                     <OriginId>string</OriginId>
                  </OriginGroupMember>
               </Items>
               <Quantity>integer</Quantity>
            </Members>
            <SelectionCriteria>string</SelectionCriteria>
         </OriginGroup>
      </Items>
      <Quantity>integer</Quantity>
   </OriginGroups>
   <Origins>
      <Items>
         <Origin>
            <ConnectionAttempts>integer</ConnectionAttempts>
            <ConnectionTimeout>integer</ConnectionTimeout>
            <CustomHeaders>
               <Items>
                  <OriginCustomHeader>
                     <HeaderName>string</HeaderName>
                     <HeaderValue>string</HeaderValue>
                  </OriginCustomHeader>
               </Items>
               <Quantity>integer</Quantity>
            </CustomHeaders>
            <CustomOriginConfig>
               <HTTPPort>integer</HTTPPort>
               <HTTPSPort>integer</HTTPSPort>
               <IpAddressType>string</IpAddressType>
               <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
               <OriginMtlsConfig>
                  <ClientCertificateArn>string</ClientCertificateArn>
               </OriginMtlsConfig>
               <OriginProtocolPolicy>string</OriginProtocolPolicy>
               <OriginReadTimeout>integer</OriginReadTimeout>
               <OriginSslProtocols>
                  <Items>
                     <SslProtocol>string</SslProtocol>
                  </Items>
                  <Quantity>integer</Quantity>
               </OriginSslProtocols>
            </CustomOriginConfig>
            <DomainName>string</DomainName>
            <Id>string</Id>
            <OriginAccessControlId>string</OriginAccessControlId>
            <OriginPath>string</OriginPath>
            <OriginShield>
               <Enabled>boolean</Enabled>
               <OriginShieldRegion>string</OriginShieldRegion>
            </OriginShield>
            <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
            <S3OriginConfig>
               <OriginAccessIdentity>string</OriginAccessIdentity>
               <OriginReadTimeout>integer</OriginReadTimeout>
            </S3OriginConfig>
            <VpcOriginConfig>
               <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
               <OriginReadTimeout>integer</OriginReadTimeout>
               <VpcOriginId>string</VpcOriginId>
            </VpcOriginConfig>
         </Origin>
      </Items>
      <Quantity>integer</Quantity>
   </Origins>
   <PriceClass>string</PriceClass>
   <Restrictions>
      <GeoRestriction>
         <Items>
            <Location>string</Location>
         </Items>
         <Quantity>integer</Quantity>
         <RestrictionType>string</RestrictionType>
      </GeoRestriction>
   </Restrictions>
   <Staging>boolean</Staging>
   <TenantConfig>
      <ParameterDefinitions>
         <ParameterDefinition>
            <Definition>
               <StringSchema>
                  <Comment>string</Comment>
                  <DefaultValue>string</DefaultValue>
                  <Required>boolean</Required>
               </StringSchema>
            </Definition>
            <Name>string</Name>
         </ParameterDefinition>
      </ParameterDefinitions>
   </TenantConfig>
   <ViewerCertificate>
      <ACMCertificateArn>string</ACMCertificateArn>
      <Certificate>string</Certificate>
      <CertificateSource>string</CertificateSource>
      <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
      <IAMCertificateId>string</IAMCertificateId>
      <MinimumProtocolVersion>string</MinimumProtocolVersion>
      <SSLSupportMethod>string</SSLSupportMethod>
   </ViewerCertificate>
   <ViewerMtlsConfig>
      <Mode>string</Mode>
      <TrustStoreConfig>
         <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
         <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
         <TrustStoreId>string</TrustStoreId>
      </TrustStoreConfig>
   </ViewerMtlsConfig>
   <WebACLId>string</WebACLId>
</DistributionConfig>
```

## URI Request Parameters
<a name="API_CreateDistribution_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateDistribution_RequestBody"></a>

The request accepts the following data in XML format.

 ** [DistributionConfig](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-DistributionConfig"></a>
Root level tag for the DistributionConfig parameters.  
Required: Yes

 ** [Aliases](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Aliases"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.  
Type: [Aliases](API_Aliases.md) object  
Required: No

 ** [AnycastIpListId](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-AnycastIpListId"></a>
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html).
ID of the Anycast static IP list that is associated with the distribution.  
Type: String  
Required: No

 ** [CacheBehaviors](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-CacheBehaviors"></a>
A complex type that contains zero or more `CacheBehavior` elements.  
Type: [CacheBehaviors](API_CacheBehaviors.md) object  
Required: No

 ** [CallerReference](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-CallerReference"></a>
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.  
Type: String  
Required: Yes

 ** [Comment](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Comment"></a>
A comment to describe the distribution. The comment cannot be longer than 128 characters.  
Type: String  
Required: Yes

 ** [ConnectionFunctionAssociation](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-ConnectionFunctionAssociation"></a>
The distribution's connection function association.  
Type: [ConnectionFunctionAssociation](API_ConnectionFunctionAssociation.md) object  
Required: No

 ** [ConnectionMode](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-ConnectionMode"></a>
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).  
Type: String  
Valid Values: `direct | tenant-only`   
Required: No

 ** [ContinuousDeploymentPolicyId](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-ContinuousDeploymentPolicyId"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
The identifier of a continuous deployment policy. For more information, see `CreateContinuousDeploymentPolicy`.  
Type: String  
Required: No

 ** [CustomErrorResponses](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-CustomErrorResponses"></a>
A complex type that controls the following:  
+ Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
+ How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see [Customizing Error Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the *Amazon CloudFront Developer Guide*.  
Type: [CustomErrorResponses](API_CustomErrorResponses.md) object  
Required: No

 ** [DefaultCacheBehavior](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-DefaultCacheBehavior"></a>
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.  
Type: [DefaultCacheBehavior](API_DefaultCacheBehavior.md) object  
Required: Yes

 ** [DefaultRootObject](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-DefaultRootObject"></a>
When a viewer requests the root URL for your distribution, the default root object is the object that you want CloudFront to request from your origin. For example, if your root URL is `https://www.example.com`, you can specify CloudFront to return the `index.html` file as the default root object. You can specify a default root object so that viewers see a specific file or object, instead of another object in your distribution (for example, `https://www.example.com/product-description.html`). A default root object avoids exposing the contents of your distribution.  
You can specify the object name or a path to the object name (for example, `index.html` or `exampleFolderName/index.html`). Your string can't begin with a forward slash (`/`). Only specify the object name or the path to the object.  
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 [Specify a default root object](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html) in the *Amazon CloudFront Developer Guide*.  
Type: String  
Required: No

 ** [Enabled](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Enabled"></a>
From this field, you can enable or disable the selected distribution.  
Type: Boolean  
Required: Yes

 ** [HttpVersion](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-HttpVersion"></a>
(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](https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration) at RFC 9000. For more information about supported TLSv1.3 ciphers, see [Supported protocols and ciphers between viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html).  
Type: String  
Valid Values: `http1.1 | http2 | http3 | http2and3`   
Required: No

 ** [IsIPV6Enabled](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-IsIPV6Enabled"></a>
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html).
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html) in the *Amazon CloudFront Developer Guide*.  
If you're using an Amazon Route 53 AWS 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:  
+ You enable IPv6 for the distribution
+ You're using alternate domain names in the URLs for your objects
For more information, see [Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html) in the * Amazon Route 53 AWS Integration Developer Guide*.  
If you created a CNAME resource record set, either with Amazon Route 53 AWS 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.  
Type: Boolean  
Required: No

 ** [Logging](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Logging"></a>
A complex type that controls whether access logs are written for the distribution.  
For more information about logging, see [Access Logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) in the *Amazon CloudFront Developer Guide*.  
Type: [LoggingConfig](API_LoggingConfig.md) object  
Required: No

 ** [OriginGroups](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-OriginGroups"></a>
A complex type that contains information about origin groups for this distribution.  
Type: [OriginGroups](API_OriginGroups.md) object  
Required: No

 ** [Origins](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Origins"></a>
A complex type that contains information about origins for this distribution.  
Type: [Origins](API_Origins.md) object  
Required: Yes

 ** [PriceClass](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-PriceClass"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html) 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](http://aws.amazon.com/cloudfront/pricing/).  
Type: String  
Valid Values: `PriceClass_100 | PriceClass_200 | PriceClass_All | None`   
Required: No

 ** [Restrictions](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Restrictions"></a>
A complex type that identifies ways in which you want to restrict distribution of your content.  
Type: [Restrictions](API_Restrictions.md) object  
Required: No

 ** [Staging](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-Staging"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
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.  
Type: Boolean  
Required: No

 ** [TenantConfig](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-TenantConfig"></a>
This field only supports multi-tenant distributions. You can't specify this field for standard distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
A distribution tenant configuration.  
Type: [TenantConfig](API_TenantConfig.md) object  
Required: No

 ** [ViewerCertificate](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-ViewerCertificate"></a>
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.  
Type: [ViewerCertificate](API_ViewerCertificate.md) object  
Required: No

 ** [ViewerMtlsConfig](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-ViewerMtlsConfig"></a>
The distribution's viewer mTLS configuration.  
Type: [ViewerMtlsConfig](API_ViewerMtlsConfig.md) object  
Required: No

 ** [WebACLId](#API_CreateDistribution_RequestSyntax) **   <a name="cloudfront-CreateDistribution-request-WebACLId"></a>
Multi-tenant distributions only support AWS WAF V2 web ACLs.
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of AWS 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 AWS WAF Classic, use the ACL ID, for example `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.  
 AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html).  
Type: String  
Required: No

## Response Syntax
<a name="API_CreateDistribution_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<Distribution>
   <ActiveTrustedKeyGroups>
      <Enabled>boolean</Enabled>
      <Items>
         <KeyGroup>
            <KeyGroupId>string</KeyGroupId>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </KeyGroup>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedKeyGroups>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <AliasICPRecordals>
      <AliasICPRecordal>
         <CNAME>string</CNAME>
         <ICPRecordalStatus>string</ICPRecordalStatus>
      </AliasICPRecordal>
   </AliasICPRecordals>
   <ARN>string</ARN>
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <InProgressInvalidationBatches>integer</InProgressInvalidationBatches>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
</Distribution>
```

## Response Elements
<a name="API_CreateDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [Distribution](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-Distribution"></a>
Root level tag for the Distribution parameters.  
Required: Yes

 ** [ActiveTrustedKeyGroups](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-ActiveTrustedKeyGroups"></a>
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.  
Type: [ActiveTrustedKeyGroups](API_ActiveTrustedKeyGroups.md) object

 ** [ActiveTrustedSigners](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-ActiveTrustedSigners"></a>
We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
This field contains a list of AWS 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.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [AliasICPRecordals](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-AliasICPRecordals"></a>
 AWS 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](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in *Getting Started with AWS services in China*.  
Type: Array of [AliasICPRecordal](API_AliasICPRecordal.md) objects

 ** [ARN](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-ARN"></a>
The distribution's Amazon Resource Name (ARN).  
Type: String

 ** [DistributionConfig](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-DistributionConfig"></a>
The distribution's configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object

 ** [DomainName](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-DomainName"></a>
The distribution's CloudFront domain name. For example: `d111111abcdef8.cloudfront.net`.  
Type: String

 ** [Id](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-Id"></a>
The distribution's identifier. For example: `E1U5RQF7T870K0`.  
Type: String

 ** [InProgressInvalidationBatches](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-InProgressInvalidationBatches"></a>
The number of invalidation batches currently in progress.  
Type: Integer

 ** [LastModifiedTime](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-LastModifiedTime"></a>
The date and time when the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_CreateDistribution_ResponseSyntax) **   <a name="cloudfront-CreateDistribution-response-Status"></a>
The distribution's status. When the status is `Deployed`, the distribution's information is fully propagated to all CloudFront edge locations.  
Type: String

## Errors
<a name="API_CreateDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** ContinuousDeploymentPolicyInUse **   
You cannot delete a continuous deployment policy that is associated with a primary distribution.  
HTTP Status Code: 409

 ** DistributionAlreadyExists **   
The caller reference you attempted to create the distribution with is associated with another distribution.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior **   
The specified configuration for field-level encryption can't be associated with the specified cache behavior.  
HTTP Status Code: 400

 ** IllegalOriginAccessConfiguration **   
An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI).  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidDefaultRootObject **   
The default root object file name is too big or contains an invalid character.  
HTTP Status Code: 400

 ** InvalidDomainNameForOriginAccessControl **   
An origin access control is associated with an origin whose domain name is not supported.  
HTTP Status Code: 400

 ** InvalidErrorCode **   
An invalid error code was specified.  
HTTP Status Code: 400

 ** InvalidForwardCookies **   
Your request contains forward cookies option which doesn't match with the expectation for the `whitelisted` list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.  
HTTP Status Code: 400

 ** InvalidFunctionAssociation **   
A CloudFront function association is invalid.  
HTTP Status Code: 400

 ** InvalidGeoRestrictionParameter **   
The specified geo restriction parameter is not valid.  
HTTP Status Code: 400

 ** InvalidHeadersForS3Origin **   
The headers specified are not valid for an Amazon S3 origin.  
HTTP Status Code: 400

 ** InvalidLambdaFunctionAssociation **   
The specified Lambda@Edge function association is invalid.  
HTTP Status Code: 400

 ** InvalidLocationCode **   
The location code specified is not valid.  
HTTP Status Code: 400

 ** InvalidMinimumProtocolVersion **   
The minimum protocol version specified is not valid.  
HTTP Status Code: 400

 ** InvalidOrigin **   
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** InvalidOriginKeepaliveTimeout **   
The keep alive timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidOriginReadTimeout **   
The read timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidProtocolSettings **   
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).  
HTTP Status Code: 400

 ** InvalidQueryStringParameters **   
The query string parameters specified are not valid.  
HTTP Status Code: 400

 ** InvalidRelativePath **   
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).  
HTTP Status Code: 400

 ** InvalidRequiredProtocol **   
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the `RequiredProtocols` element from your distribution configuration.  
HTTP Status Code: 400

 ** InvalidResponseCode **   
A response code is not valid.  
HTTP Status Code: 400

 ** InvalidTTLOrder **   
The TTL order specified is not valid.  
HTTP Status Code: 400

 ** InvalidViewerCertificate **   
A viewer certificate specified is not valid.  
HTTP Status Code: 400

 ** InvalidWebACLId **   
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchOrigin **   
No origin exists with the specified `Origin Id`.  
HTTP Status Code: 404

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** RealtimeLogConfigOwnerMismatch **   
The specified real-time log configuration belongs to a different AWS account.  
HTTP Status Code: 401

 ** TooManyCacheBehaviors **   
You cannot create more cache behaviors for the distribution.  
HTTP Status Code: 400

 ** TooManyCertificates **   
You cannot create anymore custom SSL/TLS certificates.  
HTTP Status Code: 400

 ** TooManyCookieNamesInWhiteList **   
Your request contains more cookie names in the whitelist than are allowed per cache behavior.  
HTTP Status Code: 400

 ** TooManyDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyDistributions **   
Processing your request would cause you to exceed the maximum number of distributions allowed.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToCachePolicy **   
The maximum number of distributions have been associated with the specified cache policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToFieldLevelEncryptionConfig **   
The maximum number of distributions have been associated with the specified configuration for field-level encryption.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToKeyGroup **   
The number of distributions that reference this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginAccessControl **   
The maximum number of distributions have been associated with the specified origin access control.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginRequestPolicy **   
The maximum number of distributions have been associated with the specified origin request policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToResponseHeadersPolicy **   
The maximum number of distributions have been associated with the specified response headers policy.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithFunctionAssociations **   
You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithLambdaAssociations **   
Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.  
HTTP Status Code: 400

 ** TooManyDistributionsWithSingleFunctionARN **   
The maximum number of distributions have been associated with the specified Lambda@Edge function.  
HTTP Status Code: 400

 ** TooManyFunctionAssociations **   
You have reached the maximum number of CloudFront function associations for this distribution. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInForwardedValues **   
Your request contains too many headers in forwarded values.  
HTTP Status Code: 400

 ** TooManyKeyGroupsAssociatedToDistribution **   
The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyLambdaFunctionAssociations **   
Your request contains more Lambda@Edge function associations than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyOriginCustomHeaders **   
Your request contains too many origin custom headers.  
HTTP Status Code: 400

 ** TooManyOriginGroupsPerDistribution **   
Processing your request would cause you to exceed the maximum number of origin groups allowed.  
HTTP Status Code: 400

 ** TooManyOrigins **   
You cannot create more origins for the distribution.  
HTTP Status Code: 400

 ** TooManyQueryStringParameters **   
Your request contains too many query string parameters.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedKeyGroupDoesNotExist **   
The specified key group does not exist.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_CreateDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateDistribution) 

# CreateDistributionTenant
<a name="API_CreateDistributionTenant"></a>

Creates a distribution tenant.

## Request Syntax
<a name="API_CreateDistributionTenant_RequestSyntax"></a>

```
POST /2020-05-31/distribution-tenant HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateDistributionTenantRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ConnectionGroupId>string</ConnectionGroupId>
   <Customizations>
      <Certificate>
         <Arn>string</Arn>
      </Certificate>
      <GeoRestrictions>
         <Locations>
            <Location>string</Location>
         </Locations>
         <RestrictionType>string</RestrictionType>
      </GeoRestrictions>
      <WebAcl>
         <Action>string</Action>
         <Arn>string</Arn>
      </WebAcl>
   </Customizations>
   <DistributionId>string</DistributionId>
   <Domains>
      <DomainItem>
         <Domain>string</Domain>
      </DomainItem>
   </Domains>
   <Enabled>boolean</Enabled>
   <ManagedCertificateRequest>
      <CertificateTransparencyLoggingPreference>string</CertificateTransparencyLoggingPreference>
      <PrimaryDomainName>string</PrimaryDomainName>
      <ValidationTokenHost>string</ValidationTokenHost>
   </ManagedCertificateRequest>
   <Name>string</Name>
   <Parameters>
      <Parameter>
         <Name>string</Name>
         <Value>string</Value>
      </Parameter>
   </Parameters>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</CreateDistributionTenantRequest>
```

## URI Request Parameters
<a name="API_CreateDistributionTenant_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateDistributionTenant_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateDistributionTenantRequest](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-CreateDistributionTenantRequest"></a>
Root level tag for the CreateDistributionTenantRequest parameters.  
Required: Yes

 ** [ConnectionGroupId](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-ConnectionGroupId"></a>
The ID of the connection group to associate with the distribution tenant.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: No

 ** [Customizations](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-Customizations"></a>
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.  
Type: [Customizations](API_Customizations.md) object  
Required: No

 ** [DistributionId](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-DistributionId"></a>
The ID of the multi-tenant distribution to use for creating the distribution tenant.  
Type: String  
Required: Yes

 ** [Domains](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-Domains"></a>
The domains associated with the distribution tenant. You must specify at least one domain in the request.  
Type: Array of [DomainItem](API_DomainItem.md) objects  
Required: Yes

 ** [Enabled](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-Enabled"></a>
Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic.  
Type: Boolean  
Required: No

 ** [ManagedCertificateRequest](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-ManagedCertificateRequest"></a>
The configuration for the CloudFront managed ACM certificate request.  
Type: [ManagedCertificateRequest](API_ManagedCertificateRequest.md) object  
Required: No

 ** [Name](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-Name"></a>
The name of the distribution tenant. Enter a friendly identifier that is unique within your AWS account. This name can't be updated after you create the distribution tenant.  
Type: String  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9-.]{1,126}[a-zA-Z0-9]`   
Required: Yes

 ** [Parameters](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-Parameters"></a>
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.  
Type: Array of [Parameter](API_Parameter.md) objects  
Required: No

 ** [Tags](#API_CreateDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateDistributionTenant-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: No

## Response Syntax
<a name="API_CreateDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<DistributionTenant>
   <Arn>string</Arn>
   <ConnectionGroupId>string</ConnectionGroupId>
   <CreatedTime>timestamp</CreatedTime>
   <Customizations>
      <Certificate>
         <Arn>string</Arn>
      </Certificate>
      <GeoRestrictions>
         <Locations>
            <Location>string</Location>
         </Locations>
         <RestrictionType>string</RestrictionType>
      </GeoRestrictions>
      <WebAcl>
         <Action>string</Action>
         <Arn>string</Arn>
      </WebAcl>
   </Customizations>
   <DistributionId>string</DistributionId>
   <Domains>
      <DomainResult>
         <Domain>string</Domain>
         <Status>string</Status>
      </DomainResult>
   </Domains>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Parameters>
      <Parameter>
         <Name>string</Name>
         <Value>string</Value>
      </Parameter>
   </Parameters>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</DistributionTenant>
```

## Response Elements
<a name="API_CreateDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [DistributionTenant](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-DistributionTenant"></a>
Root level tag for the DistributionTenant parameters.  
Required: Yes

 ** [Arn](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Arn"></a>
The Amazon Resource Name (ARN) of the distribution tenant.  
Type: String

 ** [ConnectionGroupId](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-ConnectionGroupId"></a>
The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.  
Type: String

 ** [CreatedTime](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-CreatedTime"></a>
The date and time when the distribution tenant was created.  
Type: Timestamp

 ** [Customizations](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Customizations"></a>
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.  
Type: [Customizations](API_Customizations.md) object

 ** [DistributionId](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-DistributionId"></a>
The ID of the multi-tenant distribution.  
Type: String

 ** [Domains](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Domains"></a>
The domains associated with the distribution tenant.  
Type: Array of [DomainResult](API_DomainResult.md) objects

 ** [Enabled](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Enabled"></a>
Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.  
Type: Boolean

 ** [Id](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Id"></a>
The ID of the distribution tenant.  
Type: String

 ** [LastModifiedTime](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-LastModifiedTime"></a>
The date and time when the distribution tenant was updated.  
Type: Timestamp

 ** [Name](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Name"></a>
The name of the distribution tenant.  
Type: String

 ** [Parameters](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Parameters"></a>
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.  
Type: Array of [Parameter](API_Parameter.md) objects

 ** [Status](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Status"></a>
The status of the distribution tenant.  
Type: String

 ** [Tags](#API_CreateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateDistributionTenant-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_CreateDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidAssociation **   
The specified CloudFront resource can't be associated.  
HTTP Status Code: 409

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

## See Also
<a name="API_CreateDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateDistributionTenant) 

# CreateDistributionWithTags
<a name="API_CreateDistributionWithTags"></a>

Create a new distribution with tags. This API operation requires the following IAM permissions:
+  [CreateDistribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html) 
+  [TagResource](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_TagResource.html) 

## Request Syntax
<a name="API_CreateDistributionWithTags_RequestSyntax"></a>

```
POST /2020-05-31/distribution?WithTags HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<DistributionConfigWithTags xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</DistributionConfigWithTags>
```

## URI Request Parameters
<a name="API_CreateDistributionWithTags_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateDistributionWithTags_RequestBody"></a>

The request accepts the following data in XML format.

 ** [DistributionConfigWithTags](#API_CreateDistributionWithTags_RequestSyntax) **   <a name="cloudfront-CreateDistributionWithTags-request-DistributionConfigWithTags"></a>
Root level tag for the DistributionConfigWithTags parameters.  
Required: Yes

 ** [DistributionConfig](#API_CreateDistributionWithTags_RequestSyntax) **   <a name="cloudfront-CreateDistributionWithTags-request-DistributionConfig"></a>
A distribution configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object  
Required: Yes

 ** [Tags](#API_CreateDistributionWithTags_RequestSyntax) **   <a name="cloudfront-CreateDistributionWithTags-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateDistributionWithTags_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<Distribution>
   <ActiveTrustedKeyGroups>
      <Enabled>boolean</Enabled>
      <Items>
         <KeyGroup>
            <KeyGroupId>string</KeyGroupId>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </KeyGroup>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedKeyGroups>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <AliasICPRecordals>
      <AliasICPRecordal>
         <CNAME>string</CNAME>
         <ICPRecordalStatus>string</ICPRecordalStatus>
      </AliasICPRecordal>
   </AliasICPRecordals>
   <ARN>string</ARN>
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <InProgressInvalidationBatches>integer</InProgressInvalidationBatches>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
</Distribution>
```

## Response Elements
<a name="API_CreateDistributionWithTags_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [Distribution](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-Distribution"></a>
Root level tag for the Distribution parameters.  
Required: Yes

 ** [ActiveTrustedKeyGroups](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-ActiveTrustedKeyGroups"></a>
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.  
Type: [ActiveTrustedKeyGroups](API_ActiveTrustedKeyGroups.md) object

 ** [ActiveTrustedSigners](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-ActiveTrustedSigners"></a>
We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
This field contains a list of AWS 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.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [AliasICPRecordals](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-AliasICPRecordals"></a>
 AWS 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](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in *Getting Started with AWS services in China*.  
Type: Array of [AliasICPRecordal](API_AliasICPRecordal.md) objects

 ** [ARN](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-ARN"></a>
The distribution's Amazon Resource Name (ARN).  
Type: String

 ** [DistributionConfig](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-DistributionConfig"></a>
The distribution's configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object

 ** [DomainName](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-DomainName"></a>
The distribution's CloudFront domain name. For example: `d111111abcdef8.cloudfront.net`.  
Type: String

 ** [Id](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-Id"></a>
The distribution's identifier. For example: `E1U5RQF7T870K0`.  
Type: String

 ** [InProgressInvalidationBatches](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-InProgressInvalidationBatches"></a>
The number of invalidation batches currently in progress.  
Type: Integer

 ** [LastModifiedTime](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-LastModifiedTime"></a>
The date and time when the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_CreateDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateDistributionWithTags-response-Status"></a>
The distribution's status. When the status is `Deployed`, the distribution's information is fully propagated to all CloudFront edge locations.  
Type: String

## Errors
<a name="API_CreateDistributionWithTags_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** ContinuousDeploymentPolicyInUse **   
You cannot delete a continuous deployment policy that is associated with a primary distribution.  
HTTP Status Code: 409

 ** DistributionAlreadyExists **   
The caller reference you attempted to create the distribution with is associated with another distribution.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior **   
The specified configuration for field-level encryption can't be associated with the specified cache behavior.  
HTTP Status Code: 400

 ** IllegalOriginAccessConfiguration **   
An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI).  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidDefaultRootObject **   
The default root object file name is too big or contains an invalid character.  
HTTP Status Code: 400

 ** InvalidDomainNameForOriginAccessControl **   
An origin access control is associated with an origin whose domain name is not supported.  
HTTP Status Code: 400

 ** InvalidErrorCode **   
An invalid error code was specified.  
HTTP Status Code: 400

 ** InvalidForwardCookies **   
Your request contains forward cookies option which doesn't match with the expectation for the `whitelisted` list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.  
HTTP Status Code: 400

 ** InvalidFunctionAssociation **   
A CloudFront function association is invalid.  
HTTP Status Code: 400

 ** InvalidGeoRestrictionParameter **   
The specified geo restriction parameter is not valid.  
HTTP Status Code: 400

 ** InvalidHeadersForS3Origin **   
The headers specified are not valid for an Amazon S3 origin.  
HTTP Status Code: 400

 ** InvalidLambdaFunctionAssociation **   
The specified Lambda@Edge function association is invalid.  
HTTP Status Code: 400

 ** InvalidLocationCode **   
The location code specified is not valid.  
HTTP Status Code: 400

 ** InvalidMinimumProtocolVersion **   
The minimum protocol version specified is not valid.  
HTTP Status Code: 400

 ** InvalidOrigin **   
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** InvalidOriginKeepaliveTimeout **   
The keep alive timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidOriginReadTimeout **   
The read timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidProtocolSettings **   
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).  
HTTP Status Code: 400

 ** InvalidQueryStringParameters **   
The query string parameters specified are not valid.  
HTTP Status Code: 400

 ** InvalidRelativePath **   
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).  
HTTP Status Code: 400

 ** InvalidRequiredProtocol **   
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the `RequiredProtocols` element from your distribution configuration.  
HTTP Status Code: 400

 ** InvalidResponseCode **   
A response code is not valid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** InvalidTTLOrder **   
The TTL order specified is not valid.  
HTTP Status Code: 400

 ** InvalidViewerCertificate **   
A viewer certificate specified is not valid.  
HTTP Status Code: 400

 ** InvalidWebACLId **   
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchOrigin **   
No origin exists with the specified `Origin Id`.  
HTTP Status Code: 404

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** RealtimeLogConfigOwnerMismatch **   
The specified real-time log configuration belongs to a different AWS account.  
HTTP Status Code: 401

 ** TooManyCacheBehaviors **   
You cannot create more cache behaviors for the distribution.  
HTTP Status Code: 400

 ** TooManyCertificates **   
You cannot create anymore custom SSL/TLS certificates.  
HTTP Status Code: 400

 ** TooManyCookieNamesInWhiteList **   
Your request contains more cookie names in the whitelist than are allowed per cache behavior.  
HTTP Status Code: 400

 ** TooManyDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyDistributions **   
Processing your request would cause you to exceed the maximum number of distributions allowed.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToCachePolicy **   
The maximum number of distributions have been associated with the specified cache policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToFieldLevelEncryptionConfig **   
The maximum number of distributions have been associated with the specified configuration for field-level encryption.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToKeyGroup **   
The number of distributions that reference this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginAccessControl **   
The maximum number of distributions have been associated with the specified origin access control.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginRequestPolicy **   
The maximum number of distributions have been associated with the specified origin request policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToResponseHeadersPolicy **   
The maximum number of distributions have been associated with the specified response headers policy.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithFunctionAssociations **   
You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithLambdaAssociations **   
Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.  
HTTP Status Code: 400

 ** TooManyDistributionsWithSingleFunctionARN **   
The maximum number of distributions have been associated with the specified Lambda@Edge function.  
HTTP Status Code: 400

 ** TooManyFunctionAssociations **   
You have reached the maximum number of CloudFront function associations for this distribution. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInForwardedValues **   
Your request contains too many headers in forwarded values.  
HTTP Status Code: 400

 ** TooManyKeyGroupsAssociatedToDistribution **   
The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyLambdaFunctionAssociations **   
Your request contains more Lambda@Edge function associations than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyOriginCustomHeaders **   
Your request contains too many origin custom headers.  
HTTP Status Code: 400

 ** TooManyOriginGroupsPerDistribution **   
Processing your request would cause you to exceed the maximum number of origin groups allowed.  
HTTP Status Code: 400

 ** TooManyOrigins **   
You cannot create more origins for the distribution.  
HTTP Status Code: 400

 ** TooManyQueryStringParameters **   
Your request contains too many query string parameters.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedKeyGroupDoesNotExist **   
The specified key group does not exist.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_CreateDistributionWithTags_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateDistributionWithTags) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateDistributionWithTags) 

# CreateFieldLevelEncryptionConfig
<a name="API_CreateFieldLevelEncryptionConfig"></a>

Create a new field-level encryption configuration.

## Request Syntax
<a name="API_CreateFieldLevelEncryptionConfig_RequestSyntax"></a>

```
POST /2020-05-31/field-level-encryption HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <ContentTypeProfileConfig>
      <ContentTypeProfiles>
         <Items>
            <ContentTypeProfile>
               <ContentType>string</ContentType>
               <Format>string</Format>
               <ProfileId>string</ProfileId>
            </ContentTypeProfile>
         </Items>
         <Quantity>integer</Quantity>
      </ContentTypeProfiles>
      <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
   </ContentTypeProfileConfig>
   <QueryArgProfileConfig>
      <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
      <QueryArgProfiles>
         <Items>
            <QueryArgProfile>
               <ProfileId>string</ProfileId>
               <QueryArg>string</QueryArg>
            </QueryArgProfile>
         </Items>
         <Quantity>integer</Quantity>
      </QueryArgProfiles>
   </QueryArgProfileConfig>
</FieldLevelEncryptionConfig>
```

## URI Request Parameters
<a name="API_CreateFieldLevelEncryptionConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateFieldLevelEncryptionConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [FieldLevelEncryptionConfig](#API_CreateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-request-FieldLevelEncryptionConfig"></a>
Root level tag for the FieldLevelEncryptionConfig parameters.  
Required: Yes

 ** [CallerReference](#API_CreateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-request-CallerReference"></a>
A unique number that ensures the request can't be replayed.  
Type: String  
Required: Yes

 ** [Comment](#API_CreateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-request-Comment"></a>
An optional comment about the configuration. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [ContentTypeProfileConfig](#API_CreateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-request-ContentTypeProfileConfig"></a>
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.  
Type: [ContentTypeProfileConfig](API_ContentTypeProfileConfig.md) object  
Required: No

 ** [QueryArgProfileConfig](#API_CreateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-request-QueryArgProfileConfig"></a>
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.  
Type: [QueryArgProfileConfig](API_QueryArgProfileConfig.md) object  
Required: No

## Response Syntax
<a name="API_CreateFieldLevelEncryptionConfig_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryption>
   <FieldLevelEncryptionConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ContentTypeProfileConfig>
         <ContentTypeProfiles>
            <Items>
               <ContentTypeProfile>
                  <ContentType>string</ContentType>
                  <Format>string</Format>
                  <ProfileId>string</ProfileId>
               </ContentTypeProfile>
            </Items>
            <Quantity>integer</Quantity>
         </ContentTypeProfiles>
         <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
      </ContentTypeProfileConfig>
      <QueryArgProfileConfig>
         <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
         <QueryArgProfiles>
            <Items>
               <QueryArgProfile>
                  <ProfileId>string</ProfileId>
                  <QueryArg>string</QueryArg>
               </QueryArgProfile>
            </Items>
            <Quantity>integer</Quantity>
         </QueryArgProfiles>
      </QueryArgProfileConfig>
   </FieldLevelEncryptionConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</FieldLevelEncryption>
```

## Response Elements
<a name="API_CreateFieldLevelEncryptionConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryption](#API_CreateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-response-FieldLevelEncryption"></a>
Root level tag for the FieldLevelEncryption parameters.  
Required: Yes

 ** [FieldLevelEncryptionConfig](#API_CreateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-response-FieldLevelEncryptionConfig"></a>
A complex data type that includes the profile configurations specified for field-level encryption.  
Type: [FieldLevelEncryptionConfig](API_FieldLevelEncryptionConfig.md) object

 ** [Id](#API_CreateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-response-Id"></a>
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.  
Type: String

 ** [LastModifiedTime](#API_CreateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionConfig-response-LastModifiedTime"></a>
The last time the field-level encryption configuration was changed.  
Type: Timestamp

## Errors
<a name="API_CreateFieldLevelEncryptionConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** FieldLevelEncryptionConfigAlreadyExists **   
The specified configuration for field-level encryption already exists.  
HTTP Status Code: 409

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchFieldLevelEncryptionProfile **   
The specified profile for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** QueryArgProfileEmpty **   
No profile specified for the field-level encryption query argument.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionConfigs **   
The maximum number of configurations for field-level encryption have been created.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionContentTypeProfiles **   
The maximum number of content type profiles for field-level encryption have been created.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionQueryArgProfiles **   
The maximum number of query arg profiles for field-level encryption have been created.  
HTTP Status Code: 400

## See Also
<a name="API_CreateFieldLevelEncryptionConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig) 

# CreateFieldLevelEncryptionProfile
<a name="API_CreateFieldLevelEncryptionProfile"></a>

Create a field-level encryption profile.

## Request Syntax
<a name="API_CreateFieldLevelEncryptionProfile_RequestSyntax"></a>

```
POST /2020-05-31/field-level-encryption-profile HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfileConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <EncryptionEntities>
      <Items>
         <EncryptionEntity>
            <FieldPatterns>
               <Items>
                  <FieldPattern>string</FieldPattern>
               </Items>
               <Quantity>integer</Quantity>
            </FieldPatterns>
            <ProviderId>string</ProviderId>
            <PublicKeyId>string</PublicKeyId>
         </EncryptionEntity>
      </Items>
      <Quantity>integer</Quantity>
   </EncryptionEntities>
   <Name>string</Name>
</FieldLevelEncryptionProfileConfig>
```

## URI Request Parameters
<a name="API_CreateFieldLevelEncryptionProfile_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateFieldLevelEncryptionProfile_RequestBody"></a>

The request accepts the following data in XML format.

 ** [FieldLevelEncryptionProfileConfig](#API_CreateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-request-FieldLevelEncryptionProfileConfig"></a>
Root level tag for the FieldLevelEncryptionProfileConfig parameters.  
Required: Yes

 ** [CallerReference](#API_CreateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-request-CallerReference"></a>
A unique number that ensures that the request can't be replayed.  
Type: String  
Required: Yes

 ** [Comment](#API_CreateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-request-Comment"></a>
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [EncryptionEntities](#API_CreateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-request-EncryptionEntities"></a>
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.  
Type: [EncryptionEntities](API_EncryptionEntities.md) object  
Required: Yes

 ** [Name](#API_CreateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-request-Name"></a>
Profile name for the field-level encryption profile.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_CreateFieldLevelEncryptionProfile_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfile>
   <FieldLevelEncryptionProfileConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <EncryptionEntities>
         <Items>
            <EncryptionEntity>
               <FieldPatterns>
                  <Items>
                     <FieldPattern>string</FieldPattern>
                  </Items>
                  <Quantity>integer</Quantity>
               </FieldPatterns>
               <ProviderId>string</ProviderId>
               <PublicKeyId>string</PublicKeyId>
            </EncryptionEntity>
         </Items>
         <Quantity>integer</Quantity>
      </EncryptionEntities>
      <Name>string</Name>
   </FieldLevelEncryptionProfileConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</FieldLevelEncryptionProfile>
```

## Response Elements
<a name="API_CreateFieldLevelEncryptionProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionProfile](#API_CreateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-response-FieldLevelEncryptionProfile"></a>
Root level tag for the FieldLevelEncryptionProfile parameters.  
Required: Yes

 ** [FieldLevelEncryptionProfileConfig](#API_CreateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-response-FieldLevelEncryptionProfileConfig"></a>
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.  
Type: [FieldLevelEncryptionProfileConfig](API_FieldLevelEncryptionProfileConfig.md) object

 ** [Id](#API_CreateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-response-Id"></a>
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.  
Type: String

 ** [LastModifiedTime](#API_CreateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-CreateFieldLevelEncryptionProfile-response-LastModifiedTime"></a>
The last time the field-level encryption profile was updated.  
Type: Timestamp

## Errors
<a name="API_CreateFieldLevelEncryptionProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** FieldLevelEncryptionProfileAlreadyExists **   
The specified profile for field-level encryption already exists.  
HTTP Status Code: 409

 ** FieldLevelEncryptionProfileSizeExceeded **   
The maximum size of a profile for field-level encryption was exceeded.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchPublicKey **   
The specified public key doesn't exist.  
HTTP Status Code: 404

 ** TooManyFieldLevelEncryptionEncryptionEntities **   
The maximum number of encryption entities for field-level encryption have been created.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionFieldPatterns **   
The maximum number of field patterns for field-level encryption have been created.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionProfiles **   
The maximum number of profiles for field-level encryption have been created.  
HTTP Status Code: 400

## See Also
<a name="API_CreateFieldLevelEncryptionProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile) 

# CreateFunction
<a name="API_CreateFunction"></a>

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.

## Request Syntax
<a name="API_CreateFunction_RequestSyntax"></a>

```
POST /2020-05-31/function HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateFunctionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <FunctionCode>blob</FunctionCode>
   <FunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </FunctionConfig>
   <Name>string</Name>
</CreateFunctionRequest>
```

## URI Request Parameters
<a name="API_CreateFunction_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateFunction_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateFunctionRequest](#API_CreateFunction_RequestSyntax) **   <a name="cloudfront-CreateFunction-request-CreateFunctionRequest"></a>
Root level tag for the CreateFunctionRequest parameters.  
Required: Yes

 ** [FunctionCode](#API_CreateFunction_RequestSyntax) **   <a name="cloudfront-CreateFunction-request-FunctionCode"></a>
The function code. For more information about writing a CloudFront function, see [Writing function code for CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) in the *Amazon CloudFront Developer Guide*.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 40960.  
Required: Yes

 ** [FunctionConfig](#API_CreateFunction_RequestSyntax) **   <a name="cloudfront-CreateFunction-request-FunctionConfig"></a>
Configuration information about the function, including an optional comment and the function's runtime.  
Type: [FunctionConfig](API_FunctionConfig.md) object  
Required: Yes

 ** [Name](#API_CreateFunction_RequestSyntax) **   <a name="cloudfront-CreateFunction-request-Name"></a>
A name to identify the function.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Response Syntax
<a name="API_CreateFunction_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<FunctionSummary>
   <FunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </FunctionConfig>
   <FunctionMetadata>
      <CreatedTime>timestamp</CreatedTime>
      <FunctionARN>string</FunctionARN>
      <LastModifiedTime>timestamp</LastModifiedTime>
      <Stage>string</Stage>
   </FunctionMetadata>
   <Name>string</Name>
   <Status>string</Status>
</FunctionSummary>
```

## Response Elements
<a name="API_CreateFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [FunctionSummary](#API_CreateFunction_ResponseSyntax) **   <a name="cloudfront-CreateFunction-response-FunctionSummary"></a>
Root level tag for the FunctionSummary parameters.  
Required: Yes

 ** [FunctionConfig](#API_CreateFunction_ResponseSyntax) **   <a name="cloudfront-CreateFunction-response-FunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [FunctionMetadata](#API_CreateFunction_ResponseSyntax) **   <a name="cloudfront-CreateFunction-response-FunctionMetadata"></a>
Contains metadata about a CloudFront function.  
Type: [FunctionMetadata](API_FunctionMetadata.md) object

 ** [Name](#API_CreateFunction_ResponseSyntax) **   <a name="cloudfront-CreateFunction-response-Name"></a>
The name of the CloudFront function.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_CreateFunction_ResponseSyntax) **   <a name="cloudfront-CreateFunction-response-Status"></a>
The status of the CloudFront function.  
Type: String

## Errors
<a name="API_CreateFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** FunctionAlreadyExists **   
A function with the same name already exists in this AWS account. To create a function, you must provide a unique name. To update an existing function, use `UpdateFunction`.  
HTTP Status Code: 409

 ** FunctionSizeLimitExceeded **   
The function is too large. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 413

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** TooManyFunctions **   
You have reached the maximum number of CloudFront functions for this AWS account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_CreateFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateFunction) 

# CreateInvalidation
<a name="API_CreateInvalidation"></a>

Create a new invalidation. For more information, see [Invalidating files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateInvalidation_RequestSyntax"></a>

```
POST /2020-05-31/distribution/DistributionId/invalidation HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<InvalidationBatch xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Paths>
      <Items>
         <Path>string</Path>
      </Items>
      <Quantity>integer</Quantity>
   </Paths>
</InvalidationBatch>
```

## URI Request Parameters
<a name="API_CreateInvalidation_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateInvalidation_RequestBody"></a>

The request accepts the following data in XML format.

 ** [InvalidationBatch](#API_CreateInvalidation_RequestSyntax) **   <a name="cloudfront-CreateInvalidation-request-InvalidationBatch"></a>
Root level tag for the InvalidationBatch parameters.  
Required: Yes

 ** [CallerReference](#API_CreateInvalidation_RequestSyntax) **   <a name="cloudfront-CreateInvalidation-request-CallerReference"></a>
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.  
Type: String  
Required: Yes

 ** [Paths](#API_CreateInvalidation_RequestSyntax) **   <a name="cloudfront-CreateInvalidation-request-Paths"></a>
A complex type that contains information about the objects that you want to invalidate. For more information, see [Specifying the Objects to Invalidate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) in the *Amazon CloudFront Developer Guide*.  
Type: [Paths](API_Paths.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateInvalidation_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<Invalidation>
   <CreateTime>timestamp</CreateTime>
   <Id>string</Id>
   <InvalidationBatch>
      <CallerReference>string</CallerReference>
      <Paths>
         <Items>
            <Path>string</Path>
         </Items>
         <Quantity>integer</Quantity>
      </Paths>
   </InvalidationBatch>
   <Status>string</Status>
</Invalidation>
```

## Response Elements
<a name="API_CreateInvalidation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [Invalidation](#API_CreateInvalidation_ResponseSyntax) **   <a name="cloudfront-CreateInvalidation-response-Invalidation"></a>
Root level tag for the Invalidation parameters.  
Required: Yes

 ** [CreateTime](#API_CreateInvalidation_ResponseSyntax) **   <a name="cloudfront-CreateInvalidation-response-CreateTime"></a>
The date and time the invalidation request was first made.  
Type: Timestamp

 ** [Id](#API_CreateInvalidation_ResponseSyntax) **   <a name="cloudfront-CreateInvalidation-response-Id"></a>
The identifier for the invalidation request. For example: `IDFDVBD632BHDS5`.  
Type: String

 ** [InvalidationBatch](#API_CreateInvalidation_ResponseSyntax) **   <a name="cloudfront-CreateInvalidation-response-InvalidationBatch"></a>
The current invalidation information for the batch request.  
Type: [InvalidationBatch](API_InvalidationBatch.md) object

 ** [Status](#API_CreateInvalidation_ResponseSyntax) **   <a name="cloudfront-CreateInvalidation-response-Status"></a>
The status of the invalidation request. When the invalidation batch is finished, the status is `Completed`.  
Type: String

## Errors
<a name="API_CreateInvalidation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** BatchTooLarge **   
Invalidation batch specified is too large.  
HTTP Status Code: 413

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** TooManyInvalidationsInProgress **   
You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.  
HTTP Status Code: 400

## See Also
<a name="API_CreateInvalidation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateInvalidation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateInvalidation) 

# CreateInvalidationForDistributionTenant
<a name="API_CreateInvalidationForDistributionTenant"></a>

Creates an invalidation for a distribution tenant. For more information, see [Invalidating files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateInvalidationForDistributionTenant_RequestSyntax"></a>

```
POST /2020-05-31/distribution-tenant/Id/invalidation HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<InvalidationBatch xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Paths>
      <Items>
         <Path>string</Path>
      </Items>
      <Quantity>integer</Quantity>
   </Paths>
</InvalidationBatch>
```

## URI Request Parameters
<a name="API_CreateInvalidationForDistributionTenant_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateInvalidationForDistributionTenant_RequestBody"></a>

The request accepts the following data in XML format.

 ** [InvalidationBatch](#API_CreateInvalidationForDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-request-InvalidationBatch"></a>
Root level tag for the InvalidationBatch parameters.  
Required: Yes

 ** [CallerReference](#API_CreateInvalidationForDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-request-CallerReference"></a>
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.  
Type: String  
Required: Yes

 ** [Paths](#API_CreateInvalidationForDistributionTenant_RequestSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-request-Paths"></a>
A complex type that contains information about the objects that you want to invalidate. For more information, see [Specifying the Objects to Invalidate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) in the *Amazon CloudFront Developer Guide*.  
Type: [Paths](API_Paths.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateInvalidationForDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<Invalidation>
   <CreateTime>timestamp</CreateTime>
   <Id>string</Id>
   <InvalidationBatch>
      <CallerReference>string</CallerReference>
      <Paths>
         <Items>
            <Path>string</Path>
         </Items>
         <Quantity>integer</Quantity>
      </Paths>
   </InvalidationBatch>
   <Status>string</Status>
</Invalidation>
```

## Response Elements
<a name="API_CreateInvalidationForDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [Invalidation](#API_CreateInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-response-Invalidation"></a>
Root level tag for the Invalidation parameters.  
Required: Yes

 ** [CreateTime](#API_CreateInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-response-CreateTime"></a>
The date and time the invalidation request was first made.  
Type: Timestamp

 ** [Id](#API_CreateInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-response-Id"></a>
The identifier for the invalidation request. For example: `IDFDVBD632BHDS5`.  
Type: String

 ** [InvalidationBatch](#API_CreateInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-response-InvalidationBatch"></a>
The current invalidation information for the batch request.  
Type: [InvalidationBatch](API_InvalidationBatch.md) object

 ** [Status](#API_CreateInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-CreateInvalidationForDistributionTenant-response-Status"></a>
The status of the invalidation request. When the invalidation batch is finished, the status is `Completed`.  
Type: String

## Errors
<a name="API_CreateInvalidationForDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** BatchTooLarge **   
Invalidation batch specified is too large.  
HTTP Status Code: 413

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** TooManyInvalidationsInProgress **   
You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.  
HTTP Status Code: 400

## See Also
<a name="API_CreateInvalidationForDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateInvalidationForDistributionTenant) 

# CreateKeyGroup
<a name="API_CreateKeyGroup"></a>

Creates a key group that you can use with [CloudFront signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html).

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateKeyGroup_RequestSyntax"></a>

```
POST /2020-05-31/key-group HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroupConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <Items>
      <PublicKey>string</PublicKey>
   </Items>
   <Name>string</Name>
</KeyGroupConfig>
```

## URI Request Parameters
<a name="API_CreateKeyGroup_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateKeyGroup_RequestBody"></a>

The request accepts the following data in XML format.

 ** [KeyGroupConfig](#API_CreateKeyGroup_RequestSyntax) **   <a name="cloudfront-CreateKeyGroup-request-KeyGroupConfig"></a>
Root level tag for the KeyGroupConfig parameters.  
Required: Yes

 ** [Comment](#API_CreateKeyGroup_RequestSyntax) **   <a name="cloudfront-CreateKeyGroup-request-Comment"></a>
A comment to describe the key group. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [Items](#API_CreateKeyGroup_RequestSyntax) **   <a name="cloudfront-CreateKeyGroup-request-Items"></a>
A list of the identifiers of the public keys in the key group.  
Type: Array of strings  
Required: Yes

 ** [Name](#API_CreateKeyGroup_RequestSyntax) **   <a name="cloudfront-CreateKeyGroup-request-Name"></a>
A name to identify the key group.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_CreateKeyGroup_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroup>
   <Id>string</Id>
   <KeyGroupConfig>
      <Comment>string</Comment>
      <Items>
         <PublicKey>string</PublicKey>
      </Items>
      <Name>string</Name>
   </KeyGroupConfig>
   <LastModifiedTime>timestamp</LastModifiedTime>
</KeyGroup>
```

## Response Elements
<a name="API_CreateKeyGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [KeyGroup](#API_CreateKeyGroup_ResponseSyntax) **   <a name="cloudfront-CreateKeyGroup-response-KeyGroup"></a>
Root level tag for the KeyGroup parameters.  
Required: Yes

 ** [Id](#API_CreateKeyGroup_ResponseSyntax) **   <a name="cloudfront-CreateKeyGroup-response-Id"></a>
The identifier for the key group.  
Type: String

 ** [KeyGroupConfig](#API_CreateKeyGroup_ResponseSyntax) **   <a name="cloudfront-CreateKeyGroup-response-KeyGroupConfig"></a>
The key group configuration.  
Type: [KeyGroupConfig](API_KeyGroupConfig.md) object

 ** [LastModifiedTime](#API_CreateKeyGroup_ResponseSyntax) **   <a name="cloudfront-CreateKeyGroup-response-LastModifiedTime"></a>
The date and time when the key group was last modified.  
Type: Timestamp

## Errors
<a name="API_CreateKeyGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** KeyGroupAlreadyExists **   
A key group with this name already exists. You must provide a unique name. To modify an existing key group, use `UpdateKeyGroup`.  
HTTP Status Code: 409

 ** TooManyKeyGroups **   
You have reached the maximum number of key groups for this AWS account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyPublicKeysInKeyGroup **   
The number of public keys in this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_CreateKeyGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateKeyGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateKeyGroup) 

# CreateKeyValueStore
<a name="API_CreateKeyValueStore"></a>

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.

## Request Syntax
<a name="API_CreateKeyValueStore_RequestSyntax"></a>

```
POST /2020-05-31/key-value-store HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateKeyValueStoreRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <ImportSource>
      <SourceARN>string</SourceARN>
      <SourceType>string</SourceType>
   </ImportSource>
   <Name>string</Name>
</CreateKeyValueStoreRequest>
```

## URI Request Parameters
<a name="API_CreateKeyValueStore_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateKeyValueStore_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateKeyValueStoreRequest](#API_CreateKeyValueStore_RequestSyntax) **   <a name="cloudfront-CreateKeyValueStore-request-CreateKeyValueStoreRequest"></a>
Root level tag for the CreateKeyValueStoreRequest parameters.  
Required: Yes

 ** [Comment](#API_CreateKeyValueStore_RequestSyntax) **   <a name="cloudfront-CreateKeyValueStore-request-Comment"></a>
The comment of the key value store.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 128.  
Required: No

 ** [ImportSource](#API_CreateKeyValueStore_RequestSyntax) **   <a name="cloudfront-CreateKeyValueStore-request-ImportSource"></a>
The S3 bucket that provides the source for the import. The source must be in a valid JSON format.  
Type: [ImportSource](API_ImportSource.md) object  
Required: No

 ** [Name](#API_CreateKeyValueStore_RequestSyntax) **   <a name="cloudfront-CreateKeyValueStore-request-Name"></a>
The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Response Syntax
<a name="API_CreateKeyValueStore_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<KeyValueStore>
   <ARN>string</ARN>
   <Comment>string</Comment>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Status>string</Status>
</KeyValueStore>
```

## Response Elements
<a name="API_CreateKeyValueStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [KeyValueStore](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-KeyValueStore"></a>
Root level tag for the KeyValueStore parameters.  
Required: Yes

 ** [ARN](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-ARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Type: String

 ** [Comment](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-Comment"></a>
A comment for the key value store.  
Type: String

 ** [Id](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-Id"></a>
The unique Id for the key value store.  
Type: String

 ** [LastModifiedTime](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-LastModifiedTime"></a>
The last-modified time of the key value store.  
Type: Timestamp

 ** [Name](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-Name"></a>
The name of the key value store.  
Type: String

 ** [Status](#API_CreateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-CreateKeyValueStore-response-Status"></a>
The status of the key value store.  
Type: String

## Errors
<a name="API_CreateKeyValueStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntitySizeLimitExceeded **   
The entity size limit was exceeded.  
HTTP Status Code: 413

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_CreateKeyValueStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateKeyValueStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateKeyValueStore) 

# CreateMonitoringSubscription
<a name="API_CreateMonitoringSubscription"></a>

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

For more information, see [Viewing additional CloudFront distribution metrics](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateMonitoringSubscription_RequestSyntax"></a>

```
POST /2020-05-31/distributions/DistributionId/monitoring-subscription HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<MonitoringSubscription xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <RealtimeMetricsSubscriptionConfig>
      <RealtimeMetricsSubscriptionStatus>string</RealtimeMetricsSubscriptionStatus>
   </RealtimeMetricsSubscriptionConfig>
</MonitoringSubscription>
```

## URI Request Parameters
<a name="API_CreateMonitoringSubscription_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateMonitoringSubscription_RequestBody"></a>

The request accepts the following data in XML format.

 ** [MonitoringSubscription](#API_CreateMonitoringSubscription_RequestSyntax) **   <a name="cloudfront-CreateMonitoringSubscription-request-MonitoringSubscription"></a>
Root level tag for the MonitoringSubscription parameters.  
Required: Yes

 ** [RealtimeMetricsSubscriptionConfig](#API_CreateMonitoringSubscription_RequestSyntax) **   <a name="cloudfront-CreateMonitoringSubscription-request-RealtimeMetricsSubscriptionConfig"></a>
A subscription configuration for additional CloudWatch metrics.  
Type: [RealtimeMetricsSubscriptionConfig](API_RealtimeMetricsSubscriptionConfig.md) object  
Required: No

## Response Syntax
<a name="API_CreateMonitoringSubscription_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<MonitoringSubscription>
   <RealtimeMetricsSubscriptionConfig>
      <RealtimeMetricsSubscriptionStatus>string</RealtimeMetricsSubscriptionStatus>
   </RealtimeMetricsSubscriptionConfig>
</MonitoringSubscription>
```

## Response Elements
<a name="API_CreateMonitoringSubscription_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [MonitoringSubscription](#API_CreateMonitoringSubscription_ResponseSyntax) **   <a name="cloudfront-CreateMonitoringSubscription-response-MonitoringSubscription"></a>
Root level tag for the MonitoringSubscription parameters.  
Required: Yes

 ** [RealtimeMetricsSubscriptionConfig](#API_CreateMonitoringSubscription_ResponseSyntax) **   <a name="cloudfront-CreateMonitoringSubscription-response-RealtimeMetricsSubscriptionConfig"></a>
A subscription configuration for additional CloudWatch metrics.  
Type: [RealtimeMetricsSubscriptionConfig](API_RealtimeMetricsSubscriptionConfig.md) object

## Errors
<a name="API_CreateMonitoringSubscription_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** MonitoringSubscriptionAlreadyExists **   
A monitoring subscription already exists for the specified distribution.  
HTTP Status Code: 409

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_CreateMonitoringSubscription_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateMonitoringSubscription) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateMonitoringSubscription) 

# CreateOriginAccessControl
<a name="API_CreateOriginAccessControl"></a>

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 AWS origin](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateOriginAccessControl_RequestSyntax"></a>

```
POST /2020-05-31/origin-access-control HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControlConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Description>string</Description>
   <Name>string</Name>
   <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
   <SigningBehavior>string</SigningBehavior>
   <SigningProtocol>string</SigningProtocol>
</OriginAccessControlConfig>
```

## URI Request Parameters
<a name="API_CreateOriginAccessControl_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateOriginAccessControl_RequestBody"></a>

The request accepts the following data in XML format.

 ** [OriginAccessControlConfig](#API_CreateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-CreateOriginAccessControl-request-OriginAccessControlConfig"></a>
Root level tag for the OriginAccessControlConfig parameters.  
Required: Yes

 ** [Description](#API_CreateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-CreateOriginAccessControl-request-Description"></a>
A description of the origin access control.  
Type: String  
Required: No

 ** [Name](#API_CreateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-CreateOriginAccessControl-request-Name"></a>
A name to identify the origin access control. You can specify up to 64 characters.  
Type: String  
Required: Yes

 ** [OriginAccessControlOriginType](#API_CreateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-CreateOriginAccessControl-request-OriginAccessControlOriginType"></a>
The type of origin that this origin access control is for.  
Type: String  
Valid Values: `s3 | mediastore | mediapackagev2 | lambda`   
Required: Yes

 ** [SigningBehavior](#API_CreateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-CreateOriginAccessControl-request-SigningBehavior"></a>
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) in the *Amazon CloudFront Developer Guide*.  
This field can have one of the following values:  
+  `always` – CloudFront signs all origin requests, overwriting the `Authorization` header from the viewer request if one exists.
+  `never` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
+  `no-override` – If the viewer request doesn't contain the `Authorization` header, then CloudFront signs the origin request. If the viewer request contains the `Authorization` header, then CloudFront doesn't sign the origin request and instead passes along the `Authorization` header from the viewer request. **WARNING: To pass along the `Authorization` header from the viewer request, you *must* add the `Authorization` header to a [cache policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) for all cache behaviors that use origins associated with this origin access control.** 
Type: String  
Valid Values: `never | always | no-override`   
Required: Yes

 ** [SigningProtocol](#API_CreateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-CreateOriginAccessControl-request-SigningProtocol"></a>
The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is `sigv4`.  
Type: String  
Valid Values: `sigv4`   
Required: Yes

## Response Syntax
<a name="API_CreateOriginAccessControl_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControl>
   <Id>string</Id>
   <OriginAccessControlConfig>
      <Description>string</Description>
      <Name>string</Name>
      <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
      <SigningBehavior>string</SigningBehavior>
      <SigningProtocol>string</SigningProtocol>
   </OriginAccessControlConfig>
</OriginAccessControl>
```

## Response Elements
<a name="API_CreateOriginAccessControl_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [OriginAccessControl](#API_CreateOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-CreateOriginAccessControl-response-OriginAccessControl"></a>
Root level tag for the OriginAccessControl parameters.  
Required: Yes

 ** [Id](#API_CreateOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-CreateOriginAccessControl-response-Id"></a>
The unique identifier of the origin access control.  
Type: String

 ** [OriginAccessControlConfig](#API_CreateOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-CreateOriginAccessControl-response-OriginAccessControlConfig"></a>
The origin access control.  
Type: [OriginAccessControlConfig](API_OriginAccessControlConfig.md) object

## Errors
<a name="API_CreateOriginAccessControl_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** OriginAccessControlAlreadyExists **   
An origin access control with the specified parameters already exists.  
HTTP Status Code: 409

 ** TooManyOriginAccessControls **   
The number of origin access controls in your AWS account exceeds the maximum allowed.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_CreateOriginAccessControl_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateOriginAccessControl) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateOriginAccessControl) 

# CreateOriginRequestPolicy
<a name="API_CreateOriginRequestPolicy"></a>

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:
+ The request body and the URL path (without the domain name) from the viewer request.
+ The headers that CloudFront automatically includes in every origin request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`.
+ All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateOriginRequestPolicy_RequestSyntax"></a>

```
POST /2020-05-31/origin-request-policy HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <CookiesConfig>
      <CookieBehavior>string</CookieBehavior>
      <Cookies>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </Cookies>
   </CookiesConfig>
   <HeadersConfig>
      <HeaderBehavior>string</HeaderBehavior>
      <Headers>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </Headers>
   </HeadersConfig>
   <Name>string</Name>
   <QueryStringsConfig>
      <QueryStringBehavior>string</QueryStringBehavior>
      <QueryStrings>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </QueryStrings>
   </QueryStringsConfig>
</OriginRequestPolicyConfig>
```

## URI Request Parameters
<a name="API_CreateOriginRequestPolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateOriginRequestPolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [OriginRequestPolicyConfig](#API_CreateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-request-OriginRequestPolicyConfig"></a>
Root level tag for the OriginRequestPolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_CreateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-request-Comment"></a>
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [CookiesConfig](#API_CreateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-request-CookiesConfig"></a>
The cookies from viewer requests to include in origin requests.  
Type: [OriginRequestPolicyCookiesConfig](API_OriginRequestPolicyCookiesConfig.md) object  
Required: Yes

 ** [HeadersConfig](#API_CreateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-request-HeadersConfig"></a>
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.  
Type: [OriginRequestPolicyHeadersConfig](API_OriginRequestPolicyHeadersConfig.md) object  
Required: Yes

 ** [Name](#API_CreateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-request-Name"></a>
A unique name to identify the origin request policy.  
Type: String  
Required: Yes

 ** [QueryStringsConfig](#API_CreateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-request-QueryStringsConfig"></a>
The URL query strings from viewer requests to include in origin requests.  
Type: [OriginRequestPolicyQueryStringsConfig](API_OriginRequestPolicyQueryStringsConfig.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateOriginRequestPolicy_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicy>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <OriginRequestPolicyConfig>
      <Comment>string</Comment>
      <CookiesConfig>
         <CookieBehavior>string</CookieBehavior>
         <Cookies>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Cookies>
      </CookiesConfig>
      <HeadersConfig>
         <HeaderBehavior>string</HeaderBehavior>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
      </HeadersConfig>
      <Name>string</Name>
      <QueryStringsConfig>
         <QueryStringBehavior>string</QueryStringBehavior>
         <QueryStrings>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStrings>
      </QueryStringsConfig>
   </OriginRequestPolicyConfig>
</OriginRequestPolicy>
```

## Response Elements
<a name="API_CreateOriginRequestPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [OriginRequestPolicy](#API_CreateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-response-OriginRequestPolicy"></a>
Root level tag for the OriginRequestPolicy parameters.  
Required: Yes

 ** [Id](#API_CreateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-response-Id"></a>
The unique identifier for the origin request policy.  
Type: String

 ** [LastModifiedTime](#API_CreateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-response-LastModifiedTime"></a>
The date and time when the origin request policy was last modified.  
Type: Timestamp

 ** [OriginRequestPolicyConfig](#API_CreateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-CreateOriginRequestPolicy-response-OriginRequestPolicyConfig"></a>
The origin request policy configuration.  
Type: [OriginRequestPolicyConfig](API_OriginRequestPolicyConfig.md) object

## Errors
<a name="API_CreateOriginRequestPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** OriginRequestPolicyAlreadyExists **   
An origin request policy with this name already exists. You must provide a unique name. To modify an existing origin request policy, use `UpdateOriginRequestPolicy`.  
HTTP Status Code: 409

 ** TooManyCookiesInOriginRequestPolicy **   
The number of cookies in the origin request policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInOriginRequestPolicy **   
The number of headers in the origin request policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyOriginRequestPolicies **   
You have reached the maximum number of origin request policies for this AWS account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyQueryStringsInOriginRequestPolicy **   
The number of query strings in the origin request policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_CreateOriginRequestPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateOriginRequestPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateOriginRequestPolicy) 

# CreatePublicKey
<a name="API_CreatePublicKey"></a>

Uploads a public key to CloudFront that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).

## Request Syntax
<a name="API_CreatePublicKey_RequestSyntax"></a>

```
POST /2020-05-31/public-key HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <EncodedKey>string</EncodedKey>
   <Name>string</Name>
</PublicKeyConfig>
```

## URI Request Parameters
<a name="API_CreatePublicKey_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreatePublicKey_RequestBody"></a>

The request accepts the following data in XML format.

 ** [PublicKeyConfig](#API_CreatePublicKey_RequestSyntax) **   <a name="cloudfront-CreatePublicKey-request-PublicKeyConfig"></a>
Root level tag for the PublicKeyConfig parameters.  
Required: Yes

 ** [CallerReference](#API_CreatePublicKey_RequestSyntax) **   <a name="cloudfront-CreatePublicKey-request-CallerReference"></a>
A string included in the request to help make sure that the request can't be replayed.  
Type: String  
Required: Yes

 ** [Comment](#API_CreatePublicKey_RequestSyntax) **   <a name="cloudfront-CreatePublicKey-request-Comment"></a>
A comment to describe the public key. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [EncodedKey](#API_CreatePublicKey_RequestSyntax) **   <a name="cloudfront-CreatePublicKey-request-EncodedKey"></a>
The public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).  
Type: String  
Required: Yes

 ** [Name](#API_CreatePublicKey_RequestSyntax) **   <a name="cloudfront-CreatePublicKey-request-Name"></a>
A name to help identify the public key.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_CreatePublicKey_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<PublicKey>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <PublicKeyConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <EncodedKey>string</EncodedKey>
      <Name>string</Name>
   </PublicKeyConfig>
</PublicKey>
```

## Response Elements
<a name="API_CreatePublicKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [PublicKey](#API_CreatePublicKey_ResponseSyntax) **   <a name="cloudfront-CreatePublicKey-response-PublicKey"></a>
Root level tag for the PublicKey parameters.  
Required: Yes

 ** [CreatedTime](#API_CreatePublicKey_ResponseSyntax) **   <a name="cloudfront-CreatePublicKey-response-CreatedTime"></a>
The date and time when the public key was uploaded.  
Type: Timestamp

 ** [Id](#API_CreatePublicKey_ResponseSyntax) **   <a name="cloudfront-CreatePublicKey-response-Id"></a>
The identifier of the public key.  
Type: String

 ** [PublicKeyConfig](#API_CreatePublicKey_ResponseSyntax) **   <a name="cloudfront-CreatePublicKey-response-PublicKeyConfig"></a>
Configuration information about a public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).  
Type: [PublicKeyConfig](API_PublicKeyConfig.md) object

## Errors
<a name="API_CreatePublicKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** PublicKeyAlreadyExists **   
The specified public key already exists.  
HTTP Status Code: 409

 ** TooManyPublicKeys **   
The maximum number of public keys for field-level encryption have been created. To create a new public key, delete one of the existing keys.  
HTTP Status Code: 400

## See Also
<a name="API_CreatePublicKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreatePublicKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreatePublicKey) 

# CreateRealtimeLogConfig
<a name="API_CreateRealtimeLogConfig"></a>

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateRealtimeLogConfig_RequestSyntax"></a>

```
POST /2020-05-31/realtime-log-config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateRealtimeLogConfigRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <EndPoints>
      <EndPoint>
         <KinesisStreamConfig>
            <RoleARN>string</RoleARN>
            <StreamARN>string</StreamARN>
         </KinesisStreamConfig>
         <StreamType>string</StreamType>
      </EndPoint>
   </EndPoints>
   <Fields>
      <Field>string</Field>
   </Fields>
   <Name>string</Name>
   <SamplingRate>long</SamplingRate>
</CreateRealtimeLogConfigRequest>
```

## URI Request Parameters
<a name="API_CreateRealtimeLogConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateRealtimeLogConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateRealtimeLogConfigRequest](#API_CreateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-request-CreateRealtimeLogConfigRequest"></a>
Root level tag for the CreateRealtimeLogConfigRequest parameters.  
Required: Yes

 ** [EndPoints](#API_CreateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-request-EndPoints"></a>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.  
Type: Array of [EndPoint](API_EndPoint.md) objects  
Required: Yes

 ** [Fields](#API_CreateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-request-Fields"></a>
A list of fields to include in each real-time log record.  
For more information about fields, see [Real-time log configuration fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide*.  
Type: Array of strings  
Required: Yes

 ** [Name](#API_CreateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-request-Name"></a>
A unique name to identify this real-time log configuration.  
Type: String  
Required: Yes

 ** [SamplingRate](#API_CreateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-request-SamplingRate"></a>
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.  
Type: Long  
Required: Yes

## Response Syntax
<a name="API_CreateRealtimeLogConfig_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<CreateRealtimeLogConfigResult>
   <RealtimeLogConfig>
      <ARN>string</ARN>
      <EndPoints>
         <EndPoint>
            <KinesisStreamConfig>
               <RoleARN>string</RoleARN>
               <StreamARN>string</StreamARN>
            </KinesisStreamConfig>
            <StreamType>string</StreamType>
         </EndPoint>
      </EndPoints>
      <Fields>
         <Field>string</Field>
      </Fields>
      <Name>string</Name>
      <SamplingRate>long</SamplingRate>
   </RealtimeLogConfig>
</CreateRealtimeLogConfigResult>
```

## Response Elements
<a name="API_CreateRealtimeLogConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [CreateRealtimeLogConfigResult](#API_CreateRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-response-CreateRealtimeLogConfigResult"></a>
Root level tag for the CreateRealtimeLogConfigResult parameters.  
Required: Yes

 ** [RealtimeLogConfig](#API_CreateRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-CreateRealtimeLogConfig-response-RealtimeLogConfig"></a>
A real-time log configuration.  
Type: [RealtimeLogConfig](API_RealtimeLogConfig.md) object

## Errors
<a name="API_CreateRealtimeLogConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** RealtimeLogConfigAlreadyExists **   
A real-time log configuration with this name already exists. You must provide a unique name. To modify an existing real-time log configuration, use `UpdateRealtimeLogConfig`.  
HTTP Status Code: 409

 ** TooManyRealtimeLogConfigs **   
You have reached the maximum number of real-time log configurations for this AWS account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_CreateRealtimeLogConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateRealtimeLogConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateRealtimeLogConfig) 

# CreateResponseHeadersPolicy
<a name="API_CreateResponseHeadersPolicy"></a>

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_CreateResponseHeadersPolicy_RequestSyntax"></a>

```
POST /2020-05-31/response-headers-policy HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <CorsConfig>
      <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
      <AccessControlAllowHeaders>
         <Items>
            <Header>string</Header>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowHeaders>
      <AccessControlAllowMethods>
         <Items>
            <Method>string</Method>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowMethods>
      <AccessControlAllowOrigins>
         <Items>
            <Origin>string</Origin>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowOrigins>
      <AccessControlExposeHeaders>
         <Items>
            <Header>string</Header>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlExposeHeaders>
      <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
      <OriginOverride>boolean</OriginOverride>
   </CorsConfig>
   <CustomHeadersConfig>
      <Items>
         <ResponseHeadersPolicyCustomHeader>
            <Header>string</Header>
            <Override>boolean</Override>
            <Value>string</Value>
         </ResponseHeadersPolicyCustomHeader>
      </Items>
      <Quantity>integer</Quantity>
   </CustomHeadersConfig>
   <Name>string</Name>
   <RemoveHeadersConfig>
      <Items>
         <ResponseHeadersPolicyRemoveHeader>
            <Header>string</Header>
         </ResponseHeadersPolicyRemoveHeader>
      </Items>
      <Quantity>integer</Quantity>
   </RemoveHeadersConfig>
   <SecurityHeadersConfig>
      <ContentSecurityPolicy>
         <ContentSecurityPolicy>string</ContentSecurityPolicy>
         <Override>boolean</Override>
      </ContentSecurityPolicy>
      <ContentTypeOptions>
         <Override>boolean</Override>
      </ContentTypeOptions>
      <FrameOptions>
         <FrameOption>string</FrameOption>
         <Override>boolean</Override>
      </FrameOptions>
      <ReferrerPolicy>
         <Override>boolean</Override>
         <ReferrerPolicy>string</ReferrerPolicy>
      </ReferrerPolicy>
      <StrictTransportSecurity>
         <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
         <IncludeSubdomains>boolean</IncludeSubdomains>
         <Override>boolean</Override>
         <Preload>boolean</Preload>
      </StrictTransportSecurity>
      <XSSProtection>
         <ModeBlock>boolean</ModeBlock>
         <Override>boolean</Override>
         <Protection>boolean</Protection>
         <ReportUri>string</ReportUri>
      </XSSProtection>
   </SecurityHeadersConfig>
   <ServerTimingHeadersConfig>
      <Enabled>boolean</Enabled>
      <SamplingRate>double</SamplingRate>
   </ServerTimingHeadersConfig>
</ResponseHeadersPolicyConfig>
```

## URI Request Parameters
<a name="API_CreateResponseHeadersPolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateResponseHeadersPolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ResponseHeadersPolicyConfig](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-ResponseHeadersPolicyConfig"></a>
Root level tag for the ResponseHeadersPolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-Comment"></a>
A comment to describe the response headers policy.  
The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [CorsConfig](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-CorsConfig"></a>
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).  
Type: [ResponseHeadersPolicyCorsConfig](API_ResponseHeadersPolicyCorsConfig.md) object  
Required: No

 ** [CustomHeadersConfig](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-CustomHeadersConfig"></a>
A configuration for a set of custom HTTP response headers.  
Type: [ResponseHeadersPolicyCustomHeadersConfig](API_ResponseHeadersPolicyCustomHeadersConfig.md) object  
Required: No

 ** [Name](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-Name"></a>
A name to identify the response headers policy.  
The name must be unique for response headers policies in this AWS account.  
Type: String  
Required: Yes

 ** [RemoveHeadersConfig](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-RemoveHeadersConfig"></a>
A configuration for a set of HTTP headers to remove from the HTTP response.  
Type: [ResponseHeadersPolicyRemoveHeadersConfig](API_ResponseHeadersPolicyRemoveHeadersConfig.md) object  
Required: No

 ** [SecurityHeadersConfig](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-SecurityHeadersConfig"></a>
A configuration for a set of security-related HTTP response headers.  
Type: [ResponseHeadersPolicySecurityHeadersConfig](API_ResponseHeadersPolicySecurityHeadersConfig.md) object  
Required: No

 ** [ServerTimingHeadersConfig](#API_CreateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-request-ServerTimingHeadersConfig"></a>
A configuration for enabling the `Server-Timing` header in HTTP responses sent from CloudFront.  
Type: [ResponseHeadersPolicyServerTimingHeadersConfig](API_ResponseHeadersPolicyServerTimingHeadersConfig.md) object  
Required: No

## Response Syntax
<a name="API_CreateResponseHeadersPolicy_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicy>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <ResponseHeadersPolicyConfig>
      <Comment>string</Comment>
      <CorsConfig>
         <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
         <AccessControlAllowHeaders>
            <Items>
               <Header>string</Header>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowHeaders>
         <AccessControlAllowMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowMethods>
         <AccessControlAllowOrigins>
            <Items>
               <Origin>string</Origin>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowOrigins>
         <AccessControlExposeHeaders>
            <Items>
               <Header>string</Header>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlExposeHeaders>
         <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
         <OriginOverride>boolean</OriginOverride>
      </CorsConfig>
      <CustomHeadersConfig>
         <Items>
            <ResponseHeadersPolicyCustomHeader>
               <Header>string</Header>
               <Override>boolean</Override>
               <Value>string</Value>
            </ResponseHeadersPolicyCustomHeader>
         </Items>
         <Quantity>integer</Quantity>
      </CustomHeadersConfig>
      <Name>string</Name>
      <RemoveHeadersConfig>
         <Items>
            <ResponseHeadersPolicyRemoveHeader>
               <Header>string</Header>
            </ResponseHeadersPolicyRemoveHeader>
         </Items>
         <Quantity>integer</Quantity>
      </RemoveHeadersConfig>
      <SecurityHeadersConfig>
         <ContentSecurityPolicy>
            <ContentSecurityPolicy>string</ContentSecurityPolicy>
            <Override>boolean</Override>
         </ContentSecurityPolicy>
         <ContentTypeOptions>
            <Override>boolean</Override>
         </ContentTypeOptions>
         <FrameOptions>
            <FrameOption>string</FrameOption>
            <Override>boolean</Override>
         </FrameOptions>
         <ReferrerPolicy>
            <Override>boolean</Override>
            <ReferrerPolicy>string</ReferrerPolicy>
         </ReferrerPolicy>
         <StrictTransportSecurity>
            <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
            <IncludeSubdomains>boolean</IncludeSubdomains>
            <Override>boolean</Override>
            <Preload>boolean</Preload>
         </StrictTransportSecurity>
         <XSSProtection>
            <ModeBlock>boolean</ModeBlock>
            <Override>boolean</Override>
            <Protection>boolean</Protection>
            <ReportUri>string</ReportUri>
         </XSSProtection>
      </SecurityHeadersConfig>
      <ServerTimingHeadersConfig>
         <Enabled>boolean</Enabled>
         <SamplingRate>double</SamplingRate>
      </ServerTimingHeadersConfig>
   </ResponseHeadersPolicyConfig>
</ResponseHeadersPolicy>
```

## Response Elements
<a name="API_CreateResponseHeadersPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [ResponseHeadersPolicy](#API_CreateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-response-ResponseHeadersPolicy"></a>
Root level tag for the ResponseHeadersPolicy parameters.  
Required: Yes

 ** [Id](#API_CreateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-response-Id"></a>
The identifier for the response headers policy.  
Type: String

 ** [LastModifiedTime](#API_CreateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-response-LastModifiedTime"></a>
The date and time when the response headers policy was last modified.  
Type: Timestamp

 ** [ResponseHeadersPolicyConfig](#API_CreateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-CreateResponseHeadersPolicy-response-ResponseHeadersPolicyConfig"></a>
A response headers policy configuration.  
Type: [ResponseHeadersPolicyConfig](API_ResponseHeadersPolicyConfig.md) object

## Errors
<a name="API_CreateResponseHeadersPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** ResponseHeadersPolicyAlreadyExists **   
A response headers policy with this name already exists. You must provide a unique name. To modify an existing response headers policy, use `UpdateResponseHeadersPolicy`.  
HTTP Status Code: 409

 ** TooLongCSPInResponseHeadersPolicy **   
The length of the `Content-Security-Policy` header value in the response headers policy exceeds the maximum.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyCustomHeadersInResponseHeadersPolicy **   
The number of custom headers in the response headers policy exceeds the maximum.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyRemoveHeadersInResponseHeadersPolicy **   
The number of headers in `RemoveHeadersConfig` in the response headers policy exceeds the maximum.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyResponseHeadersPolicies **   
You have reached the maximum number of response headers policies for this AWS account.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_CreateResponseHeadersPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateResponseHeadersPolicy) 

# CreateStreamingDistribution
<a name="API_CreateStreamingDistribution"></a>

This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, [read the announcement](http://forums.aws.amazon.com/ann.jspa?annID=7356) on the Amazon CloudFront discussion forum.

## Request Syntax
<a name="API_CreateStreamingDistribution_RequestSyntax"></a>

```
POST /2020-05-31/streaming-distribution HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Aliases>
      <Items>
         <CNAME>string</CNAME>
      </Items>
      <Quantity>integer</Quantity>
   </Aliases>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <Enabled>boolean</Enabled>
   <Logging>
      <Bucket>string</Bucket>
      <Enabled>boolean</Enabled>
      <Prefix>string</Prefix>
   </Logging>
   <PriceClass>string</PriceClass>
   <S3Origin>
      <DomainName>string</DomainName>
      <OriginAccessIdentity>string</OriginAccessIdentity>
   </S3Origin>
   <TrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <AwsAccountNumber>string</AwsAccountNumber>
      </Items>
      <Quantity>integer</Quantity>
   </TrustedSigners>
</StreamingDistributionConfig>
```

## URI Request Parameters
<a name="API_CreateStreamingDistribution_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateStreamingDistribution_RequestBody"></a>

The request accepts the following data in XML format.

 ** [StreamingDistributionConfig](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-StreamingDistributionConfig"></a>
Root level tag for the StreamingDistributionConfig parameters.  
Required: Yes

 ** [Aliases](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-Aliases"></a>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.  
Type: [Aliases](API_Aliases.md) object  
Required: No

 ** [CallerReference](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-CallerReference"></a>
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.  
Type: String  
Required: Yes

 ** [Comment](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-Comment"></a>
Any comments you want to include about the streaming distribution.  
Type: String  
Required: Yes

 ** [Enabled](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-Enabled"></a>
Whether the streaming distribution is enabled to accept user requests for content.  
Type: Boolean  
Required: Yes

 ** [Logging](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-Logging"></a>
A complex type that controls whether access logs are written for the streaming distribution.  
Type: [StreamingLoggingConfig](API_StreamingLoggingConfig.md) object  
Required: No

 ** [PriceClass](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-PriceClass"></a>
A complex type that contains information about price class for this streaming distribution.  
Type: String  
Valid Values: `PriceClass_100 | PriceClass_200 | PriceClass_All | None`   
Required: No

 ** [S3Origin](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-S3Origin"></a>
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.  
Type: [S3Origin](API_S3Origin.md) object  
Required: Yes

 ** [TrustedSigners](#API_CreateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistribution-request-TrustedSigners"></a>
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [TrustedSigners](API_TrustedSigners.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateStreamingDistribution_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistribution>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <ARN>string</ARN>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <StreamingDistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <Enabled>boolean</Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <Prefix>string</Prefix>
      </Logging>
      <PriceClass>string</PriceClass>
      <S3Origin>
         <DomainName>string</DomainName>
         <OriginAccessIdentity>string</OriginAccessIdentity>
      </S3Origin>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
   </StreamingDistributionConfig>
</StreamingDistribution>
```

## Response Elements
<a name="API_CreateStreamingDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [StreamingDistribution](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-StreamingDistribution"></a>
Root level tag for the StreamingDistribution parameters.  
Required: Yes

 ** [ActiveTrustedSigners](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-ActiveTrustedSigners"></a>
A complex type that lists the AWS accounts, if any, that you included in the `TrustedSigners` complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.  
The `Signer` complex type lists the AWS account number of the trusted signer or `self` if the signer is the AWS account that created the distribution. The `Signer` element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no `KeyPairId` element appears for a `Signer`, that signer can't create signed URLs.  
For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [ARN](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-ARN"></a>
The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.  
Type: String

 ** [DomainName](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-DomainName"></a>
The domain name that corresponds to the streaming distribution, for example, `s5c39gqb8ow64r.cloudfront.net`.  
Type: String

 ** [Id](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-Id"></a>
The identifier for the RTMP distribution. For example: `EGTXBD79EXAMPLE`.  
Type: String

 ** [LastModifiedTime](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-LastModifiedTime"></a>
The date and time that the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-Status"></a>
The current status of the RTMP distribution. When the status is `Deployed`, the distribution's information is propagated to all CloudFront edge locations.  
Type: String

 ** [StreamingDistributionConfig](#API_CreateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistribution-response-StreamingDistributionConfig"></a>
The current configuration information for the RTMP distribution.  
Type: [StreamingDistributionConfig](API_StreamingDistributionConfig.md) object

## Errors
<a name="API_CreateStreamingDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidOrigin **   
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** StreamingDistributionAlreadyExists **   
The caller reference you attempted to create the streaming distribution with is associated with another distribution  
HTTP Status Code: 409

 ** TooManyStreamingDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyStreamingDistributions **   
Processing your request would cause you to exceed the maximum number of streaming distributions allowed.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_CreateStreamingDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateStreamingDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateStreamingDistribution) 

# CreateStreamingDistributionWithTags
<a name="API_CreateStreamingDistributionWithTags"></a>

This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, [read the announcement](http://forums.aws.amazon.com/ann.jspa?annID=7356) on the Amazon CloudFront discussion forum.

## Request Syntax
<a name="API_CreateStreamingDistributionWithTags_RequestSyntax"></a>

```
POST /2020-05-31/streaming-distribution?WithTags HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionConfigWithTags xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <StreamingDistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <Enabled>boolean</Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <Prefix>string</Prefix>
      </Logging>
      <PriceClass>string</PriceClass>
      <S3Origin>
         <DomainName>string</DomainName>
         <OriginAccessIdentity>string</OriginAccessIdentity>
      </S3Origin>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
   </StreamingDistributionConfig>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</StreamingDistributionConfigWithTags>
```

## URI Request Parameters
<a name="API_CreateStreamingDistributionWithTags_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateStreamingDistributionWithTags_RequestBody"></a>

The request accepts the following data in XML format.

 ** [StreamingDistributionConfigWithTags](#API_CreateStreamingDistributionWithTags_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-request-StreamingDistributionConfigWithTags"></a>
Root level tag for the StreamingDistributionConfigWithTags parameters.  
Required: Yes

 ** [StreamingDistributionConfig](#API_CreateStreamingDistributionWithTags_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-request-StreamingDistributionConfig"></a>
A streaming distribution Configuration.  
Type: [StreamingDistributionConfig](API_StreamingDistributionConfig.md) object  
Required: Yes

 ** [Tags](#API_CreateStreamingDistributionWithTags_RequestSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateStreamingDistributionWithTags_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistribution>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <ARN>string</ARN>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <StreamingDistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <Enabled>boolean</Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <Prefix>string</Prefix>
      </Logging>
      <PriceClass>string</PriceClass>
      <S3Origin>
         <DomainName>string</DomainName>
         <OriginAccessIdentity>string</OriginAccessIdentity>
      </S3Origin>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
   </StreamingDistributionConfig>
</StreamingDistribution>
```

## Response Elements
<a name="API_CreateStreamingDistributionWithTags_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [StreamingDistribution](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-StreamingDistribution"></a>
Root level tag for the StreamingDistribution parameters.  
Required: Yes

 ** [ActiveTrustedSigners](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-ActiveTrustedSigners"></a>
A complex type that lists the AWS accounts, if any, that you included in the `TrustedSigners` complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.  
The `Signer` complex type lists the AWS account number of the trusted signer or `self` if the signer is the AWS account that created the distribution. The `Signer` element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no `KeyPairId` element appears for a `Signer`, that signer can't create signed URLs.  
For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [ARN](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-ARN"></a>
The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.  
Type: String

 ** [DomainName](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-DomainName"></a>
The domain name that corresponds to the streaming distribution, for example, `s5c39gqb8ow64r.cloudfront.net`.  
Type: String

 ** [Id](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-Id"></a>
The identifier for the RTMP distribution. For example: `EGTXBD79EXAMPLE`.  
Type: String

 ** [LastModifiedTime](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-LastModifiedTime"></a>
The date and time that the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-Status"></a>
The current status of the RTMP distribution. When the status is `Deployed`, the distribution's information is propagated to all CloudFront edge locations.  
Type: String

 ** [StreamingDistributionConfig](#API_CreateStreamingDistributionWithTags_ResponseSyntax) **   <a name="cloudfront-CreateStreamingDistributionWithTags-response-StreamingDistributionConfig"></a>
The current configuration information for the RTMP distribution.  
Type: [StreamingDistributionConfig](API_StreamingDistributionConfig.md) object

## Errors
<a name="API_CreateStreamingDistributionWithTags_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidOrigin **   
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** StreamingDistributionAlreadyExists **   
The caller reference you attempted to create the streaming distribution with is associated with another distribution  
HTTP Status Code: 409

 ** TooManyStreamingDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyStreamingDistributions **   
Processing your request would cause you to exceed the maximum number of streaming distributions allowed.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_CreateStreamingDistributionWithTags_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateStreamingDistributionWithTags) 

# CreateTrustStore
<a name="API_CreateTrustStore"></a>

Creates a trust store.

## Request Syntax
<a name="API_CreateTrustStore_RequestSyntax"></a>

```
POST /2020-05-31/trust-store HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateTrustStoreRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CaCertificatesBundleSource>
      <CaCertificatesBundleS3Location>
         <Bucket>string</Bucket>
         <Key>string</Key>
         <Region>string</Region>
         <Version>string</Version>
      </CaCertificatesBundleS3Location>
   </CaCertificatesBundleSource>
   <Name>string</Name>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</CreateTrustStoreRequest>
```

## URI Request Parameters
<a name="API_CreateTrustStore_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateTrustStore_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateTrustStoreRequest](#API_CreateTrustStore_RequestSyntax) **   <a name="cloudfront-CreateTrustStore-request-CreateTrustStoreRequest"></a>
Root level tag for the CreateTrustStoreRequest parameters.  
Required: Yes

 ** [CaCertificatesBundleSource](#API_CreateTrustStore_RequestSyntax) **   <a name="cloudfront-CreateTrustStore-request-CaCertificatesBundleSource"></a>
The CA certificates bundle source for the trust store.  
Type: [CaCertificatesBundleSource](API_CaCertificatesBundleSource.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: Yes

 ** [Name](#API_CreateTrustStore_RequestSyntax) **   <a name="cloudfront-CreateTrustStore-request-Name"></a>
A name for the trust store.  
Type: String  
Required: Yes

 ** [Tags](#API_CreateTrustStore_RequestSyntax) **   <a name="cloudfront-CreateTrustStore-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: No

## Response Syntax
<a name="API_CreateTrustStore_ResponseSyntax"></a>

```
HTTP/1.1 201
<?xml version="1.0" encoding="UTF-8"?>
<TrustStore>
   <Arn>string</Arn>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <NumberOfCaCertificates>integer</NumberOfCaCertificates>
   <Reason>string</Reason>
   <Status>string</Status>
</TrustStore>
```

## Response Elements
<a name="API_CreateTrustStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in XML format by the service.

 ** [TrustStore](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-TrustStore"></a>
Root level tag for the TrustStore parameters.  
Required: Yes

 ** [Arn](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-Arn"></a>
The trust store's Amazon Resource Name (ARN).  
Type: String

 ** [Id](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-Id"></a>
The trust store's ID.  
Type: String

 ** [LastModifiedTime](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-LastModifiedTime"></a>
The trust store's last modified time.  
Type: Timestamp

 ** [Name](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-Name"></a>
The trust store's name.  
Type: String

 ** [NumberOfCaCertificates](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-NumberOfCaCertificates"></a>
The trust store's number of CA certificates.  
Type: Integer

 ** [Reason](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-Reason"></a>
The trust store's reason.  
Type: String

 ** [Status](#API_CreateTrustStore_ResponseSyntax) **   <a name="cloudfront-CreateTrustStore-response-Status"></a>
The trust store's status.  
Type: String  
Valid Values: `pending | active | failed` 

## Errors
<a name="API_CreateTrustStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

## See Also
<a name="API_CreateTrustStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateTrustStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateTrustStore) 

# CreateVpcOrigin
<a name="API_CreateVpcOrigin"></a>

Create an Amazon CloudFront VPC origin.

## Request Syntax
<a name="API_CreateVpcOrigin_RequestSyntax"></a>

```
POST /2020-05-31/vpc-origin HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CreateVpcOriginRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
   <VpcOriginEndpointConfig>
      <Arn>string</Arn>
      <HTTPPort>integer</HTTPPort>
      <HTTPSPort>integer</HTTPSPort>
      <Name>string</Name>
      <OriginProtocolPolicy>string</OriginProtocolPolicy>
      <OriginSslProtocols>
         <Items>
            <SslProtocol>string</SslProtocol>
         </Items>
         <Quantity>integer</Quantity>
      </OriginSslProtocols>
   </VpcOriginEndpointConfig>
</CreateVpcOriginRequest>
```

## URI Request Parameters
<a name="API_CreateVpcOrigin_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateVpcOrigin_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CreateVpcOriginRequest](#API_CreateVpcOrigin_RequestSyntax) **   <a name="cloudfront-CreateVpcOrigin-request-CreateVpcOriginRequest"></a>
Root level tag for the CreateVpcOriginRequest parameters.  
Required: Yes

 ** [Tags](#API_CreateVpcOrigin_RequestSyntax) **   <a name="cloudfront-CreateVpcOrigin-request-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object  
Required: No

 ** [VpcOriginEndpointConfig](#API_CreateVpcOrigin_RequestSyntax) **   <a name="cloudfront-CreateVpcOrigin-request-VpcOriginEndpointConfig"></a>
The VPC origin endpoint configuration.  
Type: [VpcOriginEndpointConfig](API_VpcOriginEndpointConfig.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateVpcOrigin_ResponseSyntax"></a>

```
HTTP/1.1 202
<?xml version="1.0" encoding="UTF-8"?>
<VpcOrigin>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <VpcOriginEndpointConfig>
      <Arn>string</Arn>
      <HTTPPort>integer</HTTPPort>
      <HTTPSPort>integer</HTTPSPort>
      <Name>string</Name>
      <OriginProtocolPolicy>string</OriginProtocolPolicy>
      <OriginSslProtocols>
         <Items>
            <SslProtocol>string</SslProtocol>
         </Items>
         <Quantity>integer</Quantity>
      </OriginSslProtocols>
   </VpcOriginEndpointConfig>
</VpcOrigin>
```

## Response Elements
<a name="API_CreateVpcOrigin_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 202 response.

The following data is returned in XML format by the service.

 ** [VpcOrigin](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-VpcOrigin"></a>
Root level tag for the VpcOrigin parameters.  
Required: Yes

 ** [Arn](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-Arn"></a>
The VPC origin ARN.  
Type: String

 ** [CreatedTime](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-CreatedTime"></a>
The VPC origin created time.  
Type: Timestamp

 ** [Id](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-Id"></a>
The VPC origin ID.  
Type: String

 ** [LastModifiedTime](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-LastModifiedTime"></a>
The VPC origin last modified time.  
Type: Timestamp

 ** [Status](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-Status"></a>
The VPC origin status.  
Type: String

 ** [VpcOriginEndpointConfig](#API_CreateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-CreateVpcOrigin-response-VpcOriginEndpointConfig"></a>
The VPC origin endpoint configuration.  
Type: [VpcOriginEndpointConfig](API_VpcOriginEndpointConfig.md) object

## Errors
<a name="API_CreateVpcOrigin_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_CreateVpcOrigin_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/CreateVpcOrigin) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/CreateVpcOrigin) 

# DeleteAnycastIpList
<a name="API_DeleteAnycastIpList"></a>

Deletes an Anycast static IP list.

## Request Syntax
<a name="API_DeleteAnycastIpList_RequestSyntax"></a>

```
DELETE /2020-05-31/anycast-ip-list/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteAnycastIpList_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteAnycastIpList_RequestSyntax) **   <a name="cloudfront-DeleteAnycastIpList-request-uri-Id"></a>
The ID of the Anycast static IP list.  
Required: Yes

 ** [If-Match](#API_DeleteAnycastIpList_RequestSyntax) **   <a name="cloudfront-DeleteAnycastIpList-request-IfMatch"></a>
The current version (`ETag` value) of the Anycast static IP list that you are deleting.  
Required: Yes

## Request Body
<a name="API_DeleteAnycastIpList_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteAnycastIpList_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteAnycastIpList_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteAnycastIpList_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotDeleteEntityWhileInUse **   
The entity cannot be deleted while it is in use.  
HTTP Status Code: 409

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalDelete **   
Deletion is not allowed for this entity.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteAnycastIpList_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteAnycastIpList) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteAnycastIpList) 

# DeleteCachePolicy
<a name="API_DeleteCachePolicy"></a>

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

## Request Syntax
<a name="API_DeleteCachePolicy_RequestSyntax"></a>

```
DELETE /2020-05-31/cache-policy/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteCachePolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteCachePolicy_RequestSyntax) **   <a name="cloudfront-DeleteCachePolicy-request-uri-Id"></a>
The unique identifier for the cache policy that you are deleting. To get the identifier, you can use `ListCachePolicies`.  
Required: Yes

 ** [If-Match](#API_DeleteCachePolicy_RequestSyntax) **   <a name="cloudfront-DeleteCachePolicy-request-IfMatch"></a>
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`.

## Request Body
<a name="API_DeleteCachePolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteCachePolicy_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteCachePolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteCachePolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CachePolicyInUse **   
Cannot delete the cache policy because it is attached to one or more cache behaviors.  
HTTP Status Code: 409

 ** IllegalDelete **   
Deletion is not allowed for this entity.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteCachePolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteCachePolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteCachePolicy) 

# DeleteCloudFrontOriginAccessIdentity
<a name="API_DeleteCloudFrontOriginAccessIdentity"></a>

Delete an origin access identity.

## Request Syntax
<a name="API_DeleteCloudFrontOriginAccessIdentity_RequestSyntax"></a>

```
DELETE /2020-05-31/origin-access-identity/cloudfront/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteCloudFrontOriginAccessIdentity_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-DeleteCloudFrontOriginAccessIdentity-request-uri-Id"></a>
The origin access identity's ID.  
Required: Yes

 ** [If-Match](#API_DeleteCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-DeleteCloudFrontOriginAccessIdentity-request-IfMatch"></a>
The value of the `ETag` header you received from a previous `GET` or `PUT` request. For example: `E2QWRUHAPOMQZL`.

## Request Body
<a name="API_DeleteCloudFrontOriginAccessIdentity_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteCloudFrontOriginAccessIdentity_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteCloudFrontOriginAccessIdentity_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteCloudFrontOriginAccessIdentity_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CloudFrontOriginAccessIdentityInUse **   
The Origin Access Identity specified is already in use.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchCloudFrontOriginAccessIdentity **   
The specified origin access identity does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteCloudFrontOriginAccessIdentity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity) 

# DeleteConnectionFunction
<a name="API_DeleteConnectionFunction"></a>

Deletes a connection function.

## Request Syntax
<a name="API_DeleteConnectionFunction_RequestSyntax"></a>

```
DELETE /2020-05-31/connection-function/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteConnectionFunction_RequestSyntax) **   <a name="cloudfront-DeleteConnectionFunction-request-uri-Id"></a>
The connection function's ID.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_DeleteConnectionFunction_RequestSyntax) **   <a name="cloudfront-DeleteConnectionFunction-request-IfMatch"></a>
The current version (`ETag` value) of the connection function you are deleting.  
Required: Yes

## Request Body
<a name="API_DeleteConnectionFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotDeleteEntityWhileInUse **   
The entity cannot be deleted while it is in use.  
HTTP Status Code: 409

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteConnectionFunction) 

# DeleteConnectionGroup
<a name="API_DeleteConnectionGroup"></a>

Deletes a connection group.

## Request Syntax
<a name="API_DeleteConnectionGroup_RequestSyntax"></a>

```
DELETE /2020-05-31/connection-group/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteConnectionGroup_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteConnectionGroup_RequestSyntax) **   <a name="cloudfront-DeleteConnectionGroup-request-uri-Id"></a>
The ID of the connection group to delete.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_DeleteConnectionGroup_RequestSyntax) **   <a name="cloudfront-DeleteConnectionGroup-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the connection group to delete.  
Required: Yes

## Request Body
<a name="API_DeleteConnectionGroup_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteConnectionGroup_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteConnectionGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteConnectionGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotDeleteEntityWhileInUse **   
The entity cannot be deleted while it is in use.  
HTTP Status Code: 409

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResourceNotDisabled **   
The specified CloudFront resource hasn't been disabled yet.  
HTTP Status Code: 409

## See Also
<a name="API_DeleteConnectionGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteConnectionGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteConnectionGroup) 

# DeleteContinuousDeploymentPolicy
<a name="API_DeleteContinuousDeploymentPolicy"></a>

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.

## Request Syntax
<a name="API_DeleteContinuousDeploymentPolicy_RequestSyntax"></a>

```
DELETE /2020-05-31/continuous-deployment-policy/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteContinuousDeploymentPolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-DeleteContinuousDeploymentPolicy-request-uri-Id"></a>
The identifier of the continuous deployment policy that you are deleting.  
Required: Yes

 ** [If-Match](#API_DeleteContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-DeleteContinuousDeploymentPolicy-request-IfMatch"></a>
The current version (`ETag` value) of the continuous deployment policy that you are deleting.

## Request Body
<a name="API_DeleteContinuousDeploymentPolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteContinuousDeploymentPolicy_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteContinuousDeploymentPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteContinuousDeploymentPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** ContinuousDeploymentPolicyInUse **   
You cannot delete a continuous deployment policy that is associated with a primary distribution.  
HTTP Status Code: 409

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteContinuousDeploymentPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy) 

# DeleteDistribution
<a name="API_DeleteDistribution"></a>

Delete a distribution.

**Important**  
Before you can delete a distribution, you must disable it, which requires permission to update the distribution. Once deleted, a distribution cannot be recovered.

## Request Syntax
<a name="API_DeleteDistribution_RequestSyntax"></a>

```
DELETE /2020-05-31/distribution/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteDistribution_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteDistribution_RequestSyntax) **   <a name="cloudfront-DeleteDistribution-request-uri-Id"></a>
The distribution ID.  
Required: Yes

 ** [If-Match](#API_DeleteDistribution_RequestSyntax) **   <a name="cloudfront-DeleteDistribution-request-IfMatch"></a>
The value of the `ETag` header that you received when you disabled the distribution. For example: `E2QWRUHAPOMQZL`.

## Request Body
<a name="API_DeleteDistribution_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteDistribution_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** DistributionNotDisabled **   
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResourceInUse **   
Cannot delete this resource because it is in use.  
HTTP Status Code: 409

## See Also
<a name="API_DeleteDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteDistribution) 

# DeleteDistributionTenant
<a name="API_DeleteDistributionTenant"></a>

Deletes a distribution tenant. If you use this API operation to delete a distribution tenant that is currently enabled, the request will fail.

To delete a distribution tenant, you must first disable the distribution tenant by using the `UpdateDistributionTenant` API operation.

## Request Syntax
<a name="API_DeleteDistributionTenant_RequestSyntax"></a>

```
DELETE /2020-05-31/distribution-tenant/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteDistributionTenant_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteDistributionTenant_RequestSyntax) **   <a name="cloudfront-DeleteDistributionTenant-request-uri-Id"></a>
The ID of the distribution tenant to delete.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_DeleteDistributionTenant_RequestSyntax) **   <a name="cloudfront-DeleteDistributionTenant-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the distribution tenant. This value is returned in the response of the `GetDistributionTenant` API operation.  
Required: Yes

## Request Body
<a name="API_DeleteDistributionTenant_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResourceNotDisabled **   
The specified CloudFront resource hasn't been disabled yet.  
HTTP Status Code: 409

## See Also
<a name="API_DeleteDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteDistributionTenant) 

# DeleteFieldLevelEncryptionConfig
<a name="API_DeleteFieldLevelEncryptionConfig"></a>

Remove a field-level encryption configuration.

## Request Syntax
<a name="API_DeleteFieldLevelEncryptionConfig_RequestSyntax"></a>

```
DELETE /2020-05-31/field-level-encryption/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteFieldLevelEncryptionConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-DeleteFieldLevelEncryptionConfig-request-uri-Id"></a>
The ID of the configuration you want to delete from CloudFront.  
Required: Yes

 ** [If-Match](#API_DeleteFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-DeleteFieldLevelEncryptionConfig-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the configuration identity to delete. For example: `E2QWRUHAPOMQZL`.

## Request Body
<a name="API_DeleteFieldLevelEncryptionConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteFieldLevelEncryptionConfig_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteFieldLevelEncryptionConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteFieldLevelEncryptionConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** FieldLevelEncryptionConfigInUse **   
The specified configuration for field-level encryption is in use.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteFieldLevelEncryptionConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig) 

# DeleteFieldLevelEncryptionProfile
<a name="API_DeleteFieldLevelEncryptionProfile"></a>

Remove a field-level encryption profile.

## Request Syntax
<a name="API_DeleteFieldLevelEncryptionProfile_RequestSyntax"></a>

```
DELETE /2020-05-31/field-level-encryption-profile/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteFieldLevelEncryptionProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-DeleteFieldLevelEncryptionProfile-request-uri-Id"></a>
Request the ID of the profile you want to delete from CloudFront.  
Required: Yes

 ** [If-Match](#API_DeleteFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-DeleteFieldLevelEncryptionProfile-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the profile to delete. For example: `E2QWRUHAPOMQZL`.

## Request Body
<a name="API_DeleteFieldLevelEncryptionProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteFieldLevelEncryptionProfile_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteFieldLevelEncryptionProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteFieldLevelEncryptionProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** FieldLevelEncryptionProfileInUse **   
The specified profile for field-level encryption is in use.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFieldLevelEncryptionProfile **   
The specified profile for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteFieldLevelEncryptionProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile) 

# DeleteFunction
<a name="API_DeleteFunction"></a>

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

## Request Syntax
<a name="API_DeleteFunction_RequestSyntax"></a>

```
DELETE /2020-05-31/function/Name HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_DeleteFunction_RequestSyntax) **   <a name="cloudfront-DeleteFunction-request-IfMatch"></a>
The current version (`ETag` value) of the function that you are deleting, which you can get using `DescribeFunction`.  
Required: Yes

 ** [Name](#API_DeleteFunction_RequestSyntax) **   <a name="cloudfront-DeleteFunction-request-uri-Name"></a>
The name of the function that you are deleting.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_DeleteFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteFunction_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** FunctionInUse **   
Cannot delete the function because it's attached to one or more cache behaviors.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFunctionExists **   
The function does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteFunction) 

# DeleteKeyGroup
<a name="API_DeleteKeyGroup"></a>

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

## Request Syntax
<a name="API_DeleteKeyGroup_RequestSyntax"></a>

```
DELETE /2020-05-31/key-group/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteKeyGroup_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteKeyGroup_RequestSyntax) **   <a name="cloudfront-DeleteKeyGroup-request-uri-Id"></a>
The identifier of the key group that you are deleting. To get the identifier, use `ListKeyGroups`.  
Required: Yes

 ** [If-Match](#API_DeleteKeyGroup_RequestSyntax) **   <a name="cloudfront-DeleteKeyGroup-request-IfMatch"></a>
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`.

## Request Body
<a name="API_DeleteKeyGroup_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteKeyGroup_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteKeyGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteKeyGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResourceInUse **   
Cannot delete this resource because it is in use.  
HTTP Status Code: 409

## See Also
<a name="API_DeleteKeyGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteKeyGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteKeyGroup) 

# DeleteKeyValueStore
<a name="API_DeleteKeyValueStore"></a>

Specifies the key value store to delete.

## Request Syntax
<a name="API_DeleteKeyValueStore_RequestSyntax"></a>

```
DELETE /2020-05-31/key-value-store/Name HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteKeyValueStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_DeleteKeyValueStore_RequestSyntax) **   <a name="cloudfront-DeleteKeyValueStore-request-IfMatch"></a>
The key value store to delete, if a match occurs.  
Required: Yes

 ** [Name](#API_DeleteKeyValueStore_RequestSyntax) **   <a name="cloudfront-DeleteKeyValueStore-request-uri-Name"></a>
The name of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_DeleteKeyValueStore_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteKeyValueStore_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteKeyValueStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteKeyValueStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotDeleteEntityWhileInUse **   
The entity cannot be deleted while it is in use.  
HTTP Status Code: 409

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteKeyValueStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteKeyValueStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteKeyValueStore) 

# DeleteMonitoringSubscription
<a name="API_DeleteMonitoringSubscription"></a>

Disables additional CloudWatch metrics for the specified CloudFront distribution.

## Request Syntax
<a name="API_DeleteMonitoringSubscription_RequestSyntax"></a>

```
DELETE /2020-05-31/distributions/DistributionId/monitoring-subscription HTTP/1.1
```

## URI Request Parameters
<a name="API_DeleteMonitoringSubscription_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DistributionId](#API_DeleteMonitoringSubscription_RequestSyntax) **   <a name="cloudfront-DeleteMonitoringSubscription-request-uri-DistributionId"></a>
The ID of the distribution that you are disabling metrics for.  
Required: Yes

## Request Body
<a name="API_DeleteMonitoringSubscription_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteMonitoringSubscription_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_DeleteMonitoringSubscription_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_DeleteMonitoringSubscription_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** NoSuchMonitoringSubscription **   
A monitoring subscription does not exist for the specified distribution.  
HTTP Status Code: 404

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteMonitoringSubscription_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteMonitoringSubscription) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteMonitoringSubscription) 

# DeleteOriginAccessControl
<a name="API_DeleteOriginAccessControl"></a>

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.

## Request Syntax
<a name="API_DeleteOriginAccessControl_RequestSyntax"></a>

```
DELETE /2020-05-31/origin-access-control/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteOriginAccessControl_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteOriginAccessControl_RequestSyntax) **   <a name="cloudfront-DeleteOriginAccessControl-request-uri-Id"></a>
The unique identifier of the origin access control that you are deleting.  
Required: Yes

 ** [If-Match](#API_DeleteOriginAccessControl_RequestSyntax) **   <a name="cloudfront-DeleteOriginAccessControl-request-IfMatch"></a>
The current version (`ETag` value) of the origin access control that you are deleting.

## Request Body
<a name="API_DeleteOriginAccessControl_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteOriginAccessControl_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteOriginAccessControl_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteOriginAccessControl_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchOriginAccessControl **   
The origin access control does not exist.  
HTTP Status Code: 404

 ** OriginAccessControlInUse **   
Cannot delete the origin access control because it's in use by one or more distributions.  
HTTP Status Code: 409

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteOriginAccessControl_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteOriginAccessControl) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteOriginAccessControl) 

# DeleteOriginRequestPolicy
<a name="API_DeleteOriginRequestPolicy"></a>

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

## Request Syntax
<a name="API_DeleteOriginRequestPolicy_RequestSyntax"></a>

```
DELETE /2020-05-31/origin-request-policy/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteOriginRequestPolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-DeleteOriginRequestPolicy-request-uri-Id"></a>
The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use `ListOriginRequestPolicies`.  
Required: Yes

 ** [If-Match](#API_DeleteOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-DeleteOriginRequestPolicy-request-IfMatch"></a>
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`.

## Request Body
<a name="API_DeleteOriginRequestPolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteOriginRequestPolicy_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteOriginRequestPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteOriginRequestPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalDelete **   
Deletion is not allowed for this entity.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** OriginRequestPolicyInUse **   
Cannot delete the origin request policy because it is attached to one or more cache behaviors.  
HTTP Status Code: 409

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteOriginRequestPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteOriginRequestPolicy) 

# DeletePublicKey
<a name="API_DeletePublicKey"></a>

Remove a public key you previously added to CloudFront.

## Request Syntax
<a name="API_DeletePublicKey_RequestSyntax"></a>

```
DELETE /2020-05-31/public-key/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeletePublicKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeletePublicKey_RequestSyntax) **   <a name="cloudfront-DeletePublicKey-request-uri-Id"></a>
The ID of the public key you want to remove from CloudFront.  
Required: Yes

 ** [If-Match](#API_DeletePublicKey_RequestSyntax) **   <a name="cloudfront-DeletePublicKey-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the public key identity to delete. For example: `E2QWRUHAPOMQZL`.

## Request Body
<a name="API_DeletePublicKey_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeletePublicKey_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeletePublicKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeletePublicKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchPublicKey **   
The specified public key doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** PublicKeyInUse **   
The specified public key is in use.  
HTTP Status Code: 409

## See Also
<a name="API_DeletePublicKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeletePublicKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeletePublicKey) 

# DeleteRealtimeLogConfig
<a name="API_DeleteRealtimeLogConfig"></a>

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.

## Request Syntax
<a name="API_DeleteRealtimeLogConfig_RequestSyntax"></a>

```
POST /2020-05-31/delete-realtime-log-config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<DeleteRealtimeLogConfigRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ARN>string</ARN>
   <Name>string</Name>
</DeleteRealtimeLogConfigRequest>
```

## URI Request Parameters
<a name="API_DeleteRealtimeLogConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_DeleteRealtimeLogConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [DeleteRealtimeLogConfigRequest](#API_DeleteRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-DeleteRealtimeLogConfig-request-DeleteRealtimeLogConfigRequest"></a>
Root level tag for the DeleteRealtimeLogConfigRequest parameters.  
Required: Yes

 ** [ARN](#API_DeleteRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-DeleteRealtimeLogConfig-request-ARN"></a>
The Amazon Resource Name (ARN) of the real-time log configuration to delete.  
Type: String  
Required: No

 ** [Name](#API_DeleteRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-DeleteRealtimeLogConfig-request-Name"></a>
The name of the real-time log configuration to delete.  
Type: String  
Required: No

## Response Syntax
<a name="API_DeleteRealtimeLogConfig_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteRealtimeLogConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteRealtimeLogConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

 ** RealtimeLogConfigInUse **   
Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteRealtimeLogConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteRealtimeLogConfig) 

# DeleteResponseHeadersPolicy
<a name="API_DeleteResponseHeadersPolicy"></a>

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

## Request Syntax
<a name="API_DeleteResponseHeadersPolicy_RequestSyntax"></a>

```
DELETE /2020-05-31/response-headers-policy/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteResponseHeadersPolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-DeleteResponseHeadersPolicy-request-uri-Id"></a>
The identifier for the response headers policy that you are deleting.  
To get the identifier, you can use `ListResponseHeadersPolicies`.  
Required: Yes

 ** [If-Match](#API_DeleteResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-DeleteResponseHeadersPolicy-request-IfMatch"></a>
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`.

## Request Body
<a name="API_DeleteResponseHeadersPolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteResponseHeadersPolicy_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteResponseHeadersPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteResponseHeadersPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalDelete **   
Deletion is not allowed for this entity.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResponseHeadersPolicyInUse **   
Cannot delete the response headers policy because it is attached to one or more cache behaviors in a CloudFront distribution.  
HTTP Status Code: 409

## See Also
<a name="API_DeleteResponseHeadersPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteResponseHeadersPolicy) 

# DeleteStreamingDistribution
<a name="API_DeleteStreamingDistribution"></a>

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.

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

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

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

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

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

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

1. 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_DeleteStreamingDistribution_RequestSyntax"></a>

```
DELETE /2020-05-31/streaming-distribution/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteStreamingDistribution_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteStreamingDistribution_RequestSyntax) **   <a name="cloudfront-DeleteStreamingDistribution-request-uri-Id"></a>
The distribution ID.  
Required: Yes

 ** [If-Match](#API_DeleteStreamingDistribution_RequestSyntax) **   <a name="cloudfront-DeleteStreamingDistribution-request-IfMatch"></a>
The value of the `ETag` header that you received when you disabled the streaming distribution. For example: `E2QWRUHAPOMQZL`.

## Request Body
<a name="API_DeleteStreamingDistribution_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteStreamingDistribution_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteStreamingDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteStreamingDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchStreamingDistribution **   
The specified streaming distribution does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** StreamingDistributionNotDisabled **   
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.  
HTTP Status Code: 409

## See Also
<a name="API_DeleteStreamingDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteStreamingDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteStreamingDistribution) 

# DeleteTrustStore
<a name="API_DeleteTrustStore"></a>

Deletes a trust store.

## Request Syntax
<a name="API_DeleteTrustStore_RequestSyntax"></a>

```
DELETE /2020-05-31/trust-store/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteTrustStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteTrustStore_RequestSyntax) **   <a name="cloudfront-DeleteTrustStore-request-uri-Id"></a>
The trust store's ID.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_DeleteTrustStore_RequestSyntax) **   <a name="cloudfront-DeleteTrustStore-request-IfMatch"></a>
The current version (`ETag` value) of the trust store you are deleting.  
Required: Yes

## Request Body
<a name="API_DeleteTrustStore_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteTrustStore_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_DeleteTrustStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_DeleteTrustStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotDeleteEntityWhileInUse **   
The entity cannot be deleted while it is in use.  
HTTP Status Code: 409

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DeleteTrustStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteTrustStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteTrustStore) 

# DeleteVpcOrigin
<a name="API_DeleteVpcOrigin"></a>

Delete an Amazon CloudFront VPC origin.

## Request Syntax
<a name="API_DeleteVpcOrigin_RequestSyntax"></a>

```
DELETE /2020-05-31/vpc-origin/Id HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DeleteVpcOrigin_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DeleteVpcOrigin_RequestSyntax) **   <a name="cloudfront-DeleteVpcOrigin-request-uri-Id"></a>
The VPC origin ID.  
Required: Yes

 ** [If-Match](#API_DeleteVpcOrigin_RequestSyntax) **   <a name="cloudfront-DeleteVpcOrigin-request-IfMatch"></a>
The version identifier of the VPC origin to delete. This is the `ETag` value returned in the response to [GetVpcOrigin](API_GetVpcOrigin.md).  
Required: Yes

## Request Body
<a name="API_DeleteVpcOrigin_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DeleteVpcOrigin_ResponseSyntax"></a>

```
HTTP/1.1 202
<?xml version="1.0" encoding="UTF-8"?>
<VpcOrigin>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <VpcOriginEndpointConfig>
      <Arn>string</Arn>
      <HTTPPort>integer</HTTPPort>
      <HTTPSPort>integer</HTTPSPort>
      <Name>string</Name>
      <OriginProtocolPolicy>string</OriginProtocolPolicy>
      <OriginSslProtocols>
         <Items>
            <SslProtocol>string</SslProtocol>
         </Items>
         <Quantity>integer</Quantity>
      </OriginSslProtocols>
   </VpcOriginEndpointConfig>
</VpcOrigin>
```

## Response Elements
<a name="API_DeleteVpcOrigin_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 202 response.

The following data is returned in XML format by the service.

 ** [VpcOrigin](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-VpcOrigin"></a>
Root level tag for the VpcOrigin parameters.  
Required: Yes

 ** [Arn](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-Arn"></a>
The VPC origin ARN.  
Type: String

 ** [CreatedTime](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-CreatedTime"></a>
The VPC origin created time.  
Type: Timestamp

 ** [Id](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-Id"></a>
The VPC origin ID.  
Type: String

 ** [LastModifiedTime](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-LastModifiedTime"></a>
The VPC origin last modified time.  
Type: Timestamp

 ** [Status](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-Status"></a>
The VPC origin status.  
Type: String

 ** [VpcOriginEndpointConfig](#API_DeleteVpcOrigin_ResponseSyntax) **   <a name="cloudfront-DeleteVpcOrigin-response-VpcOriginEndpointConfig"></a>
The VPC origin endpoint configuration.  
Type: [VpcOriginEndpointConfig](API_VpcOriginEndpointConfig.md) object

## Errors
<a name="API_DeleteVpcOrigin_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotDeleteEntityWhileInUse **   
The entity cannot be deleted while it is in use.  
HTTP Status Code: 409

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalDelete **   
Deletion is not allowed for this entity.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteVpcOrigin_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DeleteVpcOrigin) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DeleteVpcOrigin) 

# DescribeConnectionFunction
<a name="API_DescribeConnectionFunction"></a>

Describes a connection function.

## Request Syntax
<a name="API_DescribeConnectionFunction_RequestSyntax"></a>

```
GET /2020-05-31/connection-function/Identifier/describe?Stage=Stage HTTP/1.1
```

## URI Request Parameters
<a name="API_DescribeConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_DescribeConnectionFunction_RequestSyntax) **   <a name="cloudfront-DescribeConnectionFunction-request-uri-Identifier"></a>
The connection function's identifier.  
Required: Yes

 ** [Stage](#API_DescribeConnectionFunction_RequestSyntax) **   <a name="cloudfront-DescribeConnectionFunction-request-uri-Stage"></a>
The connection function's stage.  
Valid Values: `DEVELOPMENT | LIVE` 

## Request Body
<a name="API_DescribeConnectionFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DescribeConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionFunctionSummary>
   <ConnectionFunctionArn>string</ConnectionFunctionArn>
   <ConnectionFunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </ConnectionFunctionConfig>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Stage>string</Stage>
   <Status>string</Status>
</ConnectionFunctionSummary>
```

## Response Elements
<a name="API_DescribeConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionFunctionSummary](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-ConnectionFunctionSummary"></a>
Root level tag for the ConnectionFunctionSummary parameters.  
Required: Yes

 ** [ConnectionFunctionArn](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-ConnectionFunctionArn"></a>
The connection function Amazon Resource Name (ARN).  
Type: String

 ** [ConnectionFunctionConfig](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-ConnectionFunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [CreatedTime](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-CreatedTime"></a>
The connection function created time.  
Type: Timestamp

 ** [Id](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-Id"></a>
The connection function ID.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [LastModifiedTime](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-LastModifiedTime"></a>
The connection function last modified time.  
Type: Timestamp

 ** [Name](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-Name"></a>
The connection function name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Stage](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-Stage"></a>
The connection function stage.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE` 

 ** [Status](#API_DescribeConnectionFunction_ResponseSyntax) **   <a name="cloudfront-DescribeConnectionFunction-response-Status"></a>
The connection function status.  
Type: String

## Errors
<a name="API_DescribeConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DescribeConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DescribeConnectionFunction) 

# DescribeFunction
<a name="API_DescribeFunction"></a>

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

## Request Syntax
<a name="API_DescribeFunction_RequestSyntax"></a>

```
GET /2020-05-31/function/Name/describe?Stage=Stage HTTP/1.1
```

## URI Request Parameters
<a name="API_DescribeFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Name](#API_DescribeFunction_RequestSyntax) **   <a name="cloudfront-DescribeFunction-request-uri-Name"></a>
The name of the function that you are getting information about.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

 ** [Stage](#API_DescribeFunction_RequestSyntax) **   <a name="cloudfront-DescribeFunction-request-uri-Stage"></a>
The function's stage, either `DEVELOPMENT` or `LIVE`.  
Valid Values: `DEVELOPMENT | LIVE` 

## Request Body
<a name="API_DescribeFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DescribeFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FunctionSummary>
   <FunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </FunctionConfig>
   <FunctionMetadata>
      <CreatedTime>timestamp</CreatedTime>
      <FunctionARN>string</FunctionARN>
      <LastModifiedTime>timestamp</LastModifiedTime>
      <Stage>string</Stage>
   </FunctionMetadata>
   <Name>string</Name>
   <Status>string</Status>
</FunctionSummary>
```

## Response Elements
<a name="API_DescribeFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FunctionSummary](#API_DescribeFunction_ResponseSyntax) **   <a name="cloudfront-DescribeFunction-response-FunctionSummary"></a>
Root level tag for the FunctionSummary parameters.  
Required: Yes

 ** [FunctionConfig](#API_DescribeFunction_ResponseSyntax) **   <a name="cloudfront-DescribeFunction-response-FunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [FunctionMetadata](#API_DescribeFunction_ResponseSyntax) **   <a name="cloudfront-DescribeFunction-response-FunctionMetadata"></a>
Contains metadata about a CloudFront function.  
Type: [FunctionMetadata](API_FunctionMetadata.md) object

 ** [Name](#API_DescribeFunction_ResponseSyntax) **   <a name="cloudfront-DescribeFunction-response-Name"></a>
The name of the CloudFront function.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_DescribeFunction_ResponseSyntax) **   <a name="cloudfront-DescribeFunction-response-Status"></a>
The status of the CloudFront function.  
Type: String

## Errors
<a name="API_DescribeFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** NoSuchFunctionExists **   
The function does not exist.  
HTTP Status Code: 404

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DescribeFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DescribeFunction) 

# DescribeKeyValueStore
<a name="API_DescribeKeyValueStore"></a>

Specifies the key value store and its configuration.

## Request Syntax
<a name="API_DescribeKeyValueStore_RequestSyntax"></a>

```
GET /2020-05-31/key-value-store/Name HTTP/1.1
```

## URI Request Parameters
<a name="API_DescribeKeyValueStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Name](#API_DescribeKeyValueStore_RequestSyntax) **   <a name="cloudfront-DescribeKeyValueStore-request-uri-Name"></a>
The name of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_DescribeKeyValueStore_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DescribeKeyValueStore_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyValueStore>
   <ARN>string</ARN>
   <Comment>string</Comment>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Status>string</Status>
</KeyValueStore>
```

## Response Elements
<a name="API_DescribeKeyValueStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyValueStore](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-KeyValueStore"></a>
Root level tag for the KeyValueStore parameters.  
Required: Yes

 ** [ARN](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-ARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Type: String

 ** [Comment](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-Comment"></a>
A comment for the key value store.  
Type: String

 ** [Id](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-Id"></a>
The unique Id for the key value store.  
Type: String

 ** [LastModifiedTime](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-LastModifiedTime"></a>
The last-modified time of the key value store.  
Type: Timestamp

 ** [Name](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-Name"></a>
The name of the key value store.  
Type: String

 ** [Status](#API_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-DescribeKeyValueStore-response-Status"></a>
The status of the key value store.  
Type: String

## Errors
<a name="API_DescribeKeyValueStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeKeyValueStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DescribeKeyValueStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DescribeKeyValueStore) 

# DisassociateDistributionTenantWebACL
<a name="API_DisassociateDistributionTenantWebACL"></a>

Disassociates a distribution tenant from the AWS WAF web ACL.

## Request Syntax
<a name="API_DisassociateDistributionTenantWebACL_RequestSyntax"></a>

```
PUT /2020-05-31/distribution-tenant/Id/disassociate-web-acl HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DisassociateDistributionTenantWebACL_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DisassociateDistributionTenantWebACL_RequestSyntax) **   <a name="cloudfront-DisassociateDistributionTenantWebACL-request-uri-Id"></a>
The ID of the distribution tenant.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_DisassociateDistributionTenantWebACL_RequestSyntax) **   <a name="cloudfront-DisassociateDistributionTenantWebACL-request-IfMatch"></a>
The current version of the distribution tenant that you're disassociating from the AWS WAF web ACL. This is the `ETag` value returned in the response to the `GetDistributionTenant` API operation.

## Request Body
<a name="API_DisassociateDistributionTenantWebACL_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DisassociateDistributionTenantWebACL_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
<?xml version="1.0" encoding="UTF-8"?>
<DisassociateDistributionTenantWebACLResult>
   <Id>string</Id>
</DisassociateDistributionTenantWebACLResult>
```

## Response Elements
<a name="API_DisassociateDistributionTenantWebACL_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_DisassociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-DisassociateDistributionTenantWebACL-response-ETag"></a>
The current version of the distribution tenant.

The following data is returned in XML format by the service.

 ** [DisassociateDistributionTenantWebACLResult](#API_DisassociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-DisassociateDistributionTenantWebACL-response-DisassociateDistributionTenantWebACLResult"></a>
Root level tag for the DisassociateDistributionTenantWebACLResult parameters.  
Required: Yes

 ** [Id](#API_DisassociateDistributionTenantWebACL_ResponseSyntax) **   <a name="cloudfront-DisassociateDistributionTenantWebACL-response-Id"></a>
The ID of the distribution tenant.  
Type: String

## Errors
<a name="API_DisassociateDistributionTenantWebACL_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DisassociateDistributionTenantWebACL_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DisassociateDistributionTenantWebACL) 

# DisassociateDistributionWebACL
<a name="API_DisassociateDistributionWebACL"></a>

Disassociates a distribution from the AWS WAF web ACL.

## Request Syntax
<a name="API_DisassociateDistributionWebACL_RequestSyntax"></a>

```
PUT /2020-05-31/distribution/Id/disassociate-web-acl HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_DisassociateDistributionWebACL_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_DisassociateDistributionWebACL_RequestSyntax) **   <a name="cloudfront-DisassociateDistributionWebACL-request-uri-Id"></a>
The ID of the distribution.  
Required: Yes

 ** [If-Match](#API_DisassociateDistributionWebACL_RequestSyntax) **   <a name="cloudfront-DisassociateDistributionWebACL-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the distribution that you're disassociating from the AWS WAF web ACL.

## Request Body
<a name="API_DisassociateDistributionWebACL_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DisassociateDistributionWebACL_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
<?xml version="1.0" encoding="UTF-8"?>
<DisassociateDistributionWebACLResult>
   <Id>string</Id>
</DisassociateDistributionWebACLResult>
```

## Response Elements
<a name="API_DisassociateDistributionWebACL_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_DisassociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-DisassociateDistributionWebACL-response-ETag"></a>
The current version of the distribution.

The following data is returned in XML format by the service.

 ** [DisassociateDistributionWebACLResult](#API_DisassociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-DisassociateDistributionWebACL-response-DisassociateDistributionWebACLResult"></a>
Root level tag for the DisassociateDistributionWebACLResult parameters.  
Required: Yes

 ** [Id](#API_DisassociateDistributionWebACL_ResponseSyntax) **   <a name="cloudfront-DisassociateDistributionWebACL-response-Id"></a>
The ID of the distribution.  
Type: String

## Errors
<a name="API_DisassociateDistributionWebACL_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_DisassociateDistributionWebACL_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/DisassociateDistributionWebACL) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/DisassociateDistributionWebACL) 

# GetAnycastIpList
<a name="API_GetAnycastIpList"></a>

Gets an Anycast static IP list.

## Request Syntax
<a name="API_GetAnycastIpList_RequestSyntax"></a>

```
GET /2020-05-31/anycast-ip-list/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetAnycastIpList_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetAnycastIpList_RequestSyntax) **   <a name="cloudfront-GetAnycastIpList-request-uri-Id"></a>
The ID of the Anycast static IP list.  
Required: Yes

## Request Body
<a name="API_GetAnycastIpList_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetAnycastIpList_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<AnycastIpList>
   <AnycastIps>
      <AnycastIp>string</AnycastIp>
   </AnycastIps>
   <Arn>string</Arn>
   <Id>string</Id>
   <IpAddressType>string</IpAddressType>
   <IpamConfig>
      <IpamCidrConfigs>
         <IpamCidrConfig>
            <AnycastIp>string</AnycastIp>
            <Cidr>string</Cidr>
            <IpamPoolArn>string</IpamPoolArn>
            <Status>string</Status>
         </IpamCidrConfig>
      </IpamCidrConfigs>
      <Quantity>integer</Quantity>
   </IpamConfig>
   <IpCount>integer</IpCount>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Status>string</Status>
</AnycastIpList>
```

## Response Elements
<a name="API_GetAnycastIpList_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [AnycastIpList](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-AnycastIpList"></a>
Root level tag for the AnycastIpList parameters.  
Required: Yes

 ** [AnycastIps](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-AnycastIps"></a>
The static IP addresses that are allocated to the Anycast static IP list.  
Type: Array of strings

 ** [Arn](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-Arn"></a>
The Amazon Resource Name (ARN) of the Anycast static IP list.  
Type: String

 ** [Id](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-Id"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [IpAddressType](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-IpAddressType"></a>
The IP address type for the Anycast static IP list.  
Type: String  
Valid Values: `ipv4 | ipv6 | dualstack` 

 ** [IpamConfig](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-IpamConfig"></a>
The IPAM configuration for the Anycast static IP list, that contains the quantity and list of IPAM CIDR configurations.  
Type: [IpamConfig](API_IpamConfig.md) object

 ** [IpCount](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-IpCount"></a>
The number of IP addresses in the Anycast static IP list.  
Type: Integer

 ** [LastModifiedTime](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-LastModifiedTime"></a>
The last time the Anycast static IP list was modified.  
Type: Timestamp

 ** [Name](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-Name"></a>
The name of the Anycast static IP list.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_GetAnycastIpList_ResponseSyntax) **   <a name="cloudfront-GetAnycastIpList-response-Status"></a>
The status of the Anycast static IP list. Valid values: `Deployed`, `Deploying`, or `Failed`.  
Type: String

## Errors
<a name="API_GetAnycastIpList_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_GetAnycastIpList_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetAnycastIpList) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetAnycastIpList) 

# GetCachePolicy
<a name="API_GetCachePolicy"></a>

Gets a cache policy, including the following metadata:
+ The policy's identifier.
+ The date and time when the policy was last modified.

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

## Request Syntax
<a name="API_GetCachePolicy_RequestSyntax"></a>

```
GET /2020-05-31/cache-policy/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetCachePolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetCachePolicy_RequestSyntax) **   <a name="cloudfront-GetCachePolicy-request-uri-Id"></a>
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`.  
Required: Yes

## Request Body
<a name="API_GetCachePolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetCachePolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicy>
   <CachePolicyConfig>
      <Comment>string</Comment>
      <DefaultTTL>long</DefaultTTL>
      <MaxTTL>long</MaxTTL>
      <MinTTL>long</MinTTL>
      <Name>string</Name>
      <ParametersInCacheKeyAndForwardedToOrigin>
         <CookiesConfig>
            <CookieBehavior>string</CookieBehavior>
            <Cookies>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Cookies>
         </CookiesConfig>
         <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
         <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
         <HeadersConfig>
            <HeaderBehavior>string</HeaderBehavior>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
         </HeadersConfig>
         <QueryStringsConfig>
            <QueryStringBehavior>string</QueryStringBehavior>
            <QueryStrings>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStrings>
         </QueryStringsConfig>
      </ParametersInCacheKeyAndForwardedToOrigin>
   </CachePolicyConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</CachePolicy>
```

## Response Elements
<a name="API_GetCachePolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CachePolicy](#API_GetCachePolicy_ResponseSyntax) **   <a name="cloudfront-GetCachePolicy-response-CachePolicy"></a>
Root level tag for the CachePolicy parameters.  
Required: Yes

 ** [CachePolicyConfig](#API_GetCachePolicy_ResponseSyntax) **   <a name="cloudfront-GetCachePolicy-response-CachePolicyConfig"></a>
The cache policy configuration.  
Type: [CachePolicyConfig](API_CachePolicyConfig.md) object

 ** [Id](#API_GetCachePolicy_ResponseSyntax) **   <a name="cloudfront-GetCachePolicy-response-Id"></a>
The unique identifier for the cache policy.  
Type: String

 ** [LastModifiedTime](#API_GetCachePolicy_ResponseSyntax) **   <a name="cloudfront-GetCachePolicy-response-LastModifiedTime"></a>
The date and time when the cache policy was last modified.  
Type: Timestamp

## Errors
<a name="API_GetCachePolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetCachePolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetCachePolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetCachePolicy) 

# GetCachePolicyConfig
<a name="API_GetCachePolicyConfig"></a>

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

## Request Syntax
<a name="API_GetCachePolicyConfig_RequestSyntax"></a>

```
GET /2020-05-31/cache-policy/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetCachePolicyConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetCachePolicyConfig_RequestSyntax) **   <a name="cloudfront-GetCachePolicyConfig-request-uri-Id"></a>
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`.  
Required: Yes

## Request Body
<a name="API_GetCachePolicyConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetCachePolicyConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicyConfig>
   <Comment>string</Comment>
   <DefaultTTL>long</DefaultTTL>
   <MaxTTL>long</MaxTTL>
   <MinTTL>long</MinTTL>
   <Name>string</Name>
   <ParametersInCacheKeyAndForwardedToOrigin>
      <CookiesConfig>
         <CookieBehavior>string</CookieBehavior>
         <Cookies>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Cookies>
      </CookiesConfig>
      <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
      <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
      <HeadersConfig>
         <HeaderBehavior>string</HeaderBehavior>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
      </HeadersConfig>
      <QueryStringsConfig>
         <QueryStringBehavior>string</QueryStringBehavior>
         <QueryStrings>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStrings>
      </QueryStringsConfig>
   </ParametersInCacheKeyAndForwardedToOrigin>
</CachePolicyConfig>
```

## Response Elements
<a name="API_GetCachePolicyConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CachePolicyConfig](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-CachePolicyConfig"></a>
Root level tag for the CachePolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-Comment"></a>
A comment to describe the cache policy. The comment cannot be longer than 128 characters.  
Type: String

 ** [DefaultTTL](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-DefaultTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) 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`.  
Type: Long

 ** [MaxTTL](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-MaxTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) 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`.  
Type: Long

 ** [MinTTL](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-MinTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.  
Type: Long

 ** [Name](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-Name"></a>
A unique name to identify the cache policy.  
Type: String

 ** [ParametersInCacheKeyAndForwardedToOrigin](#API_GetCachePolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetCachePolicyConfig-response-ParametersInCacheKeyAndForwardedToOrigin"></a>
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.  
Type: [ParametersInCacheKeyAndForwardedToOrigin](API_ParametersInCacheKeyAndForwardedToOrigin.md) object

## Errors
<a name="API_GetCachePolicyConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetCachePolicyConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetCachePolicyConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetCachePolicyConfig) 

# GetCloudFrontOriginAccessIdentity
<a name="API_GetCloudFrontOriginAccessIdentity"></a>

Get the information about an origin access identity.

## Request Syntax
<a name="API_GetCloudFrontOriginAccessIdentity_RequestSyntax"></a>

```
GET /2020-05-31/origin-access-identity/cloudfront/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetCloudFrontOriginAccessIdentity_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentity-request-uri-Id"></a>
The identity's ID.  
Required: Yes

## Request Body
<a name="API_GetCloudFrontOriginAccessIdentity_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetCloudFrontOriginAccessIdentity_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentity>
   <CloudFrontOriginAccessIdentityConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
   </CloudFrontOriginAccessIdentityConfig>
   <Id>string</Id>
   <S3CanonicalUserId>string</S3CanonicalUserId>
</CloudFrontOriginAccessIdentity>
```

## Response Elements
<a name="API_GetCloudFrontOriginAccessIdentity_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CloudFrontOriginAccessIdentity](#API_GetCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentity-response-CloudFrontOriginAccessIdentity"></a>
Root level tag for the CloudFrontOriginAccessIdentity parameters.  
Required: Yes

 ** [CloudFrontOriginAccessIdentityConfig](#API_GetCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentity-response-CloudFrontOriginAccessIdentityConfig"></a>
The current configuration information for the identity.  
Type: [CloudFrontOriginAccessIdentityConfig](API_CloudFrontOriginAccessIdentityConfig.md) object

 ** [Id](#API_GetCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentity-response-Id"></a>
The ID for the origin access identity, for example, `E74FTE3AJFJ256A`.   
Type: String

 ** [S3CanonicalUserId](#API_GetCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentity-response-S3CanonicalUserId"></a>
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.  
Type: String

## Errors
<a name="API_GetCloudFrontOriginAccessIdentity_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchCloudFrontOriginAccessIdentity **   
The specified origin access identity does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetCloudFrontOriginAccessIdentity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity) 

# GetCloudFrontOriginAccessIdentityConfig
<a name="API_GetCloudFrontOriginAccessIdentityConfig"></a>

Get the configuration information about an origin access identity.

## Request Syntax
<a name="API_GetCloudFrontOriginAccessIdentityConfig_RequestSyntax"></a>

```
GET /2020-05-31/origin-access-identity/cloudfront/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetCloudFrontOriginAccessIdentityConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetCloudFrontOriginAccessIdentityConfig_RequestSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentityConfig-request-uri-Id"></a>
The identity's ID.  
Required: Yes

## Request Body
<a name="API_GetCloudFrontOriginAccessIdentityConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetCloudFrontOriginAccessIdentityConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentityConfig>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
</CloudFrontOriginAccessIdentityConfig>
```

## Response Elements
<a name="API_GetCloudFrontOriginAccessIdentityConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CloudFrontOriginAccessIdentityConfig](#API_GetCloudFrontOriginAccessIdentityConfig_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentityConfig-response-CloudFrontOriginAccessIdentityConfig"></a>
Root level tag for the CloudFrontOriginAccessIdentityConfig parameters.  
Required: Yes

 ** [CallerReference](#API_GetCloudFrontOriginAccessIdentityConfig_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentityConfig-response-CallerReference"></a>
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.   
Type: String

 ** [Comment](#API_GetCloudFrontOriginAccessIdentityConfig_ResponseSyntax) **   <a name="cloudfront-GetCloudFrontOriginAccessIdentityConfig-response-Comment"></a>
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.  
Type: String

## Errors
<a name="API_GetCloudFrontOriginAccessIdentityConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchCloudFrontOriginAccessIdentity **   
The specified origin access identity does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetCloudFrontOriginAccessIdentityConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig) 

# GetConnectionFunction
<a name="API_GetConnectionFunction"></a>

Gets a connection function.

## Request Syntax
<a name="API_GetConnectionFunction_RequestSyntax"></a>

```
GET /2020-05-31/connection-function/Identifier?Stage=Stage HTTP/1.1
```

## URI Request Parameters
<a name="API_GetConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_GetConnectionFunction_RequestSyntax) **   <a name="cloudfront-GetConnectionFunction-request-uri-Identifier"></a>
The connection function's identifier.  
Required: Yes

 ** [Stage](#API_GetConnectionFunction_RequestSyntax) **   <a name="cloudfront-GetConnectionFunction-request-uri-Stage"></a>
The connection function's stage.  
Valid Values: `DEVELOPMENT | LIVE` 

## Request Body
<a name="API_GetConnectionFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_GetConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_GetConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_GetConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetConnectionFunction) 

# GetConnectionGroup
<a name="API_GetConnectionGroup"></a>

Gets information about a connection group.

## Request Syntax
<a name="API_GetConnectionGroup_RequestSyntax"></a>

```
GET /2020-05-31/connection-group/Identifier HTTP/1.1
```

## URI Request Parameters
<a name="API_GetConnectionGroup_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_GetConnectionGroup_RequestSyntax) **   <a name="cloudfront-GetConnectionGroup-request-uri-Identifier"></a>
The ID, name, or Amazon Resource Name (ARN) of the connection group.  
Required: Yes

## Request Body
<a name="API_GetConnectionGroup_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetConnectionGroup_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionGroup>
   <AnycastIpListId>string</AnycastIpListId>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <Ipv6Enabled>boolean</Ipv6Enabled>
   <IsDefault>boolean</IsDefault>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <RoutingEndpoint>string</RoutingEndpoint>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</ConnectionGroup>
```

## Response Elements
<a name="API_GetConnectionGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionGroup](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-ConnectionGroup"></a>
Root level tag for the ConnectionGroup parameters.  
Required: Yes

 ** [AnycastIpListId](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [Arn](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Arn"></a>
The Amazon Resource Name (ARN) of the connection group.  
Type: String

 ** [CreatedTime](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-CreatedTime"></a>
The date and time when the connection group was created.  
Type: Timestamp

 ** [Enabled](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Enabled"></a>
Whether the connection group is enabled.  
Type: Boolean

 ** [Id](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Id"></a>
The ID of the connection group.  
Type: String

 ** [Ipv6Enabled](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Ipv6Enabled"></a>
IPv6 is enabled for the connection group.  
Type: Boolean

 ** [IsDefault](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-IsDefault"></a>
Whether the connection group is the default connection group for the distribution tenants.  
Type: Boolean

 ** [LastModifiedTime](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-LastModifiedTime"></a>
The date and time when the connection group was updated.  
Type: Timestamp

 ** [Name](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Name"></a>
The name of the connection group.  
Type: String

 ** [RoutingEndpoint](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-RoutingEndpoint"></a>
The routing endpoint (also known as the DNS name) that is assigned to the connection group, such as d111111abcdef8.cloudfront.net.  
Type: String

 ** [Status](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Status"></a>
The status of the connection group.  
Type: String

 ** [Tags](#API_GetConnectionGroup_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroup-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_GetConnectionGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_GetConnectionGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetConnectionGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetConnectionGroup) 

# GetConnectionGroupByRoutingEndpoint
<a name="API_GetConnectionGroupByRoutingEndpoint"></a>

Gets information about a connection group by using the endpoint that you specify.

## Request Syntax
<a name="API_GetConnectionGroupByRoutingEndpoint_RequestSyntax"></a>

```
GET /2020-05-31/connection-group?RoutingEndpoint=RoutingEndpoint HTTP/1.1
```

## URI Request Parameters
<a name="API_GetConnectionGroupByRoutingEndpoint_RequestParameters"></a>

The request uses the following URI parameters.

 ** [RoutingEndpoint](#API_GetConnectionGroupByRoutingEndpoint_RequestSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-request-uri-RoutingEndpoint"></a>
The routing endpoint for the target connection group, such as d111111abcdef8.cloudfront.net.  
Required: Yes

## Request Body
<a name="API_GetConnectionGroupByRoutingEndpoint_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionGroup>
   <AnycastIpListId>string</AnycastIpListId>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <Ipv6Enabled>boolean</Ipv6Enabled>
   <IsDefault>boolean</IsDefault>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <RoutingEndpoint>string</RoutingEndpoint>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</ConnectionGroup>
```

## Response Elements
<a name="API_GetConnectionGroupByRoutingEndpoint_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionGroup](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-ConnectionGroup"></a>
Root level tag for the ConnectionGroup parameters.  
Required: Yes

 ** [AnycastIpListId](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [Arn](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Arn"></a>
The Amazon Resource Name (ARN) of the connection group.  
Type: String

 ** [CreatedTime](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-CreatedTime"></a>
The date and time when the connection group was created.  
Type: Timestamp

 ** [Enabled](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Enabled"></a>
Whether the connection group is enabled.  
Type: Boolean

 ** [Id](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Id"></a>
The ID of the connection group.  
Type: String

 ** [Ipv6Enabled](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Ipv6Enabled"></a>
IPv6 is enabled for the connection group.  
Type: Boolean

 ** [IsDefault](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-IsDefault"></a>
Whether the connection group is the default connection group for the distribution tenants.  
Type: Boolean

 ** [LastModifiedTime](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-LastModifiedTime"></a>
The date and time when the connection group was updated.  
Type: Timestamp

 ** [Name](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Name"></a>
The name of the connection group.  
Type: String

 ** [RoutingEndpoint](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-RoutingEndpoint"></a>
The routing endpoint (also known as the DNS name) that is assigned to the connection group, such as d111111abcdef8.cloudfront.net.  
Type: String

 ** [Status](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Status"></a>
The status of the connection group.  
Type: String

 ** [Tags](#API_GetConnectionGroupByRoutingEndpoint_ResponseSyntax) **   <a name="cloudfront-GetConnectionGroupByRoutingEndpoint-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_GetConnectionGroupByRoutingEndpoint_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_GetConnectionGroupByRoutingEndpoint_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetConnectionGroupByRoutingEndpoint) 

# GetContinuousDeploymentPolicy
<a name="API_GetContinuousDeploymentPolicy"></a>

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

## Request Syntax
<a name="API_GetContinuousDeploymentPolicy_RequestSyntax"></a>

```
GET /2020-05-31/continuous-deployment-policy/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetContinuousDeploymentPolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicy-request-uri-Id"></a>
The identifier of the continuous deployment policy that you are getting.  
Required: Yes

## Request Body
<a name="API_GetContinuousDeploymentPolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetContinuousDeploymentPolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicy>
   <ContinuousDeploymentPolicyConfig>
      <Enabled>boolean</Enabled>
      <StagingDistributionDnsNames>
         <Items>
            <DnsName>string</DnsName>
         </Items>
         <Quantity>integer</Quantity>
      </StagingDistributionDnsNames>
      <TrafficConfig>
         <SingleHeaderConfig>
            <Header>string</Header>
            <Value>string</Value>
         </SingleHeaderConfig>
         <SingleWeightConfig>
            <SessionStickinessConfig>
               <IdleTTL>integer</IdleTTL>
               <MaximumTTL>integer</MaximumTTL>
            </SessionStickinessConfig>
            <Weight>float</Weight>
         </SingleWeightConfig>
         <Type>string</Type>
      </TrafficConfig>
   </ContinuousDeploymentPolicyConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</ContinuousDeploymentPolicy>
```

## Response Elements
<a name="API_GetContinuousDeploymentPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ContinuousDeploymentPolicy](#API_GetContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicy-response-ContinuousDeploymentPolicy"></a>
Root level tag for the ContinuousDeploymentPolicy parameters.  
Required: Yes

 ** [ContinuousDeploymentPolicyConfig](#API_GetContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicy-response-ContinuousDeploymentPolicyConfig"></a>
Contains the configuration for a continuous deployment policy.  
Type: [ContinuousDeploymentPolicyConfig](API_ContinuousDeploymentPolicyConfig.md) object

 ** [Id](#API_GetContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicy-response-Id"></a>
The identifier of the continuous deployment policy.  
Type: String

 ** [LastModifiedTime](#API_GetContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicy-response-LastModifiedTime"></a>
The date and time the continuous deployment policy was last modified.  
Type: Timestamp

## Errors
<a name="API_GetContinuousDeploymentPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetContinuousDeploymentPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetContinuousDeploymentPolicy) 

# GetContinuousDeploymentPolicyConfig
<a name="API_GetContinuousDeploymentPolicyConfig"></a>

Gets configuration information about a continuous deployment policy.

## Request Syntax
<a name="API_GetContinuousDeploymentPolicyConfig_RequestSyntax"></a>

```
GET /2020-05-31/continuous-deployment-policy/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetContinuousDeploymentPolicyConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetContinuousDeploymentPolicyConfig_RequestSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicyConfig-request-uri-Id"></a>
The identifier of the continuous deployment policy whose configuration you are getting.  
Required: Yes

## Request Body
<a name="API_GetContinuousDeploymentPolicyConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetContinuousDeploymentPolicyConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicyConfig>
   <Enabled>boolean</Enabled>
   <StagingDistributionDnsNames>
      <Items>
         <DnsName>string</DnsName>
      </Items>
      <Quantity>integer</Quantity>
   </StagingDistributionDnsNames>
   <TrafficConfig>
      <SingleHeaderConfig>
         <Header>string</Header>
         <Value>string</Value>
      </SingleHeaderConfig>
      <SingleWeightConfig>
         <SessionStickinessConfig>
            <IdleTTL>integer</IdleTTL>
            <MaximumTTL>integer</MaximumTTL>
         </SessionStickinessConfig>
         <Weight>float</Weight>
      </SingleWeightConfig>
      <Type>string</Type>
   </TrafficConfig>
</ContinuousDeploymentPolicyConfig>
```

## Response Elements
<a name="API_GetContinuousDeploymentPolicyConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ContinuousDeploymentPolicyConfig](#API_GetContinuousDeploymentPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicyConfig-response-ContinuousDeploymentPolicyConfig"></a>
Root level tag for the ContinuousDeploymentPolicyConfig parameters.  
Required: Yes

 ** [Enabled](#API_GetContinuousDeploymentPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicyConfig-response-Enabled"></a>
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.  
Type: Boolean

 ** [StagingDistributionDnsNames](#API_GetContinuousDeploymentPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicyConfig-response-StagingDistributionDnsNames"></a>
The CloudFront domain name of the staging distribution. For example: `d111111abcdef8.cloudfront.net`.  
Type: [StagingDistributionDnsNames](API_StagingDistributionDnsNames.md) object

 ** [TrafficConfig](#API_GetContinuousDeploymentPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetContinuousDeploymentPolicyConfig-response-TrafficConfig"></a>
Contains the parameters for routing production traffic from your primary to staging distributions.  
Type: [TrafficConfig](API_TrafficConfig.md) object

## Errors
<a name="API_GetContinuousDeploymentPolicyConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetContinuousDeploymentPolicyConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfig) 

# GetDistribution
<a name="API_GetDistribution"></a>

Get the information about a distribution.

## Request Syntax
<a name="API_GetDistribution_RequestSyntax"></a>

```
GET /2020-05-31/distribution/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetDistribution_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetDistribution_RequestSyntax) **   <a name="cloudfront-GetDistribution-request-uri-Id"></a>
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.  
Required: Yes

## Request Body
<a name="API_GetDistribution_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetDistribution_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<Distribution>
   <ActiveTrustedKeyGroups>
      <Enabled>boolean</Enabled>
      <Items>
         <KeyGroup>
            <KeyGroupId>string</KeyGroupId>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </KeyGroup>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedKeyGroups>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <AliasICPRecordals>
      <AliasICPRecordal>
         <CNAME>string</CNAME>
         <ICPRecordalStatus>string</ICPRecordalStatus>
      </AliasICPRecordal>
   </AliasICPRecordals>
   <ARN>string</ARN>
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <InProgressInvalidationBatches>integer</InProgressInvalidationBatches>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
</Distribution>
```

## Response Elements
<a name="API_GetDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [Distribution](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-Distribution"></a>
Root level tag for the Distribution parameters.  
Required: Yes

 ** [ActiveTrustedKeyGroups](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-ActiveTrustedKeyGroups"></a>
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.  
Type: [ActiveTrustedKeyGroups](API_ActiveTrustedKeyGroups.md) object

 ** [ActiveTrustedSigners](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-ActiveTrustedSigners"></a>
We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
This field contains a list of AWS 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.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [AliasICPRecordals](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-AliasICPRecordals"></a>
 AWS 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](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in *Getting Started with AWS services in China*.  
Type: Array of [AliasICPRecordal](API_AliasICPRecordal.md) objects

 ** [ARN](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-ARN"></a>
The distribution's Amazon Resource Name (ARN).  
Type: String

 ** [DistributionConfig](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-DistributionConfig"></a>
The distribution's configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object

 ** [DomainName](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-DomainName"></a>
The distribution's CloudFront domain name. For example: `d111111abcdef8.cloudfront.net`.  
Type: String

 ** [Id](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-Id"></a>
The distribution's identifier. For example: `E1U5RQF7T870K0`.  
Type: String

 ** [InProgressInvalidationBatches](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-InProgressInvalidationBatches"></a>
The number of invalidation batches currently in progress.  
Type: Integer

 ** [LastModifiedTime](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-LastModifiedTime"></a>
The date and time when the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_GetDistribution_ResponseSyntax) **   <a name="cloudfront-GetDistribution-response-Status"></a>
The distribution's status. When the status is `Deployed`, the distribution's information is fully propagated to all CloudFront edge locations.  
Type: String

## Errors
<a name="API_GetDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetDistribution) 

# GetDistributionConfig
<a name="API_GetDistributionConfig"></a>

Get the configuration information about a distribution.

## Request Syntax
<a name="API_GetDistributionConfig_RequestSyntax"></a>

```
GET /2020-05-31/distribution/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetDistributionConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetDistributionConfig_RequestSyntax) **   <a name="cloudfront-GetDistributionConfig-request-uri-Id"></a>
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.  
Required: Yes

## Request Body
<a name="API_GetDistributionConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetDistributionConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionConfig>
   <Aliases>
      <Items>
         <CNAME>string</CNAME>
      </Items>
      <Quantity>integer</Quantity>
   </Aliases>
   <AnycastIpListId>string</AnycastIpListId>
   <CacheBehaviors>
      <Items>
         <CacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <PathPattern>string</PathPattern>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </CacheBehavior>
      </Items>
      <Quantity>integer</Quantity>
   </CacheBehaviors>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <ConnectionFunctionAssociation>
      <Id>string</Id>
   </ConnectionFunctionAssociation>
   <ConnectionMode>string</ConnectionMode>
   <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
   <CustomErrorResponses>
      <Items>
         <CustomErrorResponse>
            <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
            <ErrorCode>integer</ErrorCode>
            <ResponseCode>string</ResponseCode>
            <ResponsePagePath>string</ResponsePagePath>
         </CustomErrorResponse>
      </Items>
      <Quantity>integer</Quantity>
   </CustomErrorResponses>
   <DefaultCacheBehavior>
      <AllowedMethods>
         <CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </CachedMethods>
         <Items>
            <Method>string</Method>
         </Items>
         <Quantity>integer</Quantity>
      </AllowedMethods>
      <CachePolicyId>string</CachePolicyId>
      <Compress>boolean</Compress>
      <DefaultTTL>long</DefaultTTL>
      <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
      <ForwardedValues>
         <Cookies>
            <Forward>string</Forward>
            <WhitelistedNames>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </WhitelistedNames>
         </Cookies>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
         <QueryString>boolean</QueryString>
         <QueryStringCacheKeys>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStringCacheKeys>
      </ForwardedValues>
      <FunctionAssociations>
         <Items>
            <FunctionAssociation>
               <EventType>string</EventType>
               <FunctionARN>string</FunctionARN>
            </FunctionAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </FunctionAssociations>
      <GrpcConfig>
         <Enabled>boolean</Enabled>
      </GrpcConfig>
      <LambdaFunctionAssociations>
         <Items>
            <LambdaFunctionAssociation>
               <EventType>string</EventType>
               <IncludeBody>boolean</IncludeBody>
               <LambdaFunctionARN>string</LambdaFunctionARN>
            </LambdaFunctionAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </LambdaFunctionAssociations>
      <MaxTTL>long</MaxTTL>
      <MinTTL>long</MinTTL>
      <OriginRequestPolicyId>string</OriginRequestPolicyId>
      <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
      <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
      <SmoothStreaming>boolean</SmoothStreaming>
      <TargetOriginId>string</TargetOriginId>
      <TrustedKeyGroups>
         <Enabled>boolean</Enabled>
         <Items>
            <KeyGroup>string</KeyGroup>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedKeyGroups>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
      <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
   </DefaultCacheBehavior>
   <DefaultRootObject>string</DefaultRootObject>
   <Enabled>boolean</Enabled>
   <HttpVersion>string</HttpVersion>
   <IsIPV6Enabled>boolean</IsIPV6Enabled>
   <Logging>
      <Bucket>string</Bucket>
      <Enabled>boolean</Enabled>
      <IncludeCookies>boolean</IncludeCookies>
      <Prefix>string</Prefix>
   </Logging>
   <OriginGroups>
      <Items>
         <OriginGroup>
            <FailoverCriteria>
               <StatusCodes>
                  <Items>
                     <StatusCode>integer</StatusCode>
                  </Items>
                  <Quantity>integer</Quantity>
               </StatusCodes>
            </FailoverCriteria>
            <Id>string</Id>
            <Members>
               <Items>
                  <OriginGroupMember>
                     <OriginId>string</OriginId>
                  </OriginGroupMember>
               </Items>
               <Quantity>integer</Quantity>
            </Members>
            <SelectionCriteria>string</SelectionCriteria>
         </OriginGroup>
      </Items>
      <Quantity>integer</Quantity>
   </OriginGroups>
   <Origins>
      <Items>
         <Origin>
            <ConnectionAttempts>integer</ConnectionAttempts>
            <ConnectionTimeout>integer</ConnectionTimeout>
            <CustomHeaders>
               <Items>
                  <OriginCustomHeader>
                     <HeaderName>string</HeaderName>
                     <HeaderValue>string</HeaderValue>
                  </OriginCustomHeader>
               </Items>
               <Quantity>integer</Quantity>
            </CustomHeaders>
            <CustomOriginConfig>
               <HTTPPort>integer</HTTPPort>
               <HTTPSPort>integer</HTTPSPort>
               <IpAddressType>string</IpAddressType>
               <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
               <OriginMtlsConfig>
                  <ClientCertificateArn>string</ClientCertificateArn>
               </OriginMtlsConfig>
               <OriginProtocolPolicy>string</OriginProtocolPolicy>
               <OriginReadTimeout>integer</OriginReadTimeout>
               <OriginSslProtocols>
                  <Items>
                     <SslProtocol>string</SslProtocol>
                  </Items>
                  <Quantity>integer</Quantity>
               </OriginSslProtocols>
            </CustomOriginConfig>
            <DomainName>string</DomainName>
            <Id>string</Id>
            <OriginAccessControlId>string</OriginAccessControlId>
            <OriginPath>string</OriginPath>
            <OriginShield>
               <Enabled>boolean</Enabled>
               <OriginShieldRegion>string</OriginShieldRegion>
            </OriginShield>
            <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
            <S3OriginConfig>
               <OriginAccessIdentity>string</OriginAccessIdentity>
               <OriginReadTimeout>integer</OriginReadTimeout>
            </S3OriginConfig>
            <VpcOriginConfig>
               <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
               <OriginReadTimeout>integer</OriginReadTimeout>
               <VpcOriginId>string</VpcOriginId>
            </VpcOriginConfig>
         </Origin>
      </Items>
      <Quantity>integer</Quantity>
   </Origins>
   <PriceClass>string</PriceClass>
   <Restrictions>
      <GeoRestriction>
         <Items>
            <Location>string</Location>
         </Items>
         <Quantity>integer</Quantity>
         <RestrictionType>string</RestrictionType>
      </GeoRestriction>
   </Restrictions>
   <Staging>boolean</Staging>
   <TenantConfig>
      <ParameterDefinitions>
         <ParameterDefinition>
            <Definition>
               <StringSchema>
                  <Comment>string</Comment>
                  <DefaultValue>string</DefaultValue>
                  <Required>boolean</Required>
               </StringSchema>
            </Definition>
            <Name>string</Name>
         </ParameterDefinition>
      </ParameterDefinitions>
   </TenantConfig>
   <ViewerCertificate>
      <ACMCertificateArn>string</ACMCertificateArn>
      <Certificate>string</Certificate>
      <CertificateSource>string</CertificateSource>
      <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
      <IAMCertificateId>string</IAMCertificateId>
      <MinimumProtocolVersion>string</MinimumProtocolVersion>
      <SSLSupportMethod>string</SSLSupportMethod>
   </ViewerCertificate>
   <ViewerMtlsConfig>
      <Mode>string</Mode>
      <TrustStoreConfig>
         <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
         <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
         <TrustStoreId>string</TrustStoreId>
      </TrustStoreConfig>
   </ViewerMtlsConfig>
   <WebACLId>string</WebACLId>
</DistributionConfig>
```

## Response Elements
<a name="API_GetDistributionConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionConfig](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-DistributionConfig"></a>
Root level tag for the DistributionConfig parameters.  
Required: Yes

 ** [Aliases](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Aliases"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.  
Type: [Aliases](API_Aliases.md) object

 ** [AnycastIpListId](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-AnycastIpListId"></a>
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html).
ID of the Anycast static IP list that is associated with the distribution.  
Type: String

 ** [CacheBehaviors](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-CacheBehaviors"></a>
A complex type that contains zero or more `CacheBehavior` elements.  
Type: [CacheBehaviors](API_CacheBehaviors.md) object

 ** [CallerReference](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-CallerReference"></a>
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.  
Type: String

 ** [Comment](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Comment"></a>
A comment to describe the distribution. The comment cannot be longer than 128 characters.  
Type: String

 ** [ConnectionFunctionAssociation](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-ConnectionFunctionAssociation"></a>
The distribution's connection function association.  
Type: [ConnectionFunctionAssociation](API_ConnectionFunctionAssociation.md) object

 ** [ConnectionMode](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-ConnectionMode"></a>
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).  
Type: String  
Valid Values: `direct | tenant-only` 

 ** [ContinuousDeploymentPolicyId](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-ContinuousDeploymentPolicyId"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
The identifier of a continuous deployment policy. For more information, see `CreateContinuousDeploymentPolicy`.  
Type: String

 ** [CustomErrorResponses](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-CustomErrorResponses"></a>
A complex type that controls the following:  
+ Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
+ How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see [Customizing Error Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the *Amazon CloudFront Developer Guide*.  
Type: [CustomErrorResponses](API_CustomErrorResponses.md) object

 ** [DefaultCacheBehavior](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-DefaultCacheBehavior"></a>
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.  
Type: [DefaultCacheBehavior](API_DefaultCacheBehavior.md) object

 ** [DefaultRootObject](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-DefaultRootObject"></a>
When a viewer requests the root URL for your distribution, the default root object is the object that you want CloudFront to request from your origin. For example, if your root URL is `https://www.example.com`, you can specify CloudFront to return the `index.html` file as the default root object. You can specify a default root object so that viewers see a specific file or object, instead of another object in your distribution (for example, `https://www.example.com/product-description.html`). A default root object avoids exposing the contents of your distribution.  
You can specify the object name or a path to the object name (for example, `index.html` or `exampleFolderName/index.html`). Your string can't begin with a forward slash (`/`). Only specify the object name or the path to the object.  
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 [Specify a default root object](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html) in the *Amazon CloudFront Developer Guide*.  
Type: String

 ** [Enabled](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Enabled"></a>
From this field, you can enable or disable the selected distribution.  
Type: Boolean

 ** [HttpVersion](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-HttpVersion"></a>
(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](https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration) at RFC 9000. For more information about supported TLSv1.3 ciphers, see [Supported protocols and ciphers between viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html).  
Type: String  
Valid Values: `http1.1 | http2 | http3 | http2and3` 

 ** [IsIPV6Enabled](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-IsIPV6Enabled"></a>
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html).
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html) in the *Amazon CloudFront Developer Guide*.  
If you're using an Amazon Route 53 AWS 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:  
+ You enable IPv6 for the distribution
+ You're using alternate domain names in the URLs for your objects
For more information, see [Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html) in the * Amazon Route 53 AWS Integration Developer Guide*.  
If you created a CNAME resource record set, either with Amazon Route 53 AWS 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.  
Type: Boolean

 ** [Logging](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Logging"></a>
A complex type that controls whether access logs are written for the distribution.  
For more information about logging, see [Access Logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) in the *Amazon CloudFront Developer Guide*.  
Type: [LoggingConfig](API_LoggingConfig.md) object

 ** [OriginGroups](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-OriginGroups"></a>
A complex type that contains information about origin groups for this distribution.  
Type: [OriginGroups](API_OriginGroups.md) object

 ** [Origins](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Origins"></a>
A complex type that contains information about origins for this distribution.  
Type: [Origins](API_Origins.md) object

 ** [PriceClass](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-PriceClass"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html) 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](http://aws.amazon.com/cloudfront/pricing/).  
Type: String  
Valid Values: `PriceClass_100 | PriceClass_200 | PriceClass_All | None` 

 ** [Restrictions](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Restrictions"></a>
A complex type that identifies ways in which you want to restrict distribution of your content.  
Type: [Restrictions](API_Restrictions.md) object

 ** [Staging](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-Staging"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
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.  
Type: Boolean

 ** [TenantConfig](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-TenantConfig"></a>
This field only supports multi-tenant distributions. You can't specify this field for standard distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
A distribution tenant configuration.  
Type: [TenantConfig](API_TenantConfig.md) object

 ** [ViewerCertificate](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-ViewerCertificate"></a>
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.  
Type: [ViewerCertificate](API_ViewerCertificate.md) object

 ** [ViewerMtlsConfig](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-ViewerMtlsConfig"></a>
The distribution's viewer mTLS configuration.  
Type: [ViewerMtlsConfig](API_ViewerMtlsConfig.md) object

 ** [WebACLId](#API_GetDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetDistributionConfig-response-WebACLId"></a>
Multi-tenant distributions only support AWS WAF V2 web ACLs.
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of AWS 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 AWS WAF Classic, use the ACL ID, for example `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.  
 AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html).  
Type: String

## Errors
<a name="API_GetDistributionConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetDistributionConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetDistributionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetDistributionConfig) 

# GetDistributionTenant
<a name="API_GetDistributionTenant"></a>

Gets information about a distribution tenant.

## Request Syntax
<a name="API_GetDistributionTenant_RequestSyntax"></a>

```
GET /2020-05-31/distribution-tenant/Identifier HTTP/1.1
```

## URI Request Parameters
<a name="API_GetDistributionTenant_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_GetDistributionTenant_RequestSyntax) **   <a name="cloudfront-GetDistributionTenant-request-uri-Identifier"></a>
The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.  
Required: Yes

## Request Body
<a name="API_GetDistributionTenant_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionTenant>
   <Arn>string</Arn>
   <ConnectionGroupId>string</ConnectionGroupId>
   <CreatedTime>timestamp</CreatedTime>
   <Customizations>
      <Certificate>
         <Arn>string</Arn>
      </Certificate>
      <GeoRestrictions>
         <Locations>
            <Location>string</Location>
         </Locations>
         <RestrictionType>string</RestrictionType>
      </GeoRestrictions>
      <WebAcl>
         <Action>string</Action>
         <Arn>string</Arn>
      </WebAcl>
   </Customizations>
   <DistributionId>string</DistributionId>
   <Domains>
      <DomainResult>
         <Domain>string</Domain>
         <Status>string</Status>
      </DomainResult>
   </Domains>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Parameters>
      <Parameter>
         <Name>string</Name>
         <Value>string</Value>
      </Parameter>
   </Parameters>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</DistributionTenant>
```

## Response Elements
<a name="API_GetDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionTenant](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-DistributionTenant"></a>
Root level tag for the DistributionTenant parameters.  
Required: Yes

 ** [Arn](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Arn"></a>
The Amazon Resource Name (ARN) of the distribution tenant.  
Type: String

 ** [ConnectionGroupId](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-ConnectionGroupId"></a>
The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.  
Type: String

 ** [CreatedTime](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-CreatedTime"></a>
The date and time when the distribution tenant was created.  
Type: Timestamp

 ** [Customizations](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Customizations"></a>
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.  
Type: [Customizations](API_Customizations.md) object

 ** [DistributionId](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-DistributionId"></a>
The ID of the multi-tenant distribution.  
Type: String

 ** [Domains](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Domains"></a>
The domains associated with the distribution tenant.  
Type: Array of [DomainResult](API_DomainResult.md) objects

 ** [Enabled](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Enabled"></a>
Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.  
Type: Boolean

 ** [Id](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Id"></a>
The ID of the distribution tenant.  
Type: String

 ** [LastModifiedTime](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-LastModifiedTime"></a>
The date and time when the distribution tenant was updated.  
Type: Timestamp

 ** [Name](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Name"></a>
The name of the distribution tenant.  
Type: String

 ** [Parameters](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Parameters"></a>
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.  
Type: Array of [Parameter](API_Parameter.md) objects

 ** [Status](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Status"></a>
The status of the distribution tenant.  
Type: String

 ** [Tags](#API_GetDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenant-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_GetDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_GetDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetDistributionTenant) 

# GetDistributionTenantByDomain
<a name="API_GetDistributionTenantByDomain"></a>

Gets information about a distribution tenant by the associated domain.

## Request Syntax
<a name="API_GetDistributionTenantByDomain_RequestSyntax"></a>

```
GET /2020-05-31/distribution-tenant?domain=Domain HTTP/1.1
```

## URI Request Parameters
<a name="API_GetDistributionTenantByDomain_RequestParameters"></a>

The request uses the following URI parameters.

 ** [domain](#API_GetDistributionTenantByDomain_RequestSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-request-uri-Domain"></a>
A domain name associated with the target distribution tenant.  
Required: Yes

## Request Body
<a name="API_GetDistributionTenantByDomain_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetDistributionTenantByDomain_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionTenant>
   <Arn>string</Arn>
   <ConnectionGroupId>string</ConnectionGroupId>
   <CreatedTime>timestamp</CreatedTime>
   <Customizations>
      <Certificate>
         <Arn>string</Arn>
      </Certificate>
      <GeoRestrictions>
         <Locations>
            <Location>string</Location>
         </Locations>
         <RestrictionType>string</RestrictionType>
      </GeoRestrictions>
      <WebAcl>
         <Action>string</Action>
         <Arn>string</Arn>
      </WebAcl>
   </Customizations>
   <DistributionId>string</DistributionId>
   <Domains>
      <DomainResult>
         <Domain>string</Domain>
         <Status>string</Status>
      </DomainResult>
   </Domains>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Parameters>
      <Parameter>
         <Name>string</Name>
         <Value>string</Value>
      </Parameter>
   </Parameters>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</DistributionTenant>
```

## Response Elements
<a name="API_GetDistributionTenantByDomain_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionTenant](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-DistributionTenant"></a>
Root level tag for the DistributionTenant parameters.  
Required: Yes

 ** [Arn](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Arn"></a>
The Amazon Resource Name (ARN) of the distribution tenant.  
Type: String

 ** [ConnectionGroupId](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-ConnectionGroupId"></a>
The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.  
Type: String

 ** [CreatedTime](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-CreatedTime"></a>
The date and time when the distribution tenant was created.  
Type: Timestamp

 ** [Customizations](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Customizations"></a>
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.  
Type: [Customizations](API_Customizations.md) object

 ** [DistributionId](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-DistributionId"></a>
The ID of the multi-tenant distribution.  
Type: String

 ** [Domains](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Domains"></a>
The domains associated with the distribution tenant.  
Type: Array of [DomainResult](API_DomainResult.md) objects

 ** [Enabled](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Enabled"></a>
Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.  
Type: Boolean

 ** [Id](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Id"></a>
The ID of the distribution tenant.  
Type: String

 ** [LastModifiedTime](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-LastModifiedTime"></a>
The date and time when the distribution tenant was updated.  
Type: Timestamp

 ** [Name](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Name"></a>
The name of the distribution tenant.  
Type: String

 ** [Parameters](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Parameters"></a>
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.  
Type: Array of [Parameter](API_Parameter.md) objects

 ** [Status](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Status"></a>
The status of the distribution tenant.  
Type: String

 ** [Tags](#API_GetDistributionTenantByDomain_ResponseSyntax) **   <a name="cloudfront-GetDistributionTenantByDomain-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_GetDistributionTenantByDomain_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_GetDistributionTenantByDomain_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetDistributionTenantByDomain) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetDistributionTenantByDomain) 

# GetFieldLevelEncryption
<a name="API_GetFieldLevelEncryption"></a>

Get the field-level encryption configuration information.

## Request Syntax
<a name="API_GetFieldLevelEncryption_RequestSyntax"></a>

```
GET /2020-05-31/field-level-encryption/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetFieldLevelEncryption_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetFieldLevelEncryption_RequestSyntax) **   <a name="cloudfront-GetFieldLevelEncryption-request-uri-Id"></a>
Request the ID for the field-level encryption configuration information.  
Required: Yes

## Request Body
<a name="API_GetFieldLevelEncryption_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetFieldLevelEncryption_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryption>
   <FieldLevelEncryptionConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ContentTypeProfileConfig>
         <ContentTypeProfiles>
            <Items>
               <ContentTypeProfile>
                  <ContentType>string</ContentType>
                  <Format>string</Format>
                  <ProfileId>string</ProfileId>
               </ContentTypeProfile>
            </Items>
            <Quantity>integer</Quantity>
         </ContentTypeProfiles>
         <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
      </ContentTypeProfileConfig>
      <QueryArgProfileConfig>
         <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
         <QueryArgProfiles>
            <Items>
               <QueryArgProfile>
                  <ProfileId>string</ProfileId>
                  <QueryArg>string</QueryArg>
               </QueryArgProfile>
            </Items>
            <Quantity>integer</Quantity>
         </QueryArgProfiles>
      </QueryArgProfileConfig>
   </FieldLevelEncryptionConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</FieldLevelEncryption>
```

## Response Elements
<a name="API_GetFieldLevelEncryption_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryption](#API_GetFieldLevelEncryption_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryption-response-FieldLevelEncryption"></a>
Root level tag for the FieldLevelEncryption parameters.  
Required: Yes

 ** [FieldLevelEncryptionConfig](#API_GetFieldLevelEncryption_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryption-response-FieldLevelEncryptionConfig"></a>
A complex data type that includes the profile configurations specified for field-level encryption.  
Type: [FieldLevelEncryptionConfig](API_FieldLevelEncryptionConfig.md) object

 ** [Id](#API_GetFieldLevelEncryption_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryption-response-Id"></a>
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.  
Type: String

 ** [LastModifiedTime](#API_GetFieldLevelEncryption_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryption-response-LastModifiedTime"></a>
The last time the field-level encryption configuration was changed.  
Type: Timestamp

## Errors
<a name="API_GetFieldLevelEncryption_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetFieldLevelEncryption_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetFieldLevelEncryption) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetFieldLevelEncryption) 

# GetFieldLevelEncryptionConfig
<a name="API_GetFieldLevelEncryptionConfig"></a>

Get the field-level encryption configuration information.

## Request Syntax
<a name="API_GetFieldLevelEncryptionConfig_RequestSyntax"></a>

```
GET /2020-05-31/field-level-encryption/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetFieldLevelEncryptionConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionConfig-request-uri-Id"></a>
Request the ID for the field-level encryption configuration information.  
Required: Yes

## Request Body
<a name="API_GetFieldLevelEncryptionConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetFieldLevelEncryptionConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionConfig>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <ContentTypeProfileConfig>
      <ContentTypeProfiles>
         <Items>
            <ContentTypeProfile>
               <ContentType>string</ContentType>
               <Format>string</Format>
               <ProfileId>string</ProfileId>
            </ContentTypeProfile>
         </Items>
         <Quantity>integer</Quantity>
      </ContentTypeProfiles>
      <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
   </ContentTypeProfileConfig>
   <QueryArgProfileConfig>
      <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
      <QueryArgProfiles>
         <Items>
            <QueryArgProfile>
               <ProfileId>string</ProfileId>
               <QueryArg>string</QueryArg>
            </QueryArgProfile>
         </Items>
         <Quantity>integer</Quantity>
      </QueryArgProfiles>
   </QueryArgProfileConfig>
</FieldLevelEncryptionConfig>
```

## Response Elements
<a name="API_GetFieldLevelEncryptionConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionConfig](#API_GetFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionConfig-response-FieldLevelEncryptionConfig"></a>
Root level tag for the FieldLevelEncryptionConfig parameters.  
Required: Yes

 ** [CallerReference](#API_GetFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionConfig-response-CallerReference"></a>
A unique number that ensures the request can't be replayed.  
Type: String

 ** [Comment](#API_GetFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionConfig-response-Comment"></a>
An optional comment about the configuration. The comment cannot be longer than 128 characters.  
Type: String

 ** [ContentTypeProfileConfig](#API_GetFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionConfig-response-ContentTypeProfileConfig"></a>
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.  
Type: [ContentTypeProfileConfig](API_ContentTypeProfileConfig.md) object

 ** [QueryArgProfileConfig](#API_GetFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionConfig-response-QueryArgProfileConfig"></a>
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.  
Type: [QueryArgProfileConfig](API_QueryArgProfileConfig.md) object

## Errors
<a name="API_GetFieldLevelEncryptionConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetFieldLevelEncryptionConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig) 

# GetFieldLevelEncryptionProfile
<a name="API_GetFieldLevelEncryptionProfile"></a>

Get the field-level encryption profile information.

## Request Syntax
<a name="API_GetFieldLevelEncryptionProfile_RequestSyntax"></a>

```
GET /2020-05-31/field-level-encryption-profile/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetFieldLevelEncryptionProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfile-request-uri-Id"></a>
Get the ID for the field-level encryption profile information.  
Required: Yes

## Request Body
<a name="API_GetFieldLevelEncryptionProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetFieldLevelEncryptionProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfile>
   <FieldLevelEncryptionProfileConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <EncryptionEntities>
         <Items>
            <EncryptionEntity>
               <FieldPatterns>
                  <Items>
                     <FieldPattern>string</FieldPattern>
                  </Items>
                  <Quantity>integer</Quantity>
               </FieldPatterns>
               <ProviderId>string</ProviderId>
               <PublicKeyId>string</PublicKeyId>
            </EncryptionEntity>
         </Items>
         <Quantity>integer</Quantity>
      </EncryptionEntities>
      <Name>string</Name>
   </FieldLevelEncryptionProfileConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</FieldLevelEncryptionProfile>
```

## Response Elements
<a name="API_GetFieldLevelEncryptionProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionProfile](#API_GetFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfile-response-FieldLevelEncryptionProfile"></a>
Root level tag for the FieldLevelEncryptionProfile parameters.  
Required: Yes

 ** [FieldLevelEncryptionProfileConfig](#API_GetFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfile-response-FieldLevelEncryptionProfileConfig"></a>
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.  
Type: [FieldLevelEncryptionProfileConfig](API_FieldLevelEncryptionProfileConfig.md) object

 ** [Id](#API_GetFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfile-response-Id"></a>
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.  
Type: String

 ** [LastModifiedTime](#API_GetFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfile-response-LastModifiedTime"></a>
The last time the field-level encryption profile was updated.  
Type: Timestamp

## Errors
<a name="API_GetFieldLevelEncryptionProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchFieldLevelEncryptionProfile **   
The specified profile for field-level encryption doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetFieldLevelEncryptionProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile) 

# GetFieldLevelEncryptionProfileConfig
<a name="API_GetFieldLevelEncryptionProfileConfig"></a>

Get the field-level encryption profile configuration information.

## Request Syntax
<a name="API_GetFieldLevelEncryptionProfileConfig_RequestSyntax"></a>

```
GET /2020-05-31/field-level-encryption-profile/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetFieldLevelEncryptionProfileConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetFieldLevelEncryptionProfileConfig_RequestSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfileConfig-request-uri-Id"></a>
Get the ID for the field-level encryption profile configuration information.  
Required: Yes

## Request Body
<a name="API_GetFieldLevelEncryptionProfileConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetFieldLevelEncryptionProfileConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfileConfig>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <EncryptionEntities>
      <Items>
         <EncryptionEntity>
            <FieldPatterns>
               <Items>
                  <FieldPattern>string</FieldPattern>
               </Items>
               <Quantity>integer</Quantity>
            </FieldPatterns>
            <ProviderId>string</ProviderId>
            <PublicKeyId>string</PublicKeyId>
         </EncryptionEntity>
      </Items>
      <Quantity>integer</Quantity>
   </EncryptionEntities>
   <Name>string</Name>
</FieldLevelEncryptionProfileConfig>
```

## Response Elements
<a name="API_GetFieldLevelEncryptionProfileConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionProfileConfig](#API_GetFieldLevelEncryptionProfileConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfileConfig-response-FieldLevelEncryptionProfileConfig"></a>
Root level tag for the FieldLevelEncryptionProfileConfig parameters.  
Required: Yes

 ** [CallerReference](#API_GetFieldLevelEncryptionProfileConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfileConfig-response-CallerReference"></a>
A unique number that ensures that the request can't be replayed.  
Type: String

 ** [Comment](#API_GetFieldLevelEncryptionProfileConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfileConfig-response-Comment"></a>
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.  
Type: String

 ** [EncryptionEntities](#API_GetFieldLevelEncryptionProfileConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfileConfig-response-EncryptionEntities"></a>
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.  
Type: [EncryptionEntities](API_EncryptionEntities.md) object

 ** [Name](#API_GetFieldLevelEncryptionProfileConfig_ResponseSyntax) **   <a name="cloudfront-GetFieldLevelEncryptionProfileConfig-response-Name"></a>
Profile name for the field-level encryption profile.  
Type: String

## Errors
<a name="API_GetFieldLevelEncryptionProfileConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchFieldLevelEncryptionProfile **   
The specified profile for field-level encryption doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetFieldLevelEncryptionProfileConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig) 

# GetFunction
<a name="API_GetFunction"></a>

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

## Request Syntax
<a name="API_GetFunction_RequestSyntax"></a>

```
GET /2020-05-31/function/Name?Stage=Stage HTTP/1.1
```

## URI Request Parameters
<a name="API_GetFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Name](#API_GetFunction_RequestSyntax) **   <a name="cloudfront-GetFunction-request-uri-Name"></a>
The name of the function whose code you are getting.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

 ** [Stage](#API_GetFunction_RequestSyntax) **   <a name="cloudfront-GetFunction-request-uri-Stage"></a>
The function's stage, either `DEVELOPMENT` or `LIVE`.  
Valid Values: `DEVELOPMENT | LIVE` 

## Request Body
<a name="API_GetFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_GetFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_GetFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** NoSuchFunctionExists **   
The function does not exist.  
HTTP Status Code: 404

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_GetFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetFunction) 

# GetInvalidation
<a name="API_GetInvalidation"></a>

Get the information about an invalidation.

## Request Syntax
<a name="API_GetInvalidation_RequestSyntax"></a>

```
GET /2020-05-31/distribution/DistributionId/invalidation/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetInvalidation_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DistributionId](#API_GetInvalidation_RequestSyntax) **   <a name="cloudfront-GetInvalidation-request-uri-DistributionId"></a>
The distribution's ID.  
Required: Yes

 ** [Id](#API_GetInvalidation_RequestSyntax) **   <a name="cloudfront-GetInvalidation-request-uri-Id"></a>
The identifier for the invalidation request, for example, `IDFDVBD632BHDS5`.  
Required: Yes

## Request Body
<a name="API_GetInvalidation_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetInvalidation_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<Invalidation>
   <CreateTime>timestamp</CreateTime>
   <Id>string</Id>
   <InvalidationBatch>
      <CallerReference>string</CallerReference>
      <Paths>
         <Items>
            <Path>string</Path>
         </Items>
         <Quantity>integer</Quantity>
      </Paths>
   </InvalidationBatch>
   <Status>string</Status>
</Invalidation>
```

## Response Elements
<a name="API_GetInvalidation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [Invalidation](#API_GetInvalidation_ResponseSyntax) **   <a name="cloudfront-GetInvalidation-response-Invalidation"></a>
Root level tag for the Invalidation parameters.  
Required: Yes

 ** [CreateTime](#API_GetInvalidation_ResponseSyntax) **   <a name="cloudfront-GetInvalidation-response-CreateTime"></a>
The date and time the invalidation request was first made.  
Type: Timestamp

 ** [Id](#API_GetInvalidation_ResponseSyntax) **   <a name="cloudfront-GetInvalidation-response-Id"></a>
The identifier for the invalidation request. For example: `IDFDVBD632BHDS5`.  
Type: String

 ** [InvalidationBatch](#API_GetInvalidation_ResponseSyntax) **   <a name="cloudfront-GetInvalidation-response-InvalidationBatch"></a>
The current invalidation information for the batch request.  
Type: [InvalidationBatch](API_InvalidationBatch.md) object

 ** [Status](#API_GetInvalidation_ResponseSyntax) **   <a name="cloudfront-GetInvalidation-response-Status"></a>
The status of the invalidation request. When the invalidation batch is finished, the status is `Completed`.  
Type: String

## Errors
<a name="API_GetInvalidation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** NoSuchInvalidation **   
The specified invalidation does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetInvalidation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetInvalidation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetInvalidation) 

# GetInvalidationForDistributionTenant
<a name="API_GetInvalidationForDistributionTenant"></a>

Gets information about a specific invalidation for a distribution tenant.

## Request Syntax
<a name="API_GetInvalidationForDistributionTenant_RequestSyntax"></a>

```
GET /2020-05-31/distribution-tenant/DistributionTenantId/invalidation/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetInvalidationForDistributionTenant_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DistributionTenantId](#API_GetInvalidationForDistributionTenant_RequestSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-request-uri-DistributionTenantId"></a>
The ID of the distribution tenant.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [Id](#API_GetInvalidationForDistributionTenant_RequestSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-request-uri-Id"></a>
The ID of the invalidation to retrieve.  
Required: Yes

## Request Body
<a name="API_GetInvalidationForDistributionTenant_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetInvalidationForDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<Invalidation>
   <CreateTime>timestamp</CreateTime>
   <Id>string</Id>
   <InvalidationBatch>
      <CallerReference>string</CallerReference>
      <Paths>
         <Items>
            <Path>string</Path>
         </Items>
         <Quantity>integer</Quantity>
      </Paths>
   </InvalidationBatch>
   <Status>string</Status>
</Invalidation>
```

## Response Elements
<a name="API_GetInvalidationForDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [Invalidation](#API_GetInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-response-Invalidation"></a>
Root level tag for the Invalidation parameters.  
Required: Yes

 ** [CreateTime](#API_GetInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-response-CreateTime"></a>
The date and time the invalidation request was first made.  
Type: Timestamp

 ** [Id](#API_GetInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-response-Id"></a>
The identifier for the invalidation request. For example: `IDFDVBD632BHDS5`.  
Type: String

 ** [InvalidationBatch](#API_GetInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-response-InvalidationBatch"></a>
The current invalidation information for the batch request.  
Type: [InvalidationBatch](API_InvalidationBatch.md) object

 ** [Status](#API_GetInvalidationForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-GetInvalidationForDistributionTenant-response-Status"></a>
The status of the invalidation request. When the invalidation batch is finished, the status is `Completed`.  
Type: String

## Errors
<a name="API_GetInvalidationForDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** NoSuchInvalidation **   
The specified invalidation does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetInvalidationForDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetInvalidationForDistributionTenant) 

# GetKeyGroup
<a name="API_GetKeyGroup"></a>

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

## Request Syntax
<a name="API_GetKeyGroup_RequestSyntax"></a>

```
GET /2020-05-31/key-group/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetKeyGroup_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetKeyGroup_RequestSyntax) **   <a name="cloudfront-GetKeyGroup-request-uri-Id"></a>
The identifier of the key group that you are getting. To get the identifier, use `ListKeyGroups`.  
Required: Yes

## Request Body
<a name="API_GetKeyGroup_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetKeyGroup_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroup>
   <Id>string</Id>
   <KeyGroupConfig>
      <Comment>string</Comment>
      <Items>
         <PublicKey>string</PublicKey>
      </Items>
      <Name>string</Name>
   </KeyGroupConfig>
   <LastModifiedTime>timestamp</LastModifiedTime>
</KeyGroup>
```

## Response Elements
<a name="API_GetKeyGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyGroup](#API_GetKeyGroup_ResponseSyntax) **   <a name="cloudfront-GetKeyGroup-response-KeyGroup"></a>
Root level tag for the KeyGroup parameters.  
Required: Yes

 ** [Id](#API_GetKeyGroup_ResponseSyntax) **   <a name="cloudfront-GetKeyGroup-response-Id"></a>
The identifier for the key group.  
Type: String

 ** [KeyGroupConfig](#API_GetKeyGroup_ResponseSyntax) **   <a name="cloudfront-GetKeyGroup-response-KeyGroupConfig"></a>
The key group configuration.  
Type: [KeyGroupConfig](API_KeyGroupConfig.md) object

 ** [LastModifiedTime](#API_GetKeyGroup_ResponseSyntax) **   <a name="cloudfront-GetKeyGroup-response-LastModifiedTime"></a>
The date and time when the key group was last modified.  
Type: Timestamp

## Errors
<a name="API_GetKeyGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

## See Also
<a name="API_GetKeyGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetKeyGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetKeyGroup) 

# GetKeyGroupConfig
<a name="API_GetKeyGroupConfig"></a>

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

## Request Syntax
<a name="API_GetKeyGroupConfig_RequestSyntax"></a>

```
GET /2020-05-31/key-group/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetKeyGroupConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetKeyGroupConfig_RequestSyntax) **   <a name="cloudfront-GetKeyGroupConfig-request-uri-Id"></a>
The identifier of the key group whose configuration you are getting. To get the identifier, use `ListKeyGroups`.  
Required: Yes

## Request Body
<a name="API_GetKeyGroupConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetKeyGroupConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroupConfig>
   <Comment>string</Comment>
   <Items>
      <PublicKey>string</PublicKey>
   </Items>
   <Name>string</Name>
</KeyGroupConfig>
```

## Response Elements
<a name="API_GetKeyGroupConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyGroupConfig](#API_GetKeyGroupConfig_ResponseSyntax) **   <a name="cloudfront-GetKeyGroupConfig-response-KeyGroupConfig"></a>
Root level tag for the KeyGroupConfig parameters.  
Required: Yes

 ** [Comment](#API_GetKeyGroupConfig_ResponseSyntax) **   <a name="cloudfront-GetKeyGroupConfig-response-Comment"></a>
A comment to describe the key group. The comment cannot be longer than 128 characters.  
Type: String

 ** [Items](#API_GetKeyGroupConfig_ResponseSyntax) **   <a name="cloudfront-GetKeyGroupConfig-response-Items"></a>
A list of the identifiers of the public keys in the key group.  
Type: Array of strings

 ** [Name](#API_GetKeyGroupConfig_ResponseSyntax) **   <a name="cloudfront-GetKeyGroupConfig-response-Name"></a>
A name to identify the key group.  
Type: String

## Errors
<a name="API_GetKeyGroupConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

## See Also
<a name="API_GetKeyGroupConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetKeyGroupConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetKeyGroupConfig) 

# GetManagedCertificateDetails
<a name="API_GetManagedCertificateDetails"></a>

Gets details about the CloudFront managed ACM certificate.

## Request Syntax
<a name="API_GetManagedCertificateDetails_RequestSyntax"></a>

```
GET /2020-05-31/managed-certificate/Identifier HTTP/1.1
```

## URI Request Parameters
<a name="API_GetManagedCertificateDetails_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_GetManagedCertificateDetails_RequestSyntax) **   <a name="cloudfront-GetManagedCertificateDetails-request-uri-Identifier"></a>
The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.  
Required: Yes

## Request Body
<a name="API_GetManagedCertificateDetails_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetManagedCertificateDetails_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ManagedCertificateDetails>
   <CertificateArn>string</CertificateArn>
   <CertificateStatus>string</CertificateStatus>
   <ValidationTokenDetails>
      <ValidationTokenDetail>
         <Domain>string</Domain>
         <RedirectFrom>string</RedirectFrom>
         <RedirectTo>string</RedirectTo>
      </ValidationTokenDetail>
   </ValidationTokenDetails>
   <ValidationTokenHost>string</ValidationTokenHost>
</ManagedCertificateDetails>
```

## Response Elements
<a name="API_GetManagedCertificateDetails_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ManagedCertificateDetails](#API_GetManagedCertificateDetails_ResponseSyntax) **   <a name="cloudfront-GetManagedCertificateDetails-response-ManagedCertificateDetails"></a>
Root level tag for the ManagedCertificateDetails parameters.  
Required: Yes

 ** [CertificateArn](#API_GetManagedCertificateDetails_ResponseSyntax) **   <a name="cloudfront-GetManagedCertificateDetails-response-CertificateArn"></a>
The ARN of the CloudFront managed ACM certificate.  
Type: String

 ** [CertificateStatus](#API_GetManagedCertificateDetails_ResponseSyntax) **   <a name="cloudfront-GetManagedCertificateDetails-response-CertificateStatus"></a>
The status of the CloudFront managed ACM certificate.  
Your distribution tenant will be updated with the latest certificate status. When calling the [UpdateDistributionTenant](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistributionTenant.html) operation, use the latest value for the `ETag`.
Type: String  
Valid Values: `pending-validation | issued | inactive | expired | validation-timed-out | revoked | failed` 

 ** [ValidationTokenDetails](#API_GetManagedCertificateDetails_ResponseSyntax) **   <a name="cloudfront-GetManagedCertificateDetails-response-ValidationTokenDetails"></a>
Contains details about the validation token of the specified CloudFront managed ACM certificate.  
Type: Array of [ValidationTokenDetail](API_ValidationTokenDetail.md) objects

 ** [ValidationTokenHost](#API_GetManagedCertificateDetails_ResponseSyntax) **   <a name="cloudfront-GetManagedCertificateDetails-response-ValidationTokenHost"></a>
Contains details about the validation token host of the specified CloudFront managed ACM certificate.  
+ For `cloudfront`, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.
+ For `self-hosted`, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront.
Type: String  
Valid Values: `cloudfront | self-hosted` 

## Errors
<a name="API_GetManagedCertificateDetails_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

## See Also
<a name="API_GetManagedCertificateDetails_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetManagedCertificateDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetManagedCertificateDetails) 

# GetMonitoringSubscription
<a name="API_GetMonitoringSubscription"></a>

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

## Request Syntax
<a name="API_GetMonitoringSubscription_RequestSyntax"></a>

```
GET /2020-05-31/distributions/DistributionId/monitoring-subscription HTTP/1.1
```

## URI Request Parameters
<a name="API_GetMonitoringSubscription_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DistributionId](#API_GetMonitoringSubscription_RequestSyntax) **   <a name="cloudfront-GetMonitoringSubscription-request-uri-DistributionId"></a>
The ID of the distribution that you are getting metrics information for.  
Required: Yes

## Request Body
<a name="API_GetMonitoringSubscription_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetMonitoringSubscription_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<MonitoringSubscription>
   <RealtimeMetricsSubscriptionConfig>
      <RealtimeMetricsSubscriptionStatus>string</RealtimeMetricsSubscriptionStatus>
   </RealtimeMetricsSubscriptionConfig>
</MonitoringSubscription>
```

## Response Elements
<a name="API_GetMonitoringSubscription_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [MonitoringSubscription](#API_GetMonitoringSubscription_ResponseSyntax) **   <a name="cloudfront-GetMonitoringSubscription-response-MonitoringSubscription"></a>
Root level tag for the MonitoringSubscription parameters.  
Required: Yes

 ** [RealtimeMetricsSubscriptionConfig](#API_GetMonitoringSubscription_ResponseSyntax) **   <a name="cloudfront-GetMonitoringSubscription-response-RealtimeMetricsSubscriptionConfig"></a>
A subscription configuration for additional CloudWatch metrics.  
Type: [RealtimeMetricsSubscriptionConfig](API_RealtimeMetricsSubscriptionConfig.md) object

## Errors
<a name="API_GetMonitoringSubscription_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** NoSuchMonitoringSubscription **   
A monitoring subscription does not exist for the specified distribution.  
HTTP Status Code: 404

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_GetMonitoringSubscription_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetMonitoringSubscription) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetMonitoringSubscription) 

# GetOriginAccessControl
<a name="API_GetOriginAccessControl"></a>

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

## Request Syntax
<a name="API_GetOriginAccessControl_RequestSyntax"></a>

```
GET /2020-05-31/origin-access-control/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetOriginAccessControl_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetOriginAccessControl_RequestSyntax) **   <a name="cloudfront-GetOriginAccessControl-request-uri-Id"></a>
The unique identifier of the origin access control.  
Required: Yes

## Request Body
<a name="API_GetOriginAccessControl_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetOriginAccessControl_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControl>
   <Id>string</Id>
   <OriginAccessControlConfig>
      <Description>string</Description>
      <Name>string</Name>
      <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
      <SigningBehavior>string</SigningBehavior>
      <SigningProtocol>string</SigningProtocol>
   </OriginAccessControlConfig>
</OriginAccessControl>
```

## Response Elements
<a name="API_GetOriginAccessControl_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginAccessControl](#API_GetOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControl-response-OriginAccessControl"></a>
Root level tag for the OriginAccessControl parameters.  
Required: Yes

 ** [Id](#API_GetOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControl-response-Id"></a>
The unique identifier of the origin access control.  
Type: String

 ** [OriginAccessControlConfig](#API_GetOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControl-response-OriginAccessControlConfig"></a>
The origin access control.  
Type: [OriginAccessControlConfig](API_OriginAccessControlConfig.md) object

## Errors
<a name="API_GetOriginAccessControl_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchOriginAccessControl **   
The origin access control does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetOriginAccessControl_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetOriginAccessControl) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetOriginAccessControl) 

# GetOriginAccessControlConfig
<a name="API_GetOriginAccessControlConfig"></a>

Gets a CloudFront origin access control configuration.

## Request Syntax
<a name="API_GetOriginAccessControlConfig_RequestSyntax"></a>

```
GET /2020-05-31/origin-access-control/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetOriginAccessControlConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetOriginAccessControlConfig_RequestSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-request-uri-Id"></a>
The unique identifier of the origin access control.  
Required: Yes

## Request Body
<a name="API_GetOriginAccessControlConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetOriginAccessControlConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControlConfig>
   <Description>string</Description>
   <Name>string</Name>
   <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
   <SigningBehavior>string</SigningBehavior>
   <SigningProtocol>string</SigningProtocol>
</OriginAccessControlConfig>
```

## Response Elements
<a name="API_GetOriginAccessControlConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginAccessControlConfig](#API_GetOriginAccessControlConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-response-OriginAccessControlConfig"></a>
Root level tag for the OriginAccessControlConfig parameters.  
Required: Yes

 ** [Description](#API_GetOriginAccessControlConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-response-Description"></a>
A description of the origin access control.  
Type: String

 ** [Name](#API_GetOriginAccessControlConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-response-Name"></a>
A name to identify the origin access control. You can specify up to 64 characters.  
Type: String

 ** [OriginAccessControlOriginType](#API_GetOriginAccessControlConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-response-OriginAccessControlOriginType"></a>
The type of origin that this origin access control is for.  
Type: String  
Valid Values: `s3 | mediastore | mediapackagev2 | lambda` 

 ** [SigningBehavior](#API_GetOriginAccessControlConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-response-SigningBehavior"></a>
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) in the *Amazon CloudFront Developer Guide*.  
This field can have one of the following values:  
+  `always` – CloudFront signs all origin requests, overwriting the `Authorization` header from the viewer request if one exists.
+  `never` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
+  `no-override` – If the viewer request doesn't contain the `Authorization` header, then CloudFront signs the origin request. If the viewer request contains the `Authorization` header, then CloudFront doesn't sign the origin request and instead passes along the `Authorization` header from the viewer request. **WARNING: To pass along the `Authorization` header from the viewer request, you *must* add the `Authorization` header to a [cache policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) for all cache behaviors that use origins associated with this origin access control.** 
Type: String  
Valid Values: `never | always | no-override` 

 ** [SigningProtocol](#API_GetOriginAccessControlConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginAccessControlConfig-response-SigningProtocol"></a>
The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is `sigv4`.  
Type: String  
Valid Values: `sigv4` 

## Errors
<a name="API_GetOriginAccessControlConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchOriginAccessControl **   
The origin access control does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetOriginAccessControlConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetOriginAccessControlConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetOriginAccessControlConfig) 

# GetOriginRequestPolicy
<a name="API_GetOriginRequestPolicy"></a>

Gets an origin request policy, including the following metadata:
+ The policy's identifier.
+ The date and time when the policy was last modified.

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

## Request Syntax
<a name="API_GetOriginRequestPolicy_RequestSyntax"></a>

```
GET /2020-05-31/origin-request-policy/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetOriginRequestPolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-GetOriginRequestPolicy-request-uri-Id"></a>
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`.  
Required: Yes

## Request Body
<a name="API_GetOriginRequestPolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetOriginRequestPolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicy>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <OriginRequestPolicyConfig>
      <Comment>string</Comment>
      <CookiesConfig>
         <CookieBehavior>string</CookieBehavior>
         <Cookies>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Cookies>
      </CookiesConfig>
      <HeadersConfig>
         <HeaderBehavior>string</HeaderBehavior>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
      </HeadersConfig>
      <Name>string</Name>
      <QueryStringsConfig>
         <QueryStringBehavior>string</QueryStringBehavior>
         <QueryStrings>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStrings>
      </QueryStringsConfig>
   </OriginRequestPolicyConfig>
</OriginRequestPolicy>
```

## Response Elements
<a name="API_GetOriginRequestPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginRequestPolicy](#API_GetOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicy-response-OriginRequestPolicy"></a>
Root level tag for the OriginRequestPolicy parameters.  
Required: Yes

 ** [Id](#API_GetOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicy-response-Id"></a>
The unique identifier for the origin request policy.  
Type: String

 ** [LastModifiedTime](#API_GetOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicy-response-LastModifiedTime"></a>
The date and time when the origin request policy was last modified.  
Type: Timestamp

 ** [OriginRequestPolicyConfig](#API_GetOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicy-response-OriginRequestPolicyConfig"></a>
The origin request policy configuration.  
Type: [OriginRequestPolicyConfig](API_OriginRequestPolicyConfig.md) object

## Errors
<a name="API_GetOriginRequestPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetOriginRequestPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetOriginRequestPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetOriginRequestPolicy) 

# GetOriginRequestPolicyConfig
<a name="API_GetOriginRequestPolicyConfig"></a>

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

## Request Syntax
<a name="API_GetOriginRequestPolicyConfig_RequestSyntax"></a>

```
GET /2020-05-31/origin-request-policy/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetOriginRequestPolicyConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetOriginRequestPolicyConfig_RequestSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-request-uri-Id"></a>
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`.  
Required: Yes

## Request Body
<a name="API_GetOriginRequestPolicyConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetOriginRequestPolicyConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicyConfig>
   <Comment>string</Comment>
   <CookiesConfig>
      <CookieBehavior>string</CookieBehavior>
      <Cookies>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </Cookies>
   </CookiesConfig>
   <HeadersConfig>
      <HeaderBehavior>string</HeaderBehavior>
      <Headers>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </Headers>
   </HeadersConfig>
   <Name>string</Name>
   <QueryStringsConfig>
      <QueryStringBehavior>string</QueryStringBehavior>
      <QueryStrings>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </QueryStrings>
   </QueryStringsConfig>
</OriginRequestPolicyConfig>
```

## Response Elements
<a name="API_GetOriginRequestPolicyConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginRequestPolicyConfig](#API_GetOriginRequestPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-response-OriginRequestPolicyConfig"></a>
Root level tag for the OriginRequestPolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_GetOriginRequestPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-response-Comment"></a>
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.  
Type: String

 ** [CookiesConfig](#API_GetOriginRequestPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-response-CookiesConfig"></a>
The cookies from viewer requests to include in origin requests.  
Type: [OriginRequestPolicyCookiesConfig](API_OriginRequestPolicyCookiesConfig.md) object

 ** [HeadersConfig](#API_GetOriginRequestPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-response-HeadersConfig"></a>
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.  
Type: [OriginRequestPolicyHeadersConfig](API_OriginRequestPolicyHeadersConfig.md) object

 ** [Name](#API_GetOriginRequestPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-response-Name"></a>
A unique name to identify the origin request policy.  
Type: String

 ** [QueryStringsConfig](#API_GetOriginRequestPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetOriginRequestPolicyConfig-response-QueryStringsConfig"></a>
The URL query strings from viewer requests to include in origin requests.  
Type: [OriginRequestPolicyQueryStringsConfig](API_OriginRequestPolicyQueryStringsConfig.md) object

## Errors
<a name="API_GetOriginRequestPolicyConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetOriginRequestPolicyConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetOriginRequestPolicyConfig) 

# GetPublicKey
<a name="API_GetPublicKey"></a>

Gets a public key.

## Request Syntax
<a name="API_GetPublicKey_RequestSyntax"></a>

```
GET /2020-05-31/public-key/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetPublicKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetPublicKey_RequestSyntax) **   <a name="cloudfront-GetPublicKey-request-uri-Id"></a>
The identifier of the public key you are getting.  
Required: Yes

## Request Body
<a name="API_GetPublicKey_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetPublicKey_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<PublicKey>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <PublicKeyConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <EncodedKey>string</EncodedKey>
      <Name>string</Name>
   </PublicKeyConfig>
</PublicKey>
```

## Response Elements
<a name="API_GetPublicKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [PublicKey](#API_GetPublicKey_ResponseSyntax) **   <a name="cloudfront-GetPublicKey-response-PublicKey"></a>
Root level tag for the PublicKey parameters.  
Required: Yes

 ** [CreatedTime](#API_GetPublicKey_ResponseSyntax) **   <a name="cloudfront-GetPublicKey-response-CreatedTime"></a>
The date and time when the public key was uploaded.  
Type: Timestamp

 ** [Id](#API_GetPublicKey_ResponseSyntax) **   <a name="cloudfront-GetPublicKey-response-Id"></a>
The identifier of the public key.  
Type: String

 ** [PublicKeyConfig](#API_GetPublicKey_ResponseSyntax) **   <a name="cloudfront-GetPublicKey-response-PublicKeyConfig"></a>
Configuration information about a public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).  
Type: [PublicKeyConfig](API_PublicKeyConfig.md) object

## Errors
<a name="API_GetPublicKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchPublicKey **   
The specified public key doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetPublicKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetPublicKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetPublicKey) 

# GetPublicKeyConfig
<a name="API_GetPublicKeyConfig"></a>

Gets a public key configuration.

## Request Syntax
<a name="API_GetPublicKeyConfig_RequestSyntax"></a>

```
GET /2020-05-31/public-key/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetPublicKeyConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetPublicKeyConfig_RequestSyntax) **   <a name="cloudfront-GetPublicKeyConfig-request-uri-Id"></a>
The identifier of the public key whose configuration you are getting.  
Required: Yes

## Request Body
<a name="API_GetPublicKeyConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetPublicKeyConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyConfig>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <EncodedKey>string</EncodedKey>
   <Name>string</Name>
</PublicKeyConfig>
```

## Response Elements
<a name="API_GetPublicKeyConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [PublicKeyConfig](#API_GetPublicKeyConfig_ResponseSyntax) **   <a name="cloudfront-GetPublicKeyConfig-response-PublicKeyConfig"></a>
Root level tag for the PublicKeyConfig parameters.  
Required: Yes

 ** [CallerReference](#API_GetPublicKeyConfig_ResponseSyntax) **   <a name="cloudfront-GetPublicKeyConfig-response-CallerReference"></a>
A string included in the request to help make sure that the request can't be replayed.  
Type: String

 ** [Comment](#API_GetPublicKeyConfig_ResponseSyntax) **   <a name="cloudfront-GetPublicKeyConfig-response-Comment"></a>
A comment to describe the public key. The comment cannot be longer than 128 characters.  
Type: String

 ** [EncodedKey](#API_GetPublicKeyConfig_ResponseSyntax) **   <a name="cloudfront-GetPublicKeyConfig-response-EncodedKey"></a>
The public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).  
Type: String

 ** [Name](#API_GetPublicKeyConfig_ResponseSyntax) **   <a name="cloudfront-GetPublicKeyConfig-response-Name"></a>
A name to help identify the public key.  
Type: String

## Errors
<a name="API_GetPublicKeyConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchPublicKey **   
The specified public key doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetPublicKeyConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetPublicKeyConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetPublicKeyConfig) 

# GetRealtimeLogConfig
<a name="API_GetRealtimeLogConfig"></a>

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.

## Request Syntax
<a name="API_GetRealtimeLogConfig_RequestSyntax"></a>

```
POST /2020-05-31/get-realtime-log-config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<GetRealtimeLogConfigRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ARN>string</ARN>
   <Name>string</Name>
</GetRealtimeLogConfigRequest>
```

## URI Request Parameters
<a name="API_GetRealtimeLogConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_GetRealtimeLogConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [GetRealtimeLogConfigRequest](#API_GetRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-GetRealtimeLogConfig-request-GetRealtimeLogConfigRequest"></a>
Root level tag for the GetRealtimeLogConfigRequest parameters.  
Required: Yes

 ** [ARN](#API_GetRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-GetRealtimeLogConfig-request-ARN"></a>
The Amazon Resource Name (ARN) of the real-time log configuration to get.  
Type: String  
Required: No

 ** [Name](#API_GetRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-GetRealtimeLogConfig-request-Name"></a>
The name of the real-time log configuration to get.  
Type: String  
Required: No

## Response Syntax
<a name="API_GetRealtimeLogConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<GetRealtimeLogConfigResult>
   <RealtimeLogConfig>
      <ARN>string</ARN>
      <EndPoints>
         <EndPoint>
            <KinesisStreamConfig>
               <RoleARN>string</RoleARN>
               <StreamARN>string</StreamARN>
            </KinesisStreamConfig>
            <StreamType>string</StreamType>
         </EndPoint>
      </EndPoints>
      <Fields>
         <Field>string</Field>
      </Fields>
      <Name>string</Name>
      <SamplingRate>long</SamplingRate>
   </RealtimeLogConfig>
</GetRealtimeLogConfigResult>
```

## Response Elements
<a name="API_GetRealtimeLogConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [GetRealtimeLogConfigResult](#API_GetRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-GetRealtimeLogConfig-response-GetRealtimeLogConfigResult"></a>
Root level tag for the GetRealtimeLogConfigResult parameters.  
Required: Yes

 ** [RealtimeLogConfig](#API_GetRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-GetRealtimeLogConfig-response-RealtimeLogConfig"></a>
A real-time log configuration.  
Type: [RealtimeLogConfig](API_RealtimeLogConfig.md) object

## Errors
<a name="API_GetRealtimeLogConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetRealtimeLogConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetRealtimeLogConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetRealtimeLogConfig) 

# GetResponseHeadersPolicy
<a name="API_GetResponseHeadersPolicy"></a>

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

## Request Syntax
<a name="API_GetResponseHeadersPolicy_RequestSyntax"></a>

```
GET /2020-05-31/response-headers-policy/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetResponseHeadersPolicy_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-GetResponseHeadersPolicy-request-uri-Id"></a>
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`.  
Required: Yes

## Request Body
<a name="API_GetResponseHeadersPolicy_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetResponseHeadersPolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicy>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <ResponseHeadersPolicyConfig>
      <Comment>string</Comment>
      <CorsConfig>
         <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
         <AccessControlAllowHeaders>
            <Items>
               <Header>string</Header>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowHeaders>
         <AccessControlAllowMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowMethods>
         <AccessControlAllowOrigins>
            <Items>
               <Origin>string</Origin>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowOrigins>
         <AccessControlExposeHeaders>
            <Items>
               <Header>string</Header>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlExposeHeaders>
         <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
         <OriginOverride>boolean</OriginOverride>
      </CorsConfig>
      <CustomHeadersConfig>
         <Items>
            <ResponseHeadersPolicyCustomHeader>
               <Header>string</Header>
               <Override>boolean</Override>
               <Value>string</Value>
            </ResponseHeadersPolicyCustomHeader>
         </Items>
         <Quantity>integer</Quantity>
      </CustomHeadersConfig>
      <Name>string</Name>
      <RemoveHeadersConfig>
         <Items>
            <ResponseHeadersPolicyRemoveHeader>
               <Header>string</Header>
            </ResponseHeadersPolicyRemoveHeader>
         </Items>
         <Quantity>integer</Quantity>
      </RemoveHeadersConfig>
      <SecurityHeadersConfig>
         <ContentSecurityPolicy>
            <ContentSecurityPolicy>string</ContentSecurityPolicy>
            <Override>boolean</Override>
         </ContentSecurityPolicy>
         <ContentTypeOptions>
            <Override>boolean</Override>
         </ContentTypeOptions>
         <FrameOptions>
            <FrameOption>string</FrameOption>
            <Override>boolean</Override>
         </FrameOptions>
         <ReferrerPolicy>
            <Override>boolean</Override>
            <ReferrerPolicy>string</ReferrerPolicy>
         </ReferrerPolicy>
         <StrictTransportSecurity>
            <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
            <IncludeSubdomains>boolean</IncludeSubdomains>
            <Override>boolean</Override>
            <Preload>boolean</Preload>
         </StrictTransportSecurity>
         <XSSProtection>
            <ModeBlock>boolean</ModeBlock>
            <Override>boolean</Override>
            <Protection>boolean</Protection>
            <ReportUri>string</ReportUri>
         </XSSProtection>
      </SecurityHeadersConfig>
      <ServerTimingHeadersConfig>
         <Enabled>boolean</Enabled>
         <SamplingRate>double</SamplingRate>
      </ServerTimingHeadersConfig>
   </ResponseHeadersPolicyConfig>
</ResponseHeadersPolicy>
```

## Response Elements
<a name="API_GetResponseHeadersPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ResponseHeadersPolicy](#API_GetResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicy-response-ResponseHeadersPolicy"></a>
Root level tag for the ResponseHeadersPolicy parameters.  
Required: Yes

 ** [Id](#API_GetResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicy-response-Id"></a>
The identifier for the response headers policy.  
Type: String

 ** [LastModifiedTime](#API_GetResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicy-response-LastModifiedTime"></a>
The date and time when the response headers policy was last modified.  
Type: Timestamp

 ** [ResponseHeadersPolicyConfig](#API_GetResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicy-response-ResponseHeadersPolicyConfig"></a>
A response headers policy configuration.  
Type: [ResponseHeadersPolicyConfig](API_ResponseHeadersPolicyConfig.md) object

## Errors
<a name="API_GetResponseHeadersPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetResponseHeadersPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetResponseHeadersPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetResponseHeadersPolicy) 

# GetResponseHeadersPolicyConfig
<a name="API_GetResponseHeadersPolicyConfig"></a>

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

## Request Syntax
<a name="API_GetResponseHeadersPolicyConfig_RequestSyntax"></a>

```
GET /2020-05-31/response-headers-policy/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetResponseHeadersPolicyConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetResponseHeadersPolicyConfig_RequestSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-request-uri-Id"></a>
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`.  
Required: Yes

## Request Body
<a name="API_GetResponseHeadersPolicyConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetResponseHeadersPolicyConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicyConfig>
   <Comment>string</Comment>
   <CorsConfig>
      <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
      <AccessControlAllowHeaders>
         <Items>
            <Header>string</Header>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowHeaders>
      <AccessControlAllowMethods>
         <Items>
            <Method>string</Method>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowMethods>
      <AccessControlAllowOrigins>
         <Items>
            <Origin>string</Origin>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowOrigins>
      <AccessControlExposeHeaders>
         <Items>
            <Header>string</Header>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlExposeHeaders>
      <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
      <OriginOverride>boolean</OriginOverride>
   </CorsConfig>
   <CustomHeadersConfig>
      <Items>
         <ResponseHeadersPolicyCustomHeader>
            <Header>string</Header>
            <Override>boolean</Override>
            <Value>string</Value>
         </ResponseHeadersPolicyCustomHeader>
      </Items>
      <Quantity>integer</Quantity>
   </CustomHeadersConfig>
   <Name>string</Name>
   <RemoveHeadersConfig>
      <Items>
         <ResponseHeadersPolicyRemoveHeader>
            <Header>string</Header>
         </ResponseHeadersPolicyRemoveHeader>
      </Items>
      <Quantity>integer</Quantity>
   </RemoveHeadersConfig>
   <SecurityHeadersConfig>
      <ContentSecurityPolicy>
         <ContentSecurityPolicy>string</ContentSecurityPolicy>
         <Override>boolean</Override>
      </ContentSecurityPolicy>
      <ContentTypeOptions>
         <Override>boolean</Override>
      </ContentTypeOptions>
      <FrameOptions>
         <FrameOption>string</FrameOption>
         <Override>boolean</Override>
      </FrameOptions>
      <ReferrerPolicy>
         <Override>boolean</Override>
         <ReferrerPolicy>string</ReferrerPolicy>
      </ReferrerPolicy>
      <StrictTransportSecurity>
         <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
         <IncludeSubdomains>boolean</IncludeSubdomains>
         <Override>boolean</Override>
         <Preload>boolean</Preload>
      </StrictTransportSecurity>
      <XSSProtection>
         <ModeBlock>boolean</ModeBlock>
         <Override>boolean</Override>
         <Protection>boolean</Protection>
         <ReportUri>string</ReportUri>
      </XSSProtection>
   </SecurityHeadersConfig>
   <ServerTimingHeadersConfig>
      <Enabled>boolean</Enabled>
      <SamplingRate>double</SamplingRate>
   </ServerTimingHeadersConfig>
</ResponseHeadersPolicyConfig>
```

## Response Elements
<a name="API_GetResponseHeadersPolicyConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ResponseHeadersPolicyConfig](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-ResponseHeadersPolicyConfig"></a>
Root level tag for the ResponseHeadersPolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-Comment"></a>
A comment to describe the response headers policy.  
The comment cannot be longer than 128 characters.  
Type: String

 ** [CorsConfig](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-CorsConfig"></a>
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).  
Type: [ResponseHeadersPolicyCorsConfig](API_ResponseHeadersPolicyCorsConfig.md) object

 ** [CustomHeadersConfig](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-CustomHeadersConfig"></a>
A configuration for a set of custom HTTP response headers.  
Type: [ResponseHeadersPolicyCustomHeadersConfig](API_ResponseHeadersPolicyCustomHeadersConfig.md) object

 ** [Name](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-Name"></a>
A name to identify the response headers policy.  
The name must be unique for response headers policies in this AWS account.  
Type: String

 ** [RemoveHeadersConfig](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-RemoveHeadersConfig"></a>
A configuration for a set of HTTP headers to remove from the HTTP response.  
Type: [ResponseHeadersPolicyRemoveHeadersConfig](API_ResponseHeadersPolicyRemoveHeadersConfig.md) object

 ** [SecurityHeadersConfig](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-SecurityHeadersConfig"></a>
A configuration for a set of security-related HTTP response headers.  
Type: [ResponseHeadersPolicySecurityHeadersConfig](API_ResponseHeadersPolicySecurityHeadersConfig.md) object

 ** [ServerTimingHeadersConfig](#API_GetResponseHeadersPolicyConfig_ResponseSyntax) **   <a name="cloudfront-GetResponseHeadersPolicyConfig-response-ServerTimingHeadersConfig"></a>
A configuration for enabling the `Server-Timing` header in HTTP responses sent from CloudFront.  
Type: [ResponseHeadersPolicyServerTimingHeadersConfig](API_ResponseHeadersPolicyServerTimingHeadersConfig.md) object

## Errors
<a name="API_GetResponseHeadersPolicyConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetResponseHeadersPolicyConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig) 

# GetStreamingDistribution
<a name="API_GetStreamingDistribution"></a>

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

## Request Syntax
<a name="API_GetStreamingDistribution_RequestSyntax"></a>

```
GET /2020-05-31/streaming-distribution/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetStreamingDistribution_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetStreamingDistribution_RequestSyntax) **   <a name="cloudfront-GetStreamingDistribution-request-uri-Id"></a>
The streaming distribution's ID.  
Required: Yes

## Request Body
<a name="API_GetStreamingDistribution_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetStreamingDistribution_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistribution>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <ARN>string</ARN>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <StreamingDistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <Enabled>boolean</Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <Prefix>string</Prefix>
      </Logging>
      <PriceClass>string</PriceClass>
      <S3Origin>
         <DomainName>string</DomainName>
         <OriginAccessIdentity>string</OriginAccessIdentity>
      </S3Origin>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
   </StreamingDistributionConfig>
</StreamingDistribution>
```

## Response Elements
<a name="API_GetStreamingDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [StreamingDistribution](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-StreamingDistribution"></a>
Root level tag for the StreamingDistribution parameters.  
Required: Yes

 ** [ActiveTrustedSigners](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-ActiveTrustedSigners"></a>
A complex type that lists the AWS accounts, if any, that you included in the `TrustedSigners` complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.  
The `Signer` complex type lists the AWS account number of the trusted signer or `self` if the signer is the AWS account that created the distribution. The `Signer` element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no `KeyPairId` element appears for a `Signer`, that signer can't create signed URLs.  
For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [ARN](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-ARN"></a>
The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.  
Type: String

 ** [DomainName](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-DomainName"></a>
The domain name that corresponds to the streaming distribution, for example, `s5c39gqb8ow64r.cloudfront.net`.  
Type: String

 ** [Id](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-Id"></a>
The identifier for the RTMP distribution. For example: `EGTXBD79EXAMPLE`.  
Type: String

 ** [LastModifiedTime](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-LastModifiedTime"></a>
The date and time that the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-Status"></a>
The current status of the RTMP distribution. When the status is `Deployed`, the distribution's information is propagated to all CloudFront edge locations.  
Type: String

 ** [StreamingDistributionConfig](#API_GetStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistribution-response-StreamingDistributionConfig"></a>
The current configuration information for the RTMP distribution.  
Type: [StreamingDistributionConfig](API_StreamingDistributionConfig.md) object

## Errors
<a name="API_GetStreamingDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchStreamingDistribution **   
The specified streaming distribution does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetStreamingDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetStreamingDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetStreamingDistribution) 

# GetStreamingDistributionConfig
<a name="API_GetStreamingDistributionConfig"></a>

Get the configuration information about a streaming distribution.

## Request Syntax
<a name="API_GetStreamingDistributionConfig_RequestSyntax"></a>

```
GET /2020-05-31/streaming-distribution/Id/config HTTP/1.1
```

## URI Request Parameters
<a name="API_GetStreamingDistributionConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetStreamingDistributionConfig_RequestSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-request-uri-Id"></a>
The streaming distribution's ID.  
Required: Yes

## Request Body
<a name="API_GetStreamingDistributionConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetStreamingDistributionConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionConfig>
   <Aliases>
      <Items>
         <CNAME>string</CNAME>
      </Items>
      <Quantity>integer</Quantity>
   </Aliases>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <Enabled>boolean</Enabled>
   <Logging>
      <Bucket>string</Bucket>
      <Enabled>boolean</Enabled>
      <Prefix>string</Prefix>
   </Logging>
   <PriceClass>string</PriceClass>
   <S3Origin>
      <DomainName>string</DomainName>
      <OriginAccessIdentity>string</OriginAccessIdentity>
   </S3Origin>
   <TrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <AwsAccountNumber>string</AwsAccountNumber>
      </Items>
      <Quantity>integer</Quantity>
   </TrustedSigners>
</StreamingDistributionConfig>
```

## Response Elements
<a name="API_GetStreamingDistributionConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [StreamingDistributionConfig](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-StreamingDistributionConfig"></a>
Root level tag for the StreamingDistributionConfig parameters.  
Required: Yes

 ** [Aliases](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-Aliases"></a>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.  
Type: [Aliases](API_Aliases.md) object

 ** [CallerReference](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-CallerReference"></a>
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.  
Type: String

 ** [Comment](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-Comment"></a>
Any comments you want to include about the streaming distribution.  
Type: String

 ** [Enabled](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-Enabled"></a>
Whether the streaming distribution is enabled to accept user requests for content.  
Type: Boolean

 ** [Logging](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-Logging"></a>
A complex type that controls whether access logs are written for the streaming distribution.  
Type: [StreamingLoggingConfig](API_StreamingLoggingConfig.md) object

 ** [PriceClass](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-PriceClass"></a>
A complex type that contains information about price class for this streaming distribution.  
Type: String  
Valid Values: `PriceClass_100 | PriceClass_200 | PriceClass_All | None` 

 ** [S3Origin](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-S3Origin"></a>
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.  
Type: [S3Origin](API_S3Origin.md) object

 ** [TrustedSigners](#API_GetStreamingDistributionConfig_ResponseSyntax) **   <a name="cloudfront-GetStreamingDistributionConfig-response-TrustedSigners"></a>
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [TrustedSigners](API_TrustedSigners.md) object

## Errors
<a name="API_GetStreamingDistributionConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** NoSuchStreamingDistribution **   
The specified streaming distribution does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_GetStreamingDistributionConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetStreamingDistributionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetStreamingDistributionConfig) 

# GetTrustStore
<a name="API_GetTrustStore"></a>

Gets a trust store.

## Request Syntax
<a name="API_GetTrustStore_RequestSyntax"></a>

```
GET /2020-05-31/trust-store/Identifier HTTP/1.1
```

## URI Request Parameters
<a name="API_GetTrustStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_GetTrustStore_RequestSyntax) **   <a name="cloudfront-GetTrustStore-request-uri-Identifier"></a>
The trust store's identifier.  
Required: Yes

## Request Body
<a name="API_GetTrustStore_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetTrustStore_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<TrustStore>
   <Arn>string</Arn>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <NumberOfCaCertificates>integer</NumberOfCaCertificates>
   <Reason>string</Reason>
   <Status>string</Status>
</TrustStore>
```

## Response Elements
<a name="API_GetTrustStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [TrustStore](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-TrustStore"></a>
Root level tag for the TrustStore parameters.  
Required: Yes

 ** [Arn](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-Arn"></a>
The trust store's Amazon Resource Name (ARN).  
Type: String

 ** [Id](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-Id"></a>
The trust store's ID.  
Type: String

 ** [LastModifiedTime](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-LastModifiedTime"></a>
The trust store's last modified time.  
Type: Timestamp

 ** [Name](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-Name"></a>
The trust store's name.  
Type: String

 ** [NumberOfCaCertificates](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-NumberOfCaCertificates"></a>
The trust store's number of CA certificates.  
Type: Integer

 ** [Reason](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-Reason"></a>
The trust store's reason.  
Type: String

 ** [Status](#API_GetTrustStore_ResponseSyntax) **   <a name="cloudfront-GetTrustStore-response-Status"></a>
The trust store's status.  
Type: String  
Valid Values: `pending | active | failed` 

## Errors
<a name="API_GetTrustStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_GetTrustStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetTrustStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetTrustStore) 

# GetVpcOrigin
<a name="API_GetVpcOrigin"></a>

Get the details of an Amazon CloudFront VPC origin.

## Request Syntax
<a name="API_GetVpcOrigin_RequestSyntax"></a>

```
GET /2020-05-31/vpc-origin/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_GetVpcOrigin_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_GetVpcOrigin_RequestSyntax) **   <a name="cloudfront-GetVpcOrigin-request-uri-Id"></a>
The VPC origin ID.  
Required: Yes

## Request Body
<a name="API_GetVpcOrigin_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetVpcOrigin_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<VpcOrigin>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <VpcOriginEndpointConfig>
      <Arn>string</Arn>
      <HTTPPort>integer</HTTPPort>
      <HTTPSPort>integer</HTTPSPort>
      <Name>string</Name>
      <OriginProtocolPolicy>string</OriginProtocolPolicy>
      <OriginSslProtocols>
         <Items>
            <SslProtocol>string</SslProtocol>
         </Items>
         <Quantity>integer</Quantity>
      </OriginSslProtocols>
   </VpcOriginEndpointConfig>
</VpcOrigin>
```

## Response Elements
<a name="API_GetVpcOrigin_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [VpcOrigin](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-VpcOrigin"></a>
Root level tag for the VpcOrigin parameters.  
Required: Yes

 ** [Arn](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-Arn"></a>
The VPC origin ARN.  
Type: String

 ** [CreatedTime](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-CreatedTime"></a>
The VPC origin created time.  
Type: Timestamp

 ** [Id](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-Id"></a>
The VPC origin ID.  
Type: String

 ** [LastModifiedTime](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-LastModifiedTime"></a>
The VPC origin last modified time.  
Type: Timestamp

 ** [Status](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-Status"></a>
The VPC origin status.  
Type: String

 ** [VpcOriginEndpointConfig](#API_GetVpcOrigin_ResponseSyntax) **   <a name="cloudfront-GetVpcOrigin-response-VpcOriginEndpointConfig"></a>
The VPC origin endpoint configuration.  
Type: [VpcOriginEndpointConfig](API_VpcOriginEndpointConfig.md) object

## Errors
<a name="API_GetVpcOrigin_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_GetVpcOrigin_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/GetVpcOrigin) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/GetVpcOrigin) 

# ListAnycastIpLists
<a name="API_ListAnycastIpLists"></a>

Lists your Anycast static IP lists.

## Request Syntax
<a name="API_ListAnycastIpLists_RequestSyntax"></a>

```
GET /2020-05-31/anycast-ip-list?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListAnycastIpLists_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListAnycastIpLists_RequestSyntax) **   <a name="cloudfront-ListAnycastIpLists-request-uri-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.

 ** [MaxItems](#API_ListAnycastIpLists_RequestSyntax) **   <a name="cloudfront-ListAnycastIpLists-request-uri-MaxItems"></a>
The maximum number of Anycast static IP lists that you want returned in the response.

## Request Body
<a name="API_ListAnycastIpLists_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListAnycastIpLists_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<AnycastIpListCollection>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <AnycastIpListSummary>
         <Arn>string</Arn>
         <ETag>string</ETag>
         <Id>string</Id>
         <IpAddressType>string</IpAddressType>
         <IpamConfig>
            <IpamCidrConfigs>
               <IpamCidrConfig>
                  <AnycastIp>string</AnycastIp>
                  <Cidr>string</Cidr>
                  <IpamPoolArn>string</IpamPoolArn>
                  <Status>string</Status>
               </IpamCidrConfig>
            </IpamCidrConfigs>
            <Quantity>integer</Quantity>
         </IpamConfig>
         <IpCount>integer</IpCount>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <Status>string</Status>
      </AnycastIpListSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</AnycastIpListCollection>
```

## Response Elements
<a name="API_ListAnycastIpLists_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [AnycastIpListCollection](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-AnycastIpLists"></a>
Root level tag for the AnycastIpListCollection parameters.  
Required: Yes

 ** [IsTruncated](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-IsTruncated"></a>
If there are more items in the list collection than are in this response, this value is `true`.  
Type: Boolean

 ** [Items](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-Items"></a>
Items in the Anycast static IP list collection. Each item is of the [AnycastIpListSummary](API_AnycastIpListSummary.md) structure type.  
Type: Array of [AnycastIpListSummary](API_AnycastIpListSummary.md) objects

 ** [Marker](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.  
Type: String

 ** [MaxItems](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-MaxItems"></a>
The maximum number of Anycast static IP list collections that you want returned in the response.  
Type: Integer

 ** [NextMarker](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-NextMarker"></a>
Indicates the next page of the Anycast static IP list collection. To get the next page of the list, use this value in the `Marker` field of your request.  
Type: String

 ** [Quantity](#API_ListAnycastIpLists_ResponseSyntax) **   <a name="cloudfront-ListAnycastIpLists-response-Quantity"></a>
The quantity of Anycast static IP lists in the collection.  
Type: Integer

## Errors
<a name="API_ListAnycastIpLists_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListAnycastIpLists_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListAnycastIpLists) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListAnycastIpLists) 

# ListCachePolicies
<a name="API_ListCachePolicies"></a>

Gets a list of cache policies.

You can optionally apply a filter to return only the managed policies created by AWS, or only the custom policies created in your AWS 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.

## Request Syntax
<a name="API_ListCachePolicies_RequestSyntax"></a>

```
GET /2020-05-31/cache-policy?Marker=Marker&MaxItems=MaxItems&Type=Type HTTP/1.1
```

## URI Request Parameters
<a name="API_ListCachePolicies_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListCachePolicies_RequestSyntax) **   <a name="cloudfront-ListCachePolicies-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListCachePolicies_RequestSyntax) **   <a name="cloudfront-ListCachePolicies-request-uri-MaxItems"></a>
The maximum number of cache policies that you want in the response.

 ** [Type](#API_ListCachePolicies_RequestSyntax) **   <a name="cloudfront-ListCachePolicies-request-uri-Type"></a>
A filter to return only the specified kinds of cache policies. Valid values are:  
+  `managed` – Returns only the managed policies created by AWS.
+  `custom` – Returns only the custom policies created in your AWS account.
Valid Values: `managed | custom` 

## Request Body
<a name="API_ListCachePolicies_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListCachePolicies_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicyList>
   <Items>
      <CachePolicySummary>
         <CachePolicy>
            <CachePolicyConfig>
               <Comment>string</Comment>
               <DefaultTTL>long</DefaultTTL>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <Name>string</Name>
               <ParametersInCacheKeyAndForwardedToOrigin>
                  <CookiesConfig>
                     <CookieBehavior>string</CookieBehavior>
                     <Cookies>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Cookies>
                  </CookiesConfig>
                  <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
                  <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
                  <HeadersConfig>
                     <HeaderBehavior>string</HeaderBehavior>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                  </HeadersConfig>
                  <QueryStringsConfig>
                     <QueryStringBehavior>string</QueryStringBehavior>
                     <QueryStrings>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStrings>
                  </QueryStringsConfig>
               </ParametersInCacheKeyAndForwardedToOrigin>
            </CachePolicyConfig>
            <Id>string</Id>
            <LastModifiedTime>timestamp</LastModifiedTime>
         </CachePolicy>
         <Type>string</Type>
      </CachePolicySummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</CachePolicyList>
```

## Response Elements
<a name="API_ListCachePolicies_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CachePolicyList](#API_ListCachePolicies_ResponseSyntax) **   <a name="cloudfront-ListCachePolicies-response-CachePolicyList"></a>
Root level tag for the CachePolicyList parameters.  
Required: Yes

 ** [Items](#API_ListCachePolicies_ResponseSyntax) **   <a name="cloudfront-ListCachePolicies-response-Items"></a>
Contains the cache policies in the list.  
Type: Array of [CachePolicySummary](API_CachePolicySummary.md) objects

 ** [MaxItems](#API_ListCachePolicies_ResponseSyntax) **   <a name="cloudfront-ListCachePolicies-response-MaxItems"></a>
The maximum number of cache policies requested.  
Type: Integer

 ** [NextMarker](#API_ListCachePolicies_ResponseSyntax) **   <a name="cloudfront-ListCachePolicies-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListCachePolicies_ResponseSyntax) **   <a name="cloudfront-ListCachePolicies-response-Quantity"></a>
The total number of cache policies returned in the response.  
Type: Integer

## Errors
<a name="API_ListCachePolicies_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListCachePolicies_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListCachePolicies) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListCachePolicies) 

# ListCloudFrontOriginAccessIdentities
<a name="API_ListCloudFrontOriginAccessIdentities"></a>

Lists origin access identities.

## Request Syntax
<a name="API_ListCloudFrontOriginAccessIdentities_RequestSyntax"></a>

```
GET /2020-05-31/origin-access-identity/cloudfront?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListCloudFrontOriginAccessIdentities_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListCloudFrontOriginAccessIdentities_RequestSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-request-uri-Marker"></a>
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).

 ** [MaxItems](#API_ListCloudFrontOriginAccessIdentities_RequestSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-request-uri-MaxItems"></a>
The maximum number of origin access identities you want in the response body.

## Request Body
<a name="API_ListCloudFrontOriginAccessIdentities_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListCloudFrontOriginAccessIdentities_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentityList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <CloudFrontOriginAccessIdentitySummary>
         <Comment>string</Comment>
         <Id>string</Id>
         <S3CanonicalUserId>string</S3CanonicalUserId>
      </CloudFrontOriginAccessIdentitySummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</CloudFrontOriginAccessIdentityList>
```

## Response Elements
<a name="API_ListCloudFrontOriginAccessIdentities_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CloudFrontOriginAccessIdentityList](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-CloudFrontOriginAccessIdentityList"></a>
Root level tag for the CloudFrontOriginAccessIdentityList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-Items"></a>
A complex type that contains one `CloudFrontOriginAccessIdentitySummary` element for each origin access identity that was created by the current AWS account.  
Type: Array of [CloudFrontOriginAccessIdentitySummary](API_CloudFrontOriginAccessIdentitySummary.md) objects

 ** [Marker](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-Marker"></a>
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).  
Type: String

 ** [MaxItems](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-MaxItems"></a>
The maximum number of origin access identities you want in the response body.  
Type: Integer

 ** [NextMarker](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListCloudFrontOriginAccessIdentities_ResponseSyntax) **   <a name="cloudfront-ListCloudFrontOriginAccessIdentities-response-Quantity"></a>
The number of CloudFront origin access identities that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListCloudFrontOriginAccessIdentities_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListCloudFrontOriginAccessIdentities_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities) 

# ListConflictingAliases
<a name="API_ListConflictingAliases"></a>

**Note**  
The `ListConflictingAliases` API operation only supports standard distributions. To list domain conflicts for both standard distributions and distribution tenants, we recommend that you use the [ListDomainConflicts](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDomainConflicts.html) API operation instead.

Gets a list of aliases that conflict or overlap with the provided alias, and the associated CloudFront standard distribution and AWS accounts for each conflicting alias. An alias is commonly known as a custom domain or vanity domain. It can also be called a CNAME or alternate domain name.

In the returned list, the standard distribution and account IDs are partially hidden, which allows you to identify the standard distribution and accounts that you own, and 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, specify the alias to search and the ID of a standard distribution in your account that has an attached TLS certificate that includes the provided alias. For more information, including how to set up the standard distribution and certificate, see [Moving an alternate domain name to a different standard distribution or distribution tenant](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move) 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.

## Request Syntax
<a name="API_ListConflictingAliases_RequestSyntax"></a>

```
GET /2020-05-31/conflicting-alias?Alias=Alias&DistributionId=DistributionId&Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListConflictingAliases_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Alias](#API_ListConflictingAliases_RequestSyntax) **   <a name="cloudfront-ListConflictingAliases-request-uri-Alias"></a>
The alias (also called a CNAME) to search for conflicting aliases.  
Length Constraints: Minimum length of 0. Maximum length of 253.  
Required: Yes

 ** [DistributionId](#API_ListConflictingAliases_RequestSyntax) **   <a name="cloudfront-ListConflictingAliases-request-uri-DistributionId"></a>
The ID of a standard distribution in your account that has an attached TLS certificate that includes the provided alias.  
Length Constraints: Minimum length of 0. Maximum length of 25.  
Required: Yes

 ** [Marker](#API_ListConflictingAliases_RequestSyntax) **   <a name="cloudfront-ListConflictingAliases-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListConflictingAliases_RequestSyntax) **   <a name="cloudfront-ListConflictingAliases-request-uri-MaxItems"></a>
The maximum number of conflicting aliases that you want in the response.  
Valid Range: Maximum value of 100.

## Request Body
<a name="API_ListConflictingAliases_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListConflictingAliases_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConflictingAliasesList>
   <Items>
      <ConflictingAlias>
         <AccountId>string</AccountId>
         <Alias>string</Alias>
         <DistributionId>string</DistributionId>
      </ConflictingAlias>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</ConflictingAliasesList>
```

## Response Elements
<a name="API_ListConflictingAliases_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConflictingAliasesList](#API_ListConflictingAliases_ResponseSyntax) **   <a name="cloudfront-ListConflictingAliases-response-ConflictingAliasesList"></a>
Root level tag for the ConflictingAliasesList parameters.  
Required: Yes

 ** [Items](#API_ListConflictingAliases_ResponseSyntax) **   <a name="cloudfront-ListConflictingAliases-response-Items"></a>
Contains the conflicting aliases in the list.  
Type: Array of [ConflictingAlias](API_ConflictingAlias.md) objects

 ** [MaxItems](#API_ListConflictingAliases_ResponseSyntax) **   <a name="cloudfront-ListConflictingAliases-response-MaxItems"></a>
The maximum number of conflicting aliases requested.  
Type: Integer

 ** [NextMarker](#API_ListConflictingAliases_ResponseSyntax) **   <a name="cloudfront-ListConflictingAliases-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListConflictingAliases_ResponseSyntax) **   <a name="cloudfront-ListConflictingAliases-response-Quantity"></a>
The number of conflicting aliases returned in the response.  
Type: Integer

## Errors
<a name="API_ListConflictingAliases_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListConflictingAliases_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListConflictingAliases) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListConflictingAliases) 

# ListConnectionFunctions
<a name="API_ListConnectionFunctions"></a>

Lists connection functions.

## Request Syntax
<a name="API_ListConnectionFunctions_RequestSyntax"></a>

```
POST /2020-05-31/connection-functions HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListConnectionFunctionsRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <Stage>string</Stage>
</ListConnectionFunctionsRequest>
```

## URI Request Parameters
<a name="API_ListConnectionFunctions_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListConnectionFunctions_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListConnectionFunctionsRequest](#API_ListConnectionFunctions_RequestSyntax) **   <a name="cloudfront-ListConnectionFunctions-request-ListConnectionFunctionsRequest"></a>
Root level tag for the ListConnectionFunctionsRequest parameters.  
Required: Yes

 ** [Marker](#API_ListConnectionFunctions_RequestSyntax) **   <a name="cloudfront-ListConnectionFunctions-request-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.  
Type: String  
Required: No

 ** [MaxItems](#API_ListConnectionFunctions_RequestSyntax) **   <a name="cloudfront-ListConnectionFunctions-request-MaxItems"></a>
The maximum number of connection functions that you want returned in the response.  
Type: Integer  
Required: No

 ** [Stage](#API_ListConnectionFunctions_RequestSyntax) **   <a name="cloudfront-ListConnectionFunctions-request-Stage"></a>
The connection function's stage.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE`   
Required: No

## Response Syntax
<a name="API_ListConnectionFunctions_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListConnectionFunctionsResult>
   <ConnectionFunctions>
      <ConnectionFunctionSummary>
         <ConnectionFunctionArn>string</ConnectionFunctionArn>
         <ConnectionFunctionConfig>
            <Comment>string</Comment>
            <KeyValueStoreAssociations>
               <Items>
                  <KeyValueStoreAssociation>
                     <KeyValueStoreARN>string</KeyValueStoreARN>
                  </KeyValueStoreAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </KeyValueStoreAssociations>
            <Runtime>string</Runtime>
         </ConnectionFunctionConfig>
         <CreatedTime>timestamp</CreatedTime>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <Stage>string</Stage>
         <Status>string</Status>
      </ConnectionFunctionSummary>
   </ConnectionFunctions>
   <NextMarker>string</NextMarker>
</ListConnectionFunctionsResult>
```

## Response Elements
<a name="API_ListConnectionFunctions_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ListConnectionFunctionsResult](#API_ListConnectionFunctions_ResponseSyntax) **   <a name="cloudfront-ListConnectionFunctions-response-ListConnectionFunctionsResult"></a>
Root level tag for the ListConnectionFunctionsResult parameters.  
Required: Yes

 ** [ConnectionFunctions](#API_ListConnectionFunctions_ResponseSyntax) **   <a name="cloudfront-ListConnectionFunctions-response-ConnectionFunctions"></a>
A list of connection functions.  
Type: Array of [ConnectionFunctionSummary](API_ConnectionFunctionSummary.md) objects

 ** [NextMarker](#API_ListConnectionFunctions_ResponseSyntax) **   <a name="cloudfront-ListConnectionFunctions-response-NextMarker"></a>
Indicates the next page of connection functions. To get the next page of the list, use this value in the `Marker` field of your request.  
Type: String

## Errors
<a name="API_ListConnectionFunctions_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListConnectionFunctions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListConnectionFunctions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListConnectionFunctions) 

# ListConnectionGroups
<a name="API_ListConnectionGroups"></a>

Lists the connection groups in your AWS account.

## Request Syntax
<a name="API_ListConnectionGroups_RequestSyntax"></a>

```
POST /2020-05-31/connection-groups HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListConnectionGroupsRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <AssociationFilter>
      <AnycastIpListId>string</AnycastIpListId>
   </AssociationFilter>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
</ListConnectionGroupsRequest>
```

## URI Request Parameters
<a name="API_ListConnectionGroups_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListConnectionGroups_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListConnectionGroupsRequest](#API_ListConnectionGroups_RequestSyntax) **   <a name="cloudfront-ListConnectionGroups-request-ListConnectionGroupsRequest"></a>
Root level tag for the ListConnectionGroupsRequest parameters.  
Required: Yes

 ** [AssociationFilter](#API_ListConnectionGroups_RequestSyntax) **   <a name="cloudfront-ListConnectionGroups-request-AssociationFilter"></a>
Filter by associated Anycast IP list ID.  
Type: [ConnectionGroupAssociationFilter](API_ConnectionGroupAssociationFilter.md) object  
Required: No

 ** [Marker](#API_ListConnectionGroups_RequestSyntax) **   <a name="cloudfront-ListConnectionGroups-request-Marker"></a>
The marker for the next set of connection groups to retrieve.  
Type: String  
Required: No

 ** [MaxItems](#API_ListConnectionGroups_RequestSyntax) **   <a name="cloudfront-ListConnectionGroups-request-MaxItems"></a>
The maximum number of connection groups to return.  
Type: Integer  
Required: No

## Response Syntax
<a name="API_ListConnectionGroups_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListConnectionGroupsResult>
   <ConnectionGroups>
      <ConnectionGroupSummary>
         <AnycastIpListId>string</AnycastIpListId>
         <Arn>string</Arn>
         <CreatedTime>timestamp</CreatedTime>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <Id>string</Id>
         <IsDefault>boolean</IsDefault>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <RoutingEndpoint>string</RoutingEndpoint>
         <Status>string</Status>
      </ConnectionGroupSummary>
   </ConnectionGroups>
   <NextMarker>string</NextMarker>
</ListConnectionGroupsResult>
```

## Response Elements
<a name="API_ListConnectionGroups_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ListConnectionGroupsResult](#API_ListConnectionGroups_ResponseSyntax) **   <a name="cloudfront-ListConnectionGroups-response-ListConnectionGroupsResult"></a>
Root level tag for the ListConnectionGroupsResult parameters.  
Required: Yes

 ** [ConnectionGroups](#API_ListConnectionGroups_ResponseSyntax) **   <a name="cloudfront-ListConnectionGroups-response-ConnectionGroups"></a>
The list of connection groups that you retrieved.  
Type: Array of [ConnectionGroupSummary](API_ConnectionGroupSummary.md) objects

 ** [NextMarker](#API_ListConnectionGroups_ResponseSyntax) **   <a name="cloudfront-ListConnectionGroups-response-NextMarker"></a>
A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.  
Type: String

## Errors
<a name="API_ListConnectionGroups_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListConnectionGroups_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListConnectionGroups) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListConnectionGroups) 

# ListContinuousDeploymentPolicies
<a name="API_ListContinuousDeploymentPolicies"></a>

Gets a list of the continuous deployment policies in your AWS 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.

## Request Syntax
<a name="API_ListContinuousDeploymentPolicies_RequestSyntax"></a>

```
GET /2020-05-31/continuous-deployment-policy?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListContinuousDeploymentPolicies_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListContinuousDeploymentPolicies_RequestSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListContinuousDeploymentPolicies_RequestSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-request-uri-MaxItems"></a>
The maximum number of continuous deployment policies that you want returned in the response.

## Request Body
<a name="API_ListContinuousDeploymentPolicies_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListContinuousDeploymentPolicies_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicyList>
   <Items>
      <ContinuousDeploymentPolicySummary>
         <ContinuousDeploymentPolicy>
            <ContinuousDeploymentPolicyConfig>
               <Enabled>boolean</Enabled>
               <StagingDistributionDnsNames>
                  <Items>
                     <DnsName>string</DnsName>
                  </Items>
                  <Quantity>integer</Quantity>
               </StagingDistributionDnsNames>
               <TrafficConfig>
                  <SingleHeaderConfig>
                     <Header>string</Header>
                     <Value>string</Value>
                  </SingleHeaderConfig>
                  <SingleWeightConfig>
                     <SessionStickinessConfig>
                        <IdleTTL>integer</IdleTTL>
                        <MaximumTTL>integer</MaximumTTL>
                     </SessionStickinessConfig>
                     <Weight>float</Weight>
                  </SingleWeightConfig>
                  <Type>string</Type>
               </TrafficConfig>
            </ContinuousDeploymentPolicyConfig>
            <Id>string</Id>
            <LastModifiedTime>timestamp</LastModifiedTime>
         </ContinuousDeploymentPolicy>
      </ContinuousDeploymentPolicySummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</ContinuousDeploymentPolicyList>
```

## Response Elements
<a name="API_ListContinuousDeploymentPolicies_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ContinuousDeploymentPolicyList](#API_ListContinuousDeploymentPolicies_ResponseSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-response-ContinuousDeploymentPolicyList"></a>
Root level tag for the ContinuousDeploymentPolicyList parameters.  
Required: Yes

 ** [Items](#API_ListContinuousDeploymentPolicies_ResponseSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-response-Items"></a>
A list of continuous deployment policy items.  
Type: Array of [ContinuousDeploymentPolicySummary](API_ContinuousDeploymentPolicySummary.md) objects

 ** [MaxItems](#API_ListContinuousDeploymentPolicies_ResponseSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-response-MaxItems"></a>
The maximum number of continuous deployment policies that were specified in your request.  
Type: Integer

 ** [NextMarker](#API_ListContinuousDeploymentPolicies_ResponseSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListContinuousDeploymentPolicies_ResponseSyntax) **   <a name="cloudfront-ListContinuousDeploymentPolicies-response-Quantity"></a>
The total number of continuous deployment policies in your AWS account, regardless of the `MaxItems` value.  
Type: Integer

## Errors
<a name="API_ListContinuousDeploymentPolicies_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListContinuousDeploymentPolicies_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListContinuousDeploymentPolicies) 

# ListDistributions
<a name="API_ListDistributions"></a>

List CloudFront distributions.

## Request Syntax
<a name="API_ListDistributions_RequestSyntax"></a>

```
GET /2020-05-31/distribution?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributions_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListDistributions_RequestSyntax) **   <a name="cloudfront-ListDistributions-request-uri-Marker"></a>
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).

 ** [MaxItems](#API_ListDistributions_RequestSyntax) **   <a name="cloudfront-ListDistributions-request-uri-MaxItems"></a>
The maximum number of distributions you want in the response body.

## Request Body
<a name="API_ListDistributions_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributions_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributions_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributions_ResponseSyntax) **   <a name="cloudfront-ListDistributions-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributions_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributions) 

# ListDistributionsByAnycastIpListId
<a name="API_ListDistributionsByAnycastIpListId"></a>

Lists the distributions in your account that are associated with the specified `AnycastIpListId`.

## Request Syntax
<a name="API_ListDistributionsByAnycastIpListId_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByAnycastIpListId/AnycastIpListId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByAnycastIpListId_RequestParameters"></a>

The request uses the following URI parameters.

 ** [AnycastIpListId](#API_ListDistributionsByAnycastIpListId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-request-uri-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Required: Yes

 ** [Marker](#API_ListDistributionsByAnycastIpListId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-request-uri-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.

 ** [MaxItems](#API_ListDistributionsByAnycastIpListId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-request-uri-MaxItems"></a>
The maximum number of distributions that you want returned in the response.

## Request Body
<a name="API_ListDistributionsByAnycastIpListId_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByAnycastIpListId_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributionsByAnycastIpListId_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributionsByAnycastIpListId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByAnycastIpListId-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributionsByAnycastIpListId_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByAnycastIpListId_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId) 

# ListDistributionsByCachePolicyId
<a name="API_ListDistributionsByCachePolicyId"></a>

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.

## Request Syntax
<a name="API_ListDistributionsByCachePolicyId_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByCachePolicyId/CachePolicyId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByCachePolicyId_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CachePolicyId](#API_ListDistributionsByCachePolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-request-uri-CachePolicyId"></a>
The ID of the cache policy whose associated distribution IDs you want to list.  
Required: Yes

 ** [Marker](#API_ListDistributionsByCachePolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListDistributionsByCachePolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-request-uri-MaxItems"></a>
The maximum number of distribution IDs that you want in the response.

## Request Body
<a name="API_ListDistributionsByCachePolicyId_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByCachePolicyId_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionIdList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionId>string</DistributionId>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionIdList>
```

## Response Elements
<a name="API_ListDistributionsByCachePolicyId_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionIdList](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-DistributionIdList"></a>
Root level tag for the DistributionIdList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-Items"></a>
Contains the distribution IDs in the list.  
Type: Array of strings

 ** [Marker](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-Marker"></a>
The value provided in the `Marker` request field.  
Type: String

 ** [MaxItems](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-MaxItems"></a>
The maximum number of distribution IDs requested.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-NextMarker"></a>
Contains the value that you should use in the `Marker` field of a subsequent request to continue listing distribution IDs where you left off.  
Type: String

 ** [Quantity](#API_ListDistributionsByCachePolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByCachePolicyId-response-Quantity"></a>
The total number of distribution IDs returned in the response.  
Type: Integer

## Errors
<a name="API_ListDistributionsByCachePolicyId_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListDistributionsByCachePolicyId_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByCachePolicyId) 

# ListDistributionsByConnectionFunction
<a name="API_ListDistributionsByConnectionFunction"></a>

Lists distributions by connection function.

## Request Syntax
<a name="API_ListDistributionsByConnectionFunction_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByConnectionFunction?ConnectionFunctionIdentifier=ConnectionFunctionIdentifier&Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ConnectionFunctionIdentifier](#API_ListDistributionsByConnectionFunction_RequestSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-request-uri-ConnectionFunctionIdentifier"></a>
The distributions by connection function identifier.  
Required: Yes

 ** [Marker](#API_ListDistributionsByConnectionFunction_RequestSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-request-uri-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.

 ** [MaxItems](#API_ListDistributionsByConnectionFunction_RequestSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-request-uri-MaxItems"></a>
The maximum number of distributions that you want returned in the response.

## Request Body
<a name="API_ListDistributionsByConnectionFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributionsByConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributionsByConnectionFunction_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionFunction-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributionsByConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByConnectionFunction) 

# ListDistributionsByConnectionMode
<a name="API_ListDistributionsByConnectionMode"></a>

Lists the distributions by the connection mode that you specify.

## Request Syntax
<a name="API_ListDistributionsByConnectionMode_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByConnectionMode/ConnectionMode?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByConnectionMode_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ConnectionMode](#API_ListDistributionsByConnectionMode_RequestSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-request-uri-ConnectionMode"></a>
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).  
Valid Values: `direct | tenant-only`   
Required: Yes

 ** [Marker](#API_ListDistributionsByConnectionMode_RequestSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-request-uri-Marker"></a>
 The marker for the next set of distributions to retrieve.

 ** [MaxItems](#API_ListDistributionsByConnectionMode_RequestSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-request-uri-MaxItems"></a>
The maximum number of distributions to return.

## Request Body
<a name="API_ListDistributionsByConnectionMode_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByConnectionMode_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributionsByConnectionMode_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributionsByConnectionMode_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByConnectionMode-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributionsByConnectionMode_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByConnectionMode_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByConnectionMode) 

# ListDistributionsByKeyGroup
<a name="API_ListDistributionsByKeyGroup"></a>

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.

## Request Syntax
<a name="API_ListDistributionsByKeyGroup_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByKeyGroupId/KeyGroupId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByKeyGroup_RequestParameters"></a>

The request uses the following URI parameters.

 ** [KeyGroupId](#API_ListDistributionsByKeyGroup_RequestSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-request-uri-KeyGroupId"></a>
The ID of the key group whose associated distribution IDs you are listing.  
Required: Yes

 ** [Marker](#API_ListDistributionsByKeyGroup_RequestSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListDistributionsByKeyGroup_RequestSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-request-uri-MaxItems"></a>
The maximum number of distribution IDs that you want in the response.

## Request Body
<a name="API_ListDistributionsByKeyGroup_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByKeyGroup_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionIdList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionId>string</DistributionId>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionIdList>
```

## Response Elements
<a name="API_ListDistributionsByKeyGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionIdList](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-DistributionIdList"></a>
Root level tag for the DistributionIdList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-Items"></a>
Contains the distribution IDs in the list.  
Type: Array of strings

 ** [Marker](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-Marker"></a>
The value provided in the `Marker` request field.  
Type: String

 ** [MaxItems](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-MaxItems"></a>
The maximum number of distribution IDs requested.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-NextMarker"></a>
Contains the value that you should use in the `Marker` field of a subsequent request to continue listing distribution IDs where you left off.  
Type: String

 ** [Quantity](#API_ListDistributionsByKeyGroup_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByKeyGroup-response-Quantity"></a>
The total number of distribution IDs returned in the response.  
Type: Integer

## Errors
<a name="API_ListDistributionsByKeyGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

## See Also
<a name="API_ListDistributionsByKeyGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByKeyGroup) 

# ListDistributionsByOriginRequestPolicyId
<a name="API_ListDistributionsByOriginRequestPolicyId"></a>

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.

## Request Syntax
<a name="API_ListDistributionsByOriginRequestPolicyId_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByOriginRequestPolicyId/OriginRequestPolicyId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByOriginRequestPolicyId_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListDistributionsByOriginRequestPolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListDistributionsByOriginRequestPolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-request-uri-MaxItems"></a>
The maximum number of distribution IDs that you want in the response.

 ** [OriginRequestPolicyId](#API_ListDistributionsByOriginRequestPolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-request-uri-OriginRequestPolicyId"></a>
The ID of the origin request policy whose associated distribution IDs you want to list.  
Required: Yes

## Request Body
<a name="API_ListDistributionsByOriginRequestPolicyId_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionIdList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionId>string</DistributionId>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionIdList>
```

## Response Elements
<a name="API_ListDistributionsByOriginRequestPolicyId_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionIdList](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-DistributionIdList"></a>
Root level tag for the DistributionIdList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-Items"></a>
Contains the distribution IDs in the list.  
Type: Array of strings

 ** [Marker](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-Marker"></a>
The value provided in the `Marker` request field.  
Type: String

 ** [MaxItems](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-MaxItems"></a>
The maximum number of distribution IDs requested.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-NextMarker"></a>
Contains the value that you should use in the `Marker` field of a subsequent request to continue listing distribution IDs where you left off.  
Type: String

 ** [Quantity](#API_ListDistributionsByOriginRequestPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByOriginRequestPolicyId-response-Quantity"></a>
The total number of distribution IDs returned in the response.  
Type: Integer

## Errors
<a name="API_ListDistributionsByOriginRequestPolicyId_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListDistributionsByOriginRequestPolicyId_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId) 

# ListDistributionsByRealtimeLogConfig
<a name="API_ListDistributionsByRealtimeLogConfig"></a>

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.

## Request Syntax
<a name="API_ListDistributionsByRealtimeLogConfig_RequestSyntax"></a>

```
POST /2020-05-31/distributionsByRealtimeLogConfig HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListDistributionsByRealtimeLogConfigRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Marker>string</Marker>
   <MaxItems>string</MaxItems>
   <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
   <RealtimeLogConfigName>string</RealtimeLogConfigName>
</ListDistributionsByRealtimeLogConfigRequest>
```

## URI Request Parameters
<a name="API_ListDistributionsByRealtimeLogConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListDistributionsByRealtimeLogConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListDistributionsByRealtimeLogConfigRequest](#API_ListDistributionsByRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-request-ListDistributionsByRealtimeLogConfigRequest"></a>
Root level tag for the ListDistributionsByRealtimeLogConfigRequest parameters.  
Required: Yes

 ** [Marker](#API_ListDistributionsByRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-request-Marker"></a>
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.  
Type: String  
Required: No

 ** [MaxItems](#API_ListDistributionsByRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-request-MaxItems"></a>
The maximum number of distributions that you want in the response.  
Type: String  
Required: No

 ** [RealtimeLogConfigArn](#API_ListDistributionsByRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-request-RealtimeLogConfigArn"></a>
The Amazon Resource Name (ARN) of the real-time log configuration whose associated distributions you want to list.  
Type: String  
Required: No

 ** [RealtimeLogConfigName](#API_ListDistributionsByRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-request-RealtimeLogConfigName"></a>
The name of the real-time log configuration whose associated distributions you want to list.  
Type: String  
Required: No

## Response Syntax
<a name="API_ListDistributionsByRealtimeLogConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributionsByRealtimeLogConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributionsByRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByRealtimeLogConfig-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributionsByRealtimeLogConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByRealtimeLogConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig) 

# ListDistributionsByResponseHeadersPolicyId
<a name="API_ListDistributionsByResponseHeadersPolicyId"></a>

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.

## Request Syntax
<a name="API_ListDistributionsByResponseHeadersPolicyId_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByResponseHeadersPolicyId/ResponseHeadersPolicyId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByResponseHeadersPolicyId_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListDistributionsByResponseHeadersPolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListDistributionsByResponseHeadersPolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-request-uri-MaxItems"></a>
The maximum number of distribution IDs that you want to get in the response.

 ** [ResponseHeadersPolicyId](#API_ListDistributionsByResponseHeadersPolicyId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-request-uri-ResponseHeadersPolicyId"></a>
The ID of the response headers policy whose associated distribution IDs you want to list.  
Required: Yes

## Request Body
<a name="API_ListDistributionsByResponseHeadersPolicyId_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionIdList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionId>string</DistributionId>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionIdList>
```

## Response Elements
<a name="API_ListDistributionsByResponseHeadersPolicyId_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionIdList](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-DistributionIdList"></a>
Root level tag for the DistributionIdList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-Items"></a>
Contains the distribution IDs in the list.  
Type: Array of strings

 ** [Marker](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-Marker"></a>
The value provided in the `Marker` request field.  
Type: String

 ** [MaxItems](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-MaxItems"></a>
The maximum number of distribution IDs requested.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-NextMarker"></a>
Contains the value that you should use in the `Marker` field of a subsequent request to continue listing distribution IDs where you left off.  
Type: String

 ** [Quantity](#API_ListDistributionsByResponseHeadersPolicyId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByResponseHeadersPolicyId-response-Quantity"></a>
The total number of distribution IDs returned in the response.  
Type: Integer

## Errors
<a name="API_ListDistributionsByResponseHeadersPolicyId_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListDistributionsByResponseHeadersPolicyId_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId) 

# ListDistributionsByTrustStore
<a name="API_ListDistributionsByTrustStore"></a>

Lists distributions by trust store.

## Request Syntax
<a name="API_ListDistributionsByTrustStore_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByTrustStore?Marker=Marker&MaxItems=MaxItems&TrustStoreIdentifier=TrustStoreIdentifier HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByTrustStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListDistributionsByTrustStore_RequestSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-request-uri-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.

 ** [MaxItems](#API_ListDistributionsByTrustStore_RequestSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-request-uri-MaxItems"></a>
The maximum number of distributions that you want returned in the response.

 ** [TrustStoreIdentifier](#API_ListDistributionsByTrustStore_RequestSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-request-uri-TrustStoreIdentifier"></a>
The distributions by trust store identifier.  
Required: Yes

## Request Body
<a name="API_ListDistributionsByTrustStore_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByTrustStore_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributionsByTrustStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributionsByTrustStore_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByTrustStore-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributionsByTrustStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByTrustStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByTrustStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByTrustStore) 

# ListDistributionsByVpcOriginId
<a name="API_ListDistributionsByVpcOriginId"></a>

List CloudFront distributions by their VPC origin ID.

## Request Syntax
<a name="API_ListDistributionsByVpcOriginId_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByVpcOriginId/VpcOriginId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByVpcOriginId_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListDistributionsByVpcOriginId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-request-uri-Marker"></a>
The marker associated with the VPC origin distributions list.

 ** [MaxItems](#API_ListDistributionsByVpcOriginId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-request-uri-MaxItems"></a>
The maximum number of items included in the list.

 ** [VpcOriginId](#API_ListDistributionsByVpcOriginId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-request-uri-VpcOriginId"></a>
The VPC origin ID.  
Required: Yes

## Request Body
<a name="API_ListDistributionsByVpcOriginId_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByVpcOriginId_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionIdList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionId>string</DistributionId>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionIdList>
```

## Response Elements
<a name="API_ListDistributionsByVpcOriginId_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionIdList](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-DistributionIdList"></a>
Root level tag for the DistributionIdList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-Items"></a>
Contains the distribution IDs in the list.  
Type: Array of strings

 ** [Marker](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-Marker"></a>
The value provided in the `Marker` request field.  
Type: String

 ** [MaxItems](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-MaxItems"></a>
The maximum number of distribution IDs requested.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-NextMarker"></a>
Contains the value that you should use in the `Marker` field of a subsequent request to continue listing distribution IDs where you left off.  
Type: String

 ** [Quantity](#API_ListDistributionsByVpcOriginId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByVpcOriginId-response-Quantity"></a>
The total number of distribution IDs returned in the response.  
Type: Integer

## Errors
<a name="API_ListDistributionsByVpcOriginId_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByVpcOriginId_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByVpcOriginId) 

# ListDistributionsByWebACLId
<a name="API_ListDistributionsByWebACLId"></a>

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

## Request Syntax
<a name="API_ListDistributionsByWebACLId_RequestSyntax"></a>

```
GET /2020-05-31/distributionsByWebACLId/WebACLId?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListDistributionsByWebACLId_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListDistributionsByWebACLId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-request-uri-Marker"></a>
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`.)

 ** [MaxItems](#API_ListDistributionsByWebACLId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-request-uri-MaxItems"></a>
The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.

 ** [WebACLId](#API_ListDistributionsByWebACLId_RequestSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-request-uri-WebACLId"></a>
The ID of the AWS WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.   
For AWS 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 AWS WAF Classic, this is the ID of the web ACL, such as `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.  
Required: Yes

## Request Body
<a name="API_ListDistributionsByWebACLId_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListDistributionsByWebACLId_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <DistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <AliasICPRecordals>
            <AliasICPRecordal>
               <CNAME>string</CNAME>
               <ICPRecordalStatus>string</ICPRecordalStatus>
            </AliasICPRecordal>
         </AliasICPRecordals>
         <AnycastIpListId>string</AnycastIpListId>
         <ARN>string</ARN>
         <CacheBehaviors>
            <Items>
               <CacheBehavior>
                  <AllowedMethods>
                     <CachedMethods>
                        <Items>
                           <Method>string</Method>
                        </Items>
                        <Quantity>integer</Quantity>
                     </CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AllowedMethods>
                  <CachePolicyId>string</CachePolicyId>
                  <Compress>boolean</Compress>
                  <DefaultTTL>long</DefaultTTL>
                  <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
                  <ForwardedValues>
                     <Cookies>
                        <Forward>string</Forward>
                        <WhitelistedNames>
                           <Items>
                              <Name>string</Name>
                           </Items>
                           <Quantity>integer</Quantity>
                        </WhitelistedNames>
                     </Cookies>
                     <Headers>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </Headers>
                     <QueryString>boolean</QueryString>
                     <QueryStringCacheKeys>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </QueryStringCacheKeys>
                  </ForwardedValues>
                  <FunctionAssociations>
                     <Items>
                        <FunctionAssociation>
                           <EventType>string</EventType>
                           <FunctionARN>string</FunctionARN>
                        </FunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FunctionAssociations>
                  <GrpcConfig>
                     <Enabled>boolean</Enabled>
                  </GrpcConfig>
                  <LambdaFunctionAssociations>
                     <Items>
                        <LambdaFunctionAssociation>
                           <EventType>string</EventType>
                           <IncludeBody>boolean</IncludeBody>
                           <LambdaFunctionARN>string</LambdaFunctionARN>
                        </LambdaFunctionAssociation>
                     </Items>
                     <Quantity>integer</Quantity>
                  </LambdaFunctionAssociations>
                  <MaxTTL>long</MaxTTL>
                  <MinTTL>long</MinTTL>
                  <OriginRequestPolicyId>string</OriginRequestPolicyId>
                  <PathPattern>string</PathPattern>
                  <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
                  <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
                  <SmoothStreaming>boolean</SmoothStreaming>
                  <TargetOriginId>string</TargetOriginId>
                  <TrustedKeyGroups>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <KeyGroup>string</KeyGroup>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedKeyGroups>
                  <TrustedSigners>
                     <Enabled>boolean</Enabled>
                     <Items>
                        <AwsAccountNumber>string</AwsAccountNumber>
                     </Items>
                     <Quantity>integer</Quantity>
                  </TrustedSigners>
                  <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
               </CacheBehavior>
            </Items>
            <Quantity>integer</Quantity>
         </CacheBehaviors>
         <Comment>string</Comment>
         <ConnectionFunctionAssociation>
            <Id>string</Id>
         </ConnectionFunctionAssociation>
         <ConnectionMode>string</ConnectionMode>
         <CustomErrorResponses>
            <Items>
               <CustomErrorResponse>
                  <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
                  <ErrorCode>integer</ErrorCode>
                  <ResponseCode>string</ResponseCode>
                  <ResponsePagePath>string</ResponsePagePath>
               </CustomErrorResponse>
            </Items>
            <Quantity>integer</Quantity>
         </CustomErrorResponses>
         <DefaultCacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </DefaultCacheBehavior>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <HttpVersion>string</HttpVersion>
         <Id>string</Id>
         <IsIPV6Enabled>boolean</IsIPV6Enabled>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <OriginGroups>
            <Items>
               <OriginGroup>
                  <FailoverCriteria>
                     <StatusCodes>
                        <Items>
                           <StatusCode>integer</StatusCode>
                        </Items>
                        <Quantity>integer</Quantity>
                     </StatusCodes>
                  </FailoverCriteria>
                  <Id>string</Id>
                  <Members>
                     <Items>
                        <OriginGroupMember>
                           <OriginId>string</OriginId>
                        </OriginGroupMember>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Members>
                  <SelectionCriteria>string</SelectionCriteria>
               </OriginGroup>
            </Items>
            <Quantity>integer</Quantity>
         </OriginGroups>
         <Origins>
            <Items>
               <Origin>
                  <ConnectionAttempts>integer</ConnectionAttempts>
                  <ConnectionTimeout>integer</ConnectionTimeout>
                  <CustomHeaders>
                     <Items>
                        <OriginCustomHeader>
                           <HeaderName>string</HeaderName>
                           <HeaderValue>string</HeaderValue>
                        </OriginCustomHeader>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CustomHeaders>
                  <CustomOriginConfig>
                     <HTTPPort>integer</HTTPPort>
                     <HTTPSPort>integer</HTTPSPort>
                     <IpAddressType>string</IpAddressType>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginMtlsConfig>
                        <ClientCertificateArn>string</ClientCertificateArn>
                     </OriginMtlsConfig>
                     <OriginProtocolPolicy>string</OriginProtocolPolicy>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <OriginSslProtocols>
                        <Items>
                           <SslProtocol>string</SslProtocol>
                        </Items>
                        <Quantity>integer</Quantity>
                     </OriginSslProtocols>
                  </CustomOriginConfig>
                  <DomainName>string</DomainName>
                  <Id>string</Id>
                  <OriginAccessControlId>string</OriginAccessControlId>
                  <OriginPath>string</OriginPath>
                  <OriginShield>
                     <Enabled>boolean</Enabled>
                     <OriginShieldRegion>string</OriginShieldRegion>
                  </OriginShield>
                  <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
                  <S3OriginConfig>
                     <OriginAccessIdentity>string</OriginAccessIdentity>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                  </S3OriginConfig>
                  <VpcOriginConfig>
                     <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                     <OriginReadTimeout>integer</OriginReadTimeout>
                     <VpcOriginId>string</VpcOriginId>
                  </VpcOriginConfig>
               </Origin>
            </Items>
            <Quantity>integer</Quantity>
         </Origins>
         <PriceClass>string</PriceClass>
         <Restrictions>
            <GeoRestriction>
               <Items>
                  <Location>string</Location>
               </Items>
               <Quantity>integer</Quantity>
               <RestrictionType>string</RestrictionType>
            </GeoRestriction>
         </Restrictions>
         <Staging>boolean</Staging>
         <Status>string</Status>
         <ViewerCertificate>
            <ACMCertificateArn>string</ACMCertificateArn>
            <Certificate>string</Certificate>
            <CertificateSource>string</CertificateSource>
            <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
            <IAMCertificateId>string</IAMCertificateId>
            <MinimumProtocolVersion>string</MinimumProtocolVersion>
            <SSLSupportMethod>string</SSLSupportMethod>
         </ViewerCertificate>
         <ViewerMtlsConfig>
            <Mode>string</Mode>
            <TrustStoreConfig>
               <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
               <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
               <TrustStoreId>string</TrustStoreId>
            </TrustStoreConfig>
         </ViewerMtlsConfig>
         <WebACLId>string</WebACLId>
      </DistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</DistributionList>
```

## Response Elements
<a name="API_ListDistributionsByWebACLId_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionList](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-DistributionList"></a>
Root level tag for the DistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-Items"></a>
A complex type that contains one `DistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [DistributionSummary](API_DistributionSummary.md) objects

 ** [Marker](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListDistributionsByWebACLId_ResponseSyntax) **   <a name="cloudfront-ListDistributionsByWebACLId-response-Quantity"></a>
The number of distributions that were created by the current AWS account.  
Type: Integer

## Errors
<a name="API_ListDistributionsByWebACLId_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidWebACLId **   
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionsByWebACLId_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionsByWebACLId) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionsByWebACLId) 

# ListDistributionTenants
<a name="API_ListDistributionTenants"></a>

Lists the distribution tenants in your AWS account.

## Request Syntax
<a name="API_ListDistributionTenants_RequestSyntax"></a>

```
POST /2020-05-31/distribution-tenants HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListDistributionTenantsRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <AssociationFilter>
      <ConnectionGroupId>string</ConnectionGroupId>
      <DistributionId>string</DistributionId>
   </AssociationFilter>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
</ListDistributionTenantsRequest>
```

## URI Request Parameters
<a name="API_ListDistributionTenants_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListDistributionTenants_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListDistributionTenantsRequest](#API_ListDistributionTenants_RequestSyntax) **   <a name="cloudfront-ListDistributionTenants-request-ListDistributionTenantsRequest"></a>
Root level tag for the ListDistributionTenantsRequest parameters.  
Required: Yes

 ** [AssociationFilter](#API_ListDistributionTenants_RequestSyntax) **   <a name="cloudfront-ListDistributionTenants-request-AssociationFilter"></a>
Filter by the associated distribution ID or connection group ID.  
Type: [DistributionTenantAssociationFilter](API_DistributionTenantAssociationFilter.md) object  
Required: No

 ** [Marker](#API_ListDistributionTenants_RequestSyntax) **   <a name="cloudfront-ListDistributionTenants-request-Marker"></a>
The marker for the next set of results.  
Type: String  
Required: No

 ** [MaxItems](#API_ListDistributionTenants_RequestSyntax) **   <a name="cloudfront-ListDistributionTenants-request-MaxItems"></a>
The maximum number of distribution tenants to return.  
Type: Integer  
Required: No

## Response Syntax
<a name="API_ListDistributionTenants_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListDistributionTenantsResult>
   <DistributionTenantList>
      <DistributionTenantSummary>
         <Arn>string</Arn>
         <ConnectionGroupId>string</ConnectionGroupId>
         <CreatedTime>timestamp</CreatedTime>
         <Customizations>
            <Certificate>
               <Arn>string</Arn>
            </Certificate>
            <GeoRestrictions>
               <Locations>
                  <Location>string</Location>
               </Locations>
               <RestrictionType>string</RestrictionType>
            </GeoRestrictions>
            <WebAcl>
               <Action>string</Action>
               <Arn>string</Arn>
            </WebAcl>
         </Customizations>
         <DistributionId>string</DistributionId>
         <Domains>
            <DomainResult>
               <Domain>string</Domain>
               <Status>string</Status>
            </DomainResult>
         </Domains>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <Status>string</Status>
      </DistributionTenantSummary>
   </DistributionTenantList>
   <NextMarker>string</NextMarker>
</ListDistributionTenantsResult>
```

## Response Elements
<a name="API_ListDistributionTenants_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ListDistributionTenantsResult](#API_ListDistributionTenants_ResponseSyntax) **   <a name="cloudfront-ListDistributionTenants-response-ListDistributionTenantsResult"></a>
Root level tag for the ListDistributionTenantsResult parameters.  
Required: Yes

 ** [DistributionTenantList](#API_ListDistributionTenants_ResponseSyntax) **   <a name="cloudfront-ListDistributionTenants-response-DistributionTenantList"></a>
The list of distribution tenants that you retrieved.  
Type: Array of [DistributionTenantSummary](API_DistributionTenantSummary.md) objects

 ** [NextMarker](#API_ListDistributionTenants_ResponseSyntax) **   <a name="cloudfront-ListDistributionTenants-response-NextMarker"></a>
A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.  
Type: String

## Errors
<a name="API_ListDistributionTenants_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionTenants_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionTenants) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionTenants) 

# ListDistributionTenantsByCustomization
<a name="API_ListDistributionTenantsByCustomization"></a>

Lists distribution tenants by the customization that you specify.

You must specify either the `CertificateArn` parameter or `WebACLArn` parameter, but not both in the same request.

## Request Syntax
<a name="API_ListDistributionTenantsByCustomization_RequestSyntax"></a>

```
POST /2020-05-31/distribution-tenants-by-customization HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListDistributionTenantsByCustomizationRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CertificateArn>string</CertificateArn>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <WebACLArn>string</WebACLArn>
</ListDistributionTenantsByCustomizationRequest>
```

## URI Request Parameters
<a name="API_ListDistributionTenantsByCustomization_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListDistributionTenantsByCustomization_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListDistributionTenantsByCustomizationRequest](#API_ListDistributionTenantsByCustomization_RequestSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-request-ListDistributionTenantsByCustomizationRequest"></a>
Root level tag for the ListDistributionTenantsByCustomizationRequest parameters.  
Required: Yes

 ** [CertificateArn](#API_ListDistributionTenantsByCustomization_RequestSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-request-CertificateArn"></a>
Filter by the ARN of the associated ACM certificate.  
Type: String  
Required: No

 ** [Marker](#API_ListDistributionTenantsByCustomization_RequestSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-request-Marker"></a>
The marker for the next set of results.  
Type: String  
Required: No

 ** [MaxItems](#API_ListDistributionTenantsByCustomization_RequestSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-request-MaxItems"></a>
The maximum number of distribution tenants to return by the specified customization.  
Type: Integer  
Required: No

 ** [WebACLArn](#API_ListDistributionTenantsByCustomization_RequestSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-request-WebACLArn"></a>
Filter by the ARN of the associated AWS WAF web ACL.  
Type: String  
Required: No

## Response Syntax
<a name="API_ListDistributionTenantsByCustomization_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListDistributionTenantsByCustomizationResult>
   <DistributionTenantList>
      <DistributionTenantSummary>
         <Arn>string</Arn>
         <ConnectionGroupId>string</ConnectionGroupId>
         <CreatedTime>timestamp</CreatedTime>
         <Customizations>
            <Certificate>
               <Arn>string</Arn>
            </Certificate>
            <GeoRestrictions>
               <Locations>
                  <Location>string</Location>
               </Locations>
               <RestrictionType>string</RestrictionType>
            </GeoRestrictions>
            <WebAcl>
               <Action>string</Action>
               <Arn>string</Arn>
            </WebAcl>
         </Customizations>
         <DistributionId>string</DistributionId>
         <Domains>
            <DomainResult>
               <Domain>string</Domain>
               <Status>string</Status>
            </DomainResult>
         </Domains>
         <Enabled>boolean</Enabled>
         <ETag>string</ETag>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <Status>string</Status>
      </DistributionTenantSummary>
   </DistributionTenantList>
   <NextMarker>string</NextMarker>
</ListDistributionTenantsByCustomizationResult>
```

## Response Elements
<a name="API_ListDistributionTenantsByCustomization_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ListDistributionTenantsByCustomizationResult](#API_ListDistributionTenantsByCustomization_ResponseSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-response-ListDistributionTenantsByCustomizationResult"></a>
Root level tag for the ListDistributionTenantsByCustomizationResult parameters.  
Required: Yes

 ** [DistributionTenantList](#API_ListDistributionTenantsByCustomization_ResponseSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-response-DistributionTenantList"></a>
A list of distribution tenants with the specified customization.  
Type: Array of [DistributionTenantSummary](API_DistributionTenantSummary.md) objects

 ** [NextMarker](#API_ListDistributionTenantsByCustomization_ResponseSyntax) **   <a name="cloudfront-ListDistributionTenantsByCustomization-response-NextMarker"></a>
A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.  
Type: String

## Errors
<a name="API_ListDistributionTenantsByCustomization_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDistributionTenantsByCustomization_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDistributionTenantsByCustomization) 

# ListDomainConflicts
<a name="API_ListDomainConflicts"></a>

**Note**  
We recommend that you use the `ListDomainConflicts` API operation to check for domain conflicts, as it supports both standard distributions and distribution tenants. [ListConflictingAliases](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListConflictingAliases.html) performs similar checks but only supports standard distributions.

Lists existing domain associations that conflict with the domain that you specify.

You can use this API operation to identify potential domain conflicts when moving domains between standard distributions and/or distribution tenants. Domain conflicts must be resolved first before they can be moved. 

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 domains, specify the following:
+ The domain to search for
+ The ID of a standard distribution or distribution tenant in your account that has an attached TLS certificate, which covers the specified domain

For more information, including how to set up the standard distribution or distribution tenant, and the certificate, see [Moving an alternate domain name to a different standard distribution or distribution tenant](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move) 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.

## Request Syntax
<a name="API_ListDomainConflicts_RequestSyntax"></a>

```
POST /2020-05-31/domain-conflicts HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListDomainConflictsRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Domain>string</Domain>
   <DomainControlValidationResource>
      <DistributionId>string</DistributionId>
      <DistributionTenantId>string</DistributionTenantId>
   </DomainControlValidationResource>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
</ListDomainConflictsRequest>
```

## URI Request Parameters
<a name="API_ListDomainConflicts_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListDomainConflicts_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListDomainConflictsRequest](#API_ListDomainConflicts_RequestSyntax) **   <a name="cloudfront-ListDomainConflicts-request-ListDomainConflictsRequest"></a>
Root level tag for the ListDomainConflictsRequest parameters.  
Required: Yes

 ** [Domain](#API_ListDomainConflicts_RequestSyntax) **   <a name="cloudfront-ListDomainConflicts-request-Domain"></a>
The domain to check for conflicts.  
Type: String  
Required: Yes

 ** [DomainControlValidationResource](#API_ListDomainConflicts_RequestSyntax) **   <a name="cloudfront-ListDomainConflicts-request-DomainControlValidationResource"></a>
The distribution resource identifier. This can be the standard distribution or distribution tenant that has a valid certificate, which covers the domain that you specify.  
Type: [DistributionResourceId](API_DistributionResourceId.md) object  
Required: Yes

 ** [Marker](#API_ListDomainConflicts_RequestSyntax) **   <a name="cloudfront-ListDomainConflicts-request-Marker"></a>
The marker for the next set of domain conflicts.  
Type: String  
Required: No

 ** [MaxItems](#API_ListDomainConflicts_RequestSyntax) **   <a name="cloudfront-ListDomainConflicts-request-MaxItems"></a>
The maximum number of domain conflicts to return.  
Type: Integer  
Required: No

## Response Syntax
<a name="API_ListDomainConflicts_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListDomainConflictsResult>
   <DomainConflicts>
      <DomainConflicts>
         <AccountId>string</AccountId>
         <Domain>string</Domain>
         <ResourceId>string</ResourceId>
         <ResourceType>string</ResourceType>
      </DomainConflicts>
   </DomainConflicts>
   <NextMarker>string</NextMarker>
</ListDomainConflictsResult>
```

## Response Elements
<a name="API_ListDomainConflicts_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ListDomainConflictsResult](#API_ListDomainConflicts_ResponseSyntax) **   <a name="cloudfront-ListDomainConflicts-response-ListDomainConflictsResult"></a>
Root level tag for the ListDomainConflictsResult parameters.  
Required: Yes

 ** [DomainConflicts](#API_ListDomainConflicts_ResponseSyntax) **   <a name="cloudfront-ListDomainConflicts-response-DomainConflicts"></a>
Contains details about the domain conflicts.  
Type: Array of [DomainConflict](API_DomainConflict.md) objects

 ** [NextMarker](#API_ListDomainConflicts_ResponseSyntax) **   <a name="cloudfront-ListDomainConflicts-response-NextMarker"></a>
A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.  
Type: String

## Errors
<a name="API_ListDomainConflicts_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListDomainConflicts_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListDomainConflicts) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListDomainConflicts) 

# ListFieldLevelEncryptionConfigs
<a name="API_ListFieldLevelEncryptionConfigs"></a>

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

## Request Syntax
<a name="API_ListFieldLevelEncryptionConfigs_RequestSyntax"></a>

```
GET /2020-05-31/field-level-encryption?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListFieldLevelEncryptionConfigs_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListFieldLevelEncryptionConfigs_RequestSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-request-uri-Marker"></a>
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).

 ** [MaxItems](#API_ListFieldLevelEncryptionConfigs_RequestSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-request-uri-MaxItems"></a>
The maximum number of field-level encryption configurations you want in the response body.

## Request Body
<a name="API_ListFieldLevelEncryptionConfigs_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListFieldLevelEncryptionConfigs_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionList>
   <Items>
      <FieldLevelEncryptionSummary>
         <Comment>string</Comment>
         <ContentTypeProfileConfig>
            <ContentTypeProfiles>
               <Items>
                  <ContentTypeProfile>
                     <ContentType>string</ContentType>
                     <Format>string</Format>
                     <ProfileId>string</ProfileId>
                  </ContentTypeProfile>
               </Items>
               <Quantity>integer</Quantity>
            </ContentTypeProfiles>
            <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
         </ContentTypeProfileConfig>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <QueryArgProfileConfig>
            <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
            <QueryArgProfiles>
               <Items>
                  <QueryArgProfile>
                     <ProfileId>string</ProfileId>
                     <QueryArg>string</QueryArg>
                  </QueryArgProfile>
               </Items>
               <Quantity>integer</Quantity>
            </QueryArgProfiles>
         </QueryArgProfileConfig>
      </FieldLevelEncryptionSummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</FieldLevelEncryptionList>
```

## Response Elements
<a name="API_ListFieldLevelEncryptionConfigs_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionList](#API_ListFieldLevelEncryptionConfigs_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-response-FieldLevelEncryptionList"></a>
Root level tag for the FieldLevelEncryptionList parameters.  
Required: Yes

 ** [Items](#API_ListFieldLevelEncryptionConfigs_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-response-Items"></a>
An array of field-level encryption items.  
Type: Array of [FieldLevelEncryptionSummary](API_FieldLevelEncryptionSummary.md) objects

 ** [MaxItems](#API_ListFieldLevelEncryptionConfigs_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-response-MaxItems"></a>
The maximum number of elements you want in the response body.  
Type: Integer

 ** [NextMarker](#API_ListFieldLevelEncryptionConfigs_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListFieldLevelEncryptionConfigs_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionConfigs-response-Quantity"></a>
The number of field-level encryption items.  
Type: Integer

## Errors
<a name="API_ListFieldLevelEncryptionConfigs_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListFieldLevelEncryptionConfigs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs) 

# ListFieldLevelEncryptionProfiles
<a name="API_ListFieldLevelEncryptionProfiles"></a>

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

## Request Syntax
<a name="API_ListFieldLevelEncryptionProfiles_RequestSyntax"></a>

```
GET /2020-05-31/field-level-encryption-profile?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListFieldLevelEncryptionProfiles_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListFieldLevelEncryptionProfiles_RequestSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-request-uri-Marker"></a>
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).

 ** [MaxItems](#API_ListFieldLevelEncryptionProfiles_RequestSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-request-uri-MaxItems"></a>
The maximum number of field-level encryption profiles you want in the response body. 

## Request Body
<a name="API_ListFieldLevelEncryptionProfiles_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListFieldLevelEncryptionProfiles_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfileList>
   <Items>
      <FieldLevelEncryptionProfileSummary>
         <Comment>string</Comment>
         <EncryptionEntities>
            <Items>
               <EncryptionEntity>
                  <FieldPatterns>
                     <Items>
                        <FieldPattern>string</FieldPattern>
                     </Items>
                     <Quantity>integer</Quantity>
                  </FieldPatterns>
                  <ProviderId>string</ProviderId>
                  <PublicKeyId>string</PublicKeyId>
               </EncryptionEntity>
            </Items>
            <Quantity>integer</Quantity>
         </EncryptionEntities>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
      </FieldLevelEncryptionProfileSummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</FieldLevelEncryptionProfileList>
```

## Response Elements
<a name="API_ListFieldLevelEncryptionProfiles_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionProfileList](#API_ListFieldLevelEncryptionProfiles_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-response-FieldLevelEncryptionProfileList"></a>
Root level tag for the FieldLevelEncryptionProfileList parameters.  
Required: Yes

 ** [Items](#API_ListFieldLevelEncryptionProfiles_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-response-Items"></a>
The field-level encryption profile items.  
Type: Array of [FieldLevelEncryptionProfileSummary](API_FieldLevelEncryptionProfileSummary.md) objects

 ** [MaxItems](#API_ListFieldLevelEncryptionProfiles_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-response-MaxItems"></a>
The maximum number of field-level encryption profiles you want in the response body.   
Type: Integer

 ** [NextMarker](#API_ListFieldLevelEncryptionProfiles_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListFieldLevelEncryptionProfiles_ResponseSyntax) **   <a name="cloudfront-ListFieldLevelEncryptionProfiles-response-Quantity"></a>
The number of field-level encryption profiles.  
Type: Integer

## Errors
<a name="API_ListFieldLevelEncryptionProfiles_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListFieldLevelEncryptionProfiles_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles) 

# ListFunctions
<a name="API_ListFunctions"></a>

Gets a list of all CloudFront functions in your AWS 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.

## Request Syntax
<a name="API_ListFunctions_RequestSyntax"></a>

```
GET /2020-05-31/function?Marker=Marker&MaxItems=MaxItems&Stage=Stage HTTP/1.1
```

## URI Request Parameters
<a name="API_ListFunctions_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListFunctions_RequestSyntax) **   <a name="cloudfront-ListFunctions-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListFunctions_RequestSyntax) **   <a name="cloudfront-ListFunctions-request-uri-MaxItems"></a>
The maximum number of functions that you want in the response.

 ** [Stage](#API_ListFunctions_RequestSyntax) **   <a name="cloudfront-ListFunctions-request-uri-Stage"></a>
An optional filter to return only the functions that are in the specified stage, either `DEVELOPMENT` or `LIVE`.  
Valid Values: `DEVELOPMENT | LIVE` 

## Request Body
<a name="API_ListFunctions_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListFunctions_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FunctionList>
   <Items>
      <FunctionSummary>
         <FunctionConfig>
            <Comment>string</Comment>
            <KeyValueStoreAssociations>
               <Items>
                  <KeyValueStoreAssociation>
                     <KeyValueStoreARN>string</KeyValueStoreARN>
                  </KeyValueStoreAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </KeyValueStoreAssociations>
            <Runtime>string</Runtime>
         </FunctionConfig>
         <FunctionMetadata>
            <CreatedTime>timestamp</CreatedTime>
            <FunctionARN>string</FunctionARN>
            <LastModifiedTime>timestamp</LastModifiedTime>
            <Stage>string</Stage>
         </FunctionMetadata>
         <Name>string</Name>
         <Status>string</Status>
      </FunctionSummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</FunctionList>
```

## Response Elements
<a name="API_ListFunctions_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FunctionList](#API_ListFunctions_ResponseSyntax) **   <a name="cloudfront-ListFunctions-response-FunctionList"></a>
Root level tag for the FunctionList parameters.  
Required: Yes

 ** [Items](#API_ListFunctions_ResponseSyntax) **   <a name="cloudfront-ListFunctions-response-Items"></a>
Contains the functions in the list.  
Type: Array of [FunctionSummary](API_FunctionSummary.md) objects

 ** [MaxItems](#API_ListFunctions_ResponseSyntax) **   <a name="cloudfront-ListFunctions-response-MaxItems"></a>
The maximum number of functions requested.  
Type: Integer

 ** [NextMarker](#API_ListFunctions_ResponseSyntax) **   <a name="cloudfront-ListFunctions-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListFunctions_ResponseSyntax) **   <a name="cloudfront-ListFunctions-response-Quantity"></a>
The number of functions returned in the response.  
Type: Integer

## Errors
<a name="API_ListFunctions_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListFunctions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListFunctions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListFunctions) 

# ListInvalidations
<a name="API_ListInvalidations"></a>

Lists invalidation batches.

## Request Syntax
<a name="API_ListInvalidations_RequestSyntax"></a>

```
GET /2020-05-31/distribution/DistributionId/invalidation?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListInvalidations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DistributionId](#API_ListInvalidations_RequestSyntax) **   <a name="cloudfront-ListInvalidations-request-uri-DistributionId"></a>
The distribution's ID.  
Required: Yes

 ** [Marker](#API_ListInvalidations_RequestSyntax) **   <a name="cloudfront-ListInvalidations-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListInvalidations_RequestSyntax) **   <a name="cloudfront-ListInvalidations-request-uri-MaxItems"></a>
The maximum number of invalidation batches that you want in the response body.

## Request Body
<a name="API_ListInvalidations_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListInvalidations_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<InvalidationList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <InvalidationSummary>
         <CreateTime>timestamp</CreateTime>
         <Id>string</Id>
         <Status>string</Status>
      </InvalidationSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</InvalidationList>
```

## Response Elements
<a name="API_ListInvalidations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [InvalidationList](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-InvalidationList"></a>
Root level tag for the InvalidationList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-Items"></a>
A complex type that contains one `InvalidationSummary` element for each invalidation batch created by the current AWS account.  
Type: Array of [InvalidationSummary](API_InvalidationSummary.md) objects

 ** [Marker](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-Marker"></a>
The value that you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-MaxItems"></a>
The value that you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListInvalidations_ResponseSyntax) **   <a name="cloudfront-ListInvalidations-response-Quantity"></a>
The number of invalidation batches that were created by the current AWS account.   
Type: Integer

## Errors
<a name="API_ListInvalidations_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListInvalidations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListInvalidations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListInvalidations) 

# ListInvalidationsForDistributionTenant
<a name="API_ListInvalidationsForDistributionTenant"></a>

Lists the invalidations for a distribution tenant.

## Request Syntax
<a name="API_ListInvalidationsForDistributionTenant_RequestSyntax"></a>

```
GET /2020-05-31/distribution-tenant/Id/invalidation?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListInvalidationsForDistributionTenant_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_ListInvalidationsForDistributionTenant_RequestSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-request-uri-Id"></a>
The ID of the distribution tenant.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [Marker](#API_ListInvalidationsForDistributionTenant_RequestSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListInvalidationsForDistributionTenant_RequestSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-request-uri-MaxItems"></a>
The maximum number of invalidations to return for the distribution tenant.

## Request Body
<a name="API_ListInvalidationsForDistributionTenant_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListInvalidationsForDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<InvalidationList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <InvalidationSummary>
         <CreateTime>timestamp</CreateTime>
         <Id>string</Id>
         <Status>string</Status>
      </InvalidationSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</InvalidationList>
```

## Response Elements
<a name="API_ListInvalidationsForDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [InvalidationList](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-InvalidationList"></a>
Root level tag for the InvalidationList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-IsTruncated"></a>
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.  
Type: Boolean

 ** [Items](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-Items"></a>
A complex type that contains one `InvalidationSummary` element for each invalidation batch created by the current AWS account.  
Type: Array of [InvalidationSummary](API_InvalidationSummary.md) objects

 ** [Marker](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-Marker"></a>
The value that you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-MaxItems"></a>
The value that you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListInvalidationsForDistributionTenant_ResponseSyntax) **   <a name="cloudfront-ListInvalidationsForDistributionTenant-response-Quantity"></a>
The number of invalidation batches that were created by the current AWS account.   
Type: Integer

## Errors
<a name="API_ListInvalidationsForDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListInvalidationsForDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListInvalidationsForDistributionTenant) 

# ListKeyGroups
<a name="API_ListKeyGroups"></a>

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.

## Request Syntax
<a name="API_ListKeyGroups_RequestSyntax"></a>

```
GET /2020-05-31/key-group?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListKeyGroups_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListKeyGroups_RequestSyntax) **   <a name="cloudfront-ListKeyGroups-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListKeyGroups_RequestSyntax) **   <a name="cloudfront-ListKeyGroups-request-uri-MaxItems"></a>
The maximum number of key groups that you want in the response.

## Request Body
<a name="API_ListKeyGroups_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListKeyGroups_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroupList>
   <Items>
      <KeyGroupSummary>
         <KeyGroup>
            <Id>string</Id>
            <KeyGroupConfig>
               <Comment>string</Comment>
               <Items>
                  <PublicKey>string</PublicKey>
               </Items>
               <Name>string</Name>
            </KeyGroupConfig>
            <LastModifiedTime>timestamp</LastModifiedTime>
         </KeyGroup>
      </KeyGroupSummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</KeyGroupList>
```

## Response Elements
<a name="API_ListKeyGroups_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyGroupList](#API_ListKeyGroups_ResponseSyntax) **   <a name="cloudfront-ListKeyGroups-response-KeyGroupList"></a>
Root level tag for the KeyGroupList parameters.  
Required: Yes

 ** [Items](#API_ListKeyGroups_ResponseSyntax) **   <a name="cloudfront-ListKeyGroups-response-Items"></a>
A list of key groups.  
Type: Array of [KeyGroupSummary](API_KeyGroupSummary.md) objects

 ** [MaxItems](#API_ListKeyGroups_ResponseSyntax) **   <a name="cloudfront-ListKeyGroups-response-MaxItems"></a>
The maximum number of key groups requested.  
Type: Integer

 ** [NextMarker](#API_ListKeyGroups_ResponseSyntax) **   <a name="cloudfront-ListKeyGroups-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListKeyGroups_ResponseSyntax) **   <a name="cloudfront-ListKeyGroups-response-Quantity"></a>
The number of key groups returned in the response.  
Type: Integer

## Errors
<a name="API_ListKeyGroups_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListKeyGroups_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListKeyGroups) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListKeyGroups) 

# ListKeyValueStores
<a name="API_ListKeyValueStores"></a>

Specifies the key value stores to list.

## Request Syntax
<a name="API_ListKeyValueStores_RequestSyntax"></a>

```
GET /2020-05-31/key-value-store?Marker=Marker&MaxItems=MaxItems&Status=Status HTTP/1.1
```

## URI Request Parameters
<a name="API_ListKeyValueStores_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListKeyValueStores_RequestSyntax) **   <a name="cloudfront-ListKeyValueStores-request-uri-Marker"></a>
The marker associated with the key value stores list.

 ** [MaxItems](#API_ListKeyValueStores_RequestSyntax) **   <a name="cloudfront-ListKeyValueStores-request-uri-MaxItems"></a>
The maximum number of items in the key value stores list.

 ** [Status](#API_ListKeyValueStores_RequestSyntax) **   <a name="cloudfront-ListKeyValueStores-request-uri-Status"></a>
The status of the request for the key value stores list.

## Request Body
<a name="API_ListKeyValueStores_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListKeyValueStores_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyValueStoreList>
   <Items>
      <KeyValueStore>
         <ARN>string</ARN>
         <Comment>string</Comment>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <Status>string</Status>
      </KeyValueStore>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</KeyValueStoreList>
```

## Response Elements
<a name="API_ListKeyValueStores_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyValueStoreList](#API_ListKeyValueStores_ResponseSyntax) **   <a name="cloudfront-ListKeyValueStores-response-KeyValueStoreList"></a>
Root level tag for the KeyValueStoreList parameters.  
Required: Yes

 ** [Items](#API_ListKeyValueStores_ResponseSyntax) **   <a name="cloudfront-ListKeyValueStores-response-Items"></a>
The items of the key value store list.  
Type: Array of [KeyValueStore](API_KeyValueStore.md) objects

 ** [MaxItems](#API_ListKeyValueStores_ResponseSyntax) **   <a name="cloudfront-ListKeyValueStores-response-MaxItems"></a>
The maximum number of items in the key value store list.  
Type: Integer

 ** [NextMarker](#API_ListKeyValueStores_ResponseSyntax) **   <a name="cloudfront-ListKeyValueStores-response-NextMarker"></a>
The next marker associated with the key value store list.  
Type: String

 ** [Quantity](#API_ListKeyValueStores_ResponseSyntax) **   <a name="cloudfront-ListKeyValueStores-response-Quantity"></a>
The quantity of the key value store list.  
Type: Integer

## Errors
<a name="API_ListKeyValueStores_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListKeyValueStores_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListKeyValueStores) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListKeyValueStores) 

# ListOriginAccessControls
<a name="API_ListOriginAccessControls"></a>

Gets the list of CloudFront origin access controls (OACs) in this AWS 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.

**Note**  
If you're not using origin access controls for your AWS account, the `ListOriginAccessControls` operation doesn't return the `Items` element in the response.

## Request Syntax
<a name="API_ListOriginAccessControls_RequestSyntax"></a>

```
GET /2020-05-31/origin-access-control?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListOriginAccessControls_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListOriginAccessControls_RequestSyntax) **   <a name="cloudfront-ListOriginAccessControls-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListOriginAccessControls_RequestSyntax) **   <a name="cloudfront-ListOriginAccessControls-request-uri-MaxItems"></a>
The maximum number of origin access controls that you want in the response.

## Request Body
<a name="API_ListOriginAccessControls_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListOriginAccessControls_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControlList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <OriginAccessControlSummary>
         <Description>string</Description>
         <Id>string</Id>
         <Name>string</Name>
         <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
         <SigningBehavior>string</SigningBehavior>
         <SigningProtocol>string</SigningProtocol>
      </OriginAccessControlSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</OriginAccessControlList>
```

## Response Elements
<a name="API_ListOriginAccessControls_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginAccessControlList](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-OriginAccessControlList"></a>
Root level tag for the OriginAccessControlList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-IsTruncated"></a>
If there are more items in the list than are in this response, this value is `true`.  
Type: Boolean

 ** [Items](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-Items"></a>
Contains the origin access controls in the list.  
Type: Array of [OriginAccessControlSummary](API_OriginAccessControlSummary.md) objects

 ** [Marker](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-Marker"></a>
The value of the `Marker` field that was provided in the request.  
Type: String

 ** [MaxItems](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-MaxItems"></a>
The maximum number of origin access controls requested.  
Type: Integer

 ** [NextMarker](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListOriginAccessControls_ResponseSyntax) **   <a name="cloudfront-ListOriginAccessControls-response-Quantity"></a>
The number of origin access controls returned in the response.  
Type: Integer

## Errors
<a name="API_ListOriginAccessControls_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListOriginAccessControls_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListOriginAccessControls) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListOriginAccessControls) 

# ListOriginRequestPolicies
<a name="API_ListOriginRequestPolicies"></a>

Gets a list of origin request policies.

You can optionally apply a filter to return only the managed policies created by AWS, or only the custom policies created in your AWS 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.

## Request Syntax
<a name="API_ListOriginRequestPolicies_RequestSyntax"></a>

```
GET /2020-05-31/origin-request-policy?Marker=Marker&MaxItems=MaxItems&Type=Type HTTP/1.1
```

## URI Request Parameters
<a name="API_ListOriginRequestPolicies_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListOriginRequestPolicies_RequestSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListOriginRequestPolicies_RequestSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-request-uri-MaxItems"></a>
The maximum number of origin request policies that you want in the response.

 ** [Type](#API_ListOriginRequestPolicies_RequestSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-request-uri-Type"></a>
A filter to return only the specified kinds of origin request policies. Valid values are:  
+  `managed` – Returns only the managed policies created by AWS.
+  `custom` – Returns only the custom policies created in your AWS account.
Valid Values: `managed | custom` 

## Request Body
<a name="API_ListOriginRequestPolicies_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListOriginRequestPolicies_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicyList>
   <Items>
      <OriginRequestPolicySummary>
         <OriginRequestPolicy>
            <Id>string</Id>
            <LastModifiedTime>timestamp</LastModifiedTime>
            <OriginRequestPolicyConfig>
               <Comment>string</Comment>
               <CookiesConfig>
                  <CookieBehavior>string</CookieBehavior>
                  <Cookies>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Cookies>
               </CookiesConfig>
               <HeadersConfig>
                  <HeaderBehavior>string</HeaderBehavior>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
               </HeadersConfig>
               <Name>string</Name>
               <QueryStringsConfig>
                  <QueryStringBehavior>string</QueryStringBehavior>
                  <QueryStrings>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStrings>
               </QueryStringsConfig>
            </OriginRequestPolicyConfig>
         </OriginRequestPolicy>
         <Type>string</Type>
      </OriginRequestPolicySummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</OriginRequestPolicyList>
```

## Response Elements
<a name="API_ListOriginRequestPolicies_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginRequestPolicyList](#API_ListOriginRequestPolicies_ResponseSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-response-OriginRequestPolicyList"></a>
Root level tag for the OriginRequestPolicyList parameters.  
Required: Yes

 ** [Items](#API_ListOriginRequestPolicies_ResponseSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-response-Items"></a>
Contains the origin request policies in the list.  
Type: Array of [OriginRequestPolicySummary](API_OriginRequestPolicySummary.md) objects

 ** [MaxItems](#API_ListOriginRequestPolicies_ResponseSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-response-MaxItems"></a>
The maximum number of origin request policies requested.  
Type: Integer

 ** [NextMarker](#API_ListOriginRequestPolicies_ResponseSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListOriginRequestPolicies_ResponseSyntax) **   <a name="cloudfront-ListOriginRequestPolicies-response-Quantity"></a>
The total number of origin request policies returned in the response.  
Type: Integer

## Errors
<a name="API_ListOriginRequestPolicies_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListOriginRequestPolicies_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListOriginRequestPolicies) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListOriginRequestPolicies) 

# ListPublicKeys
<a name="API_ListPublicKeys"></a>

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

## Request Syntax
<a name="API_ListPublicKeys_RequestSyntax"></a>

```
GET /2020-05-31/public-key?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListPublicKeys_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListPublicKeys_RequestSyntax) **   <a name="cloudfront-ListPublicKeys-request-uri-Marker"></a>
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).

 ** [MaxItems](#API_ListPublicKeys_RequestSyntax) **   <a name="cloudfront-ListPublicKeys-request-uri-MaxItems"></a>
The maximum number of public keys you want in the response body.

## Request Body
<a name="API_ListPublicKeys_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListPublicKeys_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyList>
   <Items>
      <PublicKeySummary>
         <Comment>string</Comment>
         <CreatedTime>timestamp</CreatedTime>
         <EncodedKey>string</EncodedKey>
         <Id>string</Id>
         <Name>string</Name>
      </PublicKeySummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</PublicKeyList>
```

## Response Elements
<a name="API_ListPublicKeys_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [PublicKeyList](#API_ListPublicKeys_ResponseSyntax) **   <a name="cloudfront-ListPublicKeys-response-PublicKeyList"></a>
Root level tag for the PublicKeyList parameters.  
Required: Yes

 ** [Items](#API_ListPublicKeys_ResponseSyntax) **   <a name="cloudfront-ListPublicKeys-response-Items"></a>
A list of public keys.  
Type: Array of [PublicKeySummary](API_PublicKeySummary.md) objects

 ** [MaxItems](#API_ListPublicKeys_ResponseSyntax) **   <a name="cloudfront-ListPublicKeys-response-MaxItems"></a>
The maximum number of public keys you want in the response.  
Type: Integer

 ** [NextMarker](#API_ListPublicKeys_ResponseSyntax) **   <a name="cloudfront-ListPublicKeys-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListPublicKeys_ResponseSyntax) **   <a name="cloudfront-ListPublicKeys-response-Quantity"></a>
The number of public keys in the list.  
Type: Integer

## Errors
<a name="API_ListPublicKeys_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListPublicKeys_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListPublicKeys) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListPublicKeys) 

# ListRealtimeLogConfigs
<a name="API_ListRealtimeLogConfigs"></a>

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.

## Request Syntax
<a name="API_ListRealtimeLogConfigs_RequestSyntax"></a>

```
GET /2020-05-31/realtime-log-config?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListRealtimeLogConfigs_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListRealtimeLogConfigs_RequestSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListRealtimeLogConfigs_RequestSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-request-uri-MaxItems"></a>
The maximum number of real-time log configurations that you want in the response.

## Request Body
<a name="API_ListRealtimeLogConfigs_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListRealtimeLogConfigs_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<RealtimeLogConfigs>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <RealtimeLogConfig>
         <ARN>string</ARN>
         <EndPoints>
            <EndPoint>
               <KinesisStreamConfig>
                  <RoleARN>string</RoleARN>
                  <StreamARN>string</StreamARN>
               </KinesisStreamConfig>
               <StreamType>string</StreamType>
            </EndPoint>
         </EndPoints>
         <Fields>
            <Field>string</Field>
         </Fields>
         <Name>string</Name>
         <SamplingRate>long</SamplingRate>
      </RealtimeLogConfig>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
</RealtimeLogConfigs>
```

## Response Elements
<a name="API_ListRealtimeLogConfigs_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [RealtimeLogConfigs](#API_ListRealtimeLogConfigs_ResponseSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-response-RealtimeLogConfigs"></a>
Root level tag for the RealtimeLogConfigs parameters.  
Required: Yes

 ** [IsTruncated](#API_ListRealtimeLogConfigs_ResponseSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-response-IsTruncated"></a>
A flag that indicates whether there are more real-time log configurations than are contained in this list.  
Type: Boolean

 ** [Items](#API_ListRealtimeLogConfigs_ResponseSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-response-Items"></a>
Contains the list of real-time log configurations.  
Type: Array of [RealtimeLogConfig](API_RealtimeLogConfig.md) objects

 ** [Marker](#API_ListRealtimeLogConfigs_ResponseSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-response-Marker"></a>
This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.  
Type: String

 ** [MaxItems](#API_ListRealtimeLogConfigs_ResponseSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-response-MaxItems"></a>
The maximum number of real-time log configurations requested.  
Type: Integer

 ** [NextMarker](#API_ListRealtimeLogConfigs_ResponseSyntax) **   <a name="cloudfront-ListRealtimeLogConfigs-response-NextMarker"></a>
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.   
Type: String

## Errors
<a name="API_ListRealtimeLogConfigs_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListRealtimeLogConfigs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListRealtimeLogConfigs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListRealtimeLogConfigs) 

# ListResponseHeadersPolicies
<a name="API_ListResponseHeadersPolicies"></a>

Gets a list of response headers policies.

You can optionally apply a filter to get only the managed policies created by AWS, or only the custom policies created in your AWS 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.

## Request Syntax
<a name="API_ListResponseHeadersPolicies_RequestSyntax"></a>

```
GET /2020-05-31/response-headers-policy?Marker=Marker&MaxItems=MaxItems&Type=Type HTTP/1.1
```

## URI Request Parameters
<a name="API_ListResponseHeadersPolicies_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListResponseHeadersPolicies_RequestSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-request-uri-Marker"></a>
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.

 ** [MaxItems](#API_ListResponseHeadersPolicies_RequestSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-request-uri-MaxItems"></a>
The maximum number of response headers policies that you want to get in the response.

 ** [Type](#API_ListResponseHeadersPolicies_RequestSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-request-uri-Type"></a>
A filter to get only the specified kind of response headers policies. Valid values are:  
+  `managed` – Gets only the managed policies created by AWS.
+  `custom` – Gets only the custom policies created in your AWS account.
Valid Values: `managed | custom` 

## Request Body
<a name="API_ListResponseHeadersPolicies_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListResponseHeadersPolicies_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicyList>
   <Items>
      <ResponseHeadersPolicySummary>
         <ResponseHeadersPolicy>
            <Id>string</Id>
            <LastModifiedTime>timestamp</LastModifiedTime>
            <ResponseHeadersPolicyConfig>
               <Comment>string</Comment>
               <CorsConfig>
                  <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
                  <AccessControlAllowHeaders>
                     <Items>
                        <Header>string</Header>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AccessControlAllowHeaders>
                  <AccessControlAllowMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AccessControlAllowMethods>
                  <AccessControlAllowOrigins>
                     <Items>
                        <Origin>string</Origin>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AccessControlAllowOrigins>
                  <AccessControlExposeHeaders>
                     <Items>
                        <Header>string</Header>
                     </Items>
                     <Quantity>integer</Quantity>
                  </AccessControlExposeHeaders>
                  <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
                  <OriginOverride>boolean</OriginOverride>
               </CorsConfig>
               <CustomHeadersConfig>
                  <Items>
                     <ResponseHeadersPolicyCustomHeader>
                        <Header>string</Header>
                        <Override>boolean</Override>
                        <Value>string</Value>
                     </ResponseHeadersPolicyCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeadersConfig>
               <Name>string</Name>
               <RemoveHeadersConfig>
                  <Items>
                     <ResponseHeadersPolicyRemoveHeader>
                        <Header>string</Header>
                     </ResponseHeadersPolicyRemoveHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </RemoveHeadersConfig>
               <SecurityHeadersConfig>
                  <ContentSecurityPolicy>
                     <ContentSecurityPolicy>string</ContentSecurityPolicy>
                     <Override>boolean</Override>
                  </ContentSecurityPolicy>
                  <ContentTypeOptions>
                     <Override>boolean</Override>
                  </ContentTypeOptions>
                  <FrameOptions>
                     <FrameOption>string</FrameOption>
                     <Override>boolean</Override>
                  </FrameOptions>
                  <ReferrerPolicy>
                     <Override>boolean</Override>
                     <ReferrerPolicy>string</ReferrerPolicy>
                  </ReferrerPolicy>
                  <StrictTransportSecurity>
                     <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
                     <IncludeSubdomains>boolean</IncludeSubdomains>
                     <Override>boolean</Override>
                     <Preload>boolean</Preload>
                  </StrictTransportSecurity>
                  <XSSProtection>
                     <ModeBlock>boolean</ModeBlock>
                     <Override>boolean</Override>
                     <Protection>boolean</Protection>
                     <ReportUri>string</ReportUri>
                  </XSSProtection>
               </SecurityHeadersConfig>
               <ServerTimingHeadersConfig>
                  <Enabled>boolean</Enabled>
                  <SamplingRate>double</SamplingRate>
               </ServerTimingHeadersConfig>
            </ResponseHeadersPolicyConfig>
         </ResponseHeadersPolicy>
         <Type>string</Type>
      </ResponseHeadersPolicySummary>
   </Items>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</ResponseHeadersPolicyList>
```

## Response Elements
<a name="API_ListResponseHeadersPolicies_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ResponseHeadersPolicyList](#API_ListResponseHeadersPolicies_ResponseSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-response-ResponseHeadersPolicyList"></a>
Root level tag for the ResponseHeadersPolicyList parameters.  
Required: Yes

 ** [Items](#API_ListResponseHeadersPolicies_ResponseSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-response-Items"></a>
The response headers policies in the list.  
Type: Array of [ResponseHeadersPolicySummary](API_ResponseHeadersPolicySummary.md) objects

 ** [MaxItems](#API_ListResponseHeadersPolicies_ResponseSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-response-MaxItems"></a>
The maximum number of response headers policies requested.  
Type: Integer

 ** [NextMarker](#API_ListResponseHeadersPolicies_ResponseSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListResponseHeadersPolicies_ResponseSyntax) **   <a name="cloudfront-ListResponseHeadersPolicies-response-Quantity"></a>
The number of response headers policies returned.  
Type: Integer

## Errors
<a name="API_ListResponseHeadersPolicies_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_ListResponseHeadersPolicies_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListResponseHeadersPolicies) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListResponseHeadersPolicies) 

# ListStreamingDistributions
<a name="API_ListStreamingDistributions"></a>

List streaming distributions.

## Request Syntax
<a name="API_ListStreamingDistributions_RequestSyntax"></a>

```
GET /2020-05-31/streaming-distribution?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListStreamingDistributions_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListStreamingDistributions_RequestSyntax) **   <a name="cloudfront-ListStreamingDistributions-request-uri-Marker"></a>
The value that you provided for the `Marker` request parameter.

 ** [MaxItems](#API_ListStreamingDistributions_RequestSyntax) **   <a name="cloudfront-ListStreamingDistributions-request-uri-MaxItems"></a>
The value that you provided for the `MaxItems` request parameter.

## Request Body
<a name="API_ListStreamingDistributions_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListStreamingDistributions_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <StreamingDistributionSummary>
         <Aliases>
            <Items>
               <CNAME>string</CNAME>
            </Items>
            <Quantity>integer</Quantity>
         </Aliases>
         <ARN>string</ARN>
         <Comment>string</Comment>
         <DomainName>string</DomainName>
         <Enabled>boolean</Enabled>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <PriceClass>string</PriceClass>
         <S3Origin>
            <DomainName>string</DomainName>
            <OriginAccessIdentity>string</OriginAccessIdentity>
         </S3Origin>
         <Status>string</Status>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
      </StreamingDistributionSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</StreamingDistributionList>
```

## Response Elements
<a name="API_ListStreamingDistributions_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [StreamingDistributionList](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-StreamingDistributionList"></a>
Root level tag for the StreamingDistributionList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-IsTruncated"></a>
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.   
Type: Boolean

 ** [Items](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-Items"></a>
A complex type that contains one `StreamingDistributionSummary` element for each distribution that was created by the current AWS account.  
Type: Array of [StreamingDistributionSummary](API_StreamingDistributionSummary.md) objects

 ** [Marker](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-Marker"></a>
The value you provided for the `Marker` request parameter.  
Type: String

 ** [MaxItems](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-MaxItems"></a>
The value you provided for the `MaxItems` request parameter.  
Type: Integer

 ** [NextMarker](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-NextMarker"></a>
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.  
Type: String

 ** [Quantity](#API_ListStreamingDistributions_ResponseSyntax) **   <a name="cloudfront-ListStreamingDistributions-response-Quantity"></a>
The number of streaming distributions that were created by the current AWS account.   
Type: Integer

## Errors
<a name="API_ListStreamingDistributions_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListStreamingDistributions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListStreamingDistributions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListStreamingDistributions) 

# ListTagsForResource
<a name="API_ListTagsForResource"></a>

List tags for a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_ListTagsForResource_RequestSyntax"></a>

```
GET /2020-05-31/tagging?Resource=Resource HTTP/1.1
```

## URI Request Parameters
<a name="API_ListTagsForResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Resource](#API_ListTagsForResource_RequestSyntax) **   <a name="cloudfront-ListTagsForResource-request-uri-Resource"></a>
An ARN of a CloudFront resource.  
Pattern: `arn:aws(-cn)?:cloudfront::[0-9]+:.*`   
Required: Yes

## Request Body
<a name="API_ListTagsForResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListTagsForResource_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<Tags>
   <Items>
      <Tag>
         <Key>string</Key>
         <Value>string</Value>
      </Tag>
   </Items>
</Tags>
```

## Response Elements
<a name="API_ListTagsForResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [Tags](#API_ListTagsForResource_ResponseSyntax) **   <a name="cloudfront-ListTagsForResource-response-Tags"></a>
Root level tag for the Tags parameters.  
Required: Yes

 ** [Items](#API_ListTagsForResource_ResponseSyntax) **   <a name="cloudfront-ListTagsForResource-response-Items"></a>
A complex type that contains `Tag` elements.  
Type: Array of [Tag](API_Tag.md) objects

## Errors
<a name="API_ListTagsForResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

## See Also
<a name="API_ListTagsForResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListTagsForResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListTagsForResource) 

# ListTrustStores
<a name="API_ListTrustStores"></a>

Lists trust stores.

## Request Syntax
<a name="API_ListTrustStores_RequestSyntax"></a>

```
POST /2020-05-31/trust-stores HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ListTrustStoresRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
</ListTrustStoresRequest>
```

## URI Request Parameters
<a name="API_ListTrustStores_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListTrustStores_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ListTrustStoresRequest](#API_ListTrustStores_RequestSyntax) **   <a name="cloudfront-ListTrustStores-request-ListTrustStoresRequest"></a>
Root level tag for the ListTrustStoresRequest parameters.  
Required: Yes

 ** [Marker](#API_ListTrustStores_RequestSyntax) **   <a name="cloudfront-ListTrustStores-request-Marker"></a>
Use this field when paginating results to indicate where to begin in your list. The response includes 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.  
Type: String  
Required: No

 ** [MaxItems](#API_ListTrustStores_RequestSyntax) **   <a name="cloudfront-ListTrustStores-request-MaxItems"></a>
The maximum number of trust stores that you want returned in the response.  
Type: Integer  
Required: No

## Response Syntax
<a name="API_ListTrustStores_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListTrustStoresResult>
   <NextMarker>string</NextMarker>
   <TrustStoreList>
      <TrustStoreSummary>
         <Arn>string</Arn>
         <ETag>string</ETag>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <NumberOfCaCertificates>integer</NumberOfCaCertificates>
         <Reason>string</Reason>
         <Status>string</Status>
      </TrustStoreSummary>
   </TrustStoreList>
</ListTrustStoresResult>
```

## Response Elements
<a name="API_ListTrustStores_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ListTrustStoresResult](#API_ListTrustStores_ResponseSyntax) **   <a name="cloudfront-ListTrustStores-response-ListTrustStoresResult"></a>
Root level tag for the ListTrustStoresResult parameters.  
Required: Yes

 ** [NextMarker](#API_ListTrustStores_ResponseSyntax) **   <a name="cloudfront-ListTrustStores-response-NextMarker"></a>
Indicates the next page of trust stores. To get the next page of the list, use this value in the `Marker` field of your request.  
Type: String

 ** [TrustStoreList](#API_ListTrustStores_ResponseSyntax) **   <a name="cloudfront-ListTrustStores-response-TrustStoreList"></a>
The trust store list.  
Type: Array of [TrustStoreSummary](API_TrustStoreSummary.md) objects

## Errors
<a name="API_ListTrustStores_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_ListTrustStores_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListTrustStores) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListTrustStores) 

# ListVpcOrigins
<a name="API_ListVpcOrigins"></a>

List the CloudFront VPC origins in your account.

## Request Syntax
<a name="API_ListVpcOrigins_RequestSyntax"></a>

```
GET /2020-05-31/vpc-origin?Marker=Marker&MaxItems=MaxItems HTTP/1.1
```

## URI Request Parameters
<a name="API_ListVpcOrigins_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Marker](#API_ListVpcOrigins_RequestSyntax) **   <a name="cloudfront-ListVpcOrigins-request-uri-Marker"></a>
The marker associated with the VPC origins list.

 ** [MaxItems](#API_ListVpcOrigins_RequestSyntax) **   <a name="cloudfront-ListVpcOrigins-request-uri-MaxItems"></a>
The maximum number of items included in the list.

## Request Body
<a name="API_ListVpcOrigins_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListVpcOrigins_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<VpcOriginList>
   <IsTruncated>boolean</IsTruncated>
   <Items>
      <VpcOriginSummary>
         <Arn>string</Arn>
         <CreatedTime>timestamp</CreatedTime>
         <Id>string</Id>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Name>string</Name>
         <OriginEndpointArn>string</OriginEndpointArn>
         <Status>string</Status>
      </VpcOriginSummary>
   </Items>
   <Marker>string</Marker>
   <MaxItems>integer</MaxItems>
   <NextMarker>string</NextMarker>
   <Quantity>integer</Quantity>
</VpcOriginList>
```

## Response Elements
<a name="API_ListVpcOrigins_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [VpcOriginList](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-VpcOriginList"></a>
Root level tag for the VpcOriginList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-IsTruncated"></a>
A flag that indicates whether more VPC origins 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 VPC origins in the list.  
Type: Boolean

 ** [Items](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-Items"></a>
The items of the VPC origins list.  
Type: Array of [VpcOriginSummary](API_VpcOriginSummary.md) objects

 ** [Marker](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-Marker"></a>
The marker associated with the VPC origins list.  
Type: String

 ** [MaxItems](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-MaxItems"></a>
The maximum number of items included in the list.  
Type: Integer

 ** [NextMarker](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-NextMarker"></a>
The next marker associated with the VPC origins list.  
Type: String

 ** [Quantity](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-Quantity"></a>
The number of VPC origins in the list.  
Type: Integer

## Errors
<a name="API_ListVpcOrigins_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListVpcOrigins_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/ListVpcOrigins) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/ListVpcOrigins) 

# PublishConnectionFunction
<a name="API_PublishConnectionFunction"></a>

Publishes a connection function.

## Request Syntax
<a name="API_PublishConnectionFunction_RequestSyntax"></a>

```
POST /2020-05-31/connection-function/Id/publish HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_PublishConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_PublishConnectionFunction_RequestSyntax) **   <a name="cloudfront-PublishConnectionFunction-request-uri-Id"></a>
The connection function ID.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_PublishConnectionFunction_RequestSyntax) **   <a name="cloudfront-PublishConnectionFunction-request-IfMatch"></a>
The current version (`ETag` value) of the connection function.  
Required: Yes

## Request Body
<a name="API_PublishConnectionFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_PublishConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionFunctionSummary>
   <ConnectionFunctionArn>string</ConnectionFunctionArn>
   <ConnectionFunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </ConnectionFunctionConfig>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Stage>string</Stage>
   <Status>string</Status>
</ConnectionFunctionSummary>
```

## Response Elements
<a name="API_PublishConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionFunctionSummary](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-ConnectionFunctionSummary"></a>
Root level tag for the ConnectionFunctionSummary parameters.  
Required: Yes

 ** [ConnectionFunctionArn](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-ConnectionFunctionArn"></a>
The connection function Amazon Resource Name (ARN).  
Type: String

 ** [ConnectionFunctionConfig](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-ConnectionFunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [CreatedTime](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-CreatedTime"></a>
The connection function created time.  
Type: Timestamp

 ** [Id](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-Id"></a>
The connection function ID.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [LastModifiedTime](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-LastModifiedTime"></a>
The connection function last modified time.  
Type: Timestamp

 ** [Name](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-Name"></a>
The connection function name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Stage](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-Stage"></a>
The connection function stage.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE` 

 ** [Status](#API_PublishConnectionFunction_ResponseSyntax) **   <a name="cloudfront-PublishConnectionFunction-response-Status"></a>
The connection function status.  
Type: String

## Errors
<a name="API_PublishConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_PublishConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/PublishConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/PublishConnectionFunction) 

# PublishFunction
<a name="API_PublishFunction"></a>

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

## Request Syntax
<a name="API_PublishFunction_RequestSyntax"></a>

```
POST /2020-05-31/function/Name/publish HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_PublishFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_PublishFunction_RequestSyntax) **   <a name="cloudfront-PublishFunction-request-IfMatch"></a>
The current version (`ETag` value) of the function that you are publishing, which you can get using `DescribeFunction`.  
Required: Yes

 ** [Name](#API_PublishFunction_RequestSyntax) **   <a name="cloudfront-PublishFunction-request-uri-Name"></a>
The name of the function that you are publishing.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_PublishFunction_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_PublishFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FunctionSummary>
   <FunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </FunctionConfig>
   <FunctionMetadata>
      <CreatedTime>timestamp</CreatedTime>
      <FunctionARN>string</FunctionARN>
      <LastModifiedTime>timestamp</LastModifiedTime>
      <Stage>string</Stage>
   </FunctionMetadata>
   <Name>string</Name>
   <Status>string</Status>
</FunctionSummary>
```

## Response Elements
<a name="API_PublishFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FunctionSummary](#API_PublishFunction_ResponseSyntax) **   <a name="cloudfront-PublishFunction-response-FunctionSummary"></a>
Root level tag for the FunctionSummary parameters.  
Required: Yes

 ** [FunctionConfig](#API_PublishFunction_ResponseSyntax) **   <a name="cloudfront-PublishFunction-response-FunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [FunctionMetadata](#API_PublishFunction_ResponseSyntax) **   <a name="cloudfront-PublishFunction-response-FunctionMetadata"></a>
Contains metadata about a CloudFront function.  
Type: [FunctionMetadata](API_FunctionMetadata.md) object

 ** [Name](#API_PublishFunction_ResponseSyntax) **   <a name="cloudfront-PublishFunction-response-Name"></a>
The name of the CloudFront function.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_PublishFunction_ResponseSyntax) **   <a name="cloudfront-PublishFunction-response-Status"></a>
The status of the CloudFront function.  
Type: String

## Errors
<a name="API_PublishFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFunctionExists **   
The function does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_PublishFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/PublishFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/PublishFunction) 

# TagResource
<a name="API_TagResource"></a>

Add tags to a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_TagResource_RequestSyntax"></a>

```
POST /2020-05-31/tagging?Operation=Tag HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<Tags xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Items>
      <Tag>
         <Key>string</Key>
         <Value>string</Value>
      </Tag>
   </Items>
</Tags>
```

## URI Request Parameters
<a name="API_TagResource_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_TagResource_RequestBody"></a>

The request accepts the following data in XML format.

 ** [Tags](#API_TagResource_RequestSyntax) **   <a name="cloudfront-TagResource-request-Tags"></a>
Root level tag for the Tags parameters.  
Required: Yes

 ** [Items](#API_TagResource_RequestSyntax) **   <a name="cloudfront-TagResource-request-Items"></a>
A complex type that contains `Tag` elements.  
Type: Array of [Tag](API_Tag.md) objects  
Required: No

## Response Syntax
<a name="API_TagResource_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_TagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_TagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

## See Also
<a name="API_TagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/TagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/TagResource) 

# TestConnectionFunction
<a name="API_TestConnectionFunction"></a>

Tests a connection function.

## Request Syntax
<a name="API_TestConnectionFunction_RequestSyntax"></a>

```
POST /2020-05-31/connection-function/Id/test HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<TestConnectionFunctionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ConnectionObject>blob</ConnectionObject>
   <Stage>string</Stage>
</TestConnectionFunctionRequest>
```

## URI Request Parameters
<a name="API_TestConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_TestConnectionFunction_RequestSyntax) **   <a name="cloudfront-TestConnectionFunction-request-uri-Id"></a>
The connection function ID.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_TestConnectionFunction_RequestSyntax) **   <a name="cloudfront-TestConnectionFunction-request-IfMatch"></a>
The current version (`ETag` value) of the connection function.  
Required: Yes

## Request Body
<a name="API_TestConnectionFunction_RequestBody"></a>

The request accepts the following data in XML format.

 ** [TestConnectionFunctionRequest](#API_TestConnectionFunction_RequestSyntax) **   <a name="cloudfront-TestConnectionFunction-request-TestConnectionFunctionRequest"></a>
Root level tag for the TestConnectionFunctionRequest parameters.  
Required: Yes

 ** [ConnectionObject](#API_TestConnectionFunction_RequestSyntax) **   <a name="cloudfront-TestConnectionFunction-request-ConnectionObject"></a>
The connection object.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 0. Maximum length of 40960.  
Required: Yes

 ** [Stage](#API_TestConnectionFunction_RequestSyntax) **   <a name="cloudfront-TestConnectionFunction-request-Stage"></a>
The connection function stage.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE`   
Required: No

## Response Syntax
<a name="API_TestConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionFunctionTestResult>
   <ComputeUtilization>string</ComputeUtilization>
   <ConnectionFunctionErrorMessage>string</ConnectionFunctionErrorMessage>
   <ConnectionFunctionExecutionLogs>
      <member>string</member>
   </ConnectionFunctionExecutionLogs>
   <ConnectionFunctionOutput>string</ConnectionFunctionOutput>
   <ConnectionFunctionSummary>
      <ConnectionFunctionArn>string</ConnectionFunctionArn>
      <ConnectionFunctionConfig>
         <Comment>string</Comment>
         <KeyValueStoreAssociations>
            <Items>
               <KeyValueStoreAssociation>
                  <KeyValueStoreARN>string</KeyValueStoreARN>
               </KeyValueStoreAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </KeyValueStoreAssociations>
         <Runtime>string</Runtime>
      </ConnectionFunctionConfig>
      <CreatedTime>timestamp</CreatedTime>
      <Id>string</Id>
      <LastModifiedTime>timestamp</LastModifiedTime>
      <Name>string</Name>
      <Stage>string</Stage>
      <Status>string</Status>
   </ConnectionFunctionSummary>
</ConnectionFunctionTestResult>
```

## Response Elements
<a name="API_TestConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionFunctionTestResult](#API_TestConnectionFunction_ResponseSyntax) **   <a name="cloudfront-TestConnectionFunction-response-ConnectionFunctionTestResult"></a>
Root level tag for the ConnectionFunctionTestResult parameters.  
Required: Yes

 ** [ComputeUtilization](#API_TestConnectionFunction_ResponseSyntax) **   <a name="cloudfront-TestConnectionFunction-response-ComputeUtilization"></a>
The connection function compute utilization.  
Type: String

 ** [ConnectionFunctionErrorMessage](#API_TestConnectionFunction_ResponseSyntax) **   <a name="cloudfront-TestConnectionFunction-response-ConnectionFunctionErrorMessage"></a>
The connection function error message.  
Type: String

 ** [ConnectionFunctionExecutionLogs](#API_TestConnectionFunction_ResponseSyntax) **   <a name="cloudfront-TestConnectionFunction-response-ConnectionFunctionExecutionLogs"></a>
The connection function execution logs.  
Type: Array of strings

 ** [ConnectionFunctionOutput](#API_TestConnectionFunction_ResponseSyntax) **   <a name="cloudfront-TestConnectionFunction-response-ConnectionFunctionOutput"></a>
The connection function output.  
Type: String

 ** [ConnectionFunctionSummary](#API_TestConnectionFunction_ResponseSyntax) **   <a name="cloudfront-TestConnectionFunction-response-ConnectionFunctionSummary"></a>
The connection function summary.  
Type: [ConnectionFunctionSummary](API_ConnectionFunctionSummary.md) object

## Errors
<a name="API_TestConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TestFunctionFailed **   
The CloudFront function failed.  
HTTP Status Code: 500

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_TestConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/TestConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/TestConnectionFunction) 

# TestFunction
<a name="API_TestFunction"></a>

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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function) 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`.

## Request Syntax
<a name="API_TestFunction_RequestSyntax"></a>

```
POST /2020-05-31/function/Name/test HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<TestFunctionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <EventObject>blob</EventObject>
   <Stage>string</Stage>
</TestFunctionRequest>
```

## URI Request Parameters
<a name="API_TestFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_TestFunction_RequestSyntax) **   <a name="cloudfront-TestFunction-request-IfMatch"></a>
The current version (`ETag` value) of the function that you are testing, which you can get using `DescribeFunction`.  
Required: Yes

 ** [Name](#API_TestFunction_RequestSyntax) **   <a name="cloudfront-TestFunction-request-uri-Name"></a>
The name of the function that you are testing.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_TestFunction_RequestBody"></a>

The request accepts the following data in XML format.

 ** [TestFunctionRequest](#API_TestFunction_RequestSyntax) **   <a name="cloudfront-TestFunction-request-TestFunctionRequest"></a>
Root level tag for the TestFunctionRequest parameters.  
Required: Yes

 ** [EventObject](#API_TestFunction_RequestSyntax) **   <a name="cloudfront-TestFunction-request-EventObject"></a>
The event object to test the function with. For more information about the structure of the event object, see [Testing functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function) in the *Amazon CloudFront Developer Guide*.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 0. Maximum length of 40960.  
Required: Yes

 ** [Stage](#API_TestFunction_RequestSyntax) **   <a name="cloudfront-TestFunction-request-Stage"></a>
The stage of the function that you are testing, either `DEVELOPMENT` or `LIVE`.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE`   
Required: No

## Response Syntax
<a name="API_TestFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<TestResult>
   <ComputeUtilization>string</ComputeUtilization>
   <FunctionErrorMessage>string</FunctionErrorMessage>
   <FunctionExecutionLogs>
      <member>string</member>
   </FunctionExecutionLogs>
   <FunctionOutput>string</FunctionOutput>
   <FunctionSummary>
      <FunctionConfig>
         <Comment>string</Comment>
         <KeyValueStoreAssociations>
            <Items>
               <KeyValueStoreAssociation>
                  <KeyValueStoreARN>string</KeyValueStoreARN>
               </KeyValueStoreAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </KeyValueStoreAssociations>
         <Runtime>string</Runtime>
      </FunctionConfig>
      <FunctionMetadata>
         <CreatedTime>timestamp</CreatedTime>
         <FunctionARN>string</FunctionARN>
         <LastModifiedTime>timestamp</LastModifiedTime>
         <Stage>string</Stage>
      </FunctionMetadata>
      <Name>string</Name>
      <Status>string</Status>
   </FunctionSummary>
</TestResult>
```

## Response Elements
<a name="API_TestFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [TestResult](#API_TestFunction_ResponseSyntax) **   <a name="cloudfront-TestFunction-response-TestResult"></a>
Root level tag for the TestResult parameters.  
Required: Yes

 ** [ComputeUtilization](#API_TestFunction_ResponseSyntax) **   <a name="cloudfront-TestFunction-response-ComputeUtilization"></a>
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.  
Type: String

 ** [FunctionErrorMessage](#API_TestFunction_ResponseSyntax) **   <a name="cloudfront-TestFunction-response-FunctionErrorMessage"></a>
If the result of testing the function was an error, this field contains the error message.  
Type: String

 ** [FunctionExecutionLogs](#API_TestFunction_ResponseSyntax) **   <a name="cloudfront-TestFunction-response-FunctionExecutionLogs"></a>
Contains the log lines that the function wrote (if any) when running the test.  
Type: Array of strings

 ** [FunctionOutput](#API_TestFunction_ResponseSyntax) **   <a name="cloudfront-TestFunction-response-FunctionOutput"></a>
The event object returned by the function. For more information about the structure of the event object, see [Event object structure](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html) in the *Amazon CloudFront Developer Guide*.  
Type: String

 ** [FunctionSummary](#API_TestFunction_ResponseSyntax) **   <a name="cloudfront-TestFunction-response-FunctionSummary"></a>
Contains configuration information and metadata about the CloudFront function that was tested.  
Type: [FunctionSummary](API_FunctionSummary.md) object

## Errors
<a name="API_TestFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFunctionExists **   
The function does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TestFunctionFailed **   
The CloudFront function failed.  
HTTP Status Code: 500

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_TestFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/TestFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/TestFunction) 

# UntagResource
<a name="API_UntagResource"></a>

Remove tags from a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_UntagResource_RequestSyntax"></a>

```
POST /2020-05-31/tagging?Operation=Untag HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<TagKeys xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Items>
      <Key>string</Key>
   </Items>
</TagKeys>
```

## URI Request Parameters
<a name="API_UntagResource_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UntagResource_RequestBody"></a>

The request accepts the following data in XML format.

 ** [TagKeys](#API_UntagResource_RequestSyntax) **   <a name="cloudfront-UntagResource-request-TagKeys"></a>
Root level tag for the TagKeys parameters.  
Required: Yes

 ** [Items](#API_UntagResource_RequestSyntax) **   <a name="cloudfront-UntagResource-request-Items"></a>
A complex type that contains `Tag` key elements.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `([\p{L}\p{Z}\p{N}_.:/=+\-@]*)`   
Required: No

## Response Syntax
<a name="API_UntagResource_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_UntagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_UntagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidTagging **   
The tagging specified is not valid.  
HTTP Status Code: 400

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

## See Also
<a name="API_UntagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UntagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UntagResource) 

# UpdateAnycastIpList
<a name="API_UpdateAnycastIpList"></a>

Updates an Anycast static IP list.

## Request Syntax
<a name="API_UpdateAnycastIpList_RequestSyntax"></a>

```
PUT /2020-05-31/anycast-ip-list/Id HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateAnycastIpListRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <IpAddressType>string</IpAddressType>
</UpdateAnycastIpListRequest>
```

## URI Request Parameters
<a name="API_UpdateAnycastIpList_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_UpdateAnycastIpList_RequestSyntax) **   <a name="cloudfront-UpdateAnycastIpList-request-uri-Id"></a>
The ID of the Anycast static IP list.  
Required: Yes

 ** [If-Match](#API_UpdateAnycastIpList_RequestSyntax) **   <a name="cloudfront-UpdateAnycastIpList-request-IfMatch"></a>
The current version (ETag value) of the Anycast static IP list that you are updating.  
Required: Yes

## Request Body
<a name="API_UpdateAnycastIpList_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateAnycastIpListRequest](#API_UpdateAnycastIpList_RequestSyntax) **   <a name="cloudfront-UpdateAnycastIpList-request-UpdateAnycastIpListRequest"></a>
Root level tag for the UpdateAnycastIpListRequest parameters.  
Required: Yes

 ** [IpAddressType](#API_UpdateAnycastIpList_RequestSyntax) **   <a name="cloudfront-UpdateAnycastIpList-request-IpAddressType"></a>
The IP address type for the Anycast static IP list. You can specify one of the following options:  
+  `ipv4` only
+  `ipv6` only
+  `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
Type: String  
Valid Values: `ipv4 | ipv6 | dualstack`   
Required: No

## Response Syntax
<a name="API_UpdateAnycastIpList_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<AnycastIpList>
   <AnycastIps>
      <AnycastIp>string</AnycastIp>
   </AnycastIps>
   <Arn>string</Arn>
   <Id>string</Id>
   <IpAddressType>string</IpAddressType>
   <IpamConfig>
      <IpamCidrConfigs>
         <IpamCidrConfig>
            <AnycastIp>string</AnycastIp>
            <Cidr>string</Cidr>
            <IpamPoolArn>string</IpamPoolArn>
            <Status>string</Status>
         </IpamCidrConfig>
      </IpamCidrConfigs>
      <Quantity>integer</Quantity>
   </IpamConfig>
   <IpCount>integer</IpCount>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Status>string</Status>
</AnycastIpList>
```

## Response Elements
<a name="API_UpdateAnycastIpList_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [AnycastIpList](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-AnycastIpList"></a>
Root level tag for the AnycastIpList parameters.  
Required: Yes

 ** [AnycastIps](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-AnycastIps"></a>
The static IP addresses that are allocated to the Anycast static IP list.  
Type: Array of strings

 ** [Arn](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-Arn"></a>
The Amazon Resource Name (ARN) of the Anycast static IP list.  
Type: String

 ** [Id](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-Id"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [IpAddressType](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-IpAddressType"></a>
The IP address type for the Anycast static IP list.  
Type: String  
Valid Values: `ipv4 | ipv6 | dualstack` 

 ** [IpamConfig](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-IpamConfig"></a>
The IPAM configuration for the Anycast static IP list, that contains the quantity and list of IPAM CIDR configurations.  
Type: [IpamConfig](API_IpamConfig.md) object

 ** [IpCount](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-IpCount"></a>
The number of IP addresses in the Anycast static IP list.  
Type: Integer

 ** [LastModifiedTime](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-LastModifiedTime"></a>
The last time the Anycast static IP list was modified.  
Type: Timestamp

 ** [Name](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-Name"></a>
The name of the Anycast static IP list.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_UpdateAnycastIpList_ResponseSyntax) **   <a name="cloudfront-UpdateAnycastIpList-response-Status"></a>
The status of the Anycast static IP list. Valid values: `Deployed`, `Deploying`, or `Failed`.  
Type: String

## Errors
<a name="API_UpdateAnycastIpList_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateAnycastIpList_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateAnycastIpList) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateAnycastIpList) 

# UpdateCachePolicy
<a name="API_UpdateCachePolicy"></a>

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.

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

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

**Important**  
If your minimum TTL is greater than 0, CloudFront will cache content for at least the duration specified in the cache policy's minimum TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private` directives are present in the origin headers.

## Request Syntax
<a name="API_UpdateCachePolicy_RequestSyntax"></a>

```
PUT /2020-05-31/cache-policy/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <DefaultTTL>long</DefaultTTL>
   <MaxTTL>long</MaxTTL>
   <MinTTL>long</MinTTL>
   <Name>string</Name>
   <ParametersInCacheKeyAndForwardedToOrigin>
      <CookiesConfig>
         <CookieBehavior>string</CookieBehavior>
         <Cookies>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Cookies>
      </CookiesConfig>
      <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
      <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
      <HeadersConfig>
         <HeaderBehavior>string</HeaderBehavior>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
      </HeadersConfig>
      <QueryStringsConfig>
         <QueryStringBehavior>string</QueryStringBehavior>
         <QueryStrings>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStrings>
      </QueryStringsConfig>
   </ParametersInCacheKeyAndForwardedToOrigin>
</CachePolicyConfig>
```

## URI Request Parameters
<a name="API_UpdateCachePolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateCachePolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CachePolicyConfig](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-CachePolicyConfig"></a>
Root level tag for the CachePolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-Comment"></a>
A comment to describe the cache policy. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [DefaultTTL](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-DefaultTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) 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`.  
Type: Long  
Required: No

 ** [MaxTTL](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-MaxTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) 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`.  
Type: Long  
Required: No

 ** [MinTTL](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-MinTTL"></a>
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)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.  
Type: Long  
Required: Yes

 ** [Name](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-Name"></a>
A unique name to identify the cache policy.  
Type: String  
Required: Yes

 ** [ParametersInCacheKeyAndForwardedToOrigin](#API_UpdateCachePolicy_RequestSyntax) **   <a name="cloudfront-UpdateCachePolicy-request-ParametersInCacheKeyAndForwardedToOrigin"></a>
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.  
Type: [ParametersInCacheKeyAndForwardedToOrigin](API_ParametersInCacheKeyAndForwardedToOrigin.md) object  
Required: No

## Response Syntax
<a name="API_UpdateCachePolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CachePolicy>
   <CachePolicyConfig>
      <Comment>string</Comment>
      <DefaultTTL>long</DefaultTTL>
      <MaxTTL>long</MaxTTL>
      <MinTTL>long</MinTTL>
      <Name>string</Name>
      <ParametersInCacheKeyAndForwardedToOrigin>
         <CookiesConfig>
            <CookieBehavior>string</CookieBehavior>
            <Cookies>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Cookies>
         </CookiesConfig>
         <EnableAcceptEncodingBrotli>boolean</EnableAcceptEncodingBrotli>
         <EnableAcceptEncodingGzip>boolean</EnableAcceptEncodingGzip>
         <HeadersConfig>
            <HeaderBehavior>string</HeaderBehavior>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
         </HeadersConfig>
         <QueryStringsConfig>
            <QueryStringBehavior>string</QueryStringBehavior>
            <QueryStrings>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStrings>
         </QueryStringsConfig>
      </ParametersInCacheKeyAndForwardedToOrigin>
   </CachePolicyConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</CachePolicy>
```

## Response Elements
<a name="API_UpdateCachePolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CachePolicy](#API_UpdateCachePolicy_ResponseSyntax) **   <a name="cloudfront-UpdateCachePolicy-response-CachePolicy"></a>
Root level tag for the CachePolicy parameters.  
Required: Yes

 ** [CachePolicyConfig](#API_UpdateCachePolicy_ResponseSyntax) **   <a name="cloudfront-UpdateCachePolicy-response-CachePolicyConfig"></a>
The cache policy configuration.  
Type: [CachePolicyConfig](API_CachePolicyConfig.md) object

 ** [Id](#API_UpdateCachePolicy_ResponseSyntax) **   <a name="cloudfront-UpdateCachePolicy-response-Id"></a>
The unique identifier for the cache policy.  
Type: String

 ** [LastModifiedTime](#API_UpdateCachePolicy_ResponseSyntax) **   <a name="cloudfront-UpdateCachePolicy-response-LastModifiedTime"></a>
The date and time when the cache policy was last modified.  
Type: Timestamp

## Errors
<a name="API_UpdateCachePolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CachePolicyAlreadyExists **   
A cache policy with this name already exists. You must provide a unique name. To modify an existing cache policy, use `UpdateCachePolicy`.  
HTTP Status Code: 409

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TooManyCookiesInCachePolicy **   
The number of cookies in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInCachePolicy **   
The number of headers in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyQueryStringsInCachePolicy **   
The number of query strings in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateCachePolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateCachePolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateCachePolicy) 

# UpdateCloudFrontOriginAccessIdentity
<a name="API_UpdateCloudFrontOriginAccessIdentity"></a>

Update an origin access identity.

## Request Syntax
<a name="API_UpdateCloudFrontOriginAccessIdentity_RequestSyntax"></a>

```
PUT /2020-05-31/origin-access-identity/cloudfront/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentityConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
</CloudFrontOriginAccessIdentityConfig>
```

## URI Request Parameters
<a name="API_UpdateCloudFrontOriginAccessIdentity_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateCloudFrontOriginAccessIdentity_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CloudFrontOriginAccessIdentityConfig](#API_UpdateCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-request-CloudFrontOriginAccessIdentityConfig"></a>
Root level tag for the CloudFrontOriginAccessIdentityConfig parameters.  
Required: Yes

 ** [CallerReference](#API_UpdateCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-request-CallerReference"></a>
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.   
Type: String  
Required: Yes

 ** [Comment](#API_UpdateCloudFrontOriginAccessIdentity_RequestSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-request-Comment"></a>
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_UpdateCloudFrontOriginAccessIdentity_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<CloudFrontOriginAccessIdentity>
   <CloudFrontOriginAccessIdentityConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
   </CloudFrontOriginAccessIdentityConfig>
   <Id>string</Id>
   <S3CanonicalUserId>string</S3CanonicalUserId>
</CloudFrontOriginAccessIdentity>
```

## Response Elements
<a name="API_UpdateCloudFrontOriginAccessIdentity_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [CloudFrontOriginAccessIdentity](#API_UpdateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-response-CloudFrontOriginAccessIdentity"></a>
Root level tag for the CloudFrontOriginAccessIdentity parameters.  
Required: Yes

 ** [CloudFrontOriginAccessIdentityConfig](#API_UpdateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-response-CloudFrontOriginAccessIdentityConfig"></a>
The current configuration information for the identity.  
Type: [CloudFrontOriginAccessIdentityConfig](API_CloudFrontOriginAccessIdentityConfig.md) object

 ** [Id](#API_UpdateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-response-Id"></a>
The ID for the origin access identity, for example, `E74FTE3AJFJ256A`.   
Type: String

 ** [S3CanonicalUserId](#API_UpdateCloudFrontOriginAccessIdentity_ResponseSyntax) **   <a name="cloudfront-UpdateCloudFrontOriginAccessIdentity-response-S3CanonicalUserId"></a>
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.  
Type: String

## Errors
<a name="API_UpdateCloudFrontOriginAccessIdentity_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchCloudFrontOriginAccessIdentity **   
The specified origin access identity does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_UpdateCloudFrontOriginAccessIdentity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity) 

# UpdateConnectionFunction
<a name="API_UpdateConnectionFunction"></a>

Updates a connection function.

## Request Syntax
<a name="API_UpdateConnectionFunction_RequestSyntax"></a>

```
PUT /2020-05-31/connection-function/Id HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateConnectionFunctionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ConnectionFunctionCode>blob</ConnectionFunctionCode>
   <ConnectionFunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </ConnectionFunctionConfig>
</UpdateConnectionFunctionRequest>
```

## URI Request Parameters
<a name="API_UpdateConnectionFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_UpdateConnectionFunction_RequestSyntax) **   <a name="cloudfront-UpdateConnectionFunction-request-uri-Id"></a>
The connection function ID.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_UpdateConnectionFunction_RequestSyntax) **   <a name="cloudfront-UpdateConnectionFunction-request-IfMatch"></a>
The current version (`ETag` value) of the connection function you are updating.  
Required: Yes

## Request Body
<a name="API_UpdateConnectionFunction_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateConnectionFunctionRequest](#API_UpdateConnectionFunction_RequestSyntax) **   <a name="cloudfront-UpdateConnectionFunction-request-UpdateConnectionFunctionRequest"></a>
Root level tag for the UpdateConnectionFunctionRequest parameters.  
Required: Yes

 ** [ConnectionFunctionCode](#API_UpdateConnectionFunction_RequestSyntax) **   <a name="cloudfront-UpdateConnectionFunction-request-ConnectionFunctionCode"></a>
The connection function code.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 40960.  
Required: Yes

 ** [ConnectionFunctionConfig](#API_UpdateConnectionFunction_RequestSyntax) **   <a name="cloudfront-UpdateConnectionFunction-request-ConnectionFunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object  
Required: Yes

## Response Syntax
<a name="API_UpdateConnectionFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionFunctionSummary>
   <ConnectionFunctionArn>string</ConnectionFunctionArn>
   <ConnectionFunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </ConnectionFunctionConfig>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Stage>string</Stage>
   <Status>string</Status>
</ConnectionFunctionSummary>
```

## Response Elements
<a name="API_UpdateConnectionFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionFunctionSummary](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-ConnectionFunctionSummary"></a>
Root level tag for the ConnectionFunctionSummary parameters.  
Required: Yes

 ** [ConnectionFunctionArn](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-ConnectionFunctionArn"></a>
The connection function Amazon Resource Name (ARN).  
Type: String

 ** [ConnectionFunctionConfig](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-ConnectionFunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [CreatedTime](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-CreatedTime"></a>
The connection function created time.  
Type: Timestamp

 ** [Id](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-Id"></a>
The connection function ID.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [LastModifiedTime](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-LastModifiedTime"></a>
The connection function last modified time.  
Type: Timestamp

 ** [Name](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-Name"></a>
The connection function name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Stage](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-Stage"></a>
The connection function stage.  
Type: String  
Valid Values: `DEVELOPMENT | LIVE` 

 ** [Status](#API_UpdateConnectionFunction_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionFunction-response-Status"></a>
The connection function status.  
Type: String

## Errors
<a name="API_UpdateConnectionFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** EntitySizeLimitExceeded **   
The entity size limit was exceeded.  
HTTP Status Code: 413

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateConnectionFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateConnectionFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateConnectionFunction) 

# UpdateConnectionGroup
<a name="API_UpdateConnectionGroup"></a>

Updates a connection group.

## Request Syntax
<a name="API_UpdateConnectionGroup_RequestSyntax"></a>

```
PUT /2020-05-31/connection-group/Id HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateConnectionGroupRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <AnycastIpListId>string</AnycastIpListId>
   <Enabled>boolean</Enabled>
   <Ipv6Enabled>boolean</Ipv6Enabled>
</UpdateConnectionGroupRequest>
```

## URI Request Parameters
<a name="API_UpdateConnectionGroup_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_UpdateConnectionGroup_RequestSyntax) **   <a name="cloudfront-UpdateConnectionGroup-request-uri-Id"></a>
The ID of the connection group.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_UpdateConnectionGroup_RequestSyntax) **   <a name="cloudfront-UpdateConnectionGroup-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the connection group that you're updating.  
Required: Yes

## Request Body
<a name="API_UpdateConnectionGroup_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateConnectionGroupRequest](#API_UpdateConnectionGroup_RequestSyntax) **   <a name="cloudfront-UpdateConnectionGroup-request-UpdateConnectionGroupRequest"></a>
Root level tag for the UpdateConnectionGroupRequest parameters.  
Required: Yes

 ** [AnycastIpListId](#API_UpdateConnectionGroup_RequestSyntax) **   <a name="cloudfront-UpdateConnectionGroup-request-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Type: String  
Required: No

 ** [Enabled](#API_UpdateConnectionGroup_RequestSyntax) **   <a name="cloudfront-UpdateConnectionGroup-request-Enabled"></a>
Whether the connection group is enabled.  
Type: Boolean  
Required: No

 ** [Ipv6Enabled](#API_UpdateConnectionGroup_RequestSyntax) **   <a name="cloudfront-UpdateConnectionGroup-request-Ipv6Enabled"></a>
Enable IPv6 for the connection group. For more information, see [Enable IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) in the *Amazon CloudFront Developer Guide*.  
Type: Boolean  
Required: No

## Response Syntax
<a name="API_UpdateConnectionGroup_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ConnectionGroup>
   <AnycastIpListId>string</AnycastIpListId>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <Ipv6Enabled>boolean</Ipv6Enabled>
   <IsDefault>boolean</IsDefault>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <RoutingEndpoint>string</RoutingEndpoint>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</ConnectionGroup>
```

## Response Elements
<a name="API_UpdateConnectionGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ConnectionGroup](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-ConnectionGroup"></a>
Root level tag for the ConnectionGroup parameters.  
Required: Yes

 ** [AnycastIpListId](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-AnycastIpListId"></a>
The ID of the Anycast static IP list.  
Type: String

 ** [Arn](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Arn"></a>
The Amazon Resource Name (ARN) of the connection group.  
Type: String

 ** [CreatedTime](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-CreatedTime"></a>
The date and time when the connection group was created.  
Type: Timestamp

 ** [Enabled](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Enabled"></a>
Whether the connection group is enabled.  
Type: Boolean

 ** [Id](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Id"></a>
The ID of the connection group.  
Type: String

 ** [Ipv6Enabled](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Ipv6Enabled"></a>
IPv6 is enabled for the connection group.  
Type: Boolean

 ** [IsDefault](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-IsDefault"></a>
Whether the connection group is the default connection group for the distribution tenants.  
Type: Boolean

 ** [LastModifiedTime](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-LastModifiedTime"></a>
The date and time when the connection group was updated.  
Type: Timestamp

 ** [Name](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Name"></a>
The name of the connection group.  
Type: String

 ** [RoutingEndpoint](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-RoutingEndpoint"></a>
The routing endpoint (also known as the DNS name) that is assigned to the connection group, such as d111111abcdef8.cloudfront.net.  
Type: String

 ** [Status](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Status"></a>
The status of the connection group.  
Type: String

 ** [Tags](#API_UpdateConnectionGroup_ResponseSyntax) **   <a name="cloudfront-UpdateConnectionGroup-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_UpdateConnectionGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResourceInUse **   
Cannot delete this resource because it is in use.  
HTTP Status Code: 409

## See Also
<a name="API_UpdateConnectionGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateConnectionGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateConnectionGroup) 

# UpdateContinuousDeploymentPolicy
<a name="API_UpdateContinuousDeploymentPolicy"></a>

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.

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

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

## Request Syntax
<a name="API_UpdateContinuousDeploymentPolicy_RequestSyntax"></a>

```
PUT /2020-05-31/continuous-deployment-policy/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Enabled>boolean</Enabled>
   <StagingDistributionDnsNames>
      <Items>
         <DnsName>string</DnsName>
      </Items>
      <Quantity>integer</Quantity>
   </StagingDistributionDnsNames>
   <TrafficConfig>
      <SingleHeaderConfig>
         <Header>string</Header>
         <Value>string</Value>
      </SingleHeaderConfig>
      <SingleWeightConfig>
         <SessionStickinessConfig>
            <IdleTTL>integer</IdleTTL>
            <MaximumTTL>integer</MaximumTTL>
         </SessionStickinessConfig>
         <Weight>float</Weight>
      </SingleWeightConfig>
      <Type>string</Type>
   </TrafficConfig>
</ContinuousDeploymentPolicyConfig>
```

## URI Request Parameters
<a name="API_UpdateContinuousDeploymentPolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateContinuousDeploymentPolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ContinuousDeploymentPolicyConfig](#API_UpdateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-request-ContinuousDeploymentPolicyConfig"></a>
Root level tag for the ContinuousDeploymentPolicyConfig parameters.  
Required: Yes

 ** [Enabled](#API_UpdateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-request-Enabled"></a>
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.  
Type: Boolean  
Required: Yes

 ** [StagingDistributionDnsNames](#API_UpdateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-request-StagingDistributionDnsNames"></a>
The CloudFront domain name of the staging distribution. For example: `d111111abcdef8.cloudfront.net`.  
Type: [StagingDistributionDnsNames](API_StagingDistributionDnsNames.md) object  
Required: Yes

 ** [TrafficConfig](#API_UpdateContinuousDeploymentPolicy_RequestSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-request-TrafficConfig"></a>
Contains the parameters for routing production traffic from your primary to staging distributions.  
Type: [TrafficConfig](API_TrafficConfig.md) object  
Required: No

## Response Syntax
<a name="API_UpdateContinuousDeploymentPolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ContinuousDeploymentPolicy>
   <ContinuousDeploymentPolicyConfig>
      <Enabled>boolean</Enabled>
      <StagingDistributionDnsNames>
         <Items>
            <DnsName>string</DnsName>
         </Items>
         <Quantity>integer</Quantity>
      </StagingDistributionDnsNames>
      <TrafficConfig>
         <SingleHeaderConfig>
            <Header>string</Header>
            <Value>string</Value>
         </SingleHeaderConfig>
         <SingleWeightConfig>
            <SessionStickinessConfig>
               <IdleTTL>integer</IdleTTL>
               <MaximumTTL>integer</MaximumTTL>
            </SessionStickinessConfig>
            <Weight>float</Weight>
         </SingleWeightConfig>
         <Type>string</Type>
      </TrafficConfig>
   </ContinuousDeploymentPolicyConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</ContinuousDeploymentPolicy>
```

## Response Elements
<a name="API_UpdateContinuousDeploymentPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ContinuousDeploymentPolicy](#API_UpdateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-response-ContinuousDeploymentPolicy"></a>
Root level tag for the ContinuousDeploymentPolicy parameters.  
Required: Yes

 ** [ContinuousDeploymentPolicyConfig](#API_UpdateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-response-ContinuousDeploymentPolicyConfig"></a>
Contains the configuration for a continuous deployment policy.  
Type: [ContinuousDeploymentPolicyConfig](API_ContinuousDeploymentPolicyConfig.md) object

 ** [Id](#API_UpdateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-response-Id"></a>
The identifier of the continuous deployment policy.  
Type: String

 ** [LastModifiedTime](#API_UpdateContinuousDeploymentPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateContinuousDeploymentPolicy-response-LastModifiedTime"></a>
The date and time the continuous deployment policy was last modified.  
Type: Timestamp

## Errors
<a name="API_UpdateContinuousDeploymentPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** StagingDistributionInUse **   
A continuous deployment policy for this staging distribution already exists.  
HTTP Status Code: 409

## See Also
<a name="API_UpdateContinuousDeploymentPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy) 

# UpdateDistribution
<a name="API_UpdateDistribution"></a>

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

1. Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions:
   + You must copy the `ETag` field value from the response. (You'll use it for the `IfMatch` parameter in your request.) Then, remove the `ETag` field from the distribution configuration.
   + You can't change the value of `CallerReference`.

1. Submit an `UpdateDistribution` request, providing the updated 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.

## Request Syntax
<a name="API_UpdateDistribution_RequestSyntax"></a>

```
PUT /2020-05-31/distribution/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<DistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Aliases>
      <Items>
         <CNAME>string</CNAME>
      </Items>
      <Quantity>integer</Quantity>
   </Aliases>
   <AnycastIpListId>string</AnycastIpListId>
   <CacheBehaviors>
      <Items>
         <CacheBehavior>
            <AllowedMethods>
               <CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </AllowedMethods>
            <CachePolicyId>string</CachePolicyId>
            <Compress>boolean</Compress>
            <DefaultTTL>long</DefaultTTL>
            <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
            <ForwardedValues>
               <Cookies>
                  <Forward>string</Forward>
                  <WhitelistedNames>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </WhitelistedNames>
               </Cookies>
               <Headers>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </Headers>
               <QueryString>boolean</QueryString>
               <QueryStringCacheKeys>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </QueryStringCacheKeys>
            </ForwardedValues>
            <FunctionAssociations>
               <Items>
                  <FunctionAssociation>
                     <EventType>string</EventType>
                     <FunctionARN>string</FunctionARN>
                  </FunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </FunctionAssociations>
            <GrpcConfig>
               <Enabled>boolean</Enabled>
            </GrpcConfig>
            <LambdaFunctionAssociations>
               <Items>
                  <LambdaFunctionAssociation>
                     <EventType>string</EventType>
                     <IncludeBody>boolean</IncludeBody>
                     <LambdaFunctionARN>string</LambdaFunctionARN>
                  </LambdaFunctionAssociation>
               </Items>
               <Quantity>integer</Quantity>
            </LambdaFunctionAssociations>
            <MaxTTL>long</MaxTTL>
            <MinTTL>long</MinTTL>
            <OriginRequestPolicyId>string</OriginRequestPolicyId>
            <PathPattern>string</PathPattern>
            <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
            <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
            <SmoothStreaming>boolean</SmoothStreaming>
            <TargetOriginId>string</TargetOriginId>
            <TrustedKeyGroups>
               <Enabled>boolean</Enabled>
               <Items>
                  <KeyGroup>string</KeyGroup>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedKeyGroups>
            <TrustedSigners>
               <Enabled>boolean</Enabled>
               <Items>
                  <AwsAccountNumber>string</AwsAccountNumber>
               </Items>
               <Quantity>integer</Quantity>
            </TrustedSigners>
            <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
         </CacheBehavior>
      </Items>
      <Quantity>integer</Quantity>
   </CacheBehaviors>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <ConnectionFunctionAssociation>
      <Id>string</Id>
   </ConnectionFunctionAssociation>
   <ConnectionMode>string</ConnectionMode>
   <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
   <CustomErrorResponses>
      <Items>
         <CustomErrorResponse>
            <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
            <ErrorCode>integer</ErrorCode>
            <ResponseCode>string</ResponseCode>
            <ResponsePagePath>string</ResponsePagePath>
         </CustomErrorResponse>
      </Items>
      <Quantity>integer</Quantity>
   </CustomErrorResponses>
   <DefaultCacheBehavior>
      <AllowedMethods>
         <CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </CachedMethods>
         <Items>
            <Method>string</Method>
         </Items>
         <Quantity>integer</Quantity>
      </AllowedMethods>
      <CachePolicyId>string</CachePolicyId>
      <Compress>boolean</Compress>
      <DefaultTTL>long</DefaultTTL>
      <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
      <ForwardedValues>
         <Cookies>
            <Forward>string</Forward>
            <WhitelistedNames>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </WhitelistedNames>
         </Cookies>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
         <QueryString>boolean</QueryString>
         <QueryStringCacheKeys>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStringCacheKeys>
      </ForwardedValues>
      <FunctionAssociations>
         <Items>
            <FunctionAssociation>
               <EventType>string</EventType>
               <FunctionARN>string</FunctionARN>
            </FunctionAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </FunctionAssociations>
      <GrpcConfig>
         <Enabled>boolean</Enabled>
      </GrpcConfig>
      <LambdaFunctionAssociations>
         <Items>
            <LambdaFunctionAssociation>
               <EventType>string</EventType>
               <IncludeBody>boolean</IncludeBody>
               <LambdaFunctionARN>string</LambdaFunctionARN>
            </LambdaFunctionAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </LambdaFunctionAssociations>
      <MaxTTL>long</MaxTTL>
      <MinTTL>long</MinTTL>
      <OriginRequestPolicyId>string</OriginRequestPolicyId>
      <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
      <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
      <SmoothStreaming>boolean</SmoothStreaming>
      <TargetOriginId>string</TargetOriginId>
      <TrustedKeyGroups>
         <Enabled>boolean</Enabled>
         <Items>
            <KeyGroup>string</KeyGroup>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedKeyGroups>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
      <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
   </DefaultCacheBehavior>
   <DefaultRootObject>string</DefaultRootObject>
   <Enabled>boolean</Enabled>
   <HttpVersion>string</HttpVersion>
   <IsIPV6Enabled>boolean</IsIPV6Enabled>
   <Logging>
      <Bucket>string</Bucket>
      <Enabled>boolean</Enabled>
      <IncludeCookies>boolean</IncludeCookies>
      <Prefix>string</Prefix>
   </Logging>
   <OriginGroups>
      <Items>
         <OriginGroup>
            <FailoverCriteria>
               <StatusCodes>
                  <Items>
                     <StatusCode>integer</StatusCode>
                  </Items>
                  <Quantity>integer</Quantity>
               </StatusCodes>
            </FailoverCriteria>
            <Id>string</Id>
            <Members>
               <Items>
                  <OriginGroupMember>
                     <OriginId>string</OriginId>
                  </OriginGroupMember>
               </Items>
               <Quantity>integer</Quantity>
            </Members>
            <SelectionCriteria>string</SelectionCriteria>
         </OriginGroup>
      </Items>
      <Quantity>integer</Quantity>
   </OriginGroups>
   <Origins>
      <Items>
         <Origin>
            <ConnectionAttempts>integer</ConnectionAttempts>
            <ConnectionTimeout>integer</ConnectionTimeout>
            <CustomHeaders>
               <Items>
                  <OriginCustomHeader>
                     <HeaderName>string</HeaderName>
                     <HeaderValue>string</HeaderValue>
                  </OriginCustomHeader>
               </Items>
               <Quantity>integer</Quantity>
            </CustomHeaders>
            <CustomOriginConfig>
               <HTTPPort>integer</HTTPPort>
               <HTTPSPort>integer</HTTPSPort>
               <IpAddressType>string</IpAddressType>
               <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
               <OriginMtlsConfig>
                  <ClientCertificateArn>string</ClientCertificateArn>
               </OriginMtlsConfig>
               <OriginProtocolPolicy>string</OriginProtocolPolicy>
               <OriginReadTimeout>integer</OriginReadTimeout>
               <OriginSslProtocols>
                  <Items>
                     <SslProtocol>string</SslProtocol>
                  </Items>
                  <Quantity>integer</Quantity>
               </OriginSslProtocols>
            </CustomOriginConfig>
            <DomainName>string</DomainName>
            <Id>string</Id>
            <OriginAccessControlId>string</OriginAccessControlId>
            <OriginPath>string</OriginPath>
            <OriginShield>
               <Enabled>boolean</Enabled>
               <OriginShieldRegion>string</OriginShieldRegion>
            </OriginShield>
            <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
            <S3OriginConfig>
               <OriginAccessIdentity>string</OriginAccessIdentity>
               <OriginReadTimeout>integer</OriginReadTimeout>
            </S3OriginConfig>
            <VpcOriginConfig>
               <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
               <OriginReadTimeout>integer</OriginReadTimeout>
               <VpcOriginId>string</VpcOriginId>
            </VpcOriginConfig>
         </Origin>
      </Items>
      <Quantity>integer</Quantity>
   </Origins>
   <PriceClass>string</PriceClass>
   <Restrictions>
      <GeoRestriction>
         <Items>
            <Location>string</Location>
         </Items>
         <Quantity>integer</Quantity>
         <RestrictionType>string</RestrictionType>
      </GeoRestriction>
   </Restrictions>
   <Staging>boolean</Staging>
   <TenantConfig>
      <ParameterDefinitions>
         <ParameterDefinition>
            <Definition>
               <StringSchema>
                  <Comment>string</Comment>
                  <DefaultValue>string</DefaultValue>
                  <Required>boolean</Required>
               </StringSchema>
            </Definition>
            <Name>string</Name>
         </ParameterDefinition>
      </ParameterDefinitions>
   </TenantConfig>
   <ViewerCertificate>
      <ACMCertificateArn>string</ACMCertificateArn>
      <Certificate>string</Certificate>
      <CertificateSource>string</CertificateSource>
      <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
      <IAMCertificateId>string</IAMCertificateId>
      <MinimumProtocolVersion>string</MinimumProtocolVersion>
      <SSLSupportMethod>string</SSLSupportMethod>
   </ViewerCertificate>
   <ViewerMtlsConfig>
      <Mode>string</Mode>
      <TrustStoreConfig>
         <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
         <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
         <TrustStoreId>string</TrustStoreId>
      </TrustStoreConfig>
   </ViewerMtlsConfig>
   <WebACLId>string</WebACLId>
</DistributionConfig>
```

## URI Request Parameters
<a name="API_UpdateDistribution_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateDistribution_RequestBody"></a>

The request accepts the following data in XML format.

 ** [DistributionConfig](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-DistributionConfig"></a>
Root level tag for the DistributionConfig parameters.  
Required: Yes

 ** [Aliases](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Aliases"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.  
Type: [Aliases](API_Aliases.md) object  
Required: No

 ** [AnycastIpListId](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-AnycastIpListId"></a>
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html).
ID of the Anycast static IP list that is associated with the distribution.  
Type: String  
Required: No

 ** [CacheBehaviors](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-CacheBehaviors"></a>
A complex type that contains zero or more `CacheBehavior` elements.  
Type: [CacheBehaviors](API_CacheBehaviors.md) object  
Required: No

 ** [CallerReference](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-CallerReference"></a>
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.  
Type: String  
Required: Yes

 ** [Comment](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Comment"></a>
A comment to describe the distribution. The comment cannot be longer than 128 characters.  
Type: String  
Required: Yes

 ** [ConnectionFunctionAssociation](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-ConnectionFunctionAssociation"></a>
The distribution's connection function association.  
Type: [ConnectionFunctionAssociation](API_ConnectionFunctionAssociation.md) object  
Required: No

 ** [ConnectionMode](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-ConnectionMode"></a>
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).  
Type: String  
Valid Values: `direct | tenant-only`   
Required: No

 ** [ContinuousDeploymentPolicyId](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-ContinuousDeploymentPolicyId"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
The identifier of a continuous deployment policy. For more information, see `CreateContinuousDeploymentPolicy`.  
Type: String  
Required: No

 ** [CustomErrorResponses](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-CustomErrorResponses"></a>
A complex type that controls the following:  
+ Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
+ How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see [Customizing Error Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the *Amazon CloudFront Developer Guide*.  
Type: [CustomErrorResponses](API_CustomErrorResponses.md) object  
Required: No

 ** [DefaultCacheBehavior](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-DefaultCacheBehavior"></a>
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.  
Type: [DefaultCacheBehavior](API_DefaultCacheBehavior.md) object  
Required: Yes

 ** [DefaultRootObject](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-DefaultRootObject"></a>
When a viewer requests the root URL for your distribution, the default root object is the object that you want CloudFront to request from your origin. For example, if your root URL is `https://www.example.com`, you can specify CloudFront to return the `index.html` file as the default root object. You can specify a default root object so that viewers see a specific file or object, instead of another object in your distribution (for example, `https://www.example.com/product-description.html`). A default root object avoids exposing the contents of your distribution.  
You can specify the object name or a path to the object name (for example, `index.html` or `exampleFolderName/index.html`). Your string can't begin with a forward slash (`/`). Only specify the object name or the path to the object.  
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 [Specify a default root object](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html) in the *Amazon CloudFront Developer Guide*.  
Type: String  
Required: No

 ** [Enabled](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Enabled"></a>
From this field, you can enable or disable the selected distribution.  
Type: Boolean  
Required: Yes

 ** [HttpVersion](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-HttpVersion"></a>
(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](https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration) at RFC 9000. For more information about supported TLSv1.3 ciphers, see [Supported protocols and ciphers between viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html).  
Type: String  
Valid Values: `http1.1 | http2 | http3 | http2and3`   
Required: No

 ** [IsIPV6Enabled](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-IsIPV6Enabled"></a>
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html).
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html) in the *Amazon CloudFront Developer Guide*.  
If you're using an Amazon Route 53 AWS 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:  
+ You enable IPv6 for the distribution
+ You're using alternate domain names in the URLs for your objects
For more information, see [Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html) in the * Amazon Route 53 AWS Integration Developer Guide*.  
If you created a CNAME resource record set, either with Amazon Route 53 AWS 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.  
Type: Boolean  
Required: No

 ** [Logging](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Logging"></a>
A complex type that controls whether access logs are written for the distribution.  
For more information about logging, see [Access Logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) in the *Amazon CloudFront Developer Guide*.  
Type: [LoggingConfig](API_LoggingConfig.md) object  
Required: No

 ** [OriginGroups](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-OriginGroups"></a>
A complex type that contains information about origin groups for this distribution.  
Type: [OriginGroups](API_OriginGroups.md) object  
Required: No

 ** [Origins](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Origins"></a>
A complex type that contains information about origins for this distribution.  
Type: [Origins](API_Origins.md) object  
Required: Yes

 ** [PriceClass](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-PriceClass"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html) 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](http://aws.amazon.com/cloudfront/pricing/).  
Type: String  
Valid Values: `PriceClass_100 | PriceClass_200 | PriceClass_All | None`   
Required: No

 ** [Restrictions](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Restrictions"></a>
A complex type that identifies ways in which you want to restrict distribution of your content.  
Type: [Restrictions](API_Restrictions.md) object  
Required: No

 ** [Staging](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-Staging"></a>
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
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.  
Type: Boolean  
Required: No

 ** [TenantConfig](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-TenantConfig"></a>
This field only supports multi-tenant distributions. You can't specify this field for standard distributions. For more information, see [Unsupported features for SaaS Manager for Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) in the *Amazon CloudFront Developer Guide*.
A distribution tenant configuration.  
Type: [TenantConfig](API_TenantConfig.md) object  
Required: No

 ** [ViewerCertificate](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-ViewerCertificate"></a>
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.  
Type: [ViewerCertificate](API_ViewerCertificate.md) object  
Required: No

 ** [ViewerMtlsConfig](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-ViewerMtlsConfig"></a>
The distribution's viewer mTLS configuration.  
Type: [ViewerMtlsConfig](API_ViewerMtlsConfig.md) object  
Required: No

 ** [WebACLId](#API_UpdateDistribution_RequestSyntax) **   <a name="cloudfront-UpdateDistribution-request-WebACLId"></a>
Multi-tenant distributions only support AWS WAF V2 web ACLs.
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of AWS 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 AWS WAF Classic, use the ACL ID, for example `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.  
 AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html).  
Type: String  
Required: No

## Response Syntax
<a name="API_UpdateDistribution_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<Distribution>
   <ActiveTrustedKeyGroups>
      <Enabled>boolean</Enabled>
      <Items>
         <KeyGroup>
            <KeyGroupId>string</KeyGroupId>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </KeyGroup>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedKeyGroups>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <AliasICPRecordals>
      <AliasICPRecordal>
         <CNAME>string</CNAME>
         <ICPRecordalStatus>string</ICPRecordalStatus>
      </AliasICPRecordal>
   </AliasICPRecordals>
   <ARN>string</ARN>
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <InProgressInvalidationBatches>integer</InProgressInvalidationBatches>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
</Distribution>
```

## Response Elements
<a name="API_UpdateDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [Distribution](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-Distribution"></a>
Root level tag for the Distribution parameters.  
Required: Yes

 ** [ActiveTrustedKeyGroups](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-ActiveTrustedKeyGroups"></a>
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.  
Type: [ActiveTrustedKeyGroups](API_ActiveTrustedKeyGroups.md) object

 ** [ActiveTrustedSigners](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-ActiveTrustedSigners"></a>
We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
This field contains a list of AWS 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.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [AliasICPRecordals](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-AliasICPRecordals"></a>
 AWS 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](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in *Getting Started with AWS services in China*.  
Type: Array of [AliasICPRecordal](API_AliasICPRecordal.md) objects

 ** [ARN](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-ARN"></a>
The distribution's Amazon Resource Name (ARN).  
Type: String

 ** [DistributionConfig](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-DistributionConfig"></a>
The distribution's configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object

 ** [DomainName](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-DomainName"></a>
The distribution's CloudFront domain name. For example: `d111111abcdef8.cloudfront.net`.  
Type: String

 ** [Id](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-Id"></a>
The distribution's identifier. For example: `E1U5RQF7T870K0`.  
Type: String

 ** [InProgressInvalidationBatches](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-InProgressInvalidationBatches"></a>
The number of invalidation batches currently in progress.  
Type: Integer

 ** [LastModifiedTime](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-LastModifiedTime"></a>
The date and time when the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_UpdateDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateDistribution-response-Status"></a>
The distribution's status. When the status is `Deployed`, the distribution's information is fully propagated to all CloudFront edge locations.  
Type: String

## Errors
<a name="API_UpdateDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** ContinuousDeploymentPolicyInUse **   
You cannot delete a continuous deployment policy that is associated with a primary distribution.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior **   
The specified configuration for field-level encryption can't be associated with the specified cache behavior.  
HTTP Status Code: 400

 ** IllegalOriginAccessConfiguration **   
An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI).  
HTTP Status Code: 400

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidDefaultRootObject **   
The default root object file name is too big or contains an invalid character.  
HTTP Status Code: 400

 ** InvalidDomainNameForOriginAccessControl **   
An origin access control is associated with an origin whose domain name is not supported.  
HTTP Status Code: 400

 ** InvalidErrorCode **   
An invalid error code was specified.  
HTTP Status Code: 400

 ** InvalidForwardCookies **   
Your request contains forward cookies option which doesn't match with the expectation for the `whitelisted` list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.  
HTTP Status Code: 400

 ** InvalidFunctionAssociation **   
A CloudFront function association is invalid.  
HTTP Status Code: 400

 ** InvalidGeoRestrictionParameter **   
The specified geo restriction parameter is not valid.  
HTTP Status Code: 400

 ** InvalidHeadersForS3Origin **   
The headers specified are not valid for an Amazon S3 origin.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** InvalidLambdaFunctionAssociation **   
The specified Lambda@Edge function association is invalid.  
HTTP Status Code: 400

 ** InvalidLocationCode **   
The location code specified is not valid.  
HTTP Status Code: 400

 ** InvalidMinimumProtocolVersion **   
The minimum protocol version specified is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** InvalidOriginKeepaliveTimeout **   
The keep alive timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidOriginReadTimeout **   
The read timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidQueryStringParameters **   
The query string parameters specified are not valid.  
HTTP Status Code: 400

 ** InvalidRelativePath **   
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).  
HTTP Status Code: 400

 ** InvalidRequiredProtocol **   
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the `RequiredProtocols` element from your distribution configuration.  
HTTP Status Code: 400

 ** InvalidResponseCode **   
A response code is not valid.  
HTTP Status Code: 400

 ** InvalidTTLOrder **   
The TTL order specified is not valid.  
HTTP Status Code: 400

 ** InvalidViewerCertificate **   
A viewer certificate specified is not valid.  
HTTP Status Code: 400

 ** InvalidWebACLId **   
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** NoSuchContinuousDeploymentPolicy **   
The continuous deployment policy doesn't exist.  
HTTP Status Code: 404

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchOrigin **   
No origin exists with the specified `Origin Id`.  
HTTP Status Code: 404

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** RealtimeLogConfigOwnerMismatch **   
The specified real-time log configuration belongs to a different AWS account.  
HTTP Status Code: 401

 ** StagingDistributionInUse **   
A continuous deployment policy for this staging distribution already exists.  
HTTP Status Code: 409

 ** TooManyCacheBehaviors **   
You cannot create more cache behaviors for the distribution.  
HTTP Status Code: 400

 ** TooManyCertificates **   
You cannot create anymore custom SSL/TLS certificates.  
HTTP Status Code: 400

 ** TooManyCookieNamesInWhiteList **   
Your request contains more cookie names in the whitelist than are allowed per cache behavior.  
HTTP Status Code: 400

 ** TooManyDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToCachePolicy **   
The maximum number of distributions have been associated with the specified cache policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToFieldLevelEncryptionConfig **   
The maximum number of distributions have been associated with the specified configuration for field-level encryption.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToKeyGroup **   
The number of distributions that reference this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginAccessControl **   
The maximum number of distributions have been associated with the specified origin access control.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginRequestPolicy **   
The maximum number of distributions have been associated with the specified origin request policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToResponseHeadersPolicy **   
The maximum number of distributions have been associated with the specified response headers policy.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithFunctionAssociations **   
You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithLambdaAssociations **   
Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.  
HTTP Status Code: 400

 ** TooManyDistributionsWithSingleFunctionARN **   
The maximum number of distributions have been associated with the specified Lambda@Edge function.  
HTTP Status Code: 400

 ** TooManyFunctionAssociations **   
You have reached the maximum number of CloudFront function associations for this distribution. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInForwardedValues **   
Your request contains too many headers in forwarded values.  
HTTP Status Code: 400

 ** TooManyKeyGroupsAssociatedToDistribution **   
The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyLambdaFunctionAssociations **   
Your request contains more Lambda@Edge function associations than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyOriginCustomHeaders **   
Your request contains too many origin custom headers.  
HTTP Status Code: 400

 ** TooManyOriginGroupsPerDistribution **   
Processing your request would cause you to exceed the maximum number of origin groups allowed.  
HTTP Status Code: 400

 ** TooManyOrigins **   
You cannot create more origins for the distribution.  
HTTP Status Code: 400

 ** TooManyQueryStringParameters **   
Your request contains too many query string parameters.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedKeyGroupDoesNotExist **   
The specified key group does not exist.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateDistribution) 

# UpdateDistributionTenant
<a name="API_UpdateDistributionTenant"></a>

Updates a distribution tenant.

## Request Syntax
<a name="API_UpdateDistributionTenant_RequestSyntax"></a>

```
PUT /2020-05-31/distribution-tenant/Id HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateDistributionTenantRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ConnectionGroupId>string</ConnectionGroupId>
   <Customizations>
      <Certificate>
         <Arn>string</Arn>
      </Certificate>
      <GeoRestrictions>
         <Locations>
            <Location>string</Location>
         </Locations>
         <RestrictionType>string</RestrictionType>
      </GeoRestrictions>
      <WebAcl>
         <Action>string</Action>
         <Arn>string</Arn>
      </WebAcl>
   </Customizations>
   <DistributionId>string</DistributionId>
   <Domains>
      <DomainItem>
         <Domain>string</Domain>
      </DomainItem>
   </Domains>
   <Enabled>boolean</Enabled>
   <ManagedCertificateRequest>
      <CertificateTransparencyLoggingPreference>string</CertificateTransparencyLoggingPreference>
      <PrimaryDomainName>string</PrimaryDomainName>
      <ValidationTokenHost>string</ValidationTokenHost>
   </ManagedCertificateRequest>
   <Parameters>
      <Parameter>
         <Name>string</Name>
         <Value>string</Value>
      </Parameter>
   </Parameters>
</UpdateDistributionTenantRequest>
```

## URI Request Parameters
<a name="API_UpdateDistributionTenant_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-uri-Id"></a>
The ID of the distribution tenant.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [If-Match](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-IfMatch"></a>
The value of the `ETag` header that you received when retrieving the distribution tenant to update. This value is returned in the response of the `GetDistributionTenant` API operation.  
Required: Yes

## Request Body
<a name="API_UpdateDistributionTenant_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateDistributionTenantRequest](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-UpdateDistributionTenantRequest"></a>
Root level tag for the UpdateDistributionTenantRequest parameters.  
Required: Yes

 ** [ConnectionGroupId](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-ConnectionGroupId"></a>
The ID of the target connection group.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: No

 ** [Customizations](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-Customizations"></a>
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.  
Type: [Customizations](API_Customizations.md) object  
Required: No

 ** [DistributionId](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-DistributionId"></a>
The ID for the multi-tenant distribution.  
Type: String  
Required: No

 ** [Domains](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-Domains"></a>
The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.  
Type: Array of [DomainItem](API_DomainItem.md) objects  
Required: No

 ** [Enabled](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-Enabled"></a>
Indicates whether the distribution tenant should be updated to an enabled state. If you update the distribution tenant and it's not enabled, the distribution tenant won't serve traffic.  
Type: Boolean  
Required: No

 ** [ManagedCertificateRequest](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-ManagedCertificateRequest"></a>
An object that contains the CloudFront managed ACM certificate request.  
Type: [ManagedCertificateRequest](API_ManagedCertificateRequest.md) object  
Required: No

 ** [Parameters](#API_UpdateDistributionTenant_RequestSyntax) **   <a name="cloudfront-UpdateDistributionTenant-request-Parameters"></a>
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.  
Type: Array of [Parameter](API_Parameter.md) objects  
Required: No

## Response Syntax
<a name="API_UpdateDistributionTenant_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<DistributionTenant>
   <Arn>string</Arn>
   <ConnectionGroupId>string</ConnectionGroupId>
   <CreatedTime>timestamp</CreatedTime>
   <Customizations>
      <Certificate>
         <Arn>string</Arn>
      </Certificate>
      <GeoRestrictions>
         <Locations>
            <Location>string</Location>
         </Locations>
         <RestrictionType>string</RestrictionType>
      </GeoRestrictions>
      <WebAcl>
         <Action>string</Action>
         <Arn>string</Arn>
      </WebAcl>
   </Customizations>
   <DistributionId>string</DistributionId>
   <Domains>
      <DomainResult>
         <Domain>string</Domain>
         <Status>string</Status>
      </DomainResult>
   </Domains>
   <Enabled>boolean</Enabled>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Parameters>
      <Parameter>
         <Name>string</Name>
         <Value>string</Value>
      </Parameter>
   </Parameters>
   <Status>string</Status>
   <Tags>
      <Items>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
      </Items>
   </Tags>
</DistributionTenant>
```

## Response Elements
<a name="API_UpdateDistributionTenant_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [DistributionTenant](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-DistributionTenant"></a>
Root level tag for the DistributionTenant parameters.  
Required: Yes

 ** [Arn](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Arn"></a>
The Amazon Resource Name (ARN) of the distribution tenant.  
Type: String

 ** [ConnectionGroupId](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-ConnectionGroupId"></a>
The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.  
Type: String

 ** [CreatedTime](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-CreatedTime"></a>
The date and time when the distribution tenant was created.  
Type: Timestamp

 ** [Customizations](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Customizations"></a>
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.  
Type: [Customizations](API_Customizations.md) object

 ** [DistributionId](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-DistributionId"></a>
The ID of the multi-tenant distribution.  
Type: String

 ** [Domains](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Domains"></a>
The domains associated with the distribution tenant.  
Type: Array of [DomainResult](API_DomainResult.md) objects

 ** [Enabled](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Enabled"></a>
Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.  
Type: Boolean

 ** [Id](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Id"></a>
The ID of the distribution tenant.  
Type: String

 ** [LastModifiedTime](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-LastModifiedTime"></a>
The date and time when the distribution tenant was updated.  
Type: Timestamp

 ** [Name](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Name"></a>
The name of the distribution tenant.  
Type: String

 ** [Parameters](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Parameters"></a>
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.  
Type: Array of [Parameter](API_Parameter.md) objects

 ** [Status](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Status"></a>
The status of the distribution tenant.  
Type: String

 ** [Tags](#API_UpdateDistributionTenant_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionTenant-response-Tags"></a>
A complex type that contains zero or more `Tag` elements.  
Type: [Tags](API_Tags.md) object

## Errors
<a name="API_UpdateDistributionTenant_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidAssociation **   
The specified CloudFront resource can't be associated.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_UpdateDistributionTenant_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateDistributionTenant) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateDistributionTenant) 

# UpdateDistributionWithStagingConfig
<a name="API_UpdateDistributionWithStagingConfig"></a>

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

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

This API operation requires the following IAM permissions:
+  [GetDistribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html) 
+  [UpdateDistribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html) 

## Request Syntax
<a name="API_UpdateDistributionWithStagingConfig_RequestSyntax"></a>

```
PUT /2020-05-31/distribution/Id/promote-staging-config?StagingDistributionId=StagingDistributionId HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_UpdateDistributionWithStagingConfig_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Id](#API_UpdateDistributionWithStagingConfig_RequestSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-request-uri-Id"></a>
The identifier of the primary distribution to which you are copying a staging distribution's configuration.  
Required: Yes

 ** [If-Match](#API_UpdateDistributionWithStagingConfig_RequestSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-request-IfMatch"></a>
The current versions (`ETag` values) of both primary and staging distributions. Provide these in the following format:  
 `<primary ETag>, <staging ETag>` 

 ** [StagingDistributionId](#API_UpdateDistributionWithStagingConfig_RequestSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-request-uri-StagingDistributionId"></a>
The identifier of the staging distribution whose configuration you are copying to the primary distribution.

## Request Body
<a name="API_UpdateDistributionWithStagingConfig_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_UpdateDistributionWithStagingConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<Distribution>
   <ActiveTrustedKeyGroups>
      <Enabled>boolean</Enabled>
      <Items>
         <KeyGroup>
            <KeyGroupId>string</KeyGroupId>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </KeyGroup>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedKeyGroups>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <AliasICPRecordals>
      <AliasICPRecordal>
         <CNAME>string</CNAME>
         <ICPRecordalStatus>string</ICPRecordalStatus>
      </AliasICPRecordal>
   </AliasICPRecordals>
   <ARN>string</ARN>
   <DistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <AnycastIpListId>string</AnycastIpListId>
      <CacheBehaviors>
         <Items>
            <CacheBehavior>
               <AllowedMethods>
                  <CachedMethods>
                     <Items>
                        <Method>string</Method>
                     </Items>
                     <Quantity>integer</Quantity>
                  </CachedMethods>
                  <Items>
                     <Method>string</Method>
                  </Items>
                  <Quantity>integer</Quantity>
               </AllowedMethods>
               <CachePolicyId>string</CachePolicyId>
               <Compress>boolean</Compress>
               <DefaultTTL>long</DefaultTTL>
               <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
               <ForwardedValues>
                  <Cookies>
                     <Forward>string</Forward>
                     <WhitelistedNames>
                        <Items>
                           <Name>string</Name>
                        </Items>
                        <Quantity>integer</Quantity>
                     </WhitelistedNames>
                  </Cookies>
                  <Headers>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </Headers>
                  <QueryString>boolean</QueryString>
                  <QueryStringCacheKeys>
                     <Items>
                        <Name>string</Name>
                     </Items>
                     <Quantity>integer</Quantity>
                  </QueryStringCacheKeys>
               </ForwardedValues>
               <FunctionAssociations>
                  <Items>
                     <FunctionAssociation>
                        <EventType>string</EventType>
                        <FunctionARN>string</FunctionARN>
                     </FunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </FunctionAssociations>
               <GrpcConfig>
                  <Enabled>boolean</Enabled>
               </GrpcConfig>
               <LambdaFunctionAssociations>
                  <Items>
                     <LambdaFunctionAssociation>
                        <EventType>string</EventType>
                        <IncludeBody>boolean</IncludeBody>
                        <LambdaFunctionARN>string</LambdaFunctionARN>
                     </LambdaFunctionAssociation>
                  </Items>
                  <Quantity>integer</Quantity>
               </LambdaFunctionAssociations>
               <MaxTTL>long</MaxTTL>
               <MinTTL>long</MinTTL>
               <OriginRequestPolicyId>string</OriginRequestPolicyId>
               <PathPattern>string</PathPattern>
               <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
               <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
               <SmoothStreaming>boolean</SmoothStreaming>
               <TargetOriginId>string</TargetOriginId>
               <TrustedKeyGroups>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <KeyGroup>string</KeyGroup>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedKeyGroups>
               <TrustedSigners>
                  <Enabled>boolean</Enabled>
                  <Items>
                     <AwsAccountNumber>string</AwsAccountNumber>
                  </Items>
                  <Quantity>integer</Quantity>
               </TrustedSigners>
               <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
            </CacheBehavior>
         </Items>
         <Quantity>integer</Quantity>
      </CacheBehaviors>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ConnectionFunctionAssociation>
         <Id>string</Id>
      </ConnectionFunctionAssociation>
      <ConnectionMode>string</ConnectionMode>
      <ContinuousDeploymentPolicyId>string</ContinuousDeploymentPolicyId>
      <CustomErrorResponses>
         <Items>
            <CustomErrorResponse>
               <ErrorCachingMinTTL>long</ErrorCachingMinTTL>
               <ErrorCode>integer</ErrorCode>
               <ResponseCode>string</ResponseCode>
               <ResponsePagePath>string</ResponsePagePath>
            </CustomErrorResponse>
         </Items>
         <Quantity>integer</Quantity>
      </CustomErrorResponses>
      <DefaultCacheBehavior>
         <AllowedMethods>
            <CachedMethods>
               <Items>
                  <Method>string</Method>
               </Items>
               <Quantity>integer</Quantity>
            </CachedMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AllowedMethods>
         <CachePolicyId>string</CachePolicyId>
         <Compress>boolean</Compress>
         <DefaultTTL>long</DefaultTTL>
         <FieldLevelEncryptionId>string</FieldLevelEncryptionId>
         <ForwardedValues>
            <Cookies>
               <Forward>string</Forward>
               <WhitelistedNames>
                  <Items>
                     <Name>string</Name>
                  </Items>
                  <Quantity>integer</Quantity>
               </WhitelistedNames>
            </Cookies>
            <Headers>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </Headers>
            <QueryString>boolean</QueryString>
            <QueryStringCacheKeys>
               <Items>
                  <Name>string</Name>
               </Items>
               <Quantity>integer</Quantity>
            </QueryStringCacheKeys>
         </ForwardedValues>
         <FunctionAssociations>
            <Items>
               <FunctionAssociation>
                  <EventType>string</EventType>
                  <FunctionARN>string</FunctionARN>
               </FunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </FunctionAssociations>
         <GrpcConfig>
            <Enabled>boolean</Enabled>
         </GrpcConfig>
         <LambdaFunctionAssociations>
            <Items>
               <LambdaFunctionAssociation>
                  <EventType>string</EventType>
                  <IncludeBody>boolean</IncludeBody>
                  <LambdaFunctionARN>string</LambdaFunctionARN>
               </LambdaFunctionAssociation>
            </Items>
            <Quantity>integer</Quantity>
         </LambdaFunctionAssociations>
         <MaxTTL>long</MaxTTL>
         <MinTTL>long</MinTTL>
         <OriginRequestPolicyId>string</OriginRequestPolicyId>
         <RealtimeLogConfigArn>string</RealtimeLogConfigArn>
         <ResponseHeadersPolicyId>string</ResponseHeadersPolicyId>
         <SmoothStreaming>boolean</SmoothStreaming>
         <TargetOriginId>string</TargetOriginId>
         <TrustedKeyGroups>
            <Enabled>boolean</Enabled>
            <Items>
               <KeyGroup>string</KeyGroup>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedKeyGroups>
         <TrustedSigners>
            <Enabled>boolean</Enabled>
            <Items>
               <AwsAccountNumber>string</AwsAccountNumber>
            </Items>
            <Quantity>integer</Quantity>
         </TrustedSigners>
         <ViewerProtocolPolicy>string</ViewerProtocolPolicy>
      </DefaultCacheBehavior>
      <DefaultRootObject>string</DefaultRootObject>
      <Enabled>boolean</Enabled>
      <HttpVersion>string</HttpVersion>
      <IsIPV6Enabled>boolean</IsIPV6Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <IncludeCookies>boolean</IncludeCookies>
         <Prefix>string</Prefix>
      </Logging>
      <OriginGroups>
         <Items>
            <OriginGroup>
               <FailoverCriteria>
                  <StatusCodes>
                     <Items>
                        <StatusCode>integer</StatusCode>
                     </Items>
                     <Quantity>integer</Quantity>
                  </StatusCodes>
               </FailoverCriteria>
               <Id>string</Id>
               <Members>
                  <Items>
                     <OriginGroupMember>
                        <OriginId>string</OriginId>
                     </OriginGroupMember>
                  </Items>
                  <Quantity>integer</Quantity>
               </Members>
               <SelectionCriteria>string</SelectionCriteria>
            </OriginGroup>
         </Items>
         <Quantity>integer</Quantity>
      </OriginGroups>
      <Origins>
         <Items>
            <Origin>
               <ConnectionAttempts>integer</ConnectionAttempts>
               <ConnectionTimeout>integer</ConnectionTimeout>
               <CustomHeaders>
                  <Items>
                     <OriginCustomHeader>
                        <HeaderName>string</HeaderName>
                        <HeaderValue>string</HeaderValue>
                     </OriginCustomHeader>
                  </Items>
                  <Quantity>integer</Quantity>
               </CustomHeaders>
               <CustomOriginConfig>
                  <HTTPPort>integer</HTTPPort>
                  <HTTPSPort>integer</HTTPSPort>
                  <IpAddressType>string</IpAddressType>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginMtlsConfig>
                     <ClientCertificateArn>string</ClientCertificateArn>
                  </OriginMtlsConfig>
                  <OriginProtocolPolicy>string</OriginProtocolPolicy>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <OriginSslProtocols>
                     <Items>
                        <SslProtocol>string</SslProtocol>
                     </Items>
                     <Quantity>integer</Quantity>
                  </OriginSslProtocols>
               </CustomOriginConfig>
               <DomainName>string</DomainName>
               <Id>string</Id>
               <OriginAccessControlId>string</OriginAccessControlId>
               <OriginPath>string</OriginPath>
               <OriginShield>
                  <Enabled>boolean</Enabled>
                  <OriginShieldRegion>string</OriginShieldRegion>
               </OriginShield>
               <ResponseCompletionTimeout>integer</ResponseCompletionTimeout>
               <S3OriginConfig>
                  <OriginAccessIdentity>string</OriginAccessIdentity>
                  <OriginReadTimeout>integer</OriginReadTimeout>
               </S3OriginConfig>
               <VpcOriginConfig>
                  <OriginKeepaliveTimeout>integer</OriginKeepaliveTimeout>
                  <OriginReadTimeout>integer</OriginReadTimeout>
                  <VpcOriginId>string</VpcOriginId>
               </VpcOriginConfig>
            </Origin>
         </Items>
         <Quantity>integer</Quantity>
      </Origins>
      <PriceClass>string</PriceClass>
      <Restrictions>
         <GeoRestriction>
            <Items>
               <Location>string</Location>
            </Items>
            <Quantity>integer</Quantity>
            <RestrictionType>string</RestrictionType>
         </GeoRestriction>
      </Restrictions>
      <Staging>boolean</Staging>
      <TenantConfig>
         <ParameterDefinitions>
            <ParameterDefinition>
               <Definition>
                  <StringSchema>
                     <Comment>string</Comment>
                     <DefaultValue>string</DefaultValue>
                     <Required>boolean</Required>
                  </StringSchema>
               </Definition>
               <Name>string</Name>
            </ParameterDefinition>
         </ParameterDefinitions>
      </TenantConfig>
      <ViewerCertificate>
         <ACMCertificateArn>string</ACMCertificateArn>
         <Certificate>string</Certificate>
         <CertificateSource>string</CertificateSource>
         <CloudFrontDefaultCertificate>boolean</CloudFrontDefaultCertificate>
         <IAMCertificateId>string</IAMCertificateId>
         <MinimumProtocolVersion>string</MinimumProtocolVersion>
         <SSLSupportMethod>string</SSLSupportMethod>
      </ViewerCertificate>
      <ViewerMtlsConfig>
         <Mode>string</Mode>
         <TrustStoreConfig>
            <AdvertiseTrustStoreCaNames>boolean</AdvertiseTrustStoreCaNames>
            <IgnoreCertificateExpiry>boolean</IgnoreCertificateExpiry>
            <TrustStoreId>string</TrustStoreId>
         </TrustStoreConfig>
      </ViewerMtlsConfig>
      <WebACLId>string</WebACLId>
   </DistributionConfig>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <InProgressInvalidationBatches>integer</InProgressInvalidationBatches>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
</Distribution>
```

## Response Elements
<a name="API_UpdateDistributionWithStagingConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [Distribution](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-Distribution"></a>
Root level tag for the Distribution parameters.  
Required: Yes

 ** [ActiveTrustedKeyGroups](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-ActiveTrustedKeyGroups"></a>
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.  
Type: [ActiveTrustedKeyGroups](API_ActiveTrustedKeyGroups.md) object

 ** [ActiveTrustedSigners](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-ActiveTrustedSigners"></a>
We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
This field contains a list of AWS 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.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [AliasICPRecordals](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-AliasICPRecordals"></a>
 AWS 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](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in *Getting Started with AWS services in China*.  
Type: Array of [AliasICPRecordal](API_AliasICPRecordal.md) objects

 ** [ARN](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-ARN"></a>
The distribution's Amazon Resource Name (ARN).  
Type: String

 ** [DistributionConfig](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-DistributionConfig"></a>
The distribution's configuration.  
Type: [DistributionConfig](API_DistributionConfig.md) object

 ** [DomainName](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-DomainName"></a>
The distribution's CloudFront domain name. For example: `d111111abcdef8.cloudfront.net`.  
Type: String

 ** [Id](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-Id"></a>
The distribution's identifier. For example: `E1U5RQF7T870K0`.  
Type: String

 ** [InProgressInvalidationBatches](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-InProgressInvalidationBatches"></a>
The number of invalidation batches currently in progress.  
Type: Integer

 ** [LastModifiedTime](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-LastModifiedTime"></a>
The date and time when the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_UpdateDistributionWithStagingConfig_ResponseSyntax) **   <a name="cloudfront-UpdateDistributionWithStagingConfig-response-Status"></a>
The distribution's status. When the status is `Deployed`, the distribution's information is fully propagated to all CloudFront edge locations.  
Type: String

## Errors
<a name="API_UpdateDistributionWithStagingConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior **   
The specified configuration for field-level encryption can't be associated with the specified cache behavior.  
HTTP Status Code: 400

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidDefaultRootObject **   
The default root object file name is too big or contains an invalid character.  
HTTP Status Code: 400

 ** InvalidErrorCode **   
An invalid error code was specified.  
HTTP Status Code: 400

 ** InvalidForwardCookies **   
Your request contains forward cookies option which doesn't match with the expectation for the `whitelisted` list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.  
HTTP Status Code: 400

 ** InvalidFunctionAssociation **   
A CloudFront function association is invalid.  
HTTP Status Code: 400

 ** InvalidGeoRestrictionParameter **   
The specified geo restriction parameter is not valid.  
HTTP Status Code: 400

 ** InvalidHeadersForS3Origin **   
The headers specified are not valid for an Amazon S3 origin.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** InvalidLambdaFunctionAssociation **   
The specified Lambda@Edge function association is invalid.  
HTTP Status Code: 400

 ** InvalidLocationCode **   
The location code specified is not valid.  
HTTP Status Code: 400

 ** InvalidMinimumProtocolVersion **   
The minimum protocol version specified is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** InvalidOriginKeepaliveTimeout **   
The keep alive timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidOriginReadTimeout **   
The read timeout specified for the origin is not valid.  
HTTP Status Code: 400

 ** InvalidQueryStringParameters **   
The query string parameters specified are not valid.  
HTTP Status Code: 400

 ** InvalidRelativePath **   
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).  
HTTP Status Code: 400

 ** InvalidRequiredProtocol **   
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the `RequiredProtocols` element from your distribution configuration.  
HTTP Status Code: 400

 ** InvalidResponseCode **   
A response code is not valid.  
HTTP Status Code: 400

 ** InvalidTTLOrder **   
The TTL order specified is not valid.  
HTTP Status Code: 400

 ** InvalidViewerCertificate **   
A viewer certificate specified is not valid.  
HTTP Status Code: 400

 ** InvalidWebACLId **   
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchCachePolicy **   
The cache policy does not exist.  
HTTP Status Code: 404

 ** NoSuchDistribution **   
The specified distribution does not exist.  
HTTP Status Code: 404

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchOrigin **   
No origin exists with the specified `Origin Id`.  
HTTP Status Code: 404

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** RealtimeLogConfigOwnerMismatch **   
The specified real-time log configuration belongs to a different AWS account.  
HTTP Status Code: 401

 ** TooManyCacheBehaviors **   
You cannot create more cache behaviors for the distribution.  
HTTP Status Code: 400

 ** TooManyCertificates **   
You cannot create anymore custom SSL/TLS certificates.  
HTTP Status Code: 400

 ** TooManyCookieNamesInWhiteList **   
Your request contains more cookie names in the whitelist than are allowed per cache behavior.  
HTTP Status Code: 400

 ** TooManyDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToCachePolicy **   
The maximum number of distributions have been associated with the specified cache policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToFieldLevelEncryptionConfig **   
The maximum number of distributions have been associated with the specified configuration for field-level encryption.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToKeyGroup **   
The number of distributions that reference this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginAccessControl **   
The maximum number of distributions have been associated with the specified origin access control.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToOriginRequestPolicy **   
The maximum number of distributions have been associated with the specified origin request policy. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsAssociatedToResponseHeadersPolicy **   
The maximum number of distributions have been associated with the specified response headers policy.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithFunctionAssociations **   
You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyDistributionsWithLambdaAssociations **   
Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.  
HTTP Status Code: 400

 ** TooManyDistributionsWithSingleFunctionARN **   
The maximum number of distributions have been associated with the specified Lambda@Edge function.  
HTTP Status Code: 400

 ** TooManyFunctionAssociations **   
You have reached the maximum number of CloudFront function associations for this distribution. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInForwardedValues **   
Your request contains too many headers in forwarded values.  
HTTP Status Code: 400

 ** TooManyKeyGroupsAssociatedToDistribution **   
The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyLambdaFunctionAssociations **   
Your request contains more Lambda@Edge function associations than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyOriginCustomHeaders **   
Your request contains too many origin custom headers.  
HTTP Status Code: 400

 ** TooManyOriginGroupsPerDistribution **   
Processing your request would cause you to exceed the maximum number of origin groups allowed.  
HTTP Status Code: 400

 ** TooManyOrigins **   
You cannot create more origins for the distribution.  
HTTP Status Code: 400

 ** TooManyQueryStringParameters **   
Your request contains too many query string parameters.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedKeyGroupDoesNotExist **   
The specified key group does not exist.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateDistributionWithStagingConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig) 

# UpdateDomainAssociation
<a name="API_UpdateDomainAssociation"></a>

**Note**  
We recommend that you use the `UpdateDomainAssociation` API operation to move a domain association, as it supports both standard distributions and distribution tenants. [AssociateAlias](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_AssociateAlias.html) performs similar checks but only supports standard distributions.

Moves a domain from its current standard distribution or distribution tenant to another one.

You must first disable the source distribution (standard distribution or distribution tenant) and then separately call this operation to move the domain to another target distribution (standard distribution or distribution tenant).

To use this operation, specify the domain and the ID of the target resource (standard distribution or distribution tenant). For more information, including how to set up the target resource, prerequisites that you must complete, and other restrictions, see [Moving an alternate domain name to a different standard distribution or distribution tenant](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move) in the *Amazon CloudFront Developer Guide*.

## Request Syntax
<a name="API_UpdateDomainAssociation_RequestSyntax"></a>

```
POST /2020-05-31/domain-association HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateDomainAssociationRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Domain>string</Domain>
   <TargetResource>
      <DistributionId>string</DistributionId>
      <DistributionTenantId>string</DistributionTenantId>
   </TargetResource>
</UpdateDomainAssociationRequest>
```

## URI Request Parameters
<a name="API_UpdateDomainAssociation_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_UpdateDomainAssociation_RequestSyntax) **   <a name="cloudfront-UpdateDomainAssociation-request-IfMatch"></a>
The value of the `ETag` identifier for the standard distribution or distribution tenant that will be associated with the domain.

## Request Body
<a name="API_UpdateDomainAssociation_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateDomainAssociationRequest](#API_UpdateDomainAssociation_RequestSyntax) **   <a name="cloudfront-UpdateDomainAssociation-request-UpdateDomainAssociationRequest"></a>
Root level tag for the UpdateDomainAssociationRequest parameters.  
Required: Yes

 ** [Domain](#API_UpdateDomainAssociation_RequestSyntax) **   <a name="cloudfront-UpdateDomainAssociation-request-Domain"></a>
The domain to update.  
Type: String  
Required: Yes

 ** [TargetResource](#API_UpdateDomainAssociation_RequestSyntax) **   <a name="cloudfront-UpdateDomainAssociation-request-TargetResource"></a>
The target standard distribution or distribution tenant resource for the domain. You can specify either `DistributionId` or `DistributionTenantId`, but not both.  
Type: [DistributionResourceId](API_DistributionResourceId.md) object  
Required: Yes

## Response Syntax
<a name="API_UpdateDomainAssociation_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
<?xml version="1.0" encoding="UTF-8"?>
<UpdateDomainAssociationResult>
   <Domain>string</Domain>
   <ResourceId>string</ResourceId>
</UpdateDomainAssociationResult>
```

## Response Elements
<a name="API_UpdateDomainAssociation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_UpdateDomainAssociation_ResponseSyntax) **   <a name="cloudfront-UpdateDomainAssociation-response-ETag"></a>
The current version of the target standard distribution or distribution tenant that was associated with the domain.

The following data is returned in XML format by the service.

 ** [UpdateDomainAssociationResult](#API_UpdateDomainAssociation_ResponseSyntax) **   <a name="cloudfront-UpdateDomainAssociation-response-UpdateDomainAssociationResult"></a>
Root level tag for the UpdateDomainAssociationResult parameters.  
Required: Yes

 ** [Domain](#API_UpdateDomainAssociation_ResponseSyntax) **   <a name="cloudfront-UpdateDomainAssociation-response-Domain"></a>
The domain that you're moving.  
Type: String

 ** [ResourceId](#API_UpdateDomainAssociation_ResponseSyntax) **   <a name="cloudfront-UpdateDomainAssociation-response-ResourceId"></a>
The intended destination for the domain.  
Type: String

## Errors
<a name="API_UpdateDomainAssociation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidAssociation **   
The specified CloudFront resource can't be associated.  
HTTP Status Code: 409

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_UpdateDomainAssociation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateDomainAssociation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateDomainAssociation) 

# UpdateFieldLevelEncryptionConfig
<a name="API_UpdateFieldLevelEncryptionConfig"></a>

Update a field-level encryption configuration.

## Request Syntax
<a name="API_UpdateFieldLevelEncryptionConfig_RequestSyntax"></a>

```
PUT /2020-05-31/field-level-encryption/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <ContentTypeProfileConfig>
      <ContentTypeProfiles>
         <Items>
            <ContentTypeProfile>
               <ContentType>string</ContentType>
               <Format>string</Format>
               <ProfileId>string</ProfileId>
            </ContentTypeProfile>
         </Items>
         <Quantity>integer</Quantity>
      </ContentTypeProfiles>
      <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
   </ContentTypeProfileConfig>
   <QueryArgProfileConfig>
      <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
      <QueryArgProfiles>
         <Items>
            <QueryArgProfile>
               <ProfileId>string</ProfileId>
               <QueryArg>string</QueryArg>
            </QueryArgProfile>
         </Items>
         <Quantity>integer</Quantity>
      </QueryArgProfiles>
   </QueryArgProfileConfig>
</FieldLevelEncryptionConfig>
```

## URI Request Parameters
<a name="API_UpdateFieldLevelEncryptionConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateFieldLevelEncryptionConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [FieldLevelEncryptionConfig](#API_UpdateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-request-FieldLevelEncryptionConfig"></a>
Root level tag for the FieldLevelEncryptionConfig parameters.  
Required: Yes

 ** [CallerReference](#API_UpdateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-request-CallerReference"></a>
A unique number that ensures the request can't be replayed.  
Type: String  
Required: Yes

 ** [Comment](#API_UpdateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-request-Comment"></a>
An optional comment about the configuration. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [ContentTypeProfileConfig](#API_UpdateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-request-ContentTypeProfileConfig"></a>
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.  
Type: [ContentTypeProfileConfig](API_ContentTypeProfileConfig.md) object  
Required: No

 ** [QueryArgProfileConfig](#API_UpdateFieldLevelEncryptionConfig_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-request-QueryArgProfileConfig"></a>
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.  
Type: [QueryArgProfileConfig](API_QueryArgProfileConfig.md) object  
Required: No

## Response Syntax
<a name="API_UpdateFieldLevelEncryptionConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryption>
   <FieldLevelEncryptionConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <ContentTypeProfileConfig>
         <ContentTypeProfiles>
            <Items>
               <ContentTypeProfile>
                  <ContentType>string</ContentType>
                  <Format>string</Format>
                  <ProfileId>string</ProfileId>
               </ContentTypeProfile>
            </Items>
            <Quantity>integer</Quantity>
         </ContentTypeProfiles>
         <ForwardWhenContentTypeIsUnknown>boolean</ForwardWhenContentTypeIsUnknown>
      </ContentTypeProfileConfig>
      <QueryArgProfileConfig>
         <ForwardWhenQueryArgProfileIsUnknown>boolean</ForwardWhenQueryArgProfileIsUnknown>
         <QueryArgProfiles>
            <Items>
               <QueryArgProfile>
                  <ProfileId>string</ProfileId>
                  <QueryArg>string</QueryArg>
               </QueryArgProfile>
            </Items>
            <Quantity>integer</Quantity>
         </QueryArgProfiles>
      </QueryArgProfileConfig>
   </FieldLevelEncryptionConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</FieldLevelEncryption>
```

## Response Elements
<a name="API_UpdateFieldLevelEncryptionConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryption](#API_UpdateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-response-FieldLevelEncryption"></a>
Root level tag for the FieldLevelEncryption parameters.  
Required: Yes

 ** [FieldLevelEncryptionConfig](#API_UpdateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-response-FieldLevelEncryptionConfig"></a>
A complex data type that includes the profile configurations specified for field-level encryption.  
Type: [FieldLevelEncryptionConfig](API_FieldLevelEncryptionConfig.md) object

 ** [Id](#API_UpdateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-response-Id"></a>
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.  
Type: String

 ** [LastModifiedTime](#API_UpdateFieldLevelEncryptionConfig_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionConfig-response-LastModifiedTime"></a>
The last time the field-level encryption configuration was changed.  
Type: Timestamp

## Errors
<a name="API_UpdateFieldLevelEncryptionConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFieldLevelEncryptionConfig **   
The specified configuration for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchFieldLevelEncryptionProfile **   
The specified profile for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** QueryArgProfileEmpty **   
No profile specified for the field-level encryption query argument.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionContentTypeProfiles **   
The maximum number of content type profiles for field-level encryption have been created.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionQueryArgProfiles **   
The maximum number of query arg profiles for field-level encryption have been created.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateFieldLevelEncryptionConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig) 

# UpdateFieldLevelEncryptionProfile
<a name="API_UpdateFieldLevelEncryptionProfile"></a>

Update a field-level encryption profile.

## Request Syntax
<a name="API_UpdateFieldLevelEncryptionProfile_RequestSyntax"></a>

```
PUT /2020-05-31/field-level-encryption-profile/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfileConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <EncryptionEntities>
      <Items>
         <EncryptionEntity>
            <FieldPatterns>
               <Items>
                  <FieldPattern>string</FieldPattern>
               </Items>
               <Quantity>integer</Quantity>
            </FieldPatterns>
            <ProviderId>string</ProviderId>
            <PublicKeyId>string</PublicKeyId>
         </EncryptionEntity>
      </Items>
      <Quantity>integer</Quantity>
   </EncryptionEntities>
   <Name>string</Name>
</FieldLevelEncryptionProfileConfig>
```

## URI Request Parameters
<a name="API_UpdateFieldLevelEncryptionProfile_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateFieldLevelEncryptionProfile_RequestBody"></a>

The request accepts the following data in XML format.

 ** [FieldLevelEncryptionProfileConfig](#API_UpdateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-request-FieldLevelEncryptionProfileConfig"></a>
Root level tag for the FieldLevelEncryptionProfileConfig parameters.  
Required: Yes

 ** [CallerReference](#API_UpdateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-request-CallerReference"></a>
A unique number that ensures that the request can't be replayed.  
Type: String  
Required: Yes

 ** [Comment](#API_UpdateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-request-Comment"></a>
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [EncryptionEntities](#API_UpdateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-request-EncryptionEntities"></a>
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.  
Type: [EncryptionEntities](API_EncryptionEntities.md) object  
Required: Yes

 ** [Name](#API_UpdateFieldLevelEncryptionProfile_RequestSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-request-Name"></a>
Profile name for the field-level encryption profile.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_UpdateFieldLevelEncryptionProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FieldLevelEncryptionProfile>
   <FieldLevelEncryptionProfileConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <EncryptionEntities>
         <Items>
            <EncryptionEntity>
               <FieldPatterns>
                  <Items>
                     <FieldPattern>string</FieldPattern>
                  </Items>
                  <Quantity>integer</Quantity>
               </FieldPatterns>
               <ProviderId>string</ProviderId>
               <PublicKeyId>string</PublicKeyId>
            </EncryptionEntity>
         </Items>
         <Quantity>integer</Quantity>
      </EncryptionEntities>
      <Name>string</Name>
   </FieldLevelEncryptionProfileConfig>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
</FieldLevelEncryptionProfile>
```

## Response Elements
<a name="API_UpdateFieldLevelEncryptionProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FieldLevelEncryptionProfile](#API_UpdateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-response-FieldLevelEncryptionProfile"></a>
Root level tag for the FieldLevelEncryptionProfile parameters.  
Required: Yes

 ** [FieldLevelEncryptionProfileConfig](#API_UpdateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-response-FieldLevelEncryptionProfileConfig"></a>
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.  
Type: [FieldLevelEncryptionProfileConfig](API_FieldLevelEncryptionProfileConfig.md) object

 ** [Id](#API_UpdateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-response-Id"></a>
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.  
Type: String

 ** [LastModifiedTime](#API_UpdateFieldLevelEncryptionProfile_ResponseSyntax) **   <a name="cloudfront-UpdateFieldLevelEncryptionProfile-response-LastModifiedTime"></a>
The last time the field-level encryption profile was updated.  
Type: Timestamp

## Errors
<a name="API_UpdateFieldLevelEncryptionProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** FieldLevelEncryptionProfileAlreadyExists **   
The specified profile for field-level encryption already exists.  
HTTP Status Code: 409

 ** FieldLevelEncryptionProfileSizeExceeded **   
The maximum size of a profile for field-level encryption was exceeded.  
HTTP Status Code: 400

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFieldLevelEncryptionProfile **   
The specified profile for field-level encryption doesn't exist.  
HTTP Status Code: 404

 ** NoSuchPublicKey **   
The specified public key doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TooManyFieldLevelEncryptionEncryptionEntities **   
The maximum number of encryption entities for field-level encryption have been created.  
HTTP Status Code: 400

 ** TooManyFieldLevelEncryptionFieldPatterns **   
The maximum number of field patterns for field-level encryption have been created.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateFieldLevelEncryptionProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile) 

# UpdateFunction
<a name="API_UpdateFunction"></a>

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

## Request Syntax
<a name="API_UpdateFunction_RequestSyntax"></a>

```
PUT /2020-05-31/function/Name HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateFunctionRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <FunctionCode>blob</FunctionCode>
   <FunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </FunctionConfig>
</UpdateFunctionRequest>
```

## URI Request Parameters
<a name="API_UpdateFunction_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_UpdateFunction_RequestSyntax) **   <a name="cloudfront-UpdateFunction-request-IfMatch"></a>
The current version (`ETag` value) of the function that you are updating, which you can get using `DescribeFunction`.  
Required: Yes

 ** [Name](#API_UpdateFunction_RequestSyntax) **   <a name="cloudfront-UpdateFunction-request-uri-Name"></a>
The name of the function that you are updating.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_UpdateFunction_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateFunctionRequest](#API_UpdateFunction_RequestSyntax) **   <a name="cloudfront-UpdateFunction-request-UpdateFunctionRequest"></a>
Root level tag for the UpdateFunctionRequest parameters.  
Required: Yes

 ** [FunctionCode](#API_UpdateFunction_RequestSyntax) **   <a name="cloudfront-UpdateFunction-request-FunctionCode"></a>
The function code. For more information about writing a CloudFront function, see [Writing function code for CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) in the *Amazon CloudFront Developer Guide*.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 40960.  
Required: Yes

 ** [FunctionConfig](#API_UpdateFunction_RequestSyntax) **   <a name="cloudfront-UpdateFunction-request-FunctionConfig"></a>
Configuration information about the function.  
Type: [FunctionConfig](API_FunctionConfig.md) object  
Required: Yes

## Response Syntax
<a name="API_UpdateFunction_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<FunctionSummary>
   <FunctionConfig>
      <Comment>string</Comment>
      <KeyValueStoreAssociations>
         <Items>
            <KeyValueStoreAssociation>
               <KeyValueStoreARN>string</KeyValueStoreARN>
            </KeyValueStoreAssociation>
         </Items>
         <Quantity>integer</Quantity>
      </KeyValueStoreAssociations>
      <Runtime>string</Runtime>
   </FunctionConfig>
   <FunctionMetadata>
      <CreatedTime>timestamp</CreatedTime>
      <FunctionARN>string</FunctionARN>
      <LastModifiedTime>timestamp</LastModifiedTime>
      <Stage>string</Stage>
   </FunctionMetadata>
   <Name>string</Name>
   <Status>string</Status>
</FunctionSummary>
```

## Response Elements
<a name="API_UpdateFunction_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [FunctionSummary](#API_UpdateFunction_ResponseSyntax) **   <a name="cloudfront-UpdateFunction-response-FunctionSummary"></a>
Root level tag for the FunctionSummary parameters.  
Required: Yes

 ** [FunctionConfig](#API_UpdateFunction_ResponseSyntax) **   <a name="cloudfront-UpdateFunction-response-FunctionConfig"></a>
Contains configuration information about a CloudFront function.  
Type: [FunctionConfig](API_FunctionConfig.md) object

 ** [FunctionMetadata](#API_UpdateFunction_ResponseSyntax) **   <a name="cloudfront-UpdateFunction-response-FunctionMetadata"></a>
Contains metadata about a CloudFront function.  
Type: [FunctionMetadata](API_FunctionMetadata.md) object

 ** [Name](#API_UpdateFunction_ResponseSyntax) **   <a name="cloudfront-UpdateFunction-response-Name"></a>
The name of the CloudFront function.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}` 

 ** [Status](#API_UpdateFunction_ResponseSyntax) **   <a name="cloudfront-UpdateFunction-response-Status"></a>
The status of the CloudFront function.  
Type: String

## Errors
<a name="API_UpdateFunction_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** FunctionSizeLimitExceeded **   
The function is too large. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 413

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchFunctionExists **   
The function does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateFunction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateFunction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateFunction) 

# UpdateKeyGroup
<a name="API_UpdateKeyGroup"></a>

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

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

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

## Request Syntax
<a name="API_UpdateKeyGroup_RequestSyntax"></a>

```
PUT /2020-05-31/key-group/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroupConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <Items>
      <PublicKey>string</PublicKey>
   </Items>
   <Name>string</Name>
</KeyGroupConfig>
```

## URI Request Parameters
<a name="API_UpdateKeyGroup_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateKeyGroup_RequestBody"></a>

The request accepts the following data in XML format.

 ** [KeyGroupConfig](#API_UpdateKeyGroup_RequestSyntax) **   <a name="cloudfront-UpdateKeyGroup-request-KeyGroupConfig"></a>
Root level tag for the KeyGroupConfig parameters.  
Required: Yes

 ** [Comment](#API_UpdateKeyGroup_RequestSyntax) **   <a name="cloudfront-UpdateKeyGroup-request-Comment"></a>
A comment to describe the key group. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [Items](#API_UpdateKeyGroup_RequestSyntax) **   <a name="cloudfront-UpdateKeyGroup-request-Items"></a>
A list of the identifiers of the public keys in the key group.  
Type: Array of strings  
Required: Yes

 ** [Name](#API_UpdateKeyGroup_RequestSyntax) **   <a name="cloudfront-UpdateKeyGroup-request-Name"></a>
A name to identify the key group.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_UpdateKeyGroup_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyGroup>
   <Id>string</Id>
   <KeyGroupConfig>
      <Comment>string</Comment>
      <Items>
         <PublicKey>string</PublicKey>
      </Items>
      <Name>string</Name>
   </KeyGroupConfig>
   <LastModifiedTime>timestamp</LastModifiedTime>
</KeyGroup>
```

## Response Elements
<a name="API_UpdateKeyGroup_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyGroup](#API_UpdateKeyGroup_ResponseSyntax) **   <a name="cloudfront-UpdateKeyGroup-response-KeyGroup"></a>
Root level tag for the KeyGroup parameters.  
Required: Yes

 ** [Id](#API_UpdateKeyGroup_ResponseSyntax) **   <a name="cloudfront-UpdateKeyGroup-response-Id"></a>
The identifier for the key group.  
Type: String

 ** [KeyGroupConfig](#API_UpdateKeyGroup_ResponseSyntax) **   <a name="cloudfront-UpdateKeyGroup-response-KeyGroupConfig"></a>
The key group configuration.  
Type: [KeyGroupConfig](API_KeyGroupConfig.md) object

 ** [LastModifiedTime](#API_UpdateKeyGroup_ResponseSyntax) **   <a name="cloudfront-UpdateKeyGroup-response-LastModifiedTime"></a>
The date and time when the key group was last modified.  
Type: Timestamp

## Errors
<a name="API_UpdateKeyGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** KeyGroupAlreadyExists **   
A key group with this name already exists. You must provide a unique name. To modify an existing key group, use `UpdateKeyGroup`.  
HTTP Status Code: 409

 ** NoSuchResource **   
A resource that was specified is not valid.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TooManyPublicKeysInKeyGroup **   
The number of public keys in this key group is more than the maximum allowed. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateKeyGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateKeyGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateKeyGroup) 

# UpdateKeyValueStore
<a name="API_UpdateKeyValueStore"></a>

Specifies the key value store to update.

## Request Syntax
<a name="API_UpdateKeyValueStore_RequestSyntax"></a>

```
PUT /2020-05-31/key-value-store/Name HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateKeyValueStoreRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
</UpdateKeyValueStoreRequest>
```

## URI Request Parameters
<a name="API_UpdateKeyValueStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [If-Match](#API_UpdateKeyValueStore_RequestSyntax) **   <a name="cloudfront-UpdateKeyValueStore-request-IfMatch"></a>
The key value store to update, if a match occurs.  
Required: Yes

 ** [Name](#API_UpdateKeyValueStore_RequestSyntax) **   <a name="cloudfront-UpdateKeyValueStore-request-uri-Name"></a>
The name of the key value store to update.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9-_]{1,64}`   
Required: Yes

## Request Body
<a name="API_UpdateKeyValueStore_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateKeyValueStoreRequest](#API_UpdateKeyValueStore_RequestSyntax) **   <a name="cloudfront-UpdateKeyValueStore-request-UpdateKeyValueStoreRequest"></a>
Root level tag for the UpdateKeyValueStoreRequest parameters.  
Required: Yes

 ** [Comment](#API_UpdateKeyValueStore_RequestSyntax) **   <a name="cloudfront-UpdateKeyValueStore-request-Comment"></a>
The comment of the key value store to update.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 128.  
Required: Yes

## Response Syntax
<a name="API_UpdateKeyValueStore_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyValueStore>
   <ARN>string</ARN>
   <Comment>string</Comment>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <Status>string</Status>
</KeyValueStore>
```

## Response Elements
<a name="API_UpdateKeyValueStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [KeyValueStore](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-KeyValueStore"></a>
Root level tag for the KeyValueStore parameters.  
Required: Yes

 ** [ARN](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-ARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Type: String

 ** [Comment](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-Comment"></a>
A comment for the key value store.  
Type: String

 ** [Id](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-Id"></a>
The unique Id for the key value store.  
Type: String

 ** [LastModifiedTime](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-LastModifiedTime"></a>
The last-modified time of the key value store.  
Type: Timestamp

 ** [Name](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-Name"></a>
The name of the key value store.  
Type: String

 ** [Status](#API_UpdateKeyValueStore_ResponseSyntax) **   <a name="cloudfront-UpdateKeyValueStore-response-Status"></a>
The status of the key value store.  
Type: String

## Errors
<a name="API_UpdateKeyValueStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateKeyValueStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateKeyValueStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateKeyValueStore) 

# UpdateOriginAccessControl
<a name="API_UpdateOriginAccessControl"></a>

Updates a CloudFront origin access control.

## Request Syntax
<a name="API_UpdateOriginAccessControl_RequestSyntax"></a>

```
PUT /2020-05-31/origin-access-control/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControlConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Description>string</Description>
   <Name>string</Name>
   <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
   <SigningBehavior>string</SigningBehavior>
   <SigningProtocol>string</SigningProtocol>
</OriginAccessControlConfig>
```

## URI Request Parameters
<a name="API_UpdateOriginAccessControl_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateOriginAccessControl_RequestBody"></a>

The request accepts the following data in XML format.

 ** [OriginAccessControlConfig](#API_UpdateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-request-OriginAccessControlConfig"></a>
Root level tag for the OriginAccessControlConfig parameters.  
Required: Yes

 ** [Description](#API_UpdateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-request-Description"></a>
A description of the origin access control.  
Type: String  
Required: No

 ** [Name](#API_UpdateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-request-Name"></a>
A name to identify the origin access control. You can specify up to 64 characters.  
Type: String  
Required: Yes

 ** [OriginAccessControlOriginType](#API_UpdateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-request-OriginAccessControlOriginType"></a>
The type of origin that this origin access control is for.  
Type: String  
Valid Values: `s3 | mediastore | mediapackagev2 | lambda`   
Required: Yes

 ** [SigningBehavior](#API_UpdateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-request-SigningBehavior"></a>
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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) in the *Amazon CloudFront Developer Guide*.  
This field can have one of the following values:  
+  `always` – CloudFront signs all origin requests, overwriting the `Authorization` header from the viewer request if one exists.
+  `never` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
+  `no-override` – If the viewer request doesn't contain the `Authorization` header, then CloudFront signs the origin request. If the viewer request contains the `Authorization` header, then CloudFront doesn't sign the origin request and instead passes along the `Authorization` header from the viewer request. **WARNING: To pass along the `Authorization` header from the viewer request, you *must* add the `Authorization` header to a [cache policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) for all cache behaviors that use origins associated with this origin access control.** 
Type: String  
Valid Values: `never | always | no-override`   
Required: Yes

 ** [SigningProtocol](#API_UpdateOriginAccessControl_RequestSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-request-SigningProtocol"></a>
The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is `sigv4`.  
Type: String  
Valid Values: `sigv4`   
Required: Yes

## Response Syntax
<a name="API_UpdateOriginAccessControl_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginAccessControl>
   <Id>string</Id>
   <OriginAccessControlConfig>
      <Description>string</Description>
      <Name>string</Name>
      <OriginAccessControlOriginType>string</OriginAccessControlOriginType>
      <SigningBehavior>string</SigningBehavior>
      <SigningProtocol>string</SigningProtocol>
   </OriginAccessControlConfig>
</OriginAccessControl>
```

## Response Elements
<a name="API_UpdateOriginAccessControl_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginAccessControl](#API_UpdateOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-response-OriginAccessControl"></a>
Root level tag for the OriginAccessControl parameters.  
Required: Yes

 ** [Id](#API_UpdateOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-response-Id"></a>
The unique identifier of the origin access control.  
Type: String

 ** [OriginAccessControlConfig](#API_UpdateOriginAccessControl_ResponseSyntax) **   <a name="cloudfront-UpdateOriginAccessControl-response-OriginAccessControlConfig"></a>
The origin access control.  
Type: [OriginAccessControlConfig](API_OriginAccessControlConfig.md) object

## Errors
<a name="API_UpdateOriginAccessControl_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchOriginAccessControl **   
The origin access control does not exist.  
HTTP Status Code: 404

 ** OriginAccessControlAlreadyExists **   
An origin access control with the specified parameters already exists.  
HTTP Status Code: 409

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_UpdateOriginAccessControl_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateOriginAccessControl) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateOriginAccessControl) 

# UpdateOriginRequestPolicy
<a name="API_UpdateOriginRequestPolicy"></a>

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.

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

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

## Request Syntax
<a name="API_UpdateOriginRequestPolicy_RequestSyntax"></a>

```
PUT /2020-05-31/origin-request-policy/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <CookiesConfig>
      <CookieBehavior>string</CookieBehavior>
      <Cookies>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </Cookies>
   </CookiesConfig>
   <HeadersConfig>
      <HeaderBehavior>string</HeaderBehavior>
      <Headers>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </Headers>
   </HeadersConfig>
   <Name>string</Name>
   <QueryStringsConfig>
      <QueryStringBehavior>string</QueryStringBehavior>
      <QueryStrings>
         <Items>
            <Name>string</Name>
         </Items>
         <Quantity>integer</Quantity>
      </QueryStrings>
   </QueryStringsConfig>
</OriginRequestPolicyConfig>
```

## URI Request Parameters
<a name="API_UpdateOriginRequestPolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateOriginRequestPolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [OriginRequestPolicyConfig](#API_UpdateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-request-OriginRequestPolicyConfig"></a>
Root level tag for the OriginRequestPolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_UpdateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-request-Comment"></a>
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [CookiesConfig](#API_UpdateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-request-CookiesConfig"></a>
The cookies from viewer requests to include in origin requests.  
Type: [OriginRequestPolicyCookiesConfig](API_OriginRequestPolicyCookiesConfig.md) object  
Required: Yes

 ** [HeadersConfig](#API_UpdateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-request-HeadersConfig"></a>
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.  
Type: [OriginRequestPolicyHeadersConfig](API_OriginRequestPolicyHeadersConfig.md) object  
Required: Yes

 ** [Name](#API_UpdateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-request-Name"></a>
A unique name to identify the origin request policy.  
Type: String  
Required: Yes

 ** [QueryStringsConfig](#API_UpdateOriginRequestPolicy_RequestSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-request-QueryStringsConfig"></a>
The URL query strings from viewer requests to include in origin requests.  
Type: [OriginRequestPolicyQueryStringsConfig](API_OriginRequestPolicyQueryStringsConfig.md) object  
Required: Yes

## Response Syntax
<a name="API_UpdateOriginRequestPolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<OriginRequestPolicy>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <OriginRequestPolicyConfig>
      <Comment>string</Comment>
      <CookiesConfig>
         <CookieBehavior>string</CookieBehavior>
         <Cookies>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Cookies>
      </CookiesConfig>
      <HeadersConfig>
         <HeaderBehavior>string</HeaderBehavior>
         <Headers>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </Headers>
      </HeadersConfig>
      <Name>string</Name>
      <QueryStringsConfig>
         <QueryStringBehavior>string</QueryStringBehavior>
         <QueryStrings>
            <Items>
               <Name>string</Name>
            </Items>
            <Quantity>integer</Quantity>
         </QueryStrings>
      </QueryStringsConfig>
   </OriginRequestPolicyConfig>
</OriginRequestPolicy>
```

## Response Elements
<a name="API_UpdateOriginRequestPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [OriginRequestPolicy](#API_UpdateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-response-OriginRequestPolicy"></a>
Root level tag for the OriginRequestPolicy parameters.  
Required: Yes

 ** [Id](#API_UpdateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-response-Id"></a>
The unique identifier for the origin request policy.  
Type: String

 ** [LastModifiedTime](#API_UpdateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-response-LastModifiedTime"></a>
The date and time when the origin request policy was last modified.  
Type: Timestamp

 ** [OriginRequestPolicyConfig](#API_UpdateOriginRequestPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateOriginRequestPolicy-response-OriginRequestPolicyConfig"></a>
The origin request policy configuration.  
Type: [OriginRequestPolicyConfig](API_OriginRequestPolicyConfig.md) object

## Errors
<a name="API_UpdateOriginRequestPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchOriginRequestPolicy **   
The origin request policy does not exist.  
HTTP Status Code: 404

 ** OriginRequestPolicyAlreadyExists **   
An origin request policy with this name already exists. You must provide a unique name. To modify an existing origin request policy, use `UpdateOriginRequestPolicy`.  
HTTP Status Code: 409

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TooManyCookiesInOriginRequestPolicy **   
The number of cookies in the origin request policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyHeadersInOriginRequestPolicy **   
The number of headers in the origin request policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyQueryStringsInOriginRequestPolicy **   
The number of query strings in the origin request policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateOriginRequestPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateOriginRequestPolicy) 

# UpdatePublicKey
<a name="API_UpdatePublicKey"></a>

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

## Request Syntax
<a name="API_UpdatePublicKey_RequestSyntax"></a>

```
PUT /2020-05-31/public-key/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <EncodedKey>string</EncodedKey>
   <Name>string</Name>
</PublicKeyConfig>
```

## URI Request Parameters
<a name="API_UpdatePublicKey_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdatePublicKey_RequestBody"></a>

The request accepts the following data in XML format.

 ** [PublicKeyConfig](#API_UpdatePublicKey_RequestSyntax) **   <a name="cloudfront-UpdatePublicKey-request-PublicKeyConfig"></a>
Root level tag for the PublicKeyConfig parameters.  
Required: Yes

 ** [CallerReference](#API_UpdatePublicKey_RequestSyntax) **   <a name="cloudfront-UpdatePublicKey-request-CallerReference"></a>
A string included in the request to help make sure that the request can't be replayed.  
Type: String  
Required: Yes

 ** [Comment](#API_UpdatePublicKey_RequestSyntax) **   <a name="cloudfront-UpdatePublicKey-request-Comment"></a>
A comment to describe the public key. The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [EncodedKey](#API_UpdatePublicKey_RequestSyntax) **   <a name="cloudfront-UpdatePublicKey-request-EncodedKey"></a>
The public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).  
Type: String  
Required: Yes

 ** [Name](#API_UpdatePublicKey_RequestSyntax) **   <a name="cloudfront-UpdatePublicKey-request-Name"></a>
A name to help identify the public key.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_UpdatePublicKey_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<PublicKey>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <PublicKeyConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <EncodedKey>string</EncodedKey>
      <Name>string</Name>
   </PublicKeyConfig>
</PublicKey>
```

## Response Elements
<a name="API_UpdatePublicKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [PublicKey](#API_UpdatePublicKey_ResponseSyntax) **   <a name="cloudfront-UpdatePublicKey-response-PublicKey"></a>
Root level tag for the PublicKey parameters.  
Required: Yes

 ** [CreatedTime](#API_UpdatePublicKey_ResponseSyntax) **   <a name="cloudfront-UpdatePublicKey-response-CreatedTime"></a>
The date and time when the public key was uploaded.  
Type: Timestamp

 ** [Id](#API_UpdatePublicKey_ResponseSyntax) **   <a name="cloudfront-UpdatePublicKey-response-Id"></a>
The identifier of the public key.  
Type: String

 ** [PublicKeyConfig](#API_UpdatePublicKey_ResponseSyntax) **   <a name="cloudfront-UpdatePublicKey-response-PublicKeyConfig"></a>
Configuration information about a public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).  
Type: [PublicKeyConfig](API_PublicKeyConfig.md) object

## Errors
<a name="API_UpdatePublicKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotChangeImmutablePublicKeyFields **   
You can't change the value of a public key.  
HTTP Status Code: 400

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchPublicKey **   
The specified public key doesn't exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_UpdatePublicKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdatePublicKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdatePublicKey) 

# UpdateRealtimeLogConfig
<a name="API_UpdateRealtimeLogConfig"></a>

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.

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

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

## Request Syntax
<a name="API_UpdateRealtimeLogConfig_RequestSyntax"></a>

```
PUT /2020-05-31/realtime-log-config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<UpdateRealtimeLogConfigRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <ARN>string</ARN>
   <EndPoints>
      <EndPoint>
         <KinesisStreamConfig>
            <RoleARN>string</RoleARN>
            <StreamARN>string</StreamARN>
         </KinesisStreamConfig>
         <StreamType>string</StreamType>
      </EndPoint>
   </EndPoints>
   <Fields>
      <Field>string</Field>
   </Fields>
   <Name>string</Name>
   <SamplingRate>long</SamplingRate>
</UpdateRealtimeLogConfigRequest>
```

## URI Request Parameters
<a name="API_UpdateRealtimeLogConfig_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateRealtimeLogConfig_RequestBody"></a>

The request accepts the following data in XML format.

 ** [UpdateRealtimeLogConfigRequest](#API_UpdateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-request-UpdateRealtimeLogConfigRequest"></a>
Root level tag for the UpdateRealtimeLogConfigRequest parameters.  
Required: Yes

 ** [ARN](#API_UpdateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-request-ARN"></a>
The Amazon Resource Name (ARN) for this real-time log configuration.  
Type: String  
Required: No

 ** [EndPoints](#API_UpdateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-request-EndPoints"></a>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.  
Type: Array of [EndPoint](API_EndPoint.md) objects  
Required: No

 ** [Fields](#API_UpdateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-request-Fields"></a>
A list of fields to include in each real-time log record.  
For more information about fields, see [Real-time log configuration fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide*.  
Type: Array of strings  
Required: No

 ** [Name](#API_UpdateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-request-Name"></a>
The name for this real-time log configuration.  
Type: String  
Required: No

 ** [SamplingRate](#API_UpdateRealtimeLogConfig_RequestSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-request-SamplingRate"></a>
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.  
Type: Long  
Required: No

## Response Syntax
<a name="API_UpdateRealtimeLogConfig_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<UpdateRealtimeLogConfigResult>
   <RealtimeLogConfig>
      <ARN>string</ARN>
      <EndPoints>
         <EndPoint>
            <KinesisStreamConfig>
               <RoleARN>string</RoleARN>
               <StreamARN>string</StreamARN>
            </KinesisStreamConfig>
            <StreamType>string</StreamType>
         </EndPoint>
      </EndPoints>
      <Fields>
         <Field>string</Field>
      </Fields>
      <Name>string</Name>
      <SamplingRate>long</SamplingRate>
   </RealtimeLogConfig>
</UpdateRealtimeLogConfigResult>
```

## Response Elements
<a name="API_UpdateRealtimeLogConfig_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [UpdateRealtimeLogConfigResult](#API_UpdateRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-response-UpdateRealtimeLogConfigResult"></a>
Root level tag for the UpdateRealtimeLogConfigResult parameters.  
Required: Yes

 ** [RealtimeLogConfig](#API_UpdateRealtimeLogConfig_ResponseSyntax) **   <a name="cloudfront-UpdateRealtimeLogConfig-response-RealtimeLogConfig"></a>
A real-time log configuration.  
Type: [RealtimeLogConfig](API_RealtimeLogConfig.md) object

## Errors
<a name="API_UpdateRealtimeLogConfig_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** NoSuchRealtimeLogConfig **   
The real-time log configuration does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_UpdateRealtimeLogConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateRealtimeLogConfig) 

# UpdateResponseHeadersPolicy
<a name="API_UpdateResponseHeadersPolicy"></a>

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.

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

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

## Request Syntax
<a name="API_UpdateResponseHeadersPolicy_RequestSyntax"></a>

```
PUT /2020-05-31/response-headers-policy/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicyConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Comment>string</Comment>
   <CorsConfig>
      <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
      <AccessControlAllowHeaders>
         <Items>
            <Header>string</Header>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowHeaders>
      <AccessControlAllowMethods>
         <Items>
            <Method>string</Method>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowMethods>
      <AccessControlAllowOrigins>
         <Items>
            <Origin>string</Origin>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlAllowOrigins>
      <AccessControlExposeHeaders>
         <Items>
            <Header>string</Header>
         </Items>
         <Quantity>integer</Quantity>
      </AccessControlExposeHeaders>
      <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
      <OriginOverride>boolean</OriginOverride>
   </CorsConfig>
   <CustomHeadersConfig>
      <Items>
         <ResponseHeadersPolicyCustomHeader>
            <Header>string</Header>
            <Override>boolean</Override>
            <Value>string</Value>
         </ResponseHeadersPolicyCustomHeader>
      </Items>
      <Quantity>integer</Quantity>
   </CustomHeadersConfig>
   <Name>string</Name>
   <RemoveHeadersConfig>
      <Items>
         <ResponseHeadersPolicyRemoveHeader>
            <Header>string</Header>
         </ResponseHeadersPolicyRemoveHeader>
      </Items>
      <Quantity>integer</Quantity>
   </RemoveHeadersConfig>
   <SecurityHeadersConfig>
      <ContentSecurityPolicy>
         <ContentSecurityPolicy>string</ContentSecurityPolicy>
         <Override>boolean</Override>
      </ContentSecurityPolicy>
      <ContentTypeOptions>
         <Override>boolean</Override>
      </ContentTypeOptions>
      <FrameOptions>
         <FrameOption>string</FrameOption>
         <Override>boolean</Override>
      </FrameOptions>
      <ReferrerPolicy>
         <Override>boolean</Override>
         <ReferrerPolicy>string</ReferrerPolicy>
      </ReferrerPolicy>
      <StrictTransportSecurity>
         <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
         <IncludeSubdomains>boolean</IncludeSubdomains>
         <Override>boolean</Override>
         <Preload>boolean</Preload>
      </StrictTransportSecurity>
      <XSSProtection>
         <ModeBlock>boolean</ModeBlock>
         <Override>boolean</Override>
         <Protection>boolean</Protection>
         <ReportUri>string</ReportUri>
      </XSSProtection>
   </SecurityHeadersConfig>
   <ServerTimingHeadersConfig>
      <Enabled>boolean</Enabled>
      <SamplingRate>double</SamplingRate>
   </ServerTimingHeadersConfig>
</ResponseHeadersPolicyConfig>
```

## URI Request Parameters
<a name="API_UpdateResponseHeadersPolicy_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateResponseHeadersPolicy_RequestBody"></a>

The request accepts the following data in XML format.

 ** [ResponseHeadersPolicyConfig](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-ResponseHeadersPolicyConfig"></a>
Root level tag for the ResponseHeadersPolicyConfig parameters.  
Required: Yes

 ** [Comment](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-Comment"></a>
A comment to describe the response headers policy.  
The comment cannot be longer than 128 characters.  
Type: String  
Required: No

 ** [CorsConfig](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-CorsConfig"></a>
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).  
Type: [ResponseHeadersPolicyCorsConfig](API_ResponseHeadersPolicyCorsConfig.md) object  
Required: No

 ** [CustomHeadersConfig](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-CustomHeadersConfig"></a>
A configuration for a set of custom HTTP response headers.  
Type: [ResponseHeadersPolicyCustomHeadersConfig](API_ResponseHeadersPolicyCustomHeadersConfig.md) object  
Required: No

 ** [Name](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-Name"></a>
A name to identify the response headers policy.  
The name must be unique for response headers policies in this AWS account.  
Type: String  
Required: Yes

 ** [RemoveHeadersConfig](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-RemoveHeadersConfig"></a>
A configuration for a set of HTTP headers to remove from the HTTP response.  
Type: [ResponseHeadersPolicyRemoveHeadersConfig](API_ResponseHeadersPolicyRemoveHeadersConfig.md) object  
Required: No

 ** [SecurityHeadersConfig](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-SecurityHeadersConfig"></a>
A configuration for a set of security-related HTTP response headers.  
Type: [ResponseHeadersPolicySecurityHeadersConfig](API_ResponseHeadersPolicySecurityHeadersConfig.md) object  
Required: No

 ** [ServerTimingHeadersConfig](#API_UpdateResponseHeadersPolicy_RequestSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-request-ServerTimingHeadersConfig"></a>
A configuration for enabling the `Server-Timing` header in HTTP responses sent from CloudFront.  
Type: [ResponseHeadersPolicyServerTimingHeadersConfig](API_ResponseHeadersPolicyServerTimingHeadersConfig.md) object  
Required: No

## Response Syntax
<a name="API_UpdateResponseHeadersPolicy_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ResponseHeadersPolicy>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <ResponseHeadersPolicyConfig>
      <Comment>string</Comment>
      <CorsConfig>
         <AccessControlAllowCredentials>boolean</AccessControlAllowCredentials>
         <AccessControlAllowHeaders>
            <Items>
               <Header>string</Header>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowHeaders>
         <AccessControlAllowMethods>
            <Items>
               <Method>string</Method>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowMethods>
         <AccessControlAllowOrigins>
            <Items>
               <Origin>string</Origin>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlAllowOrigins>
         <AccessControlExposeHeaders>
            <Items>
               <Header>string</Header>
            </Items>
            <Quantity>integer</Quantity>
         </AccessControlExposeHeaders>
         <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
         <OriginOverride>boolean</OriginOverride>
      </CorsConfig>
      <CustomHeadersConfig>
         <Items>
            <ResponseHeadersPolicyCustomHeader>
               <Header>string</Header>
               <Override>boolean</Override>
               <Value>string</Value>
            </ResponseHeadersPolicyCustomHeader>
         </Items>
         <Quantity>integer</Quantity>
      </CustomHeadersConfig>
      <Name>string</Name>
      <RemoveHeadersConfig>
         <Items>
            <ResponseHeadersPolicyRemoveHeader>
               <Header>string</Header>
            </ResponseHeadersPolicyRemoveHeader>
         </Items>
         <Quantity>integer</Quantity>
      </RemoveHeadersConfig>
      <SecurityHeadersConfig>
         <ContentSecurityPolicy>
            <ContentSecurityPolicy>string</ContentSecurityPolicy>
            <Override>boolean</Override>
         </ContentSecurityPolicy>
         <ContentTypeOptions>
            <Override>boolean</Override>
         </ContentTypeOptions>
         <FrameOptions>
            <FrameOption>string</FrameOption>
            <Override>boolean</Override>
         </FrameOptions>
         <ReferrerPolicy>
            <Override>boolean</Override>
            <ReferrerPolicy>string</ReferrerPolicy>
         </ReferrerPolicy>
         <StrictTransportSecurity>
            <AccessControlMaxAgeSec>integer</AccessControlMaxAgeSec>
            <IncludeSubdomains>boolean</IncludeSubdomains>
            <Override>boolean</Override>
            <Preload>boolean</Preload>
         </StrictTransportSecurity>
         <XSSProtection>
            <ModeBlock>boolean</ModeBlock>
            <Override>boolean</Override>
            <Protection>boolean</Protection>
            <ReportUri>string</ReportUri>
         </XSSProtection>
      </SecurityHeadersConfig>
      <ServerTimingHeadersConfig>
         <Enabled>boolean</Enabled>
         <SamplingRate>double</SamplingRate>
      </ServerTimingHeadersConfig>
   </ResponseHeadersPolicyConfig>
</ResponseHeadersPolicy>
```

## Response Elements
<a name="API_UpdateResponseHeadersPolicy_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [ResponseHeadersPolicy](#API_UpdateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-response-ResponseHeadersPolicy"></a>
Root level tag for the ResponseHeadersPolicy parameters.  
Required: Yes

 ** [Id](#API_UpdateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-response-Id"></a>
The identifier for the response headers policy.  
Type: String

 ** [LastModifiedTime](#API_UpdateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-response-LastModifiedTime"></a>
The date and time when the response headers policy was last modified.  
Type: Timestamp

 ** [ResponseHeadersPolicyConfig](#API_UpdateResponseHeadersPolicy_ResponseSyntax) **   <a name="cloudfront-UpdateResponseHeadersPolicy-response-ResponseHeadersPolicyConfig"></a>
A response headers policy configuration.  
Type: [ResponseHeadersPolicyConfig](API_ResponseHeadersPolicyConfig.md) object

## Errors
<a name="API_UpdateResponseHeadersPolicy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** NoSuchResponseHeadersPolicy **   
The response headers policy does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** ResponseHeadersPolicyAlreadyExists **   
A response headers policy with this name already exists. You must provide a unique name. To modify an existing response headers policy, use `UpdateResponseHeadersPolicy`.  
HTTP Status Code: 409

 ** TooLongCSPInResponseHeadersPolicy **   
The length of the `Content-Security-Policy` header value in the response headers policy exceeds the maximum.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyCustomHeadersInResponseHeadersPolicy **   
The number of custom headers in the response headers policy exceeds the maximum.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

 ** TooManyRemoveHeadersInResponseHeadersPolicy **   
The number of headers in `RemoveHeadersConfig` in the response headers policy exceeds the maximum.  
For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the *Amazon CloudFront Developer Guide*.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateResponseHeadersPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateResponseHeadersPolicy) 

# UpdateStreamingDistribution
<a name="API_UpdateStreamingDistribution"></a>

Update a streaming distribution.

## Request Syntax
<a name="API_UpdateStreamingDistribution_RequestSyntax"></a>

```
PUT /2020-05-31/streaming-distribution/Id/config HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Aliases>
      <Items>
         <CNAME>string</CNAME>
      </Items>
      <Quantity>integer</Quantity>
   </Aliases>
   <CallerReference>string</CallerReference>
   <Comment>string</Comment>
   <Enabled>boolean</Enabled>
   <Logging>
      <Bucket>string</Bucket>
      <Enabled>boolean</Enabled>
      <Prefix>string</Prefix>
   </Logging>
   <PriceClass>string</PriceClass>
   <S3Origin>
      <DomainName>string</DomainName>
      <OriginAccessIdentity>string</OriginAccessIdentity>
   </S3Origin>
   <TrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <AwsAccountNumber>string</AwsAccountNumber>
      </Items>
      <Quantity>integer</Quantity>
   </TrustedSigners>
</StreamingDistributionConfig>
```

## URI Request Parameters
<a name="API_UpdateStreamingDistribution_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateStreamingDistribution_RequestBody"></a>

The request accepts the following data in XML format.

 ** [StreamingDistributionConfig](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-StreamingDistributionConfig"></a>
Root level tag for the StreamingDistributionConfig parameters.  
Required: Yes

 ** [Aliases](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-Aliases"></a>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.  
Type: [Aliases](API_Aliases.md) object  
Required: No

 ** [CallerReference](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-CallerReference"></a>
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.  
Type: String  
Required: Yes

 ** [Comment](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-Comment"></a>
Any comments you want to include about the streaming distribution.  
Type: String  
Required: Yes

 ** [Enabled](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-Enabled"></a>
Whether the streaming distribution is enabled to accept user requests for content.  
Type: Boolean  
Required: Yes

 ** [Logging](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-Logging"></a>
A complex type that controls whether access logs are written for the streaming distribution.  
Type: [StreamingLoggingConfig](API_StreamingLoggingConfig.md) object  
Required: No

 ** [PriceClass](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-PriceClass"></a>
A complex type that contains information about price class for this streaming distribution.  
Type: String  
Valid Values: `PriceClass_100 | PriceClass_200 | PriceClass_All | None`   
Required: No

 ** [S3Origin](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-S3Origin"></a>
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.  
Type: [S3Origin](API_S3Origin.md) object  
Required: Yes

 ** [TrustedSigners](#API_UpdateStreamingDistribution_RequestSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-request-TrustedSigners"></a>
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [TrustedSigners](API_TrustedSigners.md) object  
Required: Yes

## Response Syntax
<a name="API_UpdateStreamingDistribution_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistribution>
   <ActiveTrustedSigners>
      <Enabled>boolean</Enabled>
      <Items>
         <Signer>
            <AwsAccountNumber>string</AwsAccountNumber>
            <KeyPairIds>
               <Items>
                  <KeyPairId>string</KeyPairId>
               </Items>
               <Quantity>integer</Quantity>
            </KeyPairIds>
         </Signer>
      </Items>
      <Quantity>integer</Quantity>
   </ActiveTrustedSigners>
   <ARN>string</ARN>
   <DomainName>string</DomainName>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <StreamingDistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME>
         </Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <Enabled>boolean</Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <Prefix>string</Prefix>
      </Logging>
      <PriceClass>string</PriceClass>
      <S3Origin>
         <DomainName>string</DomainName>
         <OriginAccessIdentity>string</OriginAccessIdentity>
      </S3Origin>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber>
         </Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
   </StreamingDistributionConfig>
</StreamingDistribution>
```

## Response Elements
<a name="API_UpdateStreamingDistribution_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [StreamingDistribution](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-StreamingDistribution"></a>
Root level tag for the StreamingDistribution parameters.  
Required: Yes

 ** [ActiveTrustedSigners](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-ActiveTrustedSigners"></a>
A complex type that lists the AWS accounts, if any, that you included in the `TrustedSigners` complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.  
The `Signer` complex type lists the AWS account number of the trusted signer or `self` if the signer is the AWS account that created the distribution. The `Signer` element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no `KeyPairId` element appears for a `Signer`, that signer can't create signed URLs.  
For more information, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.  
Type: [ActiveTrustedSigners](API_ActiveTrustedSigners.md) object

 ** [ARN](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-ARN"></a>
The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.  
Type: String

 ** [DomainName](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-DomainName"></a>
The domain name that corresponds to the streaming distribution, for example, `s5c39gqb8ow64r.cloudfront.net`.  
Type: String

 ** [Id](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-Id"></a>
The identifier for the RTMP distribution. For example: `EGTXBD79EXAMPLE`.  
Type: String

 ** [LastModifiedTime](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-LastModifiedTime"></a>
The date and time that the distribution was last modified.  
Type: Timestamp

 ** [Status](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-Status"></a>
The current status of the RTMP distribution. When the status is `Deployed`, the distribution's information is propagated to all CloudFront edge locations.  
Type: String

 ** [StreamingDistributionConfig](#API_UpdateStreamingDistribution_ResponseSyntax) **   <a name="cloudfront-UpdateStreamingDistribution-response-StreamingDistributionConfig"></a>
The current configuration information for the RTMP distribution.  
Type: [StreamingDistributionConfig](API_StreamingDistributionConfig.md) object

## Errors
<a name="API_UpdateStreamingDistribution_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CNAMEAlreadyExists **   
The CNAME specified is already defined for CloudFront.  
HTTP Status Code: 409

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessControl **   
The origin access control is not valid.  
HTTP Status Code: 400

 ** InvalidOriginAccessIdentity **   
The origin access identity is not valid or doesn't exist.  
HTTP Status Code: 400

 ** MissingBody **   
This operation requires a body. Ensure that the body is present and the `Content-Type` header is set.  
HTTP Status Code: 400

 ** NoSuchStreamingDistribution **   
The specified streaming distribution does not exist.  
HTTP Status Code: 404

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** TooManyStreamingDistributionCNAMEs **   
Your request contains more CNAMEs than are allowed per distribution.  
HTTP Status Code: 400

 ** TooManyTrustedSigners **   
Your request contains more trusted signers than are allowed per distribution.  
HTTP Status Code: 400

 ** TrustedSignerDoesNotExist **   
One or more of your trusted signers don't exist.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateStreamingDistribution_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateStreamingDistribution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateStreamingDistribution) 

# UpdateTrustStore
<a name="API_UpdateTrustStore"></a>

Updates a trust store.

## Request Syntax
<a name="API_UpdateTrustStore_RequestSyntax"></a>

```
PUT /2020-05-31/trust-store/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<CaCertificatesBundleSource xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <CaCertificatesBundleS3Location>
      <Bucket>string</Bucket>
      <Key>string</Key>
      <Region>string</Region>
      <Version>string</Version>
   </CaCertificatesBundleS3Location>
</CaCertificatesBundleSource>
```

## URI Request Parameters
<a name="API_UpdateTrustStore_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateTrustStore_RequestBody"></a>

The request accepts the following data in XML format.

 ** [CaCertificatesBundleSource](#API_UpdateTrustStore_RequestSyntax) **   <a name="cloudfront-UpdateTrustStore-request-CaCertificatesBundleSource"></a>
Root level tag for the CaCertificatesBundleSource parameters.  
Required: Yes

 ** [CaCertificatesBundleS3Location](#API_UpdateTrustStore_RequestSyntax) **   <a name="cloudfront-UpdateTrustStore-request-CaCertificatesBundleS3Location"></a>
The CA certificates bundle location in Amazon S3.  
Type: [CaCertificatesBundleS3Location](API_CaCertificatesBundleS3Location.md) object  
Required: No

## Response Syntax
<a name="API_UpdateTrustStore_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<TrustStore>
   <Arn>string</Arn>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Name>string</Name>
   <NumberOfCaCertificates>integer</NumberOfCaCertificates>
   <Reason>string</Reason>
   <Status>string</Status>
</TrustStore>
```

## Response Elements
<a name="API_UpdateTrustStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [TrustStore](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-TrustStore"></a>
Root level tag for the TrustStore parameters.  
Required: Yes

 ** [Arn](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-Arn"></a>
The trust store's Amazon Resource Name (ARN).  
Type: String

 ** [Id](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-Id"></a>
The trust store's ID.  
Type: String

 ** [LastModifiedTime](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-LastModifiedTime"></a>
The trust store's last modified time.  
Type: Timestamp

 ** [Name](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-Name"></a>
The trust store's name.  
Type: String

 ** [NumberOfCaCertificates](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-NumberOfCaCertificates"></a>
The trust store's number of CA certificates.  
Type: Integer

 ** [Reason](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-Reason"></a>
The trust store's reason.  
Type: String

 ** [Status](#API_UpdateTrustStore_ResponseSyntax) **   <a name="cloudfront-UpdateTrustStore-response-Status"></a>
The trust store's status.  
Type: String  
Valid Values: `pending | active | failed` 

## Errors
<a name="API_UpdateTrustStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

## See Also
<a name="API_UpdateTrustStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateTrustStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateTrustStore) 

# UpdateVpcOrigin
<a name="API_UpdateVpcOrigin"></a>

Update an Amazon CloudFront VPC origin in your account.

## Request Syntax
<a name="API_UpdateVpcOrigin_RequestSyntax"></a>

```
PUT /2020-05-31/vpc-origin/Id HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<VpcOriginEndpointConfig xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Arn>string</Arn>
   <HTTPPort>integer</HTTPPort>
   <HTTPSPort>integer</HTTPSPort>
   <Name>string</Name>
   <OriginProtocolPolicy>string</OriginProtocolPolicy>
   <OriginSslProtocols>
      <Items>
         <SslProtocol>string</SslProtocol>
      </Items>
      <Quantity>integer</Quantity>
   </OriginSslProtocols>
</VpcOriginEndpointConfig>
```

## URI Request Parameters
<a name="API_UpdateVpcOrigin_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_UpdateVpcOrigin_RequestBody"></a>

The request accepts the following data in XML format.

 ** [VpcOriginEndpointConfig](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-VpcOriginEndpointConfig"></a>
Root level tag for the VpcOriginEndpointConfig parameters.  
Required: Yes

 ** [Arn](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-Arn"></a>
The ARN of the CloudFront VPC origin endpoint configuration.  
Type: String  
Required: Yes

 ** [HTTPPort](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-HTTPPort"></a>
The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is `80`.  
Type: Integer  
Required: Yes

 ** [HTTPSPort](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-HTTPSPort"></a>
The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is `443`.  
Type: Integer  
Required: Yes

 ** [Name](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-Name"></a>
The name of the CloudFront VPC origin endpoint configuration.  
Type: String  
Required: Yes

 ** [OriginProtocolPolicy](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-OriginProtocolPolicy"></a>
The origin protocol policy for the CloudFront VPC origin endpoint configuration.  
Type: String  
Valid Values: `http-only | match-viewer | https-only`   
Required: Yes

 ** [OriginSslProtocols](#API_UpdateVpcOrigin_RequestSyntax) **   <a name="cloudfront-UpdateVpcOrigin-request-OriginSslProtocols"></a>
A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.  
Type: [OriginSslProtocols](API_OriginSslProtocols.md) object  
Required: No

## Response Syntax
<a name="API_UpdateVpcOrigin_ResponseSyntax"></a>

```
HTTP/1.1 202
<?xml version="1.0" encoding="UTF-8"?>
<VpcOrigin>
   <Arn>string</Arn>
   <CreatedTime>timestamp</CreatedTime>
   <Id>string</Id>
   <LastModifiedTime>timestamp</LastModifiedTime>
   <Status>string</Status>
   <VpcOriginEndpointConfig>
      <Arn>string</Arn>
      <HTTPPort>integer</HTTPPort>
      <HTTPSPort>integer</HTTPSPort>
      <Name>string</Name>
      <OriginProtocolPolicy>string</OriginProtocolPolicy>
      <OriginSslProtocols>
         <Items>
            <SslProtocol>string</SslProtocol>
         </Items>
         <Quantity>integer</Quantity>
      </OriginSslProtocols>
   </VpcOriginEndpointConfig>
</VpcOrigin>
```

## Response Elements
<a name="API_UpdateVpcOrigin_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 202 response.

The following data is returned in XML format by the service.

 ** [VpcOrigin](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-VpcOrigin"></a>
Root level tag for the VpcOrigin parameters.  
Required: Yes

 ** [Arn](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-Arn"></a>
The VPC origin ARN.  
Type: String

 ** [CreatedTime](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-CreatedTime"></a>
The VPC origin created time.  
Type: Timestamp

 ** [Id](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-Id"></a>
The VPC origin ID.  
Type: String

 ** [LastModifiedTime](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-LastModifiedTime"></a>
The VPC origin last modified time.  
Type: Timestamp

 ** [Status](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-Status"></a>
The VPC origin status.  
Type: String

 ** [VpcOriginEndpointConfig](#API_UpdateVpcOrigin_ResponseSyntax) **   <a name="cloudfront-UpdateVpcOrigin-response-VpcOriginEndpointConfig"></a>
The VPC origin endpoint configuration.  
Type: [VpcOriginEndpointConfig](API_VpcOriginEndpointConfig.md) object

## Errors
<a name="API_UpdateVpcOrigin_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** CannotUpdateEntityWhileInUse **   
The entity cannot be updated while it is in use.  
HTTP Status Code: 409

 ** EntityAlreadyExists **   
The entity already exists. You must provide a unique entity.  
HTTP Status Code: 409

 ** EntityLimitExceeded **   
The entity limit has been exceeded.  
HTTP Status Code: 400

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** IllegalUpdate **   
The update contains modifications that are not allowed.  
HTTP Status Code: 400

 ** InconsistentQuantities **   
The value of `Quantity` and the size of `Items` don't match.  
HTTP Status Code: 400

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

 ** InvalidIfMatchVersion **   
The `If-Match` version is missing or not valid.  
HTTP Status Code: 400

 ** PreconditionFailed **   
The precondition in one or more of the request fields evaluated to `false`.  
HTTP Status Code: 412

 ** UnsupportedOperation **   
This operation is not supported in this AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateVpcOrigin_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/UpdateVpcOrigin) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/UpdateVpcOrigin) 

# VerifyDnsConfiguration
<a name="API_VerifyDnsConfiguration"></a>

Verify the DNS configuration for your domain names. This API operation checks whether your domain name points to the correct routing endpoint of the connection group, such as d111111abcdef8.cloudfront.net. You can use this API operation to troubleshoot and resolve DNS configuration issues.

## Request Syntax
<a name="API_VerifyDnsConfiguration_RequestSyntax"></a>

```
POST /2020-05-31/verify-dns-configuration HTTP/1.1
<?xml version="1.0" encoding="UTF-8"?>
<VerifyDnsConfigurationRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
   <Domain>string</Domain>
   <Identifier>string</Identifier>
</VerifyDnsConfigurationRequest>
```

## URI Request Parameters
<a name="API_VerifyDnsConfiguration_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_VerifyDnsConfiguration_RequestBody"></a>

The request accepts the following data in XML format.

 ** [VerifyDnsConfigurationRequest](#API_VerifyDnsConfiguration_RequestSyntax) **   <a name="cloudfront-VerifyDnsConfiguration-request-VerifyDnsConfigurationRequest"></a>
Root level tag for the VerifyDnsConfigurationRequest parameters.  
Required: Yes

 ** [Domain](#API_VerifyDnsConfiguration_RequestSyntax) **   <a name="cloudfront-VerifyDnsConfiguration-request-Domain"></a>
The domain name that you're verifying.  
Type: String  
Required: No

 ** [Identifier](#API_VerifyDnsConfiguration_RequestSyntax) **   <a name="cloudfront-VerifyDnsConfiguration-request-Identifier"></a>
The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_VerifyDnsConfiguration_ResponseSyntax"></a>

```
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<VerifyDnsConfigurationResult>
   <DnsConfigurationList>
      <DnsConfiguration>
         <Domain>string</Domain>
         <Reason>string</Reason>
         <Status>string</Status>
      </DnsConfiguration>
   </DnsConfigurationList>
</VerifyDnsConfigurationResult>
```

## Response Elements
<a name="API_VerifyDnsConfiguration_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

 ** [VerifyDnsConfigurationResult](#API_VerifyDnsConfiguration_ResponseSyntax) **   <a name="cloudfront-VerifyDnsConfiguration-response-VerifyDnsConfigurationResult"></a>
Root level tag for the VerifyDnsConfigurationResult parameters.  
Required: Yes

 ** [DnsConfigurationList](#API_VerifyDnsConfiguration_ResponseSyntax) **   <a name="cloudfront-VerifyDnsConfiguration-response-DnsConfigurationList"></a>
The list of domain names, their statuses, and a description of each status.  
Type: Array of [DnsConfiguration](API_DnsConfiguration.md) objects

## Errors
<a name="API_VerifyDnsConfiguration_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDenied **   
Access denied.  
HTTP Status Code: 403

 ** EntityNotFound **   
The entity was not found.  
HTTP Status Code: 404

 ** InvalidArgument **   
An argument is invalid.  
HTTP Status Code: 400

## See Also
<a name="API_VerifyDnsConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-2020-05-31/VerifyDnsConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/VerifyDnsConfiguration) 

# Amazon CloudFront KeyValueStore
<a name="API_Operations_Amazon_CloudFront_KeyValueStore"></a>

The following actions are supported by Amazon CloudFront KeyValueStore:
+  [DeleteKey](API_kvs_DeleteKey.md) 
+  [DescribeKeyValueStore](API_kvs_DescribeKeyValueStore.md) 
+  [GetKey](API_kvs_GetKey.md) 
+  [ListKeys](API_kvs_ListKeys.md) 
+  [PutKey](API_kvs_PutKey.md) 
+  [UpdateKeys](API_kvs_UpdateKeys.md) 

# DeleteKey
<a name="API_kvs_DeleteKey"></a>

Deletes the key-value pair specified by the key.

## Request Syntax
<a name="API_kvs_DeleteKey_RequestSyntax"></a>

```
DELETE /key-value-stores/KvsARN/keys/Key HTTP/1.1
If-Match: IfMatch
```

## URI Request Parameters
<a name="API_kvs_DeleteKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [IfMatch](#API_kvs_DeleteKey_RequestSyntax) **   <a name="cloudfront-kvs_DeleteKey-request-IfMatch"></a>
The current version (`ETag`) of the key value store that you are deleting keys from, which you can get by using the `DescribeKeyValueStore` API operation.  
Required: Yes

 ** [Key](#API_kvs_DeleteKey_RequestSyntax) **   <a name="cloudfront-kvs_DeleteKey-request-uri-Key"></a>
The key to delete.  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

 ** [KvsARN](#API_kvs_DeleteKey_RequestSyntax) **   <a name="cloudfront-kvs_DeleteKey-request-uri-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

## Request Body
<a name="API_kvs_DeleteKey_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_kvs_DeleteKey_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
Content-type: application/json

{
   "ItemCount": number,
   "TotalSizeInBytes": number
}
```

## Response Elements
<a name="API_kvs_DeleteKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_kvs_DeleteKey_ResponseSyntax) **   <a name="cloudfront-kvs_DeleteKey-response-ETag"></a>
The current version identifier of the key value store after the successful delete.

The following data is returned in JSON format by the service.

 ** [ItemCount](#API_kvs_DeleteKey_ResponseSyntax) **   <a name="cloudfront-kvs_DeleteKey-response-ItemCount"></a>
Number of key-value pairs in the key value store after the successful delete.  
Type: Integer

 ** [TotalSizeInBytes](#API_kvs_DeleteKey_ResponseSyntax) **   <a name="cloudfront-kvs_DeleteKey-response-TotalSizeInBytes"></a>
Total size of the key value store after the successful delete, in bytes.  
Type: Long

## Errors
<a name="API_kvs_DeleteKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
Access denied.  
HTTP Status Code: 403

 ** ConflictException **   
Resource is not in expected state.  
HTTP Status Code: 409

 ** InternalServerException **   
Internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
Resource was not found.  
HTTP Status Code: 404

 ** ServiceQuotaExceededException **   
Limit exceeded.  
HTTP Status Code: 402

 ** ValidationException **   
Validation failed.  
HTTP Status Code: 400

## See Also
<a name="API_kvs_DeleteKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-keyvaluestore-2022-07-26/DeleteKey) 

# DescribeKeyValueStore
<a name="API_kvs_DescribeKeyValueStore"></a>

Returns metadata information about the key value store.

## Request Syntax
<a name="API_kvs_DescribeKeyValueStore_RequestSyntax"></a>

```
GET /key-value-stores/KvsARN HTTP/1.1
```

## URI Request Parameters
<a name="API_kvs_DescribeKeyValueStore_RequestParameters"></a>

The request uses the following URI parameters.

 ** [KvsARN](#API_kvs_DescribeKeyValueStore_RequestSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-request-uri-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

## Request Body
<a name="API_kvs_DescribeKeyValueStore_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_kvs_DescribeKeyValueStore_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
Content-type: application/json

{
   "Created": number,
   "FailureReason": "string",
   "ItemCount": number,
   "KvsARN": "string",
   "LastModified": number,
   "Status": "string",
   "TotalSizeInBytes": number
}
```

## Response Elements
<a name="API_kvs_DescribeKeyValueStore_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-ETag"></a>
The version identifier for the current version of the key value store.

The following data is returned in JSON format by the service.

 ** [Created](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-Created"></a>
Date and time when the key value store was created.  
Type: Timestamp

 ** [FailureReason](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-FailureReason"></a>
The reason why the key value store wasn't created.  
Type: String

 ** [ItemCount](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-ItemCount"></a>
Number of key-value pairs in the key value store.  
Type: Integer

 ** [KvsARN](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.

 ** [LastModified](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-LastModified"></a>
Date and time when the key-value pairs in the key value store was last modified.  
Type: Timestamp

 ** [Status](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-Status"></a>
The current status of the key value store.  
Type: String

 ** [TotalSizeInBytes](#API_kvs_DescribeKeyValueStore_ResponseSyntax) **   <a name="cloudfront-kvs_DescribeKeyValueStore-response-TotalSizeInBytes"></a>
Total size of the key value store in bytes.  
Type: Long

## Errors
<a name="API_kvs_DescribeKeyValueStore_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
Access denied.  
HTTP Status Code: 403

 ** ConflictException **   
Resource is not in expected state.  
HTTP Status Code: 409

 ** InternalServerException **   
Internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
Resource was not found.  
HTTP Status Code: 404

## See Also
<a name="API_kvs_DescribeKeyValueStore_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore) 

# GetKey
<a name="API_kvs_GetKey"></a>

Returns a key-value pair.

## Request Syntax
<a name="API_kvs_GetKey_RequestSyntax"></a>

```
GET /key-value-stores/KvsARN/keys/Key HTTP/1.1
```

## URI Request Parameters
<a name="API_kvs_GetKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Key](#API_kvs_GetKey_RequestSyntax) **   <a name="cloudfront-kvs_GetKey-request-uri-Key"></a>
The key to get.  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

 ** [KvsARN](#API_kvs_GetKey_RequestSyntax) **   <a name="cloudfront-kvs_GetKey-request-uri-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

## Request Body
<a name="API_kvs_GetKey_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_kvs_GetKey_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ItemCount": number,
   "Key": "string",
   "TotalSizeInBytes": number,
   "Value": "string"
}
```

## Response Elements
<a name="API_kvs_GetKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ItemCount](#API_kvs_GetKey_ResponseSyntax) **   <a name="cloudfront-kvs_GetKey-response-ItemCount"></a>
Number of key-value pairs in the key value store.  
Type: Integer

 ** [Key](#API_kvs_GetKey_ResponseSyntax) **   <a name="cloudfront-kvs_GetKey-response-Key"></a>
The key of the key-value pair.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [TotalSizeInBytes](#API_kvs_GetKey_ResponseSyntax) **   <a name="cloudfront-kvs_GetKey-response-TotalSizeInBytes"></a>
Total size of the key value store in bytes.  
Type: Long

 ** [Value](#API_kvs_GetKey_ResponseSyntax) **   <a name="cloudfront-kvs_GetKey-response-Value"></a>
The value of the key-value pair.  
Type: String

## Errors
<a name="API_kvs_GetKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
Access denied.  
HTTP Status Code: 403

 ** ConflictException **   
Resource is not in expected state.  
HTTP Status Code: 409

 ** InternalServerException **   
Internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
Resource was not found.  
HTTP Status Code: 404

## See Also
<a name="API_kvs_GetKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-keyvaluestore-2022-07-26/GetKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-keyvaluestore-2022-07-26/GetKey) 

# ListKeys
<a name="API_kvs_ListKeys"></a>

Returns a list of key-value pairs.

## Request Syntax
<a name="API_kvs_ListKeys_RequestSyntax"></a>

```
GET /key-value-stores/KvsARN/keys?MaxResults=MaxResults&NextToken=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_kvs_ListKeys_RequestParameters"></a>

The request uses the following URI parameters.

 ** [KvsARN](#API_kvs_ListKeys_RequestSyntax) **   <a name="cloudfront-kvs_ListKeys-request-uri-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

 ** [MaxResults](#API_kvs_ListKeys_RequestSyntax) **   <a name="cloudfront-kvs_ListKeys-request-uri-MaxResults"></a>
Maximum number of results that are returned per call. The default is 10 and maximum allowed page is 50.  
Valid Range: Minimum value of 1. Maximum value of 50.

 ** [NextToken](#API_kvs_ListKeys_RequestSyntax) **   <a name="cloudfront-kvs_ListKeys-request-uri-NextToken"></a>
If `nextToken` is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.

## Request Body
<a name="API_kvs_ListKeys_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_kvs_ListKeys_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "Key": "string",
         "Value": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_kvs_ListKeys_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_kvs_ListKeys_ResponseSyntax) **   <a name="cloudfront-kvs_ListKeys-response-Items"></a>
The key-value pairs.  
Type: Array of [ListKeysResponseListItem](API_kvs_ListKeysResponseListItem.md) objects

 ** [NextToken](#API_kvs_ListKeys_ResponseSyntax) **   <a name="cloudfront-kvs_ListKeys-response-NextToken"></a>
If `nextToken` is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.  
Type: String

## Errors
<a name="API_kvs_ListKeys_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
Access denied.  
HTTP Status Code: 403

 ** ConflictException **   
Resource is not in expected state.  
HTTP Status Code: 409

 ** InternalServerException **   
Internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
Resource was not found.  
HTTP Status Code: 404

 ** ValidationException **   
Validation failed.  
HTTP Status Code: 400

## See Also
<a name="API_kvs_ListKeys_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-keyvaluestore-2022-07-26/ListKeys) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-keyvaluestore-2022-07-26/ListKeys) 

# PutKey
<a name="API_kvs_PutKey"></a>

Creates a new key-value pair or replaces the value of an existing key.

## Request Syntax
<a name="API_kvs_PutKey_RequestSyntax"></a>

```
PUT /key-value-stores/KvsARN/keys/Key HTTP/1.1
If-Match: IfMatch
Content-type: application/json

{
   "Value": "string"
}
```

## URI Request Parameters
<a name="API_kvs_PutKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [IfMatch](#API_kvs_PutKey_RequestSyntax) **   <a name="cloudfront-kvs_PutKey-request-IfMatch"></a>
The current version (`ETag`) of the key value store that you are putting keys into, which you can get by using the `DescribeKeyValueStore` API operation.  
Required: Yes

 ** [Key](#API_kvs_PutKey_RequestSyntax) **   <a name="cloudfront-kvs_PutKey-request-uri-Key"></a>
The key to put.  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

 ** [KvsARN](#API_kvs_PutKey_RequestSyntax) **   <a name="cloudfront-kvs_PutKey-request-uri-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

## Request Body
<a name="API_kvs_PutKey_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Value](#API_kvs_PutKey_RequestSyntax) **   <a name="cloudfront-kvs_PutKey-request-Value"></a>
The value to put.  
Type: String  
Required: Yes

## Response Syntax
<a name="API_kvs_PutKey_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
Content-type: application/json

{
   "ItemCount": number,
   "TotalSizeInBytes": number
}
```

## Response Elements
<a name="API_kvs_PutKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_kvs_PutKey_ResponseSyntax) **   <a name="cloudfront-kvs_PutKey-response-ETag"></a>
The current version identifier of the key value store after the successful put.

The following data is returned in JSON format by the service.

 ** [ItemCount](#API_kvs_PutKey_ResponseSyntax) **   <a name="cloudfront-kvs_PutKey-response-ItemCount"></a>
Number of key-value pairs in the key value store after the successful put.  
Type: Integer

 ** [TotalSizeInBytes](#API_kvs_PutKey_ResponseSyntax) **   <a name="cloudfront-kvs_PutKey-response-TotalSizeInBytes"></a>
Total size of the key value store after the successful put, in bytes.  
Type: Long

## Errors
<a name="API_kvs_PutKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
Access denied.  
HTTP Status Code: 403

 ** ConflictException **   
Resource is not in expected state.  
HTTP Status Code: 409

 ** InternalServerException **   
Internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
Resource was not found.  
HTTP Status Code: 404

 ** ServiceQuotaExceededException **   
Limit exceeded.  
HTTP Status Code: 402

 ** ValidationException **   
Validation failed.  
HTTP Status Code: 400

## See Also
<a name="API_kvs_PutKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-keyvaluestore-2022-07-26/PutKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-keyvaluestore-2022-07-26/PutKey) 

# UpdateKeys
<a name="API_kvs_UpdateKeys"></a>

Puts or deletes multiple key-value pairs in a single, all-or-nothing operation.

## Request Syntax
<a name="API_kvs_UpdateKeys_RequestSyntax"></a>

```
POST /key-value-stores/KvsARN/keys HTTP/1.1
If-Match: IfMatch
Content-type: application/json

{
   "Deletes": [ 
      { 
         "Key": "string"
      }
   ],
   "Puts": [ 
      { 
         "Key": "string",
         "Value": "string"
      }
   ]
}
```

## URI Request Parameters
<a name="API_kvs_UpdateKeys_RequestParameters"></a>

The request uses the following URI parameters.

 ** [IfMatch](#API_kvs_UpdateKeys_RequestSyntax) **   <a name="cloudfront-kvs_UpdateKeys-request-IfMatch"></a>
The current version (`ETag`) of the key value store that you are updating keys of, which you can get by using the `DescribeKeyValueStore` API operation.  
Required: Yes

 ** [KvsARN](#API_kvs_UpdateKeys_RequestSyntax) **   <a name="cloudfront-kvs_UpdateKeys-request-uri-KvsARN"></a>
The Amazon Resource Name (ARN) of the key value store.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

## Request Body
<a name="API_kvs_UpdateKeys_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Deletes](#API_kvs_UpdateKeys_RequestSyntax) **   <a name="cloudfront-kvs_UpdateKeys-request-Deletes"></a>
List of keys to delete.  
Type: Array of [DeleteKeyRequestListItem](API_kvs_DeleteKeyRequestListItem.md) objects  
Required: No

 ** [Puts](#API_kvs_UpdateKeys_RequestSyntax) **   <a name="cloudfront-kvs_UpdateKeys-request-Puts"></a>
List of key-value pairs to put.  
Type: Array of [PutKeyRequestListItem](API_kvs_PutKeyRequestListItem.md) objects  
Required: No

## Response Syntax
<a name="API_kvs_UpdateKeys_ResponseSyntax"></a>

```
HTTP/1.1 200
ETag: ETag
Content-type: application/json

{
   "ItemCount": number,
   "TotalSizeInBytes": number
}
```

## Response Elements
<a name="API_kvs_UpdateKeys_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

 ** [ETag](#API_kvs_UpdateKeys_ResponseSyntax) **   <a name="cloudfront-kvs_UpdateKeys-response-ETag"></a>
The current version identifier of the key value store after the successful update.

The following data is returned in JSON format by the service.

 ** [ItemCount](#API_kvs_UpdateKeys_ResponseSyntax) **   <a name="cloudfront-kvs_UpdateKeys-response-ItemCount"></a>
Number of key-value pairs in the key value store after the successful update.  
Type: Integer

 ** [TotalSizeInBytes](#API_kvs_UpdateKeys_ResponseSyntax) **   <a name="cloudfront-kvs_UpdateKeys-response-TotalSizeInBytes"></a>
Total size of the key value store after the successful update, in bytes.  
Type: Long

## Errors
<a name="API_kvs_UpdateKeys_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
Access denied.  
HTTP Status Code: 403

 ** ConflictException **   
Resource is not in expected state.  
HTTP Status Code: 409

 ** InternalServerException **   
Internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
Resource was not found.  
HTTP Status Code: 404

 ** ServiceQuotaExceededException **   
Limit exceeded.  
HTTP Status Code: 402

 ** ValidationException **   
Validation failed.  
HTTP Status Code: 400

## See Also
<a name="API_kvs_UpdateKeys_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-keyvaluestore-2022-07-26/UpdateKeys) 