AppConfig / Client / exceptions / BadRequestException
BadRequestException#
- class AppConfig.Client.exceptions.BadRequestException#
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Example
try: ... except client.exceptions.BadRequestException 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
{ 'Message': 'string', 'Reason': 'InvalidConfiguration', 'Details': { 'InvalidConfiguration': [ { 'Constraint': 'string', 'Location': 'string', 'Reason': 'string', 'Type': 'string', 'Value': 'string' }, ] }, 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Message (string) –
Reason (string) –
Details (dict) –
Detailed information about the input that failed to satisfy the constraints specified by a call.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
InvalidConfiguration
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
InvalidConfiguration (list) –
Detailed information about the bad request exception error when creating a hosted configuration version.
(dict) –
Detailed information about the bad request exception error when creating a hosted configuration version.
Constraint (string) –
The invalid or out-of-range validation constraint in your JSON schema that failed validation.
Location (string) –
Location of the validation constraint in the configuration JSON schema that failed validation.
Reason (string) –
The reason for an invalid configuration error.
Type (string) –
The type of error for an invalid configuration.
Value (string) –
Details about an error with Lambda when a synchronous extension experiences an error during an invocation.
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.