list_tables
¶
list_tables(
keyspace_name: KeyspaceName,
*,
config_overrides: Optional[KeyspacesClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListTablesResponse
The ListTables operation returns a list of tables for a specified keyspace.
To read keyspace metadata using ListTables, the IAM principal needs Select action permissions for the system keyspace.
Parameters:
-
next_token(Optional[NextToken], default:None) –The pagination token. To resume pagination, provide the
NextTokenvalue as an argument of a subsequent API invocation. -
max_results(Optional[MaxResults], default:None) –The total number of tables to return in the output. If the total number of tables available is more than the value specified, a
NextTokenis provided in the output. To resume pagination, provide theNextTokenvalue as an argument of a subsequent API invocation. -
keyspace_name(KeyspaceName) –The name of the keyspace.
Raises:
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_keyspaces/_services/keyspaces.py
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 | |