DataSource
public struct DataSource : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The data source ARN.
Declaration
Swift
public let dataSourceArn: String?
-
The description of the data source.
Declaration
Swift
public let description: String?
-
Amazon DynamoDB settings.
Declaration
Swift
public let dynamodbConfig: DynamodbDataSourceConfig?
-
Amazon Elasticsearch Service settings.
Declaration
Swift
public let elasticsearchConfig: ElasticsearchDataSourceConfig?
-
HTTP endpoint settings.
Declaration
Swift
public let httpConfig: HttpDataSourceConfig?
-
AWS Lambda settings.
Declaration
Swift
public let lambdaConfig: LambdaDataSourceConfig?
-
The name of the data source.
Declaration
Swift
public let name: String?
-
Relational database settings.
Declaration
Swift
public let relationalDatabaseConfig: RelationalDatabaseDataSourceConfig?
-
The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.
Declaration
Swift
public let serviceRoleArn: String?
-
The type of the data source. AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain. AWS_LAMBDA: 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. RELATIONAL_DATABASE: The data source is a relational database.
Declaration
Swift
public let type: DataSourceType?
-
init(dataSourceArn:description:dynamodbConfig:elasticsearchConfig:httpConfig:lambdaConfig:name:relationalDatabaseConfig:serviceRoleArn:type:)
Undocumented
Declaration
Swift
public init(dataSourceArn: String? = nil, description: String? = nil, dynamodbConfig: DynamodbDataSourceConfig? = nil, elasticsearchConfig: ElasticsearchDataSourceConfig? = nil, httpConfig: HttpDataSourceConfig? = nil, lambdaConfig: LambdaDataSourceConfig? = nil, name: String? = nil, relationalDatabaseConfig: RelationalDatabaseDataSourceConfig? = nil, serviceRoleArn: String? = nil, type: DataSourceType? = nil)