Skip to content

Deletes an OpenSearch Serverless-managed interface endpoint

Description

Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Usage

opensearchserviceserverless_delete_vpc_endpoint(id, clientToken)

Arguments

  • id

    [required] The VPC endpoint identifier.

  • clientToken

    Unique, case-sensitive identifier to ensure idempotency of the request.

Value

A list with the following syntax:

list(
  deleteVpcEndpointDetail = list(
    id = "string",
    name = "string",
    status = "PENDING"|"DELETING"|"ACTIVE"|"FAILED"
  )
)

Request syntax

svc$delete_vpc_endpoint(
  id = "string",
  clientToken = "string"
)