Skip to content

Delete Access Policy

opensearchserviceserverless_delete_access_policy R Documentation

Deletes an OpenSearch Serverless access policy

Description

Deletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Usage

opensearchserviceserverless_delete_access_policy(clientToken, name,
  type)

Arguments

clientToken

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

name

[required] The name of the policy to delete.

type

[required] The type of policy.

Value

An empty list.

Request syntax

svc$delete_access_policy(
  clientToken = "string",
  name = "string",
  type = "data"
)