Struct aws_sdk_applicationdiscovery::operation::batch_delete_import_data::builders::BatchDeleteImportDataFluentBuilder
source · pub struct BatchDeleteImportDataFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchDeleteImportData
.
Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications.
Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.
Implementations§
source§impl BatchDeleteImportDataFluentBuilder
impl BatchDeleteImportDataFluentBuilder
sourcepub fn as_input(&self) -> &BatchDeleteImportDataInputBuilder
pub fn as_input(&self) -> &BatchDeleteImportDataInputBuilder
Access the BatchDeleteImportData as a reference.
sourcepub async fn send(
self
) -> Result<BatchDeleteImportDataOutput, SdkError<BatchDeleteImportDataError, HttpResponse>>
pub async fn send( self ) -> Result<BatchDeleteImportDataOutput, SdkError<BatchDeleteImportDataError, 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<BatchDeleteImportDataOutput, BatchDeleteImportDataError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchDeleteImportDataOutput, BatchDeleteImportDataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn import_task_ids(self, input: impl Into<String>) -> Self
pub fn import_task_ids(self, input: impl Into<String>) -> Self
Appends an item to importTaskIds
.
To override the contents of this collection use set_import_task_ids
.
The IDs for the import tasks that you want to delete.
sourcepub fn set_import_task_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_import_task_ids(self, input: Option<Vec<String>>) -> Self
The IDs for the import tasks that you want to delete.
sourcepub fn get_import_task_ids(&self) -> &Option<Vec<String>>
pub fn get_import_task_ids(&self) -> &Option<Vec<String>>
The IDs for the import tasks that you want to delete.
sourcepub fn delete_history(self, input: bool) -> Self
pub fn delete_history(self, input: bool) -> Self
Set to true
to remove the deleted import task from DescribeImportTasks
.
sourcepub fn set_delete_history(self, input: Option<bool>) -> Self
pub fn set_delete_history(self, input: Option<bool>) -> Self
Set to true
to remove the deleted import task from DescribeImportTasks
.
sourcepub fn get_delete_history(&self) -> &Option<bool>
pub fn get_delete_history(&self) -> &Option<bool>
Set to true
to remove the deleted import task from DescribeImportTasks
.
Trait Implementations§
source§impl Clone for BatchDeleteImportDataFluentBuilder
impl Clone for BatchDeleteImportDataFluentBuilder
source§fn clone(&self) -> BatchDeleteImportDataFluentBuilder
fn clone(&self) -> BatchDeleteImportDataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more