Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Replacement of SNS generated with native entity #76

Merged
merged 9 commits into from
Mar 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ Cargo.lock

.idea
*.iml

# Prevent MacOS ds_store files
**/.DS_Store
6 changes: 3 additions & 3 deletions aws_lambda_events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ pretty_assertions = "0.7"
# The `generated` features reference features generated by the codegen script.
[features]
default = ["generated", "static"]
static = ["alb", "apigw", "cloudwatch_events", "dynamodb"]
static = ["alb", "apigw", "cloudwatch_events", "dynamodb", "sns"]
alb = []
apigw = []
cloudwatch_events = []
dynamodb = []
sns = []

activemq = []
appsync = []
Expand Down Expand Up @@ -70,7 +71,6 @@ rabbitmq = []
s3 = []
s3_batch_job = []
ses = []
sns = []
sqs = []
streams = []
generated = ["activemq", "appsync", "autoscaling", "chime_bot", "clientvpn", "cloudwatch_logs", "code_commit", "codebuild", "codedeploy", "codepipeline_cloudwatch", "codepipeline_job", "cognito", "config", "connect", "ecr_scan", "firehose", "iot", "iot_1_click", "iot_button", "kafka", "kinesis", "kinesis_analytics", "lex", "rabbitmq", "s3", "s3_batch_job", "ses", "sns", "sqs", "streams"]
generated = ["activemq", "appsync", "autoscaling", "chime_bot", "clientvpn", "cloudwatch_logs", "code_commit", "codebuild", "codedeploy", "codepipeline_cloudwatch", "codepipeline_job", "cognito", "config", "connect", "ecr_scan", "firehose", "iot", "iot_1_click", "iot_button", "kafka", "kinesis", "kinesis_analytics", "lex", "rabbitmq", "s3", "s3_batch_job", "ses", "sqs", "streams"]
4 changes: 4 additions & 0 deletions aws_lambda_events/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ pub use super::cloudwatch_events;
/// AWS Lambda event definitions for dynamodb.
#[cfg(feature = "dynamodb")]
pub use super::dynamodb;

/// AWS Lambda event definitions for SNS.
#[cfg(feature = "sns")]
pub use super::sns;
3 changes: 0 additions & 3 deletions aws_lambda_events/src/generated/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ pub mod s3_batch_job;
/// AWS Lambda event definitions for ses.
#[cfg(feature = "ses")]
pub mod ses;
/// AWS Lambda event definitions for sns.
#[cfg(feature = "sns")]
pub mod sns;
/// AWS Lambda event definitions for sqs.
#[cfg(feature = "sqs")]
pub mod sqs;
Expand Down
262 changes: 0 additions & 262 deletions aws_lambda_events/src/generated/sns.rs

This file was deleted.

4 changes: 4 additions & 0 deletions aws_lambda_events/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ pub mod cloudwatch_events;
#[cfg(feature = "dynamodb")]
pub mod dynamodb;

/// AWS Lambda event definitions for SNS.
#[cfg(feature = "sns")]
pub mod sns;

mod custom_serde;
/// Encodings used in AWS Lambda json event values.
pub mod encodings;
Expand Down
Loading