delete_stream
¶
delete_stream(
cluster_identifier: ClusterId,
stream_identifier: StreamId,
*,
config_overrides: Optional[DSQLClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> DeleteStreamOutput
Deletes a stream from a cluster.
Parameters:
-
cluster_identifier(ClusterId) –The ID of the cluster containing the stream to delete.
-
stream_identifier(StreamId) –The ID of the stream to delete.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.
If you don't specify a client token, the Amazon Web Services SDK automatically generates one.
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.
-
ConflictException–The submitted action has conflicts.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.