list_ingestion_streams
¶
list_ingestion_streams(
collection_id: CollectionId,
*,
config_overrides: Optional[OpenSearchServerlessClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListIngestionStreamsResponse
Returns a list of ingestion streams in a collection.
Parameters:
-
collection_id(CollectionId) –The unique identifier of the collection to list ingestion streams for.
-
next_token(Optional[str], default:None) –If your initial
ListIngestionStreamsoperation returns anextToken, you can include the returnednextTokenin subsequentListIngestionStreamsoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –The maximum number of results to return. Valid values are 1–100. If you don't specify a value, the default is 100. You can use
nextTokento get the next page of results.A response can contain fewer results than
maxResults, or no results, and still include anextToken. To retrieve all results, continue to make the call with the returnednextTokenuntil nonextTokenis returned.
Raises:
-
InternalServerException–Thrown when an error internal to the service occurs while processing a request.
-
ResourceNotFoundException–Thrown when accessing or deleting a resource that does not exist.
-
ValidationException–Thrown when the HTTP request contains invalid input or is missing required input.
-
UnknownServiceError–The service returned an error code this client does not model.