Skip to content

Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region

Description

Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.

Usage

opensearchservice_list_domain_names(EngineType)

Arguments

  • EngineType

    Filters the output by domain engine type.

Value

A list with the following syntax:

list(
  DomainNames = list(
    list(
      DomainName = "string",
      EngineType = "OpenSearch"|"Elasticsearch"
    )
  )
)

Request syntax

svc$list_domain_names(
  EngineType = "OpenSearch"|"Elasticsearch"
)