Struct aws_sdk_appsync::input::UpdateDataSourceInput
source · #[non_exhaustive]pub struct UpdateDataSourceInput { /* private fields */ }
Implementations§
source§impl UpdateDataSourceInput
impl UpdateDataSourceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDataSource, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDataSource, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDataSource
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDataSourceInput
.
source§impl UpdateDataSourceInput
impl UpdateDataSourceInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The new description for the data source.
sourcepub fn type(&self) -> Option<&DataSourceType>
pub fn type(&self) -> Option<&DataSourceType>
The new data source type.
sourcepub fn service_role_arn(&self) -> Option<&str>
pub fn service_role_arn(&self) -> Option<&str>
The new service role Amazon Resource Name (ARN) for the data source.
sourcepub fn dynamodb_config(&self) -> Option<&DynamodbDataSourceConfig>
pub fn dynamodb_config(&self) -> Option<&DynamodbDataSourceConfig>
The new Amazon DynamoDB configuration.
sourcepub fn lambda_config(&self) -> Option<&LambdaDataSourceConfig>
pub fn lambda_config(&self) -> Option<&LambdaDataSourceConfig>
The new Lambda configuration.
sourcepub fn elasticsearch_config(&self) -> Option<&ElasticsearchDataSourceConfig>
pub fn elasticsearch_config(&self) -> Option<&ElasticsearchDataSourceConfig>
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.
sourcepub fn open_search_service_config(
&self
) -> Option<&OpenSearchServiceDataSourceConfig>
pub fn open_search_service_config(
&self
) -> Option<&OpenSearchServiceDataSourceConfig>
The new OpenSearch configuration.
sourcepub fn http_config(&self) -> Option<&HttpDataSourceConfig>
pub fn http_config(&self) -> Option<&HttpDataSourceConfig>
The new HTTP endpoint configuration.
sourcepub fn relational_database_config(
&self
) -> Option<&RelationalDatabaseDataSourceConfig>
pub fn relational_database_config(
&self
) -> Option<&RelationalDatabaseDataSourceConfig>
The new relational database configuration.
Trait Implementations§
source§impl Clone for UpdateDataSourceInput
impl Clone for UpdateDataSourceInput
source§fn clone(&self) -> UpdateDataSourceInput
fn clone(&self) -> UpdateDataSourceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateDataSourceInput
impl Debug for UpdateDataSourceInput
source§impl PartialEq<UpdateDataSourceInput> for UpdateDataSourceInput
impl PartialEq<UpdateDataSourceInput> for UpdateDataSourceInput
source§fn eq(&self, other: &UpdateDataSourceInput) -> bool
fn eq(&self, other: &UpdateDataSourceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.