OpenSearchMemory / Client / exceptions / ServiceQuotaExceededException
ServiceQuotaExceededException¶
- class OpenSearchMemory.Client.exceptions.ServiceQuotaExceededException¶
The request would exceed a quota, such as the number of spaces in your account or the number of strategies in a space.
Example
try: ... except client.exceptions.ServiceQuotaExceededException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'message': 'string', 'quotaCode': 'string', 'serviceCode': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request would exceed a quota, such as the number of spaces in your account or the number of strategies in a space.
message (string) –
A message that describes which quota the request would exceed.
quotaCode (string) –
The Service Quotas code of the quota that the request would exceed. Not currently returned.
serviceCode (string) –
The Service Quotas code of the service. Not currently returned.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.