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