AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a new DB shard group for Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
Valid for: Aurora DB clusters only
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateDBShardGroup and EndCreateDBShardGroup.
Namespace: Amazon.RDS
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z
public abstract Task<CreateDBShardGroupResponse> CreateDBShardGroupAsync( CreateDBShardGroupRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateDBShardGroup service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
DBClusterNotFoundException | DBClusterIdentifier doesn't refer to an existing DB cluster. |
DBShardGroupAlreadyExistsException | The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region. |
InvalidDBClusterStateException | The requested operation can't be performed while the cluster is in this state. |
InvalidVPCNetworkStateException | The DB subnet group doesn't cover all Availability Zones after it's created because of users' change. |
MaxDBShardGroupLimitReachedException | The maximum number of DB shard groups for your Amazon Web Services account in the specified Amazon Web Services Region has been reached. |
NetworkTypeNotSupportedException | The network type is invalid for the DB instance. Valid nework type values are IPV4 and DUAL. |
UnsupportedDBEngineVersionException | The specified DB engine version isn't supported for Aurora Limitless Database. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer