AppConfigCloudExtension / Client / exceptions / BadGatewayException
BadGatewayException¶
- class AppConfigCloudExtension.Client.exceptions.BadGatewayException¶
No usable answer came back: from the service AWS Cloud Extensions retrieves its profile from, from the Extension, or from a service the Extension calls. The reason says what to do, such as fixing the profile or role, checking the Extension’s settings, or using an earlier version of the Extension.
Example
try: ... except client.exceptions.BadGatewayException 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', 'reason': 'PROFILE_NOT_FOUND'|'PROFILE_ACCESS_DENIED'|'PROFILE_RETRIEVAL_THROTTLED'|'PROFILE_RETRIEVAL_FAILED'|'PROFILE_UNREADABLE'|'EXTENSION_INVALID_RESPONSE'|'EXTENSION_CRASHED'|'EXTENSION_INITIALIZE_FAILED'|'EXTENSION_UNREADABLE'|'EXTENSION_LOAD_FAILED'|'REMOTE_UNREACHABLE', 'extension': 'string', 'version': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
No usable answer came back: from the service AWS Cloud Extensions retrieves its profile from, from the Extension, or from a service the Extension calls. The reason says what to do, such as fixing the profile or role, checking the Extension’s settings, or using an earlier version of the Extension.
message (string) –
A description of the error.
reason (string) –
Why no usable answer came back, and so what to fix.
extension (string) –
The Extension the request is for, when the reason concerns one.
version (string) –
The Extension’s version, when the reason concerns one.
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.