Struct aws_sdk_migrationhub::operation::delete_progress_update_stream::builders::DeleteProgressUpdateStreamFluentBuilder
source · pub struct DeleteProgressUpdateStreamFluentBuilder { /* 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§
source§impl DeleteProgressUpdateStreamFluentBuilder
impl DeleteProgressUpdateStreamFluentBuilder
sourcepub fn as_input(&self) -> &DeleteProgressUpdateStreamInputBuilder
pub fn as_input(&self) -> &DeleteProgressUpdateStreamInputBuilder
Access the DeleteProgressUpdateStream as a reference.
sourcepub async fn send(
self
) -> Result<DeleteProgressUpdateStreamOutput, SdkError<DeleteProgressUpdateStreamError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteProgressUpdateStreamOutput, SdkError<DeleteProgressUpdateStreamError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteProgressUpdateStreamOutput, DeleteProgressUpdateStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteProgressUpdateStreamOutput, DeleteProgressUpdateStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn progress_update_stream_name(self, input: impl Into<String>) -> Self
pub fn progress_update_stream_name(self, input: impl Into<String>) -> Self
The name of the ProgressUpdateStream. Do not store personal data in this field.
sourcepub fn set_progress_update_stream_name(self, input: Option<String>) -> Self
pub fn set_progress_update_stream_name(self, input: Option<String>) -> Self
The name of the ProgressUpdateStream. Do not store personal data in this field.
sourcepub fn get_progress_update_stream_name(&self) -> &Option<String>
pub fn get_progress_update_stream_name(&self) -> &Option<String>
The name of the ProgressUpdateStream. Do not store personal data in this field.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
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§
source§impl Clone for DeleteProgressUpdateStreamFluentBuilder
impl Clone for DeleteProgressUpdateStreamFluentBuilder
source§fn clone(&self) -> DeleteProgressUpdateStreamFluentBuilder
fn clone(&self) -> DeleteProgressUpdateStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more