/*
* 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 neptune-2014-10-31.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.Neptune.Model;
using Amazon.Neptune.Model.Internal.MarshallTransformations;
using Amazon.Neptune.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Neptune
{
///
/// Implementation for accessing Neptune
///
/// Amazon Neptune
///
/// Amazon Neptune is a fast, reliable, fully-managed graph database service that makes
/// it easy to build and run applications that work with highly connected datasets. The
/// core of Amazon Neptune is a purpose-built, high-performance graph database engine
/// optimized for storing billions of relationships and querying the graph with milliseconds
/// latency. Amazon Neptune supports popular graph models Property Graph and W3C's RDF,
/// and their respective query languages Apache TinkerPop Gremlin and SPARQL, allowing
/// you to easily build queries that efficiently navigate highly connected datasets. Neptune
/// powers graph use cases such as recommendation engines, fraud detection, knowledge
/// graphs, drug discovery, and network security.
///
///
///
/// This interface reference for Amazon Neptune contains documentation for a programming
/// or command line interface you can use to manage Amazon Neptune. Note that Amazon Neptune
/// is asynchronous, which means that some interfaces might require techniques such as
/// polling or callback functions to determine when a command has been applied. In this
/// reference, the parameter descriptions indicate whether a command is applied immediately,
/// on the next instance reboot, or during the maintenance window. The reference structure
/// is as follows, and we list following some related topics from the user guide.
///
///
public partial class AmazonNeptuneClient : AmazonServiceClient, IAmazonNeptune
{
private static IServiceMetadata serviceMetadata = new AmazonNeptuneMetadata();
#region Constructors
///
/// Constructs AmazonNeptuneClient 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 AmazonNeptuneClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonNeptuneConfig()) { }
///
/// Constructs AmazonNeptuneClient 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 AmazonNeptuneClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonNeptuneConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonNeptuneClient 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 AmazonNeptuneClient Configuration Object
public AmazonNeptuneClient(AmazonNeptuneConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonNeptuneClient with AWS Credentials
///
/// AWS Credentials
public AmazonNeptuneClient(AWSCredentials credentials)
: this(credentials, new AmazonNeptuneConfig())
{
}
///
/// Constructs AmazonNeptuneClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonNeptuneClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonNeptuneConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonNeptuneClient with AWS Credentials and an
/// AmazonNeptuneClient Configuration object.
///
/// AWS Credentials
/// The AmazonNeptuneClient Configuration Object
public AmazonNeptuneClient(AWSCredentials credentials, AmazonNeptuneConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonNeptuneClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonNeptuneClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonNeptuneConfig())
{
}
///
/// Constructs AmazonNeptuneClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonNeptuneClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonNeptuneConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonNeptuneClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonNeptuneClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonNeptuneClient Configuration Object
public AmazonNeptuneClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonNeptuneConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonNeptuneClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonNeptuneClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonNeptuneConfig())
{
}
///
/// Constructs AmazonNeptuneClient 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 AmazonNeptuneClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonNeptuneConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonNeptuneClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonNeptuneClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonNeptuneClient Configuration Object
public AmazonNeptuneClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonNeptuneConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private INeptunePaginatorFactory _paginators;
///
/// Paginators for the service
///
public INeptunePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new NeptunePaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.AddHandlerBefore(new Amazon.Neptune.Internal.PreSignedUrlRequestHandler(this.Credentials));
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonNeptuneEndpointResolver());
}
///
/// 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 AddRoleToDBCluster
internal virtual AddRoleToDBClusterResponse AddRoleToDBCluster(AddRoleToDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddRoleToDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddRoleToDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates an Identity and Access Management (IAM) role with an Neptune DB cluster.
///
/// Container for the necessary parameters to execute the AddRoleToDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddRoleToDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The specified IAM role Amazon Resource Name (ARN) is already associated with the specified
/// DB cluster.
///
///
/// You have exceeded the maximum number of IAM roles that can be associated with the
/// specified DB cluster.
///
///
/// The DB cluster is not in a valid state.
///
/// REST API Reference for AddRoleToDBCluster Operation
public virtual Task AddRoleToDBClusterAsync(AddRoleToDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddRoleToDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddRoleToDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AddSourceIdentifierToSubscription
internal virtual AddSourceIdentifierToSubscriptionResponse AddSourceIdentifierToSubscription(AddSourceIdentifierToSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddSourceIdentifierToSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddSourceIdentifierToSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds a source identifier to an existing event notification subscription.
///
/// Container for the necessary parameters to execute the AddSourceIdentifierToSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddSourceIdentifierToSubscription service method, as returned by Neptune.
///
/// The source could not be found.
///
///
/// The designated subscription could not be found.
///
/// REST API Reference for AddSourceIdentifierToSubscription Operation
public virtual Task AddSourceIdentifierToSubscriptionAsync(AddSourceIdentifierToSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddSourceIdentifierToSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddSourceIdentifierToSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AddTagsToResource
internal virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds metadata tags to an Amazon Neptune resource. These tags can also be used with
/// cost allocation reporting to track cost associated with Amazon Neptune resources,
/// or used in a Condition statement in an IAM policy for Amazon Neptune.
///
/// Container for the necessary parameters to execute the AddTagsToResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddTagsToResource service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// DBSnapshotIdentifier does not refer to an existing DB snapshot.
///
/// REST API Reference for AddTagsToResource Operation
public virtual Task AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ApplyPendingMaintenanceAction
internal virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Applies a pending maintenance action to a resource (for example, to a DB instance).
///
/// Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ApplyPendingMaintenanceAction service method, as returned by Neptune.
///
/// The specified resource ID was not found.
///
/// REST API Reference for ApplyPendingMaintenanceAction Operation
public virtual Task ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CopyDBClusterParameterGroup
internal virtual CopyDBClusterParameterGroupResponse CopyDBClusterParameterGroup(CopyDBClusterParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDBClusterParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Copies the specified DB cluster parameter group.
///
/// Container for the necessary parameters to execute the CopyDBClusterParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CopyDBClusterParameterGroup service method, as returned by Neptune.
///
/// A DB parameter group with the same name exists.
///
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// Request would result in user exceeding the allowed number of DB parameter groups.
///
/// REST API Reference for CopyDBClusterParameterGroup Operation
public virtual Task CopyDBClusterParameterGroupAsync(CopyDBClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDBClusterParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CopyDBClusterSnapshot
internal virtual CopyDBClusterSnapshotResponse CopyDBClusterSnapshot(CopyDBClusterSnapshotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDBClusterSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDBClusterSnapshotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Copies a snapshot of a DB cluster.
///
///
///
/// To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier
/// must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot.
///
///
/// Container for the necessary parameters to execute the CopyDBClusterSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CopyDBClusterSnapshot service method, as returned by Neptune.
///
/// User already has a DB cluster snapshot with the given identifier.
///
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
///
/// The DB cluster is not in a valid state.
///
///
/// Error accessing KMS key.
///
///
/// Request would result in user exceeding the allowed number of DB snapshots.
///
/// REST API Reference for CopyDBClusterSnapshot Operation
public virtual Task CopyDBClusterSnapshotAsync(CopyDBClusterSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDBClusterSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDBClusterSnapshotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CopyDBParameterGroup
internal virtual CopyDBParameterGroupResponse CopyDBParameterGroup(CopyDBParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDBParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Copies the specified DB parameter group.
///
/// Container for the necessary parameters to execute the CopyDBParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CopyDBParameterGroup service method, as returned by Neptune.
///
/// A DB parameter group with the same name exists.
///
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// Request would result in user exceeding the allowed number of DB parameter groups.
///
/// REST API Reference for CopyDBParameterGroup Operation
public virtual Task CopyDBParameterGroupAsync(CopyDBParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyDBParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBCluster
internal virtual CreateDBClusterResponse CreateDBCluster(CreateDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new Amazon Neptune DB cluster.
///
///
///
/// You can use the ReplicationSourceIdentifier
parameter to create the DB
/// cluster as a Read Replica of another DB cluster or Amazon Neptune DB instance.
///
///
///
/// Note that when you create a new cluster using CreateDBCluster
directly,
/// deletion protection is disabled by default (when you create a new production cluster
/// in the console, deletion protection is enabled by default). You can only delete a
/// DB cluster if its DeletionProtection
field is set to false
.
///
///
/// Container for the necessary parameters to execute the CreateDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBCluster service method, as returned by Neptune.
///
/// User already has a DB cluster with the given identifier.
///
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter
/// group.
///
///
/// User attempted to create a new DB cluster and the user has already reached the maximum
/// allowed DB cluster quota.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// Subnets in the DB subnet group should cover at least two Availability Zones unless
/// there is only one Availability Zone.
///
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// The GlobalClusterIdentifier
doesn't refer to an existing global database
/// cluster.
///
///
/// There is insufficient storage available for the current action. You may be able to
/// resolve this error by updating your subnet group to use different Availability Zones
/// that have more storage available.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
///
/// The DB subnet group cannot be deleted because it is in use.
///
///
/// The global cluster is in an invalid state and can't perform the requested operation.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
///
/// DB subnet group does not cover all Availability Zones after it is created because
/// users' change.
///
///
/// Error accessing KMS key.
///
///
/// Request would result in user exceeding the allowed amount of storage available across
/// all DB instances.
///
/// REST API Reference for CreateDBCluster Operation
public virtual Task CreateDBClusterAsync(CreateDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBClusterEndpoint
internal virtual CreateDBClusterEndpointResponse CreateDBClusterEndpoint(CreateDBClusterEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
///
/// Container for the necessary parameters to execute the CreateDBClusterEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBClusterEndpoint service method, as returned by Neptune.
///
/// The specified custom endpoint cannot be created because it already exists.
///
///
/// The cluster already has the maximum number of custom endpoints.
///
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for CreateDBClusterEndpoint Operation
public virtual Task CreateDBClusterEndpointAsync(CreateDBClusterEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBClusterParameterGroup
internal virtual CreateDBClusterParameterGroupResponse CreateDBClusterParameterGroup(CreateDBClusterParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new DB cluster parameter group.
///
///
///
/// Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.
///
///
///
/// A DB cluster parameter group is initially created with the default parameters for
/// the database engine used by instances in the DB cluster. To provide custom values
/// for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup.
/// Once you've created a DB cluster parameter group, you need to associate it with your
/// DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter
/// group with a running DB cluster, you need to reboot the DB instances in the DB cluster
/// without failover for the new DB cluster parameter group and associated settings to
/// take effect.
///
///
///
/// After you create a DB cluster parameter group, you should wait at least 5 minutes
/// before creating your first DB cluster that uses that DB cluster parameter group as
/// the default parameter group. This allows Amazon Neptune to fully complete the create
/// action before the DB cluster parameter group is used as the default for a new DB cluster.
/// This is especially important for parameters that are critical when creating the default
/// database for a DB cluster, such as the character set for the default database defined
/// by the character_set_database
parameter. You can use the Parameter
/// Groups option of the Amazon Neptune
/// console or the DescribeDBClusterParameters command to verify that your
/// DB cluster parameter group has been created or modified.
///
///
///
/// Container for the necessary parameters to execute the CreateDBClusterParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBClusterParameterGroup service method, as returned by Neptune.
///
/// A DB parameter group with the same name exists.
///
///
/// Request would result in user exceeding the allowed number of DB parameter groups.
///
/// REST API Reference for CreateDBClusterParameterGroup Operation
public virtual Task CreateDBClusterParameterGroupAsync(CreateDBClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBClusterSnapshot
internal virtual CreateDBClusterSnapshotResponse CreateDBClusterSnapshot(CreateDBClusterSnapshotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterSnapshotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a snapshot of a DB cluster.
///
/// Container for the necessary parameters to execute the CreateDBClusterSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBClusterSnapshot service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// User already has a DB cluster snapshot with the given identifier.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
///
/// The DB cluster is not in a valid state.
///
///
/// Request would result in user exceeding the allowed number of DB snapshots.
///
/// REST API Reference for CreateDBClusterSnapshot Operation
public virtual Task CreateDBClusterSnapshotAsync(CreateDBClusterSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBClusterSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBClusterSnapshotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBInstance
internal virtual CreateDBInstanceResponse CreateDBInstance(CreateDBInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new DB instance.
///
/// Container for the necessary parameters to execute the CreateDBInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBInstance service method, as returned by Neptune.
///
/// Specified CIDRIP or EC2 security group is not authorized for the specified DB security
/// group.
///
///
///
/// Neptune may not also be authorized via IAM to perform necessary actions on your behalf.
///
///
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// User already has a DB instance with the given identifier.
///
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// DBSecurityGroupName does not refer to an existing DB security group.
///
///
/// Subnets in the DB subnet group should cover at least two Availability Zones unless
/// there is only one Availability Zone.
///
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// Domain does not refer to an existing Active Directory Domain.
///
///
/// Request would result in user exceeding the allowed number of DB instances.
///
///
/// Specified DB instance class is not available in the specified Availability Zone.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
///
/// DB subnet group does not cover all Availability Zones after it is created because
/// users' change.
///
///
/// Error accessing KMS key.
///
///
/// The designated option group could not be found.
///
///
/// Provisioned IOPS not available in the specified Availability Zone.
///
///
/// Request would result in user exceeding the allowed amount of storage available across
/// all DB instances.
///
///
/// StorageType specified cannot be associated with the DB Instance.
///
/// REST API Reference for CreateDBInstance Operation
public virtual Task CreateDBInstanceAsync(CreateDBInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBParameterGroup
internal virtual CreateDBParameterGroupResponse CreateDBParameterGroup(CreateDBParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new DB parameter group.
///
///
///
/// A DB parameter group is initially created with the default parameters for the database
/// engine used by the DB instance. To provide custom values for any of the parameters,
/// you must modify the group after creating it using ModifyDBParameterGroup. Once
/// you've created a DB parameter group, you need to associate it with your DB instance
/// using ModifyDBInstance. When you associate a new DB parameter group with a
/// running DB instance, you need to reboot the DB instance without failover for the new
/// DB parameter group and associated settings to take effect.
///
///
///
/// After you create a DB parameter group, you should wait at least 5 minutes before creating
/// your first DB instance that uses that DB parameter group as the default parameter
/// group. This allows Amazon Neptune to fully complete the create action before the parameter
/// group is used as the default for a new DB instance. This is especially important for
/// parameters that are critical when creating the default database for a DB instance,
/// such as the character set for the default database defined by the character_set_database
/// parameter. You can use the Parameter Groups option of the Amazon Neptune console
/// or the DescribeDBParameters command to verify that your DB parameter group
/// has been created or modified.
///
///
///
/// Container for the necessary parameters to execute the CreateDBParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBParameterGroup service method, as returned by Neptune.
///
/// A DB parameter group with the same name exists.
///
///
/// Request would result in user exceeding the allowed number of DB parameter groups.
///
/// REST API Reference for CreateDBParameterGroup Operation
public virtual Task CreateDBParameterGroupAsync(CreateDBParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDBSubnetGroup
internal virtual CreateDBSubnetGroupResponse CreateDBSubnetGroup(CreateDBSubnetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBSubnetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new DB subnet group. DB subnet groups must contain at least one subnet in
/// at least two AZs in the Amazon Region.
///
/// Container for the necessary parameters to execute the CreateDBSubnetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDBSubnetGroup service method, as returned by Neptune.
///
/// DBSubnetGroupName is already used by an existing DB subnet group.
///
///
/// Subnets in the DB subnet group should cover at least two Availability Zones unless
/// there is only one Availability Zone.
///
///
/// Request would result in user exceeding the allowed number of DB subnet groups.
///
///
/// Request would result in user exceeding the allowed number of subnets in a DB subnet
/// groups.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
/// REST API Reference for CreateDBSubnetGroup Operation
public virtual Task CreateDBSubnetGroupAsync(CreateDBSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDBSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDBSubnetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateEventSubscription
internal virtual CreateEventSubscriptionResponse CreateEventSubscription(CreateEventSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEventSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEventSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an event notification subscription. This action requires a topic ARN (Amazon
/// Resource Name) created by either the Neptune console, the SNS console, or the SNS
/// API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe
/// to the topic. The ARN is displayed in the SNS console.
///
///
///
/// You can specify the type of source (SourceType) you want to be notified of, provide
/// a list of Neptune sources (SourceIds) that triggers the events, and provide a list
/// of event categories (EventCategories) for events you want to be notified of. For example,
/// you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2
/// and EventCategories = Availability, Backup.
///
///
///
/// If you specify both the SourceType and SourceIds, such as SourceType = db-instance
/// and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events
/// for the specified source. If you specify a SourceType but do not specify a SourceIdentifier,
/// you receive notice of the events for that source type for all your Neptune sources.
/// If you do not specify either the SourceType nor the SourceIdentifier, you are notified
/// of events generated from all Neptune sources belonging to your customer account.
///
///
/// Container for the necessary parameters to execute the CreateEventSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEventSubscription service method, as returned by Neptune.
///
/// You have exceeded the number of events you can subscribe to.
///
///
/// The SNS topic is invalid.
///
///
/// There is no SNS authorization.
///
///
/// The ARN of the SNS topic could not be found.
///
///
/// The source could not be found.
///
///
/// This subscription already exists.
///
///
/// The designated subscription category could not be found.
///
/// REST API Reference for CreateEventSubscription Operation
public virtual Task CreateEventSubscriptionAsync(CreateEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEventSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEventSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateGlobalCluster
internal virtual CreateGlobalClusterResponse CreateGlobalCluster(CreateGlobalClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGlobalClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Neptune global database spread across multiple Amazon Regions. The global
/// database contains a single primary cluster with read-write capability, and read-only
/// secondary clusters that receive data from the primary cluster through high-speed replication
/// performed by the Neptune storage subsystem.
///
///
///
/// You can create a global database that is initially empty, and then add a primary cluster
/// and secondary clusters to it, or you can specify an existing Neptune cluster during
/// the create operation to become the primary cluster of the global database.
///
///
/// Container for the necessary parameters to execute the CreateGlobalCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGlobalCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The GlobalClusterIdentifier
already exists. Choose a new global database
/// identifier (unique name) to create a new global database cluster.
///
///
/// The number of global database clusters for this account is already at the maximum
/// allowed.
///
///
/// The DB cluster is not in a valid state.
///
/// REST API Reference for CreateGlobalCluster Operation
public virtual Task CreateGlobalClusterAsync(CreateGlobalClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGlobalClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBCluster
internal virtual DeleteDBClusterResponse DeleteDBCluster(DeleteDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete
/// a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered.
/// Manual DB cluster snapshots of the specified DB cluster are not deleted.
///
///
///
/// Note that the DB Cluster cannot be deleted if deletion protection is enabled. To delete
/// it, you must first set its DeletionProtection
field to False
.
///
///
/// Container for the necessary parameters to execute the DeleteDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// User already has a DB cluster snapshot with the given identifier.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
///
/// The DB cluster is not in a valid state.
///
///
/// Request would result in user exceeding the allowed number of DB snapshots.
///
/// REST API Reference for DeleteDBCluster Operation
public virtual Task DeleteDBClusterAsync(DeleteDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBClusterEndpoint
internal virtual DeleteDBClusterEndpointResponse DeleteDBClusterEndpoint(DeleteDBClusterEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.
///
/// Container for the necessary parameters to execute the DeleteDBClusterEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBClusterEndpoint service method, as returned by Neptune.
///
/// The specified custom endpoint doesn't exist.
///
///
/// The requested operation cannot be performed on the endpoint while the endpoint is
/// in this state.
///
///
/// The DB cluster is not in a valid state.
///
/// REST API Reference for DeleteDBClusterEndpoint Operation
public virtual Task DeleteDBClusterEndpointAsync(DeleteDBClusterEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBClusterParameterGroup
internal virtual DeleteDBClusterParameterGroupResponse DeleteDBClusterParameterGroup(DeleteDBClusterParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified DB cluster parameter group. The DB cluster parameter group to
/// be deleted can't be associated with any DB clusters.
///
/// Container for the necessary parameters to execute the DeleteDBClusterParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBClusterParameterGroup service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// The DB parameter group is in use or is in an invalid state. If you are attempting
/// to delete the parameter group, you cannot delete it when the parameter group is in
/// this state.
///
/// REST API Reference for DeleteDBClusterParameterGroup Operation
public virtual Task DeleteDBClusterParameterGroupAsync(DeleteDBClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBClusterSnapshot
internal virtual DeleteDBClusterSnapshotResponse DeleteDBClusterSnapshot(DeleteDBClusterSnapshotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterSnapshotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation
/// is terminated.
///
///
///
/// The DB cluster snapshot must be in the available
state to be deleted.
///
///
///
/// Container for the necessary parameters to execute the DeleteDBClusterSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBClusterSnapshot service method, as returned by Neptune.
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
/// REST API Reference for DeleteDBClusterSnapshot Operation
public virtual Task DeleteDBClusterSnapshotAsync(DeleteDBClusterSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBClusterSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBClusterSnapshotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBInstance
internal virtual DeleteDBInstanceResponse DeleteDBInstance(DeleteDBInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The DeleteDBInstance action deletes a previously provisioned DB instance. When you
/// delete a DB instance, all automated backups for that instance are deleted and can't
/// be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance
/// are not deleted.
///
///
///
/// If you request a final DB snapshot the status of the Amazon Neptune DB instance is
/// deleting
until the DB snapshot is created. The API action DescribeDBInstance
/// is used to monitor the status of this operation. The action can't be canceled or reverted
/// once submitted.
///
///
///
/// Note that when a DB instance is in a failure state and has a status of failed
,
/// incompatible-restore
, or incompatible-network
, you can only
/// delete it when the SkipFinalSnapshot
parameter is set to true
.
///
///
///
/// You can't delete a DB instance if it is the only instance in the DB cluster, or if
/// it has deletion protection enabled.
///
///
/// Container for the necessary parameters to execute the DeleteDBInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBInstance service method, as returned by Neptune.
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// DBSnapshotIdentifier is already used by an existing snapshot.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
///
/// Request would result in user exceeding the allowed number of DB snapshots.
///
/// REST API Reference for DeleteDBInstance Operation
public virtual Task DeleteDBInstanceAsync(DeleteDBInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBParameterGroup
internal virtual DeleteDBParameterGroupResponse DeleteDBParameterGroup(DeleteDBParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted can't be
/// associated with any DB instances.
///
/// Container for the necessary parameters to execute the DeleteDBParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBParameterGroup service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// The DB parameter group is in use or is in an invalid state. If you are attempting
/// to delete the parameter group, you cannot delete it when the parameter group is in
/// this state.
///
/// REST API Reference for DeleteDBParameterGroup Operation
public virtual Task DeleteDBParameterGroupAsync(DeleteDBParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDBSubnetGroup
internal virtual DeleteDBSubnetGroupResponse DeleteDBSubnetGroup(DeleteDBSubnetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBSubnetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a DB subnet group.
///
///
///
/// The specified database subnet group must not be associated with any DB instances.
///
///
///
/// Container for the necessary parameters to execute the DeleteDBSubnetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDBSubnetGroup service method, as returned by Neptune.
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// The DB subnet group cannot be deleted because it is in use.
///
///
/// The DB subnet is not in the available state.
///
/// REST API Reference for DeleteDBSubnetGroup Operation
public virtual Task DeleteDBSubnetGroupAsync(DeleteDBSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDBSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDBSubnetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteEventSubscription
internal virtual DeleteEventSubscriptionResponse DeleteEventSubscription(DeleteEventSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an event notification subscription.
///
/// Container for the necessary parameters to execute the DeleteEventSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEventSubscription service method, as returned by Neptune.
///
/// The event subscription is in an invalid state.
///
///
/// The designated subscription could not be found.
///
/// REST API Reference for DeleteEventSubscription Operation
public virtual Task DeleteEventSubscriptionAsync(DeleteEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteGlobalCluster
internal virtual DeleteGlobalClusterResponse DeleteGlobalCluster(DeleteGlobalClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGlobalClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a global database. The primary and all secondary clusters must already be
/// detached or deleted first.
///
/// Container for the necessary parameters to execute the DeleteGlobalCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteGlobalCluster service method, as returned by Neptune.
///
/// The GlobalClusterIdentifier
doesn't refer to an existing global database
/// cluster.
///
///
/// The global cluster is in an invalid state and can't perform the requested operation.
///
/// REST API Reference for DeleteGlobalCluster Operation
public virtual Task DeleteGlobalClusterAsync(DeleteGlobalClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGlobalClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBClusterEndpoints
internal virtual DescribeDBClusterEndpointsResponse DescribeDBClusterEndpoints(DescribeDBClusterEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about endpoints for an Amazon Neptune DB cluster.
///
///
///
/// This operation can also return information for Amazon RDS clusters and Amazon DocDB
/// clusters.
///
///
///
/// Container for the necessary parameters to execute the DescribeDBClusterEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBClusterEndpoints service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
/// REST API Reference for DescribeDBClusterEndpoints Operation
public virtual Task DescribeDBClusterEndpointsAsync(DescribeDBClusterEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBClusterParameterGroups
internal virtual DescribeDBClusterParameterGroupsResponse DescribeDBClusterParameterGroups(DescribeDBClusterParameterGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterParameterGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterParameterGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of DBClusterParameterGroup
descriptions. If a DBClusterParameterGroupName
/// parameter is specified, the list will contain only the description of the specified
/// DB cluster parameter group.
///
/// Container for the necessary parameters to execute the DescribeDBClusterParameterGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBClusterParameterGroups service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
/// REST API Reference for DescribeDBClusterParameterGroups Operation
public virtual Task DescribeDBClusterParameterGroupsAsync(DescribeDBClusterParameterGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterParameterGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterParameterGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBClusterParameters
internal virtual DescribeDBClusterParametersResponse DescribeDBClusterParameters(DescribeDBClusterParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the detailed parameter list for a particular DB cluster parameter group.
///
/// Container for the necessary parameters to execute the DescribeDBClusterParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBClusterParameters service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
/// REST API Reference for DescribeDBClusterParameters Operation
public virtual Task DescribeDBClusterParametersAsync(DescribeDBClusterParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBClusters
internal virtual DescribeDBClustersResponse DescribeDBClusters(DescribeDBClustersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClustersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about provisioned DB clusters, and supports pagination.
///
///
///
/// This operation can also return information for Amazon RDS clusters and Amazon DocDB
/// clusters.
///
///
///
/// Container for the necessary parameters to execute the DescribeDBClusters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBClusters service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
/// REST API Reference for DescribeDBClusters Operation
public virtual Task DescribeDBClustersAsync(DescribeDBClustersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClustersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBClusterSnapshotAttributes
internal virtual DescribeDBClusterSnapshotAttributesResponse DescribeDBClusterSnapshotAttributes(DescribeDBClusterSnapshotAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterSnapshotAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterSnapshotAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster
/// snapshot.
///
///
///
/// When sharing snapshots with other Amazon accounts, DescribeDBClusterSnapshotAttributes
/// returns the restore
attribute and a list of IDs for the Amazon accounts
/// that are authorized to copy or restore the manual DB cluster snapshot. If all
/// is included in the list of values for the restore
attribute, then the
/// manual DB cluster snapshot is public and can be copied or restored by all Amazon accounts.
///
///
///
/// To add or remove access for an Amazon account to copy or restore a manual DB cluster
/// snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute
/// API action.
///
///
/// Container for the necessary parameters to execute the DescribeDBClusterSnapshotAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBClusterSnapshotAttributes service method, as returned by Neptune.
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
/// REST API Reference for DescribeDBClusterSnapshotAttributes Operation
public virtual Task DescribeDBClusterSnapshotAttributesAsync(DescribeDBClusterSnapshotAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterSnapshotAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterSnapshotAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBClusterSnapshots
internal virtual DescribeDBClusterSnapshotsResponse DescribeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterSnapshotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterSnapshotsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about DB cluster snapshots. This API action supports pagination.
///
/// Container for the necessary parameters to execute the DescribeDBClusterSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBClusterSnapshots service method, as returned by Neptune.
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
/// REST API Reference for DescribeDBClusterSnapshots Operation
public virtual Task DescribeDBClusterSnapshotsAsync(DescribeDBClusterSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBClusterSnapshotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBClusterSnapshotsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBEngineVersions
internal virtual DescribeDBEngineVersionsResponse DescribeDBEngineVersions(DescribeDBEngineVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBEngineVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBEngineVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of the available DB engines.
///
/// Container for the necessary parameters to execute the DescribeDBEngineVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBEngineVersions service method, as returned by Neptune.
/// REST API Reference for DescribeDBEngineVersions Operation
public virtual Task DescribeDBEngineVersionsAsync(DescribeDBEngineVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBEngineVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBEngineVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBInstances
internal virtual DescribeDBInstancesResponse DescribeDBInstances(DescribeDBInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about provisioned instances, and supports pagination.
///
///
///
/// This operation can also return information for Amazon RDS instances and Amazon DocDB
/// instances.
///
///
///
/// Container for the necessary parameters to execute the DescribeDBInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBInstances service method, as returned by Neptune.
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
/// REST API Reference for DescribeDBInstances Operation
public virtual Task DescribeDBInstancesAsync(DescribeDBInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBParameterGroups
internal virtual DescribeDBParameterGroupsResponse DescribeDBParameterGroups(DescribeDBParameterGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBParameterGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBParameterGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of DBParameterGroup
descriptions. If a DBParameterGroupName
/// is specified, the list will contain only the description of the specified DB parameter
/// group.
///
/// Container for the necessary parameters to execute the DescribeDBParameterGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBParameterGroups service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
/// REST API Reference for DescribeDBParameterGroups Operation
public virtual Task DescribeDBParameterGroupsAsync(DescribeDBParameterGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBParameterGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBParameterGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBParameters
internal virtual DescribeDBParametersResponse DescribeDBParameters(DescribeDBParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the detailed parameter list for a particular DB parameter group.
///
/// Container for the necessary parameters to execute the DescribeDBParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBParameters service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
/// REST API Reference for DescribeDBParameters Operation
public virtual Task DescribeDBParametersAsync(DescribeDBParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDBSubnetGroups
internal virtual DescribeDBSubnetGroupsResponse DescribeDBSubnetGroups(DescribeDBSubnetGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBSubnetGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBSubnetGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified,
/// the list will contain only the descriptions of the specified DBSubnetGroup.
///
///
///
/// For an overview of CIDR ranges, go to the Wikipedia
/// Tutorial.
///
///
/// Container for the necessary parameters to execute the DescribeDBSubnetGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDBSubnetGroups service method, as returned by Neptune.
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
/// REST API Reference for DescribeDBSubnetGroups Operation
public virtual Task DescribeDBSubnetGroupsAsync(DescribeDBSubnetGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDBSubnetGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDBSubnetGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEngineDefaultClusterParameters
internal virtual DescribeEngineDefaultClusterParametersResponse DescribeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEngineDefaultClusterParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEngineDefaultClusterParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the default engine and system parameter information for the cluster database
/// engine.
///
/// Container for the necessary parameters to execute the DescribeEngineDefaultClusterParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEngineDefaultClusterParameters service method, as returned by Neptune.
/// REST API Reference for DescribeEngineDefaultClusterParameters Operation
public virtual Task DescribeEngineDefaultClusterParametersAsync(DescribeEngineDefaultClusterParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEngineDefaultClusterParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEngineDefaultClusterParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEngineDefaultParameters
internal virtual DescribeEngineDefaultParametersResponse DescribeEngineDefaultParameters(DescribeEngineDefaultParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEngineDefaultParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEngineDefaultParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the default engine and system parameter information for the specified database
/// engine.
///
/// Container for the necessary parameters to execute the DescribeEngineDefaultParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEngineDefaultParameters service method, as returned by Neptune.
/// REST API Reference for DescribeEngineDefaultParameters Operation
public virtual Task DescribeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEngineDefaultParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEngineDefaultParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEventCategories
internal virtual DescribeEventCategoriesResponse DescribeEventCategories(DescribeEventCategoriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventCategoriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventCategoriesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Displays a list of categories for all event source types, or, if specified, for a
/// specified source type.
///
/// Container for the necessary parameters to execute the DescribeEventCategories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEventCategories service method, as returned by Neptune.
/// REST API Reference for DescribeEventCategories Operation
public virtual Task DescribeEventCategoriesAsync(DescribeEventCategoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventCategoriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventCategoriesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEvents
internal virtual DescribeEventsResponse DescribeEvents(DescribeEventsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter
/// groups for the past 14 days. Events specific to a particular DB instance, DB security
/// group, database snapshot, or DB parameter group can be obtained by providing the name
/// as a parameter. By default, the past hour of events are returned.
///
/// Container for the necessary parameters to execute the DescribeEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEvents service method, as returned by Neptune.
/// REST API Reference for DescribeEvents Operation
public virtual Task DescribeEventsAsync(DescribeEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEventSubscriptions
internal virtual DescribeEventSubscriptionsResponse DescribeEventSubscriptions(DescribeEventSubscriptionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventSubscriptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventSubscriptionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the subscription descriptions for a customer account. The description for
/// a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID,
/// CreationTime, and Status.
///
///
///
/// If you specify a SubscriptionName, lists the description for that subscription.
///
///
/// Container for the necessary parameters to execute the DescribeEventSubscriptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEventSubscriptions service method, as returned by Neptune.
///
/// The designated subscription could not be found.
///
/// REST API Reference for DescribeEventSubscriptions Operation
public virtual Task DescribeEventSubscriptionsAsync(DescribeEventSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventSubscriptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventSubscriptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeGlobalClusters
internal virtual DescribeGlobalClustersResponse DescribeGlobalClusters(DescribeGlobalClustersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeGlobalClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeGlobalClustersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about Neptune global database clusters. This API supports pagination.
///
/// Container for the necessary parameters to execute the DescribeGlobalClusters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeGlobalClusters service method, as returned by Neptune.
///
/// The GlobalClusterIdentifier
doesn't refer to an existing global database
/// cluster.
///
/// REST API Reference for DescribeGlobalClusters Operation
public virtual Task DescribeGlobalClustersAsync(DescribeGlobalClustersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeGlobalClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeGlobalClustersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeOrderableDBInstanceOptions
internal virtual DescribeOrderableDBInstanceOptionsResponse DescribeOrderableDBInstanceOptions(DescribeOrderableDBInstanceOptionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOrderableDBInstanceOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOrderableDBInstanceOptionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of orderable DB instance options for the specified engine.
///
/// Container for the necessary parameters to execute the DescribeOrderableDBInstanceOptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeOrderableDBInstanceOptions service method, as returned by Neptune.
/// REST API Reference for DescribeOrderableDBInstanceOptions Operation
public virtual Task DescribeOrderableDBInstanceOptionsAsync(DescribeOrderableDBInstanceOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOrderableDBInstanceOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOrderableDBInstanceOptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePendingMaintenanceActions
internal virtual DescribePendingMaintenanceActionsResponse DescribePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePendingMaintenanceActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePendingMaintenanceActionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of resources (for example, DB instances) that have at least one pending
/// maintenance action.
///
/// Container for the necessary parameters to execute the DescribePendingMaintenanceActions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePendingMaintenanceActions service method, as returned by Neptune.
///
/// The specified resource ID was not found.
///
/// REST API Reference for DescribePendingMaintenanceActions Operation
public virtual Task DescribePendingMaintenanceActionsAsync(DescribePendingMaintenanceActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePendingMaintenanceActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePendingMaintenanceActionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeValidDBInstanceModifications
internal virtual DescribeValidDBInstanceModificationsResponse DescribeValidDBInstanceModifications(DescribeValidDBInstanceModificationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeValidDBInstanceModificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeValidDBInstanceModificationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// You can call DescribeValidDBInstanceModifications to learn what modifications
/// you can make to your DB instance. You can use this information when you call ModifyDBInstance.
///
/// Container for the necessary parameters to execute the DescribeValidDBInstanceModifications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeValidDBInstanceModifications service method, as returned by Neptune.
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for DescribeValidDBInstanceModifications Operation
public virtual Task DescribeValidDBInstanceModificationsAsync(DescribeValidDBInstanceModificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeValidDBInstanceModificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeValidDBInstanceModificationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region FailoverDBCluster
internal virtual FailoverDBClusterResponse FailoverDBCluster(FailoverDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = FailoverDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = FailoverDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Forces a failover for a DB cluster.
///
///
///
/// A failover for a DB cluster promotes one of the Read Replicas (read-only instances)
/// in the DB cluster to be the primary instance (the cluster writer).
///
///
///
/// Amazon Neptune will automatically fail over to a Read Replica, if one exists, when
/// the primary instance fails. You can force a failover when you want to simulate a failure
/// of a primary instance for testing. Because each instance in a DB cluster has its own
/// endpoint address, you will need to clean up and re-establish any existing connections
/// that use those endpoint addresses when the failover is complete.
///
///
/// Container for the necessary parameters to execute the FailoverDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the FailoverDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for FailoverDBCluster Operation
public virtual Task FailoverDBClusterAsync(FailoverDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = FailoverDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = FailoverDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region FailoverGlobalCluster
internal virtual FailoverGlobalClusterResponse FailoverGlobalCluster(FailoverGlobalClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = FailoverGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = FailoverGlobalClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the failover process for a Neptune global database.
///
///
///
/// A failover for a Neptune global database promotes one of secondary read-only DB clusters
/// to be the primary DB cluster and demotes the primary DB cluster to being a secondary
/// (read-only) DB cluster. In other words, the role of the current primary DB cluster
/// and the selected target secondary DB cluster are switched. The selected secondary
/// DB cluster assumes full read/write capabilities for the Neptune global database.
///
///
///
/// This action applies only to Neptune global databases. This action is only intended
/// for use on healthy Neptune global databases with healthy Neptune DB clusters and no
/// region-wide outages, to test disaster recovery scenarios or to reconfigure the global
/// database topology.
///
///
///
/// Container for the necessary parameters to execute the FailoverGlobalCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the FailoverGlobalCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The GlobalClusterIdentifier
doesn't refer to an existing global database
/// cluster.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The global cluster is in an invalid state and can't perform the requested operation.
///
/// REST API Reference for FailoverGlobalCluster Operation
public virtual Task FailoverGlobalClusterAsync(FailoverGlobalClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = FailoverGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = FailoverGlobalClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all tags on an Amazon Neptune resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// DBSnapshotIdentifier does not refer to an existing DB snapshot.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBCluster
internal virtual ModifyDBClusterResponse ModifyDBCluster(ModifyDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modify a setting for a DB cluster. You can change one or more database configuration
/// parameters by specifying these parameters and the new values in the request.
///
/// Container for the necessary parameters to execute the ModifyDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBCluster service method, as returned by Neptune.
///
/// User already has a DB cluster with the given identifier.
///
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter
/// group.
///
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
///
/// The state of the DB security group does not allow deletion.
///
///
/// The DB subnet group cannot be deleted because it is in use.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
///
/// DB subnet group does not cover all Availability Zones after it is created because
/// users' change.
///
///
/// Request would result in user exceeding the allowed amount of storage available across
/// all DB instances.
///
/// REST API Reference for ModifyDBCluster Operation
public virtual Task ModifyDBClusterAsync(ModifyDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBClusterEndpoint
internal virtual ModifyDBClusterEndpointResponse ModifyDBClusterEndpoint(ModifyDBClusterEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the properties of an endpoint in an Amazon Neptune DB cluster.
///
/// Container for the necessary parameters to execute the ModifyDBClusterEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBClusterEndpoint service method, as returned by Neptune.
///
/// The specified custom endpoint doesn't exist.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// The requested operation cannot be performed on the endpoint while the endpoint is
/// in this state.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for ModifyDBClusterEndpoint Operation
public virtual Task ModifyDBClusterEndpointAsync(ModifyDBClusterEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBClusterParameterGroup
internal virtual ModifyDBClusterParameterGroupResponse ModifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the parameters of a DB cluster parameter group. To modify more than one
/// parameter, submit a list of the following: ParameterName
, ParameterValue
,
/// and ApplyMethod
. A maximum of 20 parameters can be modified in a single
/// request.
///
///
///
/// Changes to dynamic parameters are applied immediately. Changes to static parameters
/// require a reboot without failover to the DB cluster associated with the parameter
/// group before the change can take effect.
///
///
///
/// After you create a DB cluster parameter group, you should wait at least 5 minutes
/// before creating your first DB cluster that uses that DB cluster parameter group as
/// the default parameter group. This allows Amazon Neptune to fully complete the create
/// action before the parameter group is used as the default for a new DB cluster. This
/// is especially important for parameters that are critical when creating the default
/// database for a DB cluster, such as the character set for the default database defined
/// by the character_set_database
parameter. You can use the Parameter
/// Groups option of the Amazon Neptune console or the DescribeDBClusterParameters
/// command to verify that your DB cluster parameter group has been created or modified.
///
///
///
/// Container for the necessary parameters to execute the ModifyDBClusterParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBClusterParameterGroup service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// The DB parameter group is in use or is in an invalid state. If you are attempting
/// to delete the parameter group, you cannot delete it when the parameter group is in
/// this state.
///
/// REST API Reference for ModifyDBClusterParameterGroup Operation
public virtual Task ModifyDBClusterParameterGroupAsync(ModifyDBClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBClusterSnapshotAttribute
internal virtual ModifyDBClusterSnapshotAttributeResponse ModifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterSnapshotAttributeRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterSnapshotAttributeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds an attribute and values to, or removes an attribute and values from, a manual
/// DB cluster snapshot.
///
///
///
/// To share a manual DB cluster snapshot with other Amazon accounts, specify restore
/// as the AttributeName
and use the ValuesToAdd
parameter to
/// add a list of IDs of the Amazon accounts that are authorized to restore the manual
/// DB cluster snapshot. Use the value all
to make the manual DB cluster
/// snapshot public, which means that it can be copied or restored by all Amazon accounts.
/// Do not add the all
value for any manual DB cluster snapshots that contain
/// private information that you don't want available to all Amazon accounts. If a manual
/// DB cluster snapshot is encrypted, it can be shared, but only by specifying a list
/// of authorized Amazon account IDs for the ValuesToAdd
parameter. You can't
/// use all
as a value for that parameter in this case.
///
///
///
/// To view which Amazon accounts have access to copy or restore a manual DB cluster snapshot,
/// or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes
/// API action.
///
///
/// Container for the necessary parameters to execute the ModifyDBClusterSnapshotAttribute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBClusterSnapshotAttribute service method, as returned by Neptune.
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
///
/// You have exceeded the maximum number of accounts that you can share a manual DB snapshot
/// with.
///
/// REST API Reference for ModifyDBClusterSnapshotAttribute Operation
public virtual Task ModifyDBClusterSnapshotAttributeAsync(ModifyDBClusterSnapshotAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBClusterSnapshotAttributeRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBClusterSnapshotAttributeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBInstance
internal virtual ModifyDBInstanceResponse ModifyDBInstance(ModifyDBInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies settings for a DB instance. You can change one or more database configuration
/// parameters by specifying these parameters and the new values in the request. To learn
/// what modifications you can make to your DB instance, call DescribeValidDBInstanceModifications
/// before you call ModifyDBInstance.
///
/// Container for the necessary parameters to execute the ModifyDBInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBInstance service method, as returned by Neptune.
///
/// Specified CIDRIP or EC2 security group is not authorized for the specified DB security
/// group.
///
///
///
/// Neptune may not also be authorized via IAM to perform necessary actions on your behalf.
///
///
///
/// CertificateIdentifier does not refer to an existing certificate.
///
///
/// User already has a DB instance with the given identifier.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// DBSecurityGroupName does not refer to an existing DB security group.
///
///
/// The DB upgrade failed because a resource the DB depends on could not be modified.
///
///
/// Domain does not refer to an existing Active Directory Domain.
///
///
/// Specified DB instance class is not available in the specified Availability Zone.
///
///
/// The specified DB instance is not in the available state.
///
///
/// The state of the DB security group does not allow deletion.
///
///
/// DB subnet group does not cover all Availability Zones after it is created because
/// users' change.
///
///
/// The designated option group could not be found.
///
///
/// Provisioned IOPS not available in the specified Availability Zone.
///
///
/// Request would result in user exceeding the allowed amount of storage available across
/// all DB instances.
///
///
/// StorageType specified cannot be associated with the DB Instance.
///
/// REST API Reference for ModifyDBInstance Operation
public virtual Task ModifyDBInstanceAsync(ModifyDBInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBParameterGroup
internal virtual ModifyDBParameterGroupResponse ModifyDBParameterGroup(ModifyDBParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the parameters of a DB parameter group. To modify more than one parameter,
/// submit a list of the following: ParameterName
, ParameterValue
,
/// and ApplyMethod
. A maximum of 20 parameters can be modified in a single
/// request.
///
///
///
/// Changes to dynamic parameters are applied immediately. Changes to static parameters
/// require a reboot without failover to the DB instance associated with the parameter
/// group before the change can take effect.
///
///
///
/// After you modify a DB parameter group, you should wait at least 5 minutes before creating
/// your first DB instance that uses that DB parameter group as the default parameter
/// group. This allows Amazon Neptune to fully complete the modify action before the parameter
/// group is used as the default for a new DB instance. This is especially important for
/// parameters that are critical when creating the default database for a DB instance,
/// such as the character set for the default database defined by the character_set_database
/// parameter. You can use the Parameter Groups option of the Amazon Neptune console
/// or the DescribeDBParameters command to verify that your DB parameter group
/// has been created or modified.
///
///
///
/// Container for the necessary parameters to execute the ModifyDBParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBParameterGroup service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// The DB parameter group is in use or is in an invalid state. If you are attempting
/// to delete the parameter group, you cannot delete it when the parameter group is in
/// this state.
///
/// REST API Reference for ModifyDBParameterGroup Operation
public virtual Task ModifyDBParameterGroupAsync(ModifyDBParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyDBSubnetGroup
internal virtual ModifyDBSubnetGroupResponse ModifyDBSubnetGroup(ModifyDBSubnetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBSubnetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet
/// in at least two AZs in the Amazon Region.
///
/// Container for the necessary parameters to execute the ModifyDBSubnetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyDBSubnetGroup service method, as returned by Neptune.
///
/// Subnets in the DB subnet group should cover at least two Availability Zones unless
/// there is only one Availability Zone.
///
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// Request would result in user exceeding the allowed number of subnets in a DB subnet
/// groups.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
///
/// The DB subnet is already in use in the Availability Zone.
///
/// REST API Reference for ModifyDBSubnetGroup Operation
public virtual Task ModifyDBSubnetGroupAsync(ModifyDBSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyDBSubnetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyDBSubnetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyEventSubscription
internal virtual ModifyEventSubscriptionResponse ModifyEventSubscription(ModifyEventSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyEventSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyEventSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies an existing event notification subscription. Note that you can't modify the
/// source identifiers using this call; to change source identifiers for a subscription,
/// use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription
/// calls.
///
///
///
/// You can see a list of the event categories for a given SourceType by using the DescribeEventCategories
/// action.
///
///
/// Container for the necessary parameters to execute the ModifyEventSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyEventSubscription service method, as returned by Neptune.
///
/// You have exceeded the number of events you can subscribe to.
///
///
/// The SNS topic is invalid.
///
///
/// There is no SNS authorization.
///
///
/// The ARN of the SNS topic could not be found.
///
///
/// The designated subscription category could not be found.
///
///
/// The designated subscription could not be found.
///
/// REST API Reference for ModifyEventSubscription Operation
public virtual Task ModifyEventSubscriptionAsync(ModifyEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyEventSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyEventSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ModifyGlobalCluster
internal virtual ModifyGlobalClusterResponse ModifyGlobalCluster(ModifyGlobalClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyGlobalClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modify a setting for an Amazon Neptune global cluster. You can change one or more
/// database configuration parameters by specifying these parameters and their new values
/// in the request.
///
/// Container for the necessary parameters to execute the ModifyGlobalCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyGlobalCluster service method, as returned by Neptune.
///
/// The GlobalClusterIdentifier
doesn't refer to an existing global database
/// cluster.
///
///
/// The global cluster is in an invalid state and can't perform the requested operation.
///
/// REST API Reference for ModifyGlobalCluster Operation
public virtual Task ModifyGlobalClusterAsync(ModifyGlobalClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ModifyGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = ModifyGlobalClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PromoteReadReplicaDBCluster
internal virtual PromoteReadReplicaDBClusterResponse PromoteReadReplicaDBCluster(PromoteReadReplicaDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PromoteReadReplicaDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = PromoteReadReplicaDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Not supported.
///
/// Container for the necessary parameters to execute the PromoteReadReplicaDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PromoteReadReplicaDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The DB cluster is not in a valid state.
///
/// REST API Reference for PromoteReadReplicaDBCluster Operation
public virtual Task PromoteReadReplicaDBClusterAsync(PromoteReadReplicaDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PromoteReadReplicaDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = PromoteReadReplicaDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RebootDBInstance
internal virtual RebootDBInstanceResponse RebootDBInstance(RebootDBInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RebootDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RebootDBInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// You might need to reboot your DB instance, usually for maintenance reasons. For example,
/// if you make certain modifications, or if you change the DB parameter group associated
/// with the DB instance, you must reboot the instance for the changes to take effect.
///
///
///
/// Rebooting a DB instance restarts the database engine service. Rebooting a DB instance
/// results in a momentary outage, during which the DB instance status is set to rebooting.
///
///
/// Container for the necessary parameters to execute the RebootDBInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RebootDBInstance service method, as returned by Neptune.
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for RebootDBInstance Operation
public virtual Task RebootDBInstanceAsync(RebootDBInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RebootDBInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RebootDBInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveFromGlobalCluster
internal virtual RemoveFromGlobalClusterResponse RemoveFromGlobalCluster(RemoveFromGlobalClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveFromGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveFromGlobalClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Detaches a Neptune DB cluster from a Neptune global database. A secondary cluster
/// becomes a normal standalone cluster with read-write capability instead of being read-only,
/// and no longer receives data from a the primary cluster.
///
/// Container for the necessary parameters to execute the RemoveFromGlobalCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveFromGlobalCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The GlobalClusterIdentifier
doesn't refer to an existing global database
/// cluster.
///
///
/// The global cluster is in an invalid state and can't perform the requested operation.
///
/// REST API Reference for RemoveFromGlobalCluster Operation
public virtual Task RemoveFromGlobalClusterAsync(RemoveFromGlobalClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveFromGlobalClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveFromGlobalClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveRoleFromDBCluster
internal virtual RemoveRoleFromDBClusterResponse RemoveRoleFromDBCluster(RemoveRoleFromDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveRoleFromDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveRoleFromDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates an Identity and Access Management (IAM) role from a DB cluster.
///
/// Container for the necessary parameters to execute the RemoveRoleFromDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveRoleFromDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The specified IAM role Amazon Resource Name (ARN) is not associated with the specified
/// DB cluster.
///
///
/// The DB cluster is not in a valid state.
///
/// REST API Reference for RemoveRoleFromDBCluster Operation
public virtual Task RemoveRoleFromDBClusterAsync(RemoveRoleFromDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveRoleFromDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveRoleFromDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveSourceIdentifierFromSubscription
internal virtual RemoveSourceIdentifierFromSubscriptionResponse RemoveSourceIdentifierFromSubscription(RemoveSourceIdentifierFromSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveSourceIdentifierFromSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveSourceIdentifierFromSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a source identifier from an existing event notification subscription.
///
/// Container for the necessary parameters to execute the RemoveSourceIdentifierFromSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveSourceIdentifierFromSubscription service method, as returned by Neptune.
///
/// The source could not be found.
///
///
/// The designated subscription could not be found.
///
/// REST API Reference for RemoveSourceIdentifierFromSubscription Operation
public virtual Task RemoveSourceIdentifierFromSubscriptionAsync(RemoveSourceIdentifierFromSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveSourceIdentifierFromSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveSourceIdentifierFromSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveTagsFromResource
internal virtual RemoveTagsFromResourceResponse RemoveTagsFromResource(RemoveTagsFromResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTagsFromResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes metadata tags from an Amazon Neptune resource.
///
/// Container for the necessary parameters to execute the RemoveTagsFromResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveTagsFromResource service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBInstanceIdentifier does not refer to an existing DB instance.
///
///
/// DBSnapshotIdentifier does not refer to an existing DB snapshot.
///
/// REST API Reference for RemoveTagsFromResource Operation
public virtual Task RemoveTagsFromResourceAsync(RemoveTagsFromResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTagsFromResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ResetDBClusterParameterGroup
internal virtual ResetDBClusterParameterGroupResponse ResetDBClusterParameterGroup(ResetDBClusterParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetDBClusterParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the parameters of a DB cluster parameter group to the default value. To
/// reset specific parameters submit a list of the following: ParameterName
/// and ApplyMethod
. To reset the entire DB cluster parameter group, specify
/// the DBClusterParameterGroupName
and ResetAllParameters
parameters.
///
///
///
/// When resetting the entire group, dynamic parameters are updated immediately and static
/// parameters are set to pending-reboot
to take effect on the next DB instance
/// restart or RebootDBInstance request. You must call RebootDBInstance
/// for every DB instance in your DB cluster that you want the updated static parameter
/// to apply to.
///
///
/// Container for the necessary parameters to execute the ResetDBClusterParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResetDBClusterParameterGroup service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// The DB parameter group is in use or is in an invalid state. If you are attempting
/// to delete the parameter group, you cannot delete it when the parameter group is in
/// this state.
///
/// REST API Reference for ResetDBClusterParameterGroup Operation
public virtual Task ResetDBClusterParameterGroupAsync(ResetDBClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetDBClusterParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetDBClusterParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ResetDBParameterGroup
internal virtual ResetDBParameterGroupResponse ResetDBParameterGroup(ResetDBParameterGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetDBParameterGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the parameters of a DB parameter group to the engine/system default value.
/// To reset specific parameters, provide a list of the following: ParameterName
/// and ApplyMethod
. To reset the entire DB parameter group, specify the
/// DBParameterGroup
name and ResetAllParameters
parameters.
/// When resetting the entire group, dynamic parameters are updated immediately and static
/// parameters are set to pending-reboot
to take effect on the next DB instance
/// restart or RebootDBInstance
request.
///
/// Container for the necessary parameters to execute the ResetDBParameterGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResetDBParameterGroup service method, as returned by Neptune.
///
/// DBParameterGroupName does not refer to an existing DB parameter group.
///
///
/// The DB parameter group is in use or is in an invalid state. If you are attempting
/// to delete the parameter group, you cannot delete it when the parameter group is in
/// this state.
///
/// REST API Reference for ResetDBParameterGroup Operation
public virtual Task ResetDBParameterGroupAsync(ResetDBParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetDBParameterGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetDBParameterGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RestoreDBClusterFromSnapshot
internal virtual RestoreDBClusterFromSnapshotResponse RestoreDBClusterFromSnapshot(RestoreDBClusterFromSnapshotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RestoreDBClusterFromSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = RestoreDBClusterFromSnapshotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
///
///
///
/// If a DB snapshot is specified, the target DB cluster is created from the source DB
/// snapshot with a default configuration and default security group.
///
///
///
/// If a DB cluster snapshot is specified, the target DB cluster is created from the source
/// DB cluster restore point with the same configuration as the original source DB cluster,
/// except that the new DB cluster is created with the default security group.
///
///
/// Container for the necessary parameters to execute the RestoreDBClusterFromSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RestoreDBClusterFromSnapshot service method, as returned by Neptune.
///
/// User already has a DB cluster with the given identifier.
///
///
/// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter
/// group.
///
///
/// User attempted to create a new DB cluster and the user has already reached the maximum
/// allowed DB cluster quota.
///
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
///
/// DBSnapshotIdentifier does not refer to an existing DB snapshot.
///
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// The DB cluster does not have enough capacity for the current operation.
///
///
/// There is insufficient storage available for the current action. You may be able to
/// resolve this error by updating your subnet group to use different Availability Zones
/// that have more storage available.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
///
/// The state of the DB snapshot does not allow deletion.
///
///
/// Cannot restore from vpc backup to non-vpc DB instance.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
///
/// DB subnet group does not cover all Availability Zones after it is created because
/// users' change.
///
///
/// Error accessing KMS key.
///
///
/// The designated option group could not be found.
///
///
/// Request would result in user exceeding the allowed amount of storage available across
/// all DB instances.
///
/// REST API Reference for RestoreDBClusterFromSnapshot Operation
public virtual Task RestoreDBClusterFromSnapshotAsync(RestoreDBClusterFromSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RestoreDBClusterFromSnapshotRequestMarshaller.Instance;
options.ResponseUnmarshaller = RestoreDBClusterFromSnapshotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RestoreDBClusterToPointInTime
internal virtual RestoreDBClusterToPointInTimeResponse RestoreDBClusterToPointInTime(RestoreDBClusterToPointInTimeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RestoreDBClusterToPointInTimeRequestMarshaller.Instance;
options.ResponseUnmarshaller = RestoreDBClusterToPointInTimeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Restores a DB cluster to an arbitrary point in time. Users can restore to any point
/// in time before LatestRestorableTime
for up to BackupRetentionPeriod
/// days. The target DB cluster is created from the source DB cluster with the same configuration
/// as the original DB cluster, except that the new DB cluster is created with the default
/// DB security group.
///
///
///
/// This action only restores the DB cluster, not the DB instances for that DB cluster.
/// You must invoke the CreateDBInstance action to create DB instances for the
/// restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier
.
/// You can create DB instances only after the RestoreDBClusterToPointInTime
/// action has completed and the DB cluster is available.
///
///
///
/// Container for the necessary parameters to execute the RestoreDBClusterToPointInTime service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RestoreDBClusterToPointInTime service method, as returned by Neptune.
///
/// User already has a DB cluster with the given identifier.
///
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter
/// group.
///
///
/// User attempted to create a new DB cluster and the user has already reached the maximum
/// allowed DB cluster quota.
///
///
/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
///
///
/// DBSubnetGroupName does not refer to an existing DB subnet group.
///
///
/// The DB cluster does not have enough capacity for the current operation.
///
///
/// There is insufficient storage available for the current action. You may be able to
/// resolve this error by updating your subnet group to use different Availability Zones
/// that have more storage available.
///
///
/// The supplied value is not a valid DB cluster snapshot state.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The state of the DB snapshot does not allow deletion.
///
///
/// Cannot restore from vpc backup to non-vpc DB instance.
///
///
/// The requested subnet is invalid, or multiple subnets were requested that are not all
/// in a common VPC.
///
///
/// DB subnet group does not cover all Availability Zones after it is created because
/// users' change.
///
///
/// Error accessing KMS key.
///
///
/// The designated option group could not be found.
///
///
/// Request would result in user exceeding the allowed amount of storage available across
/// all DB instances.
///
/// REST API Reference for RestoreDBClusterToPointInTime Operation
public virtual Task RestoreDBClusterToPointInTimeAsync(RestoreDBClusterToPointInTimeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RestoreDBClusterToPointInTimeRequestMarshaller.Instance;
options.ResponseUnmarshaller = RestoreDBClusterToPointInTimeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartDBCluster
internal virtual StartDBClusterResponse StartDBCluster(StartDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts an Amazon Neptune DB cluster that was stopped using the Amazon console, the
/// Amazon CLI stop-db-cluster command, or the StopDBCluster API.
///
/// Container for the necessary parameters to execute the StartDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for StartDBCluster Operation
public virtual Task StartDBClusterAsync(StartDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopDBCluster
internal virtual StopDBClusterResponse StopDBCluster(StopDBClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDBClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops an Amazon Neptune DB cluster. When you stop a DB cluster, Neptune retains the
/// DB cluster's metadata, including its endpoints and DB parameter groups.
///
///
///
/// Neptune also retains the transaction logs so you can do a point-in-time restore if
/// necessary.
///
///
/// Container for the necessary parameters to execute the StopDBCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopDBCluster service method, as returned by Neptune.
///
/// DBClusterIdentifier does not refer to an existing DB cluster.
///
///
/// The DB cluster is not in a valid state.
///
///
/// The specified DB instance is not in the available state.
///
/// REST API Reference for StopDBCluster Operation
public virtual Task StopDBClusterAsync(StopDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDBClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDBClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}