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 AddDirectQueryDataSource operation. Adds a new data source in Amazon OpenSearch Service so that you can perform direct queries on external data.
Namespace: Amazon.OpenSearchService.Model
Assembly: AWSSDK.OpenSearchService.dll
Version: 3.x.y.z
public class AddDirectQueryDataSourceRequest : AmazonOpenSearchServiceRequest IAmazonWebServiceRequest
The AddDirectQueryDataSourceRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
AddDirectQueryDataSourceRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
DataSourceAccessPolicy | System.String |
Gets and sets the property DataSourceAccessPolicy. An optional IAM access policy document that defines the permissions for accessing the data source. The policy document must be in valid JSON format and follow IAM policy syntax. |
|
DataSourceName | System.String |
Gets and sets the property DataSourceName. A unique, user-defined label to identify the data source within your OpenSearch Service environment. |
|
DataSourceType | Amazon.OpenSearchService.Model.DirectQueryDataSourceType |
Gets and sets the property DataSourceType. The supported Amazon Web Services service that you want to use as the source for direct queries in OpenSearch Service. |
|
Description | System.String |
Gets and sets the property Description. An optional text field for providing additional context and details about the data source. |
|
OpenSearchArns | System.Collections.Generic.List<System.String> |
Gets and sets the property OpenSearchArns. An optional list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. This field is required for CloudWatchLogs and SecurityLake datasource types. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
|
TagList | System.Collections.Generic.List<Amazon.OpenSearchService.Model.Tag> |
Gets and sets the property TagList. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer