@aws-sdk/client-resiliencehub 3.474.0 → 3.477.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/dist-cjs/protocols/Aws_restJson1.js +267 -641
- package/dist-es/protocols/Aws_restJson1.js +268 -642
- package/package.json +5 -4
|
@@ -3,61 +3,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_UpdateAppCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartAppAssessmentCommand = exports.se_ResolveAppVersionResourcesCommand = exports.se_RemoveDraftAppVersionResourceMappingsCommand = exports.se_PutDraftAppVersionTemplateCommand = exports.se_PublishAppVersionCommand = exports.se_ListUnsupportedAppVersionResourcesCommand = exports.se_ListTestRecommendationsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSuggestedResiliencyPoliciesCommand = exports.se_ListSopRecommendationsCommand = exports.se_ListResiliencyPoliciesCommand = exports.se_ListRecommendationTemplatesCommand = exports.se_ListAppVersionsCommand = exports.se_ListAppVersionResourcesCommand = exports.se_ListAppVersionResourceMappingsCommand = exports.se_ListAppVersionAppComponentsCommand = exports.se_ListAppsCommand = exports.se_ListAppInputSourcesCommand = exports.se_ListAppComponentRecommendationsCommand = exports.se_ListAppComponentCompliancesCommand = exports.se_ListAppAssessmentsCommand = exports.se_ListAppAssessmentComplianceDriftsCommand = exports.se_ListAlarmRecommendationsCommand = exports.se_ImportResourcesToDraftAppVersionCommand = exports.se_DescribeResiliencyPolicyCommand = exports.se_DescribeDraftAppVersionResourcesImportStatusCommand = exports.se_DescribeAppVersionTemplateCommand = exports.se_DescribeAppVersionResourcesResolutionStatusCommand = exports.se_DescribeAppVersionResourceCommand = exports.se_DescribeAppVersionAppComponentCommand = exports.se_DescribeAppVersionCommand = exports.se_DescribeAppAssessmentCommand = exports.se_DescribeAppCommand = exports.se_DeleteResiliencyPolicyCommand = exports.se_DeleteRecommendationTemplateCommand = exports.se_DeleteAppVersionResourceCommand = exports.se_DeleteAppVersionAppComponentCommand = exports.se_DeleteAppInputSourceCommand = exports.se_DeleteAppAssessmentCommand = exports.se_DeleteAppCommand = exports.se_CreateResiliencyPolicyCommand = exports.se_CreateRecommendationTemplateCommand = exports.se_CreateAppVersionResourceCommand = exports.se_CreateAppVersionAppComponentCommand = exports.se_CreateAppCommand = exports.se_BatchUpdateRecommendationStatusCommand = exports.se_AddDraftAppVersionResourceMappingsCommand = void 0;
|
|
4
4
|
exports.de_ResolveAppVersionResourcesCommand = exports.de_RemoveDraftAppVersionResourceMappingsCommand = exports.de_PutDraftAppVersionTemplateCommand = exports.de_PublishAppVersionCommand = exports.de_ListUnsupportedAppVersionResourcesCommand = exports.de_ListTestRecommendationsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSuggestedResiliencyPoliciesCommand = exports.de_ListSopRecommendationsCommand = exports.de_ListResiliencyPoliciesCommand = exports.de_ListRecommendationTemplatesCommand = exports.de_ListAppVersionsCommand = exports.de_ListAppVersionResourcesCommand = exports.de_ListAppVersionResourceMappingsCommand = exports.de_ListAppVersionAppComponentsCommand = exports.de_ListAppsCommand = exports.de_ListAppInputSourcesCommand = exports.de_ListAppComponentRecommendationsCommand = exports.de_ListAppComponentCompliancesCommand = exports.de_ListAppAssessmentsCommand = exports.de_ListAppAssessmentComplianceDriftsCommand = exports.de_ListAlarmRecommendationsCommand = exports.de_ImportResourcesToDraftAppVersionCommand = exports.de_DescribeResiliencyPolicyCommand = exports.de_DescribeDraftAppVersionResourcesImportStatusCommand = exports.de_DescribeAppVersionTemplateCommand = exports.de_DescribeAppVersionResourcesResolutionStatusCommand = exports.de_DescribeAppVersionResourceCommand = exports.de_DescribeAppVersionAppComponentCommand = exports.de_DescribeAppVersionCommand = exports.de_DescribeAppAssessmentCommand = exports.de_DescribeAppCommand = exports.de_DeleteResiliencyPolicyCommand = exports.de_DeleteRecommendationTemplateCommand = exports.de_DeleteAppVersionResourceCommand = exports.de_DeleteAppVersionAppComponentCommand = exports.de_DeleteAppInputSourceCommand = exports.de_DeleteAppAssessmentCommand = exports.de_DeleteAppCommand = exports.de_CreateResiliencyPolicyCommand = exports.de_CreateRecommendationTemplateCommand = exports.de_CreateAppVersionResourceCommand = exports.de_CreateAppVersionAppComponentCommand = exports.de_CreateAppCommand = exports.de_BatchUpdateRecommendationStatusCommand = exports.de_AddDraftAppVersionResourceMappingsCommand = exports.se_UpdateResiliencyPolicyCommand = exports.se_UpdateAppVersionResourceCommand = exports.se_UpdateAppVersionAppComponentCommand = exports.se_UpdateAppVersionCommand = void 0;
|
|
5
5
|
exports.de_UpdateResiliencyPolicyCommand = exports.de_UpdateAppVersionResourceCommand = exports.de_UpdateAppVersionAppComponentCommand = exports.de_UpdateAppVersionCommand = exports.de_UpdateAppCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartAppAssessmentCommand = void 0;
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const ResiliencehubServiceException_1 = require("../models/ResiliencehubServiceException");
|
|
11
11
|
const se_AddDraftAppVersionResourceMappingsCommand = async (input, context) => {
|
|
12
|
-
const
|
|
12
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
13
13
|
const headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
b.bp("/add-draft-app-version-resource-mappings");
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
19
|
appArn: [],
|
|
20
20
|
resourceMappings: (_) => (0, smithy_client_1._json)(_),
|
|
21
21
|
}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hostname,
|
|
25
|
-
port,
|
|
26
|
-
method: "POST",
|
|
27
|
-
headers,
|
|
28
|
-
path: resolvedPath,
|
|
29
|
-
body,
|
|
30
|
-
});
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
31
24
|
};
|
|
32
25
|
exports.se_AddDraftAppVersionResourceMappingsCommand = se_AddDraftAppVersionResourceMappingsCommand;
|
|
33
26
|
const se_BatchUpdateRecommendationStatusCommand = async (input, context) => {
|
|
34
|
-
const
|
|
27
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
35
28
|
const headers = {
|
|
36
29
|
"content-type": "application/json",
|
|
37
30
|
};
|
|
38
|
-
|
|
31
|
+
b.bp("/batch-update-recommendation-status");
|
|
39
32
|
let body;
|
|
40
33
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
41
34
|
appArn: [],
|
|
42
35
|
requestEntries: (_) => (0, smithy_client_1._json)(_),
|
|
43
36
|
}));
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
hostname,
|
|
47
|
-
port,
|
|
48
|
-
method: "POST",
|
|
49
|
-
headers,
|
|
50
|
-
path: resolvedPath,
|
|
51
|
-
body,
|
|
52
|
-
});
|
|
37
|
+
b.m("POST").h(headers).b(body);
|
|
38
|
+
return b.build();
|
|
53
39
|
};
|
|
54
40
|
exports.se_BatchUpdateRecommendationStatusCommand = se_BatchUpdateRecommendationStatusCommand;
|
|
55
41
|
const se_CreateAppCommand = async (input, context) => {
|
|
56
|
-
const
|
|
42
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
57
43
|
const headers = {
|
|
58
44
|
"content-type": "application/json",
|
|
59
45
|
};
|
|
60
|
-
|
|
46
|
+
b.bp("/create-app");
|
|
61
47
|
let body;
|
|
62
48
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
63
49
|
assessmentSchedule: [],
|
|
@@ -69,23 +55,16 @@ const se_CreateAppCommand = async (input, context) => {
|
|
|
69
55
|
policyArn: [],
|
|
70
56
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
71
57
|
}));
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
hostname,
|
|
75
|
-
port,
|
|
76
|
-
method: "POST",
|
|
77
|
-
headers,
|
|
78
|
-
path: resolvedPath,
|
|
79
|
-
body,
|
|
80
|
-
});
|
|
58
|
+
b.m("POST").h(headers).b(body);
|
|
59
|
+
return b.build();
|
|
81
60
|
};
|
|
82
61
|
exports.se_CreateAppCommand = se_CreateAppCommand;
|
|
83
62
|
const se_CreateAppVersionAppComponentCommand = async (input, context) => {
|
|
84
|
-
const
|
|
63
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
85
64
|
const headers = {
|
|
86
65
|
"content-type": "application/json",
|
|
87
66
|
};
|
|
88
|
-
|
|
67
|
+
b.bp("/create-app-version-app-component");
|
|
89
68
|
let body;
|
|
90
69
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
91
70
|
additionalInfo: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -95,23 +74,16 @@ const se_CreateAppVersionAppComponentCommand = async (input, context) => {
|
|
|
95
74
|
name: [],
|
|
96
75
|
type: [],
|
|
97
76
|
}));
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
hostname,
|
|
101
|
-
port,
|
|
102
|
-
method: "POST",
|
|
103
|
-
headers,
|
|
104
|
-
path: resolvedPath,
|
|
105
|
-
body,
|
|
106
|
-
});
|
|
77
|
+
b.m("POST").h(headers).b(body);
|
|
78
|
+
return b.build();
|
|
107
79
|
};
|
|
108
80
|
exports.se_CreateAppVersionAppComponentCommand = se_CreateAppVersionAppComponentCommand;
|
|
109
81
|
const se_CreateAppVersionResourceCommand = async (input, context) => {
|
|
110
|
-
const
|
|
82
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
111
83
|
const headers = {
|
|
112
84
|
"content-type": "application/json",
|
|
113
85
|
};
|
|
114
|
-
|
|
86
|
+
b.bp("/create-app-version-resource");
|
|
115
87
|
let body;
|
|
116
88
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
117
89
|
additionalInfo: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -125,23 +97,16 @@ const se_CreateAppVersionResourceCommand = async (input, context) => {
|
|
|
125
97
|
resourceName: [],
|
|
126
98
|
resourceType: [],
|
|
127
99
|
}));
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
hostname,
|
|
131
|
-
port,
|
|
132
|
-
method: "POST",
|
|
133
|
-
headers,
|
|
134
|
-
path: resolvedPath,
|
|
135
|
-
body,
|
|
136
|
-
});
|
|
100
|
+
b.m("POST").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
137
102
|
};
|
|
138
103
|
exports.se_CreateAppVersionResourceCommand = se_CreateAppVersionResourceCommand;
|
|
139
104
|
const se_CreateRecommendationTemplateCommand = async (input, context) => {
|
|
140
|
-
const
|
|
105
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
141
106
|
const headers = {
|
|
142
107
|
"content-type": "application/json",
|
|
143
108
|
};
|
|
144
|
-
|
|
109
|
+
b.bp("/create-recommendation-template");
|
|
145
110
|
let body;
|
|
146
111
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
147
112
|
assessmentArn: [],
|
|
@@ -153,23 +118,16 @@ const se_CreateRecommendationTemplateCommand = async (input, context) => {
|
|
|
153
118
|
recommendationTypes: (_) => (0, smithy_client_1._json)(_),
|
|
154
119
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
155
120
|
}));
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
hostname,
|
|
159
|
-
port,
|
|
160
|
-
method: "POST",
|
|
161
|
-
headers,
|
|
162
|
-
path: resolvedPath,
|
|
163
|
-
body,
|
|
164
|
-
});
|
|
121
|
+
b.m("POST").h(headers).b(body);
|
|
122
|
+
return b.build();
|
|
165
123
|
};
|
|
166
124
|
exports.se_CreateRecommendationTemplateCommand = se_CreateRecommendationTemplateCommand;
|
|
167
125
|
const se_CreateResiliencyPolicyCommand = async (input, context) => {
|
|
168
|
-
const
|
|
126
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
169
127
|
const headers = {
|
|
170
128
|
"content-type": "application/json",
|
|
171
129
|
};
|
|
172
|
-
|
|
130
|
+
b.bp("/create-resiliency-policy");
|
|
173
131
|
let body;
|
|
174
132
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
175
133
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -180,68 +138,47 @@ const se_CreateResiliencyPolicyCommand = async (input, context) => {
|
|
|
180
138
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
181
139
|
tier: [],
|
|
182
140
|
}));
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
hostname,
|
|
186
|
-
port,
|
|
187
|
-
method: "POST",
|
|
188
|
-
headers,
|
|
189
|
-
path: resolvedPath,
|
|
190
|
-
body,
|
|
191
|
-
});
|
|
141
|
+
b.m("POST").h(headers).b(body);
|
|
142
|
+
return b.build();
|
|
192
143
|
};
|
|
193
144
|
exports.se_CreateResiliencyPolicyCommand = se_CreateResiliencyPolicyCommand;
|
|
194
145
|
const se_DeleteAppCommand = async (input, context) => {
|
|
195
|
-
const
|
|
146
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
196
147
|
const headers = {
|
|
197
148
|
"content-type": "application/json",
|
|
198
149
|
};
|
|
199
|
-
|
|
150
|
+
b.bp("/delete-app");
|
|
200
151
|
let body;
|
|
201
152
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
202
153
|
appArn: [],
|
|
203
154
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
204
155
|
forceDelete: [],
|
|
205
156
|
}));
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
hostname,
|
|
209
|
-
port,
|
|
210
|
-
method: "POST",
|
|
211
|
-
headers,
|
|
212
|
-
path: resolvedPath,
|
|
213
|
-
body,
|
|
214
|
-
});
|
|
157
|
+
b.m("POST").h(headers).b(body);
|
|
158
|
+
return b.build();
|
|
215
159
|
};
|
|
216
160
|
exports.se_DeleteAppCommand = se_DeleteAppCommand;
|
|
217
161
|
const se_DeleteAppAssessmentCommand = async (input, context) => {
|
|
218
|
-
const
|
|
162
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
219
163
|
const headers = {
|
|
220
164
|
"content-type": "application/json",
|
|
221
165
|
};
|
|
222
|
-
|
|
166
|
+
b.bp("/delete-app-assessment");
|
|
223
167
|
let body;
|
|
224
168
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
225
169
|
assessmentArn: [],
|
|
226
170
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
227
171
|
}));
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
hostname,
|
|
231
|
-
port,
|
|
232
|
-
method: "POST",
|
|
233
|
-
headers,
|
|
234
|
-
path: resolvedPath,
|
|
235
|
-
body,
|
|
236
|
-
});
|
|
172
|
+
b.m("POST").h(headers).b(body);
|
|
173
|
+
return b.build();
|
|
237
174
|
};
|
|
238
175
|
exports.se_DeleteAppAssessmentCommand = se_DeleteAppAssessmentCommand;
|
|
239
176
|
const se_DeleteAppInputSourceCommand = async (input, context) => {
|
|
240
|
-
const
|
|
177
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
241
178
|
const headers = {
|
|
242
179
|
"content-type": "application/json",
|
|
243
180
|
};
|
|
244
|
-
|
|
181
|
+
b.bp("/delete-app-input-source");
|
|
245
182
|
let body;
|
|
246
183
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
247
184
|
appArn: [],
|
|
@@ -250,46 +187,32 @@ const se_DeleteAppInputSourceCommand = async (input, context) => {
|
|
|
250
187
|
sourceArn: [],
|
|
251
188
|
terraformSource: (_) => (0, smithy_client_1._json)(_),
|
|
252
189
|
}));
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
hostname,
|
|
256
|
-
port,
|
|
257
|
-
method: "POST",
|
|
258
|
-
headers,
|
|
259
|
-
path: resolvedPath,
|
|
260
|
-
body,
|
|
261
|
-
});
|
|
190
|
+
b.m("POST").h(headers).b(body);
|
|
191
|
+
return b.build();
|
|
262
192
|
};
|
|
263
193
|
exports.se_DeleteAppInputSourceCommand = se_DeleteAppInputSourceCommand;
|
|
264
194
|
const se_DeleteAppVersionAppComponentCommand = async (input, context) => {
|
|
265
|
-
const
|
|
195
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
266
196
|
const headers = {
|
|
267
197
|
"content-type": "application/json",
|
|
268
198
|
};
|
|
269
|
-
|
|
199
|
+
b.bp("/delete-app-version-app-component");
|
|
270
200
|
let body;
|
|
271
201
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
272
202
|
appArn: [],
|
|
273
203
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
274
204
|
id: [],
|
|
275
205
|
}));
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
hostname,
|
|
279
|
-
port,
|
|
280
|
-
method: "POST",
|
|
281
|
-
headers,
|
|
282
|
-
path: resolvedPath,
|
|
283
|
-
body,
|
|
284
|
-
});
|
|
206
|
+
b.m("POST").h(headers).b(body);
|
|
207
|
+
return b.build();
|
|
285
208
|
};
|
|
286
209
|
exports.se_DeleteAppVersionAppComponentCommand = se_DeleteAppVersionAppComponentCommand;
|
|
287
210
|
const se_DeleteAppVersionResourceCommand = async (input, context) => {
|
|
288
|
-
const
|
|
211
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
289
212
|
const headers = {
|
|
290
213
|
"content-type": "application/json",
|
|
291
214
|
};
|
|
292
|
-
|
|
215
|
+
b.bp("/delete-app-version-resource");
|
|
293
216
|
let body;
|
|
294
217
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
295
218
|
appArn: [],
|
|
@@ -300,154 +223,105 @@ const se_DeleteAppVersionResourceCommand = async (input, context) => {
|
|
|
300
223
|
physicalResourceId: [],
|
|
301
224
|
resourceName: [],
|
|
302
225
|
}));
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
hostname,
|
|
306
|
-
port,
|
|
307
|
-
method: "POST",
|
|
308
|
-
headers,
|
|
309
|
-
path: resolvedPath,
|
|
310
|
-
body,
|
|
311
|
-
});
|
|
226
|
+
b.m("POST").h(headers).b(body);
|
|
227
|
+
return b.build();
|
|
312
228
|
};
|
|
313
229
|
exports.se_DeleteAppVersionResourceCommand = se_DeleteAppVersionResourceCommand;
|
|
314
230
|
const se_DeleteRecommendationTemplateCommand = async (input, context) => {
|
|
315
|
-
const
|
|
231
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
316
232
|
const headers = {
|
|
317
233
|
"content-type": "application/json",
|
|
318
234
|
};
|
|
319
|
-
|
|
235
|
+
b.bp("/delete-recommendation-template");
|
|
320
236
|
let body;
|
|
321
237
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
322
238
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
323
239
|
recommendationTemplateArn: [],
|
|
324
240
|
}));
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
hostname,
|
|
328
|
-
port,
|
|
329
|
-
method: "POST",
|
|
330
|
-
headers,
|
|
331
|
-
path: resolvedPath,
|
|
332
|
-
body,
|
|
333
|
-
});
|
|
241
|
+
b.m("POST").h(headers).b(body);
|
|
242
|
+
return b.build();
|
|
334
243
|
};
|
|
335
244
|
exports.se_DeleteRecommendationTemplateCommand = se_DeleteRecommendationTemplateCommand;
|
|
336
245
|
const se_DeleteResiliencyPolicyCommand = async (input, context) => {
|
|
337
|
-
const
|
|
246
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
338
247
|
const headers = {
|
|
339
248
|
"content-type": "application/json",
|
|
340
249
|
};
|
|
341
|
-
|
|
250
|
+
b.bp("/delete-resiliency-policy");
|
|
342
251
|
let body;
|
|
343
252
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
344
253
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
345
254
|
policyArn: [],
|
|
346
255
|
}));
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
hostname,
|
|
350
|
-
port,
|
|
351
|
-
method: "POST",
|
|
352
|
-
headers,
|
|
353
|
-
path: resolvedPath,
|
|
354
|
-
body,
|
|
355
|
-
});
|
|
256
|
+
b.m("POST").h(headers).b(body);
|
|
257
|
+
return b.build();
|
|
356
258
|
};
|
|
357
259
|
exports.se_DeleteResiliencyPolicyCommand = se_DeleteResiliencyPolicyCommand;
|
|
358
260
|
const se_DescribeAppCommand = async (input, context) => {
|
|
359
|
-
const
|
|
261
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
360
262
|
const headers = {
|
|
361
263
|
"content-type": "application/json",
|
|
362
264
|
};
|
|
363
|
-
|
|
265
|
+
b.bp("/describe-app");
|
|
364
266
|
let body;
|
|
365
267
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
366
268
|
appArn: [],
|
|
367
269
|
}));
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
hostname,
|
|
371
|
-
port,
|
|
372
|
-
method: "POST",
|
|
373
|
-
headers,
|
|
374
|
-
path: resolvedPath,
|
|
375
|
-
body,
|
|
376
|
-
});
|
|
270
|
+
b.m("POST").h(headers).b(body);
|
|
271
|
+
return b.build();
|
|
377
272
|
};
|
|
378
273
|
exports.se_DescribeAppCommand = se_DescribeAppCommand;
|
|
379
274
|
const se_DescribeAppAssessmentCommand = async (input, context) => {
|
|
380
|
-
const
|
|
275
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
381
276
|
const headers = {
|
|
382
277
|
"content-type": "application/json",
|
|
383
278
|
};
|
|
384
|
-
|
|
279
|
+
b.bp("/describe-app-assessment");
|
|
385
280
|
let body;
|
|
386
281
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
387
282
|
assessmentArn: [],
|
|
388
283
|
}));
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
hostname,
|
|
392
|
-
port,
|
|
393
|
-
method: "POST",
|
|
394
|
-
headers,
|
|
395
|
-
path: resolvedPath,
|
|
396
|
-
body,
|
|
397
|
-
});
|
|
284
|
+
b.m("POST").h(headers).b(body);
|
|
285
|
+
return b.build();
|
|
398
286
|
};
|
|
399
287
|
exports.se_DescribeAppAssessmentCommand = se_DescribeAppAssessmentCommand;
|
|
400
288
|
const se_DescribeAppVersionCommand = async (input, context) => {
|
|
401
|
-
const
|
|
289
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
402
290
|
const headers = {
|
|
403
291
|
"content-type": "application/json",
|
|
404
292
|
};
|
|
405
|
-
|
|
293
|
+
b.bp("/describe-app-version");
|
|
406
294
|
let body;
|
|
407
295
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
408
296
|
appArn: [],
|
|
409
297
|
appVersion: [],
|
|
410
298
|
}));
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
hostname,
|
|
414
|
-
port,
|
|
415
|
-
method: "POST",
|
|
416
|
-
headers,
|
|
417
|
-
path: resolvedPath,
|
|
418
|
-
body,
|
|
419
|
-
});
|
|
299
|
+
b.m("POST").h(headers).b(body);
|
|
300
|
+
return b.build();
|
|
420
301
|
};
|
|
421
302
|
exports.se_DescribeAppVersionCommand = se_DescribeAppVersionCommand;
|
|
422
303
|
const se_DescribeAppVersionAppComponentCommand = async (input, context) => {
|
|
423
|
-
const
|
|
304
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
424
305
|
const headers = {
|
|
425
306
|
"content-type": "application/json",
|
|
426
307
|
};
|
|
427
|
-
|
|
308
|
+
b.bp("/describe-app-version-app-component");
|
|
428
309
|
let body;
|
|
429
310
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
430
311
|
appArn: [],
|
|
431
312
|
appVersion: [],
|
|
432
313
|
id: [],
|
|
433
314
|
}));
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
hostname,
|
|
437
|
-
port,
|
|
438
|
-
method: "POST",
|
|
439
|
-
headers,
|
|
440
|
-
path: resolvedPath,
|
|
441
|
-
body,
|
|
442
|
-
});
|
|
315
|
+
b.m("POST").h(headers).b(body);
|
|
316
|
+
return b.build();
|
|
443
317
|
};
|
|
444
318
|
exports.se_DescribeAppVersionAppComponentCommand = se_DescribeAppVersionAppComponentCommand;
|
|
445
319
|
const se_DescribeAppVersionResourceCommand = async (input, context) => {
|
|
446
|
-
const
|
|
320
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
447
321
|
const headers = {
|
|
448
322
|
"content-type": "application/json",
|
|
449
323
|
};
|
|
450
|
-
|
|
324
|
+
b.bp("/describe-app-version-resource");
|
|
451
325
|
let body;
|
|
452
326
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
453
327
|
appArn: [],
|
|
@@ -458,112 +332,75 @@ const se_DescribeAppVersionResourceCommand = async (input, context) => {
|
|
|
458
332
|
physicalResourceId: [],
|
|
459
333
|
resourceName: [],
|
|
460
334
|
}));
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
hostname,
|
|
464
|
-
port,
|
|
465
|
-
method: "POST",
|
|
466
|
-
headers,
|
|
467
|
-
path: resolvedPath,
|
|
468
|
-
body,
|
|
469
|
-
});
|
|
335
|
+
b.m("POST").h(headers).b(body);
|
|
336
|
+
return b.build();
|
|
470
337
|
};
|
|
471
338
|
exports.se_DescribeAppVersionResourceCommand = se_DescribeAppVersionResourceCommand;
|
|
472
339
|
const se_DescribeAppVersionResourcesResolutionStatusCommand = async (input, context) => {
|
|
473
|
-
const
|
|
340
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
474
341
|
const headers = {
|
|
475
342
|
"content-type": "application/json",
|
|
476
343
|
};
|
|
477
|
-
|
|
478
|
-
"/describe-app-version-resources-resolution-status";
|
|
344
|
+
b.bp("/describe-app-version-resources-resolution-status");
|
|
479
345
|
let body;
|
|
480
346
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
481
347
|
appArn: [],
|
|
482
348
|
appVersion: [],
|
|
483
349
|
resolutionId: [],
|
|
484
350
|
}));
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
hostname,
|
|
488
|
-
port,
|
|
489
|
-
method: "POST",
|
|
490
|
-
headers,
|
|
491
|
-
path: resolvedPath,
|
|
492
|
-
body,
|
|
493
|
-
});
|
|
351
|
+
b.m("POST").h(headers).b(body);
|
|
352
|
+
return b.build();
|
|
494
353
|
};
|
|
495
354
|
exports.se_DescribeAppVersionResourcesResolutionStatusCommand = se_DescribeAppVersionResourcesResolutionStatusCommand;
|
|
496
355
|
const se_DescribeAppVersionTemplateCommand = async (input, context) => {
|
|
497
|
-
const
|
|
356
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
498
357
|
const headers = {
|
|
499
358
|
"content-type": "application/json",
|
|
500
359
|
};
|
|
501
|
-
|
|
360
|
+
b.bp("/describe-app-version-template");
|
|
502
361
|
let body;
|
|
503
362
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
504
363
|
appArn: [],
|
|
505
364
|
appVersion: [],
|
|
506
365
|
}));
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
hostname,
|
|
510
|
-
port,
|
|
511
|
-
method: "POST",
|
|
512
|
-
headers,
|
|
513
|
-
path: resolvedPath,
|
|
514
|
-
body,
|
|
515
|
-
});
|
|
366
|
+
b.m("POST").h(headers).b(body);
|
|
367
|
+
return b.build();
|
|
516
368
|
};
|
|
517
369
|
exports.se_DescribeAppVersionTemplateCommand = se_DescribeAppVersionTemplateCommand;
|
|
518
370
|
const se_DescribeDraftAppVersionResourcesImportStatusCommand = async (input, context) => {
|
|
519
|
-
const
|
|
371
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
520
372
|
const headers = {
|
|
521
373
|
"content-type": "application/json",
|
|
522
374
|
};
|
|
523
|
-
|
|
524
|
-
"/describe-draft-app-version-resources-import-status";
|
|
375
|
+
b.bp("/describe-draft-app-version-resources-import-status");
|
|
525
376
|
let body;
|
|
526
377
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
527
378
|
appArn: [],
|
|
528
379
|
}));
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
hostname,
|
|
532
|
-
port,
|
|
533
|
-
method: "POST",
|
|
534
|
-
headers,
|
|
535
|
-
path: resolvedPath,
|
|
536
|
-
body,
|
|
537
|
-
});
|
|
380
|
+
b.m("POST").h(headers).b(body);
|
|
381
|
+
return b.build();
|
|
538
382
|
};
|
|
539
383
|
exports.se_DescribeDraftAppVersionResourcesImportStatusCommand = se_DescribeDraftAppVersionResourcesImportStatusCommand;
|
|
540
384
|
const se_DescribeResiliencyPolicyCommand = async (input, context) => {
|
|
541
|
-
const
|
|
385
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
542
386
|
const headers = {
|
|
543
387
|
"content-type": "application/json",
|
|
544
388
|
};
|
|
545
|
-
|
|
389
|
+
b.bp("/describe-resiliency-policy");
|
|
546
390
|
let body;
|
|
547
391
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
548
392
|
policyArn: [],
|
|
549
393
|
}));
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
hostname,
|
|
553
|
-
port,
|
|
554
|
-
method: "POST",
|
|
555
|
-
headers,
|
|
556
|
-
path: resolvedPath,
|
|
557
|
-
body,
|
|
558
|
-
});
|
|
394
|
+
b.m("POST").h(headers).b(body);
|
|
395
|
+
return b.build();
|
|
559
396
|
};
|
|
560
397
|
exports.se_DescribeResiliencyPolicyCommand = se_DescribeResiliencyPolicyCommand;
|
|
561
398
|
const se_ImportResourcesToDraftAppVersionCommand = async (input, context) => {
|
|
562
|
-
const
|
|
399
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
563
400
|
const headers = {
|
|
564
401
|
"content-type": "application/json",
|
|
565
402
|
};
|
|
566
|
-
|
|
403
|
+
b.bp("/import-resources-to-draft-app-version");
|
|
567
404
|
let body;
|
|
568
405
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
569
406
|
appArn: [],
|
|
@@ -572,145 +409,99 @@ const se_ImportResourcesToDraftAppVersionCommand = async (input, context) => {
|
|
|
572
409
|
sourceArns: (_) => (0, smithy_client_1._json)(_),
|
|
573
410
|
terraformSources: (_) => (0, smithy_client_1._json)(_),
|
|
574
411
|
}));
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
hostname,
|
|
578
|
-
port,
|
|
579
|
-
method: "POST",
|
|
580
|
-
headers,
|
|
581
|
-
path: resolvedPath,
|
|
582
|
-
body,
|
|
583
|
-
});
|
|
412
|
+
b.m("POST").h(headers).b(body);
|
|
413
|
+
return b.build();
|
|
584
414
|
};
|
|
585
415
|
exports.se_ImportResourcesToDraftAppVersionCommand = se_ImportResourcesToDraftAppVersionCommand;
|
|
586
416
|
const se_ListAlarmRecommendationsCommand = async (input, context) => {
|
|
587
|
-
const
|
|
417
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
588
418
|
const headers = {
|
|
589
419
|
"content-type": "application/json",
|
|
590
420
|
};
|
|
591
|
-
|
|
421
|
+
b.bp("/list-alarm-recommendations");
|
|
592
422
|
let body;
|
|
593
423
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
594
424
|
assessmentArn: [],
|
|
595
425
|
maxResults: [],
|
|
596
426
|
nextToken: [],
|
|
597
427
|
}));
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
hostname,
|
|
601
|
-
port,
|
|
602
|
-
method: "POST",
|
|
603
|
-
headers,
|
|
604
|
-
path: resolvedPath,
|
|
605
|
-
body,
|
|
606
|
-
});
|
|
428
|
+
b.m("POST").h(headers).b(body);
|
|
429
|
+
return b.build();
|
|
607
430
|
};
|
|
608
431
|
exports.se_ListAlarmRecommendationsCommand = se_ListAlarmRecommendationsCommand;
|
|
609
432
|
const se_ListAppAssessmentComplianceDriftsCommand = async (input, context) => {
|
|
610
|
-
const
|
|
433
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
611
434
|
const headers = {
|
|
612
435
|
"content-type": "application/json",
|
|
613
436
|
};
|
|
614
|
-
|
|
437
|
+
b.bp("/list-app-assessment-compliance-drifts");
|
|
615
438
|
let body;
|
|
616
439
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
617
440
|
assessmentArn: [],
|
|
618
441
|
maxResults: [],
|
|
619
442
|
nextToken: [],
|
|
620
443
|
}));
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
hostname,
|
|
624
|
-
port,
|
|
625
|
-
method: "POST",
|
|
626
|
-
headers,
|
|
627
|
-
path: resolvedPath,
|
|
628
|
-
body,
|
|
629
|
-
});
|
|
444
|
+
b.m("POST").h(headers).b(body);
|
|
445
|
+
return b.build();
|
|
630
446
|
};
|
|
631
447
|
exports.se_ListAppAssessmentComplianceDriftsCommand = se_ListAppAssessmentComplianceDriftsCommand;
|
|
632
448
|
const se_ListAppAssessmentsCommand = async (input, context) => {
|
|
633
|
-
const
|
|
449
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
634
450
|
const headers = {};
|
|
635
|
-
|
|
451
|
+
b.bp("/list-app-assessments");
|
|
636
452
|
const query = (0, smithy_client_1.map)({
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
],
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
reverseOrder: [() => input.reverseOrder !== void 0, () => input.reverseOrder.toString()],
|
|
646
|
-
nextToken: [, input.nextToken],
|
|
647
|
-
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
453
|
+
[_aA]: [, input[_aA]],
|
|
454
|
+
[_aN]: [, input[_aN]],
|
|
455
|
+
[_aS]: [() => input.assessmentStatus !== void 0, () => (input[_aS] || []).map((_entry) => _entry)],
|
|
456
|
+
[_cS]: [, input[_cS]],
|
|
457
|
+
[_i]: [, input[_i]],
|
|
458
|
+
[_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
|
|
459
|
+
[_nT]: [, input[_nT]],
|
|
460
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
648
461
|
});
|
|
649
462
|
let body;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
hostname,
|
|
653
|
-
port,
|
|
654
|
-
method: "GET",
|
|
655
|
-
headers,
|
|
656
|
-
path: resolvedPath,
|
|
657
|
-
query,
|
|
658
|
-
body,
|
|
659
|
-
});
|
|
463
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
464
|
+
return b.build();
|
|
660
465
|
};
|
|
661
466
|
exports.se_ListAppAssessmentsCommand = se_ListAppAssessmentsCommand;
|
|
662
467
|
const se_ListAppComponentCompliancesCommand = async (input, context) => {
|
|
663
|
-
const
|
|
468
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
664
469
|
const headers = {
|
|
665
470
|
"content-type": "application/json",
|
|
666
471
|
};
|
|
667
|
-
|
|
472
|
+
b.bp("/list-app-component-compliances");
|
|
668
473
|
let body;
|
|
669
474
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
670
475
|
assessmentArn: [],
|
|
671
476
|
maxResults: [],
|
|
672
477
|
nextToken: [],
|
|
673
478
|
}));
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
hostname,
|
|
677
|
-
port,
|
|
678
|
-
method: "POST",
|
|
679
|
-
headers,
|
|
680
|
-
path: resolvedPath,
|
|
681
|
-
body,
|
|
682
|
-
});
|
|
479
|
+
b.m("POST").h(headers).b(body);
|
|
480
|
+
return b.build();
|
|
683
481
|
};
|
|
684
482
|
exports.se_ListAppComponentCompliancesCommand = se_ListAppComponentCompliancesCommand;
|
|
685
483
|
const se_ListAppComponentRecommendationsCommand = async (input, context) => {
|
|
686
|
-
const
|
|
484
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
687
485
|
const headers = {
|
|
688
486
|
"content-type": "application/json",
|
|
689
487
|
};
|
|
690
|
-
|
|
488
|
+
b.bp("/list-app-component-recommendations");
|
|
691
489
|
let body;
|
|
692
490
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
693
491
|
assessmentArn: [],
|
|
694
492
|
maxResults: [],
|
|
695
493
|
nextToken: [],
|
|
696
494
|
}));
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
hostname,
|
|
700
|
-
port,
|
|
701
|
-
method: "POST",
|
|
702
|
-
headers,
|
|
703
|
-
path: resolvedPath,
|
|
704
|
-
body,
|
|
705
|
-
});
|
|
495
|
+
b.m("POST").h(headers).b(body);
|
|
496
|
+
return b.build();
|
|
706
497
|
};
|
|
707
498
|
exports.se_ListAppComponentRecommendationsCommand = se_ListAppComponentRecommendationsCommand;
|
|
708
499
|
const se_ListAppInputSourcesCommand = async (input, context) => {
|
|
709
|
-
const
|
|
500
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
710
501
|
const headers = {
|
|
711
502
|
"content-type": "application/json",
|
|
712
503
|
};
|
|
713
|
-
|
|
504
|
+
b.bp("/list-app-input-sources");
|
|
714
505
|
let body;
|
|
715
506
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
716
507
|
appArn: [],
|
|
@@ -718,55 +509,40 @@ const se_ListAppInputSourcesCommand = async (input, context) => {
|
|
|
718
509
|
maxResults: [],
|
|
719
510
|
nextToken: [],
|
|
720
511
|
}));
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
hostname,
|
|
724
|
-
port,
|
|
725
|
-
method: "POST",
|
|
726
|
-
headers,
|
|
727
|
-
path: resolvedPath,
|
|
728
|
-
body,
|
|
729
|
-
});
|
|
512
|
+
b.m("POST").h(headers).b(body);
|
|
513
|
+
return b.build();
|
|
730
514
|
};
|
|
731
515
|
exports.se_ListAppInputSourcesCommand = se_ListAppInputSourcesCommand;
|
|
732
516
|
const se_ListAppsCommand = async (input, context) => {
|
|
733
|
-
const
|
|
517
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
734
518
|
const headers = {};
|
|
735
|
-
|
|
519
|
+
b.bp("/list-apps");
|
|
736
520
|
const query = (0, smithy_client_1.map)({
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
521
|
+
[_nT]: [, input[_nT]],
|
|
522
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
523
|
+
[_n]: [, input[_n]],
|
|
524
|
+
[_aA]: [, input[_aA]],
|
|
525
|
+
[_fLAT]: [
|
|
742
526
|
() => input.fromLastAssessmentTime !== void 0,
|
|
743
|
-
() => (input.
|
|
527
|
+
() => (input[_fLAT].toISOString().split(".")[0] + "Z").toString(),
|
|
744
528
|
],
|
|
745
|
-
|
|
529
|
+
[_tLAT]: [
|
|
746
530
|
() => input.toLastAssessmentTime !== void 0,
|
|
747
|
-
() => (input.
|
|
531
|
+
() => (input[_tLAT].toISOString().split(".")[0] + "Z").toString(),
|
|
748
532
|
],
|
|
749
|
-
|
|
533
|
+
[_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
|
|
750
534
|
});
|
|
751
535
|
let body;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
hostname,
|
|
755
|
-
port,
|
|
756
|
-
method: "GET",
|
|
757
|
-
headers,
|
|
758
|
-
path: resolvedPath,
|
|
759
|
-
query,
|
|
760
|
-
body,
|
|
761
|
-
});
|
|
536
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
537
|
+
return b.build();
|
|
762
538
|
};
|
|
763
539
|
exports.se_ListAppsCommand = se_ListAppsCommand;
|
|
764
540
|
const se_ListAppVersionAppComponentsCommand = async (input, context) => {
|
|
765
|
-
const
|
|
541
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
766
542
|
const headers = {
|
|
767
543
|
"content-type": "application/json",
|
|
768
544
|
};
|
|
769
|
-
|
|
545
|
+
b.bp("/list-app-version-app-components");
|
|
770
546
|
let body;
|
|
771
547
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
772
548
|
appArn: [],
|
|
@@ -774,23 +550,16 @@ const se_ListAppVersionAppComponentsCommand = async (input, context) => {
|
|
|
774
550
|
maxResults: [],
|
|
775
551
|
nextToken: [],
|
|
776
552
|
}));
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
hostname,
|
|
780
|
-
port,
|
|
781
|
-
method: "POST",
|
|
782
|
-
headers,
|
|
783
|
-
path: resolvedPath,
|
|
784
|
-
body,
|
|
785
|
-
});
|
|
553
|
+
b.m("POST").h(headers).b(body);
|
|
554
|
+
return b.build();
|
|
786
555
|
};
|
|
787
556
|
exports.se_ListAppVersionAppComponentsCommand = se_ListAppVersionAppComponentsCommand;
|
|
788
557
|
const se_ListAppVersionResourceMappingsCommand = async (input, context) => {
|
|
789
|
-
const
|
|
558
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
790
559
|
const headers = {
|
|
791
560
|
"content-type": "application/json",
|
|
792
561
|
};
|
|
793
|
-
|
|
562
|
+
b.bp("/list-app-version-resource-mappings");
|
|
794
563
|
let body;
|
|
795
564
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
796
565
|
appArn: [],
|
|
@@ -798,23 +567,16 @@ const se_ListAppVersionResourceMappingsCommand = async (input, context) => {
|
|
|
798
567
|
maxResults: [],
|
|
799
568
|
nextToken: [],
|
|
800
569
|
}));
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
hostname,
|
|
804
|
-
port,
|
|
805
|
-
method: "POST",
|
|
806
|
-
headers,
|
|
807
|
-
path: resolvedPath,
|
|
808
|
-
body,
|
|
809
|
-
});
|
|
570
|
+
b.m("POST").h(headers).b(body);
|
|
571
|
+
return b.build();
|
|
810
572
|
};
|
|
811
573
|
exports.se_ListAppVersionResourceMappingsCommand = se_ListAppVersionResourceMappingsCommand;
|
|
812
574
|
const se_ListAppVersionResourcesCommand = async (input, context) => {
|
|
813
|
-
const
|
|
575
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
814
576
|
const headers = {
|
|
815
577
|
"content-type": "application/json",
|
|
816
578
|
};
|
|
817
|
-
|
|
579
|
+
b.bp("/list-app-version-resources");
|
|
818
580
|
let body;
|
|
819
581
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
820
582
|
appArn: [],
|
|
@@ -823,23 +585,16 @@ const se_ListAppVersionResourcesCommand = async (input, context) => {
|
|
|
823
585
|
nextToken: [],
|
|
824
586
|
resolutionId: [],
|
|
825
587
|
}));
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
hostname,
|
|
829
|
-
port,
|
|
830
|
-
method: "POST",
|
|
831
|
-
headers,
|
|
832
|
-
path: resolvedPath,
|
|
833
|
-
body,
|
|
834
|
-
});
|
|
588
|
+
b.m("POST").h(headers).b(body);
|
|
589
|
+
return b.build();
|
|
835
590
|
};
|
|
836
591
|
exports.se_ListAppVersionResourcesCommand = se_ListAppVersionResourcesCommand;
|
|
837
592
|
const se_ListAppVersionsCommand = async (input, context) => {
|
|
838
|
-
const
|
|
593
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
839
594
|
const headers = {
|
|
840
595
|
"content-type": "application/json",
|
|
841
596
|
};
|
|
842
|
-
|
|
597
|
+
b.bp("/list-app-versions");
|
|
843
598
|
let body;
|
|
844
599
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
845
600
|
appArn: [],
|
|
@@ -848,155 +603,103 @@ const se_ListAppVersionsCommand = async (input, context) => {
|
|
|
848
603
|
nextToken: [],
|
|
849
604
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
850
605
|
}));
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
hostname,
|
|
854
|
-
port,
|
|
855
|
-
method: "POST",
|
|
856
|
-
headers,
|
|
857
|
-
path: resolvedPath,
|
|
858
|
-
body,
|
|
859
|
-
});
|
|
606
|
+
b.m("POST").h(headers).b(body);
|
|
607
|
+
return b.build();
|
|
860
608
|
};
|
|
861
609
|
exports.se_ListAppVersionsCommand = se_ListAppVersionsCommand;
|
|
862
610
|
const se_ListRecommendationTemplatesCommand = async (input, context) => {
|
|
863
|
-
const
|
|
611
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
864
612
|
const headers = {};
|
|
865
|
-
|
|
613
|
+
b.bp("/list-recommendation-templates");
|
|
866
614
|
const query = (0, smithy_client_1.map)({
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
615
|
+
[_aAs]: [, (0, smithy_client_1.expectNonNull)(input[_aAs], `assessmentArn`)],
|
|
616
|
+
[_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
|
|
617
|
+
[_s]: [() => input.status !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
|
|
618
|
+
[_rTA]: [, input[_rTA]],
|
|
619
|
+
[_n]: [, input[_n]],
|
|
620
|
+
[_nT]: [, input[_nT]],
|
|
621
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
874
622
|
});
|
|
875
623
|
let body;
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
hostname,
|
|
879
|
-
port,
|
|
880
|
-
method: "GET",
|
|
881
|
-
headers,
|
|
882
|
-
path: resolvedPath,
|
|
883
|
-
query,
|
|
884
|
-
body,
|
|
885
|
-
});
|
|
624
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
625
|
+
return b.build();
|
|
886
626
|
};
|
|
887
627
|
exports.se_ListRecommendationTemplatesCommand = se_ListRecommendationTemplatesCommand;
|
|
888
628
|
const se_ListResiliencyPoliciesCommand = async (input, context) => {
|
|
889
|
-
const
|
|
629
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
890
630
|
const headers = {};
|
|
891
|
-
|
|
631
|
+
b.bp("/list-resiliency-policies");
|
|
892
632
|
const query = (0, smithy_client_1.map)({
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
633
|
+
[_pN]: [, input[_pN]],
|
|
634
|
+
[_nT]: [, input[_nT]],
|
|
635
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
896
636
|
});
|
|
897
637
|
let body;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
hostname,
|
|
901
|
-
port,
|
|
902
|
-
method: "GET",
|
|
903
|
-
headers,
|
|
904
|
-
path: resolvedPath,
|
|
905
|
-
query,
|
|
906
|
-
body,
|
|
907
|
-
});
|
|
638
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
639
|
+
return b.build();
|
|
908
640
|
};
|
|
909
641
|
exports.se_ListResiliencyPoliciesCommand = se_ListResiliencyPoliciesCommand;
|
|
910
642
|
const se_ListSopRecommendationsCommand = async (input, context) => {
|
|
911
|
-
const
|
|
643
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
912
644
|
const headers = {
|
|
913
645
|
"content-type": "application/json",
|
|
914
646
|
};
|
|
915
|
-
|
|
647
|
+
b.bp("/list-sop-recommendations");
|
|
916
648
|
let body;
|
|
917
649
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
918
650
|
assessmentArn: [],
|
|
919
651
|
maxResults: [],
|
|
920
652
|
nextToken: [],
|
|
921
653
|
}));
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
hostname,
|
|
925
|
-
port,
|
|
926
|
-
method: "POST",
|
|
927
|
-
headers,
|
|
928
|
-
path: resolvedPath,
|
|
929
|
-
body,
|
|
930
|
-
});
|
|
654
|
+
b.m("POST").h(headers).b(body);
|
|
655
|
+
return b.build();
|
|
931
656
|
};
|
|
932
657
|
exports.se_ListSopRecommendationsCommand = se_ListSopRecommendationsCommand;
|
|
933
658
|
const se_ListSuggestedResiliencyPoliciesCommand = async (input, context) => {
|
|
934
|
-
const
|
|
659
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
935
660
|
const headers = {};
|
|
936
|
-
|
|
661
|
+
b.bp("/list-suggested-resiliency-policies");
|
|
937
662
|
const query = (0, smithy_client_1.map)({
|
|
938
|
-
|
|
939
|
-
|
|
663
|
+
[_nT]: [, input[_nT]],
|
|
664
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
940
665
|
});
|
|
941
666
|
let body;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
hostname,
|
|
945
|
-
port,
|
|
946
|
-
method: "GET",
|
|
947
|
-
headers,
|
|
948
|
-
path: resolvedPath,
|
|
949
|
-
query,
|
|
950
|
-
body,
|
|
951
|
-
});
|
|
667
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
668
|
+
return b.build();
|
|
952
669
|
};
|
|
953
670
|
exports.se_ListSuggestedResiliencyPoliciesCommand = se_ListSuggestedResiliencyPoliciesCommand;
|
|
954
671
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
955
|
-
const
|
|
672
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
956
673
|
const headers = {};
|
|
957
|
-
|
|
958
|
-
|
|
674
|
+
b.bp("/tags/{resourceArn}");
|
|
675
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
959
676
|
let body;
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
hostname,
|
|
963
|
-
port,
|
|
964
|
-
method: "GET",
|
|
965
|
-
headers,
|
|
966
|
-
path: resolvedPath,
|
|
967
|
-
body,
|
|
968
|
-
});
|
|
677
|
+
b.m("GET").h(headers).b(body);
|
|
678
|
+
return b.build();
|
|
969
679
|
};
|
|
970
680
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
971
681
|
const se_ListTestRecommendationsCommand = async (input, context) => {
|
|
972
|
-
const
|
|
682
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
973
683
|
const headers = {
|
|
974
684
|
"content-type": "application/json",
|
|
975
685
|
};
|
|
976
|
-
|
|
686
|
+
b.bp("/list-test-recommendations");
|
|
977
687
|
let body;
|
|
978
688
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
979
689
|
assessmentArn: [],
|
|
980
690
|
maxResults: [],
|
|
981
691
|
nextToken: [],
|
|
982
692
|
}));
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
hostname,
|
|
986
|
-
port,
|
|
987
|
-
method: "POST",
|
|
988
|
-
headers,
|
|
989
|
-
path: resolvedPath,
|
|
990
|
-
body,
|
|
991
|
-
});
|
|
693
|
+
b.m("POST").h(headers).b(body);
|
|
694
|
+
return b.build();
|
|
992
695
|
};
|
|
993
696
|
exports.se_ListTestRecommendationsCommand = se_ListTestRecommendationsCommand;
|
|
994
697
|
const se_ListUnsupportedAppVersionResourcesCommand = async (input, context) => {
|
|
995
|
-
const
|
|
698
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
996
699
|
const headers = {
|
|
997
700
|
"content-type": "application/json",
|
|
998
701
|
};
|
|
999
|
-
|
|
702
|
+
b.bp("/list-unsupported-app-version-resources");
|
|
1000
703
|
let body;
|
|
1001
704
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1002
705
|
appArn: [],
|
|
@@ -1005,68 +708,46 @@ const se_ListUnsupportedAppVersionResourcesCommand = async (input, context) => {
|
|
|
1005
708
|
nextToken: [],
|
|
1006
709
|
resolutionId: [],
|
|
1007
710
|
}));
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
hostname,
|
|
1011
|
-
port,
|
|
1012
|
-
method: "POST",
|
|
1013
|
-
headers,
|
|
1014
|
-
path: resolvedPath,
|
|
1015
|
-
body,
|
|
1016
|
-
});
|
|
711
|
+
b.m("POST").h(headers).b(body);
|
|
712
|
+
return b.build();
|
|
1017
713
|
};
|
|
1018
714
|
exports.se_ListUnsupportedAppVersionResourcesCommand = se_ListUnsupportedAppVersionResourcesCommand;
|
|
1019
715
|
const se_PublishAppVersionCommand = async (input, context) => {
|
|
1020
|
-
const
|
|
716
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1021
717
|
const headers = {
|
|
1022
718
|
"content-type": "application/json",
|
|
1023
719
|
};
|
|
1024
|
-
|
|
720
|
+
b.bp("/publish-app-version");
|
|
1025
721
|
let body;
|
|
1026
722
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1027
723
|
appArn: [],
|
|
1028
724
|
versionName: [],
|
|
1029
725
|
}));
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
hostname,
|
|
1033
|
-
port,
|
|
1034
|
-
method: "POST",
|
|
1035
|
-
headers,
|
|
1036
|
-
path: resolvedPath,
|
|
1037
|
-
body,
|
|
1038
|
-
});
|
|
726
|
+
b.m("POST").h(headers).b(body);
|
|
727
|
+
return b.build();
|
|
1039
728
|
};
|
|
1040
729
|
exports.se_PublishAppVersionCommand = se_PublishAppVersionCommand;
|
|
1041
730
|
const se_PutDraftAppVersionTemplateCommand = async (input, context) => {
|
|
1042
|
-
const
|
|
731
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1043
732
|
const headers = {
|
|
1044
733
|
"content-type": "application/json",
|
|
1045
734
|
};
|
|
1046
|
-
|
|
735
|
+
b.bp("/put-draft-app-version-template");
|
|
1047
736
|
let body;
|
|
1048
737
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1049
738
|
appArn: [],
|
|
1050
739
|
appTemplateBody: [],
|
|
1051
740
|
}));
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
hostname,
|
|
1055
|
-
port,
|
|
1056
|
-
method: "POST",
|
|
1057
|
-
headers,
|
|
1058
|
-
path: resolvedPath,
|
|
1059
|
-
body,
|
|
1060
|
-
});
|
|
741
|
+
b.m("POST").h(headers).b(body);
|
|
742
|
+
return b.build();
|
|
1061
743
|
};
|
|
1062
744
|
exports.se_PutDraftAppVersionTemplateCommand = se_PutDraftAppVersionTemplateCommand;
|
|
1063
745
|
const se_RemoveDraftAppVersionResourceMappingsCommand = async (input, context) => {
|
|
1064
|
-
const
|
|
746
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1065
747
|
const headers = {
|
|
1066
748
|
"content-type": "application/json",
|
|
1067
749
|
};
|
|
1068
|
-
|
|
1069
|
-
"/remove-draft-app-version-resource-mappings";
|
|
750
|
+
b.bp("/remove-draft-app-version-resource-mappings");
|
|
1070
751
|
let body;
|
|
1071
752
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1072
753
|
appArn: [],
|
|
@@ -1077,45 +758,31 @@ const se_RemoveDraftAppVersionResourceMappingsCommand = async (input, context) =
|
|
|
1077
758
|
resourceNames: (_) => (0, smithy_client_1._json)(_),
|
|
1078
759
|
terraformSourceNames: (_) => (0, smithy_client_1._json)(_),
|
|
1079
760
|
}));
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
hostname,
|
|
1083
|
-
port,
|
|
1084
|
-
method: "POST",
|
|
1085
|
-
headers,
|
|
1086
|
-
path: resolvedPath,
|
|
1087
|
-
body,
|
|
1088
|
-
});
|
|
761
|
+
b.m("POST").h(headers).b(body);
|
|
762
|
+
return b.build();
|
|
1089
763
|
};
|
|
1090
764
|
exports.se_RemoveDraftAppVersionResourceMappingsCommand = se_RemoveDraftAppVersionResourceMappingsCommand;
|
|
1091
765
|
const se_ResolveAppVersionResourcesCommand = async (input, context) => {
|
|
1092
|
-
const
|
|
766
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1093
767
|
const headers = {
|
|
1094
768
|
"content-type": "application/json",
|
|
1095
769
|
};
|
|
1096
|
-
|
|
770
|
+
b.bp("/resolve-app-version-resources");
|
|
1097
771
|
let body;
|
|
1098
772
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1099
773
|
appArn: [],
|
|
1100
774
|
appVersion: [],
|
|
1101
775
|
}));
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
hostname,
|
|
1105
|
-
port,
|
|
1106
|
-
method: "POST",
|
|
1107
|
-
headers,
|
|
1108
|
-
path: resolvedPath,
|
|
1109
|
-
body,
|
|
1110
|
-
});
|
|
776
|
+
b.m("POST").h(headers).b(body);
|
|
777
|
+
return b.build();
|
|
1111
778
|
};
|
|
1112
779
|
exports.se_ResolveAppVersionResourcesCommand = se_ResolveAppVersionResourcesCommand;
|
|
1113
780
|
const se_StartAppAssessmentCommand = async (input, context) => {
|
|
1114
|
-
const
|
|
781
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1115
782
|
const headers = {
|
|
1116
783
|
"content-type": "application/json",
|
|
1117
784
|
};
|
|
1118
|
-
|
|
785
|
+
b.bp("/start-app-assessment");
|
|
1119
786
|
let body;
|
|
1120
787
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1121
788
|
appArn: [],
|
|
@@ -1124,69 +791,47 @@ const se_StartAppAssessmentCommand = async (input, context) => {
|
|
|
1124
791
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1125
792
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1126
793
|
}));
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
hostname,
|
|
1130
|
-
port,
|
|
1131
|
-
method: "POST",
|
|
1132
|
-
headers,
|
|
1133
|
-
path: resolvedPath,
|
|
1134
|
-
body,
|
|
1135
|
-
});
|
|
794
|
+
b.m("POST").h(headers).b(body);
|
|
795
|
+
return b.build();
|
|
1136
796
|
};
|
|
1137
797
|
exports.se_StartAppAssessmentCommand = se_StartAppAssessmentCommand;
|
|
1138
798
|
const se_TagResourceCommand = async (input, context) => {
|
|
1139
|
-
const
|
|
799
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1140
800
|
const headers = {
|
|
1141
801
|
"content-type": "application/json",
|
|
1142
802
|
};
|
|
1143
|
-
|
|
1144
|
-
|
|
803
|
+
b.bp("/tags/{resourceArn}");
|
|
804
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1145
805
|
let body;
|
|
1146
806
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1147
807
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1148
808
|
}));
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
hostname,
|
|
1152
|
-
port,
|
|
1153
|
-
method: "POST",
|
|
1154
|
-
headers,
|
|
1155
|
-
path: resolvedPath,
|
|
1156
|
-
body,
|
|
1157
|
-
});
|
|
809
|
+
b.m("POST").h(headers).b(body);
|
|
810
|
+
return b.build();
|
|
1158
811
|
};
|
|
1159
812
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1160
813
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1161
|
-
const
|
|
814
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1162
815
|
const headers = {};
|
|
1163
|
-
|
|
1164
|
-
|
|
816
|
+
b.bp("/tags/{resourceArn}");
|
|
817
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1165
818
|
const query = (0, smithy_client_1.map)({
|
|
1166
|
-
|
|
819
|
+
[_tK]: [
|
|
1167
820
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1168
|
-
() => (input
|
|
821
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1169
822
|
],
|
|
1170
823
|
});
|
|
1171
824
|
let body;
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
hostname,
|
|
1175
|
-
port,
|
|
1176
|
-
method: "DELETE",
|
|
1177
|
-
headers,
|
|
1178
|
-
path: resolvedPath,
|
|
1179
|
-
query,
|
|
1180
|
-
body,
|
|
1181
|
-
});
|
|
825
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
826
|
+
return b.build();
|
|
1182
827
|
};
|
|
1183
828
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1184
829
|
const se_UpdateAppCommand = async (input, context) => {
|
|
1185
|
-
const
|
|
830
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1186
831
|
const headers = {
|
|
1187
832
|
"content-type": "application/json",
|
|
1188
833
|
};
|
|
1189
|
-
|
|
834
|
+
b.bp("/update-app");
|
|
1190
835
|
let body;
|
|
1191
836
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1192
837
|
appArn: [],
|
|
@@ -1197,45 +842,31 @@ const se_UpdateAppCommand = async (input, context) => {
|
|
|
1197
842
|
permissionModel: (_) => (0, smithy_client_1._json)(_),
|
|
1198
843
|
policyArn: [],
|
|
1199
844
|
}));
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
hostname,
|
|
1203
|
-
port,
|
|
1204
|
-
method: "POST",
|
|
1205
|
-
headers,
|
|
1206
|
-
path: resolvedPath,
|
|
1207
|
-
body,
|
|
1208
|
-
});
|
|
845
|
+
b.m("POST").h(headers).b(body);
|
|
846
|
+
return b.build();
|
|
1209
847
|
};
|
|
1210
848
|
exports.se_UpdateAppCommand = se_UpdateAppCommand;
|
|
1211
849
|
const se_UpdateAppVersionCommand = async (input, context) => {
|
|
1212
|
-
const
|
|
850
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1213
851
|
const headers = {
|
|
1214
852
|
"content-type": "application/json",
|
|
1215
853
|
};
|
|
1216
|
-
|
|
854
|
+
b.bp("/update-app-version");
|
|
1217
855
|
let body;
|
|
1218
856
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1219
857
|
additionalInfo: (_) => (0, smithy_client_1._json)(_),
|
|
1220
858
|
appArn: [],
|
|
1221
859
|
}));
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
hostname,
|
|
1225
|
-
port,
|
|
1226
|
-
method: "POST",
|
|
1227
|
-
headers,
|
|
1228
|
-
path: resolvedPath,
|
|
1229
|
-
body,
|
|
1230
|
-
});
|
|
860
|
+
b.m("POST").h(headers).b(body);
|
|
861
|
+
return b.build();
|
|
1231
862
|
};
|
|
1232
863
|
exports.se_UpdateAppVersionCommand = se_UpdateAppVersionCommand;
|
|
1233
864
|
const se_UpdateAppVersionAppComponentCommand = async (input, context) => {
|
|
1234
|
-
const
|
|
865
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1235
866
|
const headers = {
|
|
1236
867
|
"content-type": "application/json",
|
|
1237
868
|
};
|
|
1238
|
-
|
|
869
|
+
b.bp("/update-app-version-app-component");
|
|
1239
870
|
let body;
|
|
1240
871
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1241
872
|
additionalInfo: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1244,23 +875,16 @@ const se_UpdateAppVersionAppComponentCommand = async (input, context) => {
|
|
|
1244
875
|
name: [],
|
|
1245
876
|
type: [],
|
|
1246
877
|
}));
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
hostname,
|
|
1250
|
-
port,
|
|
1251
|
-
method: "POST",
|
|
1252
|
-
headers,
|
|
1253
|
-
path: resolvedPath,
|
|
1254
|
-
body,
|
|
1255
|
-
});
|
|
878
|
+
b.m("POST").h(headers).b(body);
|
|
879
|
+
return b.build();
|
|
1256
880
|
};
|
|
1257
881
|
exports.se_UpdateAppVersionAppComponentCommand = se_UpdateAppVersionAppComponentCommand;
|
|
1258
882
|
const se_UpdateAppVersionResourceCommand = async (input, context) => {
|
|
1259
|
-
const
|
|
883
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1260
884
|
const headers = {
|
|
1261
885
|
"content-type": "application/json",
|
|
1262
886
|
};
|
|
1263
|
-
|
|
887
|
+
b.bp("/update-app-version-resource");
|
|
1264
888
|
let body;
|
|
1265
889
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1266
890
|
additionalInfo: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1274,23 +898,16 @@ const se_UpdateAppVersionResourceCommand = async (input, context) => {
|
|
|
1274
898
|
resourceName: [],
|
|
1275
899
|
resourceType: [],
|
|
1276
900
|
}));
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
hostname,
|
|
1280
|
-
port,
|
|
1281
|
-
method: "POST",
|
|
1282
|
-
headers,
|
|
1283
|
-
path: resolvedPath,
|
|
1284
|
-
body,
|
|
1285
|
-
});
|
|
901
|
+
b.m("POST").h(headers).b(body);
|
|
902
|
+
return b.build();
|
|
1286
903
|
};
|
|
1287
904
|
exports.se_UpdateAppVersionResourceCommand = se_UpdateAppVersionResourceCommand;
|
|
1288
905
|
const se_UpdateResiliencyPolicyCommand = async (input, context) => {
|
|
1289
|
-
const
|
|
906
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1290
907
|
const headers = {
|
|
1291
908
|
"content-type": "application/json",
|
|
1292
909
|
};
|
|
1293
|
-
|
|
910
|
+
b.bp("/update-resiliency-policy");
|
|
1294
911
|
let body;
|
|
1295
912
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1296
913
|
dataLocationConstraint: [],
|
|
@@ -1300,15 +917,8 @@ const se_UpdateResiliencyPolicyCommand = async (input, context) => {
|
|
|
1300
917
|
policyName: [],
|
|
1301
918
|
tier: [],
|
|
1302
919
|
}));
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
hostname,
|
|
1306
|
-
port,
|
|
1307
|
-
method: "POST",
|
|
1308
|
-
headers,
|
|
1309
|
-
path: resolvedPath,
|
|
1310
|
-
body,
|
|
1311
|
-
});
|
|
920
|
+
b.m("POST").h(headers).b(body);
|
|
921
|
+
return b.build();
|
|
1312
922
|
};
|
|
1313
923
|
exports.se_UpdateResiliencyPolicyCommand = se_UpdateResiliencyPolicyCommand;
|
|
1314
924
|
const de_AddDraftAppVersionResourceMappingsCommand = async (output, context) => {
|
|
@@ -4315,6 +3925,22 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4315
3925
|
value !== "" &&
|
|
4316
3926
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4317
3927
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3928
|
+
const _aA = "appArn";
|
|
3929
|
+
const _aAs = "assessmentArn";
|
|
3930
|
+
const _aN = "assessmentName";
|
|
3931
|
+
const _aS = "assessmentStatus";
|
|
3932
|
+
const _cS = "complianceStatus";
|
|
3933
|
+
const _fLAT = "fromLastAssessmentTime";
|
|
3934
|
+
const _i = "invoker";
|
|
3935
|
+
const _mR = "maxResults";
|
|
3936
|
+
const _n = "name";
|
|
3937
|
+
const _nT = "nextToken";
|
|
3938
|
+
const _pN = "policyName";
|
|
3939
|
+
const _rO = "reverseOrder";
|
|
3940
|
+
const _rTA = "recommendationTemplateArn";
|
|
3941
|
+
const _s = "status";
|
|
3942
|
+
const _tK = "tagKeys";
|
|
3943
|
+
const _tLAT = "toLastAssessmentTime";
|
|
4318
3944
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4319
3945
|
if (encoded.length) {
|
|
4320
3946
|
return JSON.parse(encoded);
|