Keyspaces.Client.list_keyspaces(**kwargs)¶Returns a list of keyspaces.
See also: AWS API Documentation
Request Syntax
response = client.list_keyspaces(
nextToken='string',
maxResults=123
)
NextToken value as argument of a subsequent API invocation.NextToken is provided in the output. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.dict
Response Syntax
{
'nextToken': 'string',
'keyspaces': [
{
'keyspaceName': 'string',
'resourceArn': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
keyspaces (list) --
A list of keyspaces.
(dict) --
Represents the properties of a keyspace.
keyspaceName (string) --
The name of the keyspace.
resourceArn (string) --
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
Exceptions
Keyspaces.Client.exceptions.ValidationExceptionKeyspaces.Client.exceptions.ServiceQuotaExceededExceptionKeyspaces.Client.exceptions.InternalServerExceptionKeyspaces.Client.exceptions.AccessDeniedExceptionKeyspaces.Client.exceptions.ResourceNotFoundException