File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,12 @@ use crate::{
78
78
request:: { LambdaRequest , RequestOrigin } ,
79
79
response:: LambdaResponse ,
80
80
} ;
81
+
82
+ #[ cfg( feature = "alb" ) ]
83
+ pub use aws_lambda_events:: alb;
84
+ #[ cfg( any( feature = "apigw_rest" , feature = "apigw_http" , feature = "apigw_websockets" ) ) ]
85
+ pub use aws_lambda_events:: apigw;
86
+
81
87
pub use aws_lambda_events:: encodings:: Body ;
82
88
use std:: {
83
89
future:: Future ,
Original file line number Diff line number Diff line change 1
1
//! Response types
2
2
3
3
use crate :: request:: RequestOrigin ;
4
- use aws_lambda_events:: encodings:: Body ;
5
4
#[ cfg( feature = "alb" ) ]
6
- use aws_lambda_events:: event :: alb:: AlbTargetGroupResponse ;
5
+ use aws_lambda_events:: alb:: AlbTargetGroupResponse ;
7
6
#[ cfg( any( feature = "apigw_rest" , feature = "apigw_websockets" ) ) ]
8
- use aws_lambda_events:: event :: apigw:: ApiGatewayProxyResponse ;
7
+ use aws_lambda_events:: apigw:: ApiGatewayProxyResponse ;
9
8
#[ cfg( feature = "apigw_http" ) ]
10
- use aws_lambda_events:: event:: apigw:: ApiGatewayV2httpResponse ;
9
+ use aws_lambda_events:: apigw:: ApiGatewayV2httpResponse ;
10
+ use aws_lambda_events:: encodings:: Body ;
11
11
use encoding_rs:: Encoding ;
12
12
use http:: header:: CONTENT_ENCODING ;
13
13
use http:: HeaderMap ;
You can’t perform that action at this time.
0 commit comments