class Aws::AppSync::Types::UpdateDataSourceRequest

@note When making an API call, you may pass UpdateDataSourceRequest

data as a hash:

    {
      api_id: "String", # required
      name: "ResourceName", # required
      description: "String",
      type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
      service_role_arn: "String",
      dynamodb_config: {
        table_name: "String", # required
        aws_region: "String", # required
        use_caller_credentials: false,
        delta_sync_config: {
          base_table_ttl: 1,
          delta_sync_table_name: "String",
          delta_sync_table_ttl: 1,
        },
        versioned: false,
      },
      lambda_config: {
        lambda_function_arn: "String", # required
      },
      elasticsearch_config: {
        endpoint: "String", # required
        aws_region: "String", # required
      },
      http_config: {
        endpoint: "String",
        authorization_config: {
          authorization_type: "AWS_IAM", # required, accepts AWS_IAM
          aws_iam_config: {
            signing_region: "String",
            signing_service_name: "String",
          },
        },
      },
      relational_database_config: {
        relational_database_source_type: "RDS_HTTP_ENDPOINT", # accepts RDS_HTTP_ENDPOINT
        rds_http_endpoint_config: {
          aws_region: "String",
          db_cluster_identifier: "String",
          database_name: "String",
          schema: "String",
          aws_secret_store_arn: "String",
        },
      },
    }

@!attribute [rw] api_id

The API ID.
@return [String]

@!attribute [rw] name

The new name for the data source.
@return [String]

@!attribute [rw] description

The new description for the data source.
@return [String]

@!attribute [rw] type

The new data source type.
@return [String]

@!attribute [rw] service_role_arn

The new service role ARN for the data source.
@return [String]

@!attribute [rw] dynamodb_config

The new Amazon DynamoDB configuration.
@return [Types::DynamodbDataSourceConfig]

@!attribute [rw] lambda_config

The new Amazon Web Services Lambda configuration.
@return [Types::LambdaDataSourceConfig]

@!attribute [rw] elasticsearch_config

The new Elasticsearch Service configuration.
@return [Types::ElasticsearchDataSourceConfig]

@!attribute [rw] http_config

The new HTTP endpoint configuration.
@return [Types::HttpDataSourceConfig]

@!attribute [rw] relational_database_config

The new relational database configuration.
@return [Types::RelationalDatabaseDataSourceConfig]

@see docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest AWS API Documentation

Constants

SENSITIVE