v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1446252177.2 KB

Returns information about a configured OpenSearch Serverless security policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at rest for Amazon OpenSearch Serverless</a>.

post/#X-Amz-Target=OpenSearchServerless.GetSecurityPolicy

Headers

X-Amz-Target'OpenSearchServerless.GetSecurityPolicy' required

Request body

type'encryption' | 'network' required

The type of security policy.

namestring required

The name of the security policy.

Response

Success