CloudSearchDomain / Client / exceptions / DocumentServiceException
DocumentServiceException#
- class CloudSearchDomain.Client.exceptions.DocumentServiceException#
Information about any problems encountered while processing an upload request.
Example
try: ... except client.exceptions.DocumentServiceException as e: print(e.response)
- response#
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'status': 'string', 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Information about any problems encountered while processing an upload request.
status (string) –
The return status of a document upload request,
error
orsuccess
.message (string) –
The description of the errors returned by the document service.
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.