/*
* 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 dax-2017-04-19.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.DAX.Model;
using Amazon.DAX.Model.Internal.MarshallTransformations;
using Amazon.DAX.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.DAX
{
///
/// Implementation for accessing DAX
///
/// DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically
/// speeds up database reads by caching frequently-accessed data from DynamoDB, so applications
/// can access that data with sub-millisecond latency. You can create a DAX cluster easily,
/// using the AWS Management Console. With a few simple modifications to your code, your
/// application can begin taking advantage of the DAX cluster and realize significant
/// improvements in read performance.
///
public partial class AmazonDAXClient : AmazonServiceClient, IAmazonDAX
{
private static IServiceMetadata serviceMetadata = new AmazonDAXMetadata();
#region Constructors
///
/// Constructs AmazonDAXClient 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 AmazonDAXClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonDAXConfig()) { }
///
/// Constructs AmazonDAXClient 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 AmazonDAXClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonDAXConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonDAXClient 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 AmazonDAXClient Configuration Object
public AmazonDAXClient(AmazonDAXConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonDAXClient with AWS Credentials
///
/// AWS Credentials
public AmazonDAXClient(AWSCredentials credentials)
: this(credentials, new AmazonDAXConfig())
{
}
///
/// Constructs AmazonDAXClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonDAXClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonDAXConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonDAXClient with AWS Credentials and an
/// AmazonDAXClient Configuration object.
///
/// AWS Credentials
/// The AmazonDAXClient Configuration Object
public AmazonDAXClient(AWSCredentials credentials, AmazonDAXConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonDAXClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonDAXClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonDAXConfig())
{
}
///
/// Constructs AmazonDAXClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonDAXClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonDAXConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonDAXClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonDAXClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonDAXClient Configuration Object
public AmazonDAXClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonDAXConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonDAXClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonDAXClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDAXConfig())
{
}
///
/// Constructs AmazonDAXClient 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 AmazonDAXClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDAXConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonDAXClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonDAXClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonDAXClient Configuration Object
public AmazonDAXClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonDAXConfig 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 AmazonDAXEndpointResolver());
}
///
/// 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 CreateCluster
///
/// Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.
///
/// Container for the necessary parameters to execute the CreateCluster service method.
///
/// The response from the CreateCluster service method, as returned by DAX.
///
/// You already have a DAX cluster with the given identifier.
///
///
/// You have attempted to exceed the maximum number of DAX clusters for your AWS account.
///
///
/// There are not enough system resources to create the cluster you requested (or to resize
/// an already-existing cluster).
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// One or more parameters in a parameter group are in an invalid state.
///
///
/// The value for a parameter is invalid.
///
///
/// The VPC network is in an invalid state.
///
///
/// You have attempted to exceed the maximum number of nodes for a DAX cluster.
///
///
/// You have attempted to exceed the maximum number of nodes for your AWS account.
///
///
/// The specified parameter group does not exist.
///
///
/// The specified service linked role (SLR) was not found.
///
///
/// You have reached the maximum number of x509 certificates that can be created for encrypted
/// clusters in a 30 day period. Contact AWS customer support to discuss options for continuing
/// to create encrypted clusters.
///
///
/// The requested subnet group name does not refer to an existing subnet group.
///
///
/// You have exceeded the maximum number of tags for this DAX cluster.
///
/// REST API Reference for CreateCluster Operation
public virtual CreateClusterResponse CreateCluster(CreateClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCluster operation.
///
///
/// Container for the necessary parameters to execute the CreateCluster operation on AmazonDAXClient.
/// 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 EndCreateCluster
/// operation.
/// REST API Reference for CreateCluster Operation
public virtual IAsyncResult BeginCreateCluster(CreateClusterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCluster.
///
/// Returns a CreateClusterResult from DAX.
/// REST API Reference for CreateCluster Operation
public virtual CreateClusterResponse EndCreateCluster(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateParameterGroup
///
/// Creates a new parameter group. A parameter group is a collection of parameters that
/// you apply to all of the nodes in a DAX cluster.
///
/// Container for the necessary parameters to execute the CreateParameterGroup service method.
///
/// The response from the CreateParameterGroup service method, as returned by DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// One or more parameters in a parameter group are in an invalid state.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified parameter group already exists.
///
///
/// You have attempted to exceed the maximum number of parameter groups.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for CreateParameterGroup Operation
public virtual CreateParameterGroupResponse CreateParameterGroup(CreateParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateParameterGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateParameterGroup operation on AmazonDAXClient.
/// 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 EndCreateParameterGroup
/// operation.
/// REST API Reference for CreateParameterGroup Operation
public virtual IAsyncResult BeginCreateParameterGroup(CreateParameterGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateParameterGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateParameterGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateParameterGroup.
///
/// Returns a CreateParameterGroupResult from DAX.
/// REST API Reference for CreateParameterGroup Operation
public virtual CreateParameterGroupResponse EndCreateParameterGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateSubnetGroup
///
/// Creates a new subnet group.
///
/// Container for the necessary parameters to execute the CreateSubnetGroup service method.
///
/// The response from the CreateSubnetGroup service method, as returned by DAX.
///
/// An invalid subnet identifier was specified.
///
///
/// The specified service linked role (SLR) was not found.
///
///
/// The specified subnet group already exists.
///
///
/// The request cannot be processed because it would exceed the allowed number of subnets
/// in a subnet group.
///
///
/// The request cannot be processed because it would exceed the allowed number of subnets
/// in a subnet group.
///
/// REST API Reference for CreateSubnetGroup Operation
public virtual CreateSubnetGroupResponse CreateSubnetGroup(CreateSubnetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateSubnetGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateSubnetGroup operation on AmazonDAXClient.
/// 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 EndCreateSubnetGroup
/// operation.
/// REST API Reference for CreateSubnetGroup Operation
public virtual IAsyncResult BeginCreateSubnetGroup(CreateSubnetGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateSubnetGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateSubnetGroup.
///
/// Returns a CreateSubnetGroupResult from DAX.
/// REST API Reference for CreateSubnetGroup Operation
public virtual CreateSubnetGroupResponse EndCreateSubnetGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DecreaseReplicationFactor
///
/// Removes one or more nodes from a DAX cluster.
///
///
///
/// You cannot use DecreaseReplicationFactor
to remove the last node in a
/// DAX cluster. If you need to do this, use DeleteCluster
instead.
///
///
///
/// Container for the necessary parameters to execute the DecreaseReplicationFactor service method.
///
/// The response from the DecreaseReplicationFactor service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// None of the nodes in the cluster have the given node ID.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DecreaseReplicationFactor Operation
public virtual DecreaseReplicationFactorResponse DecreaseReplicationFactor(DecreaseReplicationFactorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DecreaseReplicationFactorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DecreaseReplicationFactorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DecreaseReplicationFactor operation.
///
///
/// Container for the necessary parameters to execute the DecreaseReplicationFactor operation on AmazonDAXClient.
/// 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 EndDecreaseReplicationFactor
/// operation.
/// REST API Reference for DecreaseReplicationFactor Operation
public virtual IAsyncResult BeginDecreaseReplicationFactor(DecreaseReplicationFactorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DecreaseReplicationFactorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DecreaseReplicationFactorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DecreaseReplicationFactor operation.
///
///
/// The IAsyncResult returned by the call to BeginDecreaseReplicationFactor.
///
/// Returns a DecreaseReplicationFactorResult from DAX.
/// REST API Reference for DecreaseReplicationFactor Operation
public virtual DecreaseReplicationFactorResponse EndDecreaseReplicationFactor(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCluster
///
/// Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated
/// nodes, node endpoints and the DAX cluster itself. When you receive a successful response
/// from this action, DAX immediately begins deleting the cluster; you cannot cancel or
/// revert this action.
///
/// Container for the necessary parameters to execute the DeleteCluster service method.
///
/// The response from the DeleteCluster service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DeleteCluster Operation
public virtual DeleteClusterResponse DeleteCluster(DeleteClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCluster operation.
///
///
/// Container for the necessary parameters to execute the DeleteCluster operation on AmazonDAXClient.
/// 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 EndDeleteCluster
/// operation.
/// REST API Reference for DeleteCluster Operation
public virtual IAsyncResult BeginDeleteCluster(DeleteClusterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteClusterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCluster.
///
/// Returns a DeleteClusterResult from DAX.
/// REST API Reference for DeleteCluster Operation
public virtual DeleteClusterResponse EndDeleteCluster(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteParameterGroup
///
/// Deletes the specified parameter group. You cannot delete a parameter group if it is
/// associated with any DAX clusters.
///
/// Container for the necessary parameters to execute the DeleteParameterGroup service method.
///
/// The response from the DeleteParameterGroup service method, as returned by DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// One or more parameters in a parameter group are in an invalid state.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified parameter group does not exist.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DeleteParameterGroup Operation
public virtual DeleteParameterGroupResponse DeleteParameterGroup(DeleteParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteParameterGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteParameterGroup operation on AmazonDAXClient.
/// 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 EndDeleteParameterGroup
/// operation.
/// REST API Reference for DeleteParameterGroup Operation
public virtual IAsyncResult BeginDeleteParameterGroup(DeleteParameterGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteParameterGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteParameterGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteParameterGroup.
///
/// Returns a DeleteParameterGroupResult from DAX.
/// REST API Reference for DeleteParameterGroup Operation
public virtual DeleteParameterGroupResponse EndDeleteParameterGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSubnetGroup
///
/// Deletes a subnet group.
///
///
///
/// You cannot delete a subnet group if it is associated with any DAX clusters.
///
///
///
/// Container for the necessary parameters to execute the DeleteSubnetGroup service method.
///
/// The response from the DeleteSubnetGroup service method, as returned by DAX.
///
/// The specified service linked role (SLR) was not found.
///
///
/// The specified subnet group is currently in use.
///
///
/// The requested subnet group name does not refer to an existing subnet group.
///
/// REST API Reference for DeleteSubnetGroup Operation
public virtual DeleteSubnetGroupResponse DeleteSubnetGroup(DeleteSubnetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSubnetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSubnetGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteSubnetGroup operation on AmazonDAXClient.
/// 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 EndDeleteSubnetGroup
/// operation.
/// REST API Reference for DeleteSubnetGroup Operation
public virtual IAsyncResult BeginDeleteSubnetGroup(DeleteSubnetGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSubnetGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSubnetGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSubnetGroup.
///
/// Returns a DeleteSubnetGroupResult from DAX.
/// REST API Reference for DeleteSubnetGroup Operation
public virtual DeleteSubnetGroupResponse EndDeleteSubnetGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeClusters
///
/// Returns information about all provisioned DAX clusters if no cluster identifier is
/// specified, or about a specific DAX cluster if a cluster identifier is supplied.
///
///
///
/// If the cluster is in the CREATING state, only cluster level information will be displayed
/// until all of the nodes are successfully provisioned.
///
///
///
/// If the cluster is in the DELETING state, only cluster level information will be displayed.
///
///
///
/// If nodes are currently being added to the DAX cluster, node endpoint information and
/// creation time for the additional nodes will not be displayed until they are completely
/// provisioned. When the DAX cluster state is available, the cluster is ready
/// for use.
///
///
///
/// If nodes are currently being removed from the DAX cluster, no endpoint information
/// for the removed nodes is displayed.
///
///
/// Container for the necessary parameters to execute the DescribeClusters service method.
///
/// The response from the DescribeClusters service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DescribeClusters Operation
public virtual DescribeClustersResponse DescribeClusters(DescribeClustersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeClustersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeClusters operation.
///
///
/// Container for the necessary parameters to execute the DescribeClusters operation on AmazonDAXClient.
/// 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 EndDescribeClusters
/// operation.
/// REST API Reference for DescribeClusters Operation
public virtual IAsyncResult BeginDescribeClusters(DescribeClustersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeClustersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeClusters operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeClusters.
///
/// Returns a DescribeClustersResult from DAX.
/// REST API Reference for DescribeClusters Operation
public virtual DescribeClustersResponse EndDescribeClusters(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDefaultParameters
///
/// Returns the default system parameter information for the DAX caching software.
///
/// Container for the necessary parameters to execute the DescribeDefaultParameters service method.
///
/// The response from the DescribeDefaultParameters service method, as returned by DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DescribeDefaultParameters Operation
public virtual DescribeDefaultParametersResponse DescribeDefaultParameters(DescribeDefaultParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDefaultParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDefaultParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDefaultParameters operation.
///
///
/// Container for the necessary parameters to execute the DescribeDefaultParameters operation on AmazonDAXClient.
/// 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 EndDescribeDefaultParameters
/// operation.
/// REST API Reference for DescribeDefaultParameters Operation
public virtual IAsyncResult BeginDescribeDefaultParameters(DescribeDefaultParametersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDefaultParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDefaultParametersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDefaultParameters operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDefaultParameters.
///
/// Returns a DescribeDefaultParametersResult from DAX.
/// REST API Reference for DescribeDefaultParameters Operation
public virtual DescribeDefaultParametersResponse EndDescribeDefaultParameters(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeEvents
///
/// Returns events related to DAX clusters and parameter groups. You can obtain events
/// specific to a particular DAX cluster or parameter group by providing the name as a
/// parameter.
///
///
///
/// By default, only the events occurring within the last 24 hours 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 DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
/// 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 AmazonDAXClient.
/// 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 DAX.
/// REST API Reference for DescribeEvents Operation
public virtual DescribeEventsResponse EndDescribeEvents(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeParameterGroups
///
/// Returns a list of parameter group descriptions. If a parameter group name is specified,
/// the list will contain only the descriptions for that group.
///
/// Container for the necessary parameters to execute the DescribeParameterGroups service method.
///
/// The response from the DescribeParameterGroups service method, as returned by DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified parameter group does not exist.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DescribeParameterGroups Operation
public virtual DescribeParameterGroupsResponse DescribeParameterGroups(DescribeParameterGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeParameterGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeParameterGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeParameterGroups operation.
///
///
/// Container for the necessary parameters to execute the DescribeParameterGroups operation on AmazonDAXClient.
/// 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 EndDescribeParameterGroups
/// operation.
/// REST API Reference for DescribeParameterGroups Operation
public virtual IAsyncResult BeginDescribeParameterGroups(DescribeParameterGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeParameterGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeParameterGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeParameterGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeParameterGroups.
///
/// Returns a DescribeParameterGroupsResult from DAX.
/// REST API Reference for DescribeParameterGroups Operation
public virtual DescribeParameterGroupsResponse EndDescribeParameterGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeParameters
///
/// Returns the detailed parameter list for a particular parameter group.
///
/// Container for the necessary parameters to execute the DescribeParameters service method.
///
/// The response from the DescribeParameters service method, as returned by DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified parameter group does not exist.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for DescribeParameters Operation
public virtual DescribeParametersResponse DescribeParameters(DescribeParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeParameters operation.
///
///
/// Container for the necessary parameters to execute the DescribeParameters operation on AmazonDAXClient.
/// 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 EndDescribeParameters
/// operation.
/// REST API Reference for DescribeParameters Operation
public virtual IAsyncResult BeginDescribeParameters(DescribeParametersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeParametersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeParameters operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeParameters.
///
/// Returns a DescribeParametersResult from DAX.
/// REST API Reference for DescribeParameters Operation
public virtual DescribeParametersResponse EndDescribeParameters(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSubnetGroups
///
/// Returns a list of subnet group descriptions. If a subnet group name is specified,
/// the list will contain only the description of that group.
///
/// Container for the necessary parameters to execute the DescribeSubnetGroups service method.
///
/// The response from the DescribeSubnetGroups service method, as returned by DAX.
///
/// The specified service linked role (SLR) was not found.
///
///
/// The requested subnet group name does not refer to an existing subnet group.
///
/// REST API Reference for DescribeSubnetGroups Operation
public virtual DescribeSubnetGroupsResponse DescribeSubnetGroups(DescribeSubnetGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSubnetGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSubnetGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSubnetGroups operation.
///
///
/// Container for the necessary parameters to execute the DescribeSubnetGroups operation on AmazonDAXClient.
/// 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 EndDescribeSubnetGroups
/// operation.
/// REST API Reference for DescribeSubnetGroups Operation
public virtual IAsyncResult BeginDescribeSubnetGroups(DescribeSubnetGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSubnetGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSubnetGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSubnetGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSubnetGroups.
///
/// Returns a DescribeSubnetGroupsResult from DAX.
/// REST API Reference for DescribeSubnetGroups Operation
public virtual DescribeSubnetGroupsResponse EndDescribeSubnetGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region IncreaseReplicationFactor
///
/// Adds one or more nodes to a DAX cluster.
///
/// Container for the necessary parameters to execute the IncreaseReplicationFactor service method.
///
/// The response from the IncreaseReplicationFactor service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// There are not enough system resources to create the cluster you requested (or to resize
/// an already-existing cluster).
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The VPC network is in an invalid state.
///
///
/// You have attempted to exceed the maximum number of nodes for a DAX cluster.
///
///
/// You have attempted to exceed the maximum number of nodes for your AWS account.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for IncreaseReplicationFactor Operation
public virtual IncreaseReplicationFactorResponse IncreaseReplicationFactor(IncreaseReplicationFactorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = IncreaseReplicationFactorRequestMarshaller.Instance;
options.ResponseUnmarshaller = IncreaseReplicationFactorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the IncreaseReplicationFactor operation.
///
///
/// Container for the necessary parameters to execute the IncreaseReplicationFactor operation on AmazonDAXClient.
/// 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 EndIncreaseReplicationFactor
/// operation.
/// REST API Reference for IncreaseReplicationFactor Operation
public virtual IAsyncResult BeginIncreaseReplicationFactor(IncreaseReplicationFactorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = IncreaseReplicationFactorRequestMarshaller.Instance;
options.ResponseUnmarshaller = IncreaseReplicationFactorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the IncreaseReplicationFactor operation.
///
///
/// The IAsyncResult returned by the call to BeginIncreaseReplicationFactor.
///
/// Returns a IncreaseReplicationFactorResult from DAX.
/// REST API Reference for IncreaseReplicationFactor Operation
public virtual IncreaseReplicationFactorResponse EndIncreaseReplicationFactor(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTags
///
/// List all of the tags for a DAX cluster. You can call ListTags
up to 10
/// times per second, per account.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// The response from the ListTags service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The Amazon Resource Name (ARN) supplied in the request is not valid.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for ListTags Operation
public virtual ListTagsResponse ListTags(ListTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTags operation.
///
///
/// Container for the necessary parameters to execute the ListTags operation on AmazonDAXClient.
/// 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 EndListTags
/// operation.
/// REST API Reference for ListTags Operation
public virtual IAsyncResult BeginListTags(ListTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTags operation.
///
///
/// The IAsyncResult returned by the call to BeginListTags.
///
/// Returns a ListTagsResult from DAX.
/// REST API Reference for ListTags Operation
public virtual ListTagsResponse EndListTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RebootNode
///
/// Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible.
/// During the reboot, the node status is set to REBOOTING.
///
///
///
/// RebootNode
restarts the DAX engine process and does not remove the contents
/// of the cache.
///
///
///
/// Container for the necessary parameters to execute the RebootNode service method.
///
/// The response from the RebootNode service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// None of the nodes in the cluster have the given node ID.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for RebootNode Operation
public virtual RebootNodeResponse RebootNode(RebootNodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RebootNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = RebootNodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RebootNode operation.
///
///
/// Container for the necessary parameters to execute the RebootNode operation on AmazonDAXClient.
/// 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 EndRebootNode
/// operation.
/// REST API Reference for RebootNode Operation
public virtual IAsyncResult BeginRebootNode(RebootNodeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RebootNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = RebootNodeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RebootNode operation.
///
///
/// The IAsyncResult returned by the call to BeginRebootNode.
///
/// Returns a RebootNodeResult from DAX.
/// REST API Reference for RebootNode Operation
public virtual RebootNodeResponse EndRebootNode(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Associates a set of tags with a DAX resource. You can call TagResource
/// up to 5 times per second, per account.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The Amazon Resource Name (ARN) supplied in the request is not valid.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
///
/// You have exceeded the maximum number of tags for this DAX cluster.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonDAXClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from DAX.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes the association of tags from a DAX resource. You can call UntagResource
/// up to 5 times per second, per account.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The Amazon Resource Name (ARN) supplied in the request is not valid.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified service linked role (SLR) was not found.
///
///
/// The tag does not exist.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonDAXClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from DAX.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateCluster
///
/// Modifies the settings for a DAX cluster. You can use this action to change one or
/// more cluster configuration parameters by specifying the parameters and the new values.
///
/// Container for the necessary parameters to execute the UpdateCluster service method.
///
/// The response from the UpdateCluster service method, as returned by DAX.
///
/// The requested cluster ID does not refer to an existing DAX cluster.
///
///
/// The requested DAX cluster is not in the available state.
///
///
/// Two or more incompatible parameters were specified.
///
///
/// One or more parameters in a parameter group are in an invalid state.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified parameter group does not exist.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for UpdateCluster Operation
public virtual UpdateClusterResponse UpdateCluster(UpdateClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateCluster operation.
///
///
/// Container for the necessary parameters to execute the UpdateCluster operation on AmazonDAXClient.
/// 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 EndUpdateCluster
/// operation.
/// REST API Reference for UpdateCluster Operation
public virtual IAsyncResult BeginUpdateCluster(UpdateClusterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateClusterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateCluster.
///
/// Returns a UpdateClusterResult from DAX.
/// REST API Reference for UpdateCluster Operation
public virtual UpdateClusterResponse EndUpdateCluster(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateParameterGroup
///
/// Modifies the parameters of a 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 UpdateParameterGroup service method.
///
/// The response from the UpdateParameterGroup service method, as returned by DAX.
///
/// Two or more incompatible parameters were specified.
///
///
/// One or more parameters in a parameter group are in an invalid state.
///
///
/// The value for a parameter is invalid.
///
///
/// The specified parameter group does not exist.
///
///
/// The specified service linked role (SLR) was not found.
///
/// REST API Reference for UpdateParameterGroup Operation
public virtual UpdateParameterGroupResponse UpdateParameterGroup(UpdateParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateParameterGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateParameterGroup operation on AmazonDAXClient.
/// 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 EndUpdateParameterGroup
/// operation.
/// REST API Reference for UpdateParameterGroup Operation
public virtual IAsyncResult BeginUpdateParameterGroup(UpdateParameterGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateParameterGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateParameterGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateParameterGroup.
///
/// Returns a UpdateParameterGroupResult from DAX.
/// REST API Reference for UpdateParameterGroup Operation
public virtual UpdateParameterGroupResponse EndUpdateParameterGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateSubnetGroup
///
/// Modifies an existing subnet group.
///
/// Container for the necessary parameters to execute the UpdateSubnetGroup service method.
///
/// The response from the UpdateSubnetGroup service method, as returned by DAX.
///
/// An invalid subnet identifier was specified.
///
///
/// The specified service linked role (SLR) was not found.
///
///
/// The requested subnet group name does not refer to an existing subnet group.
///
///
/// The requested subnet is being used by another subnet group.
///
///
/// The request cannot be processed because it would exceed the allowed number of subnets
/// in a subnet group.
///
/// REST API Reference for UpdateSubnetGroup Operation
public virtual UpdateSubnetGroupResponse UpdateSubnetGroup(UpdateSubnetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSubnetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateSubnetGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateSubnetGroup operation on AmazonDAXClient.
/// 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 EndUpdateSubnetGroup
/// operation.
/// REST API Reference for UpdateSubnetGroup Operation
public virtual IAsyncResult BeginUpdateSubnetGroup(UpdateSubnetGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSubnetGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateSubnetGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateSubnetGroup.
///
/// Returns a UpdateSubnetGroupResult from DAX.
/// REST API Reference for UpdateSubnetGroup Operation
public virtual UpdateSubnetGroupResponse EndUpdateSubnetGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}