Skip to content

Returns the current status and details of a specific data source attachment for an OpenSearch application

Description

Returns the current status and details of a specific data source attachment for an OpenSearch application. Throws a ResourceNotFoundException if no attachment record exists for the specified application and data source combination.

Usage

opensearchservice_describe_data_source_attachment(id, dataSourceArn)

Arguments

  • id

[required] The unique identifier or name of the OpenSearch application.

  • dataSourceArn

[required] The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using Amazon Web Services Identity and Access Management for more information.

Value

A list with the following syntax:

list(
  attachmentId = "string",
  id = "string",
  arn = "string",
  dataSourceArn = "string",
  status = "PENDING"|"ATTACHED"|"FAILED"
)

Request syntax

svc$describe_data_source_attachment(
  id = "string",
  dataSourceArn = "string"
)