@aws-solutions-constructs/aws-sqs-pipes-stepfunctions 2.95.1 → 2.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +4603 -269
- package/README.adoc +1 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -2
- package/package.json +8 -8
- package/test/integ.sqspstp-custom-log-level.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-custom-log-level.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-custom-log-level.js.snapshot/manifest.json +766 -5
- package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.assets.json +5 -4
- package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.template.json +1 -1
- package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.assets.json +3 -2
- package/test/integ.sqspstp-custom-log-level.js.snapshot/tree.json +1 -957
- package/test/integ.sqspstp-existing-queue.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-existing-queue.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-existing-queue.js.snapshot/manifest.json +766 -5
- package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.assets.json +5 -4
- package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.template.json +1 -1
- package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.assets.json +3 -2
- package/test/integ.sqspstp-existing-queue.js.snapshot/tree.json +1 -957
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/manifest.json +684 -5
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.assets.json +5 -4
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.template.json +1 -1
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstpexistingstatemachineIntegDefaultTestDeployAssertE03331F3.assets.json +3 -2
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/tree.json +1 -767
- package/test/integ.sqspstp-filter.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-filter.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-filter.js.snapshot/manifest.json +766 -5
- package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.assets.json +5 -4
- package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.template.json +1 -1
- package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.assets.json +3 -2
- package/test/integ.sqspstp-filter.js.snapshot/tree.json +1 -965
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/asset.947efcc93dea6b762c3fca8bf09476c9d8fd2490afbd3e08e668328245340cb8/index.js +22 -0
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/manifest.json +846 -5
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.assets.json +10 -8
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.template.json +3 -3
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets.json +3 -2
- package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/tree.json +1 -1127
- package/test/integ.sqspstp-logs-off.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-logs-off.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-logs-off.js.snapshot/manifest.json +757 -5
- package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.assets.json +5 -4
- package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.template.json +1 -1
- package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.assets.json +3 -2
- package/test/integ.sqspstp-logs-off.js.snapshot/tree.json +1 -902
- package/test/integ.sqspstp-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-no-arguments.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-no-arguments.js.snapshot/manifest.json +766 -5
- package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.assets.json +5 -4
- package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.template.json +1 -1
- package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.assets.json +3 -2
- package/test/integ.sqspstp-no-arguments.js.snapshot/tree.json +1 -957
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/manifest.json +766 -5
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.assets.json +5 -4
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.template.json +1 -1
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.assets.json +3 -2
- package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/tree.json +1 -961
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/cdk.out +1 -1
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/integ.json +3 -2
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/manifest.json +934 -5
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.assets.json +5 -4
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.template.json +2 -2
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.assets.json +3 -2
- package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/tree.json +1 -1252
- package/test/sqs-pipes-stepfunctions.test.js +2 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
5
|
+
* with the License. A copy of the License is located at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
10
|
+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
11
|
+
* and limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
exports.handler = async (event) => {
|
|
15
|
+
console.log(event);
|
|
16
|
+
const response = event.map((x) =>{
|
|
17
|
+
const body = JSON.parse(x.body);
|
|
18
|
+
body.newAttrib = "content";
|
|
19
|
+
return body;
|
|
20
|
+
});
|
|
21
|
+
return response;
|
|
22
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"48.0.0"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "48.0.0",
|
|
3
3
|
"testCases": {
|
|
4
4
|
"sqspstp-lambda-function-enrichment/Integ/DefaultTest": {
|
|
5
5
|
"stacks": [
|
|
@@ -8,5 +8,6 @@
|
|
|
8
8
|
"assertionStack": "sqspstp-lambda-function-enrichment/Integ/DefaultTest/DeployAssert",
|
|
9
9
|
"assertionStackName": "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125"
|
|
10
10
|
}
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
|
+
"minimumCliVersion": "2.1029.2"
|
|
12
13
|
}
|