CloudTrail / Client / exceptions / InvalidNextTokenException
InvalidNextTokenException#
- class CloudTrail.Client.exceptions.InvalidNextTokenException#
A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
Example
try: ... except client.exceptions.InvalidNextTokenException 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
{}
Structure
(dict) –
A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
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.