pub struct DeleteProgressUpdateStream<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteProgressUpdateStream.
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:
-
The only parameter needed for
DeleteProgressUpdateStreamis the stream name (same as aCreateProgressUpdateStreamcall). -
The call will return, and a background process will asynchronously delete the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).
-
If the stream takes time to be deleted, it might still show up on a
ListProgressUpdateStreamscall. -
CreateProgressUpdateStream,ImportMigrationTask,NotifyMigrationTaskState, and all Associate[*] APIs related to the tasks belonging to the stream will throw "InvalidInputException" if the stream of the same name is in the process of being deleted. -
Once the stream and all of its resources are deleted,
CreateProgressUpdateStreamfor a stream of the same name will succeed, and that stream will be an entirely new logical resource (without any resources associated with the old stream).
Implementations
impl<C, M, R> DeleteProgressUpdateStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteProgressUpdateStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteProgressUpdateStreamOutput, SdkError<DeleteProgressUpdateStreamError>> where
R::Policy: SmithyRetryPolicy<DeleteProgressUpdateStreamInputOperationOutputAlias, DeleteProgressUpdateStreamOutput, DeleteProgressUpdateStreamError, DeleteProgressUpdateStreamInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteProgressUpdateStreamOutput, SdkError<DeleteProgressUpdateStreamError>> where
R::Policy: SmithyRetryPolicy<DeleteProgressUpdateStreamInputOperationOutputAlias, DeleteProgressUpdateStreamOutput, DeleteProgressUpdateStreamError, DeleteProgressUpdateStreamInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the ProgressUpdateStream. Do not store personal data in this field.
The name of the ProgressUpdateStream. Do not store personal data in this field.
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteProgressUpdateStream<C, M, R>
impl<C, M, R> Send for DeleteProgressUpdateStream<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteProgressUpdateStream<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteProgressUpdateStream<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteProgressUpdateStream<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more