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 CreateTable
operation adds a new table to the specified keyspace. Within
a keyspace, table names must be unique.
CreateTable
is an asynchronous operation. When the request is received, the
status of the table is set to CREATING
. You can monitor the creation status
of the new table by using the GetTable
operation, which returns the current
status
of the table. You can start using a table when the status is ACTIVE
.
For more information, see Create a table in the Amazon Keyspaces Developer Guide.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateTableAsync.
Namespace: Amazon.Keyspaces
Assembly: AWSSDK.Keyspaces.dll
Version: 3.x.y.z
public abstract CreateTableResponse CreateTable( CreateTableRequest request )
Container for the necessary parameters to execute the CreateTable service method.
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. |
ResourceNotFoundException | The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be ACTIVE. |
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 Framework:
Supported in: 4.5 and newer, 3.5