pub struct NotifyMigrationTaskState<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to NotifyMigrationTaskState.
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
-
Migration tools will call the
NotifyMigrationTaskStateAPI to share the latest progress and status. -
MigrationTaskNameis used for addressing updates to the correct target. -
ProgressUpdateStreamis used for access control and to provide a namespace for each migration tool.
Implementations
impl<C, M, R> NotifyMigrationTaskState<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> NotifyMigrationTaskState<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<NotifyMigrationTaskStateOutput, SdkError<NotifyMigrationTaskStateError>> where
R::Policy: SmithyRetryPolicy<NotifyMigrationTaskStateInputOperationOutputAlias, NotifyMigrationTaskStateOutput, NotifyMigrationTaskStateError, NotifyMigrationTaskStateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<NotifyMigrationTaskStateOutput, SdkError<NotifyMigrationTaskStateError>> where
R::Policy: SmithyRetryPolicy<NotifyMigrationTaskStateInputOperationOutputAlias, NotifyMigrationTaskStateOutput, NotifyMigrationTaskStateError, NotifyMigrationTaskStateInputOperationRetryAlias>,
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.
The name of the ProgressUpdateStream.
Unique identifier that references the migration task. Do not store personal data in this field.
Unique identifier that references the migration task. Do not store personal data in this field.
Information about the task's progress and status.
The timestamp when the task was gathered.
The timestamp when the task was gathered.
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
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 NotifyMigrationTaskState<C, M, R>
impl<C, M, R> Send for NotifyMigrationTaskState<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for NotifyMigrationTaskState<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for NotifyMigrationTaskState<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for NotifyMigrationTaskState<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