Inspector / Client / exceptions / UnsupportedFeatureException
UnsupportedFeatureException#
- class Inspector.Client.exceptions.UnsupportedFeatureException#
Used by the GetAssessmentReport API. The request was rejected because you tried to generate a report for an assessment run that existed before reporting was supported in Amazon Inspector. You can only generate reports for assessment runs that took place or will take place after generating reports in Amazon Inspector became available.
Example
try: ... except client.exceptions.UnsupportedFeatureException 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', 'canRetry': True|False, 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Used by the GetAssessmentReport API. The request was rejected because you tried to generate a report for an assessment run that existed before reporting was supported in Amazon Inspector. You can only generate reports for assessment runs that took place or will take place after generating reports in Amazon Inspector became available.
message (string) –
canRetry (boolean) –
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.