Skip to content

Commit 8e1d298

Browse files
committed
Fix Identity and Client metadata
Signed-off-by: David Calavera <david.calavera@gmail.com>
1 parent 7d3363b commit 8e1d298

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lambda-runtime/src/types.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,19 @@ pub struct ClientContext {
5757
#[serde(rename_all = "camelCase")]
5858
pub struct ClientApplication {
5959
/// The mobile app installation id
60+
#[serde(alias = "installation_id")]
6061
pub installation_id: String,
6162
/// The app title for the mobile app as registered with AWS' mobile services.
63+
#[serde(alias = "app_title")]
6264
pub app_title: String,
6365
/// The version name of the application as registered with AWS' mobile services.
66+
#[serde(alias = "app_version_name")]
6467
pub app_version_name: String,
6568
/// The app version code.
69+
#[serde(alias = "app_version_code")]
6670
pub app_version_code: String,
6771
/// The package name for the mobile application invoking the function
72+
#[serde(alias = "app_package_name")]
6873
pub app_package_name: String,
6974
}
7075

0 commit comments

Comments
 (0)