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.
The CreateKeyspace operation adds a new keyspace to your account. In an Amazon
Web Services account, keyspace names must be unique within each Region.
CreateKeyspace is an asynchronous operation. You can monitor the creation
status of the new keyspace by using the GetKeyspace operation.
For more information, see Create a keyspace in the Amazon Keyspaces Developer Guide.
This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.
Namespace: Amazon.Keyspaces
Assembly: AWSSDK.Keyspaces.dll
Version: 3.x.y.z
public abstract Task<CreateKeyspaceResponse> CreateKeyspaceAsync( CreateKeyspaceRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateKeyspace service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
| Exception | Condition |
|---|---|
| AccessDeniedException | You don't have sufficient access permissions to perform this action. |
| ConflictException | Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. |
| InternalServerException | Amazon Keyspaces was unable to fully process this request because of an internal server error. |
| ServiceQuotaExceededException | The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide. |
| ValidationException | The operation failed due to an invalid or malformed request. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer