/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.CloudFront.Model; namespace Amazon.CloudFront { /// /// Interface for accessing CloudFront /// /// Amazon CloudFront /// /// This is the Amazon CloudFront API Reference. This guide is for developers who /// need detailed information about CloudFront API actions, data types, and errors. For /// detailed information about CloudFront features, see the Amazon CloudFront Developer /// Guide. /// /// public partial interface IAmazonCloudFront : IAmazonService, IDisposable { /// /// Paginators for the service /// ICloudFrontPaginatorFactory Paginators { get; } #region AssociateAlias /// /// Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront /// distribution. /// /// /// /// With this operation you can move an alias that's already in use on a CloudFront distribution /// to a different distribution in one step. This prevents the downtime that could occur /// if you first remove the alias from one distribution and then separately add the alias /// to another distribution. /// /// /// /// To use this operation to associate an alias with a distribution, you provide the alias /// and the ID of the target distribution for the alias. For more information, including /// how to set up the target distribution, prerequisites that you must complete, and other /// restrictions, see Moving /// an alternate domain name to a different distribution in the Amazon CloudFront /// Developer Guide. /// /// /// Container for the necessary parameters to execute the AssociateAlias service method. /// /// The response from the AssociateAlias service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// An argument is invalid. /// /// /// The specified distribution does not exist. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// REST API Reference for AssociateAlias Operation AssociateAliasResponse AssociateAlias(AssociateAliasRequest request); /// /// Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront /// distribution. /// /// /// /// With this operation you can move an alias that's already in use on a CloudFront distribution /// to a different distribution in one step. This prevents the downtime that could occur /// if you first remove the alias from one distribution and then separately add the alias /// to another distribution. /// /// /// /// To use this operation to associate an alias with a distribution, you provide the alias /// and the ID of the target distribution for the alias. For more information, including /// how to set up the target distribution, prerequisites that you must complete, and other /// restrictions, see Moving /// an alternate domain name to a different distribution in the Amazon CloudFront /// Developer Guide. /// /// /// Container for the necessary parameters to execute the AssociateAlias service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateAlias service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// An argument is invalid. /// /// /// The specified distribution does not exist. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// REST API Reference for AssociateAlias Operation Task AssociateAliasAsync(AssociateAliasRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CopyDistribution /// /// 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: /// /// /// /// Container for the necessary parameters to execute the CopyDistribution service method. /// /// The response from the CopyDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// You cannot specify SSLv3 as the minimum protocol version if you only want to support /// only clients that support Server Name Indication (SNI). /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The specified distribution does not exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// Processing your request would cause you to exceed the maximum number of distributions /// allowed. /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CopyDistribution Operation CopyDistributionResponse CopyDistribution(CopyDistributionRequest request); /// /// 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: /// /// /// /// Container for the necessary parameters to execute the CopyDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CopyDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// You cannot specify SSLv3 as the minimum protocol version if you only want to support /// only clients that support Server Name Indication (SNI). /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The specified distribution does not exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// Processing your request would cause you to exceed the maximum number of distributions /// allowed. /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CopyDistribution Operation Task CopyDistributionAsync(CopyDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateCachePolicy /// /// 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. /// ///
/// /// The headers, cookies, and query strings that are included in the cache key are also /// included in requests that CloudFront sends to the origin. CloudFront sends a request /// when it can't find an object in its cache that matches the request's cache key. If /// you want to send values to the origin but not include them in the cache key, /// use OriginRequestPolicy. /// /// /// /// For more information about cache policies, see Controlling /// the cache key in the Amazon CloudFront Developer Guide. /// ///
/// Container for the necessary parameters to execute the CreateCachePolicy service method. /// /// The response from the CreateCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// A cache policy with this name already exists. You must provide a unique name. To modify /// an existing cache policy, use UpdateCachePolicy. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// You have reached the maximum number of cache policies for this Amazon Web Services /// account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of cookies in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateCachePolicy Operation CreateCachePolicyResponse CreateCachePolicy(CreateCachePolicyRequest request); /// /// 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. /// ///
/// /// The headers, cookies, and query strings that are included in the cache key are also /// included in requests that CloudFront sends to the origin. CloudFront sends a request /// when it can't find an object in its cache that matches the request's cache key. If /// you want to send values to the origin but not include them in the cache key, /// use OriginRequestPolicy. /// /// /// /// For more information about cache policies, see Controlling /// the cache key in the Amazon CloudFront Developer Guide. /// ///
/// Container for the necessary parameters to execute the CreateCachePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// A cache policy with this name already exists. You must provide a unique name. To modify /// an existing cache policy, use UpdateCachePolicy. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// You have reached the maximum number of cache policies for this Amazon Web Services /// account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of cookies in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateCachePolicy Operation Task CreateCachePolicyAsync(CreateCachePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateCloudFrontOriginAccessIdentity /// /// Creates a new origin access identity. If you're using Amazon S3 for your origin, you /// can use an origin access identity to require users to access your content using a /// CloudFront URL instead of the Amazon S3 URL. For more information about how to use /// origin access identities, see Serving /// Private Content through CloudFront in the Amazon CloudFront Developer Guide. /// /// Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity service method. /// /// The response from the CreateCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// 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. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// Processing your request would cause you to exceed the maximum number of origin access /// identities allowed. /// /// REST API Reference for CreateCloudFrontOriginAccessIdentity Operation CreateCloudFrontOriginAccessIdentityResponse CreateCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest request); /// /// Creates a new origin access identity. If you're using Amazon S3 for your origin, you /// can use an origin access identity to require users to access your content using a /// CloudFront URL instead of the Amazon S3 URL. For more information about how to use /// origin access identities, see Serving /// Private Content through CloudFront in the Amazon CloudFront Developer Guide. /// /// Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// 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. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// Processing your request would cause you to exceed the maximum number of origin access /// identities allowed. /// /// REST API Reference for CreateCloudFrontOriginAccessIdentity Operation Task CreateCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateContinuousDeploymentPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateContinuousDeploymentPolicy service method. /// /// The response from the CreateContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// A continuous deployment policy with this configuration already exists. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// A continuous deployment policy for this staging distribution already exists. /// /// /// You have reached the maximum number of continuous deployment policies for this Amazon /// Web Services account. /// /// REST API Reference for CreateContinuousDeploymentPolicy Operation CreateContinuousDeploymentPolicyResponse CreateContinuousDeploymentPolicy(CreateContinuousDeploymentPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateContinuousDeploymentPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// A continuous deployment policy with this configuration already exists. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// A continuous deployment policy for this staging distribution already exists. /// /// /// You have reached the maximum number of continuous deployment policies for this Amazon /// Web Services account. /// /// REST API Reference for CreateContinuousDeploymentPolicy Operation Task CreateContinuousDeploymentPolicyAsync(CreateContinuousDeploymentPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDistribution /// /// Creates a CloudFront distribution. /// /// Container for the necessary parameters to execute the CreateDistribution service method. /// /// The response from the CreateDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An origin access control is associated with an origin whose domain name is not supported. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// You cannot specify SSLv3 as the minimum protocol version if you only want to support /// only clients that support Server Name Indication (SNI). /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// Processing your request would cause you to exceed the maximum number of distributions /// allowed. /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateDistribution Operation CreateDistributionResponse CreateDistribution(CreateDistributionRequest request); /// /// Creates a CloudFront distribution. /// /// Container for the necessary parameters to execute the CreateDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An origin access control is associated with an origin whose domain name is not supported. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// You cannot specify SSLv3 as the minimum protocol version if you only want to support /// only clients that support Server Name Indication (SNI). /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// Processing your request would cause you to exceed the maximum number of distributions /// allowed. /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateDistribution Operation Task CreateDistributionAsync(CreateDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDistributionWithTags /// /// Create a new distribution with tags. This API operation requires the following IAM /// permissions: /// /// /// /// Container for the necessary parameters to execute the CreateDistributionWithTags service method. /// /// The response from the CreateDistributionWithTags service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An origin access control is associated with an origin whose domain name is not supported. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// You cannot specify SSLv3 as the minimum protocol version if you only want to support /// only clients that support Server Name Indication (SNI). /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The tagging specified is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// Processing your request would cause you to exceed the maximum number of distributions /// allowed. /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateDistributionWithTags Operation CreateDistributionWithTagsResponse CreateDistributionWithTags(CreateDistributionWithTagsRequest request); /// /// Create a new distribution with tags. This API operation requires the following IAM /// permissions: /// /// /// /// Container for the necessary parameters to execute the CreateDistributionWithTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDistributionWithTags service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An origin access control is associated with an origin whose domain name is not supported. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// You cannot specify SSLv3 as the minimum protocol version if you only want to support /// only clients that support Server Name Indication (SNI). /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The tagging specified is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// Processing your request would cause you to exceed the maximum number of distributions /// allowed. /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateDistributionWithTags Operation Task CreateDistributionWithTagsAsync(CreateDistributionWithTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFieldLevelEncryptionConfig /// /// Create a new field-level encryption configuration. /// /// Container for the necessary parameters to execute the CreateFieldLevelEncryptionConfig service method. /// /// The response from the CreateFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// The specified configuration for field-level encryption already exists. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// No profile specified for the field-level encryption query argument. /// /// /// The maximum number of configurations for field-level encryption have been created. /// /// /// The maximum number of content type profiles for field-level encryption have been created. /// /// /// The maximum number of query arg profiles for field-level encryption have been created. /// /// REST API Reference for CreateFieldLevelEncryptionConfig Operation CreateFieldLevelEncryptionConfigResponse CreateFieldLevelEncryptionConfig(CreateFieldLevelEncryptionConfigRequest request); /// /// Create a new field-level encryption configuration. /// /// Container for the necessary parameters to execute the CreateFieldLevelEncryptionConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// The specified configuration for field-level encryption already exists. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// No profile specified for the field-level encryption query argument. /// /// /// The maximum number of configurations for field-level encryption have been created. /// /// /// The maximum number of content type profiles for field-level encryption have been created. /// /// /// The maximum number of query arg profiles for field-level encryption have been created. /// /// REST API Reference for CreateFieldLevelEncryptionConfig Operation Task CreateFieldLevelEncryptionConfigAsync(CreateFieldLevelEncryptionConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFieldLevelEncryptionProfile /// /// Create a field-level encryption profile. /// /// Container for the necessary parameters to execute the CreateFieldLevelEncryptionProfile service method. /// /// The response from the CreateFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// The specified profile for field-level encryption already exists. /// /// /// The maximum size of a profile for field-level encryption was exceeded. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The specified public key doesn't exist. /// /// /// The maximum number of encryption entities for field-level encryption have been created. /// /// /// The maximum number of field patterns for field-level encryption have been created. /// /// /// The maximum number of profiles for field-level encryption have been created. /// /// REST API Reference for CreateFieldLevelEncryptionProfile Operation CreateFieldLevelEncryptionProfileResponse CreateFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request); /// /// Create a field-level encryption profile. /// /// Container for the necessary parameters to execute the CreateFieldLevelEncryptionProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// The specified profile for field-level encryption already exists. /// /// /// The maximum size of a profile for field-level encryption was exceeded. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The specified public key doesn't exist. /// /// /// The maximum number of encryption entities for field-level encryption have been created. /// /// /// The maximum number of field patterns for field-level encryption have been created. /// /// /// The maximum number of profiles for field-level encryption have been created. /// /// REST API Reference for CreateFieldLevelEncryptionProfile Operation Task CreateFieldLevelEncryptionProfileAsync(CreateFieldLevelEncryptionProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFunction /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateFunction service method. /// /// The response from the CreateFunction service method, as returned by CloudFront. /// /// A function with the same name already exists in this Amazon Web Services account. /// To create a function, you must provide a unique name. To update an existing function, /// use UpdateFunction. /// /// /// The function is too large. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// An argument is invalid. /// /// /// You have reached the maximum number of CloudFront functions for this Amazon Web Services /// account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// This operation is not supported in this region. /// /// REST API Reference for CreateFunction Operation CreateFunctionResponse CreateFunction(CreateFunctionRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFunction service method, as returned by CloudFront. /// /// A function with the same name already exists in this Amazon Web Services account. /// To create a function, you must provide a unique name. To update an existing function, /// use UpdateFunction. /// /// /// The function is too large. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// An argument is invalid. /// /// /// You have reached the maximum number of CloudFront functions for this Amazon Web Services /// account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// This operation is not supported in this region. /// /// REST API Reference for CreateFunction Operation Task CreateFunctionAsync(CreateFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateInvalidation /// /// Create a new invalidation. /// /// Container for the necessary parameters to execute the CreateInvalidation service method. /// /// The response from the CreateInvalidation service method, as returned by CloudFront. /// /// Access denied. /// /// /// Invalidation batch specified is too large. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The specified distribution does not exist. /// /// /// You have exceeded the maximum number of allowable InProgress invalidation batch requests, /// or invalidation objects. /// /// REST API Reference for CreateInvalidation Operation CreateInvalidationResponse CreateInvalidation(CreateInvalidationRequest request); /// /// Create a new invalidation. /// /// Container for the necessary parameters to execute the CreateInvalidation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInvalidation service method, as returned by CloudFront. /// /// Access denied. /// /// /// Invalidation batch specified is too large. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The specified distribution does not exist. /// /// /// You have exceeded the maximum number of allowable InProgress invalidation batch requests, /// or invalidation objects. /// /// REST API Reference for CreateInvalidation Operation Task CreateInvalidationAsync(CreateInvalidationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateKeyGroup /// /// Creates a key group that you can use with CloudFront /// signed URLs and signed cookies. /// /// /// /// To create a key group, you must specify at least one public key for the key group. /// After you create a key group, you can reference it from one or more cache behaviors. /// When you reference a key group in a cache behavior, CloudFront requires signed URLs /// or signed cookies for all requests that match the cache behavior. The URLs or cookies /// must be signed with a private key whose corresponding public key is in the key group. /// The signed URL or cookie contains information about which public key CloudFront should /// use to verify the signature. For more information, see Serving /// private content in the Amazon CloudFront Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateKeyGroup service method. /// /// The response from the CreateKeyGroup service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// A key group with this name already exists. You must provide a unique name. To modify /// an existing key group, use UpdateKeyGroup. /// /// /// You have reached the maximum number of key groups for this Amazon Web Services account. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of public keys in this key group is more than the maximum allowed. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateKeyGroup Operation CreateKeyGroupResponse CreateKeyGroup(CreateKeyGroupRequest request); /// /// Creates a key group that you can use with CloudFront /// signed URLs and signed cookies. /// /// /// /// To create a key group, you must specify at least one public key for the key group. /// After you create a key group, you can reference it from one or more cache behaviors. /// When you reference a key group in a cache behavior, CloudFront requires signed URLs /// or signed cookies for all requests that match the cache behavior. The URLs or cookies /// must be signed with a private key whose corresponding public key is in the key group. /// The signed URL or cookie contains information about which public key CloudFront should /// use to verify the signature. For more information, see Serving /// private content in the Amazon CloudFront Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateKeyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateKeyGroup service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// A key group with this name already exists. You must provide a unique name. To modify /// an existing key group, use UpdateKeyGroup. /// /// /// You have reached the maximum number of key groups for this Amazon Web Services account. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of public keys in this key group is more than the maximum allowed. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateKeyGroup Operation Task CreateKeyGroupAsync(CreateKeyGroupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateMonitoringSubscription /// /// Enables additional CloudWatch metrics for the specified CloudFront distribution. The /// additional metrics incur an additional cost. /// /// /// /// For more information, see Viewing /// additional CloudFront distribution metrics in the Amazon CloudFront Developer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateMonitoringSubscription service method. /// /// The response from the CreateMonitoringSubscription service method, as returned by CloudFront. /// /// Access denied. /// /// /// A monitoring subscription already exists for the specified distribution. /// /// /// The specified distribution does not exist. /// /// /// This operation is not supported in this region. /// /// REST API Reference for CreateMonitoringSubscription Operation CreateMonitoringSubscriptionResponse CreateMonitoringSubscription(CreateMonitoringSubscriptionRequest request); /// /// Enables additional CloudWatch metrics for the specified CloudFront distribution. The /// additional metrics incur an additional cost. /// /// /// /// For more information, see Viewing /// additional CloudFront distribution metrics in the Amazon CloudFront Developer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateMonitoringSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateMonitoringSubscription service method, as returned by CloudFront. /// /// Access denied. /// /// /// A monitoring subscription already exists for the specified distribution. /// /// /// The specified distribution does not exist. /// /// /// This operation is not supported in this region. /// /// REST API Reference for CreateMonitoringSubscription Operation Task CreateMonitoringSubscriptionAsync(CreateMonitoringSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateOriginAccessControl /// /// Creates a new origin access control in CloudFront. After you create an origin access /// control, you can add it to an origin in a CloudFront distribution so that CloudFront /// sends authenticated (signed) requests to the origin. /// /// /// /// This makes it possible to block public access to the origin, allowing viewers (users) /// to access the origin's content only through CloudFront. /// /// /// /// For more information about using a CloudFront origin access control, see Restricting /// access to an Amazon Web Services origin in the Amazon CloudFront Developer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateOriginAccessControl service method. /// /// The response from the CreateOriginAccessControl service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// An origin access control with the specified parameters already exists. /// /// /// The number of origin access controls in your Amazon Web Services account exceeds the /// maximum allowed. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// REST API Reference for CreateOriginAccessControl Operation CreateOriginAccessControlResponse CreateOriginAccessControl(CreateOriginAccessControlRequest request); /// /// Creates a new origin access control in CloudFront. After you create an origin access /// control, you can add it to an origin in a CloudFront distribution so that CloudFront /// sends authenticated (signed) requests to the origin. /// /// /// /// This makes it possible to block public access to the origin, allowing viewers (users) /// to access the origin's content only through CloudFront. /// /// /// /// For more information about using a CloudFront origin access control, see Restricting /// access to an Amazon Web Services origin in the Amazon CloudFront Developer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateOriginAccessControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateOriginAccessControl service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// An origin access control with the specified parameters already exists. /// /// /// The number of origin access controls in your Amazon Web Services account exceeds the /// maximum allowed. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// REST API Reference for CreateOriginAccessControl Operation Task CreateOriginAccessControlAsync(CreateOriginAccessControlRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateOriginRequestPolicy /// /// 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 in the Amazon CloudFront Developer Guide. /// ///
/// Container for the necessary parameters to execute the CreateOriginRequestPolicy service method. /// /// The response from the CreateOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// An origin request policy with this name already exists. You must provide a unique /// name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. /// /// /// The number of cookies in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// You have reached the maximum number of origin request policies for this Amazon Web /// Services account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the origin request policy exceeds the maximum. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateOriginRequestPolicy Operation CreateOriginRequestPolicyResponse CreateOriginRequestPolicy(CreateOriginRequestPolicyRequest request); /// /// 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 in the Amazon CloudFront Developer Guide. /// ///
/// Container for the necessary parameters to execute the CreateOriginRequestPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// An origin request policy with this name already exists. You must provide a unique /// name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. /// /// /// The number of cookies in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// You have reached the maximum number of origin request policies for this Amazon Web /// Services account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the origin request policy exceeds the maximum. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateOriginRequestPolicy Operation Task CreateOriginRequestPolicyAsync(CreateOriginRequestPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreatePublicKey /// /// Uploads a public key to CloudFront that you can use with signed /// URLs and signed cookies, or with field-level /// encryption. /// /// Container for the necessary parameters to execute the CreatePublicKey service method. /// /// The response from the CreatePublicKey service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The specified public key already exists. /// /// /// 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. /// /// REST API Reference for CreatePublicKey Operation CreatePublicKeyResponse CreatePublicKey(CreatePublicKeyRequest request); /// /// Uploads a public key to CloudFront that you can use with signed /// URLs and signed cookies, or with field-level /// encryption. /// /// Container for the necessary parameters to execute the CreatePublicKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePublicKey service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The specified public key already exists. /// /// /// 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. /// /// REST API Reference for CreatePublicKey Operation Task CreatePublicKeyAsync(CreatePublicKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateRealtimeLogConfig /// /// Creates a real-time log configuration. /// /// /// /// After you create a real-time log configuration, you can attach it to one or more cache /// behaviors to send real-time log data to the specified Amazon Kinesis data stream. /// /// /// /// For more information about real-time log configurations, see Real-time /// logs in the Amazon CloudFront Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateRealtimeLogConfig service method. /// /// The response from the CreateRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// 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. /// /// /// You have reached the maximum number of real-time log configurations for this Amazon /// Web Services account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateRealtimeLogConfig Operation CreateRealtimeLogConfigResponse CreateRealtimeLogConfig(CreateRealtimeLogConfigRequest request); /// /// Creates a real-time log configuration. /// /// /// /// After you create a real-time log configuration, you can attach it to one or more cache /// behaviors to send real-time log data to the specified Amazon Kinesis data stream. /// /// /// /// For more information about real-time log configurations, see Real-time /// logs in the Amazon CloudFront Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateRealtimeLogConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// 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. /// /// /// You have reached the maximum number of real-time log configurations for this Amazon /// Web Services account. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for CreateRealtimeLogConfig Operation Task CreateRealtimeLogConfigAsync(CreateRealtimeLogConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateResponseHeadersPolicy /// /// Creates a response headers policy. /// /// /// /// A response headers policy contains information about a set of HTTP headers. To create /// a response headers policy, you provide some metadata about the policy and a set of /// configurations that specify the headers. /// /// /// /// After you create a response headers policy, you can use its ID to attach it to one /// or more cache behaviors in a CloudFront distribution. When it's attached to a cache /// behavior, the response headers policy affects the HTTP headers that CloudFront includes /// in HTTP responses to requests that match the cache behavior. CloudFront adds or removes /// response headers according to the configuration of the response headers policy. /// /// /// /// For more information, see Adding /// or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateResponseHeadersPolicy service method. /// /// The response from the CreateResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// A response headers policy with this name already exists. You must provide a unique /// name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. /// /// /// The length of the Content-Security-Policy header value in the response /// headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of custom headers in the response headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of headers in RemoveHeadersConfig in the response headers /// policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// You have reached the maximum number of response headers policies for this Amazon Web /// Services account. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// REST API Reference for CreateResponseHeadersPolicy Operation CreateResponseHeadersPolicyResponse CreateResponseHeadersPolicy(CreateResponseHeadersPolicyRequest request); /// /// Creates a response headers policy. /// /// /// /// A response headers policy contains information about a set of HTTP headers. To create /// a response headers policy, you provide some metadata about the policy and a set of /// configurations that specify the headers. /// /// /// /// After you create a response headers policy, you can use its ID to attach it to one /// or more cache behaviors in a CloudFront distribution. When it's attached to a cache /// behavior, the response headers policy affects the HTTP headers that CloudFront includes /// in HTTP responses to requests that match the cache behavior. CloudFront adds or removes /// response headers according to the configuration of the response headers policy. /// /// /// /// For more information, see Adding /// or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateResponseHeadersPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// A response headers policy with this name already exists. You must provide a unique /// name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. /// /// /// The length of the Content-Security-Policy header value in the response /// headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of custom headers in the response headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of headers in RemoveHeadersConfig in the response headers /// policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// You have reached the maximum number of response headers policies for this Amazon Web /// Services account. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// REST API Reference for CreateResponseHeadersPolicy Operation Task CreateResponseHeadersPolicyAsync(CreateResponseHeadersPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStreamingDistribution /// /// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol /// (RTMP) distributions on December 31, 2020. For more information, read /// the announcement on the Amazon CloudFront discussion forum. /// /// Container for the necessary parameters to execute the CreateStreamingDistribution service method. /// /// The response from the CreateStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The caller reference you attempted to create the streaming distribution with is associated /// with another distribution /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// Processing your request would cause you to exceed the maximum number of streaming /// distributions allowed. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateStreamingDistribution Operation CreateStreamingDistributionResponse CreateStreamingDistribution(CreateStreamingDistributionRequest request); /// /// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol /// (RTMP) distributions on December 31, 2020. For more information, read /// the announcement on the Amazon CloudFront discussion forum. /// /// Container for the necessary parameters to execute the CreateStreamingDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The caller reference you attempted to create the streaming distribution with is associated /// with another distribution /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// Processing your request would cause you to exceed the maximum number of streaming /// distributions allowed. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateStreamingDistribution Operation Task CreateStreamingDistributionAsync(CreateStreamingDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStreamingDistributionWithTags /// /// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol /// (RTMP) distributions on December 31, 2020. For more information, read /// the announcement on the Amazon CloudFront discussion forum. /// /// Container for the necessary parameters to execute the CreateStreamingDistributionWithTags service method. /// /// The response from the CreateStreamingDistributionWithTags service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The tagging specified is not valid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The caller reference you attempted to create the streaming distribution with is associated /// with another distribution /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// Processing your request would cause you to exceed the maximum number of streaming /// distributions allowed. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateStreamingDistributionWithTags Operation CreateStreamingDistributionWithTagsResponse CreateStreamingDistributionWithTags(CreateStreamingDistributionWithTagsRequest request); /// /// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol /// (RTMP) distributions on December 31, 2020. For more information, read /// the announcement on the Amazon CloudFront discussion forum. /// /// Container for the necessary parameters to execute the CreateStreamingDistributionWithTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStreamingDistributionWithTags service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket. /// /// /// The tagging specified is not valid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The caller reference you attempted to create the streaming distribution with is associated /// with another distribution /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// Processing your request would cause you to exceed the maximum number of streaming /// distributions allowed. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for CreateStreamingDistributionWithTags Operation Task CreateStreamingDistributionWithTagsAsync(CreateStreamingDistributionWithTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteCachePolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteCachePolicy service method. /// /// The response from the DeleteCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// Cannot delete the cache policy because it is attached to one or more cache behaviors. /// /// /// You cannot delete a managed policy. /// /// /// The If-Match version is missing or not valid. /// /// /// The cache policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteCachePolicy Operation DeleteCachePolicyResponse DeleteCachePolicy(DeleteCachePolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteCachePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// Cannot delete the cache policy because it is attached to one or more cache behaviors. /// /// /// You cannot delete a managed policy. /// /// /// The If-Match version is missing or not valid. /// /// /// The cache policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteCachePolicy Operation Task DeleteCachePolicyAsync(DeleteCachePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteCloudFrontOriginAccessIdentity /// /// Delete an origin access identity. /// /// /// The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The Origin Access Identity specified is already in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified origin access identity does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity(); /// /// Delete an origin access identity. /// /// Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity service method. /// /// The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The Origin Access Identity specified is already in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified origin access identity does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest request); /// /// Delete an origin access identity. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The Origin Access Identity specified is already in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified origin access identity does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation Task DeleteCloudFrontOriginAccessIdentityAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Delete an origin access identity. /// /// Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The Origin Access Identity specified is already in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified origin access identity does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation Task DeleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteContinuousDeploymentPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteContinuousDeploymentPolicy service method. /// /// The response from the DeleteContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteContinuousDeploymentPolicy Operation DeleteContinuousDeploymentPolicyResponse DeleteContinuousDeploymentPolicy(DeleteContinuousDeploymentPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteContinuousDeploymentPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteContinuousDeploymentPolicy Operation Task DeleteContinuousDeploymentPolicyAsync(DeleteContinuousDeploymentPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDistribution /// /// Delete a distribution. /// /// /// The response from the DeleteDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteDistribution Operation DeleteDistributionResponse DeleteDistribution(); /// /// Delete a distribution. /// /// Container for the necessary parameters to execute the DeleteDistribution service method. /// /// The response from the DeleteDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteDistribution Operation DeleteDistributionResponse DeleteDistribution(DeleteDistributionRequest request); /// /// Delete a distribution. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteDistribution Operation Task DeleteDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Delete a distribution. /// /// Container for the necessary parameters to execute the DeleteDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteDistribution Operation Task DeleteDistributionAsync(DeleteDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFieldLevelEncryptionConfig /// /// Remove a field-level encryption configuration. /// /// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionConfig service method. /// /// The response from the DeleteFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified configuration for field-level encryption is in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteFieldLevelEncryptionConfig Operation DeleteFieldLevelEncryptionConfigResponse DeleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request); /// /// Remove a field-level encryption configuration. /// /// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified configuration for field-level encryption is in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteFieldLevelEncryptionConfig Operation Task DeleteFieldLevelEncryptionConfigAsync(DeleteFieldLevelEncryptionConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFieldLevelEncryptionProfile /// /// Remove a field-level encryption profile. /// /// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionProfile service method. /// /// The response from the DeleteFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption is in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteFieldLevelEncryptionProfile Operation DeleteFieldLevelEncryptionProfileResponse DeleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request); /// /// Remove a field-level encryption profile. /// /// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption is in use. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteFieldLevelEncryptionProfile Operation Task DeleteFieldLevelEncryptionProfileAsync(DeleteFieldLevelEncryptionProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFunction /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteFunction service method. /// /// The response from the DeleteFunction service method, as returned by CloudFront. /// /// Cannot delete the function because it's attached to one or more cache behaviors. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// This operation is not supported in this region. /// /// REST API Reference for DeleteFunction Operation DeleteFunctionResponse DeleteFunction(DeleteFunctionRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFunction service method, as returned by CloudFront. /// /// Cannot delete the function because it's attached to one or more cache behaviors. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// This operation is not supported in this region. /// /// REST API Reference for DeleteFunction Operation Task DeleteFunctionAsync(DeleteFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteKeyGroup /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteKeyGroup service method. /// /// The response from the DeleteKeyGroup service method, as returned by CloudFront. /// /// The If-Match version is missing or not valid. /// /// /// A resource that was specified is not valid. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// Cannot delete this resource because it is in use. /// /// REST API Reference for DeleteKeyGroup Operation DeleteKeyGroupResponse DeleteKeyGroup(DeleteKeyGroupRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteKeyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteKeyGroup service method, as returned by CloudFront. /// /// The If-Match version is missing or not valid. /// /// /// A resource that was specified is not valid. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// Cannot delete this resource because it is in use. /// /// REST API Reference for DeleteKeyGroup Operation Task DeleteKeyGroupAsync(DeleteKeyGroupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMonitoringSubscription /// /// Disables additional CloudWatch metrics for the specified CloudFront distribution. /// /// Container for the necessary parameters to execute the DeleteMonitoringSubscription service method. /// /// The response from the DeleteMonitoringSubscription service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// /// A monitoring subscription does not exist for the specified distribution. /// /// /// This operation is not supported in this region. /// /// REST API Reference for DeleteMonitoringSubscription Operation DeleteMonitoringSubscriptionResponse DeleteMonitoringSubscription(DeleteMonitoringSubscriptionRequest request); /// /// Disables additional CloudWatch metrics for the specified CloudFront distribution. /// /// Container for the necessary parameters to execute the DeleteMonitoringSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteMonitoringSubscription service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// /// A monitoring subscription does not exist for the specified distribution. /// /// /// This operation is not supported in this region. /// /// REST API Reference for DeleteMonitoringSubscription Operation Task DeleteMonitoringSubscriptionAsync(DeleteMonitoringSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteOriginAccessControl /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteOriginAccessControl service method. /// /// The response from the DeleteOriginAccessControl service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin access control does not exist. /// /// /// Cannot delete the origin access control because it's in use by one or more distributions. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteOriginAccessControl Operation DeleteOriginAccessControlResponse DeleteOriginAccessControl(DeleteOriginAccessControlRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteOriginAccessControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteOriginAccessControl service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin access control does not exist. /// /// /// Cannot delete the origin access control because it's in use by one or more distributions. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteOriginAccessControl Operation Task DeleteOriginAccessControlAsync(DeleteOriginAccessControlRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteOriginRequestPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteOriginRequestPolicy service method. /// /// The response from the DeleteOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// You cannot delete a managed policy. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin request policy does not exist. /// /// /// Cannot delete the origin request policy because it is attached to one or more cache /// behaviors. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteOriginRequestPolicy Operation DeleteOriginRequestPolicyResponse DeleteOriginRequestPolicy(DeleteOriginRequestPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteOriginRequestPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// You cannot delete a managed policy. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin request policy does not exist. /// /// /// Cannot delete the origin request policy because it is attached to one or more cache /// behaviors. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for DeleteOriginRequestPolicy Operation Task DeleteOriginRequestPolicyAsync(DeleteOriginRequestPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeletePublicKey /// /// Remove a public key you previously added to CloudFront. /// /// Container for the necessary parameters to execute the DeletePublicKey service method. /// /// The response from the DeletePublicKey service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified public key doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified public key is in use. /// /// REST API Reference for DeletePublicKey Operation DeletePublicKeyResponse DeletePublicKey(DeletePublicKeyRequest request); /// /// Remove a public key you previously added to CloudFront. /// /// Container for the necessary parameters to execute the DeletePublicKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePublicKey service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified public key doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified public key is in use. /// /// REST API Reference for DeletePublicKey Operation Task DeletePublicKeyAsync(DeletePublicKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteRealtimeLogConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteRealtimeLogConfig service method. /// /// The response from the DeleteRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// /// Cannot delete the real-time log configuration because it is attached to one or more /// cache behaviors. /// /// REST API Reference for DeleteRealtimeLogConfig Operation DeleteRealtimeLogConfigResponse DeleteRealtimeLogConfig(DeleteRealtimeLogConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteRealtimeLogConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// /// Cannot delete the real-time log configuration because it is attached to one or more /// cache behaviors. /// /// REST API Reference for DeleteRealtimeLogConfig Operation Task DeleteRealtimeLogConfigAsync(DeleteRealtimeLogConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteResponseHeadersPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteResponseHeadersPolicy service method. /// /// The response from the DeleteResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// You cannot delete a managed policy. /// /// /// The If-Match version is missing or not valid. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// Cannot delete the response headers policy because it is attached to one or more cache /// behaviors in a CloudFront distribution. /// /// REST API Reference for DeleteResponseHeadersPolicy Operation DeleteResponseHeadersPolicyResponse DeleteResponseHeadersPolicy(DeleteResponseHeadersPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteResponseHeadersPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// You cannot delete a managed policy. /// /// /// The If-Match version is missing or not valid. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// Cannot delete the response headers policy because it is attached to one or more cache /// behaviors in a CloudFront distribution. /// /// REST API Reference for DeleteResponseHeadersPolicy Operation Task DeleteResponseHeadersPolicyAsync(DeleteResponseHeadersPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStreamingDistribution /// /// Delete a streaming distribution. To delete an RTMP distribution using the CloudFront /// API, perform the following steps. /// /// /// /// To delete an RTMP distribution using the CloudFront API: /// ///
  1. /// /// Disable the RTMP distribution. /// ///
  2. /// /// Submit a GET Streaming Distribution Config request to get the current /// configuration and the Etag header for the distribution. /// ///
  3. /// /// Update the XML document that was returned in the response to your GET Streaming /// Distribution Config request to change the value of Enabled to /// false. /// ///
  4. /// /// Submit a PUT Streaming Distribution Config request to update the configuration /// for your distribution. In the request body, include the XML document that you updated /// in Step 3. Then set the value of the HTTP If-Match header to the value /// of the ETag header that CloudFront returned when you submitted the GET /// Streaming Distribution Config request in Step 2. /// ///
  5. /// /// Review the response to the PUT Streaming Distribution Config request /// to confirm that the distribution was successfully disabled. /// ///
  6. /// /// Submit a GET Streaming Distribution Config request to confirm that your /// changes have propagated. When propagation is complete, the value of Status /// is Deployed. /// ///
  7. /// /// Submit a DELETE Streaming Distribution request. Set the value of the /// HTTP If-Match header to the value of the ETag header that /// CloudFront returned when you submitted the GET Streaming Distribution Config /// request in Step 2. /// ///
  8. /// /// Review the response to your DELETE Streaming Distribution request to /// confirm that the distribution was successfully deleted. /// ///
/// /// For information about deleting a distribution using the CloudFront console, see Deleting /// a Distribution in the Amazon CloudFront Developer Guide. /// ///
/// /// The response from the DeleteStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified streaming distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// REST API Reference for DeleteStreamingDistribution Operation DeleteStreamingDistributionResponse DeleteStreamingDistribution(); /// /// Delete a streaming distribution. To delete an RTMP distribution using the CloudFront /// API, perform the following steps. /// /// /// /// To delete an RTMP distribution using the CloudFront API: /// ///
  1. /// /// Disable the RTMP distribution. /// ///
  2. /// /// Submit a GET Streaming Distribution Config request to get the current /// configuration and the Etag header for the distribution. /// ///
  3. /// /// Update the XML document that was returned in the response to your GET Streaming /// Distribution Config request to change the value of Enabled to /// false. /// ///
  4. /// /// Submit a PUT Streaming Distribution Config request to update the configuration /// for your distribution. In the request body, include the XML document that you updated /// in Step 3. Then set the value of the HTTP If-Match header to the value /// of the ETag header that CloudFront returned when you submitted the GET /// Streaming Distribution Config request in Step 2. /// ///
  5. /// /// Review the response to the PUT Streaming Distribution Config request /// to confirm that the distribution was successfully disabled. /// ///
  6. /// /// Submit a GET Streaming Distribution Config request to confirm that your /// changes have propagated. When propagation is complete, the value of Status /// is Deployed. /// ///
  7. /// /// Submit a DELETE Streaming Distribution request. Set the value of the /// HTTP If-Match header to the value of the ETag header that /// CloudFront returned when you submitted the GET Streaming Distribution Config /// request in Step 2. /// ///
  8. /// /// Review the response to your DELETE Streaming Distribution request to /// confirm that the distribution was successfully deleted. /// ///
/// /// For information about deleting a distribution using the CloudFront console, see Deleting /// a Distribution in the Amazon CloudFront Developer Guide. /// ///
/// Container for the necessary parameters to execute the DeleteStreamingDistribution service method. /// /// The response from the DeleteStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified streaming distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// REST API Reference for DeleteStreamingDistribution Operation DeleteStreamingDistributionResponse DeleteStreamingDistribution(DeleteStreamingDistributionRequest request); /// /// Delete a streaming distribution. To delete an RTMP distribution using the CloudFront /// API, perform the following steps. /// /// /// /// To delete an RTMP distribution using the CloudFront API: /// ///
  1. /// /// Disable the RTMP distribution. /// ///
  2. /// /// Submit a GET Streaming Distribution Config request to get the current /// configuration and the Etag header for the distribution. /// ///
  3. /// /// Update the XML document that was returned in the response to your GET Streaming /// Distribution Config request to change the value of Enabled to /// false. /// ///
  4. /// /// Submit a PUT Streaming Distribution Config request to update the configuration /// for your distribution. In the request body, include the XML document that you updated /// in Step 3. Then set the value of the HTTP If-Match header to the value /// of the ETag header that CloudFront returned when you submitted the GET /// Streaming Distribution Config request in Step 2. /// ///
  5. /// /// Review the response to the PUT Streaming Distribution Config request /// to confirm that the distribution was successfully disabled. /// ///
  6. /// /// Submit a GET Streaming Distribution Config request to confirm that your /// changes have propagated. When propagation is complete, the value of Status /// is Deployed. /// ///
  7. /// /// Submit a DELETE Streaming Distribution request. Set the value of the /// HTTP If-Match header to the value of the ETag header that /// CloudFront returned when you submitted the GET Streaming Distribution Config /// request in Step 2. /// ///
  8. /// /// Review the response to your DELETE Streaming Distribution request to /// confirm that the distribution was successfully deleted. /// ///
/// /// For information about deleting a distribution using the CloudFront console, see Deleting /// a Distribution in the Amazon CloudFront Developer Guide. /// ///
/// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified streaming distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// REST API Reference for DeleteStreamingDistribution Operation Task DeleteStreamingDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Delete a streaming distribution. To delete an RTMP distribution using the CloudFront /// API, perform the following steps. /// /// /// /// To delete an RTMP distribution using the CloudFront API: /// ///
  1. /// /// Disable the RTMP distribution. /// ///
  2. /// /// Submit a GET Streaming Distribution Config request to get the current /// configuration and the Etag header for the distribution. /// ///
  3. /// /// Update the XML document that was returned in the response to your GET Streaming /// Distribution Config request to change the value of Enabled to /// false. /// ///
  4. /// /// Submit a PUT Streaming Distribution Config request to update the configuration /// for your distribution. In the request body, include the XML document that you updated /// in Step 3. Then set the value of the HTTP If-Match header to the value /// of the ETag header that CloudFront returned when you submitted the GET /// Streaming Distribution Config request in Step 2. /// ///
  5. /// /// Review the response to the PUT Streaming Distribution Config request /// to confirm that the distribution was successfully disabled. /// ///
  6. /// /// Submit a GET Streaming Distribution Config request to confirm that your /// changes have propagated. When propagation is complete, the value of Status /// is Deployed. /// ///
  7. /// /// Submit a DELETE Streaming Distribution request. Set the value of the /// HTTP If-Match header to the value of the ETag header that /// CloudFront returned when you submitted the GET Streaming Distribution Config /// request in Step 2. /// ///
  8. /// /// Review the response to your DELETE Streaming Distribution request to /// confirm that the distribution was successfully deleted. /// ///
/// /// For information about deleting a distribution using the CloudFront console, see Deleting /// a Distribution in the Amazon CloudFront Developer Guide. /// ///
/// Container for the necessary parameters to execute the DeleteStreamingDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified streaming distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// /// REST API Reference for DeleteStreamingDistribution Operation Task DeleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeFunction /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeFunction service method. /// /// The response from the DescribeFunction service method, as returned by CloudFront. /// /// The function does not exist. /// /// /// This operation is not supported in this region. /// /// REST API Reference for DescribeFunction Operation DescribeFunctionResponse DescribeFunction(DescribeFunctionRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFunction service method, as returned by CloudFront. /// /// The function does not exist. /// /// /// This operation is not supported in this region. /// /// REST API Reference for DescribeFunction Operation Task DescribeFunctionAsync(DescribeFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetCachePolicy /// /// 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. /// ///
/// Container for the necessary parameters to execute the GetCachePolicy service method. /// /// The response from the GetCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The cache policy does not exist. /// /// REST API Reference for GetCachePolicy Operation GetCachePolicyResponse GetCachePolicy(GetCachePolicyRequest request); /// /// 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. /// ///
/// Container for the necessary parameters to execute the GetCachePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The cache policy does not exist. /// /// REST API Reference for GetCachePolicy Operation Task GetCachePolicyAsync(GetCachePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetCachePolicyConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the GetCachePolicyConfig service method. /// /// The response from the GetCachePolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The cache policy does not exist. /// /// REST API Reference for GetCachePolicyConfig Operation GetCachePolicyConfigResponse GetCachePolicyConfig(GetCachePolicyConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetCachePolicyConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCachePolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The cache policy does not exist. /// /// REST API Reference for GetCachePolicyConfig Operation Task GetCachePolicyConfigAsync(GetCachePolicyConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetCloudFrontOriginAccessIdentity /// /// Get the information about an origin access identity. /// /// /// The response from the GetCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentity Operation GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity(); /// /// Get the information about an origin access identity. /// /// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity service method. /// /// The response from the GetCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentity Operation GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest request); /// /// Get the information about an origin access identity. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentity Operation Task GetCloudFrontOriginAccessIdentityAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Get the information about an origin access identity. /// /// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentity Operation Task GetCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetCloudFrontOriginAccessIdentityConfig /// /// Get the configuration information about an origin access identity. /// /// /// The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation GetCloudFrontOriginAccessIdentityConfigResponse GetCloudFrontOriginAccessIdentityConfig(); /// /// Get the configuration information about an origin access identity. /// /// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig service method. /// /// The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation GetCloudFrontOriginAccessIdentityConfigResponse GetCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest request); /// /// Get the configuration information about an origin access identity. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation Task GetCloudFrontOriginAccessIdentityConfigAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Get the configuration information about an origin access identity. /// /// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified origin access identity does not exist. /// /// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation Task GetCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetContinuousDeploymentPolicy /// /// Gets a continuous deployment policy, including metadata (the policy's identifier and /// the date and time when the policy was last modified). /// /// Container for the necessary parameters to execute the GetContinuousDeploymentPolicy service method. /// /// The response from the GetContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The continuous deployment policy doesn't exist. /// /// REST API Reference for GetContinuousDeploymentPolicy Operation GetContinuousDeploymentPolicyResponse GetContinuousDeploymentPolicy(GetContinuousDeploymentPolicyRequest request); /// /// Gets a continuous deployment policy, including metadata (the policy's identifier and /// the date and time when the policy was last modified). /// /// Container for the necessary parameters to execute the GetContinuousDeploymentPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The continuous deployment policy doesn't exist. /// /// REST API Reference for GetContinuousDeploymentPolicy Operation Task GetContinuousDeploymentPolicyAsync(GetContinuousDeploymentPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetContinuousDeploymentPolicyConfig /// /// Gets configuration information about a continuous deployment policy. /// /// Container for the necessary parameters to execute the GetContinuousDeploymentPolicyConfig service method. /// /// The response from the GetContinuousDeploymentPolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The continuous deployment policy doesn't exist. /// /// REST API Reference for GetContinuousDeploymentPolicyConfig Operation GetContinuousDeploymentPolicyConfigResponse GetContinuousDeploymentPolicyConfig(GetContinuousDeploymentPolicyConfigRequest request); /// /// Gets configuration information about a continuous deployment policy. /// /// Container for the necessary parameters to execute the GetContinuousDeploymentPolicyConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetContinuousDeploymentPolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The continuous deployment policy doesn't exist. /// /// REST API Reference for GetContinuousDeploymentPolicyConfig Operation Task GetContinuousDeploymentPolicyConfigAsync(GetContinuousDeploymentPolicyConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDistribution /// /// Get the information about a distribution. /// /// /// The response from the GetDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistribution Operation GetDistributionResponse GetDistribution(); /// /// Get the information about a distribution. /// /// Container for the necessary parameters to execute the GetDistribution service method. /// /// The response from the GetDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistribution Operation GetDistributionResponse GetDistribution(GetDistributionRequest request); /// /// Get the information about a distribution. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistribution Operation Task GetDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Get the information about a distribution. /// /// Container for the necessary parameters to execute the GetDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistribution Operation Task GetDistributionAsync(GetDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDistributionConfig /// /// Get the configuration information about a distribution. /// /// /// The response from the GetDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistributionConfig Operation GetDistributionConfigResponse GetDistributionConfig(); /// /// Get the configuration information about a distribution. /// /// Container for the necessary parameters to execute the GetDistributionConfig service method. /// /// The response from the GetDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistributionConfig Operation GetDistributionConfigResponse GetDistributionConfig(GetDistributionConfigRequest request); /// /// Get the configuration information about a distribution. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistributionConfig Operation Task GetDistributionConfigAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Get the configuration information about a distribution. /// /// Container for the necessary parameters to execute the GetDistributionConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// REST API Reference for GetDistributionConfig Operation Task GetDistributionConfigAsync(GetDistributionConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFieldLevelEncryption /// /// Get the field-level encryption configuration information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryption service method. /// /// The response from the GetFieldLevelEncryption service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryption Operation GetFieldLevelEncryptionResponse GetFieldLevelEncryption(GetFieldLevelEncryptionRequest request); /// /// Get the field-level encryption configuration information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryption service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFieldLevelEncryption service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryption Operation Task GetFieldLevelEncryptionAsync(GetFieldLevelEncryptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFieldLevelEncryptionConfig /// /// Get the field-level encryption configuration information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryptionConfig service method. /// /// The response from the GetFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryptionConfig Operation GetFieldLevelEncryptionConfigResponse GetFieldLevelEncryptionConfig(GetFieldLevelEncryptionConfigRequest request); /// /// Get the field-level encryption configuration information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryptionConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryptionConfig Operation Task GetFieldLevelEncryptionConfigAsync(GetFieldLevelEncryptionConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFieldLevelEncryptionProfile /// /// Get the field-level encryption profile information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfile service method. /// /// The response from the GetFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryptionProfile Operation GetFieldLevelEncryptionProfileResponse GetFieldLevelEncryptionProfile(GetFieldLevelEncryptionProfileRequest request); /// /// Get the field-level encryption profile information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryptionProfile Operation Task GetFieldLevelEncryptionProfileAsync(GetFieldLevelEncryptionProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFieldLevelEncryptionProfileConfig /// /// Get the field-level encryption profile configuration information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfileConfig service method. /// /// The response from the GetFieldLevelEncryptionProfileConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryptionProfileConfig Operation GetFieldLevelEncryptionProfileConfigResponse GetFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request); /// /// Get the field-level encryption profile configuration information. /// /// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfileConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFieldLevelEncryptionProfileConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// REST API Reference for GetFieldLevelEncryptionProfileConfig Operation Task GetFieldLevelEncryptionProfileConfigAsync(GetFieldLevelEncryptionProfileConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFunction /// /// 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. /// /// /// Container for the necessary parameters to execute the GetFunction service method. /// /// The response from the GetFunction service method, as returned by CloudFront. /// /// The function does not exist. /// /// /// This operation is not supported in this region. /// /// REST API Reference for GetFunction Operation GetFunctionResponse GetFunction(GetFunctionRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFunction service method, as returned by CloudFront. /// /// The function does not exist. /// /// /// This operation is not supported in this region. /// /// REST API Reference for GetFunction Operation Task GetFunctionAsync(GetFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInvalidation /// /// Get the information about an invalidation. /// /// Container for the necessary parameters to execute the GetInvalidation service method. /// /// The response from the GetInvalidation service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// /// The specified invalidation does not exist. /// /// REST API Reference for GetInvalidation Operation GetInvalidationResponse GetInvalidation(GetInvalidationRequest request); /// /// Get the information about an invalidation. /// /// Container for the necessary parameters to execute the GetInvalidation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInvalidation service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// /// The specified invalidation does not exist. /// /// REST API Reference for GetInvalidation Operation Task GetInvalidationAsync(GetInvalidationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetKeyGroup /// /// 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. /// /// /// Container for the necessary parameters to execute the GetKeyGroup service method. /// /// The response from the GetKeyGroup service method, as returned by CloudFront. /// /// A resource that was specified is not valid. /// /// REST API Reference for GetKeyGroup Operation GetKeyGroupResponse GetKeyGroup(GetKeyGroupRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetKeyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetKeyGroup service method, as returned by CloudFront. /// /// A resource that was specified is not valid. /// /// REST API Reference for GetKeyGroup Operation Task GetKeyGroupAsync(GetKeyGroupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetKeyGroupConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the GetKeyGroupConfig service method. /// /// The response from the GetKeyGroupConfig service method, as returned by CloudFront. /// /// A resource that was specified is not valid. /// /// REST API Reference for GetKeyGroupConfig Operation GetKeyGroupConfigResponse GetKeyGroupConfig(GetKeyGroupConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetKeyGroupConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetKeyGroupConfig service method, as returned by CloudFront. /// /// A resource that was specified is not valid. /// /// REST API Reference for GetKeyGroupConfig Operation Task GetKeyGroupConfigAsync(GetKeyGroupConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMonitoringSubscription /// /// Gets information about whether additional CloudWatch metrics are enabled for the specified /// CloudFront distribution. /// /// Container for the necessary parameters to execute the GetMonitoringSubscription service method. /// /// The response from the GetMonitoringSubscription service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// /// A monitoring subscription does not exist for the specified distribution. /// /// /// This operation is not supported in this region. /// /// REST API Reference for GetMonitoringSubscription Operation GetMonitoringSubscriptionResponse GetMonitoringSubscription(GetMonitoringSubscriptionRequest request); /// /// Gets information about whether additional CloudWatch metrics are enabled for the specified /// CloudFront distribution. /// /// Container for the necessary parameters to execute the GetMonitoringSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMonitoringSubscription service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified distribution does not exist. /// /// /// A monitoring subscription does not exist for the specified distribution. /// /// /// This operation is not supported in this region. /// /// REST API Reference for GetMonitoringSubscription Operation Task GetMonitoringSubscriptionAsync(GetMonitoringSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetOriginAccessControl /// /// Gets a CloudFront origin access control, including its unique identifier. /// /// Container for the necessary parameters to execute the GetOriginAccessControl service method. /// /// The response from the GetOriginAccessControl service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin access control does not exist. /// /// REST API Reference for GetOriginAccessControl Operation GetOriginAccessControlResponse GetOriginAccessControl(GetOriginAccessControlRequest request); /// /// Gets a CloudFront origin access control, including its unique identifier. /// /// Container for the necessary parameters to execute the GetOriginAccessControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOriginAccessControl service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin access control does not exist. /// /// REST API Reference for GetOriginAccessControl Operation Task GetOriginAccessControlAsync(GetOriginAccessControlRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetOriginAccessControlConfig /// /// Gets a CloudFront origin access control configuration. /// /// Container for the necessary parameters to execute the GetOriginAccessControlConfig service method. /// /// The response from the GetOriginAccessControlConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin access control does not exist. /// /// REST API Reference for GetOriginAccessControlConfig Operation GetOriginAccessControlConfigResponse GetOriginAccessControlConfig(GetOriginAccessControlConfigRequest request); /// /// Gets a CloudFront origin access control configuration. /// /// Container for the necessary parameters to execute the GetOriginAccessControlConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOriginAccessControlConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin access control does not exist. /// /// REST API Reference for GetOriginAccessControlConfig Operation Task GetOriginAccessControlConfigAsync(GetOriginAccessControlConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetOriginRequestPolicy /// /// 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. /// ///
/// Container for the necessary parameters to execute the GetOriginRequestPolicy service method. /// /// The response from the GetOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin request policy does not exist. /// /// REST API Reference for GetOriginRequestPolicy Operation GetOriginRequestPolicyResponse GetOriginRequestPolicy(GetOriginRequestPolicyRequest request); /// /// 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. /// ///
/// Container for the necessary parameters to execute the GetOriginRequestPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin request policy does not exist. /// /// REST API Reference for GetOriginRequestPolicy Operation Task GetOriginRequestPolicyAsync(GetOriginRequestPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetOriginRequestPolicyConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the GetOriginRequestPolicyConfig service method. /// /// The response from the GetOriginRequestPolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin request policy does not exist. /// /// REST API Reference for GetOriginRequestPolicyConfig Operation GetOriginRequestPolicyConfigResponse GetOriginRequestPolicyConfig(GetOriginRequestPolicyConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetOriginRequestPolicyConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOriginRequestPolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The origin request policy does not exist. /// /// REST API Reference for GetOriginRequestPolicyConfig Operation Task GetOriginRequestPolicyConfigAsync(GetOriginRequestPolicyConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPublicKey /// /// Gets a public key. /// /// Container for the necessary parameters to execute the GetPublicKey service method. /// /// The response from the GetPublicKey service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified public key doesn't exist. /// /// REST API Reference for GetPublicKey Operation GetPublicKeyResponse GetPublicKey(GetPublicKeyRequest request); /// /// Gets a public key. /// /// Container for the necessary parameters to execute the GetPublicKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPublicKey service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified public key doesn't exist. /// /// REST API Reference for GetPublicKey Operation Task GetPublicKeyAsync(GetPublicKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPublicKeyConfig /// /// Gets a public key configuration. /// /// Container for the necessary parameters to execute the GetPublicKeyConfig service method. /// /// The response from the GetPublicKeyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified public key doesn't exist. /// /// REST API Reference for GetPublicKeyConfig Operation GetPublicKeyConfigResponse GetPublicKeyConfig(GetPublicKeyConfigRequest request); /// /// Gets a public key configuration. /// /// Container for the necessary parameters to execute the GetPublicKeyConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPublicKeyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified public key doesn't exist. /// /// REST API Reference for GetPublicKeyConfig Operation Task GetPublicKeyConfigAsync(GetPublicKeyConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetRealtimeLogConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the GetRealtimeLogConfig service method. /// /// The response from the GetRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// REST API Reference for GetRealtimeLogConfig Operation GetRealtimeLogConfigResponse GetRealtimeLogConfig(GetRealtimeLogConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetRealtimeLogConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// REST API Reference for GetRealtimeLogConfig Operation Task GetRealtimeLogConfigAsync(GetRealtimeLogConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResponseHeadersPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the GetResponseHeadersPolicy service method. /// /// The response from the GetResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The response headers policy does not exist. /// /// REST API Reference for GetResponseHeadersPolicy Operation GetResponseHeadersPolicyResponse GetResponseHeadersPolicy(GetResponseHeadersPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetResponseHeadersPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The response headers policy does not exist. /// /// REST API Reference for GetResponseHeadersPolicy Operation Task GetResponseHeadersPolicyAsync(GetResponseHeadersPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResponseHeadersPolicyConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the GetResponseHeadersPolicyConfig service method. /// /// The response from the GetResponseHeadersPolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The response headers policy does not exist. /// /// REST API Reference for GetResponseHeadersPolicyConfig Operation GetResponseHeadersPolicyConfigResponse GetResponseHeadersPolicyConfig(GetResponseHeadersPolicyConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetResponseHeadersPolicyConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResponseHeadersPolicyConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The response headers policy does not exist. /// /// REST API Reference for GetResponseHeadersPolicyConfig Operation Task GetResponseHeadersPolicyConfigAsync(GetResponseHeadersPolicyConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetStreamingDistribution /// /// Gets information about a specified RTMP distribution, including the distribution configuration. /// /// /// The response from the GetStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistribution Operation GetStreamingDistributionResponse GetStreamingDistribution(); /// /// Gets information about a specified RTMP distribution, including the distribution configuration. /// /// Container for the necessary parameters to execute the GetStreamingDistribution service method. /// /// The response from the GetStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistribution Operation GetStreamingDistributionResponse GetStreamingDistribution(GetStreamingDistributionRequest request); /// /// Gets information about a specified RTMP distribution, including the distribution configuration. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistribution Operation Task GetStreamingDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets information about a specified RTMP distribution, including the distribution configuration. /// /// Container for the necessary parameters to execute the GetStreamingDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistribution Operation Task GetStreamingDistributionAsync(GetStreamingDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetStreamingDistributionConfig /// /// Get the configuration information about a streaming distribution. /// /// /// The response from the GetStreamingDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistributionConfig Operation GetStreamingDistributionConfigResponse GetStreamingDistributionConfig(); /// /// Get the configuration information about a streaming distribution. /// /// Container for the necessary parameters to execute the GetStreamingDistributionConfig service method. /// /// The response from the GetStreamingDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistributionConfig Operation GetStreamingDistributionConfigResponse GetStreamingDistributionConfig(GetStreamingDistributionConfigRequest request); /// /// Get the configuration information about a streaming distribution. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStreamingDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistributionConfig Operation Task GetStreamingDistributionConfigAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Get the configuration information about a streaming distribution. /// /// Container for the necessary parameters to execute the GetStreamingDistributionConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStreamingDistributionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified streaming distribution does not exist. /// /// REST API Reference for GetStreamingDistributionConfig Operation Task GetStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListCachePolicies /// /// Gets a list of cache policies. /// /// /// /// You can optionally apply a filter to return only the managed policies created by Amazon /// Web Services, or only the custom policies created in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListCachePolicies service method. /// /// The response from the ListCachePolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The cache policy does not exist. /// /// REST API Reference for ListCachePolicies Operation ListCachePoliciesResponse ListCachePolicies(ListCachePoliciesRequest request); /// /// Gets a list of cache policies. /// /// /// /// You can optionally apply a filter to return only the managed policies created by Amazon /// Web Services, or only the custom policies created in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListCachePolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCachePolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The cache policy does not exist. /// /// REST API Reference for ListCachePolicies Operation Task ListCachePoliciesAsync(ListCachePoliciesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListCloudFrontOriginAccessIdentities /// /// Lists origin access identities. /// /// /// The response from the ListCloudFrontOriginAccessIdentities service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListCloudFrontOriginAccessIdentities Operation ListCloudFrontOriginAccessIdentitiesResponse ListCloudFrontOriginAccessIdentities(); /// /// Lists origin access identities. /// /// Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities service method. /// /// The response from the ListCloudFrontOriginAccessIdentities service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListCloudFrontOriginAccessIdentities Operation ListCloudFrontOriginAccessIdentitiesResponse ListCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest request); /// /// Lists origin access identities. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCloudFrontOriginAccessIdentities service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListCloudFrontOriginAccessIdentities Operation Task ListCloudFrontOriginAccessIdentitiesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists origin access identities. /// /// Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCloudFrontOriginAccessIdentities service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListCloudFrontOriginAccessIdentities Operation Task ListCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConflictingAliases /// /// Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict /// or overlap with the provided alias, and the associated CloudFront distributions and /// Amazon Web Services accounts for each conflicting alias. In the returned list, the /// distribution and account IDs are partially hidden, which allows you to identify the /// distributions and accounts that you own, but helps to protect the information of ones /// that you don't own. /// /// /// /// Use this operation to find aliases that are in use in CloudFront that conflict or /// overlap with the provided alias. For example, if you provide www.example.com /// as input, the returned list can include www.example.com and the overlapping /// wildcard alternate domain name (*.example.com), if they exist. If you /// provide *.example.com as input, the returned list can include *.example.com /// and any alternate domain names covered by that wildcard (for example, www.example.com, /// test.example.com, dev.example.com, and so on), if they exist. /// /// /// /// To list conflicting aliases, you provide the alias to search and the ID of a distribution /// in your account that has an attached SSL/TLS certificate that includes the provided /// alias. For more information, including how to set up the distribution and certificate, /// see Moving /// an alternate domain name to a different distribution in the Amazon CloudFront /// Developer Guide. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListConflictingAliases service method. /// /// The response from the ListConflictingAliases service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The specified distribution does not exist. /// /// REST API Reference for ListConflictingAliases Operation ListConflictingAliasesResponse ListConflictingAliases(ListConflictingAliasesRequest request); /// /// Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict /// or overlap with the provided alias, and the associated CloudFront distributions and /// Amazon Web Services accounts for each conflicting alias. In the returned list, the /// distribution and account IDs are partially hidden, which allows you to identify the /// distributions and accounts that you own, but helps to protect the information of ones /// that you don't own. /// /// /// /// Use this operation to find aliases that are in use in CloudFront that conflict or /// overlap with the provided alias. For example, if you provide www.example.com /// as input, the returned list can include www.example.com and the overlapping /// wildcard alternate domain name (*.example.com), if they exist. If you /// provide *.example.com as input, the returned list can include *.example.com /// and any alternate domain names covered by that wildcard (for example, www.example.com, /// test.example.com, dev.example.com, and so on), if they exist. /// /// /// /// To list conflicting aliases, you provide the alias to search and the ID of a distribution /// in your account that has an attached SSL/TLS certificate that includes the provided /// alias. For more information, including how to set up the distribution and certificate, /// see Moving /// an alternate domain name to a different distribution in the Amazon CloudFront /// Developer Guide. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListConflictingAliases service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConflictingAliases service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The specified distribution does not exist. /// /// REST API Reference for ListConflictingAliases Operation Task ListConflictingAliasesAsync(ListConflictingAliasesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListContinuousDeploymentPolicies /// /// Gets a list of the continuous deployment policies in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListContinuousDeploymentPolicies service method. /// /// The response from the ListContinuousDeploymentPolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The continuous deployment policy doesn't exist. /// /// REST API Reference for ListContinuousDeploymentPolicies Operation ListContinuousDeploymentPoliciesResponse ListContinuousDeploymentPolicies(ListContinuousDeploymentPoliciesRequest request); /// /// Gets a list of the continuous deployment policies in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListContinuousDeploymentPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListContinuousDeploymentPolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The continuous deployment policy doesn't exist. /// /// REST API Reference for ListContinuousDeploymentPolicies Operation Task ListContinuousDeploymentPoliciesAsync(ListContinuousDeploymentPoliciesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributions /// /// List CloudFront distributions. /// /// /// The response from the ListDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListDistributions Operation ListDistributionsResponse ListDistributions(); /// /// List CloudFront distributions. /// /// Container for the necessary parameters to execute the ListDistributions service method. /// /// The response from the ListDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListDistributions Operation ListDistributionsResponse ListDistributions(ListDistributionsRequest request); /// /// List CloudFront distributions. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListDistributions Operation Task ListDistributionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// List CloudFront distributions. /// /// Container for the necessary parameters to execute the ListDistributions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListDistributions Operation Task ListDistributionsAsync(ListDistributionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributionsByCachePolicyId /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByCachePolicyId service method. /// /// The response from the ListDistributionsByCachePolicyId service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The cache policy does not exist. /// /// REST API Reference for ListDistributionsByCachePolicyId Operation ListDistributionsByCachePolicyIdResponse ListDistributionsByCachePolicyId(ListDistributionsByCachePolicyIdRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByCachePolicyId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributionsByCachePolicyId service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The cache policy does not exist. /// /// REST API Reference for ListDistributionsByCachePolicyId Operation Task ListDistributionsByCachePolicyIdAsync(ListDistributionsByCachePolicyIdRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributionsByKeyGroup /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByKeyGroup service method. /// /// The response from the ListDistributionsByKeyGroup service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for ListDistributionsByKeyGroup Operation ListDistributionsByKeyGroupResponse ListDistributionsByKeyGroup(ListDistributionsByKeyGroupRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByKeyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributionsByKeyGroup service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for ListDistributionsByKeyGroup Operation Task ListDistributionsByKeyGroupAsync(ListDistributionsByKeyGroupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributionsByOriginRequestPolicyId /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByOriginRequestPolicyId service method. /// /// The response from the ListDistributionsByOriginRequestPolicyId service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The origin request policy does not exist. /// /// REST API Reference for ListDistributionsByOriginRequestPolicyId Operation ListDistributionsByOriginRequestPolicyIdResponse ListDistributionsByOriginRequestPolicyId(ListDistributionsByOriginRequestPolicyIdRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByOriginRequestPolicyId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributionsByOriginRequestPolicyId service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The origin request policy does not exist. /// /// REST API Reference for ListDistributionsByOriginRequestPolicyId Operation Task ListDistributionsByOriginRequestPolicyIdAsync(ListDistributionsByOriginRequestPolicyIdRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributionsByRealtimeLogConfig /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByRealtimeLogConfig service method. /// /// The response from the ListDistributionsByRealtimeLogConfig service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListDistributionsByRealtimeLogConfig Operation ListDistributionsByRealtimeLogConfigResponse ListDistributionsByRealtimeLogConfig(ListDistributionsByRealtimeLogConfigRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByRealtimeLogConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributionsByRealtimeLogConfig service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListDistributionsByRealtimeLogConfig Operation Task ListDistributionsByRealtimeLogConfigAsync(ListDistributionsByRealtimeLogConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributionsByResponseHeadersPolicyId /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByResponseHeadersPolicyId service method. /// /// The response from the ListDistributionsByResponseHeadersPolicyId service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The response headers policy does not exist. /// /// REST API Reference for ListDistributionsByResponseHeadersPolicyId Operation ListDistributionsByResponseHeadersPolicyIdResponse ListDistributionsByResponseHeadersPolicyId(ListDistributionsByResponseHeadersPolicyIdRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListDistributionsByResponseHeadersPolicyId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributionsByResponseHeadersPolicyId service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The response headers policy does not exist. /// /// REST API Reference for ListDistributionsByResponseHeadersPolicyId Operation Task ListDistributionsByResponseHeadersPolicyIdAsync(ListDistributionsByResponseHeadersPolicyIdRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDistributionsByWebACLId /// /// List the distributions that are associated with a specified WAF web ACL. /// /// Container for the necessary parameters to execute the ListDistributionsByWebACLId service method. /// /// The response from the ListDistributionsByWebACLId service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// REST API Reference for ListDistributionsByWebACLId Operation ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId(ListDistributionsByWebACLIdRequest request); /// /// List the distributions that are associated with a specified WAF web ACL. /// /// Container for the necessary parameters to execute the ListDistributionsByWebACLId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDistributionsByWebACLId service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// REST API Reference for ListDistributionsByWebACLId Operation Task ListDistributionsByWebACLIdAsync(ListDistributionsByWebACLIdRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFieldLevelEncryptionConfigs /// /// List all field-level encryption configurations that have been created in CloudFront /// for this account. /// /// Container for the necessary parameters to execute the ListFieldLevelEncryptionConfigs service method. /// /// The response from the ListFieldLevelEncryptionConfigs service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListFieldLevelEncryptionConfigs Operation ListFieldLevelEncryptionConfigsResponse ListFieldLevelEncryptionConfigs(ListFieldLevelEncryptionConfigsRequest request); /// /// List all field-level encryption configurations that have been created in CloudFront /// for this account. /// /// Container for the necessary parameters to execute the ListFieldLevelEncryptionConfigs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFieldLevelEncryptionConfigs service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListFieldLevelEncryptionConfigs Operation Task ListFieldLevelEncryptionConfigsAsync(ListFieldLevelEncryptionConfigsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFieldLevelEncryptionProfiles /// /// Request a list of field-level encryption profiles that have been created in CloudFront /// for this account. /// /// Container for the necessary parameters to execute the ListFieldLevelEncryptionProfiles service method. /// /// The response from the ListFieldLevelEncryptionProfiles service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListFieldLevelEncryptionProfiles Operation ListFieldLevelEncryptionProfilesResponse ListFieldLevelEncryptionProfiles(ListFieldLevelEncryptionProfilesRequest request); /// /// Request a list of field-level encryption profiles that have been created in CloudFront /// for this account. /// /// Container for the necessary parameters to execute the ListFieldLevelEncryptionProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFieldLevelEncryptionProfiles service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListFieldLevelEncryptionProfiles Operation Task ListFieldLevelEncryptionProfilesAsync(ListFieldLevelEncryptionProfilesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFunctions /// /// Gets a list of all CloudFront functions in your Amazon Web Services account. /// /// /// /// You can optionally apply a filter to return only the functions that are in the specified /// stage, either DEVELOPMENT or LIVE. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListFunctions service method. /// /// The response from the ListFunctions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// This operation is not supported in this region. /// /// REST API Reference for ListFunctions Operation ListFunctionsResponse ListFunctions(ListFunctionsRequest request); /// /// Gets a list of all CloudFront functions in your Amazon Web Services account. /// /// /// /// You can optionally apply a filter to return only the functions that are in the specified /// stage, either DEVELOPMENT or LIVE. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListFunctions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFunctions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// This operation is not supported in this region. /// /// REST API Reference for ListFunctions Operation Task ListFunctionsAsync(ListFunctionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListInvalidations /// /// Lists invalidation batches. /// /// Container for the necessary parameters to execute the ListInvalidations service method. /// /// The response from the ListInvalidations service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The specified distribution does not exist. /// /// REST API Reference for ListInvalidations Operation ListInvalidationsResponse ListInvalidations(ListInvalidationsRequest request); /// /// Lists invalidation batches. /// /// Container for the necessary parameters to execute the ListInvalidations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInvalidations service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The specified distribution does not exist. /// /// REST API Reference for ListInvalidations Operation Task ListInvalidationsAsync(ListInvalidationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListKeyGroups /// /// 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. /// /// /// Container for the necessary parameters to execute the ListKeyGroups service method. /// /// The response from the ListKeyGroups service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListKeyGroups Operation ListKeyGroupsResponse ListKeyGroups(ListKeyGroupsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListKeyGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListKeyGroups service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListKeyGroups Operation Task ListKeyGroupsAsync(ListKeyGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListOriginAccessControls /// /// Gets the list of CloudFront origin access controls in this Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// another request that specifies the NextMarker value from the current /// response as the Marker value in the next request. /// /// /// Container for the necessary parameters to execute the ListOriginAccessControls service method. /// /// The response from the ListOriginAccessControls service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListOriginAccessControls Operation ListOriginAccessControlsResponse ListOriginAccessControls(ListOriginAccessControlsRequest request); /// /// Gets the list of CloudFront origin access controls in this Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// another request that specifies the NextMarker value from the current /// response as the Marker value in the next request. /// /// /// Container for the necessary parameters to execute the ListOriginAccessControls service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOriginAccessControls service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListOriginAccessControls Operation Task ListOriginAccessControlsAsync(ListOriginAccessControlsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListOriginRequestPolicies /// /// Gets a list of origin request policies. /// /// /// /// You can optionally apply a filter to return only the managed policies created by Amazon /// Web Services, or only the custom policies created in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListOriginRequestPolicies service method. /// /// The response from the ListOriginRequestPolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The origin request policy does not exist. /// /// REST API Reference for ListOriginRequestPolicies Operation ListOriginRequestPoliciesResponse ListOriginRequestPolicies(ListOriginRequestPoliciesRequest request); /// /// Gets a list of origin request policies. /// /// /// /// You can optionally apply a filter to return only the managed policies created by Amazon /// Web Services, or only the custom policies created in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListOriginRequestPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOriginRequestPolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The origin request policy does not exist. /// /// REST API Reference for ListOriginRequestPolicies Operation Task ListOriginRequestPoliciesAsync(ListOriginRequestPoliciesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPublicKeys /// /// List all public keys that have been added to CloudFront for this account. /// /// Container for the necessary parameters to execute the ListPublicKeys service method. /// /// The response from the ListPublicKeys service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListPublicKeys Operation ListPublicKeysResponse ListPublicKeys(ListPublicKeysRequest request); /// /// List all public keys that have been added to CloudFront for this account. /// /// Container for the necessary parameters to execute the ListPublicKeys service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPublicKeys service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListPublicKeys Operation Task ListPublicKeysAsync(ListPublicKeysRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListRealtimeLogConfigs /// /// 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. /// /// /// Container for the necessary parameters to execute the ListRealtimeLogConfigs service method. /// /// The response from the ListRealtimeLogConfigs service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// REST API Reference for ListRealtimeLogConfigs Operation ListRealtimeLogConfigsResponse ListRealtimeLogConfigs(ListRealtimeLogConfigsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListRealtimeLogConfigs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRealtimeLogConfigs service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// REST API Reference for ListRealtimeLogConfigs Operation Task ListRealtimeLogConfigsAsync(ListRealtimeLogConfigsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListResponseHeadersPolicies /// /// Gets a list of response headers policies. /// /// /// /// You can optionally apply a filter to get only the managed policies created by Amazon /// Web Services, or only the custom policies created in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListResponseHeadersPolicies service method. /// /// The response from the ListResponseHeadersPolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The response headers policy does not exist. /// /// REST API Reference for ListResponseHeadersPolicies Operation ListResponseHeadersPoliciesResponse ListResponseHeadersPolicies(ListResponseHeadersPoliciesRequest request); /// /// Gets a list of response headers policies. /// /// /// /// You can optionally apply a filter to get only the managed policies created by Amazon /// Web Services, or only the custom policies created in your Amazon Web Services account. /// /// /// /// You can optionally specify the maximum number of items to receive in the response. /// If the total number of items in the list exceeds the maximum that you specify, or /// the default maximum, the response is paginated. To get the next page of items, send /// a subsequent request that specifies the NextMarker value from the current /// response as the Marker value in the subsequent request. /// /// /// Container for the necessary parameters to execute the ListResponseHeadersPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListResponseHeadersPolicies service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The response headers policy does not exist. /// /// REST API Reference for ListResponseHeadersPolicies Operation Task ListResponseHeadersPoliciesAsync(ListResponseHeadersPoliciesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStreamingDistributions /// /// List streaming distributions. /// /// /// The response from the ListStreamingDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListStreamingDistributions Operation ListStreamingDistributionsResponse ListStreamingDistributions(); /// /// List streaming distributions. /// /// Container for the necessary parameters to execute the ListStreamingDistributions service method. /// /// The response from the ListStreamingDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListStreamingDistributions Operation ListStreamingDistributionsResponse ListStreamingDistributions(ListStreamingDistributionsRequest request); /// /// List streaming distributions. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStreamingDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListStreamingDistributions Operation Task ListStreamingDistributionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// List streaming distributions. /// /// Container for the necessary parameters to execute the ListStreamingDistributions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStreamingDistributions service method, as returned by CloudFront. /// /// An argument is invalid. /// /// REST API Reference for ListStreamingDistributions Operation Task ListStreamingDistributionsAsync(ListStreamingDistributionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// List tags for a CloudFront resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The tagging specified is not valid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// List tags for a CloudFront resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The tagging specified is not valid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PublishFunction /// /// 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. /// /// /// Container for the necessary parameters to execute the PublishFunction service method. /// /// The response from the PublishFunction service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// This operation is not supported in this region. /// /// REST API Reference for PublishFunction Operation PublishFunctionResponse PublishFunction(PublishFunctionRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the PublishFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PublishFunction service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// This operation is not supported in this region. /// /// REST API Reference for PublishFunction Operation Task PublishFunctionAsync(PublishFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Add tags to a CloudFront resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The tagging specified is not valid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Add tags to a CloudFront resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The tagging specified is not valid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TestFunction /// /// Tests a CloudFront function. /// /// /// /// To test a function, you provide an event object that represents an HTTP request /// or response that your CloudFront distribution could receive in production. CloudFront /// runs the function, passing it the event object that you provided, and returns the /// function's result (the modified event object) in the response. The response also contains /// function logs and error messages, if any exist. For more information about testing /// functions, see Testing /// functions in the Amazon CloudFront Developer Guide. /// /// /// /// To test a function, you provide the function's name and version (ETag /// value) along with the event object. To get the function's name and version, you can /// use ListFunctions and DescribeFunction. /// /// /// Container for the necessary parameters to execute the TestFunction service method. /// /// The response from the TestFunction service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The CloudFront function failed. /// /// /// This operation is not supported in this region. /// /// REST API Reference for TestFunction Operation TestFunctionResponse TestFunction(TestFunctionRequest request); /// /// Tests a CloudFront function. /// /// /// /// To test a function, you provide an event object that represents an HTTP request /// or response that your CloudFront distribution could receive in production. CloudFront /// runs the function, passing it the event object that you provided, and returns the /// function's result (the modified event object) in the response. The response also contains /// function logs and error messages, if any exist. For more information about testing /// functions, see Testing /// functions in the Amazon CloudFront Developer Guide. /// /// /// /// To test a function, you provide the function's name and version (ETag /// value) along with the event object. To get the function's name and version, you can /// use ListFunctions and DescribeFunction. /// /// /// Container for the necessary parameters to execute the TestFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TestFunction service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The CloudFront function failed. /// /// /// This operation is not supported in this region. /// /// REST API Reference for TestFunction Operation Task TestFunctionAsync(TestFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Remove tags from a CloudFront resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The tagging specified is not valid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Remove tags from a CloudFront resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The tagging specified is not valid. /// /// /// A resource that was specified is not valid. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateCachePolicy /// /// Updates a cache policy configuration. /// /// /// /// When you update a cache policy configuration, all the fields are updated with the /// values provided in the request. You cannot update some fields independent of others. /// To update a cache policy configuration: /// ///
  1. /// /// Use GetCachePolicyConfig to get the current configuration. /// ///
  2. /// /// Locally modify the fields in the cache policy configuration that you want to update. /// ///
  3. /// /// Call UpdateCachePolicy by providing the entire cache policy configuration, /// including the fields that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateCachePolicy service method. /// /// The response from the UpdateCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// A cache policy with this name already exists. You must provide a unique name. To modify /// an existing cache policy, use UpdateCachePolicy. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The cache policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The number of cookies in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for UpdateCachePolicy Operation UpdateCachePolicyResponse UpdateCachePolicy(UpdateCachePolicyRequest request); /// /// Updates a cache policy configuration. /// /// /// /// When you update a cache policy configuration, all the fields are updated with the /// values provided in the request. You cannot update some fields independent of others. /// To update a cache policy configuration: /// ///
  1. /// /// Use GetCachePolicyConfig to get the current configuration. /// ///
  2. /// /// Locally modify the fields in the cache policy configuration that you want to update. /// ///
  3. /// /// Call UpdateCachePolicy by providing the entire cache policy configuration, /// including the fields that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateCachePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateCachePolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// A cache policy with this name already exists. You must provide a unique name. To modify /// an existing cache policy, use UpdateCachePolicy. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The cache policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The number of cookies in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the cache policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for UpdateCachePolicy Operation Task UpdateCachePolicyAsync(UpdateCachePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateCloudFrontOriginAccessIdentity /// /// Update an origin access identity. /// /// Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity service method. /// /// The response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The specified origin access identity does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for UpdateCloudFrontOriginAccessIdentity Operation UpdateCloudFrontOriginAccessIdentityResponse UpdateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest request); /// /// Update an origin access identity. /// /// Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The specified origin access identity does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for UpdateCloudFrontOriginAccessIdentity Operation Task UpdateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateContinuousDeploymentPolicy /// /// Updates a continuous deployment policy. You can update a continuous deployment policy /// to enable or disable it, to change the percentage of traffic that it sends to the /// staging distribution, or to change the staging distribution that it sends traffic /// to. /// /// /// /// When you update a continuous deployment policy configuration, all the fields are updated /// with the values that are provided in the request. You cannot update some fields independent /// of others. To update a continuous deployment policy configuration: /// ///
  1. /// /// Use GetContinuousDeploymentPolicyConfig to get the current configuration. /// ///
  2. /// /// Locally modify the fields in the continuous deployment policy configuration that you /// want to update. /// ///
  3. /// /// Use UpdateContinuousDeploymentPolicy, providing the entire continuous /// deployment policy configuration, including the fields that you modified and those /// that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateContinuousDeploymentPolicy service method. /// /// The response from the UpdateContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// A continuous deployment policy for this staging distribution already exists. /// /// REST API Reference for UpdateContinuousDeploymentPolicy Operation UpdateContinuousDeploymentPolicyResponse UpdateContinuousDeploymentPolicy(UpdateContinuousDeploymentPolicyRequest request); /// /// Updates a continuous deployment policy. You can update a continuous deployment policy /// to enable or disable it, to change the percentage of traffic that it sends to the /// staging distribution, or to change the staging distribution that it sends traffic /// to. /// /// /// /// When you update a continuous deployment policy configuration, all the fields are updated /// with the values that are provided in the request. You cannot update some fields independent /// of others. To update a continuous deployment policy configuration: /// ///
  1. /// /// Use GetContinuousDeploymentPolicyConfig to get the current configuration. /// ///
  2. /// /// Locally modify the fields in the continuous deployment policy configuration that you /// want to update. /// ///
  3. /// /// Use UpdateContinuousDeploymentPolicy, providing the entire continuous /// deployment policy configuration, including the fields that you modified and those /// that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateContinuousDeploymentPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContinuousDeploymentPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// A continuous deployment policy for this staging distribution already exists. /// /// REST API Reference for UpdateContinuousDeploymentPolicy Operation Task UpdateContinuousDeploymentPolicyAsync(UpdateContinuousDeploymentPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDistribution /// /// Updates the configuration for a CloudFront distribution. /// /// /// /// The update process includes getting the current distribution configuration, updating /// it to make your changes, and then submitting an UpdateDistribution request /// to make the updates. /// /// /// /// To update a web distribution using the CloudFront API /// ///
  1. /// /// Use GetDistributionConfig to get the current configuration, including /// the version identifier (ETag). /// ///
  2. /// /// Update the distribution configuration that was returned in the response. Note the /// following important requirements and restrictions: /// ///
    • /// /// You must rename the ETag field to IfMatch, leaving the value /// unchanged. (Set the value of IfMatch to the value of ETag, /// then remove the ETag field.) /// ///
    • /// /// You can't change the value of CallerReference. /// ///
  3. /// /// Submit an UpdateDistribution request, providing the distribution configuration. /// The new configuration replaces the existing configuration. The values that you specify /// in an UpdateDistribution request are not merged into your existing configuration. /// Make sure to include all fields: the ones that you modified and also the ones that /// you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateDistribution service method. /// /// The response from the UpdateDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An origin access control is associated with an origin whose domain name is not supported. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The specified distribution does not exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// A continuous deployment policy for this staging distribution already exists. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for UpdateDistribution Operation UpdateDistributionResponse UpdateDistribution(UpdateDistributionRequest request); /// /// Updates the configuration for a CloudFront distribution. /// /// /// /// The update process includes getting the current distribution configuration, updating /// it to make your changes, and then submitting an UpdateDistribution request /// to make the updates. /// /// /// /// To update a web distribution using the CloudFront API /// ///
  1. /// /// Use GetDistributionConfig to get the current configuration, including /// the version identifier (ETag). /// ///
  2. /// /// Update the distribution configuration that was returned in the response. Note the /// following important requirements and restrictions: /// ///
    • /// /// You must rename the ETag field to IfMatch, leaving the value /// unchanged. (Set the value of IfMatch to the value of ETag, /// then remove the ETag field.) /// ///
    • /// /// You can't change the value of CallerReference. /// ///
  3. /// /// Submit an UpdateDistribution request, providing the distribution configuration. /// The new configuration replaces the existing configuration. The values that you specify /// in an UpdateDistribution request are not merged into your existing configuration. /// Make sure to include all fields: the ones that you modified and also the ones that /// you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// You cannot delete a continuous deployment policy that is associated with a primary /// distribution. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An origin access control is associated with an origin whose domain name is not supported. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The continuous deployment policy doesn't exist. /// /// /// The specified distribution does not exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// A continuous deployment policy for this staging distribution already exists. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for UpdateDistribution Operation Task UpdateDistributionAsync(UpdateDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDistributionWithStagingConfig /// /// 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: /// /// /// /// Container for the necessary parameters to execute the UpdateDistributionWithStagingConfig service method. /// /// The response from the UpdateDistributionWithStagingConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The specified distribution does not exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for UpdateDistributionWithStagingConfig Operation UpdateDistributionWithStagingConfigResponse UpdateDistributionWithStagingConfig(UpdateDistributionWithStagingConfigRequest request); /// /// 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: /// /// /// /// Container for the necessary parameters to execute the UpdateDistributionWithStagingConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDistributionWithStagingConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The default root object file name is too big or contains an invalid character. /// /// /// An invalid error code was specified. /// /// /// 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. /// /// /// A CloudFront function association is invalid. /// /// /// The specified geo restriction parameter is not valid. /// /// /// The headers specified are not valid for an Amazon S3 origin. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified Lambda@Edge function association is invalid. /// /// /// The location code specified is not valid. /// /// /// The minimum protocol version specified is not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// The keep alive timeout specified for the origin is not valid. /// /// /// The read timeout specified for the origin is not valid. /// /// /// The query string parameters specified are not valid. /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// /// 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. /// /// /// A response code is not valid. /// /// /// The TTL order specified is not valid. /// /// /// A viewer certificate specified is not valid. /// /// /// A web ACL ID specified is not valid. To specify a web ACL created using the latest /// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The cache policy does not exist. /// /// /// The specified distribution does not exist. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// No origin exists with the specified Origin Id. /// /// /// The origin request policy does not exist. /// /// /// The real-time log configuration does not exist. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The specified real-time log configuration belongs to a different Amazon Web Services /// account. /// /// /// You cannot create more cache behaviors for the distribution. /// /// /// You cannot create anymore custom SSL/TLS certificates. /// /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// The maximum number of distributions have been associated with the specified cache /// policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified configuration /// for field-level encryption. /// /// /// The number of distributions that reference this key group is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified origin /// access control. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The maximum number of distributions have been associated with the specified origin /// request policy. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The maximum number of distributions have been associated with the specified response /// headers policy. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// You have reached the maximum number of distributions that are associated with a CloudFront /// function. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Processing your request would cause the maximum number of distributions with Lambda@Edge /// function associations per owner to be exceeded. /// /// /// The maximum number of distributions have been associated with the specified Lambda@Edge /// function. /// /// /// You have reached the maximum number of CloudFront function associations for this distribution. /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains too many headers in forwarded values. /// /// /// The number of key groups referenced by this distribution is more than the maximum /// allowed. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// Your request contains more Lambda@Edge function associations than are allowed per /// distribution. /// /// /// Your request contains too many origin custom headers. /// /// /// Processing your request would cause you to exceed the maximum number of origin groups /// allowed. /// /// /// You cannot create more origins for the distribution. /// /// /// Your request contains too many query string parameters. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// The specified key group does not exist. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for UpdateDistributionWithStagingConfig Operation Task UpdateDistributionWithStagingConfigAsync(UpdateDistributionWithStagingConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFieldLevelEncryptionConfig /// /// Update a field-level encryption configuration. /// /// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionConfig service method. /// /// The response from the UpdateFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// No profile specified for the field-level encryption query argument. /// /// /// The maximum number of content type profiles for field-level encryption have been created. /// /// /// The maximum number of query arg profiles for field-level encryption have been created. /// /// REST API Reference for UpdateFieldLevelEncryptionConfig Operation UpdateFieldLevelEncryptionConfigResponse UpdateFieldLevelEncryptionConfig(UpdateFieldLevelEncryptionConfigRequest request); /// /// Update a field-level encryption configuration. /// /// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFieldLevelEncryptionConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified configuration for field-level encryption doesn't exist. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// No profile specified for the field-level encryption query argument. /// /// /// The maximum number of content type profiles for field-level encryption have been created. /// /// /// The maximum number of query arg profiles for field-level encryption have been created. /// /// REST API Reference for UpdateFieldLevelEncryptionConfig Operation Task UpdateFieldLevelEncryptionConfigAsync(UpdateFieldLevelEncryptionConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFieldLevelEncryptionProfile /// /// Update a field-level encryption profile. /// /// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionProfile service method. /// /// The response from the UpdateFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption already exists. /// /// /// The maximum size of a profile for field-level encryption was exceeded. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// The specified public key doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The maximum number of encryption entities for field-level encryption have been created. /// /// /// The maximum number of field patterns for field-level encryption have been created. /// /// REST API Reference for UpdateFieldLevelEncryptionProfile Operation UpdateFieldLevelEncryptionProfileResponse UpdateFieldLevelEncryptionProfile(UpdateFieldLevelEncryptionProfileRequest request); /// /// Update a field-level encryption profile. /// /// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFieldLevelEncryptionProfile service method, as returned by CloudFront. /// /// Access denied. /// /// /// The specified profile for field-level encryption already exists. /// /// /// The maximum size of a profile for field-level encryption was exceeded. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified profile for field-level encryption doesn't exist. /// /// /// The specified public key doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The maximum number of encryption entities for field-level encryption have been created. /// /// /// The maximum number of field patterns for field-level encryption have been created. /// /// REST API Reference for UpdateFieldLevelEncryptionProfile Operation Task UpdateFieldLevelEncryptionProfileAsync(UpdateFieldLevelEncryptionProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFunction /// /// 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. /// /// /// Container for the necessary parameters to execute the UpdateFunction service method. /// /// The response from the UpdateFunction service method, as returned by CloudFront. /// /// The function is too large. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// This operation is not supported in this region. /// /// REST API Reference for UpdateFunction Operation UpdateFunctionResponse UpdateFunction(UpdateFunctionRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the UpdateFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFunction service method, as returned by CloudFront. /// /// The function is too large. For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The function does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// This operation is not supported in this region. /// /// REST API Reference for UpdateFunction Operation Task UpdateFunctionAsync(UpdateFunctionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateKeyGroup /// /// Updates a key group. /// /// /// /// When you update a key group, all the fields are updated with the values provided in /// the request. You cannot update some fields independent of others. To update a key /// group: /// ///
  1. /// /// Get the current key group with GetKeyGroup or GetKeyGroupConfig. /// ///
  2. /// /// Locally modify the fields in the key group that you want to update. For example, add /// or remove public key IDs. /// ///
  3. /// /// Call UpdateKeyGroup with the entire key group object, including the fields /// that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateKeyGroup service method. /// /// The response from the UpdateKeyGroup service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// A key group with this name already exists. You must provide a unique name. To modify /// an existing key group, use UpdateKeyGroup. /// /// /// A resource that was specified is not valid. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The number of public keys in this key group is more than the maximum allowed. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for UpdateKeyGroup Operation UpdateKeyGroupResponse UpdateKeyGroup(UpdateKeyGroupRequest request); /// /// Updates a key group. /// /// /// /// When you update a key group, all the fields are updated with the values provided in /// the request. You cannot update some fields independent of others. To update a key /// group: /// ///
  1. /// /// Get the current key group with GetKeyGroup or GetKeyGroupConfig. /// ///
  2. /// /// Locally modify the fields in the key group that you want to update. For example, add /// or remove public key IDs. /// ///
  3. /// /// Call UpdateKeyGroup with the entire key group object, including the fields /// that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateKeyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateKeyGroup service method, as returned by CloudFront. /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// A key group with this name already exists. You must provide a unique name. To modify /// an existing key group, use UpdateKeyGroup. /// /// /// A resource that was specified is not valid. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The number of public keys in this key group is more than the maximum allowed. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for UpdateKeyGroup Operation Task UpdateKeyGroupAsync(UpdateKeyGroupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateOriginAccessControl /// /// Updates a CloudFront origin access control. /// /// Container for the necessary parameters to execute the UpdateOriginAccessControl service method. /// /// The response from the UpdateOriginAccessControl service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin access control does not exist. /// /// /// An origin access control with the specified parameters already exists. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for UpdateOriginAccessControl Operation UpdateOriginAccessControlResponse UpdateOriginAccessControl(UpdateOriginAccessControlRequest request); /// /// Updates a CloudFront origin access control. /// /// Container for the necessary parameters to execute the UpdateOriginAccessControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateOriginAccessControl service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin access control does not exist. /// /// /// An origin access control with the specified parameters already exists. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for UpdateOriginAccessControl Operation Task UpdateOriginAccessControlAsync(UpdateOriginAccessControlRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateOriginRequestPolicy /// /// Updates an origin request policy configuration. /// /// /// /// When you update an origin request policy configuration, all the fields are updated /// with the values provided in the request. You cannot update some fields independent /// of others. To update an origin request policy configuration: /// ///
  1. /// /// Use GetOriginRequestPolicyConfig to get the current configuration. /// ///
  2. /// /// Locally modify the fields in the origin request policy configuration that you want /// to update. /// ///
  3. /// /// Call UpdateOriginRequestPolicy by providing the entire origin request /// policy configuration, including the fields that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateOriginRequestPolicy service method. /// /// The response from the UpdateOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin request policy does not exist. /// /// /// An origin request policy with this name already exists. You must provide a unique /// name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The number of cookies in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the origin request policy exceeds the maximum. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for UpdateOriginRequestPolicy Operation UpdateOriginRequestPolicyResponse UpdateOriginRequestPolicy(UpdateOriginRequestPolicyRequest request); /// /// Updates an origin request policy configuration. /// /// /// /// When you update an origin request policy configuration, all the fields are updated /// with the values provided in the request. You cannot update some fields independent /// of others. To update an origin request policy configuration: /// ///
  1. /// /// Use GetOriginRequestPolicyConfig to get the current configuration. /// ///
  2. /// /// Locally modify the fields in the origin request policy configuration that you want /// to update. /// ///
  3. /// /// Call UpdateOriginRequestPolicy by providing the entire origin request /// policy configuration, including the fields that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateOriginRequestPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateOriginRequestPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin request policy does not exist. /// /// /// An origin request policy with this name already exists. You must provide a unique /// name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// The number of cookies in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of headers in the origin request policy exceeds the maximum. For more information, /// see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// The number of query strings in the origin request policy exceeds the maximum. For /// more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// REST API Reference for UpdateOriginRequestPolicy Operation Task UpdateOriginRequestPolicyAsync(UpdateOriginRequestPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdatePublicKey /// /// Update public key information. Note that the only value you can change is the comment. /// /// Container for the necessary parameters to execute the UpdatePublicKey service method. /// /// The response from the UpdatePublicKey service method, as returned by CloudFront. /// /// Access denied. /// /// /// You can't change the value of a public key. /// /// /// The update contains modifications that are not allowed. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified public key doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for UpdatePublicKey Operation UpdatePublicKeyResponse UpdatePublicKey(UpdatePublicKeyRequest request); /// /// Update public key information. Note that the only value you can change is the comment. /// /// Container for the necessary parameters to execute the UpdatePublicKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePublicKey service method, as returned by CloudFront. /// /// Access denied. /// /// /// You can't change the value of a public key. /// /// /// The update contains modifications that are not allowed. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The specified public key doesn't exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// REST API Reference for UpdatePublicKey Operation Task UpdatePublicKeyAsync(UpdatePublicKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateRealtimeLogConfig /// /// Updates a real-time log configuration. /// /// /// /// When you update a real-time log configuration, all the parameters are updated with /// the values provided in the request. You cannot update some parameters independent /// of others. To update a real-time log configuration: /// ///
  1. /// /// Call GetRealtimeLogConfig to get the current real-time log configuration. /// ///
  2. /// /// Locally modify the parameters in the real-time log configuration that you want to /// update. /// ///
  3. /// /// Call this API (UpdateRealtimeLogConfig) by providing the entire real-time /// log configuration, including the parameters that you modified and those that you didn't. /// ///
/// /// You cannot update a real-time log configuration's Name or ARN. /// ///
/// Container for the necessary parameters to execute the UpdateRealtimeLogConfig service method. /// /// The response from the UpdateRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// REST API Reference for UpdateRealtimeLogConfig Operation UpdateRealtimeLogConfigResponse UpdateRealtimeLogConfig(UpdateRealtimeLogConfigRequest request); /// /// Updates a real-time log configuration. /// /// /// /// When you update a real-time log configuration, all the parameters are updated with /// the values provided in the request. You cannot update some parameters independent /// of others. To update a real-time log configuration: /// ///
  1. /// /// Call GetRealtimeLogConfig to get the current real-time log configuration. /// ///
  2. /// /// Locally modify the parameters in the real-time log configuration that you want to /// update. /// ///
  3. /// /// Call this API (UpdateRealtimeLogConfig) by providing the entire real-time /// log configuration, including the parameters that you modified and those that you didn't. /// ///
/// /// You cannot update a real-time log configuration's Name or ARN. /// ///
/// Container for the necessary parameters to execute the UpdateRealtimeLogConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRealtimeLogConfig service method, as returned by CloudFront. /// /// Access denied. /// /// /// An argument is invalid. /// /// /// The real-time log configuration does not exist. /// /// REST API Reference for UpdateRealtimeLogConfig Operation Task UpdateRealtimeLogConfigAsync(UpdateRealtimeLogConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateResponseHeadersPolicy /// /// Updates a response headers policy. /// /// /// /// When you update a response headers policy, the entire policy is replaced. You cannot /// update some policy fields independent of others. To update a response headers policy /// configuration: /// ///
  1. /// /// Use GetResponseHeadersPolicyConfig to get the current policy's configuration. /// ///
  2. /// /// Modify the fields in the response headers policy configuration that you want to update. /// ///
  3. /// /// Call UpdateResponseHeadersPolicy, providing the entire response headers /// policy configuration, including the fields that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateResponseHeadersPolicy service method. /// /// The response from the UpdateResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// A response headers policy with this name already exists. You must provide a unique /// name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. /// /// /// The length of the Content-Security-Policy header value in the response /// headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of custom headers in the response headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of headers in RemoveHeadersConfig in the response headers /// policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// REST API Reference for UpdateResponseHeadersPolicy Operation UpdateResponseHeadersPolicyResponse UpdateResponseHeadersPolicy(UpdateResponseHeadersPolicyRequest request); /// /// Updates a response headers policy. /// /// /// /// When you update a response headers policy, the entire policy is replaced. You cannot /// update some policy fields independent of others. To update a response headers policy /// configuration: /// ///
  1. /// /// Use GetResponseHeadersPolicyConfig to get the current policy's configuration. /// ///
  2. /// /// Modify the fields in the response headers policy configuration that you want to update. /// ///
  3. /// /// Call UpdateResponseHeadersPolicy, providing the entire response headers /// policy configuration, including the fields that you modified and those that you didn't. /// ///
///
/// Container for the necessary parameters to execute the UpdateResponseHeadersPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateResponseHeadersPolicy service method, as returned by CloudFront. /// /// Access denied. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The response headers policy does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// A response headers policy with this name already exists. You must provide a unique /// name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. /// /// /// The length of the Content-Security-Policy header value in the response /// headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of custom headers in the response headers policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// /// The number of headers in RemoveHeadersConfig in the response headers /// policy exceeds the maximum. /// /// /// /// For more information, see Quotas /// (formerly known as limits) in the Amazon CloudFront Developer Guide. /// /// /// REST API Reference for UpdateResponseHeadersPolicy Operation Task UpdateResponseHeadersPolicyAsync(UpdateResponseHeadersPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStreamingDistribution /// /// Update a streaming distribution. /// /// Container for the necessary parameters to execute the UpdateStreamingDistribution service method. /// /// The response from the UpdateStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The specified streaming distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for UpdateStreamingDistribution Operation UpdateStreamingDistributionResponse UpdateStreamingDistribution(UpdateStreamingDistributionRequest request); /// /// Update a streaming distribution. /// /// Container for the necessary parameters to execute the UpdateStreamingDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStreamingDistribution service method, as returned by CloudFront. /// /// Access denied. /// /// /// The CNAME specified is already defined for CloudFront. /// /// /// The update contains modifications that are not allowed. /// /// /// The value of Quantity and the size of Items don't match. /// /// /// An argument is invalid. /// /// /// The If-Match version is missing or not valid. /// /// /// The origin access control is not valid. /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// /// The specified streaming distribution does not exist. /// /// /// The precondition in one or more of the request fields evaluated to false. /// /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// /// One or more of your trusted signers don't exist. /// /// REST API Reference for UpdateStreamingDistribution Operation Task UpdateStreamingDistributionAsync(UpdateStreamingDistributionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }