/* * 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.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.CloudFront.Model; using Amazon.CloudFront.Model.Internal.MarshallTransformations; using Amazon.CloudFront.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CloudFront { /// /// Implementation 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 class AmazonCloudFrontClient : AmazonServiceClient, IAmazonCloudFront { private static IServiceMetadata serviceMetadata = new AmazonCloudFrontMetadata(); #region Constructors /// /// Constructs AmazonCloudFrontClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonCloudFrontClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudFrontConfig()) { } /// /// Constructs AmazonCloudFrontClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonCloudFrontClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudFrontConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudFrontClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonCloudFrontClient Configuration Object public AmazonCloudFrontClient(AmazonCloudFrontConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCloudFrontClient with AWS Credentials /// /// AWS Credentials public AmazonCloudFrontClient(AWSCredentials credentials) : this(credentials, new AmazonCloudFrontConfig()) { } /// /// Constructs AmazonCloudFrontClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCloudFrontClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCloudFrontConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudFrontClient with AWS Credentials and an /// AmazonCloudFrontClient Configuration object. /// /// AWS Credentials /// The AmazonCloudFrontClient Configuration Object public AmazonCloudFrontClient(AWSCredentials credentials, AmazonCloudFrontConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCloudFrontClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCloudFrontClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudFrontConfig()) { } /// /// Constructs AmazonCloudFrontClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCloudFrontClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudFrontConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCloudFrontClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudFrontClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCloudFrontClient Configuration Object public AmazonCloudFrontClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudFrontConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCloudFrontClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCloudFrontClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudFrontConfig()) { } /// /// Constructs AmazonCloudFrontClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCloudFrontClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudFrontConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudFrontClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudFrontClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCloudFrontClient Configuration Object public AmazonCloudFrontClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudFrontConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private ICloudFrontPaginatorFactory _paginators; /// /// Paginators for the service /// public ICloudFrontPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CloudFrontPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCloudFrontEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AssociateAlias internal virtual AssociateAliasResponse AssociateAlias(AssociateAliasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAliasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task AssociateAliasAsync(AssociateAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAliasResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CopyDistribution internal virtual CopyDistributionResponse CopyDistribution(CopyDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CopyDistributionAsync(CopyDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopyDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCachePolicy internal virtual CreateCachePolicyResponse CreateCachePolicy(CreateCachePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCachePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateCachePolicyAsync(CreateCachePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCachePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCloudFrontOriginAccessIdentity internal virtual CreateCloudFrontOriginAccessIdentityResponse CreateCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateContinuousDeploymentPolicy internal virtual CreateContinuousDeploymentPolicyResponse CreateContinuousDeploymentPolicy(CreateContinuousDeploymentPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContinuousDeploymentPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateContinuousDeploymentPolicyAsync(CreateContinuousDeploymentPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContinuousDeploymentPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDistribution internal virtual CreateDistributionResponse CreateDistribution(CreateDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateDistributionAsync(CreateDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDistributionWithTags internal virtual CreateDistributionWithTagsResponse CreateDistributionWithTags(CreateDistributionWithTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDistributionWithTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDistributionWithTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateDistributionWithTagsAsync(CreateDistributionWithTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDistributionWithTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDistributionWithTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFieldLevelEncryptionConfig internal virtual CreateFieldLevelEncryptionConfigResponse CreateFieldLevelEncryptionConfig(CreateFieldLevelEncryptionConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateFieldLevelEncryptionConfigAsync(CreateFieldLevelEncryptionConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFieldLevelEncryptionProfile internal virtual CreateFieldLevelEncryptionProfileResponse CreateFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateFieldLevelEncryptionProfileAsync(CreateFieldLevelEncryptionProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFunction internal virtual CreateFunctionResponse CreateFunction(CreateFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateFunctionAsync(CreateFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInvalidation internal virtual CreateInvalidationResponse CreateInvalidation(CreateInvalidationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateInvalidationAsync(CreateInvalidationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateKeyGroup internal virtual CreateKeyGroupResponse CreateKeyGroup(CreateKeyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKeyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateKeyGroupAsync(CreateKeyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKeyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateMonitoringSubscription internal virtual CreateMonitoringSubscriptionResponse CreateMonitoringSubscription(CreateMonitoringSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMonitoringSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMonitoringSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateMonitoringSubscriptionAsync(CreateMonitoringSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMonitoringSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMonitoringSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateOriginAccessControl internal virtual CreateOriginAccessControlResponse CreateOriginAccessControl(CreateOriginAccessControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOriginAccessControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateOriginAccessControlAsync(CreateOriginAccessControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOriginAccessControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateOriginRequestPolicy internal virtual CreateOriginRequestPolicyResponse CreateOriginRequestPolicy(CreateOriginRequestPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOriginRequestPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateOriginRequestPolicyAsync(CreateOriginRequestPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOriginRequestPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreatePublicKey internal virtual CreatePublicKeyResponse CreatePublicKey(CreatePublicKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePublicKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreatePublicKeyAsync(CreatePublicKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePublicKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRealtimeLogConfig internal virtual CreateRealtimeLogConfigResponse CreateRealtimeLogConfig(CreateRealtimeLogConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRealtimeLogConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateRealtimeLogConfigAsync(CreateRealtimeLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRealtimeLogConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateResponseHeadersPolicy internal virtual CreateResponseHeadersPolicyResponse CreateResponseHeadersPolicy(CreateResponseHeadersPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResponseHeadersPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateResponseHeadersPolicyAsync(CreateResponseHeadersPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResponseHeadersPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStreamingDistribution internal virtual CreateStreamingDistributionResponse CreateStreamingDistribution(CreateStreamingDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateStreamingDistributionAsync(CreateStreamingDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStreamingDistributionWithTags internal virtual CreateStreamingDistributionWithTagsResponse CreateStreamingDistributionWithTags(CreateStreamingDistributionWithTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingDistributionWithTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingDistributionWithTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateStreamingDistributionWithTagsAsync(CreateStreamingDistributionWithTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingDistributionWithTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingDistributionWithTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCachePolicy internal virtual DeleteCachePolicyResponse DeleteCachePolicy(DeleteCachePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCachePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteCachePolicyAsync(DeleteCachePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCachePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCloudFrontOriginAccessIdentity internal virtual DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity() { return DeleteCloudFrontOriginAccessIdentity(new DeleteCloudFrontOriginAccessIdentityRequest()); } internal virtual DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteCloudFrontOriginAccessIdentityAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DeleteCloudFrontOriginAccessIdentityAsync(new DeleteCloudFrontOriginAccessIdentityRequest(), 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 public virtual Task DeleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteContinuousDeploymentPolicy internal virtual DeleteContinuousDeploymentPolicyResponse DeleteContinuousDeploymentPolicy(DeleteContinuousDeploymentPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContinuousDeploymentPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteContinuousDeploymentPolicyAsync(DeleteContinuousDeploymentPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContinuousDeploymentPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDistribution internal virtual DeleteDistributionResponse DeleteDistribution() { return DeleteDistribution(new DeleteDistributionRequest()); } internal virtual DeleteDistributionResponse DeleteDistribution(DeleteDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DeleteDistributionAsync(new DeleteDistributionRequest(), 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 public virtual Task DeleteDistributionAsync(DeleteDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFieldLevelEncryptionConfig internal virtual DeleteFieldLevelEncryptionConfigResponse DeleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteFieldLevelEncryptionConfigAsync(DeleteFieldLevelEncryptionConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFieldLevelEncryptionProfile internal virtual DeleteFieldLevelEncryptionProfileResponse DeleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteFieldLevelEncryptionProfileAsync(DeleteFieldLevelEncryptionProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFunction internal virtual DeleteFunctionResponse DeleteFunction(DeleteFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteFunctionAsync(DeleteFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteKeyGroup internal virtual DeleteKeyGroupResponse DeleteKeyGroup(DeleteKeyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteKeyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteKeyGroupAsync(DeleteKeyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteKeyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteMonitoringSubscription internal virtual DeleteMonitoringSubscriptionResponse DeleteMonitoringSubscription(DeleteMonitoringSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMonitoringSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMonitoringSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteMonitoringSubscriptionAsync(DeleteMonitoringSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMonitoringSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMonitoringSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteOriginAccessControl internal virtual DeleteOriginAccessControlResponse DeleteOriginAccessControl(DeleteOriginAccessControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOriginAccessControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteOriginAccessControlAsync(DeleteOriginAccessControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOriginAccessControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteOriginRequestPolicy internal virtual DeleteOriginRequestPolicyResponse DeleteOriginRequestPolicy(DeleteOriginRequestPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOriginRequestPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteOriginRequestPolicyAsync(DeleteOriginRequestPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOriginRequestPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePublicKey internal virtual DeletePublicKeyResponse DeletePublicKey(DeletePublicKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePublicKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeletePublicKeyAsync(DeletePublicKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePublicKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRealtimeLogConfig internal virtual DeleteRealtimeLogConfigResponse DeleteRealtimeLogConfig(DeleteRealtimeLogConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRealtimeLogConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteRealtimeLogConfigAsync(DeleteRealtimeLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRealtimeLogConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteResponseHeadersPolicy internal virtual DeleteResponseHeadersPolicyResponse DeleteResponseHeadersPolicy(DeleteResponseHeadersPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResponseHeadersPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteResponseHeadersPolicyAsync(DeleteResponseHeadersPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResponseHeadersPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteStreamingDistribution internal virtual DeleteStreamingDistributionResponse DeleteStreamingDistribution() { return DeleteStreamingDistribution(new DeleteStreamingDistributionRequest()); } internal virtual DeleteStreamingDistributionResponse DeleteStreamingDistribution(DeleteStreamingDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStreamingDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteStreamingDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DeleteStreamingDistributionAsync(new DeleteStreamingDistributionRequest(), 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 public virtual Task DeleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStreamingDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFunction internal virtual DescribeFunctionResponse DescribeFunction(DescribeFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeFunctionAsync(DescribeFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCachePolicy internal virtual GetCachePolicyResponse GetCachePolicy(GetCachePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCachePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetCachePolicyAsync(GetCachePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCachePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCachePolicyConfig internal virtual GetCachePolicyConfigResponse GetCachePolicyConfig(GetCachePolicyConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCachePolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCachePolicyConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetCachePolicyConfigAsync(GetCachePolicyConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCachePolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCachePolicyConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCloudFrontOriginAccessIdentity internal virtual GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity() { return GetCloudFrontOriginAccessIdentity(new GetCloudFrontOriginAccessIdentityRequest()); } internal virtual GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetCloudFrontOriginAccessIdentityAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetCloudFrontOriginAccessIdentityAsync(new GetCloudFrontOriginAccessIdentityRequest(), 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 public virtual Task GetCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCloudFrontOriginAccessIdentityConfig internal virtual GetCloudFrontOriginAccessIdentityConfigResponse GetCloudFrontOriginAccessIdentityConfig() { return GetCloudFrontOriginAccessIdentityConfig(new GetCloudFrontOriginAccessIdentityConfigRequest()); } internal virtual GetCloudFrontOriginAccessIdentityConfigResponse GetCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCloudFrontOriginAccessIdentityConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetCloudFrontOriginAccessIdentityConfigAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetCloudFrontOriginAccessIdentityConfigAsync(new GetCloudFrontOriginAccessIdentityConfigRequest(), 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 public virtual Task GetCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCloudFrontOriginAccessIdentityConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetContinuousDeploymentPolicy internal virtual GetContinuousDeploymentPolicyResponse GetContinuousDeploymentPolicy(GetContinuousDeploymentPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContinuousDeploymentPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetContinuousDeploymentPolicyAsync(GetContinuousDeploymentPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContinuousDeploymentPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetContinuousDeploymentPolicyConfig internal virtual GetContinuousDeploymentPolicyConfigResponse GetContinuousDeploymentPolicyConfig(GetContinuousDeploymentPolicyConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContinuousDeploymentPolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContinuousDeploymentPolicyConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetContinuousDeploymentPolicyConfigAsync(GetContinuousDeploymentPolicyConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContinuousDeploymentPolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContinuousDeploymentPolicyConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDistribution internal virtual GetDistributionResponse GetDistribution() { return GetDistribution(new GetDistributionRequest()); } internal virtual GetDistributionResponse GetDistribution(GetDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetDistributionAsync(new GetDistributionRequest(), 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 public virtual Task GetDistributionAsync(GetDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDistributionConfig internal virtual GetDistributionConfigResponse GetDistributionConfig() { return GetDistributionConfig(new GetDistributionConfigRequest()); } internal virtual GetDistributionConfigResponse GetDistributionConfig(GetDistributionConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetDistributionConfigAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetDistributionConfigAsync(new GetDistributionConfigRequest(), 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 public virtual Task GetDistributionConfigAsync(GetDistributionConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFieldLevelEncryption internal virtual GetFieldLevelEncryptionResponse GetFieldLevelEncryption(GetFieldLevelEncryptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetFieldLevelEncryptionAsync(GetFieldLevelEncryptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFieldLevelEncryptionConfig internal virtual GetFieldLevelEncryptionConfigResponse GetFieldLevelEncryptionConfig(GetFieldLevelEncryptionConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetFieldLevelEncryptionConfigAsync(GetFieldLevelEncryptionConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFieldLevelEncryptionProfile internal virtual GetFieldLevelEncryptionProfileResponse GetFieldLevelEncryptionProfile(GetFieldLevelEncryptionProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetFieldLevelEncryptionProfileAsync(GetFieldLevelEncryptionProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFieldLevelEncryptionProfileConfig internal virtual GetFieldLevelEncryptionProfileConfigResponse GetFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionProfileConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetFieldLevelEncryptionProfileConfigAsync(GetFieldLevelEncryptionProfileConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFieldLevelEncryptionProfileConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFunction internal virtual GetFunctionResponse GetFunction(GetFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetFunctionAsync(GetFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInvalidation internal virtual GetInvalidationResponse GetInvalidation(GetInvalidationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvalidationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvalidationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetInvalidationAsync(GetInvalidationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvalidationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvalidationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetKeyGroup internal virtual GetKeyGroupResponse GetKeyGroup(GetKeyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKeyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetKeyGroupAsync(GetKeyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKeyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetKeyGroupConfig internal virtual GetKeyGroupConfigResponse GetKeyGroupConfig(GetKeyGroupConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetKeyGroupConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKeyGroupConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetKeyGroupConfigAsync(GetKeyGroupConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetKeyGroupConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKeyGroupConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMonitoringSubscription internal virtual GetMonitoringSubscriptionResponse GetMonitoringSubscription(GetMonitoringSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMonitoringSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMonitoringSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetMonitoringSubscriptionAsync(GetMonitoringSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMonitoringSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMonitoringSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOriginAccessControl internal virtual GetOriginAccessControlResponse GetOriginAccessControl(GetOriginAccessControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginAccessControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetOriginAccessControlAsync(GetOriginAccessControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginAccessControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOriginAccessControlConfig internal virtual GetOriginAccessControlConfigResponse GetOriginAccessControlConfig(GetOriginAccessControlConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginAccessControlConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginAccessControlConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetOriginAccessControlConfigAsync(GetOriginAccessControlConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginAccessControlConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginAccessControlConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOriginRequestPolicy internal virtual GetOriginRequestPolicyResponse GetOriginRequestPolicy(GetOriginRequestPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginRequestPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetOriginRequestPolicyAsync(GetOriginRequestPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginRequestPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOriginRequestPolicyConfig internal virtual GetOriginRequestPolicyConfigResponse GetOriginRequestPolicyConfig(GetOriginRequestPolicyConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginRequestPolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginRequestPolicyConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetOriginRequestPolicyConfigAsync(GetOriginRequestPolicyConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOriginRequestPolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOriginRequestPolicyConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPublicKey internal virtual GetPublicKeyResponse GetPublicKey(GetPublicKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPublicKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetPublicKeyAsync(GetPublicKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPublicKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPublicKeyConfig internal virtual GetPublicKeyConfigResponse GetPublicKeyConfig(GetPublicKeyConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPublicKeyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPublicKeyConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetPublicKeyConfigAsync(GetPublicKeyConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPublicKeyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPublicKeyConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRealtimeLogConfig internal virtual GetRealtimeLogConfigResponse GetRealtimeLogConfig(GetRealtimeLogConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRealtimeLogConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetRealtimeLogConfigAsync(GetRealtimeLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRealtimeLogConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResponseHeadersPolicy internal virtual GetResponseHeadersPolicyResponse GetResponseHeadersPolicy(GetResponseHeadersPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResponseHeadersPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetResponseHeadersPolicyAsync(GetResponseHeadersPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResponseHeadersPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResponseHeadersPolicyConfig internal virtual GetResponseHeadersPolicyConfigResponse GetResponseHeadersPolicyConfig(GetResponseHeadersPolicyConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResponseHeadersPolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResponseHeadersPolicyConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetResponseHeadersPolicyConfigAsync(GetResponseHeadersPolicyConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResponseHeadersPolicyConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResponseHeadersPolicyConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetStreamingDistribution internal virtual GetStreamingDistributionResponse GetStreamingDistribution() { return GetStreamingDistribution(new GetStreamingDistributionRequest()); } internal virtual GetStreamingDistributionResponse GetStreamingDistribution(GetStreamingDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStreamingDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetStreamingDistributionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetStreamingDistributionAsync(new GetStreamingDistributionRequest(), 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 public virtual Task GetStreamingDistributionAsync(GetStreamingDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStreamingDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetStreamingDistributionConfig internal virtual GetStreamingDistributionConfigResponse GetStreamingDistributionConfig() { return GetStreamingDistributionConfig(new GetStreamingDistributionConfigRequest()); } internal virtual GetStreamingDistributionConfigResponse GetStreamingDistributionConfig(GetStreamingDistributionConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStreamingDistributionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStreamingDistributionConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetStreamingDistributionConfigAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetStreamingDistributionConfigAsync(new GetStreamingDistributionConfigRequest(), 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 public virtual Task GetStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetStreamingDistributionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStreamingDistributionConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCachePolicies internal virtual ListCachePoliciesResponse ListCachePolicies(ListCachePoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCachePoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCachePoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListCachePoliciesAsync(ListCachePoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCachePoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCachePoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCloudFrontOriginAccessIdentities internal virtual ListCloudFrontOriginAccessIdentitiesResponse ListCloudFrontOriginAccessIdentities() { return ListCloudFrontOriginAccessIdentities(new ListCloudFrontOriginAccessIdentitiesRequest()); } internal virtual ListCloudFrontOriginAccessIdentitiesResponse ListCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCloudFrontOriginAccessIdentitiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCloudFrontOriginAccessIdentitiesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListCloudFrontOriginAccessIdentitiesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListCloudFrontOriginAccessIdentitiesAsync(new ListCloudFrontOriginAccessIdentitiesRequest(), 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 public virtual Task ListCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCloudFrontOriginAccessIdentitiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCloudFrontOriginAccessIdentitiesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListConflictingAliases internal virtual ListConflictingAliasesResponse ListConflictingAliases(ListConflictingAliasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConflictingAliasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConflictingAliasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListConflictingAliasesAsync(ListConflictingAliasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListConflictingAliasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConflictingAliasesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContinuousDeploymentPolicies internal virtual ListContinuousDeploymentPoliciesResponse ListContinuousDeploymentPolicies(ListContinuousDeploymentPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContinuousDeploymentPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContinuousDeploymentPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListContinuousDeploymentPoliciesAsync(ListContinuousDeploymentPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContinuousDeploymentPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContinuousDeploymentPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributions internal virtual ListDistributionsResponse ListDistributions() { return ListDistributions(new ListDistributionsRequest()); } internal virtual ListDistributionsResponse ListDistributions(ListDistributionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListDistributionsAsync(new ListDistributionsRequest(), 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 public virtual Task ListDistributionsAsync(ListDistributionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributionsByCachePolicyId internal virtual ListDistributionsByCachePolicyIdResponse ListDistributionsByCachePolicyId(ListDistributionsByCachePolicyIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByCachePolicyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByCachePolicyIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsByCachePolicyIdAsync(ListDistributionsByCachePolicyIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByCachePolicyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByCachePolicyIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributionsByKeyGroup internal virtual ListDistributionsByKeyGroupResponse ListDistributionsByKeyGroup(ListDistributionsByKeyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByKeyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsByKeyGroupAsync(ListDistributionsByKeyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByKeyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributionsByOriginRequestPolicyId internal virtual ListDistributionsByOriginRequestPolicyIdResponse ListDistributionsByOriginRequestPolicyId(ListDistributionsByOriginRequestPolicyIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByOriginRequestPolicyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByOriginRequestPolicyIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsByOriginRequestPolicyIdAsync(ListDistributionsByOriginRequestPolicyIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByOriginRequestPolicyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByOriginRequestPolicyIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributionsByRealtimeLogConfig internal virtual ListDistributionsByRealtimeLogConfigResponse ListDistributionsByRealtimeLogConfig(ListDistributionsByRealtimeLogConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByRealtimeLogConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsByRealtimeLogConfigAsync(ListDistributionsByRealtimeLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByRealtimeLogConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributionsByResponseHeadersPolicyId internal virtual ListDistributionsByResponseHeadersPolicyIdResponse ListDistributionsByResponseHeadersPolicyId(ListDistributionsByResponseHeadersPolicyIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByResponseHeadersPolicyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByResponseHeadersPolicyIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsByResponseHeadersPolicyIdAsync(ListDistributionsByResponseHeadersPolicyIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByResponseHeadersPolicyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByResponseHeadersPolicyIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDistributionsByWebACLId internal virtual ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId(ListDistributionsByWebACLIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByWebACLIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByWebACLIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDistributionsByWebACLIdAsync(ListDistributionsByWebACLIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDistributionsByWebACLIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDistributionsByWebACLIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListFieldLevelEncryptionConfigs internal virtual ListFieldLevelEncryptionConfigsResponse ListFieldLevelEncryptionConfigs(ListFieldLevelEncryptionConfigsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldLevelEncryptionConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldLevelEncryptionConfigsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListFieldLevelEncryptionConfigsAsync(ListFieldLevelEncryptionConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldLevelEncryptionConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldLevelEncryptionConfigsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListFieldLevelEncryptionProfiles internal virtual ListFieldLevelEncryptionProfilesResponse ListFieldLevelEncryptionProfiles(ListFieldLevelEncryptionProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldLevelEncryptionProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldLevelEncryptionProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListFieldLevelEncryptionProfilesAsync(ListFieldLevelEncryptionProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldLevelEncryptionProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldLevelEncryptionProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListFunctions internal virtual ListFunctionsResponse ListFunctions(ListFunctionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListFunctionsAsync(ListFunctionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListInvalidations internal virtual ListInvalidationsResponse ListInvalidations(ListInvalidationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvalidationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvalidationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListInvalidationsAsync(ListInvalidationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvalidationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvalidationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListKeyGroups internal virtual ListKeyGroupsResponse ListKeyGroups(ListKeyGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListKeyGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListKeyGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListKeyGroupsAsync(ListKeyGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListKeyGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListKeyGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListOriginAccessControls internal virtual ListOriginAccessControlsResponse ListOriginAccessControls(ListOriginAccessControlsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOriginAccessControlsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOriginAccessControlsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListOriginAccessControlsAsync(ListOriginAccessControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListOriginAccessControlsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOriginAccessControlsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListOriginRequestPolicies internal virtual ListOriginRequestPoliciesResponse ListOriginRequestPolicies(ListOriginRequestPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOriginRequestPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOriginRequestPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListOriginRequestPoliciesAsync(ListOriginRequestPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListOriginRequestPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOriginRequestPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPublicKeys internal virtual ListPublicKeysResponse ListPublicKeys(ListPublicKeysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPublicKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPublicKeysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPublicKeysAsync(ListPublicKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPublicKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPublicKeysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRealtimeLogConfigs internal virtual ListRealtimeLogConfigsResponse ListRealtimeLogConfigs(ListRealtimeLogConfigsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRealtimeLogConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRealtimeLogConfigsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListRealtimeLogConfigsAsync(ListRealtimeLogConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRealtimeLogConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRealtimeLogConfigsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListResponseHeadersPolicies internal virtual ListResponseHeadersPoliciesResponse ListResponseHeadersPolicies(ListResponseHeadersPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResponseHeadersPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResponseHeadersPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListResponseHeadersPoliciesAsync(ListResponseHeadersPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListResponseHeadersPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResponseHeadersPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStreamingDistributions internal virtual ListStreamingDistributionsResponse ListStreamingDistributions() { return ListStreamingDistributions(new ListStreamingDistributionsRequest()); } internal virtual ListStreamingDistributionsResponse ListStreamingDistributions(ListStreamingDistributionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStreamingDistributionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStreamingDistributionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListStreamingDistributionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListStreamingDistributionsAsync(new ListStreamingDistributionsRequest(), 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 public virtual Task ListStreamingDistributionsAsync(ListStreamingDistributionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStreamingDistributionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStreamingDistributionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PublishFunction internal virtual PublishFunctionResponse PublishFunction(PublishFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PublishFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task PublishFunctionAsync(PublishFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PublishFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TestFunction internal virtual TestFunctionResponse TestFunction(TestFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = TestFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task TestFunctionAsync(TestFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = TestFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateCachePolicy internal virtual UpdateCachePolicyResponse UpdateCachePolicy(UpdateCachePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCachePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateCachePolicyAsync(UpdateCachePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCachePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCachePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateCloudFrontOriginAccessIdentity internal virtual UpdateCloudFrontOriginAccessIdentityResponse UpdateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCloudFrontOriginAccessIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContinuousDeploymentPolicy internal virtual UpdateContinuousDeploymentPolicyResponse UpdateContinuousDeploymentPolicy(UpdateContinuousDeploymentPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContinuousDeploymentPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateContinuousDeploymentPolicyAsync(UpdateContinuousDeploymentPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContinuousDeploymentPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContinuousDeploymentPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDistribution internal virtual UpdateDistributionResponse UpdateDistribution(UpdateDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateDistributionAsync(UpdateDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDistributionWithStagingConfig internal virtual UpdateDistributionWithStagingConfigResponse UpdateDistributionWithStagingConfig(UpdateDistributionWithStagingConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDistributionWithStagingConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDistributionWithStagingConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateDistributionWithStagingConfigAsync(UpdateDistributionWithStagingConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDistributionWithStagingConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDistributionWithStagingConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateFieldLevelEncryptionConfig internal virtual UpdateFieldLevelEncryptionConfigResponse UpdateFieldLevelEncryptionConfig(UpdateFieldLevelEncryptionConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateFieldLevelEncryptionConfigAsync(UpdateFieldLevelEncryptionConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFieldLevelEncryptionConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFieldLevelEncryptionConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateFieldLevelEncryptionProfile internal virtual UpdateFieldLevelEncryptionProfileResponse UpdateFieldLevelEncryptionProfile(UpdateFieldLevelEncryptionProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateFieldLevelEncryptionProfileAsync(UpdateFieldLevelEncryptionProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFieldLevelEncryptionProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFieldLevelEncryptionProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateFunction internal virtual UpdateFunctionResponse UpdateFunction(UpdateFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateFunctionAsync(UpdateFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateKeyGroup internal virtual UpdateKeyGroupResponse UpdateKeyGroup(UpdateKeyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateKeyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateKeyGroupAsync(UpdateKeyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateKeyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateKeyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateOriginAccessControl internal virtual UpdateOriginAccessControlResponse UpdateOriginAccessControl(UpdateOriginAccessControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOriginAccessControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateOriginAccessControlAsync(UpdateOriginAccessControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOriginAccessControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOriginAccessControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateOriginRequestPolicy internal virtual UpdateOriginRequestPolicyResponse UpdateOriginRequestPolicy(UpdateOriginRequestPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOriginRequestPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateOriginRequestPolicyAsync(UpdateOriginRequestPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOriginRequestPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOriginRequestPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdatePublicKey internal virtual UpdatePublicKeyResponse UpdatePublicKey(UpdatePublicKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePublicKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdatePublicKeyAsync(UpdatePublicKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePublicKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePublicKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRealtimeLogConfig internal virtual UpdateRealtimeLogConfigResponse UpdateRealtimeLogConfig(UpdateRealtimeLogConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRealtimeLogConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateRealtimeLogConfigAsync(UpdateRealtimeLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRealtimeLogConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRealtimeLogConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateResponseHeadersPolicy internal virtual UpdateResponseHeadersPolicyResponse UpdateResponseHeadersPolicy(UpdateResponseHeadersPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResponseHeadersPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateResponseHeadersPolicyAsync(UpdateResponseHeadersPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResponseHeadersPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResponseHeadersPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateStreamingDistribution internal virtual UpdateStreamingDistributionResponse UpdateStreamingDistribution(UpdateStreamingDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStreamingDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateStreamingDistributionAsync(UpdateStreamingDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStreamingDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStreamingDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }