Skip to content

Delete Security Policy

opensearchserviceserverless_delete_security_policy R Documentation

Deletes an OpenSearch Serverless security policy

Description

Deletes an OpenSearch Serverless security policy.

Usage

opensearchserviceserverless_delete_security_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_security_policy(
  clientToken = "string",
  name = "string",
  type = "encryption"|"network"
)