AWS SDK for C++  1.9.132
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppSync::Model::DataSource Class Reference

#include <DataSource.h>

Public Member Functions

 DataSource ()
 
 DataSource (Aws::Utils::Json::JsonView jsonValue)
 
DataSourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetDataSourceArn () const
 
bool DataSourceArnHasBeenSet () const
 
void SetDataSourceArn (const Aws::String &value)
 
void SetDataSourceArn (Aws::String &&value)
 
void SetDataSourceArn (const char *value)
 
DataSourceWithDataSourceArn (const Aws::String &value)
 
DataSourceWithDataSourceArn (Aws::String &&value)
 
DataSourceWithDataSourceArn (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
DataSourceWithName (const Aws::String &value)
 
DataSourceWithName (Aws::String &&value)
 
DataSourceWithName (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
DataSourceWithDescription (const Aws::String &value)
 
DataSourceWithDescription (Aws::String &&value)
 
DataSourceWithDescription (const char *value)
 
const DataSourceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const DataSourceType &value)
 
void SetType (DataSourceType &&value)
 
DataSourceWithType (const DataSourceType &value)
 
DataSourceWithType (DataSourceType &&value)
 
const Aws::StringGetServiceRoleArn () const
 
bool ServiceRoleArnHasBeenSet () const
 
void SetServiceRoleArn (const Aws::String &value)
 
void SetServiceRoleArn (Aws::String &&value)
 
void SetServiceRoleArn (const char *value)
 
DataSourceWithServiceRoleArn (const Aws::String &value)
 
DataSourceWithServiceRoleArn (Aws::String &&value)
 
DataSourceWithServiceRoleArn (const char *value)
 
const DynamodbDataSourceConfigGetDynamodbConfig () const
 
bool DynamodbConfigHasBeenSet () const
 
void SetDynamodbConfig (const DynamodbDataSourceConfig &value)
 
void SetDynamodbConfig (DynamodbDataSourceConfig &&value)
 
DataSourceWithDynamodbConfig (const DynamodbDataSourceConfig &value)
 
DataSourceWithDynamodbConfig (DynamodbDataSourceConfig &&value)
 
const LambdaDataSourceConfigGetLambdaConfig () const
 
bool LambdaConfigHasBeenSet () const
 
void SetLambdaConfig (const LambdaDataSourceConfig &value)
 
void SetLambdaConfig (LambdaDataSourceConfig &&value)
 
DataSourceWithLambdaConfig (const LambdaDataSourceConfig &value)
 
DataSourceWithLambdaConfig (LambdaDataSourceConfig &&value)
 
const ElasticsearchDataSourceConfigGetElasticsearchConfig () const
 
bool ElasticsearchConfigHasBeenSet () const
 
void SetElasticsearchConfig (const ElasticsearchDataSourceConfig &value)
 
void SetElasticsearchConfig (ElasticsearchDataSourceConfig &&value)
 
DataSourceWithElasticsearchConfig (const ElasticsearchDataSourceConfig &value)
 
DataSourceWithElasticsearchConfig (ElasticsearchDataSourceConfig &&value)
 
const OpenSearchServiceDataSourceConfigGetOpenSearchServiceConfig () const
 
bool OpenSearchServiceConfigHasBeenSet () const
 
void SetOpenSearchServiceConfig (const OpenSearchServiceDataSourceConfig &value)
 
void SetOpenSearchServiceConfig (OpenSearchServiceDataSourceConfig &&value)
 
DataSourceWithOpenSearchServiceConfig (const OpenSearchServiceDataSourceConfig &value)
 
DataSourceWithOpenSearchServiceConfig (OpenSearchServiceDataSourceConfig &&value)
 
const HttpDataSourceConfigGetHttpConfig () const
 
bool HttpConfigHasBeenSet () const
 
void SetHttpConfig (const HttpDataSourceConfig &value)
 
void SetHttpConfig (HttpDataSourceConfig &&value)
 
DataSourceWithHttpConfig (const HttpDataSourceConfig &value)
 
DataSourceWithHttpConfig (HttpDataSourceConfig &&value)
 
const RelationalDatabaseDataSourceConfigGetRelationalDatabaseConfig () const
 
bool RelationalDatabaseConfigHasBeenSet () const
 
void SetRelationalDatabaseConfig (const RelationalDatabaseDataSourceConfig &value)
 
void SetRelationalDatabaseConfig (RelationalDatabaseDataSourceConfig &&value)
 
DataSourceWithRelationalDatabaseConfig (const RelationalDatabaseDataSourceConfig &value)
 
DataSourceWithRelationalDatabaseConfig (RelationalDatabaseDataSourceConfig &&value)
 

Detailed Description

Describes a data source.

See Also:

AWS API Reference

Definition at line 38 of file DataSource.h.

Constructor & Destructor Documentation

◆ DataSource() [1/2]

Aws::AppSync::Model::DataSource::DataSource ( )

◆ DataSource() [2/2]

Aws::AppSync::Model::DataSource::DataSource ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ DataSourceArnHasBeenSet()

bool Aws::AppSync::Model::DataSource::DataSourceArnHasBeenSet ( ) const
inline

The data source ARN.

Definition at line 55 of file DataSource.h.

◆ DescriptionHasBeenSet()

bool Aws::AppSync::Model::DataSource::DescriptionHasBeenSet ( ) const
inline

The description of the data source.

Definition at line 137 of file DataSource.h.

◆ DynamodbConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::DynamodbConfigHasBeenSet ( ) const
inline

Amazon DynamoDB settings.

Definition at line 324 of file DataSource.h.

◆ ElasticsearchConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::ElasticsearchConfigHasBeenSet ( ) const
inline

Amazon OpenSearch Service settings.

Definition at line 386 of file DataSource.h.

◆ GetDataSourceArn()

const Aws::String& Aws::AppSync::Model::DataSource::GetDataSourceArn ( ) const
inline

The data source ARN.

Definition at line 50 of file DataSource.h.

◆ GetDescription()

const Aws::String& Aws::AppSync::Model::DataSource::GetDescription ( ) const
inline

The description of the data source.

Definition at line 132 of file DataSource.h.

◆ GetDynamodbConfig()

const DynamodbDataSourceConfig& Aws::AppSync::Model::DataSource::GetDynamodbConfig ( ) const
inline

Amazon DynamoDB settings.

Definition at line 319 of file DataSource.h.

◆ GetElasticsearchConfig()

const ElasticsearchDataSourceConfig& Aws::AppSync::Model::DataSource::GetElasticsearchConfig ( ) const
inline

Amazon OpenSearch Service settings.

Definition at line 381 of file DataSource.h.

◆ GetHttpConfig()

const HttpDataSourceConfig& Aws::AppSync::Model::DataSource::GetHttpConfig ( ) const
inline

HTTP endpoint settings.

Definition at line 443 of file DataSource.h.

◆ GetLambdaConfig()

const LambdaDataSourceConfig& Aws::AppSync::Model::DataSource::GetLambdaConfig ( ) const
inline

Amazon Web Services Lambda settings.

Definition at line 350 of file DataSource.h.

◆ GetName()

const Aws::String& Aws::AppSync::Model::DataSource::GetName ( ) const
inline

The name of the data source.

Definition at line 91 of file DataSource.h.

◆ GetOpenSearchServiceConfig()

const OpenSearchServiceDataSourceConfig& Aws::AppSync::Model::DataSource::GetOpenSearchServiceConfig ( ) const
inline

Amazon OpenSearch Service settings.

Definition at line 412 of file DataSource.h.

◆ GetRelationalDatabaseConfig()

const RelationalDatabaseDataSourceConfig& Aws::AppSync::Model::DataSource::GetRelationalDatabaseConfig ( ) const
inline

Relational database settings.

Definition at line 474 of file DataSource.h.

◆ GetServiceRoleArn()

const Aws::String& Aws::AppSync::Model::DataSource::GetServiceRoleArn ( ) const
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 271 of file DataSource.h.

◆ GetType()

const DataSourceType& Aws::AppSync::Model::DataSource::GetType ( ) const
inline

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.

Definition at line 184 of file DataSource.h.

◆ HttpConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::HttpConfigHasBeenSet ( ) const
inline

HTTP endpoint settings.

Definition at line 448 of file DataSource.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AppSync::Model::DataSource::Jsonize ( ) const

◆ LambdaConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::LambdaConfigHasBeenSet ( ) const
inline

Amazon Web Services Lambda settings.

Definition at line 355 of file DataSource.h.

◆ NameHasBeenSet()

bool Aws::AppSync::Model::DataSource::NameHasBeenSet ( ) const
inline

The name of the data source.

Definition at line 96 of file DataSource.h.

◆ OpenSearchServiceConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::OpenSearchServiceConfigHasBeenSet ( ) const
inline

Amazon OpenSearch Service settings.

Definition at line 417 of file DataSource.h.

◆ operator=()

DataSource& Aws::AppSync::Model::DataSource::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RelationalDatabaseConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::RelationalDatabaseConfigHasBeenSet ( ) const
inline

Relational database settings.

Definition at line 479 of file DataSource.h.

◆ ServiceRoleArnHasBeenSet()

bool Aws::AppSync::Model::DataSource::ServiceRoleArnHasBeenSet ( ) const
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 277 of file DataSource.h.

◆ SetDataSourceArn() [1/3]

void Aws::AppSync::Model::DataSource::SetDataSourceArn ( Aws::String &&  value)
inline

The data source ARN.

Definition at line 65 of file DataSource.h.

◆ SetDataSourceArn() [2/3]

void Aws::AppSync::Model::DataSource::SetDataSourceArn ( const Aws::String value)
inline

The data source ARN.

Definition at line 60 of file DataSource.h.

◆ SetDataSourceArn() [3/3]

void Aws::AppSync::Model::DataSource::SetDataSourceArn ( const char *  value)
inline

The data source ARN.

Definition at line 70 of file DataSource.h.

◆ SetDescription() [1/3]

void Aws::AppSync::Model::DataSource::SetDescription ( Aws::String &&  value)
inline

The description of the data source.

Definition at line 147 of file DataSource.h.

◆ SetDescription() [2/3]

void Aws::AppSync::Model::DataSource::SetDescription ( const Aws::String value)
inline

The description of the data source.

Definition at line 142 of file DataSource.h.

◆ SetDescription() [3/3]

void Aws::AppSync::Model::DataSource::SetDescription ( const char *  value)
inline

The description of the data source.

Definition at line 152 of file DataSource.h.

◆ SetDynamodbConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetDynamodbConfig ( const DynamodbDataSourceConfig value)
inline

Amazon DynamoDB settings.

Definition at line 329 of file DataSource.h.

◆ SetDynamodbConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetDynamodbConfig ( DynamodbDataSourceConfig &&  value)
inline

Amazon DynamoDB settings.

Definition at line 334 of file DataSource.h.

◆ SetElasticsearchConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetElasticsearchConfig ( const ElasticsearchDataSourceConfig value)
inline

Amazon OpenSearch Service settings.

Definition at line 391 of file DataSource.h.

◆ SetElasticsearchConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetElasticsearchConfig ( ElasticsearchDataSourceConfig &&  value)
inline

Amazon OpenSearch Service settings.

Definition at line 396 of file DataSource.h.

◆ SetHttpConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetHttpConfig ( const HttpDataSourceConfig value)
inline

HTTP endpoint settings.

Definition at line 453 of file DataSource.h.

◆ SetHttpConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetHttpConfig ( HttpDataSourceConfig &&  value)
inline

HTTP endpoint settings.

Definition at line 458 of file DataSource.h.

◆ SetLambdaConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetLambdaConfig ( const LambdaDataSourceConfig value)
inline

Amazon Web Services Lambda settings.

Definition at line 360 of file DataSource.h.

◆ SetLambdaConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetLambdaConfig ( LambdaDataSourceConfig &&  value)
inline

Amazon Web Services Lambda settings.

Definition at line 365 of file DataSource.h.

◆ SetName() [1/3]

void Aws::AppSync::Model::DataSource::SetName ( Aws::String &&  value)
inline

The name of the data source.

Definition at line 106 of file DataSource.h.

◆ SetName() [2/3]

void Aws::AppSync::Model::DataSource::SetName ( const Aws::String value)
inline

The name of the data source.

Definition at line 101 of file DataSource.h.

◆ SetName() [3/3]

void Aws::AppSync::Model::DataSource::SetName ( const char *  value)
inline

The name of the data source.

Definition at line 111 of file DataSource.h.

◆ SetOpenSearchServiceConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetOpenSearchServiceConfig ( const OpenSearchServiceDataSourceConfig value)
inline

Amazon OpenSearch Service settings.

Definition at line 422 of file DataSource.h.

◆ SetOpenSearchServiceConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetOpenSearchServiceConfig ( OpenSearchServiceDataSourceConfig &&  value)
inline

Amazon OpenSearch Service settings.

Definition at line 427 of file DataSource.h.

◆ SetRelationalDatabaseConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetRelationalDatabaseConfig ( const RelationalDatabaseDataSourceConfig value)
inline

Relational database settings.

Definition at line 484 of file DataSource.h.

◆ SetRelationalDatabaseConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetRelationalDatabaseConfig ( RelationalDatabaseDataSourceConfig &&  value)
inline

Relational database settings.

Definition at line 489 of file DataSource.h.

◆ SetServiceRoleArn() [1/3]

void Aws::AppSync::Model::DataSource::SetServiceRoleArn ( Aws::String &&  value)
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 289 of file DataSource.h.

◆ SetServiceRoleArn() [2/3]

void Aws::AppSync::Model::DataSource::SetServiceRoleArn ( const Aws::String value)
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 283 of file DataSource.h.

◆ SetServiceRoleArn() [3/3]

void Aws::AppSync::Model::DataSource::SetServiceRoleArn ( const char *  value)
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 295 of file DataSource.h.

◆ SetType() [1/2]

void Aws::AppSync::Model::DataSource::SetType ( const DataSourceType value)
inline

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.

Definition at line 216 of file DataSource.h.

◆ SetType() [2/2]

void Aws::AppSync::Model::DataSource::SetType ( DataSourceType &&  value)
inline

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.

Definition at line 232 of file DataSource.h.

◆ TypeHasBeenSet()

bool Aws::AppSync::Model::DataSource::TypeHasBeenSet ( ) const
inline

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.

Definition at line 200 of file DataSource.h.

◆ WithDataSourceArn() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithDataSourceArn ( Aws::String &&  value)
inline

The data source ARN.

Definition at line 80 of file DataSource.h.

◆ WithDataSourceArn() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithDataSourceArn ( const Aws::String value)
inline

The data source ARN.

Definition at line 75 of file DataSource.h.

◆ WithDataSourceArn() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithDataSourceArn ( const char *  value)
inline

The data source ARN.

Definition at line 85 of file DataSource.h.

◆ WithDescription() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithDescription ( Aws::String &&  value)
inline

The description of the data source.

Definition at line 162 of file DataSource.h.

◆ WithDescription() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithDescription ( const Aws::String value)
inline

The description of the data source.

Definition at line 157 of file DataSource.h.

◆ WithDescription() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithDescription ( const char *  value)
inline

The description of the data source.

Definition at line 167 of file DataSource.h.

◆ WithDynamodbConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithDynamodbConfig ( const DynamodbDataSourceConfig value)
inline

Amazon DynamoDB settings.

Definition at line 339 of file DataSource.h.

◆ WithDynamodbConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithDynamodbConfig ( DynamodbDataSourceConfig &&  value)
inline

Amazon DynamoDB settings.

Definition at line 344 of file DataSource.h.

◆ WithElasticsearchConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithElasticsearchConfig ( const ElasticsearchDataSourceConfig value)
inline

Amazon OpenSearch Service settings.

Definition at line 401 of file DataSource.h.

◆ WithElasticsearchConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithElasticsearchConfig ( ElasticsearchDataSourceConfig &&  value)
inline

Amazon OpenSearch Service settings.

Definition at line 406 of file DataSource.h.

◆ WithHttpConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithHttpConfig ( const HttpDataSourceConfig value)
inline

HTTP endpoint settings.

Definition at line 463 of file DataSource.h.

◆ WithHttpConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithHttpConfig ( HttpDataSourceConfig &&  value)
inline

HTTP endpoint settings.

Definition at line 468 of file DataSource.h.

◆ WithLambdaConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithLambdaConfig ( const LambdaDataSourceConfig value)
inline

Amazon Web Services Lambda settings.

Definition at line 370 of file DataSource.h.

◆ WithLambdaConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithLambdaConfig ( LambdaDataSourceConfig &&  value)
inline

Amazon Web Services Lambda settings.

Definition at line 375 of file DataSource.h.

◆ WithName() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithName ( Aws::String &&  value)
inline

The name of the data source.

Definition at line 121 of file DataSource.h.

◆ WithName() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithName ( const Aws::String value)
inline

The name of the data source.

Definition at line 116 of file DataSource.h.

◆ WithName() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithName ( const char *  value)
inline

The name of the data source.

Definition at line 126 of file DataSource.h.

◆ WithOpenSearchServiceConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithOpenSearchServiceConfig ( const OpenSearchServiceDataSourceConfig value)
inline

Amazon OpenSearch Service settings.

Definition at line 432 of file DataSource.h.

◆ WithOpenSearchServiceConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithOpenSearchServiceConfig ( OpenSearchServiceDataSourceConfig &&  value)
inline

Amazon OpenSearch Service settings.

Definition at line 437 of file DataSource.h.

◆ WithRelationalDatabaseConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithRelationalDatabaseConfig ( const RelationalDatabaseDataSourceConfig value)
inline

Relational database settings.

Definition at line 494 of file DataSource.h.

◆ WithRelationalDatabaseConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithRelationalDatabaseConfig ( RelationalDatabaseDataSourceConfig &&  value)
inline

Relational database settings.

Definition at line 499 of file DataSource.h.

◆ WithServiceRoleArn() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithServiceRoleArn ( Aws::String &&  value)
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 307 of file DataSource.h.

◆ WithServiceRoleArn() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithServiceRoleArn ( const Aws::String value)
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 301 of file DataSource.h.

◆ WithServiceRoleArn() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithServiceRoleArn ( const char *  value)
inline

The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 313 of file DataSource.h.

◆ WithType() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithType ( const DataSourceType value)
inline

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.

Definition at line 248 of file DataSource.h.

◆ WithType() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithType ( DataSourceType &&  value)
inline

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.

Definition at line 264 of file DataSource.h.


The documentation for this class was generated from the following file: