pub struct UpdateDataSource { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDataSource
.
Updates the DataSourceName
of a DataSource
.
You can use the GetDataSource
operation to view the contents of the updated data element.
Implementations§
source§impl UpdateDataSource
impl UpdateDataSource
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDataSource, AwsResponseRetryClassifier>, SdkError<UpdateDataSourceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDataSource, AwsResponseRetryClassifier>, SdkError<UpdateDataSourceError>>
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<UpdateDataSourceOutput, SdkError<UpdateDataSourceError>>
pub async fn send(
self
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError>>
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
The ID assigned to the DataSource
during creation.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The ID assigned to the DataSource
during creation.
sourcepub fn data_source_name(self, input: impl Into<String>) -> Self
pub fn data_source_name(self, input: impl Into<String>) -> Self
A new user-supplied name or description of the DataSource
that will replace the current description.
sourcepub fn set_data_source_name(self, input: Option<String>) -> Self
pub fn set_data_source_name(self, input: Option<String>) -> Self
A new user-supplied name or description of the DataSource
that will replace the current description.
Trait Implementations§
source§impl Clone for UpdateDataSource
impl Clone for UpdateDataSource
source§fn clone(&self) -> UpdateDataSource
fn clone(&self) -> UpdateDataSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more