Skip to content

Lists an inventory of all the direct query data sources that you have configured within Amazon OpenSearch Service

Description

Lists an inventory of all the direct query data sources that you have configured within Amazon OpenSearch Service.

Usage

opensearchservice_list_direct_query_data_sources(NextToken)

Arguments

  • NextToken

    When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

Value

A list with the following syntax:

list(
  NextToken = "string",
  DirectQueryDataSources = list(
    list(
      DataSourceName = "string",
      DataSourceType = list(
        CloudWatchLog = list(
          RoleArn = "string"
        ),
        SecurityLake = list(
          RoleArn = "string"
        ),
        Prometheus = list(
          RoleArn = "string",
          WorkspaceArn = "string"
        )
      ),
      Description = "string",
      OpenSearchArns = list(
        "string"
      ),
      DataSourceArn = "string",
      TagList = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  )
)

Request syntax

svc$list_direct_query_data_sources(
  NextToken = "string"
)