pub struct AssociateDiscoveredResource { /* private fields */ }Expand description
Fluent builder constructing a request to AssociateDiscoveredResource.
Associates a discovered resource ID from Application Discovery Service with a migration task.
Implementations§
source§impl AssociateDiscoveredResource
impl AssociateDiscoveredResource
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateDiscoveredResource, AwsResponseRetryClassifier>, SdkError<AssociateDiscoveredResourceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AssociateDiscoveredResource, AwsResponseRetryClassifier>, SdkError<AssociateDiscoveredResourceError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AssociateDiscoveredResourceOutput, SdkError<AssociateDiscoveredResourceError>>
pub async fn send(
self
) -> Result<AssociateDiscoveredResourceOutput, SdkError<AssociateDiscoveredResourceError>>
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 progress_update_stream(self, input: impl Into<String>) -> Self
pub fn progress_update_stream(self, input: impl Into<String>) -> Self
The name of the ProgressUpdateStream.
sourcepub fn set_progress_update_stream(self, input: Option<String>) -> Self
pub fn set_progress_update_stream(self, input: Option<String>) -> Self
The name of the ProgressUpdateStream.
sourcepub fn migration_task_name(self, input: impl Into<String>) -> Self
pub fn migration_task_name(self, input: impl Into<String>) -> Self
The identifier given to the MigrationTask. Do not store personal data in this field.
sourcepub fn set_migration_task_name(self, input: Option<String>) -> Self
pub fn set_migration_task_name(self, input: Option<String>) -> Self
The identifier given to the MigrationTask. Do not store personal data in this field.
sourcepub fn discovered_resource(self, input: DiscoveredResource) -> Self
pub fn discovered_resource(self, input: DiscoveredResource) -> Self
Object representing a Resource.
sourcepub fn set_discovered_resource(self, input: Option<DiscoveredResource>) -> Self
pub fn set_discovered_resource(self, input: Option<DiscoveredResource>) -> Self
Object representing a Resource.
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.
Trait Implementations§
source§impl Clone for AssociateDiscoveredResource
impl Clone for AssociateDiscoveredResource
source§fn clone(&self) -> AssociateDiscoveredResource
fn clone(&self) -> AssociateDiscoveredResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more