[−][src]Struct rusoto_appsync::DataSource
Describes a data source.
Fields
data_source_arn: Option<String>
The data source ARN.
description: Option<String>
The description of the data source.
dynamodb_config: Option<DynamodbDataSourceConfig>
Amazon DynamoDB settings.
elasticsearch_config: Option<ElasticsearchDataSourceConfig>
Amazon Elasticsearch Service settings.
http_config: Option<HttpDataSourceConfig>
HTTP endpoint settings.
lambda_config: Option<LambdaDataSourceConfig>
AWS Lambda settings.
name: Option<String>
The name of the data source.
relational_database_config: Option<RelationalDatabaseDataSourceConfig>
Relational database settings.
service_role_arn: Option<String>
The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.
type_: Option<String>
The type of the data source.
-
AMAZONDYNAMODB: The data source is an Amazon DynamoDB table.
-
AMAZONELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.
-
AWSLAMBDA: The data source is an AWS Lambda function.
-
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.
-
RELATIONALDATABASE: The data source is a relational database.
Trait Implementations
impl Default for DataSource
[src]
fn default() -> DataSource
[src]
impl Clone for DataSource
[src]
fn clone(&self) -> DataSource
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<DataSource> for DataSource
[src]
fn eq(&self, other: &DataSource) -> bool
[src]
fn ne(&self, other: &DataSource) -> bool
[src]
impl Debug for DataSource
[src]
impl<'de> Deserialize<'de> for DataSource
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for DataSource
impl Sync for DataSource
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self