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¶
Arguments¶
-
id[required] The unique identifier or name of the OpenSearch application to list attachments for.
-
nextTokenThe pagination token from a previous call to retrieve the next set of results.
-
maxResultsThe 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"
)