@aws-solutions-constructs/aws-sqs-pipes-stepfunctions 2.95.1 → 2.96.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.
Files changed (68) hide show
  1. package/.jsii +4 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +5 -5
  4. package/test/integ.sqspstp-custom-log-level.js.snapshot/cdk.out +1 -1
  5. package/test/integ.sqspstp-custom-log-level.js.snapshot/integ.json +3 -2
  6. package/test/integ.sqspstp-custom-log-level.js.snapshot/manifest.json +766 -5
  7. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.assets.json +5 -4
  8. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.template.json +1 -1
  9. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.assets.json +3 -2
  10. package/test/integ.sqspstp-custom-log-level.js.snapshot/tree.json +1 -957
  11. package/test/integ.sqspstp-existing-queue.js.snapshot/cdk.out +1 -1
  12. package/test/integ.sqspstp-existing-queue.js.snapshot/integ.json +3 -2
  13. package/test/integ.sqspstp-existing-queue.js.snapshot/manifest.json +766 -5
  14. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.assets.json +5 -4
  15. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.template.json +1 -1
  16. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.assets.json +3 -2
  17. package/test/integ.sqspstp-existing-queue.js.snapshot/tree.json +1 -957
  18. package/test/integ.sqspstp-existing-state-machine.js.snapshot/cdk.out +1 -1
  19. package/test/integ.sqspstp-existing-state-machine.js.snapshot/integ.json +3 -2
  20. package/test/integ.sqspstp-existing-state-machine.js.snapshot/manifest.json +684 -5
  21. package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.assets.json +5 -4
  22. package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.template.json +1 -1
  23. package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstpexistingstatemachineIntegDefaultTestDeployAssertE03331F3.assets.json +3 -2
  24. package/test/integ.sqspstp-existing-state-machine.js.snapshot/tree.json +1 -767
  25. package/test/integ.sqspstp-filter.js.snapshot/cdk.out +1 -1
  26. package/test/integ.sqspstp-filter.js.snapshot/integ.json +3 -2
  27. package/test/integ.sqspstp-filter.js.snapshot/manifest.json +766 -5
  28. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.assets.json +5 -4
  29. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.template.json +1 -1
  30. package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.assets.json +3 -2
  31. package/test/integ.sqspstp-filter.js.snapshot/tree.json +1 -965
  32. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/asset.947efcc93dea6b762c3fca8bf09476c9d8fd2490afbd3e08e668328245340cb8/index.js +22 -0
  33. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/cdk.out +1 -1
  34. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/integ.json +3 -2
  35. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/manifest.json +846 -5
  36. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.assets.json +10 -8
  37. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.template.json +3 -3
  38. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets.json +3 -2
  39. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/tree.json +1 -1127
  40. package/test/integ.sqspstp-logs-off.js.snapshot/cdk.out +1 -1
  41. package/test/integ.sqspstp-logs-off.js.snapshot/integ.json +3 -2
  42. package/test/integ.sqspstp-logs-off.js.snapshot/manifest.json +757 -5
  43. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.assets.json +5 -4
  44. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.template.json +1 -1
  45. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.assets.json +3 -2
  46. package/test/integ.sqspstp-logs-off.js.snapshot/tree.json +1 -902
  47. package/test/integ.sqspstp-no-arguments.js.snapshot/cdk.out +1 -1
  48. package/test/integ.sqspstp-no-arguments.js.snapshot/integ.json +3 -2
  49. package/test/integ.sqspstp-no-arguments.js.snapshot/manifest.json +766 -5
  50. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.assets.json +5 -4
  51. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.template.json +1 -1
  52. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.assets.json +3 -2
  53. package/test/integ.sqspstp-no-arguments.js.snapshot/tree.json +1 -957
  54. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/cdk.out +1 -1
  55. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/integ.json +3 -2
  56. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/manifest.json +766 -5
  57. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.assets.json +5 -4
  58. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.template.json +1 -1
  59. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.assets.json +3 -2
  60. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/tree.json +1 -961
  61. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/cdk.out +1 -1
  62. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/integ.json +3 -2
  63. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/manifest.json +934 -5
  64. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.assets.json +5 -4
  65. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.template.json +2 -2
  66. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.assets.json +3 -2
  67. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/tree.json +1 -1252
  68. 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":"38.0.1"}
1
+ {"version":"48.0.0"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "38.0.1",
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
  }