You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the part {\"immediateModeScheduleActionStartSettings\":{\"time\":\"2021-08-29T21:54:42.651\"}}, which is the object that breaks the deserializer.
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Bug Report
Version
Platform
AWS Services
Medialive
Description
The
describe_schedule
andbatch_update_schedule
functions produce a JSON parsing error when the payload contains animmediateModeScheduleActionStartSettings
object. TheImmediateModeScheduleActionStartSettings
rust type is defined as an empty struct which appears to have an erroneous JSON deserializer that will accept aStartObject
token, but will not advance the token iterator through to theEndObject
token.https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/medialive/src/model.rs#L34045
https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/medialive/src/json_deser.rs#L11782-L11786
Example code:
I expected an
Ok
resultInstead I got the following
DescribeScheduleError
:With the following relevant trace logs:
Notice the part
{\"immediateModeScheduleActionStartSettings\":{\"time\":\"2021-08-29T21:54:42.651\"}}
, which is the object that breaks the deserializer.The text was updated successfully, but these errors were encountered: