Struct aws_sdk_appsync::client::fluent_builders::UpdateDataSource [−][src]
pub struct UpdateDataSource<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateDataSource
.
Updates a DataSource
object.
Implementations
impl<C, M, R> UpdateDataSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateDataSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError>> where
R::Policy: SmithyRetryPolicy<UpdateDataSourceInputOperationOutputAlias, UpdateDataSourceOutput, UpdateDataSourceError, UpdateDataSourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError>> where
R::Policy: SmithyRetryPolicy<UpdateDataSourceInputOperationOutputAlias, UpdateDataSourceOutput, UpdateDataSourceError, UpdateDataSourceInputOperationRetryAlias>,
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 API ID.
The new description for the data source.
The new description for the data source.
The new data source type.
The new data source type.
The new service role Amazon Resource Name (ARN) for the data source.
The new service role Amazon Resource Name (ARN) for the data source.
The new Amazon DynamoDB configuration.
The new Amazon DynamoDB configuration.
The new Lambda configuration.
The new Lambda configuration.
The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig
to update an OpenSearch data source.
The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig
to update an OpenSearch data source.
The new OpenSearch configuration.
pub fn set_open_search_service_config(
self,
input: Option<OpenSearchServiceDataSourceConfig>
) -> Self
pub fn set_open_search_service_config(
self,
input: Option<OpenSearchServiceDataSourceConfig>
) -> Self
The new OpenSearch configuration.
The new HTTP endpoint configuration.
The new HTTP endpoint configuration.
The new relational database configuration.
pub fn set_relational_database_config(
self,
input: Option<RelationalDatabaseDataSourceConfig>
) -> Self
pub fn set_relational_database_config(
self,
input: Option<RelationalDatabaseDataSourceConfig>
) -> Self
The new relational database configuration.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateDataSource<C, M, R>
impl<C, M, R> Send for UpdateDataSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateDataSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateDataSource<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateDataSource<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