Skip to content

Commit d498860

Browse files
committed
Merge pull request #8 from irlrobot/amzn
AMZN License
2 parents 245bc46 + 730f632 commit d498860

8 files changed

Lines changed: 57 additions & 4 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ file or class name and description of purpose be included on the
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2016 Josh Campbell
189+
Copyright 2016 Amazon.com, Inc. or its affiliates.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

NOTICE.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
aws_lambda_sample_events
2+
Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python module for creating sample events to test AWS Lambda functions.
1+
# A Python module for creating sample events to test AWS Lambda functions.
22
This small module is meant to help test Python based [AWS Lambda](https://aws.amazon.com/lambda/) functions that get triggered by other AWS services (ex: CodePipeline action). The module will generate an "event" that appears to come from a specified service which can be used to simulate an actual invocation of the function.
33

44
# Installation
@@ -27,3 +27,14 @@ pprint(codepipeline.event)
2727
* cloudwatch_logs
2828
* cloudwatch_events
2929
* config_rule
30+
31+
# License
32+
Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33+
34+
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at
35+
36+
http://aws.amazon.com/apache2.0/
37+
38+
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
39+
40+
Note: Other license terms may apply to certain, identified software files contained within or distributed with the accompanying software if such terms are included in the directory containing the accompanying software. Such other license terms will then apply in lieu of the terms of the software license above.

aws_lambda_sample_events/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
4+
# except in compliance with the License. A copy of the License is located at
5+
#
6+
# http://aws.amazon.com/apache2.0/
7+
#
8+
# or in the "license" file accompanying this file. This file is distributed on an "AS IS"
9+
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations under the License.
111
"""
212
Python module for creating sample events to test AWS Lambda functions.
313
"""

aws_lambda_sample_events/sample_event.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
4+
# except in compliance with the License. A copy of the License is located at
5+
#
6+
# http://aws.amazon.com/apache2.0/
7+
#
8+
# or in the "license" file accompanying this file. This file is distributed on an "AS IS"
9+
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations under the License.
111
"""
212
The module will generate an "event" that appears to come from a specified
313
service which can be used to simulate an actual invocation of a Lambda function.

aws_lambda_sample_events/unknown_service_error.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
4+
# except in compliance with the License. A copy of the License is located at
5+
#
6+
# http://aws.amazon.com/apache2.0/
7+
#
8+
# or in the "license" file accompanying this file. This file is distributed on an "AS IS"
9+
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations under the License.
111
"""
212
UnknownServiceError exception for when an invalid service name is used
313
"""

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
long_description='See README.md in source.',
77
url='https://github.com/irlrobot/aws_lambda_sample_events_python',
88
author='Josh Campbell',
9-
author_email='josh@userdel.com',
9+
author_email='joshcb@amazon.com',
1010
maintainer='Josh Campbell',
11-
maintainer_email='josh@userdel.com',
11+
maintainer_email='joshcb@amazon.com',
1212
license='Apache 2.0',
1313
keywords=["aws", "lambda"],
1414
packages=['aws_lambda_sample_events'],

tests/sample_event_test.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
4+
# except in compliance with the License. A copy of the License is located at
5+
#
6+
# http://aws.amazon.com/apache2.0/
7+
#
8+
# or in the "license" file accompanying this file. This file is distributed on an "AS IS"
9+
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations under the License.
111
"""
212
Unit Tests for SampleEvent class
313
"""

0 commit comments

Comments
 (0)