BackupSearch / Client / exceptions / ServiceQuotaExceededException
ServiceQuotaExceededException¶
- class BackupSearch.Client.exceptions.ServiceQuotaExceededException¶
- The request denied due to exceeding the quota limits permitted. - 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', 'resourceId': 'string', 'resourceType': 'string', 'serviceCode': 'string', 'quotaCode': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } } - Structure- (dict) – - The request denied due to exceeding the quota limits permitted. - message (string) – - This request was not successful due to a service quota exceeding limits. 
- resourceId (string) – - Identifier of the resource. 
- resourceType (string) – - Type of resource. 
- serviceCode (string) – - This is the code unique to the originating service with the quota. 
- quotaCode (string) – - This is the code specific to the quota type. 
- 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.