OpenSearchServiceServerless.Client.
get_policies_stats
()¶Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
See also: AWS API Documentation
Request Syntax
response = client.get_policies_stats()
{
'AccessPolicyStats': {
'DataPolicyCount': 123
},
'SecurityConfigStats': {
'SamlConfigCount': 123
},
'SecurityPolicyStats': {
'EncryptionPolicyCount': 123,
'NetworkPolicyCount': 123
},
'TotalPolicyCount': 123
}
Response Structure
Information about the data access policies in your account.
The number of data access policies in the current account.
Information about the security configurations in your account.
The number of security configurations in the current account.
Information about the security policies in your account.
The number of encryption policies in the current account.
The number of network policies in the current account.
The total number of OpenSearch Serverless security policies and configurations in your account.
Exceptions
OpenSearchServiceServerless.Client.exceptions.InternalServerException