pub struct DeleteDataSource { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteDataSource
.
Assigns the DELETED status to a DataSource
, rendering it unusable.
After using the DeleteDataSource
operation, you can use the GetDataSource
operation to verify that the status of the DataSource
changed to DELETED.
Caution: The results of the DeleteDataSource
operation are irreversible.
Implementations§
source§impl DeleteDataSource
impl DeleteDataSource
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteDataSource, AwsResponseRetryClassifier>, SdkError<DeleteDataSourceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteDataSource, AwsResponseRetryClassifier>, SdkError<DeleteDataSourceError>>
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<DeleteDataSourceOutput, SdkError<DeleteDataSourceError>>
pub async fn send(
self
) -> Result<DeleteDataSourceOutput, SdkError<DeleteDataSourceError>>
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 data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
A user-supplied ID that uniquely identifies the DataSource
.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
A user-supplied ID that uniquely identifies the DataSource
.
Trait Implementations§
source§impl Clone for DeleteDataSource
impl Clone for DeleteDataSource
source§fn clone(&self) -> DeleteDataSource
fn clone(&self) -> DeleteDataSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more