OpenSearchServiceServerless.Client.
delete_security_policy
(**kwargs)¶Deletes an OpenSearch Serverless security policy.
See also: AWS API Documentation
Request Syntax
response = client.delete_security_policy(
clientToken='string',
name='string',
type='encryption'|'network'
)
Unique, case-sensitive identifier to ensure idempotency of the request.
This field is autopopulated if not provided.
[REQUIRED]
The name of the policy to delete.
[REQUIRED]
The type of policy.
dict
Response Syntax
{}
Response Structure
Exceptions
OpenSearchServiceServerless.Client.exceptions.InternalServerException
OpenSearchServiceServerless.Client.exceptions.ResourceNotFoundException
OpenSearchServiceServerless.Client.exceptions.ConflictException
OpenSearchServiceServerless.Client.exceptions.ValidationException