Skip to content

Returns a paginated list of all data source attachments for an OpenSearch application, including attachments in all states (PENDING, ATTACHED, and FAILED)

Description

Returns a paginated list of all data source attachments for an OpenSearch application, including attachments in all states (PENDING, ATTACHED, and FAILED).

Usage

opensearchservice_list_data_source_attachments(id, nextToken,
  maxResults)

Arguments

  • id

[required] The unique identifier or name of the OpenSearch application to list attachments for.

  • nextToken

The pagination token from a previous call to retrieve the next set of results.

  • maxResults

The maximum number of results to return per page. The default is 50.

Value

A list with the following syntax:

list(
  attachments = list(
    list(
      attachmentId = "string",
      dataSourceArn = "string",
      status = "PENDING"|"ATTACHED"|"FAILED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_data_source_attachments(
  id = "string",
  nextToken = "string",
  maxResults = 123
)