Skip to content

Updates a direct-query data source

Description

Updates a direct-query data source. For more information, see Working with Amazon OpenSearch Service data source integrations with Amazon S3.

Usage

opensearchservice_update_data_source(DomainName, Name, DataSourceType,
  Description, Status)

Arguments

  • DomainName

    [required] The name of the domain.

  • Name

    [required] The name of the data source to modify.

  • DataSourceType

    [required] The type of data source.

  • Description

    A new description of the data source.

  • Status

    The status of the data source update.

Value

A list with the following syntax:

list(
  Message = "string"
)

Request syntax

svc$update_data_source(
  DomainName = "string",
  Name = "string",
  DataSourceType = list(
    S3GlueDataCatalog = list(
      RoleArn = "string"
    )
  ),
  Description = "string",
  Status = "ACTIVE"|"DISABLED"
)