/*
* 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.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();
#if BCL45 || 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 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
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
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
///
/// Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
/// distribution.
///
///
///
/// With this operation you can move an alias that's already in use on a CloudFront distribution
/// to a different distribution in one step. This prevents the downtime that could occur
/// if you first remove the alias from one distribution and then separately add the alias
/// to another distribution.
///
///
///
/// To use this operation to associate an alias with a distribution, you provide the alias
/// and the ID of the target distribution for the alias. For more information, including
/// how to set up the target distribution, prerequisites that you must complete, and other
/// restrictions, see Moving
/// an alternate domain name to a different distribution in the Amazon CloudFront
/// Developer Guide.
///
///
/// Container for the necessary parameters to execute the AssociateAlias service method.
///
/// The response from the AssociateAlias service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The update contains modifications that are not allowed.
///
///
/// An argument is invalid.
///
///
/// The specified distribution does not exist.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
/// REST API Reference for AssociateAlias Operation
public virtual AssociateAliasResponse AssociateAlias(AssociateAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateAlias operation.
///
///
/// Container for the necessary parameters to execute the AssociateAlias operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateAlias
/// operation.
/// REST API Reference for AssociateAlias Operation
public virtual IAsyncResult BeginAssociateAlias(AssociateAliasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAliasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateAlias operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateAlias.
///
/// Returns a AssociateAliasResult from CloudFront.
/// REST API Reference for AssociateAlias Operation
public virtual AssociateAliasResponse EndAssociateAlias(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CopyDistribution
///
/// Creates a staging distribution using the configuration of the provided primary distribution.
/// A staging distribution is a copy of an existing distribution (called the primary distribution)
/// that you can use in a continuous deployment workflow.
///
///
///
/// After you create a staging distribution, you can use UpdateDistribution
/// to modify the staging distribution's configuration. Then you can use CreateContinuousDeploymentPolicy
/// to incrementally move traffic to the staging distribution.
///
///
///
/// This API operation requires the following IAM permissions:
///
///
///
/// Container for the necessary parameters to execute the CopyDistribution service method.
///
/// The response from the CopyDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// The caller reference you attempted to create the distribution with is associated with
/// another distribution.
///
///
/// The specified configuration for field-level encryption can't be associated with the
/// specified cache behavior.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The default root object file name is too big or contains an invalid character.
///
///
/// An invalid error code was specified.
///
///
/// Your request contains forward cookies option which doesn't match with the expectation
/// for the whitelisted
list of cookie names. Either list of cookie names
/// has been specified when not allowed or list of cookie names is missing when expected.
///
///
/// A CloudFront function association is invalid.
///
///
/// The specified geo restriction parameter is not valid.
///
///
/// The headers specified are not valid for an Amazon S3 origin.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified Lambda@Edge function association is invalid.
///
///
/// The location code specified is not valid.
///
///
/// The minimum protocol version specified is not valid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
///
///
/// The keep alive timeout specified for the origin is not valid.
///
///
/// The read timeout specified for the origin is not valid.
///
///
/// You cannot specify SSLv3 as the minimum protocol version if you only want to support
/// only clients that support Server Name Indication (SNI).
///
///
/// The query string parameters specified are not valid.
///
///
/// The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
///
///
/// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
/// in your request, or omit the RequiredProtocols
element from your distribution
/// configuration.
///
///
/// A response code is not valid.
///
///
/// The TTL order specified is not valid.
///
///
/// A viewer certificate specified is not valid.
///
///
/// A web ACL ID specified is not valid. To specify a web ACL created using the latest
/// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
/// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The cache policy does not exist.
///
///
/// The specified distribution does not exist.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// No origin exists with the specified Origin Id
.
///
///
/// The origin request policy does not exist.
///
///
/// The real-time log configuration does not exist.
///
///
/// The response headers policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The specified real-time log configuration belongs to a different Amazon Web Services
/// account.
///
///
/// You cannot create more cache behaviors for the distribution.
///
///
/// You cannot create anymore custom SSL/TLS certificates.
///
///
/// Your request contains more cookie names in the whitelist than are allowed per cache
/// behavior.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// The maximum number of distributions have been associated with the specified cache
/// policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified configuration
/// for field-level encryption.
///
///
/// The number of distributions that reference this key group is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified origin
/// access control.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The maximum number of distributions have been associated with the specified origin
/// request policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified response
/// headers policy.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// Processing your request would cause you to exceed the maximum number of distributions
/// allowed.
///
///
/// You have reached the maximum number of distributions that are associated with a CloudFront
/// function. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Processing your request would cause the maximum number of distributions with Lambda@Edge
/// function associations per owner to be exceeded.
///
///
/// The maximum number of distributions have been associated with the specified Lambda@Edge
/// function.
///
///
/// You have reached the maximum number of CloudFront function associations for this distribution.
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains too many headers in forwarded values.
///
///
/// The number of key groups referenced by this distribution is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains more Lambda@Edge function associations than are allowed per
/// distribution.
///
///
/// Your request contains too many origin custom headers.
///
///
/// Processing your request would cause you to exceed the maximum number of origin groups
/// allowed.
///
///
/// You cannot create more origins for the distribution.
///
///
/// Your request contains too many query string parameters.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// The specified key group does not exist.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for CopyDistribution Operation
public virtual CopyDistributionResponse CopyDistribution(CopyDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CopyDistribution operation.
///
///
/// Container for the necessary parameters to execute the CopyDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCopyDistribution
/// operation.
/// REST API Reference for CopyDistribution Operation
public virtual IAsyncResult BeginCopyDistribution(CopyDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CopyDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginCopyDistribution.
///
/// Returns a CopyDistributionResult from CloudFront.
/// REST API Reference for CopyDistribution Operation
public virtual CopyDistributionResponse EndCopyDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateCachePolicy
///
/// Creates a cache policy.
///
///
///
/// After you create a cache policy, you can attach it to one or more cache behaviors.
/// When it's attached to a cache behavior, the cache policy determines the following:
///
/// -
///
/// The values that CloudFront includes in the cache key. These values can include
/// HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find
/// an object in its cache that it can return to the viewer.
///
///
-
///
/// The default, minimum, and maximum time to live (TTL) values that you want objects
/// to stay in the CloudFront cache.
///
///
///
/// The headers, cookies, and query strings that are included in the cache key are also
/// included in requests that CloudFront sends to the origin. CloudFront sends a request
/// when it can't find an object in its cache that matches the request's cache key. If
/// you want to send values to the origin but not include them in the cache key,
/// use OriginRequestPolicy
.
///
///
///
/// For more information about cache policies, see Controlling
/// the cache key in the Amazon CloudFront Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateCachePolicy service method.
///
/// The response from the CreateCachePolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// A cache policy with this name already exists. You must provide a unique name. To modify
/// an existing cache policy, use UpdateCachePolicy
.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// You have reached the maximum number of cache policies for this Amazon Web Services
/// account. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of cookies in the cache policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of headers in the cache policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of query strings in the cache policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for CreateCachePolicy Operation
public virtual CreateCachePolicyResponse CreateCachePolicy(CreateCachePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCachePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCachePolicy operation.
///
///
/// Container for the necessary parameters to execute the CreateCachePolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCachePolicy
/// operation.
/// REST API Reference for CreateCachePolicy Operation
public virtual IAsyncResult BeginCreateCachePolicy(CreateCachePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCachePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCachePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCachePolicy.
///
/// Returns a CreateCachePolicyResult from CloudFront.
/// REST API Reference for CreateCachePolicy Operation
public virtual CreateCachePolicyResponse EndCreateCachePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateCloudFrontOriginAccessIdentity
///
/// Creates a new origin access identity. If you're using Amazon S3 for your origin, you
/// can use an origin access identity to require users to access your content using a
/// CloudFront URL instead of the Amazon S3 URL. For more information about how to use
/// origin access identities, see Serving
/// Private Content through CloudFront in the Amazon CloudFront Developer Guide.
///
/// Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity service method.
///
/// The response from the CreateCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
///
/// If the CallerReference
is a value you already sent in a previous request
/// to create an identity but the content of the CloudFrontOriginAccessIdentityConfig
/// is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
/// error.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// Processing your request would cause you to exceed the maximum number of origin access
/// identities allowed.
///
/// REST API Reference for CreateCloudFrontOriginAccessIdentity Operation
public virtual CreateCloudFrontOriginAccessIdentityResponse CreateCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCloudFrontOriginAccessIdentity operation.
///
///
/// Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCloudFrontOriginAccessIdentity
/// operation.
/// REST API Reference for CreateCloudFrontOriginAccessIdentity Operation
public virtual IAsyncResult BeginCreateCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCloudFrontOriginAccessIdentity operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCloudFrontOriginAccessIdentity.
///
/// Returns a CreateCloudFrontOriginAccessIdentityResult from CloudFront.
/// REST API Reference for CreateCloudFrontOriginAccessIdentity Operation
public virtual CreateCloudFrontOriginAccessIdentityResponse EndCreateCloudFrontOriginAccessIdentity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateContinuousDeploymentPolicy
///
/// Creates a continuous deployment policy that distributes traffic for a custom domain
/// name to two different CloudFront distributions.
///
///
///
/// To use a continuous deployment policy, first use CopyDistribution
to
/// create a staging distribution, then use UpdateDistribution
to modify
/// the staging distribution's configuration.
///
///
///
/// After you create and update a staging distribution, you can use a continuous deployment
/// policy to incrementally move traffic to the staging distribution. This workflow enables
/// you to test changes to a distribution's configuration before moving all of your domain's
/// production traffic to the new configuration.
///
///
/// Container for the necessary parameters to execute the CreateContinuousDeploymentPolicy service method.
///
/// The response from the CreateContinuousDeploymentPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// A continuous deployment policy with this configuration already exists.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// A continuous deployment policy for this staging distribution already exists.
///
///
/// You have reached the maximum number of continuous deployment policies for this Amazon
/// Web Services account.
///
/// REST API Reference for CreateContinuousDeploymentPolicy Operation
public virtual CreateContinuousDeploymentPolicyResponse CreateContinuousDeploymentPolicy(CreateContinuousDeploymentPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateContinuousDeploymentPolicy operation.
///
///
/// Container for the necessary parameters to execute the CreateContinuousDeploymentPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateContinuousDeploymentPolicy
/// operation.
/// REST API Reference for CreateContinuousDeploymentPolicy Operation
public virtual IAsyncResult BeginCreateContinuousDeploymentPolicy(CreateContinuousDeploymentPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateContinuousDeploymentPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateContinuousDeploymentPolicy.
///
/// Returns a CreateContinuousDeploymentPolicyResult from CloudFront.
/// REST API Reference for CreateContinuousDeploymentPolicy Operation
public virtual CreateContinuousDeploymentPolicyResponse EndCreateContinuousDeploymentPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateDistribution
///
/// Creates a CloudFront distribution.
///
/// Container for the necessary parameters to execute the CreateDistribution service method.
///
/// The response from the CreateDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// You cannot delete a continuous deployment policy that is associated with a primary
/// distribution.
///
///
/// The caller reference you attempted to create the distribution with is associated with
/// another distribution.
///
///
/// The specified configuration for field-level encryption can't be associated with the
/// specified cache behavior.
///
///
/// An origin cannot contain both an origin access control (OAC) and an origin access
/// identity (OAI).
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The default root object file name is too big or contains an invalid character.
///
///
/// An origin access control is associated with an origin whose domain name is not supported.
///
///
/// An invalid error code was specified.
///
///
/// Your request contains forward cookies option which doesn't match with the expectation
/// for the whitelisted
list of cookie names. Either list of cookie names
/// has been specified when not allowed or list of cookie names is missing when expected.
///
///
/// A CloudFront function association is invalid.
///
///
/// The specified geo restriction parameter is not valid.
///
///
/// The headers specified are not valid for an Amazon S3 origin.
///
///
/// The specified Lambda@Edge function association is invalid.
///
///
/// The location code specified is not valid.
///
///
/// The minimum protocol version specified is not valid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
///
///
/// The keep alive timeout specified for the origin is not valid.
///
///
/// The read timeout specified for the origin is not valid.
///
///
/// You cannot specify SSLv3 as the minimum protocol version if you only want to support
/// only clients that support Server Name Indication (SNI).
///
///
/// The query string parameters specified are not valid.
///
///
/// The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
///
///
/// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
/// in your request, or omit the RequiredProtocols
element from your distribution
/// configuration.
///
///
/// A response code is not valid.
///
///
/// The TTL order specified is not valid.
///
///
/// A viewer certificate specified is not valid.
///
///
/// A web ACL ID specified is not valid. To specify a web ACL created using the latest
/// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
/// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The cache policy does not exist.
///
///
/// The continuous deployment policy doesn't exist.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// No origin exists with the specified Origin Id
.
///
///
/// The origin request policy does not exist.
///
///
/// The real-time log configuration does not exist.
///
///
/// The response headers policy does not exist.
///
///
/// The specified real-time log configuration belongs to a different Amazon Web Services
/// account.
///
///
/// You cannot create more cache behaviors for the distribution.
///
///
/// You cannot create anymore custom SSL/TLS certificates.
///
///
/// Your request contains more cookie names in the whitelist than are allowed per cache
/// behavior.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// The maximum number of distributions have been associated with the specified cache
/// policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified configuration
/// for field-level encryption.
///
///
/// The number of distributions that reference this key group is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified origin
/// access control.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The maximum number of distributions have been associated with the specified origin
/// request policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified response
/// headers policy.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// Processing your request would cause you to exceed the maximum number of distributions
/// allowed.
///
///
/// You have reached the maximum number of distributions that are associated with a CloudFront
/// function. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Processing your request would cause the maximum number of distributions with Lambda@Edge
/// function associations per owner to be exceeded.
///
///
/// The maximum number of distributions have been associated with the specified Lambda@Edge
/// function.
///
///
/// You have reached the maximum number of CloudFront function associations for this distribution.
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains too many headers in forwarded values.
///
///
/// The number of key groups referenced by this distribution is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains more Lambda@Edge function associations than are allowed per
/// distribution.
///
///
/// Your request contains too many origin custom headers.
///
///
/// Processing your request would cause you to exceed the maximum number of origin groups
/// allowed.
///
///
/// You cannot create more origins for the distribution.
///
///
/// Your request contains too many query string parameters.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// The specified key group does not exist.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for CreateDistribution Operation
public virtual CreateDistributionResponse CreateDistribution(CreateDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDistribution operation.
///
///
/// Container for the necessary parameters to execute the CreateDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDistribution
/// operation.
/// REST API Reference for CreateDistribution Operation
public virtual IAsyncResult BeginCreateDistribution(CreateDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDistribution.
///
/// Returns a CreateDistributionResult from CloudFront.
/// REST API Reference for CreateDistribution Operation
public virtual CreateDistributionResponse EndCreateDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateDistributionWithTags
///
/// Create a new distribution with tags. This API operation requires the following IAM
/// permissions:
///
///
///
/// Container for the necessary parameters to execute the CreateDistributionWithTags service method.
///
/// The response from the CreateDistributionWithTags service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// You cannot delete a continuous deployment policy that is associated with a primary
/// distribution.
///
///
/// The caller reference you attempted to create the distribution with is associated with
/// another distribution.
///
///
/// The specified configuration for field-level encryption can't be associated with the
/// specified cache behavior.
///
///
/// An origin cannot contain both an origin access control (OAC) and an origin access
/// identity (OAI).
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The default root object file name is too big or contains an invalid character.
///
///
/// An origin access control is associated with an origin whose domain name is not supported.
///
///
/// An invalid error code was specified.
///
///
/// Your request contains forward cookies option which doesn't match with the expectation
/// for the whitelisted
list of cookie names. Either list of cookie names
/// has been specified when not allowed or list of cookie names is missing when expected.
///
///
/// A CloudFront function association is invalid.
///
///
/// The specified geo restriction parameter is not valid.
///
///
/// The headers specified are not valid for an Amazon S3 origin.
///
///
/// The specified Lambda@Edge function association is invalid.
///
///
/// The location code specified is not valid.
///
///
/// The minimum protocol version specified is not valid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
///
///
/// The keep alive timeout specified for the origin is not valid.
///
///
/// The read timeout specified for the origin is not valid.
///
///
/// You cannot specify SSLv3 as the minimum protocol version if you only want to support
/// only clients that support Server Name Indication (SNI).
///
///
/// The query string parameters specified are not valid.
///
///
/// The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
///
///
/// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
/// in your request, or omit the RequiredProtocols
element from your distribution
/// configuration.
///
///
/// A response code is not valid.
///
///
/// The tagging specified is not valid.
///
///
/// The TTL order specified is not valid.
///
///
/// A viewer certificate specified is not valid.
///
///
/// A web ACL ID specified is not valid. To specify a web ACL created using the latest
/// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
/// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The cache policy does not exist.
///
///
/// The continuous deployment policy doesn't exist.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// No origin exists with the specified Origin Id
.
///
///
/// The origin request policy does not exist.
///
///
/// The real-time log configuration does not exist.
///
///
/// The response headers policy does not exist.
///
///
/// The specified real-time log configuration belongs to a different Amazon Web Services
/// account.
///
///
/// You cannot create more cache behaviors for the distribution.
///
///
/// You cannot create anymore custom SSL/TLS certificates.
///
///
/// Your request contains more cookie names in the whitelist than are allowed per cache
/// behavior.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// The maximum number of distributions have been associated with the specified cache
/// policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified configuration
/// for field-level encryption.
///
///
/// The number of distributions that reference this key group is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified origin
/// access control.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The maximum number of distributions have been associated with the specified origin
/// request policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified response
/// headers policy.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// Processing your request would cause you to exceed the maximum number of distributions
/// allowed.
///
///
/// You have reached the maximum number of distributions that are associated with a CloudFront
/// function. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Processing your request would cause the maximum number of distributions with Lambda@Edge
/// function associations per owner to be exceeded.
///
///
/// The maximum number of distributions have been associated with the specified Lambda@Edge
/// function.
///
///
/// You have reached the maximum number of CloudFront function associations for this distribution.
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains too many headers in forwarded values.
///
///
/// The number of key groups referenced by this distribution is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains more Lambda@Edge function associations than are allowed per
/// distribution.
///
///
/// Your request contains too many origin custom headers.
///
///
/// Processing your request would cause you to exceed the maximum number of origin groups
/// allowed.
///
///
/// You cannot create more origins for the distribution.
///
///
/// Your request contains too many query string parameters.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// The specified key group does not exist.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for CreateDistributionWithTags Operation
public virtual CreateDistributionWithTagsResponse CreateDistributionWithTags(CreateDistributionWithTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDistributionWithTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDistributionWithTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDistributionWithTags operation.
///
///
/// Container for the necessary parameters to execute the CreateDistributionWithTags operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDistributionWithTags
/// operation.
/// REST API Reference for CreateDistributionWithTags Operation
public virtual IAsyncResult BeginCreateDistributionWithTags(CreateDistributionWithTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDistributionWithTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDistributionWithTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDistributionWithTags operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDistributionWithTags.
///
/// Returns a CreateDistributionWithTagsResult from CloudFront.
/// REST API Reference for CreateDistributionWithTags Operation
public virtual CreateDistributionWithTagsResponse EndCreateDistributionWithTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateFieldLevelEncryptionConfig
///
/// Create a new field-level encryption configuration.
///
/// Container for the necessary parameters to execute the CreateFieldLevelEncryptionConfig service method.
///
/// The response from the CreateFieldLevelEncryptionConfig service method, as returned by CloudFront.
///
/// The specified configuration for field-level encryption already exists.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The specified profile for field-level encryption doesn't exist.
///
///
/// No profile specified for the field-level encryption query argument.
///
///
/// The maximum number of configurations for field-level encryption have been created.
///
///
/// The maximum number of content type profiles for field-level encryption have been created.
///
///
/// The maximum number of query arg profiles for field-level encryption have been created.
///
/// REST API Reference for CreateFieldLevelEncryptionConfig Operation
public virtual CreateFieldLevelEncryptionConfigResponse CreateFieldLevelEncryptionConfig(CreateFieldLevelEncryptionConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFieldLevelEncryptionConfig operation.
///
///
/// Container for the necessary parameters to execute the CreateFieldLevelEncryptionConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFieldLevelEncryptionConfig
/// operation.
/// REST API Reference for CreateFieldLevelEncryptionConfig Operation
public virtual IAsyncResult BeginCreateFieldLevelEncryptionConfig(CreateFieldLevelEncryptionConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFieldLevelEncryptionConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFieldLevelEncryptionConfig.
///
/// Returns a CreateFieldLevelEncryptionConfigResult from CloudFront.
/// REST API Reference for CreateFieldLevelEncryptionConfig Operation
public virtual CreateFieldLevelEncryptionConfigResponse EndCreateFieldLevelEncryptionConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateFieldLevelEncryptionProfile
///
/// Create a field-level encryption profile.
///
/// Container for the necessary parameters to execute the CreateFieldLevelEncryptionProfile service method.
///
/// The response from the CreateFieldLevelEncryptionProfile service method, as returned by CloudFront.
///
/// The specified profile for field-level encryption already exists.
///
///
/// The maximum size of a profile for field-level encryption was exceeded.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The specified public key doesn't exist.
///
///
/// The maximum number of encryption entities for field-level encryption have been created.
///
///
/// The maximum number of field patterns for field-level encryption have been created.
///
///
/// The maximum number of profiles for field-level encryption have been created.
///
/// REST API Reference for CreateFieldLevelEncryptionProfile Operation
public virtual CreateFieldLevelEncryptionProfileResponse CreateFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFieldLevelEncryptionProfile operation.
///
///
/// Container for the necessary parameters to execute the CreateFieldLevelEncryptionProfile operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFieldLevelEncryptionProfile
/// operation.
/// REST API Reference for CreateFieldLevelEncryptionProfile Operation
public virtual IAsyncResult BeginCreateFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFieldLevelEncryptionProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFieldLevelEncryptionProfile.
///
/// Returns a CreateFieldLevelEncryptionProfileResult from CloudFront.
/// REST API Reference for CreateFieldLevelEncryptionProfile Operation
public virtual CreateFieldLevelEncryptionProfileResponse EndCreateFieldLevelEncryptionProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateFunction
///
/// Creates a CloudFront function.
///
///
///
/// To create a function, you provide the function code and some configuration information
/// about the function. The response contains an Amazon Resource Name (ARN) that uniquely
/// identifies the function.
///
///
///
/// When you create a function, it's in the DEVELOPMENT
stage. In this stage,
/// you can test the function with TestFunction
, and update it with UpdateFunction
.
///
///
///
/// When you're ready to use your function with a CloudFront distribution, use PublishFunction
/// to copy the function from the DEVELOPMENT
stage to LIVE
.
/// When it's live, you can attach the function to a distribution's cache behavior, using
/// the function's ARN.
///
///
/// Container for the necessary parameters to execute the CreateFunction service method.
///
/// The response from the CreateFunction service method, as returned by CloudFront.
///
/// A function with the same name already exists in this Amazon Web Services account.
/// To create a function, you must provide a unique name. To update an existing function,
/// use UpdateFunction
.
///
///
/// The function is too large. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// An argument is invalid.
///
///
/// You have reached the maximum number of CloudFront functions for this Amazon Web Services
/// account. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for CreateFunction Operation
public virtual CreateFunctionResponse CreateFunction(CreateFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFunction operation.
///
///
/// Container for the necessary parameters to execute the CreateFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFunction
/// operation.
/// REST API Reference for CreateFunction Operation
public virtual IAsyncResult BeginCreateFunction(CreateFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFunction.
///
/// Returns a CreateFunctionResult from CloudFront.
/// REST API Reference for CreateFunction Operation
public virtual CreateFunctionResponse EndCreateFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateInvalidation
///
/// Create a new invalidation.
///
/// Container for the necessary parameters to execute the CreateInvalidation service method.
///
/// The response from the CreateInvalidation service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// Invalidation batch specified is too large.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The specified distribution does not exist.
///
///
/// You have exceeded the maximum number of allowable InProgress invalidation batch requests,
/// or invalidation objects.
///
/// REST API Reference for CreateInvalidation Operation
public virtual CreateInvalidationResponse CreateInvalidation(CreateInvalidationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateInvalidation operation.
///
///
/// Container for the necessary parameters to execute the CreateInvalidation operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateInvalidation
/// operation.
/// REST API Reference for CreateInvalidation Operation
public virtual IAsyncResult BeginCreateInvalidation(CreateInvalidationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateInvalidation operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateInvalidation.
///
/// Returns a CreateInvalidationResult from CloudFront.
/// REST API Reference for CreateInvalidation Operation
public virtual CreateInvalidationResponse EndCreateInvalidation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateKeyGroup
///
/// Creates a key group that you can use with CloudFront
/// signed URLs and signed cookies.
///
///
///
/// To create a key group, you must specify at least one public key for the key group.
/// After you create a key group, you can reference it from one or more cache behaviors.
/// When you reference a key group in a cache behavior, CloudFront requires signed URLs
/// or signed cookies for all requests that match the cache behavior. The URLs or cookies
/// must be signed with a private key whose corresponding public key is in the key group.
/// The signed URL or cookie contains information about which public key CloudFront should
/// use to verify the signature. For more information, see Serving
/// private content in the Amazon CloudFront Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateKeyGroup service method.
///
/// The response from the CreateKeyGroup service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// A key group with this name already exists. You must provide a unique name. To modify
/// an existing key group, use UpdateKeyGroup
.
///
///
/// You have reached the maximum number of key groups for this Amazon Web Services account.
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of public keys in this key group is more than the maximum allowed. For
/// more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for CreateKeyGroup Operation
public virtual CreateKeyGroupResponse CreateKeyGroup(CreateKeyGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateKeyGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateKeyGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateKeyGroup operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateKeyGroup
/// operation.
/// REST API Reference for CreateKeyGroup Operation
public virtual IAsyncResult BeginCreateKeyGroup(CreateKeyGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateKeyGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateKeyGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateKeyGroup.
///
/// Returns a CreateKeyGroupResult from CloudFront.
/// REST API Reference for CreateKeyGroup Operation
public virtual CreateKeyGroupResponse EndCreateKeyGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateMonitoringSubscription
///
/// Enables additional CloudWatch metrics for the specified CloudFront distribution. The
/// additional metrics incur an additional cost.
///
///
///
/// For more information, see Viewing
/// additional CloudFront distribution metrics in the Amazon CloudFront Developer
/// Guide.
///
///
/// Container for the necessary parameters to execute the CreateMonitoringSubscription service method.
///
/// The response from the CreateMonitoringSubscription service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// A monitoring subscription already exists for the specified distribution.
///
///
/// The specified distribution does not exist.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for CreateMonitoringSubscription Operation
public virtual CreateMonitoringSubscriptionResponse CreateMonitoringSubscription(CreateMonitoringSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMonitoringSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMonitoringSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateMonitoringSubscription operation.
///
///
/// Container for the necessary parameters to execute the CreateMonitoringSubscription operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMonitoringSubscription
/// operation.
/// REST API Reference for CreateMonitoringSubscription Operation
public virtual IAsyncResult BeginCreateMonitoringSubscription(CreateMonitoringSubscriptionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMonitoringSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMonitoringSubscriptionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateMonitoringSubscription operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateMonitoringSubscription.
///
/// Returns a CreateMonitoringSubscriptionResult from CloudFront.
/// REST API Reference for CreateMonitoringSubscription Operation
public virtual CreateMonitoringSubscriptionResponse EndCreateMonitoringSubscription(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateOriginAccessControl
///
/// Creates a new origin access control in CloudFront. After you create an origin access
/// control, you can add it to an origin in a CloudFront distribution so that CloudFront
/// sends authenticated (signed) requests to the origin.
///
///
///
/// This makes it possible to block public access to the origin, allowing viewers (users)
/// to access the origin's content only through CloudFront.
///
///
///
/// For more information about using a CloudFront origin access control, see Restricting
/// access to an Amazon Web Services origin in the Amazon CloudFront Developer
/// Guide.
///
///
/// Container for the necessary parameters to execute the CreateOriginAccessControl service method.
///
/// The response from the CreateOriginAccessControl service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// An origin access control with the specified parameters already exists.
///
///
/// The number of origin access controls in your Amazon Web Services account exceeds the
/// maximum allowed.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// REST API Reference for CreateOriginAccessControl Operation
public virtual CreateOriginAccessControlResponse CreateOriginAccessControl(CreateOriginAccessControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOriginAccessControlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateOriginAccessControl operation.
///
///
/// Container for the necessary parameters to execute the CreateOriginAccessControl operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOriginAccessControl
/// operation.
/// REST API Reference for CreateOriginAccessControl Operation
public virtual IAsyncResult BeginCreateOriginAccessControl(CreateOriginAccessControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOriginAccessControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateOriginAccessControl operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateOriginAccessControl.
///
/// Returns a CreateOriginAccessControlResult from CloudFront.
/// REST API Reference for CreateOriginAccessControl Operation
public virtual CreateOriginAccessControlResponse EndCreateOriginAccessControl(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateOriginRequestPolicy
///
/// Creates an origin request policy.
///
///
///
/// After you create an origin request policy, you can attach it to one or more cache
/// behaviors. When it's attached to a cache behavior, the origin request policy determines
/// the values that CloudFront includes in requests that it sends to the origin. Each
/// request that CloudFront sends to the origin includes the following:
///
/// -
///
/// The request body and the URL path (without the domain name) from the viewer request.
///
///
-
///
/// The headers that CloudFront automatically includes in every origin request, including
///
Host
, User-Agent
, and X-Amz-Cf-Id
.
///
/// -
///
/// All HTTP headers, cookies, and URL query strings that are specified in the cache policy
/// or the origin request policy. These can include items from the viewer request and,
/// in the case of headers, additional ones that are added by CloudFront.
///
///
///
/// CloudFront sends a request when it can't find a valid object in its cache that matches
/// the request. If you want to send values to the origin and also include them in the
/// cache key, use CachePolicy
.
///
///
///
/// For more information about origin request policies, see Controlling
/// origin requests in the Amazon CloudFront Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateOriginRequestPolicy service method.
///
/// The response from the CreateOriginRequestPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// An origin request policy with this name already exists. You must provide a unique
/// name. To modify an existing origin request policy, use UpdateOriginRequestPolicy
.
///
///
/// The number of cookies in the origin request policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of headers in the origin request policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// You have reached the maximum number of origin request policies for this Amazon Web
/// Services account. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of query strings in the origin request policy exceeds the maximum. For
/// more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for CreateOriginRequestPolicy Operation
public virtual CreateOriginRequestPolicyResponse CreateOriginRequestPolicy(CreateOriginRequestPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOriginRequestPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateOriginRequestPolicy operation.
///
///
/// Container for the necessary parameters to execute the CreateOriginRequestPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOriginRequestPolicy
/// operation.
/// REST API Reference for CreateOriginRequestPolicy Operation
public virtual IAsyncResult BeginCreateOriginRequestPolicy(CreateOriginRequestPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOriginRequestPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateOriginRequestPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateOriginRequestPolicy.
///
/// Returns a CreateOriginRequestPolicyResult from CloudFront.
/// REST API Reference for CreateOriginRequestPolicy Operation
public virtual CreateOriginRequestPolicyResponse EndCreateOriginRequestPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePublicKey
///
/// Uploads a public key to CloudFront that you can use with signed
/// URLs and signed cookies, or with field-level
/// encryption.
///
/// Container for the necessary parameters to execute the CreatePublicKey service method.
///
/// The response from the CreatePublicKey service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// The specified public key already exists.
///
///
/// The maximum number of public keys for field-level encryption have been created. To
/// create a new public key, delete one of the existing keys.
///
/// REST API Reference for CreatePublicKey Operation
public virtual CreatePublicKeyResponse CreatePublicKey(CreatePublicKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePublicKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePublicKey operation.
///
///
/// Container for the necessary parameters to execute the CreatePublicKey operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePublicKey
/// operation.
/// REST API Reference for CreatePublicKey Operation
public virtual IAsyncResult BeginCreatePublicKey(CreatePublicKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePublicKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePublicKey operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePublicKey.
///
/// Returns a CreatePublicKeyResult from CloudFront.
/// REST API Reference for CreatePublicKey Operation
public virtual CreatePublicKeyResponse EndCreatePublicKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateRealtimeLogConfig
///
/// Creates a real-time log configuration.
///
///
///
/// After you create a real-time log configuration, you can attach it to one or more cache
/// behaviors to send real-time log data to the specified Amazon Kinesis data stream.
///
///
///
/// For more information about real-time log configurations, see Real-time
/// logs in the Amazon CloudFront Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateRealtimeLogConfig service method.
///
/// The response from the CreateRealtimeLogConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// A real-time log configuration with this name already exists. You must provide a unique
/// name. To modify an existing real-time log configuration, use UpdateRealtimeLogConfig
.
///
///
/// You have reached the maximum number of real-time log configurations for this Amazon
/// Web Services account. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for CreateRealtimeLogConfig Operation
public virtual CreateRealtimeLogConfigResponse CreateRealtimeLogConfig(CreateRealtimeLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRealtimeLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateRealtimeLogConfig operation.
///
///
/// Container for the necessary parameters to execute the CreateRealtimeLogConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRealtimeLogConfig
/// operation.
/// REST API Reference for CreateRealtimeLogConfig Operation
public virtual IAsyncResult BeginCreateRealtimeLogConfig(CreateRealtimeLogConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRealtimeLogConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateRealtimeLogConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRealtimeLogConfig.
///
/// Returns a CreateRealtimeLogConfigResult from CloudFront.
/// REST API Reference for CreateRealtimeLogConfig Operation
public virtual CreateRealtimeLogConfigResponse EndCreateRealtimeLogConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateResponseHeadersPolicy
///
/// Creates a response headers policy.
///
///
///
/// A response headers policy contains information about a set of HTTP headers. To create
/// a response headers policy, you provide some metadata about the policy and a set of
/// configurations that specify the headers.
///
///
///
/// After you create a response headers policy, you can use its ID to attach it to one
/// or more cache behaviors in a CloudFront distribution. When it's attached to a cache
/// behavior, the response headers policy affects the HTTP headers that CloudFront includes
/// in HTTP responses to requests that match the cache behavior. CloudFront adds or removes
/// response headers according to the configuration of the response headers policy.
///
///
///
/// For more information, see Adding
/// or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer
/// Guide.
///
///
/// Container for the necessary parameters to execute the CreateResponseHeadersPolicy service method.
///
/// The response from the CreateResponseHeadersPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// A response headers policy with this name already exists. You must provide a unique
/// name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy
.
///
///
/// The length of the Content-Security-Policy
header value in the response
/// headers policy exceeds the maximum.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The number of custom headers in the response headers policy exceeds the maximum.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The number of headers in RemoveHeadersConfig
in the response headers
/// policy exceeds the maximum.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// You have reached the maximum number of response headers policies for this Amazon Web
/// Services account.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// REST API Reference for CreateResponseHeadersPolicy Operation
public virtual CreateResponseHeadersPolicyResponse CreateResponseHeadersPolicy(CreateResponseHeadersPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResponseHeadersPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateResponseHeadersPolicy operation.
///
///
/// Container for the necessary parameters to execute the CreateResponseHeadersPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResponseHeadersPolicy
/// operation.
/// REST API Reference for CreateResponseHeadersPolicy Operation
public virtual IAsyncResult BeginCreateResponseHeadersPolicy(CreateResponseHeadersPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResponseHeadersPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateResponseHeadersPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateResponseHeadersPolicy.
///
/// Returns a CreateResponseHeadersPolicyResult from CloudFront.
/// REST API Reference for CreateResponseHeadersPolicy Operation
public virtual CreateResponseHeadersPolicyResponse EndCreateResponseHeadersPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateStreamingDistribution
///
/// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol
/// (RTMP) distributions on December 31, 2020. For more information, read
/// the announcement on the Amazon CloudFront discussion forum.
///
/// Container for the necessary parameters to execute the CreateStreamingDistribution service method.
///
/// The response from the CreateStreamingDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The caller reference you attempted to create the streaming distribution with is associated
/// with another distribution
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// Processing your request would cause you to exceed the maximum number of streaming
/// distributions allowed.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for CreateStreamingDistribution Operation
public virtual CreateStreamingDistributionResponse CreateStreamingDistribution(CreateStreamingDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamingDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateStreamingDistribution operation.
///
///
/// Container for the necessary parameters to execute the CreateStreamingDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStreamingDistribution
/// operation.
/// REST API Reference for CreateStreamingDistribution Operation
public virtual IAsyncResult BeginCreateStreamingDistribution(CreateStreamingDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamingDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateStreamingDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateStreamingDistribution.
///
/// Returns a CreateStreamingDistributionResult from CloudFront.
/// REST API Reference for CreateStreamingDistribution Operation
public virtual CreateStreamingDistributionResponse EndCreateStreamingDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateStreamingDistributionWithTags
///
/// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol
/// (RTMP) distributions on December 31, 2020. For more information, read
/// the announcement on the Amazon CloudFront discussion forum.
///
/// Container for the necessary parameters to execute the CreateStreamingDistributionWithTags service method.
///
/// The response from the CreateStreamingDistributionWithTags service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
///
///
/// The tagging specified is not valid.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The caller reference you attempted to create the streaming distribution with is associated
/// with another distribution
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// Processing your request would cause you to exceed the maximum number of streaming
/// distributions allowed.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for CreateStreamingDistributionWithTags Operation
public virtual CreateStreamingDistributionWithTagsResponse CreateStreamingDistributionWithTags(CreateStreamingDistributionWithTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamingDistributionWithTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamingDistributionWithTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateStreamingDistributionWithTags operation.
///
///
/// Container for the necessary parameters to execute the CreateStreamingDistributionWithTags operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStreamingDistributionWithTags
/// operation.
/// REST API Reference for CreateStreamingDistributionWithTags Operation
public virtual IAsyncResult BeginCreateStreamingDistributionWithTags(CreateStreamingDistributionWithTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamingDistributionWithTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamingDistributionWithTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateStreamingDistributionWithTags operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateStreamingDistributionWithTags.
///
/// Returns a CreateStreamingDistributionWithTagsResult from CloudFront.
/// REST API Reference for CreateStreamingDistributionWithTags Operation
public virtual CreateStreamingDistributionWithTagsResponse EndCreateStreamingDistributionWithTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCachePolicy
///
/// Deletes a cache policy.
///
///
///
/// You cannot delete a cache policy if it's attached to a cache behavior. First update
/// your distributions to remove the cache policy from all cache behaviors, then delete
/// the cache policy.
///
///
///
/// To delete a cache policy, you must provide the policy's identifier and version. To
/// get these values, you can use ListCachePolicies
or GetCachePolicy
.
///
///
/// Container for the necessary parameters to execute the DeleteCachePolicy service method.
///
/// The response from the DeleteCachePolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// Cannot delete the cache policy because it is attached to one or more cache behaviors.
///
///
/// You cannot delete a managed policy.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The cache policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteCachePolicy Operation
public virtual DeleteCachePolicyResponse DeleteCachePolicy(DeleteCachePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCachePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCachePolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteCachePolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCachePolicy
/// operation.
/// REST API Reference for DeleteCachePolicy Operation
public virtual IAsyncResult BeginDeleteCachePolicy(DeleteCachePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCachePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCachePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCachePolicy.
///
/// Returns a DeleteCachePolicyResult from CloudFront.
/// REST API Reference for DeleteCachePolicy Operation
public virtual DeleteCachePolicyResponse EndDeleteCachePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCloudFrontOriginAccessIdentity
///
/// Delete an origin access identity.
///
///
/// The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The Origin Access Identity specified is already in use.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified origin access identity does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation
public virtual DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity()
{
return DeleteCloudFrontOriginAccessIdentity(new DeleteCloudFrontOriginAccessIdentityRequest());
}
///
/// Delete an origin access identity.
///
/// Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity service method.
///
/// The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The Origin Access Identity specified is already in use.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified origin access identity does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation
public virtual DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCloudFrontOriginAccessIdentity operation.
///
///
/// Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCloudFrontOriginAccessIdentity
/// operation.
/// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation
public virtual IAsyncResult BeginDeleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCloudFrontOriginAccessIdentity operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCloudFrontOriginAccessIdentity.
///
/// Returns a DeleteCloudFrontOriginAccessIdentityResult from CloudFront.
/// REST API Reference for DeleteCloudFrontOriginAccessIdentity Operation
public virtual DeleteCloudFrontOriginAccessIdentityResponse EndDeleteCloudFrontOriginAccessIdentity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteContinuousDeploymentPolicy
///
/// Deletes a continuous deployment policy.
///
///
///
/// You cannot delete a continuous deployment policy that's attached to a primary distribution.
/// First update your distribution to remove the continuous deployment policy, then you
/// can delete the policy.
///
///
/// Container for the necessary parameters to execute the DeleteContinuousDeploymentPolicy service method.
///
/// The response from the DeleteContinuousDeploymentPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// You cannot delete a continuous deployment policy that is associated with a primary
/// distribution.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The continuous deployment policy doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteContinuousDeploymentPolicy Operation
public virtual DeleteContinuousDeploymentPolicyResponse DeleteContinuousDeploymentPolicy(DeleteContinuousDeploymentPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteContinuousDeploymentPolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteContinuousDeploymentPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteContinuousDeploymentPolicy
/// operation.
/// REST API Reference for DeleteContinuousDeploymentPolicy Operation
public virtual IAsyncResult BeginDeleteContinuousDeploymentPolicy(DeleteContinuousDeploymentPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteContinuousDeploymentPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteContinuousDeploymentPolicy.
///
/// Returns a DeleteContinuousDeploymentPolicyResult from CloudFront.
/// REST API Reference for DeleteContinuousDeploymentPolicy Operation
public virtual DeleteContinuousDeploymentPolicyResponse EndDeleteContinuousDeploymentPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDistribution
///
/// Delete a distribution.
///
///
/// The response from the DeleteDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified CloudFront distribution is not disabled. You must disable the distribution
/// before you can delete it.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified distribution does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteDistribution Operation
public virtual DeleteDistributionResponse DeleteDistribution()
{
return DeleteDistribution(new DeleteDistributionRequest());
}
///
/// Delete a distribution.
///
/// Container for the necessary parameters to execute the DeleteDistribution service method.
///
/// The response from the DeleteDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified CloudFront distribution is not disabled. You must disable the distribution
/// before you can delete it.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified distribution does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteDistribution Operation
public virtual DeleteDistributionResponse DeleteDistribution(DeleteDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDistribution operation.
///
///
/// Container for the necessary parameters to execute the DeleteDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDistribution
/// operation.
/// REST API Reference for DeleteDistribution Operation
public virtual IAsyncResult BeginDeleteDistribution(DeleteDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDistribution.
///
/// Returns a DeleteDistributionResult from CloudFront.
/// REST API Reference for DeleteDistribution Operation
public virtual DeleteDistributionResponse EndDeleteDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteFieldLevelEncryptionConfig
///
/// Remove a field-level encryption configuration.
///
/// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionConfig service method.
///
/// The response from the DeleteFieldLevelEncryptionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified configuration for field-level encryption is in use.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteFieldLevelEncryptionConfig Operation
public virtual DeleteFieldLevelEncryptionConfigResponse DeleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteFieldLevelEncryptionConfig operation.
///
///
/// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFieldLevelEncryptionConfig
/// operation.
/// REST API Reference for DeleteFieldLevelEncryptionConfig Operation
public virtual IAsyncResult BeginDeleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFieldLevelEncryptionConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFieldLevelEncryptionConfig.
///
/// Returns a DeleteFieldLevelEncryptionConfigResult from CloudFront.
/// REST API Reference for DeleteFieldLevelEncryptionConfig Operation
public virtual DeleteFieldLevelEncryptionConfigResponse EndDeleteFieldLevelEncryptionConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteFieldLevelEncryptionProfile
///
/// Remove a field-level encryption profile.
///
/// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionProfile service method.
///
/// The response from the DeleteFieldLevelEncryptionProfile service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified profile for field-level encryption is in use.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified profile for field-level encryption doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteFieldLevelEncryptionProfile Operation
public virtual DeleteFieldLevelEncryptionProfileResponse DeleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteFieldLevelEncryptionProfile operation.
///
///
/// Container for the necessary parameters to execute the DeleteFieldLevelEncryptionProfile operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFieldLevelEncryptionProfile
/// operation.
/// REST API Reference for DeleteFieldLevelEncryptionProfile Operation
public virtual IAsyncResult BeginDeleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFieldLevelEncryptionProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFieldLevelEncryptionProfile.
///
/// Returns a DeleteFieldLevelEncryptionProfileResult from CloudFront.
/// REST API Reference for DeleteFieldLevelEncryptionProfile Operation
public virtual DeleteFieldLevelEncryptionProfileResponse EndDeleteFieldLevelEncryptionProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteFunction
///
/// Deletes a CloudFront function.
///
///
///
/// You cannot delete a function if it's associated with a cache behavior. First, update
/// your distributions to remove the function association from all cache behaviors, then
/// delete the function.
///
///
///
/// To delete a function, you must provide the function's name and version (ETag
/// value). To get these values, you can use ListFunctions
and DescribeFunction
.
///
///
/// Container for the necessary parameters to execute the DeleteFunction service method.
///
/// The response from the DeleteFunction service method, as returned by CloudFront.
///
/// Cannot delete the function because it's attached to one or more cache behaviors.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The function does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for DeleteFunction Operation
public virtual DeleteFunctionResponse DeleteFunction(DeleteFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteFunction operation.
///
///
/// Container for the necessary parameters to execute the DeleteFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFunction
/// operation.
/// REST API Reference for DeleteFunction Operation
public virtual IAsyncResult BeginDeleteFunction(DeleteFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFunction.
///
/// Returns a DeleteFunctionResult from CloudFront.
/// REST API Reference for DeleteFunction Operation
public virtual DeleteFunctionResponse EndDeleteFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteKeyGroup
///
/// Deletes a key group.
///
///
///
/// You cannot delete a key group that is referenced in a cache behavior. First update
/// your distributions to remove the key group from all cache behaviors, then delete the
/// key group.
///
///
///
/// To delete a key group, you must provide the key group's identifier and version. To
/// get these values, use ListKeyGroups
followed by GetKeyGroup
/// or GetKeyGroupConfig
.
///
///
/// Container for the necessary parameters to execute the DeleteKeyGroup service method.
///
/// The response from the DeleteKeyGroup service method, as returned by CloudFront.
///
/// The If-Match
version is missing or not valid.
///
///
/// A resource that was specified is not valid.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// Cannot delete this resource because it is in use.
///
/// REST API Reference for DeleteKeyGroup Operation
public virtual DeleteKeyGroupResponse DeleteKeyGroup(DeleteKeyGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteKeyGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteKeyGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteKeyGroup operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteKeyGroup
/// operation.
/// REST API Reference for DeleteKeyGroup Operation
public virtual IAsyncResult BeginDeleteKeyGroup(DeleteKeyGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteKeyGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteKeyGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteKeyGroup.
///
/// Returns a DeleteKeyGroupResult from CloudFront.
/// REST API Reference for DeleteKeyGroup Operation
public virtual DeleteKeyGroupResponse EndDeleteKeyGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteMonitoringSubscription
///
/// Disables additional CloudWatch metrics for the specified CloudFront distribution.
///
/// Container for the necessary parameters to execute the DeleteMonitoringSubscription service method.
///
/// The response from the DeleteMonitoringSubscription service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
///
/// A monitoring subscription does not exist for the specified distribution.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for DeleteMonitoringSubscription Operation
public virtual DeleteMonitoringSubscriptionResponse DeleteMonitoringSubscription(DeleteMonitoringSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMonitoringSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMonitoringSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteMonitoringSubscription operation.
///
///
/// Container for the necessary parameters to execute the DeleteMonitoringSubscription operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMonitoringSubscription
/// operation.
/// REST API Reference for DeleteMonitoringSubscription Operation
public virtual IAsyncResult BeginDeleteMonitoringSubscription(DeleteMonitoringSubscriptionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMonitoringSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMonitoringSubscriptionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteMonitoringSubscription operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteMonitoringSubscription.
///
/// Returns a DeleteMonitoringSubscriptionResult from CloudFront.
/// REST API Reference for DeleteMonitoringSubscription Operation
public virtual DeleteMonitoringSubscriptionResponse EndDeleteMonitoringSubscription(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteOriginAccessControl
///
/// Deletes a CloudFront origin access control.
///
///
///
/// You cannot delete an origin access control if it's in use. First, update all distributions
/// to remove the origin access control from all origins, then delete the origin access
/// control.
///
///
/// Container for the necessary parameters to execute the DeleteOriginAccessControl service method.
///
/// The response from the DeleteOriginAccessControl service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The origin access control does not exist.
///
///
/// Cannot delete the origin access control because it's in use by one or more distributions.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteOriginAccessControl Operation
public virtual DeleteOriginAccessControlResponse DeleteOriginAccessControl(DeleteOriginAccessControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOriginAccessControlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteOriginAccessControl operation.
///
///
/// Container for the necessary parameters to execute the DeleteOriginAccessControl operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOriginAccessControl
/// operation.
/// REST API Reference for DeleteOriginAccessControl Operation
public virtual IAsyncResult BeginDeleteOriginAccessControl(DeleteOriginAccessControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOriginAccessControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteOriginAccessControl operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteOriginAccessControl.
///
/// Returns a DeleteOriginAccessControlResult from CloudFront.
/// REST API Reference for DeleteOriginAccessControl Operation
public virtual DeleteOriginAccessControlResponse EndDeleteOriginAccessControl(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteOriginRequestPolicy
///
/// Deletes an origin request policy.
///
///
///
/// You cannot delete an origin request policy if it's attached to any cache behaviors.
/// First update your distributions to remove the origin request policy from all cache
/// behaviors, then delete the origin request policy.
///
///
///
/// To delete an origin request policy, you must provide the policy's identifier and version.
/// To get the identifier, you can use ListOriginRequestPolicies
or GetOriginRequestPolicy
.
///
///
/// Container for the necessary parameters to execute the DeleteOriginRequestPolicy service method.
///
/// The response from the DeleteOriginRequestPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// You cannot delete a managed policy.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The origin request policy does not exist.
///
///
/// Cannot delete the origin request policy because it is attached to one or more cache
/// behaviors.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for DeleteOriginRequestPolicy Operation
public virtual DeleteOriginRequestPolicyResponse DeleteOriginRequestPolicy(DeleteOriginRequestPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOriginRequestPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteOriginRequestPolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteOriginRequestPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOriginRequestPolicy
/// operation.
/// REST API Reference for DeleteOriginRequestPolicy Operation
public virtual IAsyncResult BeginDeleteOriginRequestPolicy(DeleteOriginRequestPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOriginRequestPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteOriginRequestPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteOriginRequestPolicy.
///
/// Returns a DeleteOriginRequestPolicyResult from CloudFront.
/// REST API Reference for DeleteOriginRequestPolicy Operation
public virtual DeleteOriginRequestPolicyResponse EndDeleteOriginRequestPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePublicKey
///
/// Remove a public key you previously added to CloudFront.
///
/// Container for the necessary parameters to execute the DeletePublicKey service method.
///
/// The response from the DeletePublicKey service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified public key doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The specified public key is in use.
///
/// REST API Reference for DeletePublicKey Operation
public virtual DeletePublicKeyResponse DeletePublicKey(DeletePublicKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePublicKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePublicKey operation.
///
///
/// Container for the necessary parameters to execute the DeletePublicKey operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePublicKey
/// operation.
/// REST API Reference for DeletePublicKey Operation
public virtual IAsyncResult BeginDeletePublicKey(DeletePublicKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePublicKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePublicKey operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePublicKey.
///
/// Returns a DeletePublicKeyResult from CloudFront.
/// REST API Reference for DeletePublicKey Operation
public virtual DeletePublicKeyResponse EndDeletePublicKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRealtimeLogConfig
///
/// Deletes a real-time log configuration.
///
///
///
/// You cannot delete a real-time log configuration if it's attached to a cache behavior.
/// First update your distributions to remove the real-time log configuration from all
/// cache behaviors, then delete the real-time log configuration.
///
///
///
/// To delete a real-time log configuration, you can provide the configuration's name
/// or its Amazon Resource Name (ARN). You must provide at least one. If you provide both,
/// CloudFront uses the name to identify the real-time log configuration to delete.
///
///
/// Container for the necessary parameters to execute the DeleteRealtimeLogConfig service method.
///
/// The response from the DeleteRealtimeLogConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The real-time log configuration does not exist.
///
///
/// Cannot delete the real-time log configuration because it is attached to one or more
/// cache behaviors.
///
/// REST API Reference for DeleteRealtimeLogConfig Operation
public virtual DeleteRealtimeLogConfigResponse DeleteRealtimeLogConfig(DeleteRealtimeLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRealtimeLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRealtimeLogConfig operation.
///
///
/// Container for the necessary parameters to execute the DeleteRealtimeLogConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRealtimeLogConfig
/// operation.
/// REST API Reference for DeleteRealtimeLogConfig Operation
public virtual IAsyncResult BeginDeleteRealtimeLogConfig(DeleteRealtimeLogConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRealtimeLogConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRealtimeLogConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRealtimeLogConfig.
///
/// Returns a DeleteRealtimeLogConfigResult from CloudFront.
/// REST API Reference for DeleteRealtimeLogConfig Operation
public virtual DeleteRealtimeLogConfigResponse EndDeleteRealtimeLogConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteResponseHeadersPolicy
///
/// Deletes a response headers policy.
///
///
///
/// You cannot delete a response headers policy if it's attached to a cache behavior.
/// First update your distributions to remove the response headers policy from all cache
/// behaviors, then delete the response headers policy.
///
///
///
/// To delete a response headers policy, you must provide the policy's identifier and
/// version. To get these values, you can use ListResponseHeadersPolicies
/// or GetResponseHeadersPolicy
.
///
///
/// Container for the necessary parameters to execute the DeleteResponseHeadersPolicy service method.
///
/// The response from the DeleteResponseHeadersPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// You cannot delete a managed policy.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The response headers policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// Cannot delete the response headers policy because it is attached to one or more cache
/// behaviors in a CloudFront distribution.
///
/// REST API Reference for DeleteResponseHeadersPolicy Operation
public virtual DeleteResponseHeadersPolicyResponse DeleteResponseHeadersPolicy(DeleteResponseHeadersPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResponseHeadersPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteResponseHeadersPolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteResponseHeadersPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResponseHeadersPolicy
/// operation.
/// REST API Reference for DeleteResponseHeadersPolicy Operation
public virtual IAsyncResult BeginDeleteResponseHeadersPolicy(DeleteResponseHeadersPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResponseHeadersPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteResponseHeadersPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteResponseHeadersPolicy.
///
/// Returns a DeleteResponseHeadersPolicyResult from CloudFront.
/// REST API Reference for DeleteResponseHeadersPolicy Operation
public virtual DeleteResponseHeadersPolicyResponse EndDeleteResponseHeadersPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteStreamingDistribution
///
/// Delete a streaming distribution. To delete an RTMP distribution using the CloudFront
/// API, perform the following steps.
///
///
///
/// To delete an RTMP distribution using the CloudFront API:
///
/// -
///
/// Disable the RTMP distribution.
///
///
-
///
/// Submit a
GET Streaming Distribution Config
request to get the current
/// configuration and the Etag
header for the distribution.
///
/// -
///
/// 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
.
///
/// -
///
/// 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.
///
/// -
///
/// Review the response to the
PUT Streaming Distribution Config
request
/// to confirm that the distribution was successfully disabled.
///
/// -
///
/// Submit a
GET Streaming Distribution Config
request to confirm that your
/// changes have propagated. When propagation is complete, the value of Status
/// is Deployed
.
///
/// -
///
/// 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.
///
/// -
///
/// Review the response to your
DELETE Streaming Distribution
request to
/// confirm that the distribution was successfully deleted.
///
///
///
/// For information about deleting a distribution using the CloudFront console, see Deleting
/// a Distribution in the Amazon CloudFront Developer Guide.
///
///
///
/// The response from the DeleteStreamingDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified streaming distribution does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The specified CloudFront distribution is not disabled. You must disable the distribution
/// before you can delete it.
///
/// REST API Reference for DeleteStreamingDistribution Operation
public virtual DeleteStreamingDistributionResponse DeleteStreamingDistribution()
{
return DeleteStreamingDistribution(new DeleteStreamingDistributionRequest());
}
///
/// 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:
///
/// -
///
/// Disable the RTMP distribution.
///
///
-
///
/// Submit a
GET Streaming Distribution Config
request to get the current
/// configuration and the Etag
header for the distribution.
///
/// -
///
/// 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
.
///
/// -
///
/// 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.
///
/// -
///
/// Review the response to the
PUT Streaming Distribution Config
request
/// to confirm that the distribution was successfully disabled.
///
/// -
///
/// Submit a
GET Streaming Distribution Config
request to confirm that your
/// changes have propagated. When propagation is complete, the value of Status
/// is Deployed
.
///
/// -
///
/// 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.
///
/// -
///
/// Review the response to your
DELETE Streaming Distribution
request to
/// confirm that the distribution was successfully deleted.
///
///
///
/// For information about deleting a distribution using the CloudFront console, see Deleting
/// a Distribution in the Amazon CloudFront Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteStreamingDistribution service method.
///
/// The response from the DeleteStreamingDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified streaming distribution does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The specified CloudFront distribution is not disabled. You must disable the distribution
/// before you can delete it.
///
/// REST API Reference for DeleteStreamingDistribution Operation
public virtual DeleteStreamingDistributionResponse DeleteStreamingDistribution(DeleteStreamingDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStreamingDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteStreamingDistribution operation.
///
///
/// Container for the necessary parameters to execute the DeleteStreamingDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStreamingDistribution
/// operation.
/// REST API Reference for DeleteStreamingDistribution Operation
public virtual IAsyncResult BeginDeleteStreamingDistribution(DeleteStreamingDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStreamingDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteStreamingDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteStreamingDistribution.
///
/// Returns a DeleteStreamingDistributionResult from CloudFront.
/// REST API Reference for DeleteStreamingDistribution Operation
public virtual DeleteStreamingDistributionResponse EndDeleteStreamingDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeFunction
///
/// Gets configuration information and metadata about a CloudFront function, but not the
/// function's code. To get a function's code, use GetFunction
.
///
///
///
/// To get configuration information and metadata about a function, you must provide the
/// function's name and stage. To get these values, you can use ListFunctions
.
///
///
/// Container for the necessary parameters to execute the DescribeFunction service method.
///
/// The response from the DescribeFunction service method, as returned by CloudFront.
///
/// The function does not exist.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for DescribeFunction Operation
public virtual DescribeFunctionResponse DescribeFunction(DescribeFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeFunction operation.
///
///
/// Container for the necessary parameters to execute the DescribeFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFunction
/// operation.
/// REST API Reference for DescribeFunction Operation
public virtual IAsyncResult BeginDescribeFunction(DescribeFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFunction.
///
/// Returns a DescribeFunctionResult from CloudFront.
/// REST API Reference for DescribeFunction Operation
public virtual DescribeFunctionResponse EndDescribeFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetCachePolicy
///
/// Gets a cache policy, including the following metadata:
///
/// -
///
/// The policy's identifier.
///
///
-
///
/// The date and time when the policy was last modified.
///
///
///
/// To get a cache policy, you must provide the policy's identifier. If the cache policy
/// is attached to a distribution's cache behavior, you can get the policy's identifier
/// using ListDistributions
or GetDistribution
. If the cache
/// policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies
.
///
///
/// Container for the necessary parameters to execute the GetCachePolicy service method.
///
/// The response from the GetCachePolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The cache policy does not exist.
///
/// REST API Reference for GetCachePolicy Operation
public virtual GetCachePolicyResponse GetCachePolicy(GetCachePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCachePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetCachePolicy operation.
///
///
/// Container for the necessary parameters to execute the GetCachePolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCachePolicy
/// operation.
/// REST API Reference for GetCachePolicy Operation
public virtual IAsyncResult BeginGetCachePolicy(GetCachePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCachePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCachePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCachePolicy.
///
/// Returns a GetCachePolicyResult from CloudFront.
/// REST API Reference for GetCachePolicy Operation
public virtual GetCachePolicyResponse EndGetCachePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetCachePolicyConfig
///
/// Gets a cache policy configuration.
///
///
///
/// To get a cache policy configuration, you must provide the policy's identifier. If
/// the cache policy is attached to a distribution's cache behavior, you can get the policy's
/// identifier using ListDistributions
or GetDistribution
. If
/// the cache policy is not attached to a cache behavior, you can get the identifier using
/// ListCachePolicies
.
///
///
/// Container for the necessary parameters to execute the GetCachePolicyConfig service method.
///
/// The response from the GetCachePolicyConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The cache policy does not exist.
///
/// REST API Reference for GetCachePolicyConfig Operation
public virtual GetCachePolicyConfigResponse GetCachePolicyConfig(GetCachePolicyConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCachePolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCachePolicyConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetCachePolicyConfig operation.
///
///
/// Container for the necessary parameters to execute the GetCachePolicyConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCachePolicyConfig
/// operation.
/// REST API Reference for GetCachePolicyConfig Operation
public virtual IAsyncResult BeginGetCachePolicyConfig(GetCachePolicyConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCachePolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCachePolicyConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCachePolicyConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCachePolicyConfig.
///
/// Returns a GetCachePolicyConfigResult from CloudFront.
/// REST API Reference for GetCachePolicyConfig Operation
public virtual GetCachePolicyConfigResponse EndGetCachePolicyConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetCloudFrontOriginAccessIdentity
///
/// Get the information about an origin access identity.
///
///
/// The response from the GetCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified origin access identity does not exist.
///
/// REST API Reference for GetCloudFrontOriginAccessIdentity Operation
public virtual GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity()
{
return GetCloudFrontOriginAccessIdentity(new GetCloudFrontOriginAccessIdentityRequest());
}
///
/// Get the information about an origin access identity.
///
/// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity service method.
///
/// The response from the GetCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified origin access identity does not exist.
///
/// REST API Reference for GetCloudFrontOriginAccessIdentity Operation
public virtual GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetCloudFrontOriginAccessIdentity operation.
///
///
/// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCloudFrontOriginAccessIdentity
/// operation.
/// REST API Reference for GetCloudFrontOriginAccessIdentity Operation
public virtual IAsyncResult BeginGetCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCloudFrontOriginAccessIdentity operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCloudFrontOriginAccessIdentity.
///
/// Returns a GetCloudFrontOriginAccessIdentityResult from CloudFront.
/// REST API Reference for GetCloudFrontOriginAccessIdentity Operation
public virtual GetCloudFrontOriginAccessIdentityResponse EndGetCloudFrontOriginAccessIdentity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetCloudFrontOriginAccessIdentityConfig
///
/// Get the configuration information about an origin access identity.
///
///
/// The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified origin access identity does not exist.
///
/// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation
public virtual GetCloudFrontOriginAccessIdentityConfigResponse GetCloudFrontOriginAccessIdentityConfig()
{
return GetCloudFrontOriginAccessIdentityConfig(new GetCloudFrontOriginAccessIdentityConfigRequest());
}
///
/// Get the configuration information about an origin access identity.
///
/// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig service method.
///
/// The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified origin access identity does not exist.
///
/// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation
public virtual GetCloudFrontOriginAccessIdentityConfigResponse GetCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCloudFrontOriginAccessIdentityConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetCloudFrontOriginAccessIdentityConfig operation.
///
///
/// Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCloudFrontOriginAccessIdentityConfig
/// operation.
/// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation
public virtual IAsyncResult BeginGetCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCloudFrontOriginAccessIdentityConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCloudFrontOriginAccessIdentityConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCloudFrontOriginAccessIdentityConfig.
///
/// Returns a GetCloudFrontOriginAccessIdentityConfigResult from CloudFront.
/// REST API Reference for GetCloudFrontOriginAccessIdentityConfig Operation
public virtual GetCloudFrontOriginAccessIdentityConfigResponse EndGetCloudFrontOriginAccessIdentityConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetContinuousDeploymentPolicy
///
/// Gets a continuous deployment policy, including metadata (the policy's identifier and
/// the date and time when the policy was last modified).
///
/// Container for the necessary parameters to execute the GetContinuousDeploymentPolicy service method.
///
/// The response from the GetContinuousDeploymentPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The continuous deployment policy doesn't exist.
///
/// REST API Reference for GetContinuousDeploymentPolicy Operation
public virtual GetContinuousDeploymentPolicyResponse GetContinuousDeploymentPolicy(GetContinuousDeploymentPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetContinuousDeploymentPolicy operation.
///
///
/// Container for the necessary parameters to execute the GetContinuousDeploymentPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetContinuousDeploymentPolicy
/// operation.
/// REST API Reference for GetContinuousDeploymentPolicy Operation
public virtual IAsyncResult BeginGetContinuousDeploymentPolicy(GetContinuousDeploymentPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetContinuousDeploymentPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginGetContinuousDeploymentPolicy.
///
/// Returns a GetContinuousDeploymentPolicyResult from CloudFront.
/// REST API Reference for GetContinuousDeploymentPolicy Operation
public virtual GetContinuousDeploymentPolicyResponse EndGetContinuousDeploymentPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetContinuousDeploymentPolicyConfig
///
/// Gets configuration information about a continuous deployment policy.
///
/// Container for the necessary parameters to execute the GetContinuousDeploymentPolicyConfig service method.
///
/// The response from the GetContinuousDeploymentPolicyConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The continuous deployment policy doesn't exist.
///
/// REST API Reference for GetContinuousDeploymentPolicyConfig Operation
public virtual GetContinuousDeploymentPolicyConfigResponse GetContinuousDeploymentPolicyConfig(GetContinuousDeploymentPolicyConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetContinuousDeploymentPolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetContinuousDeploymentPolicyConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetContinuousDeploymentPolicyConfig operation.
///
///
/// Container for the necessary parameters to execute the GetContinuousDeploymentPolicyConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetContinuousDeploymentPolicyConfig
/// operation.
/// REST API Reference for GetContinuousDeploymentPolicyConfig Operation
public virtual IAsyncResult BeginGetContinuousDeploymentPolicyConfig(GetContinuousDeploymentPolicyConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetContinuousDeploymentPolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetContinuousDeploymentPolicyConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetContinuousDeploymentPolicyConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetContinuousDeploymentPolicyConfig.
///
/// Returns a GetContinuousDeploymentPolicyConfigResult from CloudFront.
/// REST API Reference for GetContinuousDeploymentPolicyConfig Operation
public virtual GetContinuousDeploymentPolicyConfigResponse EndGetContinuousDeploymentPolicyConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDistribution
///
/// Get the information about a distribution.
///
///
/// The response from the GetDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
/// REST API Reference for GetDistribution Operation
public virtual GetDistributionResponse GetDistribution()
{
return GetDistribution(new GetDistributionRequest());
}
///
/// Get the information about a distribution.
///
/// Container for the necessary parameters to execute the GetDistribution service method.
///
/// The response from the GetDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
/// REST API Reference for GetDistribution Operation
public virtual GetDistributionResponse GetDistribution(GetDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDistribution operation.
///
///
/// Container for the necessary parameters to execute the GetDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDistribution
/// operation.
/// REST API Reference for GetDistribution Operation
public virtual IAsyncResult BeginGetDistribution(GetDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDistribution.
///
/// Returns a GetDistributionResult from CloudFront.
/// REST API Reference for GetDistribution Operation
public virtual GetDistributionResponse EndGetDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDistributionConfig
///
/// Get the configuration information about a distribution.
///
///
/// The response from the GetDistributionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
/// REST API Reference for GetDistributionConfig Operation
public virtual GetDistributionConfigResponse GetDistributionConfig()
{
return GetDistributionConfig(new GetDistributionConfigRequest());
}
///
/// Get the configuration information about a distribution.
///
/// Container for the necessary parameters to execute the GetDistributionConfig service method.
///
/// The response from the GetDistributionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
/// REST API Reference for GetDistributionConfig Operation
public virtual GetDistributionConfigResponse GetDistributionConfig(GetDistributionConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDistributionConfig operation.
///
///
/// Container for the necessary parameters to execute the GetDistributionConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDistributionConfig
/// operation.
/// REST API Reference for GetDistributionConfig Operation
public virtual IAsyncResult BeginGetDistributionConfig(GetDistributionConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDistributionConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDistributionConfig.
///
/// Returns a GetDistributionConfigResult from CloudFront.
/// REST API Reference for GetDistributionConfig Operation
public virtual GetDistributionConfigResponse EndGetDistributionConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetFieldLevelEncryption
///
/// Get the field-level encryption configuration information.
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryption service method.
///
/// The response from the GetFieldLevelEncryption service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
/// REST API Reference for GetFieldLevelEncryption Operation
public virtual GetFieldLevelEncryptionResponse GetFieldLevelEncryption(GetFieldLevelEncryptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetFieldLevelEncryption operation.
///
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryption operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFieldLevelEncryption
/// operation.
/// REST API Reference for GetFieldLevelEncryption Operation
public virtual IAsyncResult BeginGetFieldLevelEncryption(GetFieldLevelEncryptionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFieldLevelEncryption operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFieldLevelEncryption.
///
/// Returns a GetFieldLevelEncryptionResult from CloudFront.
/// REST API Reference for GetFieldLevelEncryption Operation
public virtual GetFieldLevelEncryptionResponse EndGetFieldLevelEncryption(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetFieldLevelEncryptionConfig
///
/// Get the field-level encryption configuration information.
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryptionConfig service method.
///
/// The response from the GetFieldLevelEncryptionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
/// REST API Reference for GetFieldLevelEncryptionConfig Operation
public virtual GetFieldLevelEncryptionConfigResponse GetFieldLevelEncryptionConfig(GetFieldLevelEncryptionConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetFieldLevelEncryptionConfig operation.
///
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryptionConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFieldLevelEncryptionConfig
/// operation.
/// REST API Reference for GetFieldLevelEncryptionConfig Operation
public virtual IAsyncResult BeginGetFieldLevelEncryptionConfig(GetFieldLevelEncryptionConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFieldLevelEncryptionConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFieldLevelEncryptionConfig.
///
/// Returns a GetFieldLevelEncryptionConfigResult from CloudFront.
/// REST API Reference for GetFieldLevelEncryptionConfig Operation
public virtual GetFieldLevelEncryptionConfigResponse EndGetFieldLevelEncryptionConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetFieldLevelEncryptionProfile
///
/// Get the field-level encryption profile information.
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfile service method.
///
/// The response from the GetFieldLevelEncryptionProfile service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified profile for field-level encryption doesn't exist.
///
/// REST API Reference for GetFieldLevelEncryptionProfile Operation
public virtual GetFieldLevelEncryptionProfileResponse GetFieldLevelEncryptionProfile(GetFieldLevelEncryptionProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetFieldLevelEncryptionProfile operation.
///
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfile operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFieldLevelEncryptionProfile
/// operation.
/// REST API Reference for GetFieldLevelEncryptionProfile Operation
public virtual IAsyncResult BeginGetFieldLevelEncryptionProfile(GetFieldLevelEncryptionProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFieldLevelEncryptionProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFieldLevelEncryptionProfile.
///
/// Returns a GetFieldLevelEncryptionProfileResult from CloudFront.
/// REST API Reference for GetFieldLevelEncryptionProfile Operation
public virtual GetFieldLevelEncryptionProfileResponse EndGetFieldLevelEncryptionProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetFieldLevelEncryptionProfileConfig
///
/// Get the field-level encryption profile configuration information.
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfileConfig service method.
///
/// The response from the GetFieldLevelEncryptionProfileConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified profile for field-level encryption doesn't exist.
///
/// REST API Reference for GetFieldLevelEncryptionProfileConfig Operation
public virtual GetFieldLevelEncryptionProfileConfigResponse GetFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionProfileConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetFieldLevelEncryptionProfileConfig operation.
///
///
/// Container for the necessary parameters to execute the GetFieldLevelEncryptionProfileConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFieldLevelEncryptionProfileConfig
/// operation.
/// REST API Reference for GetFieldLevelEncryptionProfileConfig Operation
public virtual IAsyncResult BeginGetFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFieldLevelEncryptionProfileConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFieldLevelEncryptionProfileConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFieldLevelEncryptionProfileConfig.
///
/// Returns a GetFieldLevelEncryptionProfileConfigResult from CloudFront.
/// REST API Reference for GetFieldLevelEncryptionProfileConfig Operation
public virtual GetFieldLevelEncryptionProfileConfigResponse EndGetFieldLevelEncryptionProfileConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetFunction
///
/// Gets the code of a CloudFront function. To get configuration information and metadata
/// about a function, use DescribeFunction
.
///
///
///
/// To get a function's code, you must provide the function's name and stage. To get these
/// values, you can use ListFunctions
.
///
///
/// Container for the necessary parameters to execute the GetFunction service method.
///
/// The response from the GetFunction service method, as returned by CloudFront.
///
/// The function does not exist.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for GetFunction Operation
public virtual GetFunctionResponse GetFunction(GetFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetFunction operation.
///
///
/// Container for the necessary parameters to execute the GetFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFunction
/// operation.
/// REST API Reference for GetFunction Operation
public virtual IAsyncResult BeginGetFunction(GetFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFunction.
///
/// Returns a GetFunctionResult from CloudFront.
/// REST API Reference for GetFunction Operation
public virtual GetFunctionResponse EndGetFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetInvalidation
///
/// Get the information about an invalidation.
///
/// Container for the necessary parameters to execute the GetInvalidation service method.
///
/// The response from the GetInvalidation service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
///
/// The specified invalidation does not exist.
///
/// REST API Reference for GetInvalidation Operation
public virtual GetInvalidationResponse GetInvalidation(GetInvalidationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInvalidationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInvalidationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetInvalidation operation.
///
///
/// Container for the necessary parameters to execute the GetInvalidation operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetInvalidation
/// operation.
/// REST API Reference for GetInvalidation Operation
public virtual IAsyncResult BeginGetInvalidation(GetInvalidationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInvalidationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInvalidationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetInvalidation operation.
///
///
/// The IAsyncResult returned by the call to BeginGetInvalidation.
///
/// Returns a GetInvalidationResult from CloudFront.
/// REST API Reference for GetInvalidation Operation
public virtual GetInvalidationResponse EndGetInvalidation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetKeyGroup
///
/// Gets a key group, including the date and time when the key group was last modified.
///
///
///
/// To get a key group, you must provide the key group's identifier. If the key group
/// is referenced in a distribution's cache behavior, you can get the key group's identifier
/// using ListDistributions
or GetDistribution
. If the key group
/// is not referenced in a cache behavior, you can get the identifier using ListKeyGroups
.
///
///
/// Container for the necessary parameters to execute the GetKeyGroup service method.
///
/// The response from the GetKeyGroup service method, as returned by CloudFront.
///
/// A resource that was specified is not valid.
///
/// REST API Reference for GetKeyGroup Operation
public virtual GetKeyGroupResponse GetKeyGroup(GetKeyGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetKeyGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetKeyGroup operation.
///
///
/// Container for the necessary parameters to execute the GetKeyGroup operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetKeyGroup
/// operation.
/// REST API Reference for GetKeyGroup Operation
public virtual IAsyncResult BeginGetKeyGroup(GetKeyGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetKeyGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetKeyGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginGetKeyGroup.
///
/// Returns a GetKeyGroupResult from CloudFront.
/// REST API Reference for GetKeyGroup Operation
public virtual GetKeyGroupResponse EndGetKeyGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetKeyGroupConfig
///
/// Gets a key group configuration.
///
///
///
/// To get a key group configuration, you must provide the key group's identifier. If
/// the key group is referenced in a distribution's cache behavior, you can get the key
/// group's identifier using ListDistributions
or GetDistribution
.
/// If the key group is not referenced in a cache behavior, you can get the identifier
/// using ListKeyGroups
.
///
///
/// Container for the necessary parameters to execute the GetKeyGroupConfig service method.
///
/// The response from the GetKeyGroupConfig service method, as returned by CloudFront.
///
/// A resource that was specified is not valid.
///
/// REST API Reference for GetKeyGroupConfig Operation
public virtual GetKeyGroupConfigResponse GetKeyGroupConfig(GetKeyGroupConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetKeyGroupConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetKeyGroupConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetKeyGroupConfig operation.
///
///
/// Container for the necessary parameters to execute the GetKeyGroupConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetKeyGroupConfig
/// operation.
/// REST API Reference for GetKeyGroupConfig Operation
public virtual IAsyncResult BeginGetKeyGroupConfig(GetKeyGroupConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetKeyGroupConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetKeyGroupConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetKeyGroupConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetKeyGroupConfig.
///
/// Returns a GetKeyGroupConfigResult from CloudFront.
/// REST API Reference for GetKeyGroupConfig Operation
public virtual GetKeyGroupConfigResponse EndGetKeyGroupConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetMonitoringSubscription
///
/// Gets information about whether additional CloudWatch metrics are enabled for the specified
/// CloudFront distribution.
///
/// Container for the necessary parameters to execute the GetMonitoringSubscription service method.
///
/// The response from the GetMonitoringSubscription service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified distribution does not exist.
///
///
/// A monitoring subscription does not exist for the specified distribution.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for GetMonitoringSubscription Operation
public virtual GetMonitoringSubscriptionResponse GetMonitoringSubscription(GetMonitoringSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMonitoringSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMonitoringSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetMonitoringSubscription operation.
///
///
/// Container for the necessary parameters to execute the GetMonitoringSubscription operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMonitoringSubscription
/// operation.
/// REST API Reference for GetMonitoringSubscription Operation
public virtual IAsyncResult BeginGetMonitoringSubscription(GetMonitoringSubscriptionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMonitoringSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMonitoringSubscriptionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetMonitoringSubscription operation.
///
///
/// The IAsyncResult returned by the call to BeginGetMonitoringSubscription.
///
/// Returns a GetMonitoringSubscriptionResult from CloudFront.
/// REST API Reference for GetMonitoringSubscription Operation
public virtual GetMonitoringSubscriptionResponse EndGetMonitoringSubscription(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetOriginAccessControl
///
/// Gets a CloudFront origin access control, including its unique identifier.
///
/// Container for the necessary parameters to execute the GetOriginAccessControl service method.
///
/// The response from the GetOriginAccessControl service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The origin access control does not exist.
///
/// REST API Reference for GetOriginAccessControl Operation
public virtual GetOriginAccessControlResponse GetOriginAccessControl(GetOriginAccessControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginAccessControlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetOriginAccessControl operation.
///
///
/// Container for the necessary parameters to execute the GetOriginAccessControl operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOriginAccessControl
/// operation.
/// REST API Reference for GetOriginAccessControl Operation
public virtual IAsyncResult BeginGetOriginAccessControl(GetOriginAccessControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginAccessControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOriginAccessControl operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOriginAccessControl.
///
/// Returns a GetOriginAccessControlResult from CloudFront.
/// REST API Reference for GetOriginAccessControl Operation
public virtual GetOriginAccessControlResponse EndGetOriginAccessControl(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetOriginAccessControlConfig
///
/// Gets a CloudFront origin access control configuration.
///
/// Container for the necessary parameters to execute the GetOriginAccessControlConfig service method.
///
/// The response from the GetOriginAccessControlConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The origin access control does not exist.
///
/// REST API Reference for GetOriginAccessControlConfig Operation
public virtual GetOriginAccessControlConfigResponse GetOriginAccessControlConfig(GetOriginAccessControlConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginAccessControlConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginAccessControlConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetOriginAccessControlConfig operation.
///
///
/// Container for the necessary parameters to execute the GetOriginAccessControlConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOriginAccessControlConfig
/// operation.
/// REST API Reference for GetOriginAccessControlConfig Operation
public virtual IAsyncResult BeginGetOriginAccessControlConfig(GetOriginAccessControlConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginAccessControlConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginAccessControlConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOriginAccessControlConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOriginAccessControlConfig.
///
/// Returns a GetOriginAccessControlConfigResult from CloudFront.
/// REST API Reference for GetOriginAccessControlConfig Operation
public virtual GetOriginAccessControlConfigResponse EndGetOriginAccessControlConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetOriginRequestPolicy
///
/// Gets an origin request policy, including the following metadata:
///
/// -
///
/// The policy's identifier.
///
///
-
///
/// The date and time when the policy was last modified.
///
///
///
/// To get an origin request policy, you must provide the policy's identifier. If the
/// origin request policy is attached to a distribution's cache behavior, you can get
/// the policy's identifier using ListDistributions
or GetDistribution
.
/// If the origin request policy is not attached to a cache behavior, you can get the
/// identifier using ListOriginRequestPolicies
.
///
///
/// Container for the necessary parameters to execute the GetOriginRequestPolicy service method.
///
/// The response from the GetOriginRequestPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The origin request policy does not exist.
///
/// REST API Reference for GetOriginRequestPolicy Operation
public virtual GetOriginRequestPolicyResponse GetOriginRequestPolicy(GetOriginRequestPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginRequestPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetOriginRequestPolicy operation.
///
///
/// Container for the necessary parameters to execute the GetOriginRequestPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOriginRequestPolicy
/// operation.
/// REST API Reference for GetOriginRequestPolicy Operation
public virtual IAsyncResult BeginGetOriginRequestPolicy(GetOriginRequestPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginRequestPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOriginRequestPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOriginRequestPolicy.
///
/// Returns a GetOriginRequestPolicyResult from CloudFront.
/// REST API Reference for GetOriginRequestPolicy Operation
public virtual GetOriginRequestPolicyResponse EndGetOriginRequestPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetOriginRequestPolicyConfig
///
/// Gets an origin request policy configuration.
///
///
///
/// To get an origin request policy configuration, you must provide the policy's identifier.
/// If the origin request policy is attached to a distribution's cache behavior, you can
/// get the policy's identifier using ListDistributions
or GetDistribution
.
/// If the origin request policy is not attached to a cache behavior, you can get the
/// identifier using ListOriginRequestPolicies
.
///
///
/// Container for the necessary parameters to execute the GetOriginRequestPolicyConfig service method.
///
/// The response from the GetOriginRequestPolicyConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The origin request policy does not exist.
///
/// REST API Reference for GetOriginRequestPolicyConfig Operation
public virtual GetOriginRequestPolicyConfigResponse GetOriginRequestPolicyConfig(GetOriginRequestPolicyConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginRequestPolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginRequestPolicyConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetOriginRequestPolicyConfig operation.
///
///
/// Container for the necessary parameters to execute the GetOriginRequestPolicyConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOriginRequestPolicyConfig
/// operation.
/// REST API Reference for GetOriginRequestPolicyConfig Operation
public virtual IAsyncResult BeginGetOriginRequestPolicyConfig(GetOriginRequestPolicyConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOriginRequestPolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOriginRequestPolicyConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOriginRequestPolicyConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOriginRequestPolicyConfig.
///
/// Returns a GetOriginRequestPolicyConfigResult from CloudFront.
/// REST API Reference for GetOriginRequestPolicyConfig Operation
public virtual GetOriginRequestPolicyConfigResponse EndGetOriginRequestPolicyConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetPublicKey
///
/// Gets a public key.
///
/// Container for the necessary parameters to execute the GetPublicKey service method.
///
/// The response from the GetPublicKey service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified public key doesn't exist.
///
/// REST API Reference for GetPublicKey Operation
public virtual GetPublicKeyResponse GetPublicKey(GetPublicKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPublicKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetPublicKey operation.
///
///
/// Container for the necessary parameters to execute the GetPublicKey operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPublicKey
/// operation.
/// REST API Reference for GetPublicKey Operation
public virtual IAsyncResult BeginGetPublicKey(GetPublicKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPublicKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetPublicKey operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPublicKey.
///
/// Returns a GetPublicKeyResult from CloudFront.
/// REST API Reference for GetPublicKey Operation
public virtual GetPublicKeyResponse EndGetPublicKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetPublicKeyConfig
///
/// Gets a public key configuration.
///
/// Container for the necessary parameters to execute the GetPublicKeyConfig service method.
///
/// The response from the GetPublicKeyConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified public key doesn't exist.
///
/// REST API Reference for GetPublicKeyConfig Operation
public virtual GetPublicKeyConfigResponse GetPublicKeyConfig(GetPublicKeyConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPublicKeyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPublicKeyConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetPublicKeyConfig operation.
///
///
/// Container for the necessary parameters to execute the GetPublicKeyConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPublicKeyConfig
/// operation.
/// REST API Reference for GetPublicKeyConfig Operation
public virtual IAsyncResult BeginGetPublicKeyConfig(GetPublicKeyConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPublicKeyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPublicKeyConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetPublicKeyConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPublicKeyConfig.
///
/// Returns a GetPublicKeyConfigResult from CloudFront.
/// REST API Reference for GetPublicKeyConfig Operation
public virtual GetPublicKeyConfigResponse EndGetPublicKeyConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetRealtimeLogConfig
///
/// Gets a real-time log configuration.
///
///
///
/// To get a real-time log configuration, you can provide the configuration's name or
/// its Amazon Resource Name (ARN). You must provide at least one. If you provide both,
/// CloudFront uses the name to identify the real-time log configuration to get.
///
///
/// Container for the necessary parameters to execute the GetRealtimeLogConfig service method.
///
/// The response from the GetRealtimeLogConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The real-time log configuration does not exist.
///
/// REST API Reference for GetRealtimeLogConfig Operation
public virtual GetRealtimeLogConfigResponse GetRealtimeLogConfig(GetRealtimeLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRealtimeLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetRealtimeLogConfig operation.
///
///
/// Container for the necessary parameters to execute the GetRealtimeLogConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRealtimeLogConfig
/// operation.
/// REST API Reference for GetRealtimeLogConfig Operation
public virtual IAsyncResult BeginGetRealtimeLogConfig(GetRealtimeLogConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRealtimeLogConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetRealtimeLogConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetRealtimeLogConfig.
///
/// Returns a GetRealtimeLogConfigResult from CloudFront.
/// REST API Reference for GetRealtimeLogConfig Operation
public virtual GetRealtimeLogConfigResponse EndGetRealtimeLogConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetResponseHeadersPolicy
///
/// Gets a response headers policy, including metadata (the policy's identifier and the
/// date and time when the policy was last modified).
///
///
///
/// To get a response headers policy, you must provide the policy's identifier. If the
/// response headers policy is attached to a distribution's cache behavior, you can get
/// the policy's identifier using ListDistributions
or GetDistribution
.
/// If the response headers policy is not attached to a cache behavior, you can get the
/// identifier using ListResponseHeadersPolicies
.
///
///
/// Container for the necessary parameters to execute the GetResponseHeadersPolicy service method.
///
/// The response from the GetResponseHeadersPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The response headers policy does not exist.
///
/// REST API Reference for GetResponseHeadersPolicy Operation
public virtual GetResponseHeadersPolicyResponse GetResponseHeadersPolicy(GetResponseHeadersPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResponseHeadersPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetResponseHeadersPolicy operation.
///
///
/// Container for the necessary parameters to execute the GetResponseHeadersPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResponseHeadersPolicy
/// operation.
/// REST API Reference for GetResponseHeadersPolicy Operation
public virtual IAsyncResult BeginGetResponseHeadersPolicy(GetResponseHeadersPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResponseHeadersPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetResponseHeadersPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginGetResponseHeadersPolicy.
///
/// Returns a GetResponseHeadersPolicyResult from CloudFront.
/// REST API Reference for GetResponseHeadersPolicy Operation
public virtual GetResponseHeadersPolicyResponse EndGetResponseHeadersPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetResponseHeadersPolicyConfig
///
/// Gets a response headers policy configuration.
///
///
///
/// To get a response headers policy configuration, you must provide the policy's identifier.
/// If the response headers policy is attached to a distribution's cache behavior, you
/// can get the policy's identifier using ListDistributions
or GetDistribution
.
/// If the response headers policy is not attached to a cache behavior, you can get the
/// identifier using ListResponseHeadersPolicies
.
///
///
/// Container for the necessary parameters to execute the GetResponseHeadersPolicyConfig service method.
///
/// The response from the GetResponseHeadersPolicyConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The response headers policy does not exist.
///
/// REST API Reference for GetResponseHeadersPolicyConfig Operation
public virtual GetResponseHeadersPolicyConfigResponse GetResponseHeadersPolicyConfig(GetResponseHeadersPolicyConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResponseHeadersPolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResponseHeadersPolicyConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetResponseHeadersPolicyConfig operation.
///
///
/// Container for the necessary parameters to execute the GetResponseHeadersPolicyConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResponseHeadersPolicyConfig
/// operation.
/// REST API Reference for GetResponseHeadersPolicyConfig Operation
public virtual IAsyncResult BeginGetResponseHeadersPolicyConfig(GetResponseHeadersPolicyConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResponseHeadersPolicyConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResponseHeadersPolicyConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetResponseHeadersPolicyConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetResponseHeadersPolicyConfig.
///
/// Returns a GetResponseHeadersPolicyConfigResult from CloudFront.
/// REST API Reference for GetResponseHeadersPolicyConfig Operation
public virtual GetResponseHeadersPolicyConfigResponse EndGetResponseHeadersPolicyConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetStreamingDistribution
///
/// Gets information about a specified RTMP distribution, including the distribution configuration.
///
///
/// The response from the GetStreamingDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified streaming distribution does not exist.
///
/// REST API Reference for GetStreamingDistribution Operation
public virtual GetStreamingDistributionResponse GetStreamingDistribution()
{
return GetStreamingDistribution(new GetStreamingDistributionRequest());
}
///
/// Gets information about a specified RTMP distribution, including the distribution configuration.
///
/// Container for the necessary parameters to execute the GetStreamingDistribution service method.
///
/// The response from the GetStreamingDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified streaming distribution does not exist.
///
/// REST API Reference for GetStreamingDistribution Operation
public virtual GetStreamingDistributionResponse GetStreamingDistribution(GetStreamingDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStreamingDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetStreamingDistribution operation.
///
///
/// Container for the necessary parameters to execute the GetStreamingDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetStreamingDistribution
/// operation.
/// REST API Reference for GetStreamingDistribution Operation
public virtual IAsyncResult BeginGetStreamingDistribution(GetStreamingDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStreamingDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetStreamingDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginGetStreamingDistribution.
///
/// Returns a GetStreamingDistributionResult from CloudFront.
/// REST API Reference for GetStreamingDistribution Operation
public virtual GetStreamingDistributionResponse EndGetStreamingDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetStreamingDistributionConfig
///
/// Get the configuration information about a streaming distribution.
///
///
/// The response from the GetStreamingDistributionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified streaming distribution does not exist.
///
/// REST API Reference for GetStreamingDistributionConfig Operation
public virtual GetStreamingDistributionConfigResponse GetStreamingDistributionConfig()
{
return GetStreamingDistributionConfig(new GetStreamingDistributionConfigRequest());
}
///
/// Get the configuration information about a streaming distribution.
///
/// Container for the necessary parameters to execute the GetStreamingDistributionConfig service method.
///
/// The response from the GetStreamingDistributionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified streaming distribution does not exist.
///
/// REST API Reference for GetStreamingDistributionConfig Operation
public virtual GetStreamingDistributionConfigResponse GetStreamingDistributionConfig(GetStreamingDistributionConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStreamingDistributionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStreamingDistributionConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetStreamingDistributionConfig operation.
///
///
/// Container for the necessary parameters to execute the GetStreamingDistributionConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetStreamingDistributionConfig
/// operation.
/// REST API Reference for GetStreamingDistributionConfig Operation
public virtual IAsyncResult BeginGetStreamingDistributionConfig(GetStreamingDistributionConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStreamingDistributionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStreamingDistributionConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetStreamingDistributionConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginGetStreamingDistributionConfig.
///
/// Returns a GetStreamingDistributionConfigResult from CloudFront.
/// REST API Reference for GetStreamingDistributionConfig Operation
public virtual GetStreamingDistributionConfigResponse EndGetStreamingDistributionConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCachePolicies
///
/// Gets a list of cache policies.
///
///
///
/// You can optionally apply a filter to return only the managed policies created by Amazon
/// Web Services, or only the custom policies created in your Amazon Web Services account.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListCachePolicies service method.
///
/// The response from the ListCachePolicies service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The cache policy does not exist.
///
/// REST API Reference for ListCachePolicies Operation
public virtual ListCachePoliciesResponse ListCachePolicies(ListCachePoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCachePoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCachePoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCachePolicies operation.
///
///
/// Container for the necessary parameters to execute the ListCachePolicies operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCachePolicies
/// operation.
/// REST API Reference for ListCachePolicies Operation
public virtual IAsyncResult BeginListCachePolicies(ListCachePoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCachePoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCachePoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCachePolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListCachePolicies.
///
/// Returns a ListCachePoliciesResult from CloudFront.
/// REST API Reference for ListCachePolicies Operation
public virtual ListCachePoliciesResponse EndListCachePolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCloudFrontOriginAccessIdentities
///
/// Lists origin access identities.
///
///
/// The response from the ListCloudFrontOriginAccessIdentities service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListCloudFrontOriginAccessIdentities Operation
public virtual ListCloudFrontOriginAccessIdentitiesResponse ListCloudFrontOriginAccessIdentities()
{
return ListCloudFrontOriginAccessIdentities(new ListCloudFrontOriginAccessIdentitiesRequest());
}
///
/// Lists origin access identities.
///
/// Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities service method.
///
/// The response from the ListCloudFrontOriginAccessIdentities service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListCloudFrontOriginAccessIdentities Operation
public virtual ListCloudFrontOriginAccessIdentitiesResponse ListCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCloudFrontOriginAccessIdentitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCloudFrontOriginAccessIdentitiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCloudFrontOriginAccessIdentities operation.
///
///
/// Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCloudFrontOriginAccessIdentities
/// operation.
/// REST API Reference for ListCloudFrontOriginAccessIdentities Operation
public virtual IAsyncResult BeginListCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCloudFrontOriginAccessIdentitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCloudFrontOriginAccessIdentitiesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCloudFrontOriginAccessIdentities operation.
///
///
/// The IAsyncResult returned by the call to BeginListCloudFrontOriginAccessIdentities.
///
/// Returns a ListCloudFrontOriginAccessIdentitiesResult from CloudFront.
/// REST API Reference for ListCloudFrontOriginAccessIdentities Operation
public virtual ListCloudFrontOriginAccessIdentitiesResponse EndListCloudFrontOriginAccessIdentities(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListConflictingAliases
///
/// Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict
/// or overlap with the provided alias, and the associated CloudFront distributions and
/// Amazon Web Services accounts for each conflicting alias. In the returned list, the
/// distribution and account IDs are partially hidden, which allows you to identify the
/// distributions and accounts that you own, but helps to protect the information of ones
/// that you don't own.
///
///
///
/// Use this operation to find aliases that are in use in CloudFront that conflict or
/// overlap with the provided alias. For example, if you provide www.example.com
/// as input, the returned list can include www.example.com
and the overlapping
/// wildcard alternate domain name (*.example.com
), if they exist. If you
/// provide *.example.com
as input, the returned list can include *.example.com
/// and any alternate domain names covered by that wildcard (for example, www.example.com
,
/// test.example.com
, dev.example.com
, and so on), if they exist.
///
///
///
/// To list conflicting aliases, you provide the alias to search and the ID of a distribution
/// in your account that has an attached SSL/TLS certificate that includes the provided
/// alias. For more information, including how to set up the distribution and certificate,
/// see Moving
/// an alternate domain name to a different distribution in the Amazon CloudFront
/// Developer Guide.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListConflictingAliases service method.
///
/// The response from the ListConflictingAliases service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// The specified distribution does not exist.
///
/// REST API Reference for ListConflictingAliases Operation
public virtual ListConflictingAliasesResponse ListConflictingAliases(ListConflictingAliasesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConflictingAliasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConflictingAliasesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListConflictingAliases operation.
///
///
/// Container for the necessary parameters to execute the ListConflictingAliases operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConflictingAliases
/// operation.
/// REST API Reference for ListConflictingAliases Operation
public virtual IAsyncResult BeginListConflictingAliases(ListConflictingAliasesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConflictingAliasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConflictingAliasesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListConflictingAliases operation.
///
///
/// The IAsyncResult returned by the call to BeginListConflictingAliases.
///
/// Returns a ListConflictingAliasesResult from CloudFront.
/// REST API Reference for ListConflictingAliases Operation
public virtual ListConflictingAliasesResponse EndListConflictingAliases(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListContinuousDeploymentPolicies
///
/// Gets a list of the continuous deployment policies in your Amazon Web Services account.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListContinuousDeploymentPolicies service method.
///
/// The response from the ListContinuousDeploymentPolicies service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The continuous deployment policy doesn't exist.
///
/// REST API Reference for ListContinuousDeploymentPolicies Operation
public virtual ListContinuousDeploymentPoliciesResponse ListContinuousDeploymentPolicies(ListContinuousDeploymentPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListContinuousDeploymentPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListContinuousDeploymentPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListContinuousDeploymentPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListContinuousDeploymentPolicies operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListContinuousDeploymentPolicies
/// operation.
/// REST API Reference for ListContinuousDeploymentPolicies Operation
public virtual IAsyncResult BeginListContinuousDeploymentPolicies(ListContinuousDeploymentPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListContinuousDeploymentPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListContinuousDeploymentPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListContinuousDeploymentPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListContinuousDeploymentPolicies.
///
/// Returns a ListContinuousDeploymentPoliciesResult from CloudFront.
/// REST API Reference for ListContinuousDeploymentPolicies Operation
public virtual ListContinuousDeploymentPoliciesResponse EndListContinuousDeploymentPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributions
///
/// List CloudFront distributions.
///
///
/// The response from the ListDistributions service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListDistributions Operation
public virtual ListDistributionsResponse ListDistributions()
{
return ListDistributions(new ListDistributionsRequest());
}
///
/// List CloudFront distributions.
///
/// Container for the necessary parameters to execute the ListDistributions service method.
///
/// The response from the ListDistributions service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListDistributions Operation
public virtual ListDistributionsResponse ListDistributions(ListDistributionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributions operation.
///
///
/// Container for the necessary parameters to execute the ListDistributions operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributions
/// operation.
/// REST API Reference for ListDistributions Operation
public virtual IAsyncResult BeginListDistributions(ListDistributionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributions operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributions.
///
/// Returns a ListDistributionsResult from CloudFront.
/// REST API Reference for ListDistributions Operation
public virtual ListDistributionsResponse EndListDistributions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributionsByCachePolicyId
///
/// Gets a list of distribution IDs for distributions that have a cache behavior that's
/// associated with the specified cache policy.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByCachePolicyId service method.
///
/// The response from the ListDistributionsByCachePolicyId service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The cache policy does not exist.
///
/// REST API Reference for ListDistributionsByCachePolicyId Operation
public virtual ListDistributionsByCachePolicyIdResponse ListDistributionsByCachePolicyId(ListDistributionsByCachePolicyIdRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByCachePolicyIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByCachePolicyIdResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributionsByCachePolicyId operation.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByCachePolicyId operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributionsByCachePolicyId
/// operation.
/// REST API Reference for ListDistributionsByCachePolicyId Operation
public virtual IAsyncResult BeginListDistributionsByCachePolicyId(ListDistributionsByCachePolicyIdRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByCachePolicyIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByCachePolicyIdResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributionsByCachePolicyId operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributionsByCachePolicyId.
///
/// Returns a ListDistributionsByCachePolicyIdResult from CloudFront.
/// REST API Reference for ListDistributionsByCachePolicyId Operation
public virtual ListDistributionsByCachePolicyIdResponse EndListDistributionsByCachePolicyId(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributionsByKeyGroup
///
/// Gets a list of distribution IDs for distributions that have a cache behavior that
/// references the specified key group.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByKeyGroup service method.
///
/// The response from the ListDistributionsByKeyGroup service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// A resource that was specified is not valid.
///
/// REST API Reference for ListDistributionsByKeyGroup Operation
public virtual ListDistributionsByKeyGroupResponse ListDistributionsByKeyGroup(ListDistributionsByKeyGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByKeyGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributionsByKeyGroup operation.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByKeyGroup operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributionsByKeyGroup
/// operation.
/// REST API Reference for ListDistributionsByKeyGroup Operation
public virtual IAsyncResult BeginListDistributionsByKeyGroup(ListDistributionsByKeyGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByKeyGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributionsByKeyGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributionsByKeyGroup.
///
/// Returns a ListDistributionsByKeyGroupResult from CloudFront.
/// REST API Reference for ListDistributionsByKeyGroup Operation
public virtual ListDistributionsByKeyGroupResponse EndListDistributionsByKeyGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributionsByOriginRequestPolicyId
///
/// Gets a list of distribution IDs for distributions that have a cache behavior that's
/// associated with the specified origin request policy.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByOriginRequestPolicyId service method.
///
/// The response from the ListDistributionsByOriginRequestPolicyId service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The origin request policy does not exist.
///
/// REST API Reference for ListDistributionsByOriginRequestPolicyId Operation
public virtual ListDistributionsByOriginRequestPolicyIdResponse ListDistributionsByOriginRequestPolicyId(ListDistributionsByOriginRequestPolicyIdRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByOriginRequestPolicyIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByOriginRequestPolicyIdResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributionsByOriginRequestPolicyId operation.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByOriginRequestPolicyId operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributionsByOriginRequestPolicyId
/// operation.
/// REST API Reference for ListDistributionsByOriginRequestPolicyId Operation
public virtual IAsyncResult BeginListDistributionsByOriginRequestPolicyId(ListDistributionsByOriginRequestPolicyIdRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByOriginRequestPolicyIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByOriginRequestPolicyIdResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributionsByOriginRequestPolicyId operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributionsByOriginRequestPolicyId.
///
/// Returns a ListDistributionsByOriginRequestPolicyIdResult from CloudFront.
/// REST API Reference for ListDistributionsByOriginRequestPolicyId Operation
public virtual ListDistributionsByOriginRequestPolicyIdResponse EndListDistributionsByOriginRequestPolicyId(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributionsByRealtimeLogConfig
///
/// Gets a list of distributions that have a cache behavior that's associated with the
/// specified real-time log configuration.
///
///
///
/// You can specify the real-time log configuration by its name or its Amazon Resource
/// Name (ARN). You must provide at least one. If you provide both, CloudFront uses the
/// name to identify the real-time log configuration to list distributions for.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByRealtimeLogConfig service method.
///
/// The response from the ListDistributionsByRealtimeLogConfig service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListDistributionsByRealtimeLogConfig Operation
public virtual ListDistributionsByRealtimeLogConfigResponse ListDistributionsByRealtimeLogConfig(ListDistributionsByRealtimeLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByRealtimeLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributionsByRealtimeLogConfig operation.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByRealtimeLogConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributionsByRealtimeLogConfig
/// operation.
/// REST API Reference for ListDistributionsByRealtimeLogConfig Operation
public virtual IAsyncResult BeginListDistributionsByRealtimeLogConfig(ListDistributionsByRealtimeLogConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByRealtimeLogConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributionsByRealtimeLogConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributionsByRealtimeLogConfig.
///
/// Returns a ListDistributionsByRealtimeLogConfigResult from CloudFront.
/// REST API Reference for ListDistributionsByRealtimeLogConfig Operation
public virtual ListDistributionsByRealtimeLogConfigResponse EndListDistributionsByRealtimeLogConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributionsByResponseHeadersPolicyId
///
/// Gets a list of distribution IDs for distributions that have a cache behavior that's
/// associated with the specified response headers policy.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByResponseHeadersPolicyId service method.
///
/// The response from the ListDistributionsByResponseHeadersPolicyId service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The response headers policy does not exist.
///
/// REST API Reference for ListDistributionsByResponseHeadersPolicyId Operation
public virtual ListDistributionsByResponseHeadersPolicyIdResponse ListDistributionsByResponseHeadersPolicyId(ListDistributionsByResponseHeadersPolicyIdRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByResponseHeadersPolicyIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByResponseHeadersPolicyIdResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributionsByResponseHeadersPolicyId operation.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByResponseHeadersPolicyId operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributionsByResponseHeadersPolicyId
/// operation.
/// REST API Reference for ListDistributionsByResponseHeadersPolicyId Operation
public virtual IAsyncResult BeginListDistributionsByResponseHeadersPolicyId(ListDistributionsByResponseHeadersPolicyIdRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByResponseHeadersPolicyIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByResponseHeadersPolicyIdResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributionsByResponseHeadersPolicyId operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributionsByResponseHeadersPolicyId.
///
/// Returns a ListDistributionsByResponseHeadersPolicyIdResult from CloudFront.
/// REST API Reference for ListDistributionsByResponseHeadersPolicyId Operation
public virtual ListDistributionsByResponseHeadersPolicyIdResponse EndListDistributionsByResponseHeadersPolicyId(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDistributionsByWebACLId
///
/// List the distributions that are associated with a specified WAF web ACL.
///
/// Container for the necessary parameters to execute the ListDistributionsByWebACLId service method.
///
/// The response from the ListDistributionsByWebACLId service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// A web ACL ID specified is not valid. To specify a web ACL created using the latest
/// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
/// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
///
/// REST API Reference for ListDistributionsByWebACLId Operation
public virtual ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId(ListDistributionsByWebACLIdRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByWebACLIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByWebACLIdResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDistributionsByWebACLId operation.
///
///
/// Container for the necessary parameters to execute the ListDistributionsByWebACLId operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDistributionsByWebACLId
/// operation.
/// REST API Reference for ListDistributionsByWebACLId Operation
public virtual IAsyncResult BeginListDistributionsByWebACLId(ListDistributionsByWebACLIdRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributionsByWebACLIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributionsByWebACLIdResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDistributionsByWebACLId operation.
///
///
/// The IAsyncResult returned by the call to BeginListDistributionsByWebACLId.
///
/// Returns a ListDistributionsByWebACLIdResult from CloudFront.
/// REST API Reference for ListDistributionsByWebACLId Operation
public virtual ListDistributionsByWebACLIdResponse EndListDistributionsByWebACLId(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFieldLevelEncryptionConfigs
///
/// List all field-level encryption configurations that have been created in CloudFront
/// for this account.
///
/// Container for the necessary parameters to execute the ListFieldLevelEncryptionConfigs service method.
///
/// The response from the ListFieldLevelEncryptionConfigs service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListFieldLevelEncryptionConfigs Operation
public virtual ListFieldLevelEncryptionConfigsResponse ListFieldLevelEncryptionConfigs(ListFieldLevelEncryptionConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFieldLevelEncryptionConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFieldLevelEncryptionConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFieldLevelEncryptionConfigs operation.
///
///
/// Container for the necessary parameters to execute the ListFieldLevelEncryptionConfigs operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFieldLevelEncryptionConfigs
/// operation.
/// REST API Reference for ListFieldLevelEncryptionConfigs Operation
public virtual IAsyncResult BeginListFieldLevelEncryptionConfigs(ListFieldLevelEncryptionConfigsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFieldLevelEncryptionConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFieldLevelEncryptionConfigsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFieldLevelEncryptionConfigs operation.
///
///
/// The IAsyncResult returned by the call to BeginListFieldLevelEncryptionConfigs.
///
/// Returns a ListFieldLevelEncryptionConfigsResult from CloudFront.
/// REST API Reference for ListFieldLevelEncryptionConfigs Operation
public virtual ListFieldLevelEncryptionConfigsResponse EndListFieldLevelEncryptionConfigs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFieldLevelEncryptionProfiles
///
/// Request a list of field-level encryption profiles that have been created in CloudFront
/// for this account.
///
/// Container for the necessary parameters to execute the ListFieldLevelEncryptionProfiles service method.
///
/// The response from the ListFieldLevelEncryptionProfiles service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListFieldLevelEncryptionProfiles Operation
public virtual ListFieldLevelEncryptionProfilesResponse ListFieldLevelEncryptionProfiles(ListFieldLevelEncryptionProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFieldLevelEncryptionProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFieldLevelEncryptionProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFieldLevelEncryptionProfiles operation.
///
///
/// Container for the necessary parameters to execute the ListFieldLevelEncryptionProfiles operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFieldLevelEncryptionProfiles
/// operation.
/// REST API Reference for ListFieldLevelEncryptionProfiles Operation
public virtual IAsyncResult BeginListFieldLevelEncryptionProfiles(ListFieldLevelEncryptionProfilesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFieldLevelEncryptionProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFieldLevelEncryptionProfilesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFieldLevelEncryptionProfiles operation.
///
///
/// The IAsyncResult returned by the call to BeginListFieldLevelEncryptionProfiles.
///
/// Returns a ListFieldLevelEncryptionProfilesResult from CloudFront.
/// REST API Reference for ListFieldLevelEncryptionProfiles Operation
public virtual ListFieldLevelEncryptionProfilesResponse EndListFieldLevelEncryptionProfiles(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFunctions
///
/// Gets a list of all CloudFront functions in your Amazon Web Services account.
///
///
///
/// You can optionally apply a filter to return only the functions that are in the specified
/// stage, either DEVELOPMENT
or LIVE
.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListFunctions service method.
///
/// The response from the ListFunctions service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for ListFunctions Operation
public virtual ListFunctionsResponse ListFunctions(ListFunctionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFunctions operation.
///
///
/// Container for the necessary parameters to execute the ListFunctions operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFunctions
/// operation.
/// REST API Reference for ListFunctions Operation
public virtual IAsyncResult BeginListFunctions(ListFunctionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFunctionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFunctions operation.
///
///
/// The IAsyncResult returned by the call to BeginListFunctions.
///
/// Returns a ListFunctionsResult from CloudFront.
/// REST API Reference for ListFunctions Operation
public virtual ListFunctionsResponse EndListFunctions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListInvalidations
///
/// Lists invalidation batches.
///
/// Container for the necessary parameters to execute the ListInvalidations service method.
///
/// The response from the ListInvalidations service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The specified distribution does not exist.
///
/// REST API Reference for ListInvalidations Operation
public virtual ListInvalidationsResponse ListInvalidations(ListInvalidationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInvalidationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInvalidationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListInvalidations operation.
///
///
/// Container for the necessary parameters to execute the ListInvalidations operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListInvalidations
/// operation.
/// REST API Reference for ListInvalidations Operation
public virtual IAsyncResult BeginListInvalidations(ListInvalidationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInvalidationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInvalidationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListInvalidations operation.
///
///
/// The IAsyncResult returned by the call to BeginListInvalidations.
///
/// Returns a ListInvalidationsResult from CloudFront.
/// REST API Reference for ListInvalidations Operation
public virtual ListInvalidationsResponse EndListInvalidations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListKeyGroups
///
/// Gets a list of key groups.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListKeyGroups service method.
///
/// The response from the ListKeyGroups service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListKeyGroups Operation
public virtual ListKeyGroupsResponse ListKeyGroups(ListKeyGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeyGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeyGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListKeyGroups operation.
///
///
/// Container for the necessary parameters to execute the ListKeyGroups operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListKeyGroups
/// operation.
/// REST API Reference for ListKeyGroups Operation
public virtual IAsyncResult BeginListKeyGroups(ListKeyGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeyGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeyGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListKeyGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListKeyGroups.
///
/// Returns a ListKeyGroupsResult from CloudFront.
/// REST API Reference for ListKeyGroups Operation
public virtual ListKeyGroupsResponse EndListKeyGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListOriginAccessControls
///
/// Gets the list of CloudFront origin access controls in this Amazon Web Services account.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// another request that specifies the NextMarker
value from the current
/// response as the Marker
value in the next request.
///
///
/// Container for the necessary parameters to execute the ListOriginAccessControls service method.
///
/// The response from the ListOriginAccessControls service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListOriginAccessControls Operation
public virtual ListOriginAccessControlsResponse ListOriginAccessControls(ListOriginAccessControlsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOriginAccessControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOriginAccessControlsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListOriginAccessControls operation.
///
///
/// Container for the necessary parameters to execute the ListOriginAccessControls operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOriginAccessControls
/// operation.
/// REST API Reference for ListOriginAccessControls Operation
public virtual IAsyncResult BeginListOriginAccessControls(ListOriginAccessControlsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOriginAccessControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOriginAccessControlsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListOriginAccessControls operation.
///
///
/// The IAsyncResult returned by the call to BeginListOriginAccessControls.
///
/// Returns a ListOriginAccessControlsResult from CloudFront.
/// REST API Reference for ListOriginAccessControls Operation
public virtual ListOriginAccessControlsResponse EndListOriginAccessControls(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListOriginRequestPolicies
///
/// Gets a list of origin request policies.
///
///
///
/// You can optionally apply a filter to return only the managed policies created by Amazon
/// Web Services, or only the custom policies created in your Amazon Web Services account.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListOriginRequestPolicies service method.
///
/// The response from the ListOriginRequestPolicies service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The origin request policy does not exist.
///
/// REST API Reference for ListOriginRequestPolicies Operation
public virtual ListOriginRequestPoliciesResponse ListOriginRequestPolicies(ListOriginRequestPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOriginRequestPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOriginRequestPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListOriginRequestPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListOriginRequestPolicies operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOriginRequestPolicies
/// operation.
/// REST API Reference for ListOriginRequestPolicies Operation
public virtual IAsyncResult BeginListOriginRequestPolicies(ListOriginRequestPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOriginRequestPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOriginRequestPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListOriginRequestPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListOriginRequestPolicies.
///
/// Returns a ListOriginRequestPoliciesResult from CloudFront.
/// REST API Reference for ListOriginRequestPolicies Operation
public virtual ListOriginRequestPoliciesResponse EndListOriginRequestPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListPublicKeys
///
/// List all public keys that have been added to CloudFront for this account.
///
/// Container for the necessary parameters to execute the ListPublicKeys service method.
///
/// The response from the ListPublicKeys service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListPublicKeys Operation
public virtual ListPublicKeysResponse ListPublicKeys(ListPublicKeysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPublicKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPublicKeysResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListPublicKeys operation.
///
///
/// Container for the necessary parameters to execute the ListPublicKeys operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPublicKeys
/// operation.
/// REST API Reference for ListPublicKeys Operation
public virtual IAsyncResult BeginListPublicKeys(ListPublicKeysRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPublicKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPublicKeysResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPublicKeys operation.
///
///
/// The IAsyncResult returned by the call to BeginListPublicKeys.
///
/// Returns a ListPublicKeysResult from CloudFront.
/// REST API Reference for ListPublicKeys Operation
public virtual ListPublicKeysResponse EndListPublicKeys(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListRealtimeLogConfigs
///
/// Gets a list of real-time log configurations.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListRealtimeLogConfigs service method.
///
/// The response from the ListRealtimeLogConfigs service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The real-time log configuration does not exist.
///
/// REST API Reference for ListRealtimeLogConfigs Operation
public virtual ListRealtimeLogConfigsResponse ListRealtimeLogConfigs(ListRealtimeLogConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRealtimeLogConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRealtimeLogConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListRealtimeLogConfigs operation.
///
///
/// Container for the necessary parameters to execute the ListRealtimeLogConfigs operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRealtimeLogConfigs
/// operation.
/// REST API Reference for ListRealtimeLogConfigs Operation
public virtual IAsyncResult BeginListRealtimeLogConfigs(ListRealtimeLogConfigsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRealtimeLogConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRealtimeLogConfigsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRealtimeLogConfigs operation.
///
///
/// The IAsyncResult returned by the call to BeginListRealtimeLogConfigs.
///
/// Returns a ListRealtimeLogConfigsResult from CloudFront.
/// REST API Reference for ListRealtimeLogConfigs Operation
public virtual ListRealtimeLogConfigsResponse EndListRealtimeLogConfigs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListResponseHeadersPolicies
///
/// Gets a list of response headers policies.
///
///
///
/// You can optionally apply a filter to get only the managed policies created by Amazon
/// Web Services, or only the custom policies created in your Amazon Web Services account.
///
///
///
/// You can optionally specify the maximum number of items to receive in the response.
/// If the total number of items in the list exceeds the maximum that you specify, or
/// the default maximum, the response is paginated. To get the next page of items, send
/// a subsequent request that specifies the NextMarker
value from the current
/// response as the Marker
value in the subsequent request.
///
///
/// Container for the necessary parameters to execute the ListResponseHeadersPolicies service method.
///
/// The response from the ListResponseHeadersPolicies service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The response headers policy does not exist.
///
/// REST API Reference for ListResponseHeadersPolicies Operation
public virtual ListResponseHeadersPoliciesResponse ListResponseHeadersPolicies(ListResponseHeadersPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResponseHeadersPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResponseHeadersPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListResponseHeadersPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListResponseHeadersPolicies operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResponseHeadersPolicies
/// operation.
/// REST API Reference for ListResponseHeadersPolicies Operation
public virtual IAsyncResult BeginListResponseHeadersPolicies(ListResponseHeadersPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResponseHeadersPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResponseHeadersPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListResponseHeadersPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListResponseHeadersPolicies.
///
/// Returns a ListResponseHeadersPoliciesResult from CloudFront.
/// REST API Reference for ListResponseHeadersPolicies Operation
public virtual ListResponseHeadersPoliciesResponse EndListResponseHeadersPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListStreamingDistributions
///
/// List streaming distributions.
///
///
/// The response from the ListStreamingDistributions service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListStreamingDistributions Operation
public virtual ListStreamingDistributionsResponse ListStreamingDistributions()
{
return ListStreamingDistributions(new ListStreamingDistributionsRequest());
}
///
/// List streaming distributions.
///
/// Container for the necessary parameters to execute the ListStreamingDistributions service method.
///
/// The response from the ListStreamingDistributions service method, as returned by CloudFront.
///
/// An argument is invalid.
///
/// REST API Reference for ListStreamingDistributions Operation
public virtual ListStreamingDistributionsResponse ListStreamingDistributions(ListStreamingDistributionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStreamingDistributionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStreamingDistributionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListStreamingDistributions operation.
///
///
/// Container for the necessary parameters to execute the ListStreamingDistributions operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStreamingDistributions
/// operation.
/// REST API Reference for ListStreamingDistributions Operation
public virtual IAsyncResult BeginListStreamingDistributions(ListStreamingDistributionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStreamingDistributionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStreamingDistributionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListStreamingDistributions operation.
///
///
/// The IAsyncResult returned by the call to BeginListStreamingDistributions.
///
/// Returns a ListStreamingDistributionsResult from CloudFront.
/// REST API Reference for ListStreamingDistributions Operation
public virtual ListStreamingDistributionsResponse EndListStreamingDistributions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// List tags for a CloudFront resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The tagging specified is not valid.
///
///
/// A resource that was specified is not valid.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from CloudFront.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PublishFunction
///
/// Publishes a CloudFront function by copying the function code from the DEVELOPMENT
/// stage to LIVE
. This automatically updates all cache behaviors that are
/// using this function to use the newly published copy in the LIVE
stage.
///
///
///
/// When a function is published to the LIVE
stage, you can attach the function
/// to a distribution's cache behavior, using the function's Amazon Resource Name (ARN).
///
///
///
/// To publish a function, you must provide the function's name and version (ETag
/// value). To get these values, you can use ListFunctions
and DescribeFunction
.
///
///
/// Container for the necessary parameters to execute the PublishFunction service method.
///
/// The response from the PublishFunction service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The function does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for PublishFunction Operation
public virtual PublishFunctionResponse PublishFunction(PublishFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PublishFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PublishFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PublishFunction operation.
///
///
/// Container for the necessary parameters to execute the PublishFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPublishFunction
/// operation.
/// REST API Reference for PublishFunction Operation
public virtual IAsyncResult BeginPublishFunction(PublishFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PublishFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PublishFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PublishFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginPublishFunction.
///
/// Returns a PublishFunctionResult from CloudFront.
/// REST API Reference for PublishFunction Operation
public virtual PublishFunctionResponse EndPublishFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Add tags to a CloudFront resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The tagging specified is not valid.
///
///
/// A resource that was specified is not valid.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from CloudFront.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TestFunction
///
/// Tests a CloudFront function.
///
///
///
/// To test a function, you provide an event object that represents an HTTP request
/// or response that your CloudFront distribution could receive in production. CloudFront
/// runs the function, passing it the event object that you provided, and returns the
/// function's result (the modified event object) in the response. The response also contains
/// function logs and error messages, if any exist. For more information about testing
/// functions, see Testing
/// functions in the Amazon CloudFront Developer Guide.
///
///
///
/// To test a function, you provide the function's name and version (ETag
/// value) along with the event object. To get the function's name and version, you can
/// use ListFunctions
and DescribeFunction
.
///
///
/// Container for the necessary parameters to execute the TestFunction service method.
///
/// The response from the TestFunction service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The function does not exist.
///
///
/// The CloudFront function failed.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for TestFunction Operation
public virtual TestFunctionResponse TestFunction(TestFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TestFunction operation.
///
///
/// Container for the necessary parameters to execute the TestFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestFunction
/// operation.
/// REST API Reference for TestFunction Operation
public virtual IAsyncResult BeginTestFunction(TestFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TestFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginTestFunction.
///
/// Returns a TestFunctionResult from CloudFront.
/// REST API Reference for TestFunction Operation
public virtual TestFunctionResponse EndTestFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Remove tags from a CloudFront resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The tagging specified is not valid.
///
///
/// A resource that was specified is not valid.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from CloudFront.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateCachePolicy
///
/// Updates a cache policy configuration.
///
///
///
/// When you update a cache policy configuration, all the fields are updated with the
/// values provided in the request. You cannot update some fields independent of others.
/// To update a cache policy configuration:
///
/// -
///
/// Use
GetCachePolicyConfig
to get the current configuration.
///
/// -
///
/// Locally modify the fields in the cache policy configuration that you want to update.
///
///
-
///
/// Call
UpdateCachePolicy
by providing the entire cache policy configuration,
/// including the fields that you modified and those that you didn't.
///
///
///
/// Container for the necessary parameters to execute the UpdateCachePolicy service method.
///
/// The response from the UpdateCachePolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// A cache policy with this name already exists. You must provide a unique name. To modify
/// an existing cache policy, use UpdateCachePolicy
.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The cache policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The number of cookies in the cache policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of headers in the cache policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of query strings in the cache policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for UpdateCachePolicy Operation
public virtual UpdateCachePolicyResponse UpdateCachePolicy(UpdateCachePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCachePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateCachePolicy operation.
///
///
/// Container for the necessary parameters to execute the UpdateCachePolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCachePolicy
/// operation.
/// REST API Reference for UpdateCachePolicy Operation
public virtual IAsyncResult BeginUpdateCachePolicy(UpdateCachePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCachePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCachePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateCachePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateCachePolicy.
///
/// Returns a UpdateCachePolicyResult from CloudFront.
/// REST API Reference for UpdateCachePolicy Operation
public virtual UpdateCachePolicyResponse EndUpdateCachePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateCloudFrontOriginAccessIdentity
///
/// Update an origin access identity.
///
/// Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity service method.
///
/// The response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The specified origin access identity does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for UpdateCloudFrontOriginAccessIdentity Operation
public virtual UpdateCloudFrontOriginAccessIdentityResponse UpdateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateCloudFrontOriginAccessIdentity operation.
///
///
/// Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCloudFrontOriginAccessIdentity
/// operation.
/// REST API Reference for UpdateCloudFrontOriginAccessIdentity Operation
public virtual IAsyncResult BeginUpdateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCloudFrontOriginAccessIdentityRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateCloudFrontOriginAccessIdentity operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateCloudFrontOriginAccessIdentity.
///
/// Returns a UpdateCloudFrontOriginAccessIdentityResult from CloudFront.
/// REST API Reference for UpdateCloudFrontOriginAccessIdentity Operation
public virtual UpdateCloudFrontOriginAccessIdentityResponse EndUpdateCloudFrontOriginAccessIdentity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateContinuousDeploymentPolicy
///
/// Updates a continuous deployment policy. You can update a continuous deployment policy
/// to enable or disable it, to change the percentage of traffic that it sends to the
/// staging distribution, or to change the staging distribution that it sends traffic
/// to.
///
///
///
/// When you update a continuous deployment policy configuration, all the fields are updated
/// with the values that are provided in the request. You cannot update some fields independent
/// of others. To update a continuous deployment policy configuration:
///
/// -
///
/// Use
GetContinuousDeploymentPolicyConfig
to get the current configuration.
///
/// -
///
/// Locally modify the fields in the continuous deployment policy configuration that you
/// want to update.
///
///
-
///
/// Use
UpdateContinuousDeploymentPolicy
, providing the entire continuous
/// deployment policy configuration, including the fields that you modified and those
/// that you didn't.
///
///
///
/// Container for the necessary parameters to execute the UpdateContinuousDeploymentPolicy service method.
///
/// The response from the UpdateContinuousDeploymentPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The continuous deployment policy doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// A continuous deployment policy for this staging distribution already exists.
///
/// REST API Reference for UpdateContinuousDeploymentPolicy Operation
public virtual UpdateContinuousDeploymentPolicyResponse UpdateContinuousDeploymentPolicy(UpdateContinuousDeploymentPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateContinuousDeploymentPolicy operation.
///
///
/// Container for the necessary parameters to execute the UpdateContinuousDeploymentPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateContinuousDeploymentPolicy
/// operation.
/// REST API Reference for UpdateContinuousDeploymentPolicy Operation
public virtual IAsyncResult BeginUpdateContinuousDeploymentPolicy(UpdateContinuousDeploymentPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateContinuousDeploymentPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateContinuousDeploymentPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateContinuousDeploymentPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateContinuousDeploymentPolicy.
///
/// Returns a UpdateContinuousDeploymentPolicyResult from CloudFront.
/// REST API Reference for UpdateContinuousDeploymentPolicy Operation
public virtual UpdateContinuousDeploymentPolicyResponse EndUpdateContinuousDeploymentPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDistribution
///
/// Updates the configuration for a CloudFront distribution.
///
///
///
/// The update process includes getting the current distribution configuration, updating
/// it to make your changes, and then submitting an UpdateDistribution
request
/// to make the updates.
///
///
///
/// To update a web distribution using the CloudFront API
///
/// -
///
/// Use
GetDistributionConfig
to get the current configuration, including
/// the version identifier (ETag
).
///
/// -
///
/// 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
.
///
///
-
///
/// Submit an
UpdateDistribution
request, providing the distribution configuration.
/// The new configuration replaces the existing configuration. The values that you specify
/// in an UpdateDistribution
request are not merged into your existing configuration.
/// Make sure to include all fields: the ones that you modified and also the ones that
/// you didn't.
///
///
///
/// Container for the necessary parameters to execute the UpdateDistribution service method.
///
/// The response from the UpdateDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// You cannot delete a continuous deployment policy that is associated with a primary
/// distribution.
///
///
/// The specified configuration for field-level encryption can't be associated with the
/// specified cache behavior.
///
///
/// An origin cannot contain both an origin access control (OAC) and an origin access
/// identity (OAI).
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The default root object file name is too big or contains an invalid character.
///
///
/// An origin access control is associated with an origin whose domain name is not supported.
///
///
/// An invalid error code was specified.
///
///
/// Your request contains forward cookies option which doesn't match with the expectation
/// for the whitelisted
list of cookie names. Either list of cookie names
/// has been specified when not allowed or list of cookie names is missing when expected.
///
///
/// A CloudFront function association is invalid.
///
///
/// The specified geo restriction parameter is not valid.
///
///
/// The headers specified are not valid for an Amazon S3 origin.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified Lambda@Edge function association is invalid.
///
///
/// The location code specified is not valid.
///
///
/// The minimum protocol version specified is not valid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The keep alive timeout specified for the origin is not valid.
///
///
/// The read timeout specified for the origin is not valid.
///
///
/// The query string parameters specified are not valid.
///
///
/// The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
///
///
/// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
/// in your request, or omit the RequiredProtocols
element from your distribution
/// configuration.
///
///
/// A response code is not valid.
///
///
/// The TTL order specified is not valid.
///
///
/// A viewer certificate specified is not valid.
///
///
/// A web ACL ID specified is not valid. To specify a web ACL created using the latest
/// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
/// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The cache policy does not exist.
///
///
/// The continuous deployment policy doesn't exist.
///
///
/// The specified distribution does not exist.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// No origin exists with the specified Origin Id
.
///
///
/// The origin request policy does not exist.
///
///
/// The real-time log configuration does not exist.
///
///
/// The response headers policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The specified real-time log configuration belongs to a different Amazon Web Services
/// account.
///
///
/// A continuous deployment policy for this staging distribution already exists.
///
///
/// You cannot create more cache behaviors for the distribution.
///
///
/// You cannot create anymore custom SSL/TLS certificates.
///
///
/// Your request contains more cookie names in the whitelist than are allowed per cache
/// behavior.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// The maximum number of distributions have been associated with the specified cache
/// policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified configuration
/// for field-level encryption.
///
///
/// The number of distributions that reference this key group is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified origin
/// access control.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The maximum number of distributions have been associated with the specified origin
/// request policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified response
/// headers policy.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// You have reached the maximum number of distributions that are associated with a CloudFront
/// function. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Processing your request would cause the maximum number of distributions with Lambda@Edge
/// function associations per owner to be exceeded.
///
///
/// The maximum number of distributions have been associated with the specified Lambda@Edge
/// function.
///
///
/// You have reached the maximum number of CloudFront function associations for this distribution.
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains too many headers in forwarded values.
///
///
/// The number of key groups referenced by this distribution is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains more Lambda@Edge function associations than are allowed per
/// distribution.
///
///
/// Your request contains too many origin custom headers.
///
///
/// Processing your request would cause you to exceed the maximum number of origin groups
/// allowed.
///
///
/// You cannot create more origins for the distribution.
///
///
/// Your request contains too many query string parameters.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// The specified key group does not exist.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for UpdateDistribution Operation
public virtual UpdateDistributionResponse UpdateDistribution(UpdateDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDistribution operation.
///
///
/// Container for the necessary parameters to execute the UpdateDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDistribution
/// operation.
/// REST API Reference for UpdateDistribution Operation
public virtual IAsyncResult BeginUpdateDistribution(UpdateDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDistribution.
///
/// Returns a UpdateDistributionResult from CloudFront.
/// REST API Reference for UpdateDistribution Operation
public virtual UpdateDistributionResponse EndUpdateDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDistributionWithStagingConfig
///
/// Copies the staging distribution's configuration to its corresponding primary distribution.
/// The primary distribution retains its Aliases
(also known as alternate
/// domain names or CNAMEs) and ContinuousDeploymentPolicyId
value, but otherwise
/// its configuration is overwritten to match the staging distribution.
///
///
///
/// You can use this operation in a continuous deployment workflow after you have tested
/// configuration changes on the staging distribution. After using a continuous deployment
/// policy to move a portion of your domain name's traffic to the staging distribution
/// and verifying that it works as intended, you can use this operation to copy the staging
/// distribution's configuration to the primary distribution. This action will disable
/// the continuous deployment policy and move your domain's traffic back to the primary
/// distribution.
///
///
///
/// This API operation requires the following IAM permissions:
///
///
///
/// Container for the necessary parameters to execute the UpdateDistributionWithStagingConfig service method.
///
/// The response from the UpdateDistributionWithStagingConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// The specified configuration for field-level encryption can't be associated with the
/// specified cache behavior.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The default root object file name is too big or contains an invalid character.
///
///
/// An invalid error code was specified.
///
///
/// Your request contains forward cookies option which doesn't match with the expectation
/// for the whitelisted
list of cookie names. Either list of cookie names
/// has been specified when not allowed or list of cookie names is missing when expected.
///
///
/// A CloudFront function association is invalid.
///
///
/// The specified geo restriction parameter is not valid.
///
///
/// The headers specified are not valid for an Amazon S3 origin.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified Lambda@Edge function association is invalid.
///
///
/// The location code specified is not valid.
///
///
/// The minimum protocol version specified is not valid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// The keep alive timeout specified for the origin is not valid.
///
///
/// The read timeout specified for the origin is not valid.
///
///
/// The query string parameters specified are not valid.
///
///
/// The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
///
///
/// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
/// in your request, or omit the RequiredProtocols
element from your distribution
/// configuration.
///
///
/// A response code is not valid.
///
///
/// The TTL order specified is not valid.
///
///
/// A viewer certificate specified is not valid.
///
///
/// A web ACL ID specified is not valid. To specify a web ACL created using the latest
/// version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
/// To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The cache policy does not exist.
///
///
/// The specified distribution does not exist.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// No origin exists with the specified Origin Id
.
///
///
/// The origin request policy does not exist.
///
///
/// The real-time log configuration does not exist.
///
///
/// The response headers policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The specified real-time log configuration belongs to a different Amazon Web Services
/// account.
///
///
/// You cannot create more cache behaviors for the distribution.
///
///
/// You cannot create anymore custom SSL/TLS certificates.
///
///
/// Your request contains more cookie names in the whitelist than are allowed per cache
/// behavior.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// The maximum number of distributions have been associated with the specified cache
/// policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified configuration
/// for field-level encryption.
///
///
/// The number of distributions that reference this key group is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified origin
/// access control.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The maximum number of distributions have been associated with the specified origin
/// request policy. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The maximum number of distributions have been associated with the specified response
/// headers policy.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// You have reached the maximum number of distributions that are associated with a CloudFront
/// function. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Processing your request would cause the maximum number of distributions with Lambda@Edge
/// function associations per owner to be exceeded.
///
///
/// The maximum number of distributions have been associated with the specified Lambda@Edge
/// function.
///
///
/// You have reached the maximum number of CloudFront function associations for this distribution.
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains too many headers in forwarded values.
///
///
/// The number of key groups referenced by this distribution is more than the maximum
/// allowed. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// Your request contains more Lambda@Edge function associations than are allowed per
/// distribution.
///
///
/// Your request contains too many origin custom headers.
///
///
/// Processing your request would cause you to exceed the maximum number of origin groups
/// allowed.
///
///
/// You cannot create more origins for the distribution.
///
///
/// Your request contains too many query string parameters.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// The specified key group does not exist.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for UpdateDistributionWithStagingConfig Operation
public virtual UpdateDistributionWithStagingConfigResponse UpdateDistributionWithStagingConfig(UpdateDistributionWithStagingConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDistributionWithStagingConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDistributionWithStagingConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDistributionWithStagingConfig operation.
///
///
/// Container for the necessary parameters to execute the UpdateDistributionWithStagingConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDistributionWithStagingConfig
/// operation.
/// REST API Reference for UpdateDistributionWithStagingConfig Operation
public virtual IAsyncResult BeginUpdateDistributionWithStagingConfig(UpdateDistributionWithStagingConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDistributionWithStagingConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDistributionWithStagingConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDistributionWithStagingConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDistributionWithStagingConfig.
///
/// Returns a UpdateDistributionWithStagingConfigResult from CloudFront.
/// REST API Reference for UpdateDistributionWithStagingConfig Operation
public virtual UpdateDistributionWithStagingConfigResponse EndUpdateDistributionWithStagingConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateFieldLevelEncryptionConfig
///
/// Update a field-level encryption configuration.
///
/// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionConfig service method.
///
/// The response from the UpdateFieldLevelEncryptionConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified configuration for field-level encryption doesn't exist.
///
///
/// The specified profile for field-level encryption doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// No profile specified for the field-level encryption query argument.
///
///
/// The maximum number of content type profiles for field-level encryption have been created.
///
///
/// The maximum number of query arg profiles for field-level encryption have been created.
///
/// REST API Reference for UpdateFieldLevelEncryptionConfig Operation
public virtual UpdateFieldLevelEncryptionConfigResponse UpdateFieldLevelEncryptionConfig(UpdateFieldLevelEncryptionConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateFieldLevelEncryptionConfig operation.
///
///
/// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFieldLevelEncryptionConfig
/// operation.
/// REST API Reference for UpdateFieldLevelEncryptionConfig Operation
public virtual IAsyncResult BeginUpdateFieldLevelEncryptionConfig(UpdateFieldLevelEncryptionConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFieldLevelEncryptionConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFieldLevelEncryptionConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFieldLevelEncryptionConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFieldLevelEncryptionConfig.
///
/// Returns a UpdateFieldLevelEncryptionConfigResult from CloudFront.
/// REST API Reference for UpdateFieldLevelEncryptionConfig Operation
public virtual UpdateFieldLevelEncryptionConfigResponse EndUpdateFieldLevelEncryptionConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateFieldLevelEncryptionProfile
///
/// Update a field-level encryption profile.
///
/// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionProfile service method.
///
/// The response from the UpdateFieldLevelEncryptionProfile service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The specified profile for field-level encryption already exists.
///
///
/// The maximum size of a profile for field-level encryption was exceeded.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified profile for field-level encryption doesn't exist.
///
///
/// The specified public key doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The maximum number of encryption entities for field-level encryption have been created.
///
///
/// The maximum number of field patterns for field-level encryption have been created.
///
/// REST API Reference for UpdateFieldLevelEncryptionProfile Operation
public virtual UpdateFieldLevelEncryptionProfileResponse UpdateFieldLevelEncryptionProfile(UpdateFieldLevelEncryptionProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateFieldLevelEncryptionProfile operation.
///
///
/// Container for the necessary parameters to execute the UpdateFieldLevelEncryptionProfile operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFieldLevelEncryptionProfile
/// operation.
/// REST API Reference for UpdateFieldLevelEncryptionProfile Operation
public virtual IAsyncResult BeginUpdateFieldLevelEncryptionProfile(UpdateFieldLevelEncryptionProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFieldLevelEncryptionProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFieldLevelEncryptionProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFieldLevelEncryptionProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFieldLevelEncryptionProfile.
///
/// Returns a UpdateFieldLevelEncryptionProfileResult from CloudFront.
/// REST API Reference for UpdateFieldLevelEncryptionProfile Operation
public virtual UpdateFieldLevelEncryptionProfileResponse EndUpdateFieldLevelEncryptionProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateFunction
///
/// Updates a CloudFront function.
///
///
///
/// You can update a function's code or the comment that describes the function. You cannot
/// update a function's name.
///
///
///
/// To update a function, you provide the function's name and version (ETag
/// value) along with the updated function code. To get the name and version, you can
/// use ListFunctions
and DescribeFunction
.
///
///
/// Container for the necessary parameters to execute the UpdateFunction service method.
///
/// The response from the UpdateFunction service method, as returned by CloudFront.
///
/// The function is too large. For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The function does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// This operation is not supported in this region.
///
/// REST API Reference for UpdateFunction Operation
public virtual UpdateFunctionResponse UpdateFunction(UpdateFunctionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateFunction operation.
///
///
/// Container for the necessary parameters to execute the UpdateFunction operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFunction
/// operation.
/// REST API Reference for UpdateFunction Operation
public virtual IAsyncResult BeginUpdateFunction(UpdateFunctionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFunctionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFunctionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFunction operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFunction.
///
/// Returns a UpdateFunctionResult from CloudFront.
/// REST API Reference for UpdateFunction Operation
public virtual UpdateFunctionResponse EndUpdateFunction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateKeyGroup
///
/// Updates a key group.
///
///
///
/// When you update a key group, all the fields are updated with the values provided in
/// the request. You cannot update some fields independent of others. To update a key
/// group:
///
/// -
///
/// Get the current key group with
GetKeyGroup
or GetKeyGroupConfig
.
///
/// -
///
/// Locally modify the fields in the key group that you want to update. For example, add
/// or remove public key IDs.
///
///
-
///
/// Call
UpdateKeyGroup
with the entire key group object, including the fields
/// that you modified and those that you didn't.
///
///
///
/// Container for the necessary parameters to execute the UpdateKeyGroup service method.
///
/// The response from the UpdateKeyGroup service method, as returned by CloudFront.
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// A key group with this name already exists. You must provide a unique name. To modify
/// an existing key group, use UpdateKeyGroup
.
///
///
/// A resource that was specified is not valid.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The number of public keys in this key group is more than the maximum allowed. For
/// more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for UpdateKeyGroup Operation
public virtual UpdateKeyGroupResponse UpdateKeyGroup(UpdateKeyGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateKeyGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateKeyGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateKeyGroup operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateKeyGroup
/// operation.
/// REST API Reference for UpdateKeyGroup Operation
public virtual IAsyncResult BeginUpdateKeyGroup(UpdateKeyGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateKeyGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateKeyGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateKeyGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateKeyGroup.
///
/// Returns a UpdateKeyGroupResult from CloudFront.
/// REST API Reference for UpdateKeyGroup Operation
public virtual UpdateKeyGroupResponse EndUpdateKeyGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateOriginAccessControl
///
/// Updates a CloudFront origin access control.
///
/// Container for the necessary parameters to execute the UpdateOriginAccessControl service method.
///
/// The response from the UpdateOriginAccessControl service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The update contains modifications that are not allowed.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The origin access control does not exist.
///
///
/// An origin access control with the specified parameters already exists.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for UpdateOriginAccessControl Operation
public virtual UpdateOriginAccessControlResponse UpdateOriginAccessControl(UpdateOriginAccessControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOriginAccessControlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateOriginAccessControl operation.
///
///
/// Container for the necessary parameters to execute the UpdateOriginAccessControl operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOriginAccessControl
/// operation.
/// REST API Reference for UpdateOriginAccessControl Operation
public virtual IAsyncResult BeginUpdateOriginAccessControl(UpdateOriginAccessControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOriginAccessControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOriginAccessControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateOriginAccessControl operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateOriginAccessControl.
///
/// Returns a UpdateOriginAccessControlResult from CloudFront.
/// REST API Reference for UpdateOriginAccessControl Operation
public virtual UpdateOriginAccessControlResponse EndUpdateOriginAccessControl(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateOriginRequestPolicy
///
/// Updates an origin request policy configuration.
///
///
///
/// When you update an origin request policy configuration, all the fields are updated
/// with the values provided in the request. You cannot update some fields independent
/// of others. To update an origin request policy configuration:
///
/// -
///
/// Use
GetOriginRequestPolicyConfig
to get the current configuration.
///
/// -
///
/// Locally modify the fields in the origin request policy configuration that you want
/// to update.
///
///
-
///
/// Call
UpdateOriginRequestPolicy
by providing the entire origin request
/// policy configuration, including the fields that you modified and those that you didn't.
///
///
///
/// Container for the necessary parameters to execute the UpdateOriginRequestPolicy service method.
///
/// The response from the UpdateOriginRequestPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The origin request policy does not exist.
///
///
/// An origin request policy with this name already exists. You must provide a unique
/// name. To modify an existing origin request policy, use UpdateOriginRequestPolicy
.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// The number of cookies in the origin request policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of headers in the origin request policy exceeds the maximum. For more information,
/// see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// The number of query strings in the origin request policy exceeds the maximum. For
/// more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
/// REST API Reference for UpdateOriginRequestPolicy Operation
public virtual UpdateOriginRequestPolicyResponse UpdateOriginRequestPolicy(UpdateOriginRequestPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOriginRequestPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateOriginRequestPolicy operation.
///
///
/// Container for the necessary parameters to execute the UpdateOriginRequestPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOriginRequestPolicy
/// operation.
/// REST API Reference for UpdateOriginRequestPolicy Operation
public virtual IAsyncResult BeginUpdateOriginRequestPolicy(UpdateOriginRequestPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOriginRequestPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOriginRequestPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateOriginRequestPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateOriginRequestPolicy.
///
/// Returns a UpdateOriginRequestPolicyResult from CloudFront.
/// REST API Reference for UpdateOriginRequestPolicy Operation
public virtual UpdateOriginRequestPolicyResponse EndUpdateOriginRequestPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdatePublicKey
///
/// Update public key information. Note that the only value you can change is the comment.
///
/// Container for the necessary parameters to execute the UpdatePublicKey service method.
///
/// The response from the UpdatePublicKey service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// You can't change the value of a public key.
///
///
/// The update contains modifications that are not allowed.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The specified public key doesn't exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
/// REST API Reference for UpdatePublicKey Operation
public virtual UpdatePublicKeyResponse UpdatePublicKey(UpdatePublicKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePublicKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdatePublicKey operation.
///
///
/// Container for the necessary parameters to execute the UpdatePublicKey operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePublicKey
/// operation.
/// REST API Reference for UpdatePublicKey Operation
public virtual IAsyncResult BeginUpdatePublicKey(UpdatePublicKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePublicKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdatePublicKey operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePublicKey.
///
/// Returns a UpdatePublicKeyResult from CloudFront.
/// REST API Reference for UpdatePublicKey Operation
public virtual UpdatePublicKeyResponse EndUpdatePublicKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateRealtimeLogConfig
///
/// Updates a real-time log configuration.
///
///
///
/// When you update a real-time log configuration, all the parameters are updated with
/// the values provided in the request. You cannot update some parameters independent
/// of others. To update a real-time log configuration:
///
/// -
///
/// Call
GetRealtimeLogConfig
to get the current real-time log configuration.
///
/// -
///
/// Locally modify the parameters in the real-time log configuration that you want to
/// update.
///
///
-
///
/// Call this API (
UpdateRealtimeLogConfig
) by providing the entire real-time
/// log configuration, including the parameters that you modified and those that you didn't.
///
///
///
/// You cannot update a real-time log configuration's Name
or ARN
.
///
///
/// Container for the necessary parameters to execute the UpdateRealtimeLogConfig service method.
///
/// The response from the UpdateRealtimeLogConfig service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// An argument is invalid.
///
///
/// The real-time log configuration does not exist.
///
/// REST API Reference for UpdateRealtimeLogConfig Operation
public virtual UpdateRealtimeLogConfigResponse UpdateRealtimeLogConfig(UpdateRealtimeLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRealtimeLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateRealtimeLogConfig operation.
///
///
/// Container for the necessary parameters to execute the UpdateRealtimeLogConfig operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRealtimeLogConfig
/// operation.
/// REST API Reference for UpdateRealtimeLogConfig Operation
public virtual IAsyncResult BeginUpdateRealtimeLogConfig(UpdateRealtimeLogConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRealtimeLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRealtimeLogConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateRealtimeLogConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRealtimeLogConfig.
///
/// Returns a UpdateRealtimeLogConfigResult from CloudFront.
/// REST API Reference for UpdateRealtimeLogConfig Operation
public virtual UpdateRealtimeLogConfigResponse EndUpdateRealtimeLogConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateResponseHeadersPolicy
///
/// Updates a response headers policy.
///
///
///
/// When you update a response headers policy, the entire policy is replaced. You cannot
/// update some policy fields independent of others. To update a response headers policy
/// configuration:
///
/// -
///
/// Use
GetResponseHeadersPolicyConfig
to get the current policy's configuration.
///
/// -
///
/// Modify the fields in the response headers policy configuration that you want to update.
///
///
-
///
/// Call
UpdateResponseHeadersPolicy
, providing the entire response headers
/// policy configuration, including the fields that you modified and those that you didn't.
///
///
///
/// Container for the necessary parameters to execute the UpdateResponseHeadersPolicy service method.
///
/// The response from the UpdateResponseHeadersPolicy service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The response headers policy does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// A response headers policy with this name already exists. You must provide a unique
/// name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy
.
///
///
/// The length of the Content-Security-Policy
header value in the response
/// headers policy exceeds the maximum.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The number of custom headers in the response headers policy exceeds the maximum.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
///
/// The number of headers in RemoveHeadersConfig
in the response headers
/// policy exceeds the maximum.
///
///
///
/// For more information, see Quotas
/// (formerly known as limits) in the Amazon CloudFront Developer Guide.
///
///
/// REST API Reference for UpdateResponseHeadersPolicy Operation
public virtual UpdateResponseHeadersPolicyResponse UpdateResponseHeadersPolicy(UpdateResponseHeadersPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResponseHeadersPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateResponseHeadersPolicy operation.
///
///
/// Container for the necessary parameters to execute the UpdateResponseHeadersPolicy operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResponseHeadersPolicy
/// operation.
/// REST API Reference for UpdateResponseHeadersPolicy Operation
public virtual IAsyncResult BeginUpdateResponseHeadersPolicy(UpdateResponseHeadersPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResponseHeadersPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResponseHeadersPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateResponseHeadersPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateResponseHeadersPolicy.
///
/// Returns a UpdateResponseHeadersPolicyResult from CloudFront.
/// REST API Reference for UpdateResponseHeadersPolicy Operation
public virtual UpdateResponseHeadersPolicyResponse EndUpdateResponseHeadersPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateStreamingDistribution
///
/// Update a streaming distribution.
///
/// Container for the necessary parameters to execute the UpdateStreamingDistribution service method.
///
/// The response from the UpdateStreamingDistribution service method, as returned by CloudFront.
///
/// Access denied.
///
///
/// The CNAME specified is already defined for CloudFront.
///
///
/// The update contains modifications that are not allowed.
///
///
/// The value of Quantity
and the size of Items
don't match.
///
///
/// An argument is invalid.
///
///
/// The If-Match
version is missing or not valid.
///
///
/// The origin access control is not valid.
///
///
/// The origin access identity is not valid or doesn't exist.
///
///
/// This operation requires a body. Ensure that the body is present and the Content-Type
/// header is set.
///
///
/// The specified streaming distribution does not exist.
///
///
/// The precondition in one or more of the request fields evaluated to false
.
///
///
/// Your request contains more CNAMEs than are allowed per distribution.
///
///
/// Your request contains more trusted signers than are allowed per distribution.
///
///
/// One or more of your trusted signers don't exist.
///
/// REST API Reference for UpdateStreamingDistribution Operation
public virtual UpdateStreamingDistributionResponse UpdateStreamingDistribution(UpdateStreamingDistributionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStreamingDistributionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateStreamingDistribution operation.
///
///
/// Container for the necessary parameters to execute the UpdateStreamingDistribution operation on AmazonCloudFrontClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStreamingDistribution
/// operation.
/// REST API Reference for UpdateStreamingDistribution Operation
public virtual IAsyncResult BeginUpdateStreamingDistribution(UpdateStreamingDistributionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStreamingDistributionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStreamingDistributionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateStreamingDistribution operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateStreamingDistribution.
///
/// Returns a UpdateStreamingDistributionResult from CloudFront.
/// REST API Reference for UpdateStreamingDistribution Operation
public virtual UpdateStreamingDistributionResponse EndUpdateStreamingDistribution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}