This repository was archived by the owner on Dec 18, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
aws_lambda_events_codegen/src Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// AWS Lambda event definitions for apigw.
1
2
pub mod apigw;
3
+ /// AWS Lambda event definitions for appsync.
2
4
pub mod appsync;
5
+ /// AWS Lambda event definitions for autoscaling.
3
6
pub mod autoscaling;
7
+ /// AWS Lambda event definitions for cloudwatch_events.
4
8
pub mod cloudwatch_events;
9
+ /// AWS Lambda event definitions for cloudwatch_logs.
5
10
pub mod cloudwatch_logs;
11
+ /// AWS Lambda event definitions for code_commit.
6
12
pub mod code_commit;
13
+ /// AWS Lambda event definitions for codepipeline_job.
7
14
pub mod codepipeline_job;
15
+ /// AWS Lambda event definitions for cognito.
8
16
pub mod cognito;
17
+ /// AWS Lambda event definitions for config.
9
18
pub mod config;
19
+ /// AWS Lambda event definitions for connect.
10
20
pub mod connect;
21
+ /// AWS Lambda event definitions for firehose.
11
22
pub mod firehose;
23
+ /// AWS Lambda event definitions for iot_button.
12
24
pub mod iot_button;
25
+ /// AWS Lambda event definitions for kinesis.
13
26
pub mod kinesis;
27
+ /// AWS Lambda event definitions for lex.
14
28
pub mod lex;
29
+ /// AWS Lambda event definitions for s3.
15
30
pub mod s3;
31
+ /// AWS Lambda event definitions for ses.
16
32
pub mod ses;
33
+ /// AWS Lambda event definitions for sns.
17
34
pub mod sns;
35
+ /// AWS Lambda event definitions for sqs.
18
36
pub mod sqs;
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ extern crate serde_json;
14
14
extern crate serde_json;
15
15
16
16
mod custom_serde;
17
+ /// Encodings used in AWS Lambda json event values.
17
18
pub mod encodings;
19
+ /// AWS Lambda event definitions.
18
20
pub mod event;
19
21
mod generated;
Original file line number Diff line number Diff line change @@ -77,6 +77,10 @@ fn write_mod_index(
77
77
if overwrite_warning ( & mod_path, overwrite) . is_none ( ) {
78
78
let mut mod_content: Vec < String > = Vec :: new ( ) ;
79
79
for parsed in parsed_files {
80
+ mod_content. push ( format ! (
81
+ "/// AWS Lambda event definitions for {}." ,
82
+ parsed. service_name
83
+ ) ) ;
80
84
mod_content. push ( format ! (
81
85
"pub mod {};" ,
82
86
parsed
You can’t perform that action at this time.
0 commit comments