list_types
async
¶
list_types(
keyspace_name: KeyspaceName,
*,
config_overrides: Optional[AsyncKeyspacesClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListTypesResponse
The ListTypes operation returns a list of types for a specified keyspace.
To read keyspace metadata using ListTypes, the IAM principal needs Select action permissions for the system keyspace. To configure the required permissions, see Permissions to view a UDT in the Amazon Keyspaces Developer Guide.
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 types to return in the output. If the total number of types 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 that contains the listed types.
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.