delete_ingestion_stream
¶
delete_ingestion_stream(
collection_id: CollectionId,
ingestion_stream_id: IngestionStreamId,
*,
config_overrides: Optional[OpenSearchServerlessClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> DeleteIngestionStreamResponse
Deletes an ingestion stream. Documents that were already indexed by the stream remain in the index.
Parameters:
-
collection_id(CollectionId) –The unique identifier of the collection that the ingestion stream belongs to.
-
ingestion_stream_id(IngestionStreamId) –The unique identifier of the ingestion stream to delete.
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier to ensure idempotency of the request.
Raises:
-
ConflictException–When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.
-
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.