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