Skip to content

Commit 3c53476

Browse files
authored
Remove unused types. (#736)
These types are not used anywhere. Signed-off-by: David Calavera <[email protected]>
1 parent b7df6fc commit 3c53476

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

lambda-runtime/src/types.rs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,6 @@ pub(crate) struct Diagnostic<'a> {
1919
pub(crate) error_message: &'a str,
2020
}
2121

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-
5022
/// Client context sent by the AWS Mobile SDK.
5123
#[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)]
5224
pub struct ClientContext {

0 commit comments

Comments
 (0)