list_streams
async
¶
list_streams(
cluster_identifier: ClusterId,
*,
config_overrides: Optional[AsyncDSQLClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListStreamsOutput
Retrieves information about a list of streams for a cluster.
Parameters:
-
cluster_identifier(ClusterId) –The ID of the cluster for which to list streams.
-
max_results(Optional[MaxResults], default:None) –An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results. Default: 10.
-
next_token(Optional[NextToken], default:None) –If your initial ListStreams operation returns a nextToken, you can include the returned nextToken in following ListStreams operations, which returns results in the next page.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.