File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,12 @@ use crate::{
7878 request:: { LambdaRequest , RequestOrigin } ,
7979 response:: LambdaResponse ,
8080} ;
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+
8187pub use aws_lambda_events:: encodings:: Body ;
8288use std:: {
8389 future:: Future ,
Original file line number Diff line number Diff line change 11//! Response types
22
33use crate :: request:: RequestOrigin ;
4- use aws_lambda_events:: encodings:: Body ;
54#[ cfg( feature = "alb" ) ]
6- use aws_lambda_events:: event :: alb:: AlbTargetGroupResponse ;
5+ use aws_lambda_events:: alb:: AlbTargetGroupResponse ;
76#[ cfg( any( feature = "apigw_rest" , feature = "apigw_websockets" ) ) ]
8- use aws_lambda_events:: event :: apigw:: ApiGatewayProxyResponse ;
7+ use aws_lambda_events:: apigw:: ApiGatewayProxyResponse ;
98#[ 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 ;
1111use encoding_rs:: Encoding ;
1212use http:: header:: CONTENT_ENCODING ;
1313use http:: HeaderMap ;
You can’t perform that action at this time.
0 commit comments