Skip to content

Add Data Source

opensearchservice_add_data_source R Documentation

Creates a new direct-query data source to the specified domain

Description

Creates a new direct-query data source to the specified domain. For more information, see Creating Amazon OpenSearch Service data source integrations with Amazon S3.

Usage

opensearchservice_add_data_source(DomainName, Name, DataSourceType,
  Description)

Arguments

DomainName

[required] The name of the domain to add the data source to.

Name

[required] A name for the data source.

DataSourceType

[required] The type of data source.

Description

A description of the data source.

Value

A list with the following syntax:

list(
  Message = "string"
)

Request syntax

svc$add_data_source(
  DomainName = "string",
  Name = "string",
  DataSourceType = list(
    S3GlueDataCatalog = list(
      RoleArn = "string"
    )
  ),
  Description = "string"
)