AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateDataSource operation. Updates a DataSource object.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppSync.AmazonAppSyncRequest
      Amazon.AppSync.Model.UpdateDataSourceRequest

Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateDataSourceRequest : AmazonAppSyncRequest
         IAmazonWebServiceRequest

The UpdateDataSourceRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateDataSourceRequest()

Properties

NameTypeDescription
Public Property ApiId System.String

Gets and sets the property ApiId.

The API ID.

Public Property Description System.String

Gets and sets the property Description.

The new description for the data source.

Public Property DynamodbConfig Amazon.AppSync.Model.DynamodbDataSourceConfig

Gets and sets the property DynamodbConfig.

The new Amazon DynamoDB configuration.

Public Property ElasticsearchConfig Amazon.AppSync.Model.ElasticsearchDataSourceConfig

Gets and sets the property ElasticsearchConfig.

The new OpenSearch configuration.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.

Public Property EventBridgeConfig Amazon.AppSync.Model.EventBridgeDataSourceConfig

Gets and sets the property EventBridgeConfig.

The new Amazon EventBridge settings.

Public Property HttpConfig Amazon.AppSync.Model.HttpDataSourceConfig

Gets and sets the property HttpConfig.

The new HTTP endpoint configuration.

Public Property LambdaConfig Amazon.AppSync.Model.LambdaDataSourceConfig

Gets and sets the property LambdaConfig.

The new Lambda configuration.

Public Property MetricsConfig Amazon.AppSync.DataSourceLevelMetricsConfig

Gets and sets the property MetricsConfig.

Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.

metricsConfig can be ENABLED or DISABLED.

Public Property Name System.String

Gets and sets the property Name.

The new name for the data source.

Public Property OpenSearchServiceConfig Amazon.AppSync.Model.OpenSearchServiceDataSourceConfig

Gets and sets the property OpenSearchServiceConfig.

The new OpenSearch configuration.

Public Property RelationalDatabaseConfig Amazon.AppSync.Model.RelationalDatabaseDataSourceConfig

Gets and sets the property RelationalDatabaseConfig.

The new relational database configuration.

Public Property ServiceRoleArn System.String

Gets and sets the property ServiceRoleArn.

The new service role Amazon Resource Name (ARN) for the data source.

Public Property Type Amazon.AppSync.DataSourceType

Gets and sets the property Type.

The new data source type.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5