Skip to content

Commit

Permalink
Rename AppSyncEventSubscribeErrorDescription to `AppSyncEventErrorD…
Browse files Browse the repository at this point in the history
…escription`
  • Loading branch information
nicklaswj committed Nov 21, 2024
1 parent 0e161f3 commit dce7327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda-events/src/event/appsync_events/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ pub struct AppSyncEventsSubscribeSuccessMessage {
pub struct AppSyncEventsErrorMessage {
pub id: Option<String>,
#[serde(default)]
pub errors: Option<Vec<AppSyncEventSubscribeErrorDescription>>,
pub errors: Option<Vec<AppSyncEventErrorDescription>>,
}

/// `AppSyncEventSubscribeErrorDescription` contains information about an error.
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct AppSyncEventSubscribeErrorDescription {
pub struct AppSyncEventErrorDescription {
#[serde(default)]
pub error_type: Option<String>,
#[serde(default)]
Expand Down

0 comments on commit dce7327

Please sign in to comment.