@@ -19,34 +19,6 @@ pub(crate) struct Diagnostic<'a> {
19
19
pub ( crate ) error_message : & ' a str ,
20
20
}
21
21
22
- /// The request ID, which identifies the request that triggered the function invocation. This header
23
- /// tracks the invocation within the Lambda control plane. The request ID is used to specify completion
24
- /// of a given invocation.
25
- #[ derive( Debug , Clone , Eq , PartialEq ) ]
26
- pub struct RequestId ( pub String ) ;
27
-
28
- /// The date that the function times out in Unix time milliseconds. For example, `1542409706888`.
29
- #[ derive( Debug , Clone , Eq , PartialEq ) ]
30
- pub struct InvocationDeadline ( pub u64 ) ;
31
-
32
- /// The ARN of the Lambda function, version, or alias that is specified in the invocation.
33
- /// For instance, `arn:aws:lambda:us-east-2:123456789012:function:custom-runtime`.
34
- #[ derive( Debug , Clone , Eq , PartialEq ) ]
35
- pub struct FunctionArn ( pub String ) ;
36
-
37
- /// The AWS X-Ray Tracing header. For more information,
38
- /// please see [AWS' documentation](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader).
39
- #[ derive( Debug , Clone , Eq , PartialEq ) ]
40
- pub struct XRayTraceId ( pub String ) ;
41
-
42
- /// For invocations from the AWS Mobile SDK contains data about client application and device.
43
- #[ derive( Debug , Clone , Eq , PartialEq ) ]
44
- struct MobileClientContext ( String ) ;
45
-
46
- /// For invocations from the AWS Mobile SDK, data about the Amazon Cognito identity provider.
47
- #[ derive( Debug , Clone , Eq , PartialEq ) ]
48
- struct MobileClientIdentity ( String ) ;
49
-
50
22
/// Client context sent by the AWS Mobile SDK.
51
23
#[ derive( Serialize , Deserialize , Clone , Debug , Eq , PartialEq ) ]
52
24
pub struct ClientContext {
0 commit comments