2023/11/29 - Amazon OpenSearch Service - 5 new api methods
Changes Launching Amazon OpenSearch Service support for new zero-ETL integration with Amazon S3. Customers can now manage their direct query data sources to Amazon S3 programatically
Describes the data source details.
See also: AWS API Documentation
Request Syntax
client.get_data_source( DomainName='string', Name='string' )
string
[REQUIRED]
The name of the domain.
string
[REQUIRED]
The name of the data source.
dict
Response Syntax
{ 'DataSourceType': { 'S3GlueDataCatalog': { 'RoleArn': 'string' } }, 'Name': 'string', 'Description': 'string' }
Response Structure
(dict) --
The result of a GetDataSource operation.
DataSourceType (dict) --
The type of data source.
S3GlueDataCatalog (dict) --
The data source for the AWS S3 Glue Data Catalog.
RoleArn (string) --
The role ARN for the AWS S3 Glue Data Catalog.
Name (string) --
The name of the data source.
Description (string) --
A description of the data source.
A list of the data source details of the domain.
See also: AWS API Documentation
Request Syntax
client.list_data_sources( DomainName='string' )
string
[REQUIRED]
The name of the domain.
dict
Response Syntax
{ 'DataSources': [ { 'DataSourceType': { 'S3GlueDataCatalog': { 'RoleArn': 'string' } }, 'Name': 'string', 'Description': 'string' }, ] }
Response Structure
(dict) --
The result of a ListDataSources operation.
DataSources (list) --
A list of the data sources.
(dict) --
Details about the data sources.
DataSourceType (dict) --
The type of data source.
S3GlueDataCatalog (dict) --
The data source for the AWS S3 Glue Data Catalog.
RoleArn (string) --
The role ARN for the AWS S3 Glue Data Catalog.
Name (string) --
The name of the data source.
Description (string) --
A description of the data source.
Deletes the data source.
See also: AWS API Documentation
Request Syntax
client.delete_data_source( DomainName='string', Name='string' )
string
[REQUIRED]
The name of the domain.
string
[REQUIRED]
The name of the data source.
dict
Response Syntax
{ 'Message': 'string' }
Response Structure
(dict) --
The result of a GetDataSource operation.
Message (string) --
A message associated with the initiated request.
Adds the data source on the domain.
See also: AWS API Documentation
Request Syntax
client.add_data_source( DomainName='string', Name='string', DataSourceType={ 'S3GlueDataCatalog': { 'RoleArn': 'string' } }, Description='string' )
string
[REQUIRED]
The name of the domain.
string
[REQUIRED]
The name of the data source.
dict
[REQUIRED]
The type of data source.
S3GlueDataCatalog (dict) --
The data source for the AWS S3 Glue Data Catalog.
RoleArn (string) --
The role ARN for the AWS S3 Glue Data Catalog.
string
A description of the data source.
dict
Response Syntax
{ 'Message': 'string' }
Response Structure
(dict) --
The result of an AddDataSource operation.
Message (string) --
A message associated with the data source.
Updates the data source on the domain.
See also: AWS API Documentation
Request Syntax
client.update_data_source( DomainName='string', Name='string', DataSourceType={ 'S3GlueDataCatalog': { 'RoleArn': 'string' } }, Description='string' )
string
[REQUIRED]
The name of the domain.
string
[REQUIRED]
The name of the data source.
dict
[REQUIRED]
The type of data source.
S3GlueDataCatalog (dict) --
The data source for the AWS S3 Glue Data Catalog.
RoleArn (string) --
The role ARN for the AWS S3 Glue Data Catalog.
string
A description of the data source.
dict
Response Syntax
{ 'Message': 'string' }
Response Structure
(dict) --
The result of an UpdateDataSource operation.
Message (string) --
A message associated with the data source.