CloudWatchLogs / Client / exceptions / InvalidSequenceTokenException
InvalidSequenceTokenException#
- class CloudWatchLogs.Client.exceptions.InvalidSequenceTokenException#
The sequence token is not valid. You can get the correct sequence token in the
expectedSequenceToken
field in theInvalidSequenceTokenException
message.Warning
PutLogEvents
actions are now always accepted and never returnInvalidSequenceTokenException
regardless of receiving an invalid sequence token.Example
try: ... except client.exceptions.InvalidSequenceTokenException 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
{ 'expectedSequenceToken': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The sequence token is not valid. You can get the correct sequence token in the
expectedSequenceToken
field in theInvalidSequenceTokenException
message.Warning
PutLogEvents
actions are now always accepted and never returnInvalidSequenceTokenException
regardless of receiving an invalid sequence token.expectedSequenceToken (string) –
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.