Commit a3a99d3
* refactor: Optimize shared API usage plan handling (#1973)
* fix: use instance variables for generating shared api usage plan
* add extra log statements
* fix: Added SAR Support Check (#1972)
* Added SAR Support Check
* Added docstring and Removed Instance Initialization for Class Method
* set log level explicitly
* update pyyaml version to get the security update (#1974)
* fix: use instance variables for generating shared api usage plan
* add extra log statements
* set log level explicitly
* black formatting
* black formatting
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>
* feat: Resource level attributes support (#2008)
* Fix for invalid MQ event source managed policy
* Fix for invalid managed policy for MQ, included support for new MQ event source property, updated test cases
* Black reformatting
* Test case changes
* Changed policy name
* Modified test cases with new policy name
* Added resource attributes and unit tests
* Resource attributes initial work
* Passthrough attributes for some resources, updated some tests
* Resolve merge conflicts
* Fixed a typo
* Modified implicit api plugin for resource attributes support
* Partial update of the tests
* Partially updated test cases, black reformatted
* Partially updated test templates
* Partially updated test templates
* Partially updated test templates
* Added event bridge support for passthrough resource attributes
* Partially updated test templates (up to function with amq kms)
* Partially updated test templates (up to sns)
* Partially updated test templates (all the ones left)
* Prevented passthrough resource attributes from changing layer version hashes
* Added test to verify resource passthrough precedence for implicit api
* Modified tests related to lambda layer to revert the hash changes, keeping the hash the same with resource attributes added
* fix: mutable default values in method definitions (#1997)
* fix: remove explicit logging level set in single module (#1998)
* run automated tests for resource level attribute support
* Skipping metadata in layer hashing
* Refactored the classes for TestTranslatorEndToEnd and TestResourceLevelAttributes to share the same parent class
* Added new translator tests for version and layer resources
* Added new unit tests
* Removed after transform resource plugin
* Black reformatting
* Refactoring implicit api plugin support for DeletionPolicy and UpdateReplacePolicy
* Refactoring to improve code quality
* Added simple documentation
* Black reformatting
* Added input template that was missing
* Refactoring: use sets instead of lists for implicit api plugin
* Changing import to be compatible with py2.7
* Changing test deployment hashes to their actual values
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
* chore: bump version to 1.36.0 (#2014)
* fix: Shared Usage Plan scenarios for Resource Level Attribute Support (#2040)
* do not propagate attributes to CognitoUserPool
* shared usage plan with propagated resource level attributes
* add unit tests
* Added test templates for shared usage plan with resource attributes
* Black reformatting
* Removing unused import
* fix python2 hashes
Co-authored-by: Qingchuan Ma <qingchm@amazon.com>
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>
1 parent c5d0ed2 commit a3a99d3
File tree
51 files changed
+6649
-1574
lines changed- samtranslator
- model
- api
- eventsources
- stepfunctions
- plugins/api
- sdk
- translator
- validator/sam_schema
- tests
- model
- plugins/api
- translator
- input
- output
- aws-cn
- aws-us-gov
- unit/model/api
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+6649
-1574
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
79 | 99 | | |
80 | 100 | | |
81 | 101 | | |
| |||
318 | 338 | | |
319 | 339 | | |
320 | 340 | | |
321 | | - | |
322 | | - | |
323 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
324 | 345 | | |
325 | 346 | | |
326 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
| 3 | + | |
2 | 4 | | |
3 | | - | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
60 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
61 | 154 | | |
62 | 155 | | |
63 | 156 | | |
| |||
69 | 162 | | |
70 | 163 | | |
71 | 164 | | |
| 165 | + | |
| 166 | + | |
72 | 167 | | |
73 | 168 | | |
74 | 169 | | |
| |||
134 | 229 | | |
135 | 230 | | |
136 | 231 | | |
| 232 | + | |
| 233 | + | |
137 | 234 | | |
138 | 235 | | |
139 | 236 | | |
| |||
617 | 714 | | |
618 | 715 | | |
619 | 716 | | |
620 | | - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
621 | 722 | | |
622 | 723 | | |
623 | 724 | | |
| |||
630 | 731 | | |
631 | 732 | | |
632 | 733 | | |
| 734 | + | |
633 | 735 | | |
634 | | - | |
635 | | - | |
| 736 | + | |
| 737 | + | |
636 | 738 | | |
637 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
638 | 744 | | |
639 | 745 | | |
640 | 746 | | |
641 | 747 | | |
642 | | - | |
643 | | - | |
644 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
645 | 751 | | |
646 | 752 | | |
647 | 753 | | |
| |||
667 | 773 | | |
668 | 774 | | |
669 | 775 | | |
| 776 | + | |
670 | 777 | | |
671 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
672 | 785 | | |
673 | 786 | | |
674 | 787 | | |
675 | 788 | | |
676 | | - | |
677 | | - | |
678 | | - | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
679 | 792 | | |
680 | 793 | | |
681 | 794 | | |
682 | 795 | | |
683 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
684 | 801 | | |
685 | 802 | | |
686 | 803 | | |
| |||
700 | 817 | | |
701 | 818 | | |
702 | 819 | | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
703 | 823 | | |
704 | 824 | | |
705 | 825 | | |
706 | 826 | | |
| 827 | + | |
707 | 828 | | |
708 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
709 | 834 | | |
710 | 835 | | |
711 | 836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | | - | |
51 | | - | |
52 | 54 | | |
53 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
| |||
0 commit comments