This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::AppSync::DataSource object:

  $service_obj->Method(Att1 => { DataSourceArn => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::AppSync::DataSource object:

  $result = $service_obj->Method(...);


Describes a data source.


DataSourceArn => Str

  The data source ARN.

Description => Str

  The description of the data source.

DynamodbConfig => Paws::AppSync::DynamodbDataSourceConfig

  Amazon DynamoDB settings.

ElasticsearchConfig => Paws::AppSync::ElasticsearchDataSourceConfig

  Amazon Elasticsearch Service settings.

HttpConfig => Paws::AppSync::HttpDataSourceConfig

  HTTP endpoint settings.

LambdaConfig => Paws::AppSync::LambdaDataSourceConfig

  AWS Lambda settings.

Name => Str

  The name of the data source.

RelationalDatabaseConfig => Paws::AppSync::RelationalDatabaseDataSourceConfig

  Relational database settings.

ServiceRoleArn => Str

  The AWS IAM service role ARN for the data source. The system assumes
this role when accessing the data source.

Type => Str

  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.


This class forms part of Paws, describing an object used in Paws::AppSync


The source code is located here:

Please report bugs to: