Struct aws_sdk_appsync::model::data_source::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for DataSource
Implementations
The data source ARN.
The data source ARN.
The description of the data source.
The description of the data source.
The type of the data source.
-
AWS_LAMBDA: The data source is an Amazon Web Services Lambda function.
-
AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
-
AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.
-
AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.
-
NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.
-
HTTP: The data source is an HTTP endpoint.
-
RELATIONAL_DATABASE: The data source is a relational database.
The type of the data source.
-
AWS_LAMBDA: The data source is an Amazon Web Services Lambda function.
-
AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
-
AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.
-
AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.
-
NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.
-
HTTP: The data source is an HTTP endpoint.
-
RELATIONAL_DATABASE: The data source is a relational database.
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.
Amazon OpenSearch Service settings.
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.
Consumes the builder and constructs a DataSource
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
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