/* * 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 elasticache-2015-02-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ElastiCache.Model; using Amazon.ElastiCache.Model.Internal.MarshallTransformations; using Amazon.ElastiCache.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ElastiCache { /// /// Implementation for accessing ElastiCache /// /// Amazon ElastiCache /// /// Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale /// a distributed cache in the cloud. /// /// /// /// With ElastiCache, customers get all of the benefits of a high-performance, in-memory /// cache with less of the administrative burden involved in launching and managing a /// distributed cache. The service makes setup, scaling, and cluster failure handling /// much simpler than in a self-managed cache deployment. /// /// /// /// In addition, through integration with Amazon CloudWatch, customers get enhanced visibility /// into the key performance statistics associated with their cache and can receive alarms /// if a part of their cache runs hot. /// /// public partial class AmazonElastiCacheClient : AmazonServiceClient, IAmazonElastiCache { private static IServiceMetadata serviceMetadata = new AmazonElastiCacheMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IElastiCachePaginatorFactory _paginators; /// /// Paginators for the service /// public IElastiCachePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ElastiCachePaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonElastiCacheClient 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 AmazonElastiCacheClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonElastiCacheConfig()) { } /// /// Constructs AmazonElastiCacheClient 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 AmazonElastiCacheClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonElastiCacheConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonElastiCacheClient 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 AmazonElastiCacheClient Configuration Object public AmazonElastiCacheClient(AmazonElastiCacheConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonElastiCacheClient with AWS Credentials /// /// AWS Credentials public AmazonElastiCacheClient(AWSCredentials credentials) : this(credentials, new AmazonElastiCacheConfig()) { } /// /// Constructs AmazonElastiCacheClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonElastiCacheClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonElastiCacheConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonElastiCacheClient with AWS Credentials and an /// AmazonElastiCacheClient Configuration object. /// /// AWS Credentials /// The AmazonElastiCacheClient Configuration Object public AmazonElastiCacheClient(AWSCredentials credentials, AmazonElastiCacheConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonElastiCacheClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonElastiCacheClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonElastiCacheConfig()) { } /// /// Constructs AmazonElastiCacheClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonElastiCacheClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonElastiCacheConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonElastiCacheClient with AWS Access Key ID, AWS Secret Key and an /// AmazonElastiCacheClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonElastiCacheClient Configuration Object public AmazonElastiCacheClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonElastiCacheConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonElastiCacheClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonElastiCacheClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonElastiCacheConfig()) { } /// /// Constructs AmazonElastiCacheClient 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 AmazonElastiCacheClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonElastiCacheConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonElastiCacheClient with AWS Access Key ID, AWS Secret Key and an /// AmazonElastiCacheClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonElastiCacheClient Configuration Object public AmazonElastiCacheClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonElastiCacheConfig 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 AmazonElastiCacheEndpointResolver()); } /// /// 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 AddTagsToResource /// /// A tag is a key-value pair where the key and value are case-sensitive. You can use /// tags to categorize and track all your ElastiCache resources, with the exception of /// global replication group. When you add or remove tags on replication groups, those /// actions will be replicated to all nodes in the replication group. For more information, /// see Resource-level /// permissions. /// /// /// /// For example, you can use cost-allocation tags to your ElastiCache resources, Amazon /// generates a cost allocation report as a comma-separated value (CSV) file with your /// usage and costs aggregated by your tags. You can apply tags that represent business /// categories (such as cost centers, application names, or owners) to organize your costs /// across multiple services. /// /// /// /// For more information, see Using /// Cost Allocation Tags in Amazon ElastiCache in the ElastiCache User Guide. /// /// /// Container for the necessary parameters to execute the AddTagsToResource service method. /// /// The response from the AddTagsToResource service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// /// The requested Amazon Resource Name (ARN) does not refer to an existing resource. /// /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// The requested reserved cache node was not found. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// /// The user group was not found or does not exist /// /// /// The user does not exist or could not be found. /// /// REST API Reference for AddTagsToResource Operation public virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AddTagsToResource operation. /// /// /// Container for the necessary parameters to execute the AddTagsToResource operation on AmazonElastiCacheClient. /// 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 EndAddTagsToResource /// operation. /// REST API Reference for AddTagsToResource Operation public virtual IAsyncResult BeginAddTagsToResource(AddTagsToResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AddTagsToResource operation. /// /// /// The IAsyncResult returned by the call to BeginAddTagsToResource. /// /// Returns a AddTagsToResourceResult from ElastiCache. /// REST API Reference for AddTagsToResource Operation public virtual AddTagsToResourceResponse EndAddTagsToResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AuthorizeCacheSecurityGroupIngress /// /// Allows network ingress to a cache security group. Applications using ElastiCache must /// be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization /// mechanism. /// /// /// /// You cannot authorize ingress from an Amazon EC2 security group in one region to an /// ElastiCache cluster in another region. /// /// /// /// Container for the necessary parameters to execute the AuthorizeCacheSecurityGroupIngress service method. /// /// The response from the AuthorizeCacheSecurityGroupIngress service method, as returned by ElastiCache. /// /// The specified Amazon EC2 security group is already authorized for the specified cache /// security group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The current state of the cache security group does not allow deletion. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for AuthorizeCacheSecurityGroupIngress Operation public virtual AuthorizeCacheSecurityGroupIngressResponse AuthorizeCacheSecurityGroupIngress(AuthorizeCacheSecurityGroupIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeCacheSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeCacheSecurityGroupIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AuthorizeCacheSecurityGroupIngress operation. /// /// /// Container for the necessary parameters to execute the AuthorizeCacheSecurityGroupIngress operation on AmazonElastiCacheClient. /// 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 EndAuthorizeCacheSecurityGroupIngress /// operation. /// REST API Reference for AuthorizeCacheSecurityGroupIngress Operation public virtual IAsyncResult BeginAuthorizeCacheSecurityGroupIngress(AuthorizeCacheSecurityGroupIngressRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeCacheSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeCacheSecurityGroupIngressResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AuthorizeCacheSecurityGroupIngress operation. /// /// /// The IAsyncResult returned by the call to BeginAuthorizeCacheSecurityGroupIngress. /// /// Returns a AuthorizeCacheSecurityGroupIngressResult from ElastiCache. /// REST API Reference for AuthorizeCacheSecurityGroupIngress Operation public virtual AuthorizeCacheSecurityGroupIngressResponse EndAuthorizeCacheSecurityGroupIngress(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchApplyUpdateAction /// /// Apply the service update. For more information on service updates and applying them, /// see Applying /// Service Updates. /// /// Container for the necessary parameters to execute the BatchApplyUpdateAction service method. /// /// The response from the BatchApplyUpdateAction service method, as returned by ElastiCache. /// /// The value for a parameter is invalid. /// /// /// The service update doesn't exist /// /// REST API Reference for BatchApplyUpdateAction Operation public virtual BatchApplyUpdateActionResponse BatchApplyUpdateAction(BatchApplyUpdateActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchApplyUpdateActionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchApplyUpdateActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchApplyUpdateAction operation. /// /// /// Container for the necessary parameters to execute the BatchApplyUpdateAction operation on AmazonElastiCacheClient. /// 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 EndBatchApplyUpdateAction /// operation. /// REST API Reference for BatchApplyUpdateAction Operation public virtual IAsyncResult BeginBatchApplyUpdateAction(BatchApplyUpdateActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchApplyUpdateActionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchApplyUpdateActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchApplyUpdateAction operation. /// /// /// The IAsyncResult returned by the call to BeginBatchApplyUpdateAction. /// /// Returns a BatchApplyUpdateActionResult from ElastiCache. /// REST API Reference for BatchApplyUpdateAction Operation public virtual BatchApplyUpdateActionResponse EndBatchApplyUpdateAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchStopUpdateAction /// /// Stop the service update. For more information on service updates and stopping them, /// see Stopping /// Service Updates. /// /// Container for the necessary parameters to execute the BatchStopUpdateAction service method. /// /// The response from the BatchStopUpdateAction service method, as returned by ElastiCache. /// /// The value for a parameter is invalid. /// /// /// The service update doesn't exist /// /// REST API Reference for BatchStopUpdateAction Operation public virtual BatchStopUpdateActionResponse BatchStopUpdateAction(BatchStopUpdateActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchStopUpdateActionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchStopUpdateActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchStopUpdateAction operation. /// /// /// Container for the necessary parameters to execute the BatchStopUpdateAction operation on AmazonElastiCacheClient. /// 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 EndBatchStopUpdateAction /// operation. /// REST API Reference for BatchStopUpdateAction Operation public virtual IAsyncResult BeginBatchStopUpdateAction(BatchStopUpdateActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchStopUpdateActionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchStopUpdateActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchStopUpdateAction operation. /// /// /// The IAsyncResult returned by the call to BeginBatchStopUpdateAction. /// /// Returns a BatchStopUpdateActionResult from ElastiCache. /// REST API Reference for BatchStopUpdateAction Operation public virtual BatchStopUpdateActionResponse EndBatchStopUpdateAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CompleteMigration /// /// Complete the migration of data. /// /// Container for the necessary parameters to execute the CompleteMigration service method. /// /// The response from the CompleteMigration service method, as returned by ElastiCache. /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// The designated replication group is not available for data migration. /// /// REST API Reference for CompleteMigration Operation public virtual CompleteMigrationResponse CompleteMigration(CompleteMigrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CompleteMigrationRequestMarshaller.Instance; options.ResponseUnmarshaller = CompleteMigrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CompleteMigration operation. /// /// /// Container for the necessary parameters to execute the CompleteMigration operation on AmazonElastiCacheClient. /// 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 EndCompleteMigration /// operation. /// REST API Reference for CompleteMigration Operation public virtual IAsyncResult BeginCompleteMigration(CompleteMigrationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CompleteMigrationRequestMarshaller.Instance; options.ResponseUnmarshaller = CompleteMigrationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CompleteMigration operation. /// /// /// The IAsyncResult returned by the call to BeginCompleteMigration. /// /// Returns a CompleteMigrationResult from ElastiCache. /// REST API Reference for CompleteMigration Operation public virtual CompleteMigrationResponse EndCompleteMigration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CopySnapshot /// /// Makes a copy of an existing snapshot. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Users or groups that have permissions to use the CopySnapshot operation /// can create their own Amazon S3 buckets and copy snapshots to it. To control access /// to your snapshots, use an IAM policy to control who has the ability to use the CopySnapshot /// operation. For more information about using IAM to control the use of ElastiCache /// operations, see Exporting /// Snapshots and Authentication /// & Access Control. /// /// /// /// You could receive the following error messages. /// ///

Error Messages /// ///

  • /// /// Error Message: The S3 bucket %s is outside of the region. /// /// /// /// Solution: Create an Amazon S3 bucket in the same region as your snapshot. /// For more information, see Step /// 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. /// ///
  • /// /// Error Message: The S3 bucket %s does not exist. /// /// /// /// Solution: Create an Amazon S3 bucket in the same region as your snapshot. /// For more information, see Step /// 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. /// ///
  • /// /// Error Message: The S3 bucket %s is not owned by the authenticated user. /// /// /// /// Solution: Create an Amazon S3 bucket in the same region as your snapshot. /// For more information, see Step /// 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. /// ///
  • /// /// Error Message: The authenticated user does not have sufficient permissions /// to perform the desired activity. /// /// /// /// Solution: Contact your system administrator to get the needed permissions. /// ///
  • /// /// Error Message: The S3 bucket %s already contains an object with key %s. /// /// /// /// Solution: Give the TargetSnapshotName a new and unique value. /// If exporting a snapshot, you could alternatively create a new Amazon S3 bucket and /// use this same value for TargetSnapshotName. /// ///
  • /// /// Error Message: ElastiCache has not been granted READ permissions %s on the /// S3 Bucket. /// /// /// /// Solution: Add List and Read permissions on the bucket. For more information, /// see Step /// 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. /// ///
  • /// /// Error Message: ElastiCache has not been granted WRITE permissions %s on the /// S3 Bucket. /// /// /// /// Solution: Add Upload/Delete permissions on the bucket. For more information, /// see Step /// 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. /// ///
  • /// /// Error Message: ElastiCache has not been granted READ_ACP permissions %s on /// the S3 Bucket. /// /// /// /// Solution: Add View Permissions on the bucket. For more information, see Step /// 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. /// ///
///
/// Container for the necessary parameters to execute the CopySnapshot service method. /// /// The response from the CopySnapshot service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The current state of the snapshot does not allow the requested operation to occur. /// /// /// You already have a snapshot with the given name. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// /// The request cannot be processed because it would exceed the maximum number of snapshots. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for CopySnapshot Operation public virtual CopySnapshotResponse CopySnapshot(CopySnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopySnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CopySnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CopySnapshot operation. /// /// /// Container for the necessary parameters to execute the CopySnapshot operation on AmazonElastiCacheClient. /// 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 EndCopySnapshot /// operation. /// REST API Reference for CopySnapshot Operation public virtual IAsyncResult BeginCopySnapshot(CopySnapshotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CopySnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CopySnapshotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CopySnapshot operation. /// /// /// The IAsyncResult returned by the call to BeginCopySnapshot. /// /// Returns a CopySnapshotResult from ElastiCache. /// REST API Reference for CopySnapshot Operation public virtual CopySnapshotResponse EndCopySnapshot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCacheCluster /// /// Creates a cluster. All nodes in the cluster run the same protocol-compliant cache /// engine software, either Memcached or Redis. /// /// /// /// This operation is not supported for Redis (cluster mode enabled) clusters. /// /// /// Container for the necessary parameters to execute the CreateCacheCluster service method. /// /// The response from the CreateCacheCluster service method, as returned by ElastiCache. /// /// You already have a cluster with the given identifier. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// /// The request cannot be processed because it would exceed the allowed number of clusters /// per customer. /// /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes in a single cluster. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// /// The specified replication group does not exist. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for CreateCacheCluster Operation public virtual CreateCacheClusterResponse CreateCacheCluster(CreateCacheClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCacheCluster operation. /// /// /// Container for the necessary parameters to execute the CreateCacheCluster operation on AmazonElastiCacheClient. /// 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 EndCreateCacheCluster /// operation. /// REST API Reference for CreateCacheCluster Operation public virtual IAsyncResult BeginCreateCacheCluster(CreateCacheClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCacheCluster operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCacheCluster. /// /// Returns a CreateCacheClusterResult from ElastiCache. /// REST API Reference for CreateCacheCluster Operation public virtual CreateCacheClusterResponse EndCreateCacheCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCacheParameterGroup /// /// Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter /// group is a collection of parameters and their values that are applied to all of the /// nodes in any cluster or replication group using the CacheParameterGroup. /// /// /// /// A newly created CacheParameterGroup is an exact duplicate of the default parameter /// group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup /// you can change the values of specific parameters. For more information, see: /// /// /// /// Container for the necessary parameters to execute the CreateCacheParameterGroup service method. /// /// The response from the CreateCacheParameterGroup service method, as returned by ElastiCache. /// /// A cache parameter group with the requested name already exists. /// /// /// The request cannot be processed because it would exceed the maximum number of cache /// security groups. /// /// /// The current state of the cache parameter group does not allow the requested operation /// to occur. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for CreateCacheParameterGroup Operation public virtual CreateCacheParameterGroupResponse CreateCacheParameterGroup(CreateCacheParameterGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheParameterGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCacheParameterGroup operation. /// /// /// Container for the necessary parameters to execute the CreateCacheParameterGroup operation on AmazonElastiCacheClient. /// 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 EndCreateCacheParameterGroup /// operation. /// REST API Reference for CreateCacheParameterGroup Operation public virtual IAsyncResult BeginCreateCacheParameterGroup(CreateCacheParameterGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheParameterGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCacheParameterGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCacheParameterGroup. /// /// Returns a CreateCacheParameterGroupResult from ElastiCache. /// REST API Reference for CreateCacheParameterGroup Operation public virtual CreateCacheParameterGroupResponse EndCreateCacheParameterGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCacheSecurityGroup /// /// Creates a new cache security group. Use a cache security group to control access to /// one or more clusters. /// /// /// /// Cache security groups are only used when you are creating a cluster outside of an /// Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of /// a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup. /// /// /// Container for the necessary parameters to execute the CreateCacheSecurityGroup service method. /// /// The response from the CreateCacheSecurityGroup service method, as returned by ElastiCache. /// /// A cache security group with the specified name already exists. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// security groups. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for CreateCacheSecurityGroup Operation public virtual CreateCacheSecurityGroupResponse CreateCacheSecurityGroup(CreateCacheSecurityGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheSecurityGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCacheSecurityGroup operation. /// /// /// Container for the necessary parameters to execute the CreateCacheSecurityGroup operation on AmazonElastiCacheClient. /// 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 EndCreateCacheSecurityGroup /// operation. /// REST API Reference for CreateCacheSecurityGroup Operation public virtual IAsyncResult BeginCreateCacheSecurityGroup(CreateCacheSecurityGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheSecurityGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCacheSecurityGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCacheSecurityGroup. /// /// Returns a CreateCacheSecurityGroupResult from ElastiCache. /// REST API Reference for CreateCacheSecurityGroup Operation public virtual CreateCacheSecurityGroupResponse EndCreateCacheSecurityGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCacheSubnetGroup /// /// Creates a new cache subnet group. /// /// /// /// Use this parameter only when you are creating a cluster in an Amazon Virtual Private /// Cloud (Amazon VPC). /// /// /// Container for the necessary parameters to execute the CreateCacheSubnetGroup service method. /// /// The response from the CreateCacheSubnetGroup service method, as returned by ElastiCache. /// /// The requested cache subnet group name is already in use by an existing cache subnet /// group. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// subnet groups. /// /// /// The request cannot be processed because it would exceed the allowed number of subnets /// in a cache subnet group. /// /// /// An invalid subnet identifier was specified. /// /// /// At least one subnet ID does not match the other subnet IDs. This mismatch typically /// occurs when a user sets one subnet ID to a regional Availability Zone and a different /// one to an outpost. Or when a user sets the subnet ID to an Outpost when not subscribed /// on this service. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for CreateCacheSubnetGroup Operation public virtual CreateCacheSubnetGroupResponse CreateCacheSubnetGroup(CreateCacheSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheSubnetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCacheSubnetGroup operation. /// /// /// Container for the necessary parameters to execute the CreateCacheSubnetGroup operation on AmazonElastiCacheClient. /// 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 EndCreateCacheSubnetGroup /// operation. /// REST API Reference for CreateCacheSubnetGroup Operation public virtual IAsyncResult BeginCreateCacheSubnetGroup(CreateCacheSubnetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCacheSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCacheSubnetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCacheSubnetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCacheSubnetGroup. /// /// Returns a CreateCacheSubnetGroupResult from ElastiCache. /// REST API Reference for CreateCacheSubnetGroup Operation public virtual CreateCacheSubnetGroupResponse EndCreateCacheSubnetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateGlobalReplicationGroup /// /// Global Datastore for Redis offers fully managed, fast, reliable and secure cross-region /// replication. Using Global Datastore for Redis, you can create cross-region read replica /// clusters for ElastiCache for Redis to enable low-latency reads and disaster recovery /// across regions. For more information, see Replication /// Across Regions Using Global Datastore. /// ///
  • /// /// The GlobalReplicationGroupIdSuffix is the name of the Global datastore. /// ///
  • /// /// The PrimaryReplicationGroupId represents the name of the primary cluster that /// accepts writes and will replicate updates to the secondary cluster. /// ///
///
/// Container for the necessary parameters to execute the CreateGlobalReplicationGroup service method. /// /// The response from the CreateGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore name already exists. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// The specified service linked role (SLR) was not found. /// /// REST API Reference for CreateGlobalReplicationGroup Operation public virtual CreateGlobalReplicationGroupResponse CreateGlobalReplicationGroup(CreateGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the CreateGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndCreateGlobalReplicationGroup /// operation. /// REST API Reference for CreateGlobalReplicationGroup Operation public virtual IAsyncResult BeginCreateGlobalReplicationGroup(CreateGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGlobalReplicationGroup. /// /// Returns a CreateGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for CreateGlobalReplicationGroup Operation public virtual CreateGlobalReplicationGroupResponse EndCreateGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateReplicationGroup /// /// Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication /// group. /// /// /// /// This API can be used to create a standalone regional replication group or a secondary /// replication group associated with a Global datastore. /// /// /// /// A Redis (cluster mode disabled) replication group is a collection of clusters, where /// one of the clusters is a read/write primary and the others are read-only replicas. /// Writes to the primary are asynchronously propagated to the replicas. /// /// /// /// A Redis cluster-mode enabled cluster is comprised of from 1 to 90 shards (API/CLI: /// node groups). Each shard has a primary node and up to 5 read-only replica nodes. The /// configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, /// which is the maximum number or replicas allowed. /// /// /// /// The node or shard limit can be increased to a maximum of 500 per cluster if the Redis /// engine version is 5.0.6 or higher. For example, you can choose to configure a 500 /// node cluster that ranges between 83 shards (one primary and 5 replicas per shard) /// and 500 shards (single primary and no replicas). Make sure there are enough available /// IP addresses to accommodate the increase. Common pitfalls include the subnets in the /// subnet group have too small a CIDR range or the subnets are shared and heavily used /// by other clusters. For more information, see Creating /// a Subnet Group. For versions below 5.0.6, the limit is 250 per cluster. /// /// /// /// To request a limit increase, see Amazon /// Service Limits and choose the limit type Nodes per cluster per instance type. /// /// /// /// /// When a Redis (cluster mode disabled) replication group has been successfully created, /// you can add one or more read replicas to it, up to a total of 5 read replicas. If /// you need to increase or decrease the number of node groups (console: shards), you /// can avail yourself of ElastiCache for Redis' scaling. For more information, see Scaling /// ElastiCache for Redis Clusters in the ElastiCache User Guide. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the CreateReplicationGroup service method. /// /// The response from the CreateReplicationGroup service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// /// The request cannot be processed because it would exceed the allowed number of clusters /// per customer. /// /// /// The Global datastore does not exist /// /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// The requested cluster is not in the available state. /// /// /// The Global datastore is not available or in primary-only state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The user group is not in an active state. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the maximum allowed number /// of node groups (shards) in a single replication group. The default maximum is 90 /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes in a single cluster. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// /// The specified replication group already exists. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// /// The user group was not found or does not exist /// /// REST API Reference for CreateReplicationGroup Operation public virtual CreateReplicationGroupResponse CreateReplicationGroup(CreateReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the CreateReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndCreateReplicationGroup /// operation. /// REST API Reference for CreateReplicationGroup Operation public virtual IAsyncResult BeginCreateReplicationGroup(CreateReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateReplicationGroup. /// /// Returns a CreateReplicationGroupResult from ElastiCache. /// REST API Reference for CreateReplicationGroup Operation public virtual CreateReplicationGroupResponse EndCreateReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSnapshot /// /// Creates a copy of an entire cluster or replication group at a specific moment in time. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the CreateSnapshot service method. /// /// The response from the CreateSnapshot service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cluster is not in the available state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// You already have a snapshot with the given name. /// /// /// You attempted one of the following operations: /// ///
  • /// /// Creating a snapshot of a Redis cluster running on a cache.t1.micro cache /// node. /// ///
  • /// /// Creating a snapshot of a cluster that is running Memcached rather than Redis. /// ///
/// /// Neither of these are supported by ElastiCache. /// ///
/// /// The request cannot be processed because it would exceed the maximum number of snapshots. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for CreateSnapshot Operation public virtual CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSnapshot operation. /// /// /// Container for the necessary parameters to execute the CreateSnapshot operation on AmazonElastiCacheClient. /// 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 EndCreateSnapshot /// operation. /// REST API Reference for CreateSnapshot Operation public virtual IAsyncResult BeginCreateSnapshot(CreateSnapshotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSnapshotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSnapshot operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSnapshot. /// /// Returns a CreateSnapshotResult from ElastiCache. /// REST API Reference for CreateSnapshot Operation public virtual CreateSnapshotResponse EndCreateSnapshot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateUser /// /// For Redis engine version 6.0 onwards: Creates a Redis user. For more information, /// see Using /// Role Based Access Control (RBAC). /// /// Container for the necessary parameters to execute the CreateUser service method. /// /// The response from the CreateUser service method, as returned by ElastiCache. /// /// A user with this username already exists. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// /// A user with this ID already exists. /// /// /// The quota of users has been exceeded. /// /// REST API Reference for CreateUser Operation public virtual CreateUserResponse CreateUser(CreateUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateUser operation. /// /// /// Container for the necessary parameters to execute the CreateUser operation on AmazonElastiCacheClient. /// 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 EndCreateUser /// operation. /// REST API Reference for CreateUser Operation public virtual IAsyncResult BeginCreateUser(CreateUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateUser operation. /// /// /// The IAsyncResult returned by the call to BeginCreateUser. /// /// Returns a CreateUserResult from ElastiCache. /// REST API Reference for CreateUser Operation public virtual CreateUserResponse EndCreateUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateUserGroup /// /// For Redis engine version 6.0 onwards: Creates a Redis user group. For more information, /// see Using /// Role Based Access Control (RBAC) /// /// Container for the necessary parameters to execute the CreateUserGroup service method. /// /// The response from the CreateUserGroup service method, as returned by ElastiCache. /// /// You must add default user to a user group. /// /// /// A user with this username already exists. /// /// /// The value for a parameter is invalid. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// /// The user group with this ID already exists. /// /// /// The number of users exceeds the user group limit. /// /// /// The user does not exist or could not be found. /// /// REST API Reference for CreateUserGroup Operation public virtual CreateUserGroupResponse CreateUserGroup(CreateUserGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateUserGroup operation. /// /// /// Container for the necessary parameters to execute the CreateUserGroup operation on AmazonElastiCacheClient. /// 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 EndCreateUserGroup /// operation. /// REST API Reference for CreateUserGroup Operation public virtual IAsyncResult BeginCreateUserGroup(CreateUserGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateUserGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateUserGroup. /// /// Returns a CreateUserGroupResult from ElastiCache. /// REST API Reference for CreateUserGroup Operation public virtual CreateUserGroupResponse EndCreateUserGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DecreaseNodeGroupsInGlobalReplicationGroup /// /// Decreases the number of node groups in a Global datastore /// /// Container for the necessary parameters to execute the DecreaseNodeGroupsInGlobalReplicationGroup service method. /// /// The response from the DecreaseNodeGroupsInGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DecreaseNodeGroupsInGlobalReplicationGroup Operation public virtual DecreaseNodeGroupsInGlobalReplicationGroupResponse DecreaseNodeGroupsInGlobalReplicationGroup(DecreaseNodeGroupsInGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DecreaseNodeGroupsInGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DecreaseNodeGroupsInGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DecreaseNodeGroupsInGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the DecreaseNodeGroupsInGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndDecreaseNodeGroupsInGlobalReplicationGroup /// operation. /// REST API Reference for DecreaseNodeGroupsInGlobalReplicationGroup Operation public virtual IAsyncResult BeginDecreaseNodeGroupsInGlobalReplicationGroup(DecreaseNodeGroupsInGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DecreaseNodeGroupsInGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DecreaseNodeGroupsInGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DecreaseNodeGroupsInGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDecreaseNodeGroupsInGlobalReplicationGroup. /// /// Returns a DecreaseNodeGroupsInGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for DecreaseNodeGroupsInGlobalReplicationGroup Operation public virtual DecreaseNodeGroupsInGlobalReplicationGroupResponse EndDecreaseNodeGroupsInGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DecreaseReplicaCount /// /// Dynamically decreases the number of replicas in a Redis (cluster mode disabled) replication /// group or the number of replica nodes in one or more node groups (shards) of a Redis /// (cluster mode enabled) replication group. This operation is performed with no cluster /// down time. /// /// Container for the necessary parameters to execute the DecreaseReplicaCount service method. /// /// The response from the DecreaseReplicaCount service method, as returned by ElastiCache. /// /// The request cannot be processed because it would exceed the allowed number of clusters /// per customer. /// /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// The requested cluster is not in the available state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the maximum allowed number /// of node groups (shards) in a single replication group. The default maximum is 90 /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// /// The operation was not performed because no changes were required. /// /// /// The specified replication group does not exist. /// /// /// The specified service linked role (SLR) was not found. /// /// REST API Reference for DecreaseReplicaCount Operation public virtual DecreaseReplicaCountResponse DecreaseReplicaCount(DecreaseReplicaCountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DecreaseReplicaCountRequestMarshaller.Instance; options.ResponseUnmarshaller = DecreaseReplicaCountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DecreaseReplicaCount operation. /// /// /// Container for the necessary parameters to execute the DecreaseReplicaCount operation on AmazonElastiCacheClient. /// 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 EndDecreaseReplicaCount /// operation. /// REST API Reference for DecreaseReplicaCount Operation public virtual IAsyncResult BeginDecreaseReplicaCount(DecreaseReplicaCountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DecreaseReplicaCountRequestMarshaller.Instance; options.ResponseUnmarshaller = DecreaseReplicaCountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DecreaseReplicaCount operation. /// /// /// The IAsyncResult returned by the call to BeginDecreaseReplicaCount. /// /// Returns a DecreaseReplicaCountResult from ElastiCache. /// REST API Reference for DecreaseReplicaCount Operation public virtual DecreaseReplicaCountResponse EndDecreaseReplicaCount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCacheCluster /// /// Deletes a previously provisioned cluster. DeleteCacheCluster deletes /// all associated cache nodes, node endpoints and the cluster itself. When you receive /// a successful response from this operation, Amazon ElastiCache immediately begins deleting /// the cluster; you cannot cancel or revert this operation. /// /// /// /// This operation is not valid for: /// ///
  • /// /// Redis (cluster mode enabled) clusters /// ///
  • /// /// Redis (cluster mode disabled) clusters /// ///
  • /// /// A cluster that is the last read replica of a replication group /// ///
  • /// /// A cluster that is the primary node of a replication group /// ///
  • /// /// A node group (shard) that has Multi-AZ mode enabled /// ///
  • /// /// A cluster from a Redis (cluster mode enabled) replication group /// ///
  • /// /// A cluster that is not in the available state /// ///
///
/// Container for the necessary parameters to execute the DeleteCacheCluster service method. /// /// The response from the DeleteCacheCluster service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cluster is not in the available state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// You already have a snapshot with the given name. /// /// /// You attempted one of the following operations: /// ///
  • /// /// Creating a snapshot of a Redis cluster running on a cache.t1.micro cache /// node. /// ///
  • /// /// Creating a snapshot of a cluster that is running Memcached rather than Redis. /// ///
/// /// Neither of these are supported by ElastiCache. /// ///
/// /// The request cannot be processed because it would exceed the maximum number of snapshots. /// /// REST API Reference for DeleteCacheCluster Operation public virtual DeleteCacheClusterResponse DeleteCacheCluster(DeleteCacheClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCacheCluster operation. /// /// /// Container for the necessary parameters to execute the DeleteCacheCluster operation on AmazonElastiCacheClient. /// 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 EndDeleteCacheCluster /// operation. /// REST API Reference for DeleteCacheCluster Operation public virtual IAsyncResult BeginDeleteCacheCluster(DeleteCacheClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCacheCluster operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCacheCluster. /// /// Returns a DeleteCacheClusterResult from ElastiCache. /// REST API Reference for DeleteCacheCluster Operation public virtual DeleteCacheClusterResponse EndDeleteCacheCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCacheParameterGroup /// /// Deletes the specified cache parameter group. You cannot delete a cache parameter group /// if it is associated with any cache clusters. You cannot delete the default cache parameter /// groups in your account. /// /// Container for the necessary parameters to execute the DeleteCacheParameterGroup service method. /// /// The response from the DeleteCacheParameterGroup service method, as returned by ElastiCache. /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The current state of the cache parameter group does not allow the requested operation /// to occur. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DeleteCacheParameterGroup Operation public virtual DeleteCacheParameterGroupResponse DeleteCacheParameterGroup(DeleteCacheParameterGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheParameterGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCacheParameterGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteCacheParameterGroup operation on AmazonElastiCacheClient. /// 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 EndDeleteCacheParameterGroup /// operation. /// REST API Reference for DeleteCacheParameterGroup Operation public virtual IAsyncResult BeginDeleteCacheParameterGroup(DeleteCacheParameterGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheParameterGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCacheParameterGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCacheParameterGroup. /// /// Returns a DeleteCacheParameterGroupResult from ElastiCache. /// REST API Reference for DeleteCacheParameterGroup Operation public virtual DeleteCacheParameterGroupResponse EndDeleteCacheParameterGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCacheSecurityGroup /// /// Deletes a cache security group. /// /// /// /// You cannot delete a cache security group if it is associated with any clusters. /// /// /// /// Container for the necessary parameters to execute the DeleteCacheSecurityGroup service method. /// /// The response from the DeleteCacheSecurityGroup service method, as returned by ElastiCache. /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The current state of the cache security group does not allow deletion. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DeleteCacheSecurityGroup Operation public virtual DeleteCacheSecurityGroupResponse DeleteCacheSecurityGroup(DeleteCacheSecurityGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheSecurityGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCacheSecurityGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteCacheSecurityGroup operation on AmazonElastiCacheClient. /// 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 EndDeleteCacheSecurityGroup /// operation. /// REST API Reference for DeleteCacheSecurityGroup Operation public virtual IAsyncResult BeginDeleteCacheSecurityGroup(DeleteCacheSecurityGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheSecurityGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCacheSecurityGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCacheSecurityGroup. /// /// Returns a DeleteCacheSecurityGroupResult from ElastiCache. /// REST API Reference for DeleteCacheSecurityGroup Operation public virtual DeleteCacheSecurityGroupResponse EndDeleteCacheSecurityGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCacheSubnetGroup /// /// Deletes a cache subnet group. /// /// /// /// You cannot delete a default cache subnet group or one that is associated with any /// clusters. /// /// /// /// Container for the necessary parameters to execute the DeleteCacheSubnetGroup service method. /// /// The response from the DeleteCacheSubnetGroup service method, as returned by ElastiCache. /// /// The requested cache subnet group is currently in use. /// /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// REST API Reference for DeleteCacheSubnetGroup Operation public virtual DeleteCacheSubnetGroupResponse DeleteCacheSubnetGroup(DeleteCacheSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheSubnetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCacheSubnetGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteCacheSubnetGroup operation on AmazonElastiCacheClient. /// 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 EndDeleteCacheSubnetGroup /// operation. /// REST API Reference for DeleteCacheSubnetGroup Operation public virtual IAsyncResult BeginDeleteCacheSubnetGroup(DeleteCacheSubnetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCacheSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCacheSubnetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCacheSubnetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCacheSubnetGroup. /// /// Returns a DeleteCacheSubnetGroupResult from ElastiCache. /// REST API Reference for DeleteCacheSubnetGroup Operation public virtual DeleteCacheSubnetGroupResponse EndDeleteCacheSubnetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteGlobalReplicationGroup /// /// Deleting a Global datastore is a two-step process: /// ///
  • /// /// First, you must DisassociateGlobalReplicationGroup to remove the secondary /// clusters in the Global datastore. /// ///
  • /// /// Once the Global datastore contains only the primary cluster, you can use the DeleteGlobalReplicationGroup /// API to delete the Global datastore while retainining the primary cluster using RetainPrimaryReplicationGroup=true. /// ///
/// /// Since the Global Datastore has only a primary cluster, you can delete the Global Datastore /// while retaining the primary by setting RetainPrimaryReplicationGroup=true. /// The primary cluster is never deleted when deleting a Global Datastore. It can only /// be deleted when it no longer is associated with any Global Datastore. /// /// /// /// When you receive a successful response from this operation, Amazon ElastiCache immediately /// begins deleting the selected resources; you cannot cancel or revert this operation. /// ///
/// Container for the necessary parameters to execute the DeleteGlobalReplicationGroup service method. /// /// The response from the DeleteGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DeleteGlobalReplicationGroup Operation public virtual DeleteGlobalReplicationGroupResponse DeleteGlobalReplicationGroup(DeleteGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndDeleteGlobalReplicationGroup /// operation. /// REST API Reference for DeleteGlobalReplicationGroup Operation public virtual IAsyncResult BeginDeleteGlobalReplicationGroup(DeleteGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteGlobalReplicationGroup. /// /// Returns a DeleteGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for DeleteGlobalReplicationGroup Operation public virtual DeleteGlobalReplicationGroupResponse EndDeleteGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteReplicationGroup /// /// Deletes an existing replication group. By default, this operation deletes the entire /// replication group, including the primary/primaries and all of the read replicas. If /// the replication group has only one primary, you can optionally delete only the read /// replicas, while retaining the primary by setting RetainPrimaryCluster=true. /// /// /// /// When you receive a successful response from this operation, Amazon ElastiCache immediately /// begins deleting the selected resources; you cannot cancel or revert this operation. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the DeleteReplicationGroup service method. /// /// The response from the DeleteReplicationGroup service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// You already have a snapshot with the given name. /// /// /// You attempted one of the following operations: /// ///
  • /// /// Creating a snapshot of a Redis cluster running on a cache.t1.micro cache /// node. /// ///
  • /// /// Creating a snapshot of a cluster that is running Memcached rather than Redis. /// ///
/// /// Neither of these are supported by ElastiCache. /// ///
/// /// The request cannot be processed because it would exceed the maximum number of snapshots. /// /// REST API Reference for DeleteReplicationGroup Operation public virtual DeleteReplicationGroupResponse DeleteReplicationGroup(DeleteReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndDeleteReplicationGroup /// operation. /// REST API Reference for DeleteReplicationGroup Operation public virtual IAsyncResult BeginDeleteReplicationGroup(DeleteReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteReplicationGroup. /// /// Returns a DeleteReplicationGroupResult from ElastiCache. /// REST API Reference for DeleteReplicationGroup Operation public virtual DeleteReplicationGroupResponse EndDeleteReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSnapshot /// /// Deletes an existing snapshot. When you receive a successful response from this operation, /// ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert /// this operation. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the DeleteSnapshot service method. /// /// The response from the DeleteSnapshot service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The current state of the snapshot does not allow the requested operation to occur. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// REST API Reference for DeleteSnapshot Operation public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSnapshot operation. /// /// /// Container for the necessary parameters to execute the DeleteSnapshot operation on AmazonElastiCacheClient. /// 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 EndDeleteSnapshot /// operation. /// REST API Reference for DeleteSnapshot Operation public virtual IAsyncResult BeginDeleteSnapshot(DeleteSnapshotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSnapshot operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSnapshot. /// /// Returns a DeleteSnapshotResult from ElastiCache. /// REST API Reference for DeleteSnapshot Operation public virtual DeleteSnapshotResponse EndDeleteSnapshot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteUser /// /// For Redis engine version 6.0 onwards: Deletes a user. The user will be removed from /// all user groups and in turn removed from all replication groups. For more information, /// see Using /// Role Based Access Control (RBAC). /// /// Container for the necessary parameters to execute the DeleteUser service method. /// /// The response from the DeleteUser service method, as returned by ElastiCache. /// /// The default user assigned to the user group. /// /// /// The value for a parameter is invalid. /// /// /// The user is not in active state. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The user does not exist or could not be found. /// /// REST API Reference for DeleteUser Operation public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteUser operation. /// /// /// Container for the necessary parameters to execute the DeleteUser operation on AmazonElastiCacheClient. /// 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 EndDeleteUser /// operation. /// REST API Reference for DeleteUser Operation public virtual IAsyncResult BeginDeleteUser(DeleteUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteUser operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteUser. /// /// Returns a DeleteUserResult from ElastiCache. /// REST API Reference for DeleteUser Operation public virtual DeleteUserResponse EndDeleteUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteUserGroup /// /// For Redis engine version 6.0 onwards: Deletes a user group. The user group must first /// be disassociated from the replication group before it can be deleted. For more information, /// see Using /// Role Based Access Control (RBAC). /// /// Container for the necessary parameters to execute the DeleteUserGroup service method. /// /// The response from the DeleteUserGroup service method, as returned by ElastiCache. /// /// The value for a parameter is invalid. /// /// /// The user group is not in an active state. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The user group was not found or does not exist /// /// REST API Reference for DeleteUserGroup Operation public virtual DeleteUserGroupResponse DeleteUserGroup(DeleteUserGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteUserGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteUserGroup operation on AmazonElastiCacheClient. /// 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 EndDeleteUserGroup /// operation. /// REST API Reference for DeleteUserGroup Operation public virtual IAsyncResult BeginDeleteUserGroup(DeleteUserGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteUserGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteUserGroup. /// /// Returns a DeleteUserGroupResult from ElastiCache. /// REST API Reference for DeleteUserGroup Operation public virtual DeleteUserGroupResponse EndDeleteUserGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCacheClusters /// /// Returns information about all provisioned clusters if no cluster identifier is specified, /// or about a specific cache cluster if a cluster identifier is supplied. /// /// /// /// By default, abbreviated information about the clusters is returned. You can use the /// optional ShowCacheNodeInfo flag to retrieve detailed information about the /// cache nodes associated with the clusters. These details include the DNS address and /// port for the cache node endpoint. /// /// /// /// If the cluster is in the creating state, only cluster-level information is /// displayed until all of the nodes are successfully provisioned. /// /// /// /// If the cluster is in the deleting state, only cluster-level information is /// displayed. /// /// /// /// If cache nodes are currently being added to the cluster, node endpoint information /// and creation time for the additional nodes are not displayed until they are completely /// provisioned. When the cluster state is available, the cluster is ready for /// use. /// /// /// /// If cache nodes are currently being removed from the cluster, no endpoint information /// for the removed nodes is displayed. /// /// /// /// The response from the DescribeCacheClusters service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheClusters Operation public virtual DescribeCacheClustersResponse DescribeCacheClusters() { return DescribeCacheClusters(new DescribeCacheClustersRequest()); } /// /// Returns information about all provisioned clusters if no cluster identifier is specified, /// or about a specific cache cluster if a cluster identifier is supplied. /// /// /// /// By default, abbreviated information about the clusters is returned. You can use the /// optional ShowCacheNodeInfo flag to retrieve detailed information about the /// cache nodes associated with the clusters. These details include the DNS address and /// port for the cache node endpoint. /// /// /// /// If the cluster is in the creating state, only cluster-level information is /// displayed until all of the nodes are successfully provisioned. /// /// /// /// If the cluster is in the deleting state, only cluster-level information is /// displayed. /// /// /// /// If cache nodes are currently being added to the cluster, node endpoint information /// and creation time for the additional nodes are not displayed until they are completely /// provisioned. When the cluster state is available, the cluster is ready for /// use. /// /// /// /// If cache nodes are currently being removed from the cluster, no endpoint information /// for the removed nodes is displayed. /// /// /// Container for the necessary parameters to execute the DescribeCacheClusters service method. /// /// The response from the DescribeCacheClusters service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheClusters Operation public virtual DescribeCacheClustersResponse DescribeCacheClusters(DescribeCacheClustersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheClustersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheClustersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCacheClusters operation. /// /// /// Container for the necessary parameters to execute the DescribeCacheClusters operation on AmazonElastiCacheClient. /// 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 EndDescribeCacheClusters /// operation. /// REST API Reference for DescribeCacheClusters Operation public virtual IAsyncResult BeginDescribeCacheClusters(DescribeCacheClustersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheClustersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheClustersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCacheClusters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCacheClusters. /// /// Returns a DescribeCacheClustersResult from ElastiCache. /// REST API Reference for DescribeCacheClusters Operation public virtual DescribeCacheClustersResponse EndDescribeCacheClusters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCacheEngineVersions /// /// Returns a list of the available cache engines and their versions. /// /// /// The response from the DescribeCacheEngineVersions service method, as returned by ElastiCache. /// REST API Reference for DescribeCacheEngineVersions Operation public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions() { return DescribeCacheEngineVersions(new DescribeCacheEngineVersionsRequest()); } /// /// Returns a list of the available cache engines and their versions. /// /// Container for the necessary parameters to execute the DescribeCacheEngineVersions service method. /// /// The response from the DescribeCacheEngineVersions service method, as returned by ElastiCache. /// REST API Reference for DescribeCacheEngineVersions Operation public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions(DescribeCacheEngineVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheEngineVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheEngineVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCacheEngineVersions operation. /// /// /// Container for the necessary parameters to execute the DescribeCacheEngineVersions operation on AmazonElastiCacheClient. /// 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 EndDescribeCacheEngineVersions /// operation. /// REST API Reference for DescribeCacheEngineVersions Operation public virtual IAsyncResult BeginDescribeCacheEngineVersions(DescribeCacheEngineVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheEngineVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheEngineVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCacheEngineVersions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCacheEngineVersions. /// /// Returns a DescribeCacheEngineVersionsResult from ElastiCache. /// REST API Reference for DescribeCacheEngineVersions Operation public virtual DescribeCacheEngineVersionsResponse EndDescribeCacheEngineVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCacheParameterGroups /// /// Returns a list of cache parameter group descriptions. If a cache parameter group name /// is specified, the list contains only the descriptions for that group. /// /// /// The response from the DescribeCacheParameterGroups service method, as returned by ElastiCache. /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheParameterGroups Operation public virtual DescribeCacheParameterGroupsResponse DescribeCacheParameterGroups() { return DescribeCacheParameterGroups(new DescribeCacheParameterGroupsRequest()); } /// /// Returns a list of cache parameter group descriptions. If a cache parameter group name /// is specified, the list contains only the descriptions for that group. /// /// Container for the necessary parameters to execute the DescribeCacheParameterGroups service method. /// /// The response from the DescribeCacheParameterGroups service method, as returned by ElastiCache. /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheParameterGroups Operation public virtual DescribeCacheParameterGroupsResponse DescribeCacheParameterGroups(DescribeCacheParameterGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheParameterGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheParameterGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCacheParameterGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeCacheParameterGroups operation on AmazonElastiCacheClient. /// 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 EndDescribeCacheParameterGroups /// operation. /// REST API Reference for DescribeCacheParameterGroups Operation public virtual IAsyncResult BeginDescribeCacheParameterGroups(DescribeCacheParameterGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheParameterGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheParameterGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCacheParameterGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCacheParameterGroups. /// /// Returns a DescribeCacheParameterGroupsResult from ElastiCache. /// REST API Reference for DescribeCacheParameterGroups Operation public virtual DescribeCacheParameterGroupsResponse EndDescribeCacheParameterGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCacheParameters /// /// Returns the detailed parameter list for a particular cache parameter group. /// /// Container for the necessary parameters to execute the DescribeCacheParameters service method. /// /// The response from the DescribeCacheParameters service method, as returned by ElastiCache. /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheParameters Operation public virtual DescribeCacheParametersResponse DescribeCacheParameters(DescribeCacheParametersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheParametersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCacheParameters operation. /// /// /// Container for the necessary parameters to execute the DescribeCacheParameters operation on AmazonElastiCacheClient. /// 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 EndDescribeCacheParameters /// operation. /// REST API Reference for DescribeCacheParameters Operation public virtual IAsyncResult BeginDescribeCacheParameters(DescribeCacheParametersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheParametersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCacheParameters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCacheParameters. /// /// Returns a DescribeCacheParametersResult from ElastiCache. /// REST API Reference for DescribeCacheParameters Operation public virtual DescribeCacheParametersResponse EndDescribeCacheParameters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCacheSecurityGroups /// /// Returns a list of cache security group descriptions. If a cache security group name /// is specified, the list contains only the description of that group. This applicable /// only when you have ElastiCache in Classic setup /// /// /// The response from the DescribeCacheSecurityGroups service method, as returned by ElastiCache. /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheSecurityGroups Operation public virtual DescribeCacheSecurityGroupsResponse DescribeCacheSecurityGroups() { return DescribeCacheSecurityGroups(new DescribeCacheSecurityGroupsRequest()); } /// /// Returns a list of cache security group descriptions. If a cache security group name /// is specified, the list contains only the description of that group. This applicable /// only when you have ElastiCache in Classic setup /// /// Container for the necessary parameters to execute the DescribeCacheSecurityGroups service method. /// /// The response from the DescribeCacheSecurityGroups service method, as returned by ElastiCache. /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeCacheSecurityGroups Operation public virtual DescribeCacheSecurityGroupsResponse DescribeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheSecurityGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheSecurityGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCacheSecurityGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeCacheSecurityGroups operation on AmazonElastiCacheClient. /// 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 EndDescribeCacheSecurityGroups /// operation. /// REST API Reference for DescribeCacheSecurityGroups Operation public virtual IAsyncResult BeginDescribeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheSecurityGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheSecurityGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCacheSecurityGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCacheSecurityGroups. /// /// Returns a DescribeCacheSecurityGroupsResult from ElastiCache. /// REST API Reference for DescribeCacheSecurityGroups Operation public virtual DescribeCacheSecurityGroupsResponse EndDescribeCacheSecurityGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCacheSubnetGroups /// /// Returns a list of cache subnet group descriptions. If a subnet group name is specified, /// the list contains only the description of that group. This is applicable only when /// you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by default. /// /// /// The response from the DescribeCacheSubnetGroups service method, as returned by ElastiCache. /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// REST API Reference for DescribeCacheSubnetGroups Operation public virtual DescribeCacheSubnetGroupsResponse DescribeCacheSubnetGroups() { return DescribeCacheSubnetGroups(new DescribeCacheSubnetGroupsRequest()); } /// /// Returns a list of cache subnet group descriptions. If a subnet group name is specified, /// the list contains only the description of that group. This is applicable only when /// you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by default. /// /// Container for the necessary parameters to execute the DescribeCacheSubnetGroups service method. /// /// The response from the DescribeCacheSubnetGroups service method, as returned by ElastiCache. /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// REST API Reference for DescribeCacheSubnetGroups Operation public virtual DescribeCacheSubnetGroupsResponse DescribeCacheSubnetGroups(DescribeCacheSubnetGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheSubnetGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheSubnetGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCacheSubnetGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeCacheSubnetGroups operation on AmazonElastiCacheClient. /// 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 EndDescribeCacheSubnetGroups /// operation. /// REST API Reference for DescribeCacheSubnetGroups Operation public virtual IAsyncResult BeginDescribeCacheSubnetGroups(DescribeCacheSubnetGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCacheSubnetGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCacheSubnetGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCacheSubnetGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCacheSubnetGroups. /// /// Returns a DescribeCacheSubnetGroupsResult from ElastiCache. /// REST API Reference for DescribeCacheSubnetGroups Operation public virtual DescribeCacheSubnetGroupsResponse EndDescribeCacheSubnetGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeEngineDefaultParameters /// /// Returns the default engine and system parameter information for the specified cache /// engine. /// /// Container for the necessary parameters to execute the DescribeEngineDefaultParameters service method. /// /// The response from the DescribeEngineDefaultParameters service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeEngineDefaultParameters Operation public virtual DescribeEngineDefaultParametersResponse DescribeEngineDefaultParameters(DescribeEngineDefaultParametersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEngineDefaultParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEngineDefaultParametersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeEngineDefaultParameters operation. /// /// /// Container for the necessary parameters to execute the DescribeEngineDefaultParameters operation on AmazonElastiCacheClient. /// 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 EndDescribeEngineDefaultParameters /// operation. /// REST API Reference for DescribeEngineDefaultParameters Operation public virtual IAsyncResult BeginDescribeEngineDefaultParameters(DescribeEngineDefaultParametersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEngineDefaultParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEngineDefaultParametersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeEngineDefaultParameters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeEngineDefaultParameters. /// /// Returns a DescribeEngineDefaultParametersResult from ElastiCache. /// REST API Reference for DescribeEngineDefaultParameters Operation public virtual DescribeEngineDefaultParametersResponse EndDescribeEngineDefaultParameters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeEvents /// /// Returns events related to clusters, cache security groups, and cache parameter groups. /// You can obtain events specific to a particular cluster, cache security group, or cache /// parameter group by providing the name as a parameter. /// /// /// /// By default, only the events occurring within the last hour are returned; however, /// you can retrieve up to 14 days' worth of events if necessary. /// /// /// /// The response from the DescribeEvents service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeEvents Operation public virtual DescribeEventsResponse DescribeEvents() { return DescribeEvents(new DescribeEventsRequest()); } /// /// Returns events related to clusters, cache security groups, and cache parameter groups. /// You can obtain events specific to a particular cluster, cache security group, or cache /// parameter group by providing the name as a parameter. /// /// /// /// By default, only the events occurring within the last hour are returned; however, /// you can retrieve up to 14 days' worth of events if necessary. /// /// /// Container for the necessary parameters to execute the DescribeEvents service method. /// /// The response from the DescribeEvents service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeEvents Operation public virtual DescribeEventsResponse DescribeEvents(DescribeEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeEvents operation. /// /// /// Container for the necessary parameters to execute the DescribeEvents operation on AmazonElastiCacheClient. /// 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 EndDescribeEvents /// operation. /// REST API Reference for DescribeEvents Operation public virtual IAsyncResult BeginDescribeEvents(DescribeEventsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeEvents operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeEvents. /// /// Returns a DescribeEventsResult from ElastiCache. /// REST API Reference for DescribeEvents Operation public virtual DescribeEventsResponse EndDescribeEvents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeGlobalReplicationGroups /// /// Returns information about a particular global replication group. If no identifier /// is specified, returns information about all Global datastores. /// /// Container for the necessary parameters to execute the DescribeGlobalReplicationGroups service method. /// /// The response from the DescribeGlobalReplicationGroups service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeGlobalReplicationGroups Operation public virtual DescribeGlobalReplicationGroupsResponse DescribeGlobalReplicationGroups(DescribeGlobalReplicationGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGlobalReplicationGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGlobalReplicationGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeGlobalReplicationGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeGlobalReplicationGroups operation on AmazonElastiCacheClient. /// 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 EndDescribeGlobalReplicationGroups /// operation. /// REST API Reference for DescribeGlobalReplicationGroups Operation public virtual IAsyncResult BeginDescribeGlobalReplicationGroups(DescribeGlobalReplicationGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGlobalReplicationGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGlobalReplicationGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeGlobalReplicationGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeGlobalReplicationGroups. /// /// Returns a DescribeGlobalReplicationGroupsResult from ElastiCache. /// REST API Reference for DescribeGlobalReplicationGroups Operation public virtual DescribeGlobalReplicationGroupsResponse EndDescribeGlobalReplicationGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeReplicationGroups /// /// Returns information about a particular replication group. If no identifier is specified, /// DescribeReplicationGroups returns information about all replication groups. /// /// /// /// This operation is valid for Redis only. /// /// /// /// /// The response from the DescribeReplicationGroups service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The specified replication group does not exist. /// /// REST API Reference for DescribeReplicationGroups Operation public virtual DescribeReplicationGroupsResponse DescribeReplicationGroups() { return DescribeReplicationGroups(new DescribeReplicationGroupsRequest()); } /// /// Returns information about a particular replication group. If no identifier is specified, /// DescribeReplicationGroups returns information about all replication groups. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the DescribeReplicationGroups service method. /// /// The response from the DescribeReplicationGroups service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The specified replication group does not exist. /// /// REST API Reference for DescribeReplicationGroups Operation public virtual DescribeReplicationGroupsResponse DescribeReplicationGroups(DescribeReplicationGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeReplicationGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeReplicationGroups operation on AmazonElastiCacheClient. /// 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 EndDescribeReplicationGroups /// operation. /// REST API Reference for DescribeReplicationGroups Operation public virtual IAsyncResult BeginDescribeReplicationGroups(DescribeReplicationGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeReplicationGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeReplicationGroups. /// /// Returns a DescribeReplicationGroupsResult from ElastiCache. /// REST API Reference for DescribeReplicationGroups Operation public virtual DescribeReplicationGroupsResponse EndDescribeReplicationGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeReservedCacheNodes /// /// Returns information about reserved cache nodes for this account, or about a specified /// reserved cache node. /// /// /// The response from the DescribeReservedCacheNodes service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested reserved cache node was not found. /// /// REST API Reference for DescribeReservedCacheNodes Operation public virtual DescribeReservedCacheNodesResponse DescribeReservedCacheNodes() { return DescribeReservedCacheNodes(new DescribeReservedCacheNodesRequest()); } /// /// Returns information about reserved cache nodes for this account, or about a specified /// reserved cache node. /// /// Container for the necessary parameters to execute the DescribeReservedCacheNodes service method. /// /// The response from the DescribeReservedCacheNodes service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested reserved cache node was not found. /// /// REST API Reference for DescribeReservedCacheNodes Operation public virtual DescribeReservedCacheNodesResponse DescribeReservedCacheNodes(DescribeReservedCacheNodesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedCacheNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedCacheNodesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeReservedCacheNodes operation. /// /// /// Container for the necessary parameters to execute the DescribeReservedCacheNodes operation on AmazonElastiCacheClient. /// 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 EndDescribeReservedCacheNodes /// operation. /// REST API Reference for DescribeReservedCacheNodes Operation public virtual IAsyncResult BeginDescribeReservedCacheNodes(DescribeReservedCacheNodesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedCacheNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedCacheNodesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeReservedCacheNodes operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeReservedCacheNodes. /// /// Returns a DescribeReservedCacheNodesResult from ElastiCache. /// REST API Reference for DescribeReservedCacheNodes Operation public virtual DescribeReservedCacheNodesResponse EndDescribeReservedCacheNodes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeReservedCacheNodesOfferings /// /// Lists available reserved cache node offerings. /// /// /// The response from the DescribeReservedCacheNodesOfferings service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested cache node offering does not exist. /// /// REST API Reference for DescribeReservedCacheNodesOfferings Operation public virtual DescribeReservedCacheNodesOfferingsResponse DescribeReservedCacheNodesOfferings() { return DescribeReservedCacheNodesOfferings(new DescribeReservedCacheNodesOfferingsRequest()); } /// /// Lists available reserved cache node offerings. /// /// Container for the necessary parameters to execute the DescribeReservedCacheNodesOfferings service method. /// /// The response from the DescribeReservedCacheNodesOfferings service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested cache node offering does not exist. /// /// REST API Reference for DescribeReservedCacheNodesOfferings Operation public virtual DescribeReservedCacheNodesOfferingsResponse DescribeReservedCacheNodesOfferings(DescribeReservedCacheNodesOfferingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedCacheNodesOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedCacheNodesOfferingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeReservedCacheNodesOfferings operation. /// /// /// Container for the necessary parameters to execute the DescribeReservedCacheNodesOfferings operation on AmazonElastiCacheClient. /// 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 EndDescribeReservedCacheNodesOfferings /// operation. /// REST API Reference for DescribeReservedCacheNodesOfferings Operation public virtual IAsyncResult BeginDescribeReservedCacheNodesOfferings(DescribeReservedCacheNodesOfferingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedCacheNodesOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedCacheNodesOfferingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeReservedCacheNodesOfferings operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeReservedCacheNodesOfferings. /// /// Returns a DescribeReservedCacheNodesOfferingsResult from ElastiCache. /// REST API Reference for DescribeReservedCacheNodesOfferings Operation public virtual DescribeReservedCacheNodesOfferingsResponse EndDescribeReservedCacheNodesOfferings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeServiceUpdates /// /// Returns details of the service updates /// /// Container for the necessary parameters to execute the DescribeServiceUpdates service method. /// /// The response from the DescribeServiceUpdates service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The service update doesn't exist /// /// REST API Reference for DescribeServiceUpdates Operation public virtual DescribeServiceUpdatesResponse DescribeServiceUpdates(DescribeServiceUpdatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeServiceUpdatesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeServiceUpdatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeServiceUpdates operation. /// /// /// Container for the necessary parameters to execute the DescribeServiceUpdates operation on AmazonElastiCacheClient. /// 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 EndDescribeServiceUpdates /// operation. /// REST API Reference for DescribeServiceUpdates Operation public virtual IAsyncResult BeginDescribeServiceUpdates(DescribeServiceUpdatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeServiceUpdatesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeServiceUpdatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeServiceUpdates operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeServiceUpdates. /// /// Returns a DescribeServiceUpdatesResult from ElastiCache. /// REST API Reference for DescribeServiceUpdates Operation public virtual DescribeServiceUpdatesResponse EndDescribeServiceUpdates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSnapshots /// /// Returns information about cluster or replication group snapshots. By default, DescribeSnapshots /// lists all of your snapshots; it can optionally describe a single snapshot, or just /// the snapshots associated with a particular cache cluster. /// /// /// /// This operation is valid for Redis only. /// /// /// /// /// The response from the DescribeSnapshots service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// REST API Reference for DescribeSnapshots Operation public virtual DescribeSnapshotsResponse DescribeSnapshots() { return DescribeSnapshots(new DescribeSnapshotsRequest()); } /// /// Returns information about cluster or replication group snapshots. By default, DescribeSnapshots /// lists all of your snapshots; it can optionally describe a single snapshot, or just /// the snapshots associated with a particular cache cluster. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the DescribeSnapshots service method. /// /// The response from the DescribeSnapshots service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// REST API Reference for DescribeSnapshots Operation public virtual DescribeSnapshotsResponse DescribeSnapshots(DescribeSnapshotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSnapshots operation. /// /// /// Container for the necessary parameters to execute the DescribeSnapshots operation on AmazonElastiCacheClient. /// 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 EndDescribeSnapshots /// operation. /// REST API Reference for DescribeSnapshots Operation public virtual IAsyncResult BeginDescribeSnapshots(DescribeSnapshotsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSnapshots operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSnapshots. /// /// Returns a DescribeSnapshotsResult from ElastiCache. /// REST API Reference for DescribeSnapshots Operation public virtual DescribeSnapshotsResponse EndDescribeSnapshots(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeUpdateActions /// /// Returns details of the update actions /// /// Container for the necessary parameters to execute the DescribeUpdateActions service method. /// /// The response from the DescribeUpdateActions service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DescribeUpdateActions Operation public virtual DescribeUpdateActionsResponse DescribeUpdateActions(DescribeUpdateActionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUpdateActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUpdateActionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeUpdateActions operation. /// /// /// Container for the necessary parameters to execute the DescribeUpdateActions operation on AmazonElastiCacheClient. /// 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 EndDescribeUpdateActions /// operation. /// REST API Reference for DescribeUpdateActions Operation public virtual IAsyncResult BeginDescribeUpdateActions(DescribeUpdateActionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUpdateActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUpdateActionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeUpdateActions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeUpdateActions. /// /// Returns a DescribeUpdateActionsResult from ElastiCache. /// REST API Reference for DescribeUpdateActions Operation public virtual DescribeUpdateActionsResponse EndDescribeUpdateActions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeUserGroups /// /// Returns a list of user groups. /// /// Container for the necessary parameters to execute the DescribeUserGroups service method. /// /// The response from the DescribeUserGroups service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The user group was not found or does not exist /// /// REST API Reference for DescribeUserGroups Operation public virtual DescribeUserGroupsResponse DescribeUserGroups(DescribeUserGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeUserGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeUserGroups operation on AmazonElastiCacheClient. /// 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 EndDescribeUserGroups /// operation. /// REST API Reference for DescribeUserGroups Operation public virtual IAsyncResult BeginDescribeUserGroups(DescribeUserGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeUserGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeUserGroups. /// /// Returns a DescribeUserGroupsResult from ElastiCache. /// REST API Reference for DescribeUserGroups Operation public virtual DescribeUserGroupsResponse EndDescribeUserGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeUsers /// /// Returns a list of users. /// /// Container for the necessary parameters to execute the DescribeUsers service method. /// /// The response from the DescribeUsers service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The user does not exist or could not be found. /// /// REST API Reference for DescribeUsers Operation public virtual DescribeUsersResponse DescribeUsers(DescribeUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeUsers operation. /// /// /// Container for the necessary parameters to execute the DescribeUsers operation on AmazonElastiCacheClient. /// 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 EndDescribeUsers /// operation. /// REST API Reference for DescribeUsers Operation public virtual IAsyncResult BeginDescribeUsers(DescribeUsersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeUsers operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeUsers. /// /// Returns a DescribeUsersResult from ElastiCache. /// REST API Reference for DescribeUsers Operation public virtual DescribeUsersResponse EndDescribeUsers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateGlobalReplicationGroup /// /// Remove a secondary cluster from the Global datastore using the Global datastore name. /// The secondary cluster will no longer receive updates from the primary cluster, but /// will remain as a standalone cluster in that Amazon region. /// /// Container for the necessary parameters to execute the DisassociateGlobalReplicationGroup service method. /// /// The response from the DisassociateGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for DisassociateGlobalReplicationGroup Operation public virtual DisassociateGlobalReplicationGroupResponse DisassociateGlobalReplicationGroup(DisassociateGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the DisassociateGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndDisassociateGlobalReplicationGroup /// operation. /// REST API Reference for DisassociateGlobalReplicationGroup Operation public virtual IAsyncResult BeginDisassociateGlobalReplicationGroup(DisassociateGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateGlobalReplicationGroup. /// /// Returns a DisassociateGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for DisassociateGlobalReplicationGroup Operation public virtual DisassociateGlobalReplicationGroupResponse EndDisassociateGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region FailoverGlobalReplicationGroup /// /// Used to failover the primary region to a secondary region. The secondary region will /// become primary, and all other clusters will become secondary. /// /// Container for the necessary parameters to execute the FailoverGlobalReplicationGroup service method. /// /// The response from the FailoverGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for FailoverGlobalReplicationGroup Operation public virtual FailoverGlobalReplicationGroupResponse FailoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = FailoverGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = FailoverGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the FailoverGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the FailoverGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndFailoverGlobalReplicationGroup /// operation. /// REST API Reference for FailoverGlobalReplicationGroup Operation public virtual IAsyncResult BeginFailoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = FailoverGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = FailoverGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the FailoverGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginFailoverGlobalReplicationGroup. /// /// Returns a FailoverGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for FailoverGlobalReplicationGroup Operation public virtual FailoverGlobalReplicationGroupResponse EndFailoverGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region IncreaseNodeGroupsInGlobalReplicationGroup /// /// Increase the number of node groups in the Global datastore /// /// Container for the necessary parameters to execute the IncreaseNodeGroupsInGlobalReplicationGroup service method. /// /// The response from the IncreaseNodeGroupsInGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for IncreaseNodeGroupsInGlobalReplicationGroup Operation public virtual IncreaseNodeGroupsInGlobalReplicationGroupResponse IncreaseNodeGroupsInGlobalReplicationGroup(IncreaseNodeGroupsInGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = IncreaseNodeGroupsInGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = IncreaseNodeGroupsInGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the IncreaseNodeGroupsInGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the IncreaseNodeGroupsInGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndIncreaseNodeGroupsInGlobalReplicationGroup /// operation. /// REST API Reference for IncreaseNodeGroupsInGlobalReplicationGroup Operation public virtual IAsyncResult BeginIncreaseNodeGroupsInGlobalReplicationGroup(IncreaseNodeGroupsInGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = IncreaseNodeGroupsInGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = IncreaseNodeGroupsInGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the IncreaseNodeGroupsInGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginIncreaseNodeGroupsInGlobalReplicationGroup. /// /// Returns a IncreaseNodeGroupsInGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for IncreaseNodeGroupsInGlobalReplicationGroup Operation public virtual IncreaseNodeGroupsInGlobalReplicationGroupResponse EndIncreaseNodeGroupsInGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region IncreaseReplicaCount /// /// Dynamically increases the number of replicas in a Redis (cluster mode disabled) replication /// group or the number of replica nodes in one or more node groups (shards) of a Redis /// (cluster mode enabled) replication group. This operation is performed with no cluster /// down time. /// /// Container for the necessary parameters to execute the IncreaseReplicaCount service method. /// /// The response from the IncreaseReplicaCount service method, as returned by ElastiCache. /// /// The request cannot be processed because it would exceed the allowed number of clusters /// per customer. /// /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// The requested cluster is not in the available state. /// /// /// The KMS key supplied is not valid. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the maximum allowed number /// of node groups (shards) in a single replication group. The default maximum is 90 /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// /// The operation was not performed because no changes were required. /// /// /// The specified replication group does not exist. /// /// REST API Reference for IncreaseReplicaCount Operation public virtual IncreaseReplicaCountResponse IncreaseReplicaCount(IncreaseReplicaCountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = IncreaseReplicaCountRequestMarshaller.Instance; options.ResponseUnmarshaller = IncreaseReplicaCountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the IncreaseReplicaCount operation. /// /// /// Container for the necessary parameters to execute the IncreaseReplicaCount operation on AmazonElastiCacheClient. /// 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 EndIncreaseReplicaCount /// operation. /// REST API Reference for IncreaseReplicaCount Operation public virtual IAsyncResult BeginIncreaseReplicaCount(IncreaseReplicaCountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = IncreaseReplicaCountRequestMarshaller.Instance; options.ResponseUnmarshaller = IncreaseReplicaCountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the IncreaseReplicaCount operation. /// /// /// The IAsyncResult returned by the call to BeginIncreaseReplicaCount. /// /// Returns a IncreaseReplicaCountResult from ElastiCache. /// REST API Reference for IncreaseReplicaCount Operation public virtual IncreaseReplicaCountResponse EndIncreaseReplicaCount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAllowedNodeTypeModifications /// /// Lists all available node types that you can scale your Redis cluster's or replication /// group's current node type. /// /// /// /// When you use the ModifyCacheCluster or ModifyReplicationGroup /// operations to scale your cluster or replication group, the value of the CacheNodeType /// parameter must be one of the node types returned by this operation. /// /// /// Container for the necessary parameters to execute the ListAllowedNodeTypeModifications service method. /// /// The response from the ListAllowedNodeTypeModifications service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The specified replication group does not exist. /// /// REST API Reference for ListAllowedNodeTypeModifications Operation public virtual ListAllowedNodeTypeModificationsResponse ListAllowedNodeTypeModifications(ListAllowedNodeTypeModificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAllowedNodeTypeModificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAllowedNodeTypeModificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAllowedNodeTypeModifications operation. /// /// /// Container for the necessary parameters to execute the ListAllowedNodeTypeModifications operation on AmazonElastiCacheClient. /// 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 EndListAllowedNodeTypeModifications /// operation. /// REST API Reference for ListAllowedNodeTypeModifications Operation public virtual IAsyncResult BeginListAllowedNodeTypeModifications(ListAllowedNodeTypeModificationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAllowedNodeTypeModificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAllowedNodeTypeModificationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAllowedNodeTypeModifications operation. /// /// /// The IAsyncResult returned by the call to BeginListAllowedNodeTypeModifications. /// /// Returns a ListAllowedNodeTypeModificationsResult from ElastiCache. /// REST API Reference for ListAllowedNodeTypeModifications Operation public virtual ListAllowedNodeTypeModificationsResponse EndListAllowedNodeTypeModifications(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists all tags currently on a named resource. /// /// /// /// A tag is a key-value pair where the key and value are case-sensitive. You can use /// tags to categorize and track all your ElastiCache resources, with the exception of /// global replication group. When you add or remove tags on replication groups, those /// actions will be replicated to all nodes in the replication group. For more information, /// see Resource-level /// permissions. /// /// /// /// If the cluster is not in the available state, ListTagsForResource /// returns an error. /// /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// /// The requested Amazon Resource Name (ARN) does not refer to an existing resource. /// /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// The requested reserved cache node was not found. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// /// The user group was not found or does not exist /// /// /// The user does not exist or could not be found. /// /// 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 AmazonElastiCacheClient. /// 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 ElastiCache. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyCacheCluster /// /// Modifies the settings for a cluster. You can use this operation to change one or more /// cluster configuration parameters by specifying the parameters and the new values. /// /// Container for the necessary parameters to execute the ModifyCacheCluster service method. /// /// The response from the ModifyCacheCluster service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// The requested cluster is not in the available state. /// /// /// The current state of the cache security group does not allow deletion. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes in a single cluster. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// REST API Reference for ModifyCacheCluster Operation public virtual ModifyCacheClusterResponse ModifyCacheCluster(ModifyCacheClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCacheClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyCacheCluster operation. /// /// /// Container for the necessary parameters to execute the ModifyCacheCluster operation on AmazonElastiCacheClient. /// 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 EndModifyCacheCluster /// operation. /// REST API Reference for ModifyCacheCluster Operation public virtual IAsyncResult BeginModifyCacheCluster(ModifyCacheClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCacheClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyCacheCluster operation. /// /// /// The IAsyncResult returned by the call to BeginModifyCacheCluster. /// /// Returns a ModifyCacheClusterResult from ElastiCache. /// REST API Reference for ModifyCacheCluster Operation public virtual ModifyCacheClusterResponse EndModifyCacheCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyCacheParameterGroup /// /// Modifies the parameters of a cache parameter group. You can modify up to 20 parameters /// in a single request by submitting a list parameter name and value pairs. /// /// Container for the necessary parameters to execute the ModifyCacheParameterGroup service method. /// /// The response from the ModifyCacheParameterGroup service method, as returned by ElastiCache. /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The current state of the cache parameter group does not allow the requested operation /// to occur. /// /// /// The Global datastore is not available or in primary-only state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for ModifyCacheParameterGroup Operation public virtual ModifyCacheParameterGroupResponse ModifyCacheParameterGroup(ModifyCacheParameterGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCacheParameterGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyCacheParameterGroup operation. /// /// /// Container for the necessary parameters to execute the ModifyCacheParameterGroup operation on AmazonElastiCacheClient. /// 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 EndModifyCacheParameterGroup /// operation. /// REST API Reference for ModifyCacheParameterGroup Operation public virtual IAsyncResult BeginModifyCacheParameterGroup(ModifyCacheParameterGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCacheParameterGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyCacheParameterGroup operation. /// /// /// The IAsyncResult returned by the call to BeginModifyCacheParameterGroup. /// /// Returns a ModifyCacheParameterGroupResult from ElastiCache. /// REST API Reference for ModifyCacheParameterGroup Operation public virtual ModifyCacheParameterGroupResponse EndModifyCacheParameterGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyCacheSubnetGroup /// /// Modifies an existing cache subnet group. /// /// Container for the necessary parameters to execute the ModifyCacheSubnetGroup service method. /// /// The response from the ModifyCacheSubnetGroup service method, as returned by ElastiCache. /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// /// The request cannot be processed because it would exceed the allowed number of subnets /// in a cache subnet group. /// /// /// An invalid subnet identifier was specified. /// /// /// The requested subnet is being used by another cache subnet group. /// /// /// At least one subnet ID does not match the other subnet IDs. This mismatch typically /// occurs when a user sets one subnet ID to a regional Availability Zone and a different /// one to an outpost. Or when a user sets the subnet ID to an Outpost when not subscribed /// on this service. /// /// REST API Reference for ModifyCacheSubnetGroup Operation public virtual ModifyCacheSubnetGroupResponse ModifyCacheSubnetGroup(ModifyCacheSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCacheSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCacheSubnetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyCacheSubnetGroup operation. /// /// /// Container for the necessary parameters to execute the ModifyCacheSubnetGroup operation on AmazonElastiCacheClient. /// 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 EndModifyCacheSubnetGroup /// operation. /// REST API Reference for ModifyCacheSubnetGroup Operation public virtual IAsyncResult BeginModifyCacheSubnetGroup(ModifyCacheSubnetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCacheSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCacheSubnetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyCacheSubnetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginModifyCacheSubnetGroup. /// /// Returns a ModifyCacheSubnetGroupResult from ElastiCache. /// REST API Reference for ModifyCacheSubnetGroup Operation public virtual ModifyCacheSubnetGroupResponse EndModifyCacheSubnetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyGlobalReplicationGroup /// /// Modifies the settings for a Global datastore. /// /// Container for the necessary parameters to execute the ModifyGlobalReplicationGroup service method. /// /// The response from the ModifyGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for ModifyGlobalReplicationGroup Operation public virtual ModifyGlobalReplicationGroupResponse ModifyGlobalReplicationGroup(ModifyGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the ModifyGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndModifyGlobalReplicationGroup /// operation. /// REST API Reference for ModifyGlobalReplicationGroup Operation public virtual IAsyncResult BeginModifyGlobalReplicationGroup(ModifyGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginModifyGlobalReplicationGroup. /// /// Returns a ModifyGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for ModifyGlobalReplicationGroup Operation public virtual ModifyGlobalReplicationGroupResponse EndModifyGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyReplicationGroup /// /// Modifies the settings for a replication group. /// /// /// /// This operation is valid for Redis only. /// /// /// /// Container for the necessary parameters to execute the ModifyReplicationGroup service method. /// /// The response from the ModifyReplicationGroup service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// The requested cluster is not in the available state. /// /// /// The current state of the cache security group does not allow deletion. /// /// /// The KMS key supplied is not valid. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The user group is not in an active state. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes in a single cluster. /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// /// The specified replication group does not exist. /// /// /// The user group was not found or does not exist /// /// REST API Reference for ModifyReplicationGroup Operation public virtual ModifyReplicationGroupResponse ModifyReplicationGroup(ModifyReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the ModifyReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndModifyReplicationGroup /// operation. /// REST API Reference for ModifyReplicationGroup Operation public virtual IAsyncResult BeginModifyReplicationGroup(ModifyReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginModifyReplicationGroup. /// /// Returns a ModifyReplicationGroupResult from ElastiCache. /// REST API Reference for ModifyReplicationGroup Operation public virtual ModifyReplicationGroupResponse EndModifyReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyReplicationGroupShardConfiguration /// /// Modifies a replication group's shards (node groups) by allowing you to add shards, /// remove shards, or rebalance the keyspaces among existing shards. /// /// Container for the necessary parameters to execute the ModifyReplicationGroupShardConfiguration service method. /// /// The response from the ModifyReplicationGroupShardConfiguration service method, as returned by ElastiCache. /// /// The requested cache node type is not available in the specified Availability Zone. /// For more information, see InsufficientCacheClusterCapacity /// in the ElastiCache User Guide. /// /// /// The requested cluster is not in the available state. /// /// /// The KMS key supplied is not valid. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The VPC network is in an invalid state. /// /// /// The request cannot be processed because it would exceed the maximum allowed number /// of node groups (shards) in a single replication group. The default maximum is 90 /// /// /// The request cannot be processed because it would exceed the allowed number of cache /// nodes per customer. /// /// /// The specified replication group does not exist. /// /// REST API Reference for ModifyReplicationGroupShardConfiguration Operation public virtual ModifyReplicationGroupShardConfigurationResponse ModifyReplicationGroupShardConfiguration(ModifyReplicationGroupShardConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationGroupShardConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationGroupShardConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyReplicationGroupShardConfiguration operation. /// /// /// Container for the necessary parameters to execute the ModifyReplicationGroupShardConfiguration operation on AmazonElastiCacheClient. /// 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 EndModifyReplicationGroupShardConfiguration /// operation. /// REST API Reference for ModifyReplicationGroupShardConfiguration Operation public virtual IAsyncResult BeginModifyReplicationGroupShardConfiguration(ModifyReplicationGroupShardConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationGroupShardConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationGroupShardConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyReplicationGroupShardConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginModifyReplicationGroupShardConfiguration. /// /// Returns a ModifyReplicationGroupShardConfigurationResult from ElastiCache. /// REST API Reference for ModifyReplicationGroupShardConfiguration Operation public virtual ModifyReplicationGroupShardConfigurationResponse EndModifyReplicationGroupShardConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyUser /// /// Changes user password(s) and/or access string. /// /// Container for the necessary parameters to execute the ModifyUser service method. /// /// The response from the ModifyUser service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The user is not in active state. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The user does not exist or could not be found. /// /// REST API Reference for ModifyUser Operation public virtual ModifyUserResponse ModifyUser(ModifyUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyUser operation. /// /// /// Container for the necessary parameters to execute the ModifyUser operation on AmazonElastiCacheClient. /// 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 EndModifyUser /// operation. /// REST API Reference for ModifyUser Operation public virtual IAsyncResult BeginModifyUser(ModifyUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyUser operation. /// /// /// The IAsyncResult returned by the call to BeginModifyUser. /// /// Returns a ModifyUserResult from ElastiCache. /// REST API Reference for ModifyUser Operation public virtual ModifyUserResponse EndModifyUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ModifyUserGroup /// /// Changes the list of users that belong to the user group. /// /// Container for the necessary parameters to execute the ModifyUserGroup service method. /// /// The response from the ModifyUserGroup service method, as returned by ElastiCache. /// /// You must add default user to a user group. /// /// /// A user with this username already exists. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The user group is not in an active state. /// /// /// The specified service linked role (SLR) was not found. /// /// /// The user group was not found or does not exist /// /// /// The user does not exist or could not be found. /// /// REST API Reference for ModifyUserGroup Operation public virtual ModifyUserGroupResponse ModifyUserGroup(ModifyUserGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyUserGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyUserGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ModifyUserGroup operation. /// /// /// Container for the necessary parameters to execute the ModifyUserGroup operation on AmazonElastiCacheClient. /// 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 EndModifyUserGroup /// operation. /// REST API Reference for ModifyUserGroup Operation public virtual IAsyncResult BeginModifyUserGroup(ModifyUserGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyUserGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyUserGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ModifyUserGroup operation. /// /// /// The IAsyncResult returned by the call to BeginModifyUserGroup. /// /// Returns a ModifyUserGroupResult from ElastiCache. /// REST API Reference for ModifyUserGroup Operation public virtual ModifyUserGroupResponse EndModifyUserGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PurchaseReservedCacheNodesOffering /// /// Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible /// for cancellation and are non-refundable. For more information, see Managing /// Costs with Reserved Nodes for Redis or Managing /// Costs with Reserved Nodes for Memcached. /// /// Container for the necessary parameters to execute the PurchaseReservedCacheNodesOffering service method. /// /// The response from the PurchaseReservedCacheNodesOffering service method, as returned by ElastiCache. /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// You already have a reservation with the given identifier. /// /// /// The request cannot be processed because it would exceed the user's cache node quota. /// /// /// The requested cache node offering does not exist. /// /// /// The request cannot be processed because it would cause the resource to have more than /// the allowed number of tags. The maximum number of tags permitted on a resource is /// 50. /// /// REST API Reference for PurchaseReservedCacheNodesOffering Operation public virtual PurchaseReservedCacheNodesOfferingResponse PurchaseReservedCacheNodesOffering(PurchaseReservedCacheNodesOfferingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedCacheNodesOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedCacheNodesOfferingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PurchaseReservedCacheNodesOffering operation. /// /// /// Container for the necessary parameters to execute the PurchaseReservedCacheNodesOffering operation on AmazonElastiCacheClient. /// 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 EndPurchaseReservedCacheNodesOffering /// operation. /// REST API Reference for PurchaseReservedCacheNodesOffering Operation public virtual IAsyncResult BeginPurchaseReservedCacheNodesOffering(PurchaseReservedCacheNodesOfferingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedCacheNodesOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedCacheNodesOfferingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PurchaseReservedCacheNodesOffering operation. /// /// /// The IAsyncResult returned by the call to BeginPurchaseReservedCacheNodesOffering. /// /// Returns a PurchaseReservedCacheNodesOfferingResult from ElastiCache. /// REST API Reference for PurchaseReservedCacheNodesOffering Operation public virtual PurchaseReservedCacheNodesOfferingResponse EndPurchaseReservedCacheNodesOffering(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RebalanceSlotsInGlobalReplicationGroup /// /// Redistribute slots to ensure uniform distribution across existing shards in the cluster. /// /// Container for the necessary parameters to execute the RebalanceSlotsInGlobalReplicationGroup service method. /// /// The response from the RebalanceSlotsInGlobalReplicationGroup service method, as returned by ElastiCache. /// /// The Global datastore does not exist /// /// /// The Global datastore is not available or in primary-only state. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for RebalanceSlotsInGlobalReplicationGroup Operation public virtual RebalanceSlotsInGlobalReplicationGroupResponse RebalanceSlotsInGlobalReplicationGroup(RebalanceSlotsInGlobalReplicationGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RebalanceSlotsInGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = RebalanceSlotsInGlobalReplicationGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RebalanceSlotsInGlobalReplicationGroup operation. /// /// /// Container for the necessary parameters to execute the RebalanceSlotsInGlobalReplicationGroup operation on AmazonElastiCacheClient. /// 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 EndRebalanceSlotsInGlobalReplicationGroup /// operation. /// REST API Reference for RebalanceSlotsInGlobalReplicationGroup Operation public virtual IAsyncResult BeginRebalanceSlotsInGlobalReplicationGroup(RebalanceSlotsInGlobalReplicationGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RebalanceSlotsInGlobalReplicationGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = RebalanceSlotsInGlobalReplicationGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RebalanceSlotsInGlobalReplicationGroup operation. /// /// /// The IAsyncResult returned by the call to BeginRebalanceSlotsInGlobalReplicationGroup. /// /// Returns a RebalanceSlotsInGlobalReplicationGroupResult from ElastiCache. /// REST API Reference for RebalanceSlotsInGlobalReplicationGroup Operation public virtual RebalanceSlotsInGlobalReplicationGroupResponse EndRebalanceSlotsInGlobalReplicationGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RebootCacheCluster /// /// Reboots some, or all, of the cache nodes within a provisioned cluster. This operation /// applies any modified cache parameter groups to the cluster. The reboot operation takes /// place as soon as possible, and results in a momentary outage to the cluster. During /// the reboot, the cluster status is set to REBOOTING. /// /// /// /// The reboot causes the contents of the cache (for each cache node being rebooted) to /// be lost. /// /// /// /// When the reboot is complete, a cluster event is created. /// /// /// /// Rebooting a cluster is currently supported on Memcached and Redis (cluster mode disabled) /// clusters. Rebooting is not supported on Redis (cluster mode enabled) clusters. /// /// /// /// If you make changes to parameters that require a Redis (cluster mode enabled) cluster /// reboot for the changes to be applied, see Rebooting /// a Cluster for an alternate process. /// /// /// Container for the necessary parameters to execute the RebootCacheCluster service method. /// /// The response from the RebootCacheCluster service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cluster is not in the available state. /// /// REST API Reference for RebootCacheCluster Operation public virtual RebootCacheClusterResponse RebootCacheCluster(RebootCacheClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RebootCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = RebootCacheClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RebootCacheCluster operation. /// /// /// Container for the necessary parameters to execute the RebootCacheCluster operation on AmazonElastiCacheClient. /// 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 EndRebootCacheCluster /// operation. /// REST API Reference for RebootCacheCluster Operation public virtual IAsyncResult BeginRebootCacheCluster(RebootCacheClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RebootCacheClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = RebootCacheClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RebootCacheCluster operation. /// /// /// The IAsyncResult returned by the call to BeginRebootCacheCluster. /// /// Returns a RebootCacheClusterResult from ElastiCache. /// REST API Reference for RebootCacheCluster Operation public virtual RebootCacheClusterResponse EndRebootCacheCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RemoveTagsFromResource /// /// Removes the tags identified by the TagKeys list from the named resource. /// A tag is a key-value pair where the key and value are case-sensitive. You can use /// tags to categorize and track all your ElastiCache resources, with the exception of /// global replication group. When you add or remove tags on replication groups, those /// actions will be replicated to all nodes in the replication group. For more information, /// see Resource-level /// permissions. /// /// Container for the necessary parameters to execute the RemoveTagsFromResource service method. /// /// The response from the RemoveTagsFromResource service method, as returned by ElastiCache. /// /// The requested cluster ID does not refer to an existing cluster. /// /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The requested cache subnet group name does not refer to an existing cache subnet group. /// /// /// The requested Amazon Resource Name (ARN) does not refer to an existing resource. /// /// /// The requested replication group is not in the available state. /// /// /// The specified replication group does not exist. /// /// /// The requested reserved cache node was not found. /// /// /// The requested snapshot name does not refer to an existing snapshot. /// /// /// The requested tag was not found on this resource. /// /// /// The user group was not found or does not exist /// /// /// The user does not exist or could not be found. /// /// REST API Reference for RemoveTagsFromResource Operation public virtual RemoveTagsFromResourceResponse RemoveTagsFromResource(RemoveTagsFromResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsFromResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RemoveTagsFromResource operation. /// /// /// Container for the necessary parameters to execute the RemoveTagsFromResource operation on AmazonElastiCacheClient. /// 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 EndRemoveTagsFromResource /// operation. /// REST API Reference for RemoveTagsFromResource Operation public virtual IAsyncResult BeginRemoveTagsFromResource(RemoveTagsFromResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsFromResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveTagsFromResource operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveTagsFromResource. /// /// Returns a RemoveTagsFromResourceResult from ElastiCache. /// REST API Reference for RemoveTagsFromResource Operation public virtual RemoveTagsFromResourceResponse EndRemoveTagsFromResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ResetCacheParameterGroup /// /// Modifies the parameters of a cache parameter group to the engine or system default /// value. You can reset specific parameters by submitting a list of parameter names. /// To reset the entire cache parameter group, specify the ResetAllParameters /// and CacheParameterGroupName parameters. /// /// Container for the necessary parameters to execute the ResetCacheParameterGroup service method. /// /// The response from the ResetCacheParameterGroup service method, as returned by ElastiCache. /// /// The requested cache parameter group name does not refer to an existing cache parameter /// group. /// /// /// The current state of the cache parameter group does not allow the requested operation /// to occur. /// /// /// The Global datastore is not available or in primary-only state. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for ResetCacheParameterGroup Operation public virtual ResetCacheParameterGroupResponse ResetCacheParameterGroup(ResetCacheParameterGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetCacheParameterGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ResetCacheParameterGroup operation. /// /// /// Container for the necessary parameters to execute the ResetCacheParameterGroup operation on AmazonElastiCacheClient. /// 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 EndResetCacheParameterGroup /// operation. /// REST API Reference for ResetCacheParameterGroup Operation public virtual IAsyncResult BeginResetCacheParameterGroup(ResetCacheParameterGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ResetCacheParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetCacheParameterGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ResetCacheParameterGroup operation. /// /// /// The IAsyncResult returned by the call to BeginResetCacheParameterGroup. /// /// Returns a ResetCacheParameterGroupResult from ElastiCache. /// REST API Reference for ResetCacheParameterGroup Operation public virtual ResetCacheParameterGroupResponse EndResetCacheParameterGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RevokeCacheSecurityGroupIngress /// /// Revokes ingress from a cache security group. Use this operation to disallow access /// from an Amazon EC2 security group that had been previously authorized. /// /// Container for the necessary parameters to execute the RevokeCacheSecurityGroupIngress service method. /// /// The response from the RevokeCacheSecurityGroupIngress service method, as returned by ElastiCache. /// /// The specified Amazon EC2 security group is not authorized for the specified cache /// security group. /// /// /// The requested cache security group name does not refer to an existing cache security /// group. /// /// /// The current state of the cache security group does not allow deletion. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// REST API Reference for RevokeCacheSecurityGroupIngress Operation public virtual RevokeCacheSecurityGroupIngressResponse RevokeCacheSecurityGroupIngress(RevokeCacheSecurityGroupIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeCacheSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeCacheSecurityGroupIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RevokeCacheSecurityGroupIngress operation. /// /// /// Container for the necessary parameters to execute the RevokeCacheSecurityGroupIngress operation on AmazonElastiCacheClient. /// 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 EndRevokeCacheSecurityGroupIngress /// operation. /// REST API Reference for RevokeCacheSecurityGroupIngress Operation public virtual IAsyncResult BeginRevokeCacheSecurityGroupIngress(RevokeCacheSecurityGroupIngressRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeCacheSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeCacheSecurityGroupIngressResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RevokeCacheSecurityGroupIngress operation. /// /// /// The IAsyncResult returned by the call to BeginRevokeCacheSecurityGroupIngress. /// /// Returns a RevokeCacheSecurityGroupIngressResult from ElastiCache. /// REST API Reference for RevokeCacheSecurityGroupIngress Operation public virtual RevokeCacheSecurityGroupIngressResponse EndRevokeCacheSecurityGroupIngress(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartMigration /// /// Start the migration of data. /// /// Container for the necessary parameters to execute the StartMigration service method. /// /// The response from the StartMigration service method, as returned by ElastiCache. /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The targeted replication group is not available. /// /// /// The specified replication group does not exist. /// /// REST API Reference for StartMigration Operation public virtual StartMigrationResponse StartMigration(StartMigrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartMigrationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartMigrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartMigration operation. /// /// /// Container for the necessary parameters to execute the StartMigration operation on AmazonElastiCacheClient. /// 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 EndStartMigration /// operation. /// REST API Reference for StartMigration Operation public virtual IAsyncResult BeginStartMigration(StartMigrationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartMigrationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartMigrationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartMigration operation. /// /// /// The IAsyncResult returned by the call to BeginStartMigration. /// /// Returns a StartMigrationResult from ElastiCache. /// REST API Reference for StartMigration Operation public virtual StartMigrationResponse EndStartMigration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TestFailover /// /// Represents the input of a TestFailover operation which test automatic /// failover on a specified node group (called shard in the console) in a replication /// group (called cluster in the console). /// /// /// /// This API is designed for testing the behavior of your application in case of ElastiCache /// failover. It is not designed to be an operational tool for initiating a failover to /// overcome a problem you may have with the cluster. Moreover, in certain conditions /// such as large-scale operational events, Amazon may block this API. /// ///

Note the following /// ///

  • /// /// A customer can use this operation to test automatic failover on up to 5 shards (called /// node groups in the ElastiCache API and Amazon CLI) in any rolling 24-hour period. /// ///
  • /// /// If calling this operation on shards in different clusters (called replication groups /// in the API and CLI), the calls can be made concurrently. /// /// /// /// /// ///
  • /// /// If calling this operation multiple times on different shards in the same Redis (cluster /// mode enabled) replication group, the first node replacement must complete before a /// subsequent call can be made. /// ///
  • /// /// To determine whether the node replacement is complete you can check Events using the /// Amazon ElastiCache console, the Amazon CLI, or the ElastiCache API. Look for the following /// automatic failover related events, listed here in order of occurrance: /// ///
    1. /// /// Replication group message: Test Failover API called for node group <node-group-id> /// /// ///
    2. /// /// Cache cluster message: Failover from primary node <primary-node-id> to /// replica node <node-id> completed /// ///
    3. /// /// Replication group message: Failover from primary node <primary-node-id> /// to replica node <node-id> completed /// ///
    4. /// /// Cache cluster message: Recovering cache nodes <node-id> /// ///
    5. /// /// Cache cluster message: Finished recovery for cache nodes <node-id> /// /// ///
    /// /// For more information see: /// ///
/// /// Also see, Testing /// Multi-AZ in the ElastiCache User Guide. /// ///
/// Container for the necessary parameters to execute the TestFailover service method. /// /// The response from the TestFailover service method, as returned by ElastiCache. /// /// The customer has exceeded the allowed rate of API calls. /// /// /// The requested cluster is not in the available state. /// /// /// The KMS key supplied is not valid. /// /// /// Two or more incompatible parameters were specified. /// /// /// The value for a parameter is invalid. /// /// /// The requested replication group is not in the available state. /// /// /// The node group specified by the NodeGroupId parameter could not be found. /// Please verify that the node group exists and that you spelled the NodeGroupId /// value correctly. /// /// /// The specified replication group does not exist. /// /// /// The TestFailover action is not available. /// /// REST API Reference for TestFailover Operation public virtual TestFailoverResponse TestFailover(TestFailoverRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestFailoverRequestMarshaller.Instance; options.ResponseUnmarshaller = TestFailoverResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TestFailover operation. /// /// /// Container for the necessary parameters to execute the TestFailover operation on AmazonElastiCacheClient. /// 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 EndTestFailover /// operation. /// REST API Reference for TestFailover Operation public virtual IAsyncResult BeginTestFailover(TestFailoverRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TestFailoverRequestMarshaller.Instance; options.ResponseUnmarshaller = TestFailoverResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TestFailover operation. /// /// /// The IAsyncResult returned by the call to BeginTestFailover. /// /// Returns a TestFailoverResult from ElastiCache. /// REST API Reference for TestFailover Operation public virtual TestFailoverResponse EndTestFailover(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }