@jjrawlins/cdk-diff-pr-github-action 0.0.44 → 0.0.45
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 +3 -3
- package/lib/CdkDiffIamTemplate.js +1 -1
- package/lib/CdkDiffStackWorkflow.js +1 -1
- package/lib/CdkDriftDetectionWorkflow.js +1 -1
- package/lib/CdkDriftIamTemplate.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -96
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1857 -2253
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +1504 -1900
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/index.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForChangeSetCreateComplete.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackCreateComplete.js +74 -74
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackDeleteComplete.js +34 -34
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackImportComplete.js +26 -26
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorCreateComplete.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorExecuteComplete.js +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRollbackComplete.js +18 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackUpdateComplete.js +18 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForTypeRegistrationComplete.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/README.md +1 -9
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +27 -20
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +69 -77
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +27 -20
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +4 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +75 -83
- package/node_modules/@aws-sdk/client-sso/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-login/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from "./waitForChangeSetCreateComplete";
|
|
2
|
+
export * from "./waitForStackRefactorCreateComplete";
|
|
3
|
+
export * from "./waitForStackRefactorExecuteComplete";
|
|
2
4
|
export * from "./waitForStackCreateComplete";
|
|
3
5
|
export * from "./waitForStackDeleteComplete";
|
|
4
6
|
export * from "./waitForStackExists";
|
|
5
7
|
export * from "./waitForStackImportComplete";
|
|
6
|
-
export * from "./waitForStackRefactorCreateComplete";
|
|
7
|
-
export * from "./waitForStackRefactorExecuteComplete";
|
|
8
8
|
export * from "./waitForStackRollbackComplete";
|
|
9
9
|
export * from "./waitForStackUpdateComplete";
|
|
10
10
|
export * from "./waitForTypeRegistrationComplete";
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeChangeSetCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CREATE_COMPLETE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackCreateComplete.js
CHANGED
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeStacksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.StackStatus;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "CREATE_COMPLETE";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "CREATE_COMPLETE");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,16 +23,16 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.StackStatus;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
34
|
-
for (
|
|
35
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_COMPLETE";
|
|
33
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
34
|
+
for (let element_4 of returnComparator()) {
|
|
35
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_COMPLETE");
|
|
36
36
|
}
|
|
37
37
|
if (allStringEq_5) {
|
|
38
38
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -40,16 +40,16 @@ const checkState = async (client, input) => {
|
|
|
40
40
|
}
|
|
41
41
|
catch (e) { }
|
|
42
42
|
try {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
let returnComparator = () => {
|
|
44
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
45
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
46
46
|
return element_2.StackStatus;
|
|
47
47
|
});
|
|
48
48
|
return projection_3;
|
|
49
49
|
};
|
|
50
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
51
|
-
for (
|
|
52
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_IN_PROGRESS";
|
|
50
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
51
|
+
for (let element_4 of returnComparator()) {
|
|
52
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_IN_PROGRESS");
|
|
53
53
|
}
|
|
54
54
|
if (allStringEq_5) {
|
|
55
55
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -57,16 +57,16 @@ const checkState = async (client, input) => {
|
|
|
57
57
|
}
|
|
58
58
|
catch (e) { }
|
|
59
59
|
try {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
let returnComparator = () => {
|
|
61
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
62
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
63
63
|
return element_2.StackStatus;
|
|
64
64
|
});
|
|
65
65
|
return projection_3;
|
|
66
66
|
};
|
|
67
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
68
|
-
for (
|
|
69
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS";
|
|
67
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
68
|
+
for (let element_4 of returnComparator()) {
|
|
69
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS");
|
|
70
70
|
}
|
|
71
71
|
if (allStringEq_5) {
|
|
72
72
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -74,16 +74,16 @@ const checkState = async (client, input) => {
|
|
|
74
74
|
}
|
|
75
75
|
catch (e) { }
|
|
76
76
|
try {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
let returnComparator = () => {
|
|
78
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
79
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
80
80
|
return element_2.StackStatus;
|
|
81
81
|
});
|
|
82
82
|
return projection_3;
|
|
83
83
|
};
|
|
84
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
85
|
-
for (
|
|
86
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_FAILED";
|
|
84
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
85
|
+
for (let element_4 of returnComparator()) {
|
|
86
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_FAILED");
|
|
87
87
|
}
|
|
88
88
|
if (allStringEq_5) {
|
|
89
89
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -91,16 +91,16 @@ const checkState = async (client, input) => {
|
|
|
91
91
|
}
|
|
92
92
|
catch (e) { }
|
|
93
93
|
try {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
let returnComparator = () => {
|
|
95
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
96
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
97
97
|
return element_2.StackStatus;
|
|
98
98
|
});
|
|
99
99
|
return projection_3;
|
|
100
100
|
};
|
|
101
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
102
|
-
for (
|
|
103
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_ROLLBACK_IN_PROGRESS";
|
|
101
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
102
|
+
for (let element_4 of returnComparator()) {
|
|
103
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_ROLLBACK_IN_PROGRESS");
|
|
104
104
|
}
|
|
105
105
|
if (allStringEq_5) {
|
|
106
106
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -108,16 +108,16 @@ const checkState = async (client, input) => {
|
|
|
108
108
|
}
|
|
109
109
|
catch (e) { }
|
|
110
110
|
try {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
let returnComparator = () => {
|
|
112
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
113
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
114
114
|
return element_2.StackStatus;
|
|
115
115
|
});
|
|
116
116
|
return projection_3;
|
|
117
117
|
};
|
|
118
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
119
|
-
for (
|
|
120
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_ROLLBACK_FAILED";
|
|
118
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
119
|
+
for (let element_4 of returnComparator()) {
|
|
120
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_ROLLBACK_FAILED");
|
|
121
121
|
}
|
|
122
122
|
if (allStringEq_5) {
|
|
123
123
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -125,16 +125,16 @@ const checkState = async (client, input) => {
|
|
|
125
125
|
}
|
|
126
126
|
catch (e) { }
|
|
127
127
|
try {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
let returnComparator = () => {
|
|
129
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
130
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
131
131
|
return element_2.StackStatus;
|
|
132
132
|
});
|
|
133
133
|
return projection_3;
|
|
134
134
|
};
|
|
135
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
136
|
-
for (
|
|
137
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS";
|
|
135
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
136
|
+
for (let element_4 of returnComparator()) {
|
|
137
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS");
|
|
138
138
|
}
|
|
139
139
|
if (allStringEq_5) {
|
|
140
140
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -142,16 +142,16 @@ const checkState = async (client, input) => {
|
|
|
142
142
|
}
|
|
143
143
|
catch (e) { }
|
|
144
144
|
try {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
let returnComparator = () => {
|
|
146
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
147
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
148
148
|
return element_2.StackStatus;
|
|
149
149
|
});
|
|
150
150
|
return projection_3;
|
|
151
151
|
};
|
|
152
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
153
|
-
for (
|
|
154
|
-
allStringEq_5 = allStringEq_5 && element_4 == "UPDATE_ROLLBACK_COMPLETE";
|
|
152
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
153
|
+
for (let element_4 of returnComparator()) {
|
|
154
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "UPDATE_ROLLBACK_COMPLETE");
|
|
155
155
|
}
|
|
156
156
|
if (allStringEq_5) {
|
|
157
157
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -159,14 +159,14 @@ const checkState = async (client, input) => {
|
|
|
159
159
|
}
|
|
160
160
|
catch (e) { }
|
|
161
161
|
try {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
let returnComparator = () => {
|
|
163
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
164
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
165
165
|
return element_2.StackStatus;
|
|
166
166
|
});
|
|
167
167
|
return projection_3;
|
|
168
168
|
};
|
|
169
|
-
for (
|
|
169
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
170
170
|
if (anyStringEq_4 == "CREATE_FAILED") {
|
|
171
171
|
return { state: WaiterState.FAILURE, reason };
|
|
172
172
|
}
|
|
@@ -174,14 +174,14 @@ const checkState = async (client, input) => {
|
|
|
174
174
|
}
|
|
175
175
|
catch (e) { }
|
|
176
176
|
try {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
let returnComparator = () => {
|
|
178
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
179
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
180
180
|
return element_2.StackStatus;
|
|
181
181
|
});
|
|
182
182
|
return projection_3;
|
|
183
183
|
};
|
|
184
|
-
for (
|
|
184
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
185
185
|
if (anyStringEq_4 == "DELETE_COMPLETE") {
|
|
186
186
|
return { state: WaiterState.FAILURE, reason };
|
|
187
187
|
}
|
|
@@ -189,14 +189,14 @@ const checkState = async (client, input) => {
|
|
|
189
189
|
}
|
|
190
190
|
catch (e) { }
|
|
191
191
|
try {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
let returnComparator = () => {
|
|
193
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
194
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
195
195
|
return element_2.StackStatus;
|
|
196
196
|
});
|
|
197
197
|
return projection_3;
|
|
198
198
|
};
|
|
199
|
-
for (
|
|
199
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
200
200
|
if (anyStringEq_4 == "DELETE_FAILED") {
|
|
201
201
|
return { state: WaiterState.FAILURE, reason };
|
|
202
202
|
}
|
|
@@ -204,14 +204,14 @@ const checkState = async (client, input) => {
|
|
|
204
204
|
}
|
|
205
205
|
catch (e) { }
|
|
206
206
|
try {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
let returnComparator = () => {
|
|
208
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
209
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
210
210
|
return element_2.StackStatus;
|
|
211
211
|
});
|
|
212
212
|
return projection_3;
|
|
213
213
|
};
|
|
214
|
-
for (
|
|
214
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
215
215
|
if (anyStringEq_4 == "ROLLBACK_FAILED") {
|
|
216
216
|
return { state: WaiterState.FAILURE, reason };
|
|
217
217
|
}
|
|
@@ -219,14 +219,14 @@ const checkState = async (client, input) => {
|
|
|
219
219
|
}
|
|
220
220
|
catch (e) { }
|
|
221
221
|
try {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
let returnComparator = () => {
|
|
223
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
224
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
225
225
|
return element_2.StackStatus;
|
|
226
226
|
});
|
|
227
227
|
return projection_3;
|
|
228
228
|
};
|
|
229
|
-
for (
|
|
229
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
230
230
|
if (anyStringEq_4 == "ROLLBACK_COMPLETE") {
|
|
231
231
|
return { state: WaiterState.FAILURE, reason };
|
|
232
232
|
}
|
package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackDeleteComplete.js
CHANGED
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeStacksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.StackStatus;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "DELETE_COMPLETE";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "DELETE_COMPLETE");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.StackStatus;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
for (
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
34
|
if (anyStringEq_4 == "DELETE_FAILED") {
|
|
35
35
|
return { state: WaiterState.FAILURE, reason };
|
|
36
36
|
}
|
|
@@ -38,14 +38,14 @@ const checkState = async (client, input) => {
|
|
|
38
38
|
}
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
let returnComparator = () => {
|
|
42
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
43
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.StackStatus;
|
|
45
45
|
});
|
|
46
46
|
return projection_3;
|
|
47
47
|
};
|
|
48
|
-
for (
|
|
48
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
49
49
|
if (anyStringEq_4 == "CREATE_FAILED") {
|
|
50
50
|
return { state: WaiterState.FAILURE, reason };
|
|
51
51
|
}
|
|
@@ -53,14 +53,14 @@ const checkState = async (client, input) => {
|
|
|
53
53
|
}
|
|
54
54
|
catch (e) { }
|
|
55
55
|
try {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
let returnComparator = () => {
|
|
57
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
58
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
59
59
|
return element_2.StackStatus;
|
|
60
60
|
});
|
|
61
61
|
return projection_3;
|
|
62
62
|
};
|
|
63
|
-
for (
|
|
63
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
64
64
|
if (anyStringEq_4 == "ROLLBACK_FAILED") {
|
|
65
65
|
return { state: WaiterState.FAILURE, reason };
|
|
66
66
|
}
|
|
@@ -68,14 +68,14 @@ const checkState = async (client, input) => {
|
|
|
68
68
|
}
|
|
69
69
|
catch (e) { }
|
|
70
70
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
let returnComparator = () => {
|
|
72
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
73
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
74
74
|
return element_2.StackStatus;
|
|
75
75
|
});
|
|
76
76
|
return projection_3;
|
|
77
77
|
};
|
|
78
|
-
for (
|
|
78
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
79
79
|
if (anyStringEq_4 == "UPDATE_ROLLBACK_IN_PROGRESS") {
|
|
80
80
|
return { state: WaiterState.FAILURE, reason };
|
|
81
81
|
}
|
|
@@ -83,14 +83,14 @@ const checkState = async (client, input) => {
|
|
|
83
83
|
}
|
|
84
84
|
catch (e) { }
|
|
85
85
|
try {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
let returnComparator = () => {
|
|
87
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
88
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
89
89
|
return element_2.StackStatus;
|
|
90
90
|
});
|
|
91
91
|
return projection_3;
|
|
92
92
|
};
|
|
93
|
-
for (
|
|
93
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
94
94
|
if (anyStringEq_4 == "UPDATE_ROLLBACK_FAILED") {
|
|
95
95
|
return { state: WaiterState.FAILURE, reason };
|
|
96
96
|
}
|
|
@@ -98,14 +98,14 @@ const checkState = async (client, input) => {
|
|
|
98
98
|
}
|
|
99
99
|
catch (e) { }
|
|
100
100
|
try {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
let returnComparator = () => {
|
|
102
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
103
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
104
104
|
return element_2.StackStatus;
|
|
105
105
|
});
|
|
106
106
|
return projection_3;
|
|
107
107
|
};
|
|
108
|
-
for (
|
|
108
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
109
109
|
if (anyStringEq_4 == "UPDATE_ROLLBACK_COMPLETE") {
|
|
110
110
|
return { state: WaiterState.FAILURE, reason };
|
|
111
111
|
}
|
|
@@ -113,14 +113,14 @@ const checkState = async (client, input) => {
|
|
|
113
113
|
}
|
|
114
114
|
catch (e) { }
|
|
115
115
|
try {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
let returnComparator = () => {
|
|
117
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
118
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
119
119
|
return element_2.StackStatus;
|
|
120
120
|
});
|
|
121
121
|
return projection_3;
|
|
122
122
|
};
|
|
123
|
-
for (
|
|
123
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
124
124
|
if (anyStringEq_4 == "UPDATE_COMPLETE") {
|
|
125
125
|
return { state: WaiterState.FAILURE, reason };
|
|
126
126
|
}
|
package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackImportComplete.js
CHANGED
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeStacksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.StackStatus;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "IMPORT_COMPLETE";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "IMPORT_COMPLETE");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.StackStatus;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
for (
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
34
|
if (anyStringEq_4 == "ROLLBACK_COMPLETE") {
|
|
35
35
|
return { state: WaiterState.FAILURE, reason };
|
|
36
36
|
}
|
|
@@ -38,14 +38,14 @@ const checkState = async (client, input) => {
|
|
|
38
38
|
}
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
let returnComparator = () => {
|
|
42
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
43
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.StackStatus;
|
|
45
45
|
});
|
|
46
46
|
return projection_3;
|
|
47
47
|
};
|
|
48
|
-
for (
|
|
48
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
49
49
|
if (anyStringEq_4 == "ROLLBACK_FAILED") {
|
|
50
50
|
return { state: WaiterState.FAILURE, reason };
|
|
51
51
|
}
|
|
@@ -53,14 +53,14 @@ const checkState = async (client, input) => {
|
|
|
53
53
|
}
|
|
54
54
|
catch (e) { }
|
|
55
55
|
try {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
let returnComparator = () => {
|
|
57
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
58
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
59
59
|
return element_2.StackStatus;
|
|
60
60
|
});
|
|
61
61
|
return projection_3;
|
|
62
62
|
};
|
|
63
|
-
for (
|
|
63
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
64
64
|
if (anyStringEq_4 == "IMPORT_ROLLBACK_IN_PROGRESS") {
|
|
65
65
|
return { state: WaiterState.FAILURE, reason };
|
|
66
66
|
}
|
|
@@ -68,14 +68,14 @@ const checkState = async (client, input) => {
|
|
|
68
68
|
}
|
|
69
69
|
catch (e) { }
|
|
70
70
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
let returnComparator = () => {
|
|
72
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
73
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
74
74
|
return element_2.StackStatus;
|
|
75
75
|
});
|
|
76
76
|
return projection_3;
|
|
77
77
|
};
|
|
78
|
-
for (
|
|
78
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
79
79
|
if (anyStringEq_4 == "IMPORT_ROLLBACK_FAILED") {
|
|
80
80
|
return { state: WaiterState.FAILURE, reason };
|
|
81
81
|
}
|
|
@@ -83,14 +83,14 @@ const checkState = async (client, input) => {
|
|
|
83
83
|
}
|
|
84
84
|
catch (e) { }
|
|
85
85
|
try {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
let returnComparator = () => {
|
|
87
|
+
let flat_1 = [].concat(...result.Stacks);
|
|
88
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
89
89
|
return element_2.StackStatus;
|
|
90
90
|
});
|
|
91
91
|
return projection_3;
|
|
92
92
|
};
|
|
93
|
-
for (
|
|
93
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
94
94
|
if (anyStringEq_4 == "IMPORT_ROLLBACK_COMPLETE") {
|
|
95
95
|
return { state: WaiterState.FAILURE, reason };
|
|
96
96
|
}
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeStackRefactorCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CREATE_COMPLETE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeStackRefactorCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.ExecutionStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "EXECUTE_COMPLETE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.ExecutionStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "EXECUTE_FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.ExecutionStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "ROLLBACK_COMPLETE") {
|