@aws-sdk/client-imagebuilder 3.476.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 +338 -872
- package/dist-es/protocols/Aws_restJson1.js +339 -873
- package/package.json +5 -4
|
@@ -3,61 +3,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_ListImageScanFindingsCommand = exports.se_ListImageScanFindingAggregationsCommand = exports.se_ListImagesCommand = exports.se_ListImageRecipesCommand = exports.se_ListImagePipelinesCommand = exports.se_ListImagePipelineImagesCommand = exports.se_ListImagePackagesCommand = exports.se_ListImageBuildVersionsCommand = exports.se_ListDistributionConfigurationsCommand = exports.se_ListContainerRecipesCommand = exports.se_ListComponentsCommand = exports.se_ListComponentBuildVersionsCommand = exports.se_ImportVmImageCommand = exports.se_ImportComponentCommand = exports.se_GetWorkflowStepExecutionCommand = exports.se_GetWorkflowExecutionCommand = exports.se_GetWorkflowCommand = exports.se_GetLifecyclePolicyCommand = exports.se_GetLifecycleExecutionCommand = exports.se_GetInfrastructureConfigurationCommand = exports.se_GetImageRecipePolicyCommand = exports.se_GetImageRecipeCommand = exports.se_GetImagePolicyCommand = exports.se_GetImagePipelineCommand = exports.se_GetImageCommand = exports.se_GetDistributionConfigurationCommand = exports.se_GetContainerRecipePolicyCommand = exports.se_GetContainerRecipeCommand = exports.se_GetComponentPolicyCommand = exports.se_GetComponentCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteLifecyclePolicyCommand = exports.se_DeleteInfrastructureConfigurationCommand = exports.se_DeleteImageRecipeCommand = exports.se_DeleteImagePipelineCommand = exports.se_DeleteImageCommand = exports.se_DeleteDistributionConfigurationCommand = exports.se_DeleteContainerRecipeCommand = exports.se_DeleteComponentCommand = exports.se_CreateWorkflowCommand = exports.se_CreateLifecyclePolicyCommand = exports.se_CreateInfrastructureConfigurationCommand = exports.se_CreateImageRecipeCommand = exports.se_CreateImagePipelineCommand = exports.se_CreateImageCommand = exports.se_CreateDistributionConfigurationCommand = exports.se_CreateContainerRecipeCommand = exports.se_CreateComponentCommand = exports.se_CancelLifecycleExecutionCommand = exports.se_CancelImageCreationCommand = void 0;
|
|
4
4
|
exports.de_GetImagePipelineCommand = exports.de_GetImageCommand = exports.de_GetDistributionConfigurationCommand = exports.de_GetContainerRecipePolicyCommand = exports.de_GetContainerRecipeCommand = exports.de_GetComponentPolicyCommand = exports.de_GetComponentCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteLifecyclePolicyCommand = exports.de_DeleteInfrastructureConfigurationCommand = exports.de_DeleteImageRecipeCommand = exports.de_DeleteImagePipelineCommand = exports.de_DeleteImageCommand = exports.de_DeleteDistributionConfigurationCommand = exports.de_DeleteContainerRecipeCommand = exports.de_DeleteComponentCommand = exports.de_CreateWorkflowCommand = exports.de_CreateLifecyclePolicyCommand = exports.de_CreateInfrastructureConfigurationCommand = exports.de_CreateImageRecipeCommand = exports.de_CreateImagePipelineCommand = exports.de_CreateImageCommand = exports.de_CreateDistributionConfigurationCommand = exports.de_CreateContainerRecipeCommand = exports.de_CreateComponentCommand = exports.de_CancelLifecycleExecutionCommand = exports.de_CancelImageCreationCommand = exports.se_UpdateLifecyclePolicyCommand = exports.se_UpdateInfrastructureConfigurationCommand = exports.se_UpdateImagePipelineCommand = exports.se_UpdateDistributionConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartResourceStateUpdateCommand = exports.se_StartImagePipelineExecutionCommand = exports.se_SendWorkflowStepActionCommand = exports.se_PutImageRecipePolicyCommand = exports.se_PutImagePolicyCommand = exports.se_PutContainerRecipePolicyCommand = exports.se_PutComponentPolicyCommand = exports.se_ListWorkflowStepExecutionsCommand = exports.se_ListWorkflowsCommand = exports.se_ListWorkflowExecutionsCommand = exports.se_ListWorkflowBuildVersionsCommand = exports.se_ListWaitingWorkflowStepsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListLifecyclePoliciesCommand = exports.se_ListLifecycleExecutionsCommand = exports.se_ListLifecycleExecutionResourcesCommand = exports.se_ListInfrastructureConfigurationsCommand = void 0;
|
|
5
5
|
exports.de_UpdateLifecyclePolicyCommand = exports.de_UpdateInfrastructureConfigurationCommand = exports.de_UpdateImagePipelineCommand = exports.de_UpdateDistributionConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartResourceStateUpdateCommand = exports.de_StartImagePipelineExecutionCommand = exports.de_SendWorkflowStepActionCommand = exports.de_PutImageRecipePolicyCommand = exports.de_PutImagePolicyCommand = exports.de_PutContainerRecipePolicyCommand = exports.de_PutComponentPolicyCommand = exports.de_ListWorkflowStepExecutionsCommand = exports.de_ListWorkflowsCommand = exports.de_ListWorkflowExecutionsCommand = exports.de_ListWorkflowBuildVersionsCommand = exports.de_ListWaitingWorkflowStepsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListLifecyclePoliciesCommand = exports.de_ListLifecycleExecutionsCommand = exports.de_ListLifecycleExecutionResourcesCommand = exports.de_ListInfrastructureConfigurationsCommand = exports.de_ListImageScanFindingsCommand = exports.de_ListImageScanFindingAggregationsCommand = exports.de_ListImagesCommand = exports.de_ListImageRecipesCommand = exports.de_ListImagePipelinesCommand = exports.de_ListImagePipelineImagesCommand = exports.de_ListImagePackagesCommand = exports.de_ListImageBuildVersionsCommand = exports.de_ListDistributionConfigurationsCommand = exports.de_ListContainerRecipesCommand = exports.de_ListComponentsCommand = exports.de_ListComponentBuildVersionsCommand = exports.de_ImportVmImageCommand = exports.de_ImportComponentCommand = exports.de_GetWorkflowStepExecutionCommand = exports.de_GetWorkflowExecutionCommand = exports.de_GetWorkflowCommand = exports.de_GetLifecyclePolicyCommand = exports.de_GetLifecycleExecutionCommand = exports.de_GetInfrastructureConfigurationCommand = exports.de_GetImageRecipePolicyCommand = exports.de_GetImageRecipeCommand = exports.de_GetImagePolicyCommand = 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 ImagebuilderServiceException_1 = require("../models/ImagebuilderServiceException");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const se_CancelImageCreationCommand = 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("/CancelImageCreation");
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
19
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
20
20
|
imageBuildVersionArn: [],
|
|
21
21
|
}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hostname,
|
|
25
|
-
port,
|
|
26
|
-
method: "PUT",
|
|
27
|
-
headers,
|
|
28
|
-
path: resolvedPath,
|
|
29
|
-
body,
|
|
30
|
-
});
|
|
22
|
+
b.m("PUT").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
31
24
|
};
|
|
32
25
|
exports.se_CancelImageCreationCommand = se_CancelImageCreationCommand;
|
|
33
26
|
const se_CancelLifecycleExecutionCommand = 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("/CancelLifecycleExecution");
|
|
39
32
|
let body;
|
|
40
33
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
41
34
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
42
35
|
lifecycleExecutionId: [],
|
|
43
36
|
}));
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
hostname,
|
|
47
|
-
port,
|
|
48
|
-
method: "PUT",
|
|
49
|
-
headers,
|
|
50
|
-
path: resolvedPath,
|
|
51
|
-
body,
|
|
52
|
-
});
|
|
37
|
+
b.m("PUT").h(headers).b(body);
|
|
38
|
+
return b.build();
|
|
53
39
|
};
|
|
54
40
|
exports.se_CancelLifecycleExecutionCommand = se_CancelLifecycleExecutionCommand;
|
|
55
41
|
const se_CreateComponentCommand = 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("/CreateComponent");
|
|
61
47
|
let body;
|
|
62
48
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
63
49
|
changeDescription: [],
|
|
@@ -72,23 +58,16 @@ const se_CreateComponentCommand = async (input, context) => {
|
|
|
72
58
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
73
59
|
uri: [],
|
|
74
60
|
}));
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
hostname,
|
|
78
|
-
port,
|
|
79
|
-
method: "PUT",
|
|
80
|
-
headers,
|
|
81
|
-
path: resolvedPath,
|
|
82
|
-
body,
|
|
83
|
-
});
|
|
61
|
+
b.m("PUT").h(headers).b(body);
|
|
62
|
+
return b.build();
|
|
84
63
|
};
|
|
85
64
|
exports.se_CreateComponentCommand = se_CreateComponentCommand;
|
|
86
65
|
const se_CreateContainerRecipeCommand = async (input, context) => {
|
|
87
|
-
const
|
|
66
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
88
67
|
const headers = {
|
|
89
68
|
"content-type": "application/json",
|
|
90
69
|
};
|
|
91
|
-
|
|
70
|
+
b.bp("/CreateContainerRecipe");
|
|
92
71
|
let body;
|
|
93
72
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
73
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -108,23 +87,16 @@ const se_CreateContainerRecipeCommand = async (input, context) => {
|
|
|
108
87
|
targetRepository: (_) => (0, smithy_client_1._json)(_),
|
|
109
88
|
workingDirectory: [],
|
|
110
89
|
}));
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
hostname,
|
|
114
|
-
port,
|
|
115
|
-
method: "PUT",
|
|
116
|
-
headers,
|
|
117
|
-
path: resolvedPath,
|
|
118
|
-
body,
|
|
119
|
-
});
|
|
90
|
+
b.m("PUT").h(headers).b(body);
|
|
91
|
+
return b.build();
|
|
120
92
|
};
|
|
121
93
|
exports.se_CreateContainerRecipeCommand = se_CreateContainerRecipeCommand;
|
|
122
94
|
const se_CreateDistributionConfigurationCommand = async (input, context) => {
|
|
123
|
-
const
|
|
95
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
124
96
|
const headers = {
|
|
125
97
|
"content-type": "application/json",
|
|
126
98
|
};
|
|
127
|
-
|
|
99
|
+
b.bp("/CreateDistributionConfiguration");
|
|
128
100
|
let body;
|
|
129
101
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
130
102
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -133,23 +105,16 @@ const se_CreateDistributionConfigurationCommand = async (input, context) => {
|
|
|
133
105
|
name: [],
|
|
134
106
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
135
107
|
}));
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
hostname,
|
|
139
|
-
port,
|
|
140
|
-
method: "PUT",
|
|
141
|
-
headers,
|
|
142
|
-
path: resolvedPath,
|
|
143
|
-
body,
|
|
144
|
-
});
|
|
108
|
+
b.m("PUT").h(headers).b(body);
|
|
109
|
+
return b.build();
|
|
145
110
|
};
|
|
146
111
|
exports.se_CreateDistributionConfigurationCommand = se_CreateDistributionConfigurationCommand;
|
|
147
112
|
const se_CreateImageCommand = async (input, context) => {
|
|
148
|
-
const
|
|
113
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
149
114
|
const headers = {
|
|
150
115
|
"content-type": "application/json",
|
|
151
116
|
};
|
|
152
|
-
|
|
117
|
+
b.bp("/CreateImage");
|
|
153
118
|
let body;
|
|
154
119
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
155
120
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -164,23 +129,16 @@ const se_CreateImageCommand = async (input, context) => {
|
|
|
164
129
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
165
130
|
workflows: (_) => (0, smithy_client_1._json)(_),
|
|
166
131
|
}));
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
hostname,
|
|
170
|
-
port,
|
|
171
|
-
method: "PUT",
|
|
172
|
-
headers,
|
|
173
|
-
path: resolvedPath,
|
|
174
|
-
body,
|
|
175
|
-
});
|
|
132
|
+
b.m("PUT").h(headers).b(body);
|
|
133
|
+
return b.build();
|
|
176
134
|
};
|
|
177
135
|
exports.se_CreateImageCommand = se_CreateImageCommand;
|
|
178
136
|
const se_CreateImagePipelineCommand = async (input, context) => {
|
|
179
|
-
const
|
|
137
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
180
138
|
const headers = {
|
|
181
139
|
"content-type": "application/json",
|
|
182
140
|
};
|
|
183
|
-
|
|
141
|
+
b.bp("/CreateImagePipeline");
|
|
184
142
|
let body;
|
|
185
143
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
186
144
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -199,23 +157,16 @@ const se_CreateImagePipelineCommand = async (input, context) => {
|
|
|
199
157
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
200
158
|
workflows: (_) => (0, smithy_client_1._json)(_),
|
|
201
159
|
}));
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
hostname,
|
|
205
|
-
port,
|
|
206
|
-
method: "PUT",
|
|
207
|
-
headers,
|
|
208
|
-
path: resolvedPath,
|
|
209
|
-
body,
|
|
210
|
-
});
|
|
160
|
+
b.m("PUT").h(headers).b(body);
|
|
161
|
+
return b.build();
|
|
211
162
|
};
|
|
212
163
|
exports.se_CreateImagePipelineCommand = se_CreateImagePipelineCommand;
|
|
213
164
|
const se_CreateImageRecipeCommand = async (input, context) => {
|
|
214
|
-
const
|
|
165
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
215
166
|
const headers = {
|
|
216
167
|
"content-type": "application/json",
|
|
217
168
|
};
|
|
218
|
-
|
|
169
|
+
b.bp("/CreateImageRecipe");
|
|
219
170
|
let body;
|
|
220
171
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
221
172
|
additionalInstanceConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -229,23 +180,16 @@ const se_CreateImageRecipeCommand = async (input, context) => {
|
|
|
229
180
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
230
181
|
workingDirectory: [],
|
|
231
182
|
}));
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
hostname,
|
|
235
|
-
port,
|
|
236
|
-
method: "PUT",
|
|
237
|
-
headers,
|
|
238
|
-
path: resolvedPath,
|
|
239
|
-
body,
|
|
240
|
-
});
|
|
183
|
+
b.m("PUT").h(headers).b(body);
|
|
184
|
+
return b.build();
|
|
241
185
|
};
|
|
242
186
|
exports.se_CreateImageRecipeCommand = se_CreateImageRecipeCommand;
|
|
243
187
|
const se_CreateInfrastructureConfigurationCommand = async (input, context) => {
|
|
244
|
-
const
|
|
188
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
245
189
|
const headers = {
|
|
246
190
|
"content-type": "application/json",
|
|
247
191
|
};
|
|
248
|
-
|
|
192
|
+
b.bp("/CreateInfrastructureConfiguration");
|
|
249
193
|
let body;
|
|
250
194
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
251
195
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -263,23 +207,16 @@ const se_CreateInfrastructureConfigurationCommand = async (input, context) => {
|
|
|
263
207
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
264
208
|
terminateInstanceOnFailure: [],
|
|
265
209
|
}));
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
hostname,
|
|
269
|
-
port,
|
|
270
|
-
method: "PUT",
|
|
271
|
-
headers,
|
|
272
|
-
path: resolvedPath,
|
|
273
|
-
body,
|
|
274
|
-
});
|
|
210
|
+
b.m("PUT").h(headers).b(body);
|
|
211
|
+
return b.build();
|
|
275
212
|
};
|
|
276
213
|
exports.se_CreateInfrastructureConfigurationCommand = se_CreateInfrastructureConfigurationCommand;
|
|
277
214
|
const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
278
|
-
const
|
|
215
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
279
216
|
const headers = {
|
|
280
217
|
"content-type": "application/json",
|
|
281
218
|
};
|
|
282
|
-
|
|
219
|
+
b.bp("/CreateLifecyclePolicy");
|
|
283
220
|
let body;
|
|
284
221
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
285
222
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -292,23 +229,16 @@ const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
|
292
229
|
status: [],
|
|
293
230
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
294
231
|
}));
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
hostname,
|
|
298
|
-
port,
|
|
299
|
-
method: "PUT",
|
|
300
|
-
headers,
|
|
301
|
-
path: resolvedPath,
|
|
302
|
-
body,
|
|
303
|
-
});
|
|
232
|
+
b.m("PUT").h(headers).b(body);
|
|
233
|
+
return b.build();
|
|
304
234
|
};
|
|
305
235
|
exports.se_CreateLifecyclePolicyCommand = se_CreateLifecyclePolicyCommand;
|
|
306
236
|
const se_CreateWorkflowCommand = async (input, context) => {
|
|
307
|
-
const
|
|
237
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
308
238
|
const headers = {
|
|
309
239
|
"content-type": "application/json",
|
|
310
240
|
};
|
|
311
|
-
|
|
241
|
+
b.bp("/CreateWorkflow");
|
|
312
242
|
let body;
|
|
313
243
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
314
244
|
changeDescription: [],
|
|
@@ -322,535 +252,316 @@ const se_CreateWorkflowCommand = async (input, context) => {
|
|
|
322
252
|
type: [],
|
|
323
253
|
uri: [],
|
|
324
254
|
}));
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
hostname,
|
|
328
|
-
port,
|
|
329
|
-
method: "PUT",
|
|
330
|
-
headers,
|
|
331
|
-
path: resolvedPath,
|
|
332
|
-
body,
|
|
333
|
-
});
|
|
255
|
+
b.m("PUT").h(headers).b(body);
|
|
256
|
+
return b.build();
|
|
334
257
|
};
|
|
335
258
|
exports.se_CreateWorkflowCommand = se_CreateWorkflowCommand;
|
|
336
259
|
const se_DeleteComponentCommand = async (input, context) => {
|
|
337
|
-
const
|
|
260
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
338
261
|
const headers = {};
|
|
339
|
-
|
|
262
|
+
b.bp("/DeleteComponent");
|
|
340
263
|
const query = (0, smithy_client_1.map)({
|
|
341
|
-
|
|
264
|
+
[_cBVA]: [, (0, smithy_client_1.expectNonNull)(input[_cBVA], `componentBuildVersionArn`)],
|
|
342
265
|
});
|
|
343
266
|
let body;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
hostname,
|
|
347
|
-
port,
|
|
348
|
-
method: "DELETE",
|
|
349
|
-
headers,
|
|
350
|
-
path: resolvedPath,
|
|
351
|
-
query,
|
|
352
|
-
body,
|
|
353
|
-
});
|
|
267
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
268
|
+
return b.build();
|
|
354
269
|
};
|
|
355
270
|
exports.se_DeleteComponentCommand = se_DeleteComponentCommand;
|
|
356
271
|
const se_DeleteContainerRecipeCommand = async (input, context) => {
|
|
357
|
-
const
|
|
272
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
358
273
|
const headers = {};
|
|
359
|
-
|
|
274
|
+
b.bp("/DeleteContainerRecipe");
|
|
360
275
|
const query = (0, smithy_client_1.map)({
|
|
361
|
-
|
|
276
|
+
[_cRA]: [, (0, smithy_client_1.expectNonNull)(input[_cRA], `containerRecipeArn`)],
|
|
362
277
|
});
|
|
363
278
|
let body;
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
hostname,
|
|
367
|
-
port,
|
|
368
|
-
method: "DELETE",
|
|
369
|
-
headers,
|
|
370
|
-
path: resolvedPath,
|
|
371
|
-
query,
|
|
372
|
-
body,
|
|
373
|
-
});
|
|
279
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
280
|
+
return b.build();
|
|
374
281
|
};
|
|
375
282
|
exports.se_DeleteContainerRecipeCommand = se_DeleteContainerRecipeCommand;
|
|
376
283
|
const se_DeleteDistributionConfigurationCommand = async (input, context) => {
|
|
377
|
-
const
|
|
284
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
378
285
|
const headers = {};
|
|
379
|
-
|
|
286
|
+
b.bp("/DeleteDistributionConfiguration");
|
|
380
287
|
const query = (0, smithy_client_1.map)({
|
|
381
|
-
|
|
382
|
-
,
|
|
383
|
-
(0, smithy_client_1.expectNonNull)(input.distributionConfigurationArn, `distributionConfigurationArn`),
|
|
384
|
-
],
|
|
288
|
+
[_dCA]: [, (0, smithy_client_1.expectNonNull)(input[_dCA], `distributionConfigurationArn`)],
|
|
385
289
|
});
|
|
386
290
|
let body;
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
hostname,
|
|
390
|
-
port,
|
|
391
|
-
method: "DELETE",
|
|
392
|
-
headers,
|
|
393
|
-
path: resolvedPath,
|
|
394
|
-
query,
|
|
395
|
-
body,
|
|
396
|
-
});
|
|
291
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
292
|
+
return b.build();
|
|
397
293
|
};
|
|
398
294
|
exports.se_DeleteDistributionConfigurationCommand = se_DeleteDistributionConfigurationCommand;
|
|
399
295
|
const se_DeleteImageCommand = async (input, context) => {
|
|
400
|
-
const
|
|
296
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
401
297
|
const headers = {};
|
|
402
|
-
|
|
298
|
+
b.bp("/DeleteImage");
|
|
403
299
|
const query = (0, smithy_client_1.map)({
|
|
404
|
-
|
|
300
|
+
[_iBVA]: [, (0, smithy_client_1.expectNonNull)(input[_iBVA], `imageBuildVersionArn`)],
|
|
405
301
|
});
|
|
406
302
|
let body;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
hostname,
|
|
410
|
-
port,
|
|
411
|
-
method: "DELETE",
|
|
412
|
-
headers,
|
|
413
|
-
path: resolvedPath,
|
|
414
|
-
query,
|
|
415
|
-
body,
|
|
416
|
-
});
|
|
303
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
304
|
+
return b.build();
|
|
417
305
|
};
|
|
418
306
|
exports.se_DeleteImageCommand = se_DeleteImageCommand;
|
|
419
307
|
const se_DeleteImagePipelineCommand = async (input, context) => {
|
|
420
|
-
const
|
|
308
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
421
309
|
const headers = {};
|
|
422
|
-
|
|
310
|
+
b.bp("/DeleteImagePipeline");
|
|
423
311
|
const query = (0, smithy_client_1.map)({
|
|
424
|
-
|
|
312
|
+
[_iPA]: [, (0, smithy_client_1.expectNonNull)(input[_iPA], `imagePipelineArn`)],
|
|
425
313
|
});
|
|
426
314
|
let body;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
hostname,
|
|
430
|
-
port,
|
|
431
|
-
method: "DELETE",
|
|
432
|
-
headers,
|
|
433
|
-
path: resolvedPath,
|
|
434
|
-
query,
|
|
435
|
-
body,
|
|
436
|
-
});
|
|
315
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
316
|
+
return b.build();
|
|
437
317
|
};
|
|
438
318
|
exports.se_DeleteImagePipelineCommand = se_DeleteImagePipelineCommand;
|
|
439
319
|
const se_DeleteImageRecipeCommand = async (input, context) => {
|
|
440
|
-
const
|
|
320
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
441
321
|
const headers = {};
|
|
442
|
-
|
|
322
|
+
b.bp("/DeleteImageRecipe");
|
|
443
323
|
const query = (0, smithy_client_1.map)({
|
|
444
|
-
|
|
324
|
+
[_iRA]: [, (0, smithy_client_1.expectNonNull)(input[_iRA], `imageRecipeArn`)],
|
|
445
325
|
});
|
|
446
326
|
let body;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
hostname,
|
|
450
|
-
port,
|
|
451
|
-
method: "DELETE",
|
|
452
|
-
headers,
|
|
453
|
-
path: resolvedPath,
|
|
454
|
-
query,
|
|
455
|
-
body,
|
|
456
|
-
});
|
|
327
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
328
|
+
return b.build();
|
|
457
329
|
};
|
|
458
330
|
exports.se_DeleteImageRecipeCommand = se_DeleteImageRecipeCommand;
|
|
459
331
|
const se_DeleteInfrastructureConfigurationCommand = async (input, context) => {
|
|
460
|
-
const
|
|
332
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
461
333
|
const headers = {};
|
|
462
|
-
|
|
334
|
+
b.bp("/DeleteInfrastructureConfiguration");
|
|
463
335
|
const query = (0, smithy_client_1.map)({
|
|
464
|
-
|
|
465
|
-
,
|
|
466
|
-
(0, smithy_client_1.expectNonNull)(input.infrastructureConfigurationArn, `infrastructureConfigurationArn`),
|
|
467
|
-
],
|
|
336
|
+
[_iCA]: [, (0, smithy_client_1.expectNonNull)(input[_iCA], `infrastructureConfigurationArn`)],
|
|
468
337
|
});
|
|
469
338
|
let body;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
hostname,
|
|
473
|
-
port,
|
|
474
|
-
method: "DELETE",
|
|
475
|
-
headers,
|
|
476
|
-
path: resolvedPath,
|
|
477
|
-
query,
|
|
478
|
-
body,
|
|
479
|
-
});
|
|
339
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
340
|
+
return b.build();
|
|
480
341
|
};
|
|
481
342
|
exports.se_DeleteInfrastructureConfigurationCommand = se_DeleteInfrastructureConfigurationCommand;
|
|
482
343
|
const se_DeleteLifecyclePolicyCommand = async (input, context) => {
|
|
483
|
-
const
|
|
344
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
484
345
|
const headers = {};
|
|
485
|
-
|
|
346
|
+
b.bp("/DeleteLifecyclePolicy");
|
|
486
347
|
const query = (0, smithy_client_1.map)({
|
|
487
|
-
|
|
348
|
+
[_lPA]: [, (0, smithy_client_1.expectNonNull)(input[_lPA], `lifecyclePolicyArn`)],
|
|
488
349
|
});
|
|
489
350
|
let body;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
hostname,
|
|
493
|
-
port,
|
|
494
|
-
method: "DELETE",
|
|
495
|
-
headers,
|
|
496
|
-
path: resolvedPath,
|
|
497
|
-
query,
|
|
498
|
-
body,
|
|
499
|
-
});
|
|
351
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
352
|
+
return b.build();
|
|
500
353
|
};
|
|
501
354
|
exports.se_DeleteLifecyclePolicyCommand = se_DeleteLifecyclePolicyCommand;
|
|
502
355
|
const se_DeleteWorkflowCommand = async (input, context) => {
|
|
503
|
-
const
|
|
356
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
504
357
|
const headers = {};
|
|
505
|
-
|
|
358
|
+
b.bp("/DeleteWorkflow");
|
|
506
359
|
const query = (0, smithy_client_1.map)({
|
|
507
|
-
|
|
360
|
+
[_wBVA]: [, (0, smithy_client_1.expectNonNull)(input[_wBVA], `workflowBuildVersionArn`)],
|
|
508
361
|
});
|
|
509
362
|
let body;
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
hostname,
|
|
513
|
-
port,
|
|
514
|
-
method: "DELETE",
|
|
515
|
-
headers,
|
|
516
|
-
path: resolvedPath,
|
|
517
|
-
query,
|
|
518
|
-
body,
|
|
519
|
-
});
|
|
363
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
364
|
+
return b.build();
|
|
520
365
|
};
|
|
521
366
|
exports.se_DeleteWorkflowCommand = se_DeleteWorkflowCommand;
|
|
522
367
|
const se_GetComponentCommand = async (input, context) => {
|
|
523
|
-
const
|
|
368
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
524
369
|
const headers = {};
|
|
525
|
-
|
|
370
|
+
b.bp("/GetComponent");
|
|
526
371
|
const query = (0, smithy_client_1.map)({
|
|
527
|
-
|
|
372
|
+
[_cBVA]: [, (0, smithy_client_1.expectNonNull)(input[_cBVA], `componentBuildVersionArn`)],
|
|
528
373
|
});
|
|
529
374
|
let body;
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
hostname,
|
|
533
|
-
port,
|
|
534
|
-
method: "GET",
|
|
535
|
-
headers,
|
|
536
|
-
path: resolvedPath,
|
|
537
|
-
query,
|
|
538
|
-
body,
|
|
539
|
-
});
|
|
375
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
376
|
+
return b.build();
|
|
540
377
|
};
|
|
541
378
|
exports.se_GetComponentCommand = se_GetComponentCommand;
|
|
542
379
|
const se_GetComponentPolicyCommand = async (input, context) => {
|
|
543
|
-
const
|
|
380
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
544
381
|
const headers = {};
|
|
545
|
-
|
|
382
|
+
b.bp("/GetComponentPolicy");
|
|
546
383
|
const query = (0, smithy_client_1.map)({
|
|
547
|
-
|
|
384
|
+
[_cA]: [, (0, smithy_client_1.expectNonNull)(input[_cA], `componentArn`)],
|
|
548
385
|
});
|
|
549
386
|
let body;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
hostname,
|
|
553
|
-
port,
|
|
554
|
-
method: "GET",
|
|
555
|
-
headers,
|
|
556
|
-
path: resolvedPath,
|
|
557
|
-
query,
|
|
558
|
-
body,
|
|
559
|
-
});
|
|
387
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
388
|
+
return b.build();
|
|
560
389
|
};
|
|
561
390
|
exports.se_GetComponentPolicyCommand = se_GetComponentPolicyCommand;
|
|
562
391
|
const se_GetContainerRecipeCommand = async (input, context) => {
|
|
563
|
-
const
|
|
392
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
564
393
|
const headers = {};
|
|
565
|
-
|
|
394
|
+
b.bp("/GetContainerRecipe");
|
|
566
395
|
const query = (0, smithy_client_1.map)({
|
|
567
|
-
|
|
396
|
+
[_cRA]: [, (0, smithy_client_1.expectNonNull)(input[_cRA], `containerRecipeArn`)],
|
|
568
397
|
});
|
|
569
398
|
let body;
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
hostname,
|
|
573
|
-
port,
|
|
574
|
-
method: "GET",
|
|
575
|
-
headers,
|
|
576
|
-
path: resolvedPath,
|
|
577
|
-
query,
|
|
578
|
-
body,
|
|
579
|
-
});
|
|
399
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
400
|
+
return b.build();
|
|
580
401
|
};
|
|
581
402
|
exports.se_GetContainerRecipeCommand = se_GetContainerRecipeCommand;
|
|
582
403
|
const se_GetContainerRecipePolicyCommand = async (input, context) => {
|
|
583
|
-
const
|
|
404
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
584
405
|
const headers = {};
|
|
585
|
-
|
|
406
|
+
b.bp("/GetContainerRecipePolicy");
|
|
586
407
|
const query = (0, smithy_client_1.map)({
|
|
587
|
-
|
|
408
|
+
[_cRA]: [, (0, smithy_client_1.expectNonNull)(input[_cRA], `containerRecipeArn`)],
|
|
588
409
|
});
|
|
589
410
|
let body;
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
hostname,
|
|
593
|
-
port,
|
|
594
|
-
method: "GET",
|
|
595
|
-
headers,
|
|
596
|
-
path: resolvedPath,
|
|
597
|
-
query,
|
|
598
|
-
body,
|
|
599
|
-
});
|
|
411
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
412
|
+
return b.build();
|
|
600
413
|
};
|
|
601
414
|
exports.se_GetContainerRecipePolicyCommand = se_GetContainerRecipePolicyCommand;
|
|
602
415
|
const se_GetDistributionConfigurationCommand = async (input, context) => {
|
|
603
|
-
const
|
|
416
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
604
417
|
const headers = {};
|
|
605
|
-
|
|
418
|
+
b.bp("/GetDistributionConfiguration");
|
|
606
419
|
const query = (0, smithy_client_1.map)({
|
|
607
|
-
|
|
608
|
-
,
|
|
609
|
-
(0, smithy_client_1.expectNonNull)(input.distributionConfigurationArn, `distributionConfigurationArn`),
|
|
610
|
-
],
|
|
420
|
+
[_dCA]: [, (0, smithy_client_1.expectNonNull)(input[_dCA], `distributionConfigurationArn`)],
|
|
611
421
|
});
|
|
612
422
|
let body;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
hostname,
|
|
616
|
-
port,
|
|
617
|
-
method: "GET",
|
|
618
|
-
headers,
|
|
619
|
-
path: resolvedPath,
|
|
620
|
-
query,
|
|
621
|
-
body,
|
|
622
|
-
});
|
|
423
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
424
|
+
return b.build();
|
|
623
425
|
};
|
|
624
426
|
exports.se_GetDistributionConfigurationCommand = se_GetDistributionConfigurationCommand;
|
|
625
427
|
const se_GetImageCommand = async (input, context) => {
|
|
626
|
-
const
|
|
428
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
627
429
|
const headers = {};
|
|
628
|
-
|
|
430
|
+
b.bp("/GetImage");
|
|
629
431
|
const query = (0, smithy_client_1.map)({
|
|
630
|
-
|
|
432
|
+
[_iBVA]: [, (0, smithy_client_1.expectNonNull)(input[_iBVA], `imageBuildVersionArn`)],
|
|
631
433
|
});
|
|
632
434
|
let body;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
hostname,
|
|
636
|
-
port,
|
|
637
|
-
method: "GET",
|
|
638
|
-
headers,
|
|
639
|
-
path: resolvedPath,
|
|
640
|
-
query,
|
|
641
|
-
body,
|
|
642
|
-
});
|
|
435
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
436
|
+
return b.build();
|
|
643
437
|
};
|
|
644
438
|
exports.se_GetImageCommand = se_GetImageCommand;
|
|
645
439
|
const se_GetImagePipelineCommand = async (input, context) => {
|
|
646
|
-
const
|
|
440
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
647
441
|
const headers = {};
|
|
648
|
-
|
|
442
|
+
b.bp("/GetImagePipeline");
|
|
649
443
|
const query = (0, smithy_client_1.map)({
|
|
650
|
-
|
|
444
|
+
[_iPA]: [, (0, smithy_client_1.expectNonNull)(input[_iPA], `imagePipelineArn`)],
|
|
651
445
|
});
|
|
652
446
|
let body;
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
hostname,
|
|
656
|
-
port,
|
|
657
|
-
method: "GET",
|
|
658
|
-
headers,
|
|
659
|
-
path: resolvedPath,
|
|
660
|
-
query,
|
|
661
|
-
body,
|
|
662
|
-
});
|
|
447
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
448
|
+
return b.build();
|
|
663
449
|
};
|
|
664
450
|
exports.se_GetImagePipelineCommand = se_GetImagePipelineCommand;
|
|
665
451
|
const se_GetImagePolicyCommand = async (input, context) => {
|
|
666
|
-
const
|
|
452
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
667
453
|
const headers = {};
|
|
668
|
-
|
|
454
|
+
b.bp("/GetImagePolicy");
|
|
669
455
|
const query = (0, smithy_client_1.map)({
|
|
670
|
-
|
|
456
|
+
[_iA]: [, (0, smithy_client_1.expectNonNull)(input[_iA], `imageArn`)],
|
|
671
457
|
});
|
|
672
458
|
let body;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
hostname,
|
|
676
|
-
port,
|
|
677
|
-
method: "GET",
|
|
678
|
-
headers,
|
|
679
|
-
path: resolvedPath,
|
|
680
|
-
query,
|
|
681
|
-
body,
|
|
682
|
-
});
|
|
459
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
460
|
+
return b.build();
|
|
683
461
|
};
|
|
684
462
|
exports.se_GetImagePolicyCommand = se_GetImagePolicyCommand;
|
|
685
463
|
const se_GetImageRecipeCommand = async (input, context) => {
|
|
686
|
-
const
|
|
464
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
687
465
|
const headers = {};
|
|
688
|
-
|
|
466
|
+
b.bp("/GetImageRecipe");
|
|
689
467
|
const query = (0, smithy_client_1.map)({
|
|
690
|
-
|
|
468
|
+
[_iRA]: [, (0, smithy_client_1.expectNonNull)(input[_iRA], `imageRecipeArn`)],
|
|
691
469
|
});
|
|
692
470
|
let body;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
hostname,
|
|
696
|
-
port,
|
|
697
|
-
method: "GET",
|
|
698
|
-
headers,
|
|
699
|
-
path: resolvedPath,
|
|
700
|
-
query,
|
|
701
|
-
body,
|
|
702
|
-
});
|
|
471
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
472
|
+
return b.build();
|
|
703
473
|
};
|
|
704
474
|
exports.se_GetImageRecipeCommand = se_GetImageRecipeCommand;
|
|
705
475
|
const se_GetImageRecipePolicyCommand = async (input, context) => {
|
|
706
|
-
const
|
|
476
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
707
477
|
const headers = {};
|
|
708
|
-
|
|
478
|
+
b.bp("/GetImageRecipePolicy");
|
|
709
479
|
const query = (0, smithy_client_1.map)({
|
|
710
|
-
|
|
480
|
+
[_iRA]: [, (0, smithy_client_1.expectNonNull)(input[_iRA], `imageRecipeArn`)],
|
|
711
481
|
});
|
|
712
482
|
let body;
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
hostname,
|
|
716
|
-
port,
|
|
717
|
-
method: "GET",
|
|
718
|
-
headers,
|
|
719
|
-
path: resolvedPath,
|
|
720
|
-
query,
|
|
721
|
-
body,
|
|
722
|
-
});
|
|
483
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
484
|
+
return b.build();
|
|
723
485
|
};
|
|
724
486
|
exports.se_GetImageRecipePolicyCommand = se_GetImageRecipePolicyCommand;
|
|
725
487
|
const se_GetInfrastructureConfigurationCommand = async (input, context) => {
|
|
726
|
-
const
|
|
488
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
727
489
|
const headers = {};
|
|
728
|
-
|
|
490
|
+
b.bp("/GetInfrastructureConfiguration");
|
|
729
491
|
const query = (0, smithy_client_1.map)({
|
|
730
|
-
|
|
731
|
-
,
|
|
732
|
-
(0, smithy_client_1.expectNonNull)(input.infrastructureConfigurationArn, `infrastructureConfigurationArn`),
|
|
733
|
-
],
|
|
492
|
+
[_iCA]: [, (0, smithy_client_1.expectNonNull)(input[_iCA], `infrastructureConfigurationArn`)],
|
|
734
493
|
});
|
|
735
494
|
let body;
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
hostname,
|
|
739
|
-
port,
|
|
740
|
-
method: "GET",
|
|
741
|
-
headers,
|
|
742
|
-
path: resolvedPath,
|
|
743
|
-
query,
|
|
744
|
-
body,
|
|
745
|
-
});
|
|
495
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
496
|
+
return b.build();
|
|
746
497
|
};
|
|
747
498
|
exports.se_GetInfrastructureConfigurationCommand = se_GetInfrastructureConfigurationCommand;
|
|
748
499
|
const se_GetLifecycleExecutionCommand = async (input, context) => {
|
|
749
|
-
const
|
|
500
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
750
501
|
const headers = {};
|
|
751
|
-
|
|
502
|
+
b.bp("/GetLifecycleExecution");
|
|
752
503
|
const query = (0, smithy_client_1.map)({
|
|
753
|
-
|
|
504
|
+
[_lEI]: [, (0, smithy_client_1.expectNonNull)(input[_lEI], `lifecycleExecutionId`)],
|
|
754
505
|
});
|
|
755
506
|
let body;
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
hostname,
|
|
759
|
-
port,
|
|
760
|
-
method: "GET",
|
|
761
|
-
headers,
|
|
762
|
-
path: resolvedPath,
|
|
763
|
-
query,
|
|
764
|
-
body,
|
|
765
|
-
});
|
|
507
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
508
|
+
return b.build();
|
|
766
509
|
};
|
|
767
510
|
exports.se_GetLifecycleExecutionCommand = se_GetLifecycleExecutionCommand;
|
|
768
511
|
const se_GetLifecyclePolicyCommand = async (input, context) => {
|
|
769
|
-
const
|
|
512
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
770
513
|
const headers = {};
|
|
771
|
-
|
|
514
|
+
b.bp("/GetLifecyclePolicy");
|
|
772
515
|
const query = (0, smithy_client_1.map)({
|
|
773
|
-
|
|
516
|
+
[_lPA]: [, (0, smithy_client_1.expectNonNull)(input[_lPA], `lifecyclePolicyArn`)],
|
|
774
517
|
});
|
|
775
518
|
let body;
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
hostname,
|
|
779
|
-
port,
|
|
780
|
-
method: "GET",
|
|
781
|
-
headers,
|
|
782
|
-
path: resolvedPath,
|
|
783
|
-
query,
|
|
784
|
-
body,
|
|
785
|
-
});
|
|
519
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
520
|
+
return b.build();
|
|
786
521
|
};
|
|
787
522
|
exports.se_GetLifecyclePolicyCommand = se_GetLifecyclePolicyCommand;
|
|
788
523
|
const se_GetWorkflowCommand = async (input, context) => {
|
|
789
|
-
const
|
|
524
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
790
525
|
const headers = {};
|
|
791
|
-
|
|
526
|
+
b.bp("/GetWorkflow");
|
|
792
527
|
const query = (0, smithy_client_1.map)({
|
|
793
|
-
|
|
528
|
+
[_wBVA]: [, (0, smithy_client_1.expectNonNull)(input[_wBVA], `workflowBuildVersionArn`)],
|
|
794
529
|
});
|
|
795
530
|
let body;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
hostname,
|
|
799
|
-
port,
|
|
800
|
-
method: "GET",
|
|
801
|
-
headers,
|
|
802
|
-
path: resolvedPath,
|
|
803
|
-
query,
|
|
804
|
-
body,
|
|
805
|
-
});
|
|
531
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
532
|
+
return b.build();
|
|
806
533
|
};
|
|
807
534
|
exports.se_GetWorkflowCommand = se_GetWorkflowCommand;
|
|
808
535
|
const se_GetWorkflowExecutionCommand = async (input, context) => {
|
|
809
|
-
const
|
|
536
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
810
537
|
const headers = {};
|
|
811
|
-
|
|
538
|
+
b.bp("/GetWorkflowExecution");
|
|
812
539
|
const query = (0, smithy_client_1.map)({
|
|
813
|
-
|
|
540
|
+
[_wEI]: [, (0, smithy_client_1.expectNonNull)(input[_wEI], `workflowExecutionId`)],
|
|
814
541
|
});
|
|
815
542
|
let body;
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
hostname,
|
|
819
|
-
port,
|
|
820
|
-
method: "GET",
|
|
821
|
-
headers,
|
|
822
|
-
path: resolvedPath,
|
|
823
|
-
query,
|
|
824
|
-
body,
|
|
825
|
-
});
|
|
543
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
544
|
+
return b.build();
|
|
826
545
|
};
|
|
827
546
|
exports.se_GetWorkflowExecutionCommand = se_GetWorkflowExecutionCommand;
|
|
828
547
|
const se_GetWorkflowStepExecutionCommand = async (input, context) => {
|
|
829
|
-
const
|
|
548
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
830
549
|
const headers = {};
|
|
831
|
-
|
|
550
|
+
b.bp("/GetWorkflowStepExecution");
|
|
832
551
|
const query = (0, smithy_client_1.map)({
|
|
833
|
-
|
|
552
|
+
[_sEI]: [, (0, smithy_client_1.expectNonNull)(input[_sEI], `stepExecutionId`)],
|
|
834
553
|
});
|
|
835
554
|
let body;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
hostname,
|
|
839
|
-
port,
|
|
840
|
-
method: "GET",
|
|
841
|
-
headers,
|
|
842
|
-
path: resolvedPath,
|
|
843
|
-
query,
|
|
844
|
-
body,
|
|
845
|
-
});
|
|
555
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
556
|
+
return b.build();
|
|
846
557
|
};
|
|
847
558
|
exports.se_GetWorkflowStepExecutionCommand = se_GetWorkflowStepExecutionCommand;
|
|
848
559
|
const se_ImportComponentCommand = async (input, context) => {
|
|
849
|
-
const
|
|
560
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
850
561
|
const headers = {
|
|
851
562
|
"content-type": "application/json",
|
|
852
563
|
};
|
|
853
|
-
|
|
564
|
+
b.bp("/ImportComponent");
|
|
854
565
|
let body;
|
|
855
566
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
856
567
|
changeDescription: [],
|
|
@@ -866,23 +577,16 @@ const se_ImportComponentCommand = async (input, context) => {
|
|
|
866
577
|
type: [],
|
|
867
578
|
uri: [],
|
|
868
579
|
}));
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
hostname,
|
|
872
|
-
port,
|
|
873
|
-
method: "PUT",
|
|
874
|
-
headers,
|
|
875
|
-
path: resolvedPath,
|
|
876
|
-
body,
|
|
877
|
-
});
|
|
580
|
+
b.m("PUT").h(headers).b(body);
|
|
581
|
+
return b.build();
|
|
878
582
|
};
|
|
879
583
|
exports.se_ImportComponentCommand = se_ImportComponentCommand;
|
|
880
584
|
const se_ImportVmImageCommand = async (input, context) => {
|
|
881
|
-
const
|
|
585
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
882
586
|
const headers = {
|
|
883
587
|
"content-type": "application/json",
|
|
884
588
|
};
|
|
885
|
-
|
|
589
|
+
b.bp("/ImportVmImage");
|
|
886
590
|
let body;
|
|
887
591
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
888
592
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -894,46 +598,32 @@ const se_ImportVmImageCommand = async (input, context) => {
|
|
|
894
598
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
895
599
|
vmImportTaskId: [],
|
|
896
600
|
}));
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
hostname,
|
|
900
|
-
port,
|
|
901
|
-
method: "PUT",
|
|
902
|
-
headers,
|
|
903
|
-
path: resolvedPath,
|
|
904
|
-
body,
|
|
905
|
-
});
|
|
601
|
+
b.m("PUT").h(headers).b(body);
|
|
602
|
+
return b.build();
|
|
906
603
|
};
|
|
907
604
|
exports.se_ImportVmImageCommand = se_ImportVmImageCommand;
|
|
908
605
|
const se_ListComponentBuildVersionsCommand = async (input, context) => {
|
|
909
|
-
const
|
|
606
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
910
607
|
const headers = {
|
|
911
608
|
"content-type": "application/json",
|
|
912
609
|
};
|
|
913
|
-
|
|
610
|
+
b.bp("/ListComponentBuildVersions");
|
|
914
611
|
let body;
|
|
915
612
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
916
613
|
componentVersionArn: [],
|
|
917
614
|
maxResults: [],
|
|
918
615
|
nextToken: [],
|
|
919
616
|
}));
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
hostname,
|
|
923
|
-
port,
|
|
924
|
-
method: "POST",
|
|
925
|
-
headers,
|
|
926
|
-
path: resolvedPath,
|
|
927
|
-
body,
|
|
928
|
-
});
|
|
617
|
+
b.m("POST").h(headers).b(body);
|
|
618
|
+
return b.build();
|
|
929
619
|
};
|
|
930
620
|
exports.se_ListComponentBuildVersionsCommand = se_ListComponentBuildVersionsCommand;
|
|
931
621
|
const se_ListComponentsCommand = async (input, context) => {
|
|
932
|
-
const
|
|
622
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
933
623
|
const headers = {
|
|
934
624
|
"content-type": "application/json",
|
|
935
625
|
};
|
|
936
|
-
|
|
626
|
+
b.bp("/ListComponents");
|
|
937
627
|
let body;
|
|
938
628
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
939
629
|
byName: [],
|
|
@@ -942,23 +632,16 @@ const se_ListComponentsCommand = async (input, context) => {
|
|
|
942
632
|
nextToken: [],
|
|
943
633
|
owner: [],
|
|
944
634
|
}));
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
hostname,
|
|
948
|
-
port,
|
|
949
|
-
method: "POST",
|
|
950
|
-
headers,
|
|
951
|
-
path: resolvedPath,
|
|
952
|
-
body,
|
|
953
|
-
});
|
|
635
|
+
b.m("POST").h(headers).b(body);
|
|
636
|
+
return b.build();
|
|
954
637
|
};
|
|
955
638
|
exports.se_ListComponentsCommand = se_ListComponentsCommand;
|
|
956
639
|
const se_ListContainerRecipesCommand = async (input, context) => {
|
|
957
|
-
const
|
|
640
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
958
641
|
const headers = {
|
|
959
642
|
"content-type": "application/json",
|
|
960
643
|
};
|
|
961
|
-
|
|
644
|
+
b.bp("/ListContainerRecipes");
|
|
962
645
|
let body;
|
|
963
646
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
964
647
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -966,46 +649,32 @@ const se_ListContainerRecipesCommand = async (input, context) => {
|
|
|
966
649
|
nextToken: [],
|
|
967
650
|
owner: [],
|
|
968
651
|
}));
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
hostname,
|
|
972
|
-
port,
|
|
973
|
-
method: "POST",
|
|
974
|
-
headers,
|
|
975
|
-
path: resolvedPath,
|
|
976
|
-
body,
|
|
977
|
-
});
|
|
652
|
+
b.m("POST").h(headers).b(body);
|
|
653
|
+
return b.build();
|
|
978
654
|
};
|
|
979
655
|
exports.se_ListContainerRecipesCommand = se_ListContainerRecipesCommand;
|
|
980
656
|
const se_ListDistributionConfigurationsCommand = async (input, context) => {
|
|
981
|
-
const
|
|
657
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
982
658
|
const headers = {
|
|
983
659
|
"content-type": "application/json",
|
|
984
660
|
};
|
|
985
|
-
|
|
661
|
+
b.bp("/ListDistributionConfigurations");
|
|
986
662
|
let body;
|
|
987
663
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
988
664
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
989
665
|
maxResults: [],
|
|
990
666
|
nextToken: [],
|
|
991
667
|
}));
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
hostname,
|
|
995
|
-
port,
|
|
996
|
-
method: "POST",
|
|
997
|
-
headers,
|
|
998
|
-
path: resolvedPath,
|
|
999
|
-
body,
|
|
1000
|
-
});
|
|
668
|
+
b.m("POST").h(headers).b(body);
|
|
669
|
+
return b.build();
|
|
1001
670
|
};
|
|
1002
671
|
exports.se_ListDistributionConfigurationsCommand = se_ListDistributionConfigurationsCommand;
|
|
1003
672
|
const se_ListImageBuildVersionsCommand = async (input, context) => {
|
|
1004
|
-
const
|
|
673
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1005
674
|
const headers = {
|
|
1006
675
|
"content-type": "application/json",
|
|
1007
676
|
};
|
|
1008
|
-
|
|
677
|
+
b.bp("/ListImageBuildVersions");
|
|
1009
678
|
let body;
|
|
1010
679
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1011
680
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1013,46 +682,32 @@ const se_ListImageBuildVersionsCommand = async (input, context) => {
|
|
|
1013
682
|
maxResults: [],
|
|
1014
683
|
nextToken: [],
|
|
1015
684
|
}));
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
hostname,
|
|
1019
|
-
port,
|
|
1020
|
-
method: "POST",
|
|
1021
|
-
headers,
|
|
1022
|
-
path: resolvedPath,
|
|
1023
|
-
body,
|
|
1024
|
-
});
|
|
685
|
+
b.m("POST").h(headers).b(body);
|
|
686
|
+
return b.build();
|
|
1025
687
|
};
|
|
1026
688
|
exports.se_ListImageBuildVersionsCommand = se_ListImageBuildVersionsCommand;
|
|
1027
689
|
const se_ListImagePackagesCommand = async (input, context) => {
|
|
1028
|
-
const
|
|
690
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1029
691
|
const headers = {
|
|
1030
692
|
"content-type": "application/json",
|
|
1031
693
|
};
|
|
1032
|
-
|
|
694
|
+
b.bp("/ListImagePackages");
|
|
1033
695
|
let body;
|
|
1034
696
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1035
697
|
imageBuildVersionArn: [],
|
|
1036
698
|
maxResults: [],
|
|
1037
699
|
nextToken: [],
|
|
1038
700
|
}));
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
hostname,
|
|
1042
|
-
port,
|
|
1043
|
-
method: "POST",
|
|
1044
|
-
headers,
|
|
1045
|
-
path: resolvedPath,
|
|
1046
|
-
body,
|
|
1047
|
-
});
|
|
701
|
+
b.m("POST").h(headers).b(body);
|
|
702
|
+
return b.build();
|
|
1048
703
|
};
|
|
1049
704
|
exports.se_ListImagePackagesCommand = se_ListImagePackagesCommand;
|
|
1050
705
|
const se_ListImagePipelineImagesCommand = async (input, context) => {
|
|
1051
|
-
const
|
|
706
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1052
707
|
const headers = {
|
|
1053
708
|
"content-type": "application/json",
|
|
1054
709
|
};
|
|
1055
|
-
|
|
710
|
+
b.bp("/ListImagePipelineImages");
|
|
1056
711
|
let body;
|
|
1057
712
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1058
713
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1060,46 +715,32 @@ const se_ListImagePipelineImagesCommand = async (input, context) => {
|
|
|
1060
715
|
maxResults: [],
|
|
1061
716
|
nextToken: [],
|
|
1062
717
|
}));
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
hostname,
|
|
1066
|
-
port,
|
|
1067
|
-
method: "POST",
|
|
1068
|
-
headers,
|
|
1069
|
-
path: resolvedPath,
|
|
1070
|
-
body,
|
|
1071
|
-
});
|
|
718
|
+
b.m("POST").h(headers).b(body);
|
|
719
|
+
return b.build();
|
|
1072
720
|
};
|
|
1073
721
|
exports.se_ListImagePipelineImagesCommand = se_ListImagePipelineImagesCommand;
|
|
1074
722
|
const se_ListImagePipelinesCommand = async (input, context) => {
|
|
1075
|
-
const
|
|
723
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1076
724
|
const headers = {
|
|
1077
725
|
"content-type": "application/json",
|
|
1078
726
|
};
|
|
1079
|
-
|
|
727
|
+
b.bp("/ListImagePipelines");
|
|
1080
728
|
let body;
|
|
1081
729
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1082
730
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
1083
731
|
maxResults: [],
|
|
1084
732
|
nextToken: [],
|
|
1085
733
|
}));
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
hostname,
|
|
1089
|
-
port,
|
|
1090
|
-
method: "POST",
|
|
1091
|
-
headers,
|
|
1092
|
-
path: resolvedPath,
|
|
1093
|
-
body,
|
|
1094
|
-
});
|
|
734
|
+
b.m("POST").h(headers).b(body);
|
|
735
|
+
return b.build();
|
|
1095
736
|
};
|
|
1096
737
|
exports.se_ListImagePipelinesCommand = se_ListImagePipelinesCommand;
|
|
1097
738
|
const se_ListImageRecipesCommand = async (input, context) => {
|
|
1098
|
-
const
|
|
739
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1099
740
|
const headers = {
|
|
1100
741
|
"content-type": "application/json",
|
|
1101
742
|
};
|
|
1102
|
-
|
|
743
|
+
b.bp("/ListImageRecipes");
|
|
1103
744
|
let body;
|
|
1104
745
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1105
746
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1107,23 +748,16 @@ const se_ListImageRecipesCommand = async (input, context) => {
|
|
|
1107
748
|
nextToken: [],
|
|
1108
749
|
owner: [],
|
|
1109
750
|
}));
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
hostname,
|
|
1113
|
-
port,
|
|
1114
|
-
method: "POST",
|
|
1115
|
-
headers,
|
|
1116
|
-
path: resolvedPath,
|
|
1117
|
-
body,
|
|
1118
|
-
});
|
|
751
|
+
b.m("POST").h(headers).b(body);
|
|
752
|
+
return b.build();
|
|
1119
753
|
};
|
|
1120
754
|
exports.se_ListImageRecipesCommand = se_ListImageRecipesCommand;
|
|
1121
755
|
const se_ListImagesCommand = async (input, context) => {
|
|
1122
|
-
const
|
|
756
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1123
757
|
const headers = {
|
|
1124
758
|
"content-type": "application/json",
|
|
1125
759
|
};
|
|
1126
|
-
|
|
760
|
+
b.bp("/ListImages");
|
|
1127
761
|
let body;
|
|
1128
762
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1129
763
|
byName: [],
|
|
@@ -1133,91 +767,63 @@ const se_ListImagesCommand = async (input, context) => {
|
|
|
1133
767
|
nextToken: [],
|
|
1134
768
|
owner: [],
|
|
1135
769
|
}));
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
hostname,
|
|
1139
|
-
port,
|
|
1140
|
-
method: "POST",
|
|
1141
|
-
headers,
|
|
1142
|
-
path: resolvedPath,
|
|
1143
|
-
body,
|
|
1144
|
-
});
|
|
770
|
+
b.m("POST").h(headers).b(body);
|
|
771
|
+
return b.build();
|
|
1145
772
|
};
|
|
1146
773
|
exports.se_ListImagesCommand = se_ListImagesCommand;
|
|
1147
774
|
const se_ListImageScanFindingAggregationsCommand = async (input, context) => {
|
|
1148
|
-
const
|
|
775
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1149
776
|
const headers = {
|
|
1150
777
|
"content-type": "application/json",
|
|
1151
778
|
};
|
|
1152
|
-
|
|
779
|
+
b.bp("/ListImageScanFindingAggregations");
|
|
1153
780
|
let body;
|
|
1154
781
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1155
782
|
filter: (_) => (0, smithy_client_1._json)(_),
|
|
1156
783
|
nextToken: [],
|
|
1157
784
|
}));
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
hostname,
|
|
1161
|
-
port,
|
|
1162
|
-
method: "POST",
|
|
1163
|
-
headers,
|
|
1164
|
-
path: resolvedPath,
|
|
1165
|
-
body,
|
|
1166
|
-
});
|
|
785
|
+
b.m("POST").h(headers).b(body);
|
|
786
|
+
return b.build();
|
|
1167
787
|
};
|
|
1168
788
|
exports.se_ListImageScanFindingAggregationsCommand = se_ListImageScanFindingAggregationsCommand;
|
|
1169
789
|
const se_ListImageScanFindingsCommand = async (input, context) => {
|
|
1170
|
-
const
|
|
790
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1171
791
|
const headers = {
|
|
1172
792
|
"content-type": "application/json",
|
|
1173
793
|
};
|
|
1174
|
-
|
|
794
|
+
b.bp("/ListImageScanFindings");
|
|
1175
795
|
let body;
|
|
1176
796
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1177
797
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
1178
798
|
maxResults: [],
|
|
1179
799
|
nextToken: [],
|
|
1180
800
|
}));
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
hostname,
|
|
1184
|
-
port,
|
|
1185
|
-
method: "POST",
|
|
1186
|
-
headers,
|
|
1187
|
-
path: resolvedPath,
|
|
1188
|
-
body,
|
|
1189
|
-
});
|
|
801
|
+
b.m("POST").h(headers).b(body);
|
|
802
|
+
return b.build();
|
|
1190
803
|
};
|
|
1191
804
|
exports.se_ListImageScanFindingsCommand = se_ListImageScanFindingsCommand;
|
|
1192
805
|
const se_ListInfrastructureConfigurationsCommand = async (input, context) => {
|
|
1193
|
-
const
|
|
806
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1194
807
|
const headers = {
|
|
1195
808
|
"content-type": "application/json",
|
|
1196
809
|
};
|
|
1197
|
-
|
|
810
|
+
b.bp("/ListInfrastructureConfigurations");
|
|
1198
811
|
let body;
|
|
1199
812
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1200
813
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
1201
814
|
maxResults: [],
|
|
1202
815
|
nextToken: [],
|
|
1203
816
|
}));
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
hostname,
|
|
1207
|
-
port,
|
|
1208
|
-
method: "POST",
|
|
1209
|
-
headers,
|
|
1210
|
-
path: resolvedPath,
|
|
1211
|
-
body,
|
|
1212
|
-
});
|
|
817
|
+
b.m("POST").h(headers).b(body);
|
|
818
|
+
return b.build();
|
|
1213
819
|
};
|
|
1214
820
|
exports.se_ListInfrastructureConfigurationsCommand = se_ListInfrastructureConfigurationsCommand;
|
|
1215
821
|
const se_ListLifecycleExecutionResourcesCommand = async (input, context) => {
|
|
1216
|
-
const
|
|
822
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1217
823
|
const headers = {
|
|
1218
824
|
"content-type": "application/json",
|
|
1219
825
|
};
|
|
1220
|
-
|
|
826
|
+
b.bp("/ListLifecycleExecutionResources");
|
|
1221
827
|
let body;
|
|
1222
828
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1223
829
|
lifecycleExecutionId: [],
|
|
@@ -1225,154 +831,105 @@ const se_ListLifecycleExecutionResourcesCommand = async (input, context) => {
|
|
|
1225
831
|
nextToken: [],
|
|
1226
832
|
parentResourceId: [],
|
|
1227
833
|
}));
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
hostname,
|
|
1231
|
-
port,
|
|
1232
|
-
method: "POST",
|
|
1233
|
-
headers,
|
|
1234
|
-
path: resolvedPath,
|
|
1235
|
-
body,
|
|
1236
|
-
});
|
|
834
|
+
b.m("POST").h(headers).b(body);
|
|
835
|
+
return b.build();
|
|
1237
836
|
};
|
|
1238
837
|
exports.se_ListLifecycleExecutionResourcesCommand = se_ListLifecycleExecutionResourcesCommand;
|
|
1239
838
|
const se_ListLifecycleExecutionsCommand = async (input, context) => {
|
|
1240
|
-
const
|
|
839
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1241
840
|
const headers = {
|
|
1242
841
|
"content-type": "application/json",
|
|
1243
842
|
};
|
|
1244
|
-
|
|
843
|
+
b.bp("/ListLifecycleExecutions");
|
|
1245
844
|
let body;
|
|
1246
845
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1247
846
|
maxResults: [],
|
|
1248
847
|
nextToken: [],
|
|
1249
848
|
resourceArn: [],
|
|
1250
849
|
}));
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
hostname,
|
|
1254
|
-
port,
|
|
1255
|
-
method: "POST",
|
|
1256
|
-
headers,
|
|
1257
|
-
path: resolvedPath,
|
|
1258
|
-
body,
|
|
1259
|
-
});
|
|
850
|
+
b.m("POST").h(headers).b(body);
|
|
851
|
+
return b.build();
|
|
1260
852
|
};
|
|
1261
853
|
exports.se_ListLifecycleExecutionsCommand = se_ListLifecycleExecutionsCommand;
|
|
1262
854
|
const se_ListLifecyclePoliciesCommand = async (input, context) => {
|
|
1263
|
-
const
|
|
855
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1264
856
|
const headers = {
|
|
1265
857
|
"content-type": "application/json",
|
|
1266
858
|
};
|
|
1267
|
-
|
|
859
|
+
b.bp("/ListLifecyclePolicies");
|
|
1268
860
|
let body;
|
|
1269
861
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1270
862
|
filters: (_) => (0, smithy_client_1._json)(_),
|
|
1271
863
|
maxResults: [],
|
|
1272
864
|
nextToken: [],
|
|
1273
865
|
}));
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
hostname,
|
|
1277
|
-
port,
|
|
1278
|
-
method: "POST",
|
|
1279
|
-
headers,
|
|
1280
|
-
path: resolvedPath,
|
|
1281
|
-
body,
|
|
1282
|
-
});
|
|
866
|
+
b.m("POST").h(headers).b(body);
|
|
867
|
+
return b.build();
|
|
1283
868
|
};
|
|
1284
869
|
exports.se_ListLifecyclePoliciesCommand = se_ListLifecyclePoliciesCommand;
|
|
1285
870
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
1286
|
-
const
|
|
871
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1287
872
|
const headers = {};
|
|
1288
|
-
|
|
1289
|
-
|
|
873
|
+
b.bp("/tags/{resourceArn}");
|
|
874
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1290
875
|
let body;
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
hostname,
|
|
1294
|
-
port,
|
|
1295
|
-
method: "GET",
|
|
1296
|
-
headers,
|
|
1297
|
-
path: resolvedPath,
|
|
1298
|
-
body,
|
|
1299
|
-
});
|
|
876
|
+
b.m("GET").h(headers).b(body);
|
|
877
|
+
return b.build();
|
|
1300
878
|
};
|
|
1301
879
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
1302
880
|
const se_ListWaitingWorkflowStepsCommand = async (input, context) => {
|
|
1303
|
-
const
|
|
881
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1304
882
|
const headers = {
|
|
1305
883
|
"content-type": "application/json",
|
|
1306
884
|
};
|
|
1307
|
-
|
|
885
|
+
b.bp("/ListWaitingWorkflowSteps");
|
|
1308
886
|
let body;
|
|
1309
887
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1310
888
|
maxResults: [],
|
|
1311
889
|
nextToken: [],
|
|
1312
890
|
}));
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
hostname,
|
|
1316
|
-
port,
|
|
1317
|
-
method: "POST",
|
|
1318
|
-
headers,
|
|
1319
|
-
path: resolvedPath,
|
|
1320
|
-
body,
|
|
1321
|
-
});
|
|
891
|
+
b.m("POST").h(headers).b(body);
|
|
892
|
+
return b.build();
|
|
1322
893
|
};
|
|
1323
894
|
exports.se_ListWaitingWorkflowStepsCommand = se_ListWaitingWorkflowStepsCommand;
|
|
1324
895
|
const se_ListWorkflowBuildVersionsCommand = async (input, context) => {
|
|
1325
|
-
const
|
|
896
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1326
897
|
const headers = {
|
|
1327
898
|
"content-type": "application/json",
|
|
1328
899
|
};
|
|
1329
|
-
|
|
900
|
+
b.bp("/ListWorkflowBuildVersions");
|
|
1330
901
|
let body;
|
|
1331
902
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1332
903
|
maxResults: [],
|
|
1333
904
|
nextToken: [],
|
|
1334
905
|
workflowVersionArn: [],
|
|
1335
906
|
}));
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
hostname,
|
|
1339
|
-
port,
|
|
1340
|
-
method: "POST",
|
|
1341
|
-
headers,
|
|
1342
|
-
path: resolvedPath,
|
|
1343
|
-
body,
|
|
1344
|
-
});
|
|
907
|
+
b.m("POST").h(headers).b(body);
|
|
908
|
+
return b.build();
|
|
1345
909
|
};
|
|
1346
910
|
exports.se_ListWorkflowBuildVersionsCommand = se_ListWorkflowBuildVersionsCommand;
|
|
1347
911
|
const se_ListWorkflowExecutionsCommand = async (input, context) => {
|
|
1348
|
-
const
|
|
912
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1349
913
|
const headers = {
|
|
1350
914
|
"content-type": "application/json",
|
|
1351
915
|
};
|
|
1352
|
-
|
|
916
|
+
b.bp("/ListWorkflowExecutions");
|
|
1353
917
|
let body;
|
|
1354
918
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1355
919
|
imageBuildVersionArn: [],
|
|
1356
920
|
maxResults: [],
|
|
1357
921
|
nextToken: [],
|
|
1358
922
|
}));
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
hostname,
|
|
1362
|
-
port,
|
|
1363
|
-
method: "POST",
|
|
1364
|
-
headers,
|
|
1365
|
-
path: resolvedPath,
|
|
1366
|
-
body,
|
|
1367
|
-
});
|
|
923
|
+
b.m("POST").h(headers).b(body);
|
|
924
|
+
return b.build();
|
|
1368
925
|
};
|
|
1369
926
|
exports.se_ListWorkflowExecutionsCommand = se_ListWorkflowExecutionsCommand;
|
|
1370
927
|
const se_ListWorkflowsCommand = async (input, context) => {
|
|
1371
|
-
const
|
|
928
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1372
929
|
const headers = {
|
|
1373
930
|
"content-type": "application/json",
|
|
1374
931
|
};
|
|
1375
|
-
|
|
932
|
+
b.bp("/ListWorkflows");
|
|
1376
933
|
let body;
|
|
1377
934
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1378
935
|
byName: [],
|
|
@@ -1381,134 +938,92 @@ const se_ListWorkflowsCommand = async (input, context) => {
|
|
|
1381
938
|
nextToken: [],
|
|
1382
939
|
owner: [],
|
|
1383
940
|
}));
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
hostname,
|
|
1387
|
-
port,
|
|
1388
|
-
method: "POST",
|
|
1389
|
-
headers,
|
|
1390
|
-
path: resolvedPath,
|
|
1391
|
-
body,
|
|
1392
|
-
});
|
|
941
|
+
b.m("POST").h(headers).b(body);
|
|
942
|
+
return b.build();
|
|
1393
943
|
};
|
|
1394
944
|
exports.se_ListWorkflowsCommand = se_ListWorkflowsCommand;
|
|
1395
945
|
const se_ListWorkflowStepExecutionsCommand = async (input, context) => {
|
|
1396
|
-
const
|
|
946
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1397
947
|
const headers = {
|
|
1398
948
|
"content-type": "application/json",
|
|
1399
949
|
};
|
|
1400
|
-
|
|
950
|
+
b.bp("/ListWorkflowStepExecutions");
|
|
1401
951
|
let body;
|
|
1402
952
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1403
953
|
maxResults: [],
|
|
1404
954
|
nextToken: [],
|
|
1405
955
|
workflowExecutionId: [],
|
|
1406
956
|
}));
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
hostname,
|
|
1410
|
-
port,
|
|
1411
|
-
method: "POST",
|
|
1412
|
-
headers,
|
|
1413
|
-
path: resolvedPath,
|
|
1414
|
-
body,
|
|
1415
|
-
});
|
|
957
|
+
b.m("POST").h(headers).b(body);
|
|
958
|
+
return b.build();
|
|
1416
959
|
};
|
|
1417
960
|
exports.se_ListWorkflowStepExecutionsCommand = se_ListWorkflowStepExecutionsCommand;
|
|
1418
961
|
const se_PutComponentPolicyCommand = async (input, context) => {
|
|
1419
|
-
const
|
|
962
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1420
963
|
const headers = {
|
|
1421
964
|
"content-type": "application/json",
|
|
1422
965
|
};
|
|
1423
|
-
|
|
966
|
+
b.bp("/PutComponentPolicy");
|
|
1424
967
|
let body;
|
|
1425
968
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1426
969
|
componentArn: [],
|
|
1427
970
|
policy: [],
|
|
1428
971
|
}));
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
hostname,
|
|
1432
|
-
port,
|
|
1433
|
-
method: "PUT",
|
|
1434
|
-
headers,
|
|
1435
|
-
path: resolvedPath,
|
|
1436
|
-
body,
|
|
1437
|
-
});
|
|
972
|
+
b.m("PUT").h(headers).b(body);
|
|
973
|
+
return b.build();
|
|
1438
974
|
};
|
|
1439
975
|
exports.se_PutComponentPolicyCommand = se_PutComponentPolicyCommand;
|
|
1440
976
|
const se_PutContainerRecipePolicyCommand = async (input, context) => {
|
|
1441
|
-
const
|
|
977
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1442
978
|
const headers = {
|
|
1443
979
|
"content-type": "application/json",
|
|
1444
980
|
};
|
|
1445
|
-
|
|
981
|
+
b.bp("/PutContainerRecipePolicy");
|
|
1446
982
|
let body;
|
|
1447
983
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1448
984
|
containerRecipeArn: [],
|
|
1449
985
|
policy: [],
|
|
1450
986
|
}));
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
hostname,
|
|
1454
|
-
port,
|
|
1455
|
-
method: "PUT",
|
|
1456
|
-
headers,
|
|
1457
|
-
path: resolvedPath,
|
|
1458
|
-
body,
|
|
1459
|
-
});
|
|
987
|
+
b.m("PUT").h(headers).b(body);
|
|
988
|
+
return b.build();
|
|
1460
989
|
};
|
|
1461
990
|
exports.se_PutContainerRecipePolicyCommand = se_PutContainerRecipePolicyCommand;
|
|
1462
991
|
const se_PutImagePolicyCommand = async (input, context) => {
|
|
1463
|
-
const
|
|
992
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1464
993
|
const headers = {
|
|
1465
994
|
"content-type": "application/json",
|
|
1466
995
|
};
|
|
1467
|
-
|
|
996
|
+
b.bp("/PutImagePolicy");
|
|
1468
997
|
let body;
|
|
1469
998
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1470
999
|
imageArn: [],
|
|
1471
1000
|
policy: [],
|
|
1472
1001
|
}));
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
hostname,
|
|
1476
|
-
port,
|
|
1477
|
-
method: "PUT",
|
|
1478
|
-
headers,
|
|
1479
|
-
path: resolvedPath,
|
|
1480
|
-
body,
|
|
1481
|
-
});
|
|
1002
|
+
b.m("PUT").h(headers).b(body);
|
|
1003
|
+
return b.build();
|
|
1482
1004
|
};
|
|
1483
1005
|
exports.se_PutImagePolicyCommand = se_PutImagePolicyCommand;
|
|
1484
1006
|
const se_PutImageRecipePolicyCommand = async (input, context) => {
|
|
1485
|
-
const
|
|
1007
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1486
1008
|
const headers = {
|
|
1487
1009
|
"content-type": "application/json",
|
|
1488
1010
|
};
|
|
1489
|
-
|
|
1011
|
+
b.bp("/PutImageRecipePolicy");
|
|
1490
1012
|
let body;
|
|
1491
1013
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1492
1014
|
imageRecipeArn: [],
|
|
1493
1015
|
policy: [],
|
|
1494
1016
|
}));
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
hostname,
|
|
1498
|
-
port,
|
|
1499
|
-
method: "PUT",
|
|
1500
|
-
headers,
|
|
1501
|
-
path: resolvedPath,
|
|
1502
|
-
body,
|
|
1503
|
-
});
|
|
1017
|
+
b.m("PUT").h(headers).b(body);
|
|
1018
|
+
return b.build();
|
|
1504
1019
|
};
|
|
1505
1020
|
exports.se_PutImageRecipePolicyCommand = se_PutImageRecipePolicyCommand;
|
|
1506
1021
|
const se_SendWorkflowStepActionCommand = async (input, context) => {
|
|
1507
|
-
const
|
|
1022
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1508
1023
|
const headers = {
|
|
1509
1024
|
"content-type": "application/json",
|
|
1510
1025
|
};
|
|
1511
|
-
|
|
1026
|
+
b.bp("/SendWorkflowStepAction");
|
|
1512
1027
|
let body;
|
|
1513
1028
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1514
1029
|
action: [],
|
|
@@ -1517,45 +1032,31 @@ const se_SendWorkflowStepActionCommand = async (input, context) => {
|
|
|
1517
1032
|
reason: [],
|
|
1518
1033
|
stepExecutionId: [],
|
|
1519
1034
|
}));
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
hostname,
|
|
1523
|
-
port,
|
|
1524
|
-
method: "PUT",
|
|
1525
|
-
headers,
|
|
1526
|
-
path: resolvedPath,
|
|
1527
|
-
body,
|
|
1528
|
-
});
|
|
1035
|
+
b.m("PUT").h(headers).b(body);
|
|
1036
|
+
return b.build();
|
|
1529
1037
|
};
|
|
1530
1038
|
exports.se_SendWorkflowStepActionCommand = se_SendWorkflowStepActionCommand;
|
|
1531
1039
|
const se_StartImagePipelineExecutionCommand = async (input, context) => {
|
|
1532
|
-
const
|
|
1040
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1533
1041
|
const headers = {
|
|
1534
1042
|
"content-type": "application/json",
|
|
1535
1043
|
};
|
|
1536
|
-
|
|
1044
|
+
b.bp("/StartImagePipelineExecution");
|
|
1537
1045
|
let body;
|
|
1538
1046
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1539
1047
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1540
1048
|
imagePipelineArn: [],
|
|
1541
1049
|
}));
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
hostname,
|
|
1545
|
-
port,
|
|
1546
|
-
method: "PUT",
|
|
1547
|
-
headers,
|
|
1548
|
-
path: resolvedPath,
|
|
1549
|
-
body,
|
|
1550
|
-
});
|
|
1050
|
+
b.m("PUT").h(headers).b(body);
|
|
1051
|
+
return b.build();
|
|
1551
1052
|
};
|
|
1552
1053
|
exports.se_StartImagePipelineExecutionCommand = se_StartImagePipelineExecutionCommand;
|
|
1553
1054
|
const se_StartResourceStateUpdateCommand = async (input, context) => {
|
|
1554
|
-
const
|
|
1055
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1555
1056
|
const headers = {
|
|
1556
1057
|
"content-type": "application/json",
|
|
1557
1058
|
};
|
|
1558
|
-
|
|
1059
|
+
b.bp("/StartResourceStateUpdate");
|
|
1559
1060
|
let body;
|
|
1560
1061
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1561
1062
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1566,69 +1067,47 @@ const se_StartResourceStateUpdateCommand = async (input, context) => {
|
|
|
1566
1067
|
state: (_) => (0, smithy_client_1._json)(_),
|
|
1567
1068
|
updateAt: (_) => Math.round(_.getTime() / 1000),
|
|
1568
1069
|
}));
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
hostname,
|
|
1572
|
-
port,
|
|
1573
|
-
method: "PUT",
|
|
1574
|
-
headers,
|
|
1575
|
-
path: resolvedPath,
|
|
1576
|
-
body,
|
|
1577
|
-
});
|
|
1070
|
+
b.m("PUT").h(headers).b(body);
|
|
1071
|
+
return b.build();
|
|
1578
1072
|
};
|
|
1579
1073
|
exports.se_StartResourceStateUpdateCommand = se_StartResourceStateUpdateCommand;
|
|
1580
1074
|
const se_TagResourceCommand = async (input, context) => {
|
|
1581
|
-
const
|
|
1075
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1582
1076
|
const headers = {
|
|
1583
1077
|
"content-type": "application/json",
|
|
1584
1078
|
};
|
|
1585
|
-
|
|
1586
|
-
|
|
1079
|
+
b.bp("/tags/{resourceArn}");
|
|
1080
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1587
1081
|
let body;
|
|
1588
1082
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1589
1083
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1590
1084
|
}));
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
hostname,
|
|
1594
|
-
port,
|
|
1595
|
-
method: "POST",
|
|
1596
|
-
headers,
|
|
1597
|
-
path: resolvedPath,
|
|
1598
|
-
body,
|
|
1599
|
-
});
|
|
1085
|
+
b.m("POST").h(headers).b(body);
|
|
1086
|
+
return b.build();
|
|
1600
1087
|
};
|
|
1601
1088
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1602
1089
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1603
|
-
const
|
|
1090
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1604
1091
|
const headers = {};
|
|
1605
|
-
|
|
1606
|
-
|
|
1092
|
+
b.bp("/tags/{resourceArn}");
|
|
1093
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1607
1094
|
const query = (0, smithy_client_1.map)({
|
|
1608
|
-
|
|
1095
|
+
[_tK]: [
|
|
1609
1096
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1610
|
-
() => (input
|
|
1097
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1611
1098
|
],
|
|
1612
1099
|
});
|
|
1613
1100
|
let body;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
hostname,
|
|
1617
|
-
port,
|
|
1618
|
-
method: "DELETE",
|
|
1619
|
-
headers,
|
|
1620
|
-
path: resolvedPath,
|
|
1621
|
-
query,
|
|
1622
|
-
body,
|
|
1623
|
-
});
|
|
1101
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1102
|
+
return b.build();
|
|
1624
1103
|
};
|
|
1625
1104
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1626
1105
|
const se_UpdateDistributionConfigurationCommand = async (input, context) => {
|
|
1627
|
-
const
|
|
1106
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1628
1107
|
const headers = {
|
|
1629
1108
|
"content-type": "application/json",
|
|
1630
1109
|
};
|
|
1631
|
-
|
|
1110
|
+
b.bp("/UpdateDistributionConfiguration");
|
|
1632
1111
|
let body;
|
|
1633
1112
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1634
1113
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1636,23 +1115,16 @@ const se_UpdateDistributionConfigurationCommand = async (input, context) => {
|
|
|
1636
1115
|
distributionConfigurationArn: [],
|
|
1637
1116
|
distributions: (_) => (0, smithy_client_1._json)(_),
|
|
1638
1117
|
}));
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
hostname,
|
|
1642
|
-
port,
|
|
1643
|
-
method: "PUT",
|
|
1644
|
-
headers,
|
|
1645
|
-
path: resolvedPath,
|
|
1646
|
-
body,
|
|
1647
|
-
});
|
|
1118
|
+
b.m("PUT").h(headers).b(body);
|
|
1119
|
+
return b.build();
|
|
1648
1120
|
};
|
|
1649
1121
|
exports.se_UpdateDistributionConfigurationCommand = se_UpdateDistributionConfigurationCommand;
|
|
1650
1122
|
const se_UpdateImagePipelineCommand = async (input, context) => {
|
|
1651
|
-
const
|
|
1123
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1652
1124
|
const headers = {
|
|
1653
1125
|
"content-type": "application/json",
|
|
1654
1126
|
};
|
|
1655
|
-
|
|
1127
|
+
b.bp("/UpdateImagePipeline");
|
|
1656
1128
|
let body;
|
|
1657
1129
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1658
1130
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1670,23 +1142,16 @@ const se_UpdateImagePipelineCommand = async (input, context) => {
|
|
|
1670
1142
|
status: [],
|
|
1671
1143
|
workflows: (_) => (0, smithy_client_1._json)(_),
|
|
1672
1144
|
}));
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
hostname,
|
|
1676
|
-
port,
|
|
1677
|
-
method: "PUT",
|
|
1678
|
-
headers,
|
|
1679
|
-
path: resolvedPath,
|
|
1680
|
-
body,
|
|
1681
|
-
});
|
|
1145
|
+
b.m("PUT").h(headers).b(body);
|
|
1146
|
+
return b.build();
|
|
1682
1147
|
};
|
|
1683
1148
|
exports.se_UpdateImagePipelineCommand = se_UpdateImagePipelineCommand;
|
|
1684
1149
|
const se_UpdateInfrastructureConfigurationCommand = async (input, context) => {
|
|
1685
|
-
const
|
|
1150
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1686
1151
|
const headers = {
|
|
1687
1152
|
"content-type": "application/json",
|
|
1688
1153
|
};
|
|
1689
|
-
|
|
1154
|
+
b.bp("/UpdateInfrastructureConfiguration");
|
|
1690
1155
|
let body;
|
|
1691
1156
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1692
1157
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1703,23 +1168,16 @@ const se_UpdateInfrastructureConfigurationCommand = async (input, context) => {
|
|
|
1703
1168
|
subnetId: [],
|
|
1704
1169
|
terminateInstanceOnFailure: [],
|
|
1705
1170
|
}));
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
hostname,
|
|
1709
|
-
port,
|
|
1710
|
-
method: "PUT",
|
|
1711
|
-
headers,
|
|
1712
|
-
path: resolvedPath,
|
|
1713
|
-
body,
|
|
1714
|
-
});
|
|
1171
|
+
b.m("PUT").h(headers).b(body);
|
|
1172
|
+
return b.build();
|
|
1715
1173
|
};
|
|
1716
1174
|
exports.se_UpdateInfrastructureConfigurationCommand = se_UpdateInfrastructureConfigurationCommand;
|
|
1717
1175
|
const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
1718
|
-
const
|
|
1176
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1719
1177
|
const headers = {
|
|
1720
1178
|
"content-type": "application/json",
|
|
1721
1179
|
};
|
|
1722
|
-
|
|
1180
|
+
b.bp("/UpdateLifecyclePolicy");
|
|
1723
1181
|
let body;
|
|
1724
1182
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1725
1183
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1731,15 +1189,8 @@ const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
|
1731
1189
|
resourceType: [],
|
|
1732
1190
|
status: [],
|
|
1733
1191
|
}));
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
hostname,
|
|
1737
|
-
port,
|
|
1738
|
-
method: "PUT",
|
|
1739
|
-
headers,
|
|
1740
|
-
path: resolvedPath,
|
|
1741
|
-
body,
|
|
1742
|
-
});
|
|
1192
|
+
b.m("PUT").h(headers).b(body);
|
|
1193
|
+
return b.build();
|
|
1743
1194
|
};
|
|
1744
1195
|
exports.se_UpdateLifecyclePolicyCommand = se_UpdateLifecyclePolicyCommand;
|
|
1745
1196
|
const de_CancelImageCreationCommand = async (output, context) => {
|
|
@@ -6146,6 +5597,21 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
6146
5597
|
value !== "" &&
|
|
6147
5598
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
6148
5599
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
5600
|
+
const _cA = "componentArn";
|
|
5601
|
+
const _cBVA = "componentBuildVersionArn";
|
|
5602
|
+
const _cRA = "containerRecipeArn";
|
|
5603
|
+
const _dCA = "distributionConfigurationArn";
|
|
5604
|
+
const _iA = "imageArn";
|
|
5605
|
+
const _iBVA = "imageBuildVersionArn";
|
|
5606
|
+
const _iCA = "infrastructureConfigurationArn";
|
|
5607
|
+
const _iPA = "imagePipelineArn";
|
|
5608
|
+
const _iRA = "imageRecipeArn";
|
|
5609
|
+
const _lEI = "lifecycleExecutionId";
|
|
5610
|
+
const _lPA = "lifecyclePolicyArn";
|
|
5611
|
+
const _sEI = "stepExecutionId";
|
|
5612
|
+
const _tK = "tagKeys";
|
|
5613
|
+
const _wBVA = "workflowBuildVersionArn";
|
|
5614
|
+
const _wEI = "workflowExecutionId";
|
|
6149
5615
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6150
5616
|
if (encoded.length) {
|
|
6151
5617
|
return JSON.parse(encoded);
|