Struct aws_sdk_appsync::client::fluent_builders::CreateDataSource [−][src]
pub struct CreateDataSource<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDataSource
.
Creates a DataSource
object.
Implementations
impl<C, M, R> CreateDataSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDataSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDataSourceOutput, SdkError<CreateDataSourceError>> where
R::Policy: SmithyRetryPolicy<CreateDataSourceInputOperationOutputAlias, CreateDataSourceOutput, CreateDataSourceError, CreateDataSourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDataSourceOutput, SdkError<CreateDataSourceError>> where
R::Policy: SmithyRetryPolicy<CreateDataSourceInputOperationOutputAlias, CreateDataSourceOutput, CreateDataSourceError, CreateDataSourceInputOperationRetryAlias>,
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 for the GraphQL API for the DataSource
.
The API ID for the GraphQL API for the DataSource
.
A description of the DataSource
.
A description of the DataSource
.
The type of the DataSource
.
The type of the DataSource
.
The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.
The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.
Amazon DynamoDB settings.
Amazon DynamoDB settings.
Amazon Web Services Lambda settings.
Amazon Web Services Lambda settings.
Amazon OpenSearch Service settings.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
Amazon OpenSearch Service settings.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
Amazon OpenSearch Service settings.
pub fn set_open_search_service_config(
self,
input: Option<OpenSearchServiceDataSourceConfig>
) -> Self
pub fn set_open_search_service_config(
self,
input: Option<OpenSearchServiceDataSourceConfig>
) -> Self
Amazon OpenSearch Service settings.
HTTP endpoint settings.
HTTP endpoint settings.
Relational database settings.
pub fn set_relational_database_config(
self,
input: Option<RelationalDatabaseDataSourceConfig>
) -> Self
pub fn set_relational_database_config(
self,
input: Option<RelationalDatabaseDataSourceConfig>
) -> Self
Relational database settings.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDataSource<C, M, R>
impl<C, M, R> Send for CreateDataSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDataSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDataSource<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDataSource<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