Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_security_policy

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'
)
Parameters
  • clientToken (string) --

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

    This field is autopopulated if not provided.

  • name (string) --

    [REQUIRED]

    The name of the policy to delete.

  • type (string) --

    [REQUIRED]

    The type of policy.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • OpenSearchServiceServerless.Client.exceptions.InternalServerException
  • OpenSearchServiceServerless.Client.exceptions.ResourceNotFoundException
  • OpenSearchServiceServerless.Client.exceptions.ConflictException
  • OpenSearchServiceServerless.Client.exceptions.ValidationException