Skip to content

Returns attributes for one or more VPC endpoints associated with the current account

Description

Returns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Usage

opensearchserviceserverless_batch_get_vpc_endpoint(ids)

Arguments

  • ids

    [required] A list of VPC endpoint identifiers.

Value

A list with the following syntax:

list(
  vpcEndpointDetails = list(
    list(
      id = "string",
      name = "string",
      vpcId = "string",
      subnetIds = list(
        "string"
      ),
      securityGroupIds = list(
        "string"
      ),
      status = "PENDING"|"DELETING"|"ACTIVE"|"FAILED",
      createdDate = 123,
      failureCode = "string",
      failureMessage = "string"
    )
  ),
  vpcEndpointErrorDetails = list(
    list(
      id = "string",
      errorMessage = "string",
      errorCode = "string"
    )
  )
)

Request syntax

svc$batch_get_vpc_endpoint(
  ids = list(
    "string"
  )
)