AWS SDK Version 4 for .NET
API Reference

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 ListKeyspaces operation returns a list of keyspaces.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListKeyspacesAsync.

Namespace: Amazon.Keyspaces
Assembly: AWSSDK.Keyspaces.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListKeyspacesResponse ListKeyspaces(
         ListKeyspacesRequest request
)

Parameters

request
Type: Amazon.Keyspaces.Model.ListKeyspacesRequest

Container for the necessary parameters to execute the ListKeyspaces service method.

Return Value


The response from the ListKeyspaces service method, as returned by Keyspaces.

Exceptions

ExceptionCondition
AccessDeniedException You don't have sufficient access permissions to perform this action.
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.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also