@aws-sdk/client-imagebuilder 3.927.0 → 3.929.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/index.js +3642 -3413
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ImagebuilderClient.js +2 -0
- package/dist-es/commands/CancelImageCreationCommand.js +3 -9
- package/dist-es/commands/CancelLifecycleExecutionCommand.js +3 -9
- package/dist-es/commands/CreateComponentCommand.js +3 -9
- package/dist-es/commands/CreateContainerRecipeCommand.js +3 -9
- package/dist-es/commands/CreateDistributionConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateImageCommand.js +3 -9
- package/dist-es/commands/CreateImagePipelineCommand.js +3 -9
- package/dist-es/commands/CreateImageRecipeCommand.js +3 -9
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +3 -9
- package/dist-es/commands/CreateWorkflowCommand.js +3 -9
- package/dist-es/commands/DeleteComponentCommand.js +3 -9
- package/dist-es/commands/DeleteContainerRecipeCommand.js +3 -9
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteImageCommand.js +3 -9
- package/dist-es/commands/DeleteImagePipelineCommand.js +3 -9
- package/dist-es/commands/DeleteImageRecipeCommand.js +3 -9
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteWorkflowCommand.js +3 -9
- package/dist-es/commands/GetComponentCommand.js +3 -9
- package/dist-es/commands/GetComponentPolicyCommand.js +3 -9
- package/dist-es/commands/GetContainerRecipeCommand.js +3 -9
- package/dist-es/commands/GetContainerRecipePolicyCommand.js +3 -9
- package/dist-es/commands/GetDistributionConfigurationCommand.js +3 -9
- package/dist-es/commands/GetImageCommand.js +3 -9
- package/dist-es/commands/GetImagePipelineCommand.js +3 -9
- package/dist-es/commands/GetImagePolicyCommand.js +3 -9
- package/dist-es/commands/GetImageRecipeCommand.js +3 -9
- package/dist-es/commands/GetImageRecipePolicyCommand.js +3 -9
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js +3 -9
- package/dist-es/commands/GetLifecycleExecutionCommand.js +3 -9
- package/dist-es/commands/GetLifecyclePolicyCommand.js +3 -9
- package/dist-es/commands/GetMarketplaceResourceCommand.js +3 -9
- package/dist-es/commands/GetWorkflowCommand.js +3 -9
- package/dist-es/commands/GetWorkflowExecutionCommand.js +3 -9
- package/dist-es/commands/GetWorkflowStepExecutionCommand.js +3 -9
- package/dist-es/commands/ImportComponentCommand.js +3 -9
- package/dist-es/commands/ImportDiskImageCommand.js +3 -9
- package/dist-es/commands/ImportVmImageCommand.js +3 -9
- package/dist-es/commands/ListComponentBuildVersionsCommand.js +3 -9
- package/dist-es/commands/ListComponentsCommand.js +3 -9
- package/dist-es/commands/ListContainerRecipesCommand.js +3 -9
- package/dist-es/commands/ListDistributionConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListImageBuildVersionsCommand.js +3 -9
- package/dist-es/commands/ListImagePackagesCommand.js +3 -9
- package/dist-es/commands/ListImagePipelineImagesCommand.js +3 -9
- package/dist-es/commands/ListImagePipelinesCommand.js +3 -9
- package/dist-es/commands/ListImageRecipesCommand.js +3 -9
- package/dist-es/commands/ListImageScanFindingAggregationsCommand.js +3 -9
- package/dist-es/commands/ListImageScanFindingsCommand.js +3 -9
- package/dist-es/commands/ListImagesCommand.js +3 -9
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +3 -9
- package/dist-es/commands/ListLifecycleExecutionsCommand.js +3 -9
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWaitingWorkflowStepsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowBuildVersionsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowExecutionsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowStepExecutionsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowsCommand.js +3 -9
- package/dist-es/commands/PutComponentPolicyCommand.js +3 -9
- package/dist-es/commands/PutContainerRecipePolicyCommand.js +3 -9
- package/dist-es/commands/PutImagePolicyCommand.js +3 -9
- package/dist-es/commands/PutImageRecipePolicyCommand.js +3 -9
- package/dist-es/commands/SendWorkflowStepActionCommand.js +3 -9
- package/dist-es/commands/StartImagePipelineExecutionCommand.js +3 -9
- package/dist-es/commands/StartResourceStateUpdateCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateImagePipelineCommand.js +3 -9
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +3473 -0
- package/dist-types/ImagebuilderClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +406 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +411 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -2853
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -677
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -905
|
@@ -1,2853 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
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";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { ImagebuilderServiceException as __BaseException } from "../models/ImagebuilderServiceException";
|
|
6
|
-
import { CallRateLimitExceededException, ClientException, ForbiddenException, IdempotentParameterMismatchException, InvalidPaginationTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidParameterValueException, InvalidRequestException, InvalidVersionNumberException, ResourceAlreadyExistsException, ResourceDependencyException, ResourceInUseException, ResourceNotFoundException, ServiceException, ServiceQuotaExceededException, ServiceUnavailableException, } from "../models/models_0";
|
|
7
|
-
export const se_CancelImageCreationCommand = async (input, context) => {
|
|
8
|
-
const b = rb(input, context);
|
|
9
|
-
const headers = {
|
|
10
|
-
"content-type": "application/json",
|
|
11
|
-
};
|
|
12
|
-
b.bp("/CancelImageCreation");
|
|
13
|
-
let body;
|
|
14
|
-
body = JSON.stringify(take(input, {
|
|
15
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
16
|
-
imageBuildVersionArn: [],
|
|
17
|
-
}));
|
|
18
|
-
b.m("PUT").h(headers).b(body);
|
|
19
|
-
return b.build();
|
|
20
|
-
};
|
|
21
|
-
export const se_CancelLifecycleExecutionCommand = async (input, context) => {
|
|
22
|
-
const b = rb(input, context);
|
|
23
|
-
const headers = {
|
|
24
|
-
"content-type": "application/json",
|
|
25
|
-
};
|
|
26
|
-
b.bp("/CancelLifecycleExecution");
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(take(input, {
|
|
29
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
30
|
-
lifecycleExecutionId: [],
|
|
31
|
-
}));
|
|
32
|
-
b.m("PUT").h(headers).b(body);
|
|
33
|
-
return b.build();
|
|
34
|
-
};
|
|
35
|
-
export const se_CreateComponentCommand = async (input, context) => {
|
|
36
|
-
const b = rb(input, context);
|
|
37
|
-
const headers = {
|
|
38
|
-
"content-type": "application/json",
|
|
39
|
-
};
|
|
40
|
-
b.bp("/CreateComponent");
|
|
41
|
-
let body;
|
|
42
|
-
body = JSON.stringify(take(input, {
|
|
43
|
-
changeDescription: [],
|
|
44
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
45
|
-
data: [],
|
|
46
|
-
description: [],
|
|
47
|
-
kmsKeyId: [],
|
|
48
|
-
name: [],
|
|
49
|
-
platform: [],
|
|
50
|
-
semanticVersion: [],
|
|
51
|
-
supportedOsVersions: (_) => _json(_),
|
|
52
|
-
tags: (_) => _json(_),
|
|
53
|
-
uri: [],
|
|
54
|
-
}));
|
|
55
|
-
b.m("PUT").h(headers).b(body);
|
|
56
|
-
return b.build();
|
|
57
|
-
};
|
|
58
|
-
export const se_CreateContainerRecipeCommand = async (input, context) => {
|
|
59
|
-
const b = rb(input, context);
|
|
60
|
-
const headers = {
|
|
61
|
-
"content-type": "application/json",
|
|
62
|
-
};
|
|
63
|
-
b.bp("/CreateContainerRecipe");
|
|
64
|
-
let body;
|
|
65
|
-
body = JSON.stringify(take(input, {
|
|
66
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
67
|
-
components: (_) => _json(_),
|
|
68
|
-
containerType: [],
|
|
69
|
-
description: [],
|
|
70
|
-
dockerfileTemplateData: [],
|
|
71
|
-
dockerfileTemplateUri: [],
|
|
72
|
-
imageOsVersionOverride: [],
|
|
73
|
-
instanceConfiguration: (_) => _json(_),
|
|
74
|
-
kmsKeyId: [],
|
|
75
|
-
name: [],
|
|
76
|
-
parentImage: [],
|
|
77
|
-
platformOverride: [],
|
|
78
|
-
semanticVersion: [],
|
|
79
|
-
tags: (_) => _json(_),
|
|
80
|
-
targetRepository: (_) => _json(_),
|
|
81
|
-
workingDirectory: [],
|
|
82
|
-
}));
|
|
83
|
-
b.m("PUT").h(headers).b(body);
|
|
84
|
-
return b.build();
|
|
85
|
-
};
|
|
86
|
-
export const se_CreateDistributionConfigurationCommand = async (input, context) => {
|
|
87
|
-
const b = rb(input, context);
|
|
88
|
-
const headers = {
|
|
89
|
-
"content-type": "application/json",
|
|
90
|
-
};
|
|
91
|
-
b.bp("/CreateDistributionConfiguration");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(take(input, {
|
|
94
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
95
|
-
description: [],
|
|
96
|
-
distributions: (_) => _json(_),
|
|
97
|
-
name: [],
|
|
98
|
-
tags: (_) => _json(_),
|
|
99
|
-
}));
|
|
100
|
-
b.m("PUT").h(headers).b(body);
|
|
101
|
-
return b.build();
|
|
102
|
-
};
|
|
103
|
-
export const se_CreateImageCommand = async (input, context) => {
|
|
104
|
-
const b = rb(input, context);
|
|
105
|
-
const headers = {
|
|
106
|
-
"content-type": "application/json",
|
|
107
|
-
};
|
|
108
|
-
b.bp("/CreateImage");
|
|
109
|
-
let body;
|
|
110
|
-
body = JSON.stringify(take(input, {
|
|
111
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
112
|
-
containerRecipeArn: [],
|
|
113
|
-
distributionConfigurationArn: [],
|
|
114
|
-
enhancedImageMetadataEnabled: [],
|
|
115
|
-
executionRole: [],
|
|
116
|
-
imageRecipeArn: [],
|
|
117
|
-
imageScanningConfiguration: (_) => _json(_),
|
|
118
|
-
imageTestsConfiguration: (_) => _json(_),
|
|
119
|
-
infrastructureConfigurationArn: [],
|
|
120
|
-
loggingConfiguration: (_) => _json(_),
|
|
121
|
-
tags: (_) => _json(_),
|
|
122
|
-
workflows: (_) => _json(_),
|
|
123
|
-
}));
|
|
124
|
-
b.m("PUT").h(headers).b(body);
|
|
125
|
-
return b.build();
|
|
126
|
-
};
|
|
127
|
-
export const se_CreateImagePipelineCommand = async (input, context) => {
|
|
128
|
-
const b = rb(input, context);
|
|
129
|
-
const headers = {
|
|
130
|
-
"content-type": "application/json",
|
|
131
|
-
};
|
|
132
|
-
b.bp("/CreateImagePipeline");
|
|
133
|
-
let body;
|
|
134
|
-
body = JSON.stringify(take(input, {
|
|
135
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
136
|
-
containerRecipeArn: [],
|
|
137
|
-
description: [],
|
|
138
|
-
distributionConfigurationArn: [],
|
|
139
|
-
enhancedImageMetadataEnabled: [],
|
|
140
|
-
executionRole: [],
|
|
141
|
-
imageRecipeArn: [],
|
|
142
|
-
imageScanningConfiguration: (_) => _json(_),
|
|
143
|
-
imageTestsConfiguration: (_) => _json(_),
|
|
144
|
-
infrastructureConfigurationArn: [],
|
|
145
|
-
loggingConfiguration: (_) => _json(_),
|
|
146
|
-
name: [],
|
|
147
|
-
schedule: (_) => _json(_),
|
|
148
|
-
status: [],
|
|
149
|
-
tags: (_) => _json(_),
|
|
150
|
-
workflows: (_) => _json(_),
|
|
151
|
-
}));
|
|
152
|
-
b.m("PUT").h(headers).b(body);
|
|
153
|
-
return b.build();
|
|
154
|
-
};
|
|
155
|
-
export const se_CreateImageRecipeCommand = async (input, context) => {
|
|
156
|
-
const b = rb(input, context);
|
|
157
|
-
const headers = {
|
|
158
|
-
"content-type": "application/json",
|
|
159
|
-
};
|
|
160
|
-
b.bp("/CreateImageRecipe");
|
|
161
|
-
let body;
|
|
162
|
-
body = JSON.stringify(take(input, {
|
|
163
|
-
additionalInstanceConfiguration: (_) => _json(_),
|
|
164
|
-
amiTags: (_) => _json(_),
|
|
165
|
-
blockDeviceMappings: (_) => _json(_),
|
|
166
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
167
|
-
components: (_) => _json(_),
|
|
168
|
-
description: [],
|
|
169
|
-
name: [],
|
|
170
|
-
parentImage: [],
|
|
171
|
-
semanticVersion: [],
|
|
172
|
-
tags: (_) => _json(_),
|
|
173
|
-
workingDirectory: [],
|
|
174
|
-
}));
|
|
175
|
-
b.m("PUT").h(headers).b(body);
|
|
176
|
-
return b.build();
|
|
177
|
-
};
|
|
178
|
-
export const se_CreateInfrastructureConfigurationCommand = async (input, context) => {
|
|
179
|
-
const b = rb(input, context);
|
|
180
|
-
const headers = {
|
|
181
|
-
"content-type": "application/json",
|
|
182
|
-
};
|
|
183
|
-
b.bp("/CreateInfrastructureConfiguration");
|
|
184
|
-
let body;
|
|
185
|
-
body = JSON.stringify(take(input, {
|
|
186
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
187
|
-
description: [],
|
|
188
|
-
instanceMetadataOptions: (_) => _json(_),
|
|
189
|
-
instanceProfileName: [],
|
|
190
|
-
instanceTypes: (_) => _json(_),
|
|
191
|
-
keyPair: [],
|
|
192
|
-
logging: (_) => _json(_),
|
|
193
|
-
name: [],
|
|
194
|
-
placement: (_) => _json(_),
|
|
195
|
-
resourceTags: (_) => _json(_),
|
|
196
|
-
securityGroupIds: (_) => _json(_),
|
|
197
|
-
snsTopicArn: [],
|
|
198
|
-
subnetId: [],
|
|
199
|
-
tags: (_) => _json(_),
|
|
200
|
-
terminateInstanceOnFailure: [],
|
|
201
|
-
}));
|
|
202
|
-
b.m("PUT").h(headers).b(body);
|
|
203
|
-
return b.build();
|
|
204
|
-
};
|
|
205
|
-
export const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
206
|
-
const b = rb(input, context);
|
|
207
|
-
const headers = {
|
|
208
|
-
"content-type": "application/json",
|
|
209
|
-
};
|
|
210
|
-
b.bp("/CreateLifecyclePolicy");
|
|
211
|
-
let body;
|
|
212
|
-
body = JSON.stringify(take(input, {
|
|
213
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
214
|
-
description: [],
|
|
215
|
-
executionRole: [],
|
|
216
|
-
name: [],
|
|
217
|
-
policyDetails: (_) => _json(_),
|
|
218
|
-
resourceSelection: (_) => _json(_),
|
|
219
|
-
resourceType: [],
|
|
220
|
-
status: [],
|
|
221
|
-
tags: (_) => _json(_),
|
|
222
|
-
}));
|
|
223
|
-
b.m("PUT").h(headers).b(body);
|
|
224
|
-
return b.build();
|
|
225
|
-
};
|
|
226
|
-
export const se_CreateWorkflowCommand = async (input, context) => {
|
|
227
|
-
const b = rb(input, context);
|
|
228
|
-
const headers = {
|
|
229
|
-
"content-type": "application/json",
|
|
230
|
-
};
|
|
231
|
-
b.bp("/CreateWorkflow");
|
|
232
|
-
let body;
|
|
233
|
-
body = JSON.stringify(take(input, {
|
|
234
|
-
changeDescription: [],
|
|
235
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
236
|
-
data: [],
|
|
237
|
-
description: [],
|
|
238
|
-
kmsKeyId: [],
|
|
239
|
-
name: [],
|
|
240
|
-
semanticVersion: [],
|
|
241
|
-
tags: (_) => _json(_),
|
|
242
|
-
type: [],
|
|
243
|
-
uri: [],
|
|
244
|
-
}));
|
|
245
|
-
b.m("PUT").h(headers).b(body);
|
|
246
|
-
return b.build();
|
|
247
|
-
};
|
|
248
|
-
export const se_DeleteComponentCommand = async (input, context) => {
|
|
249
|
-
const b = rb(input, context);
|
|
250
|
-
const headers = {};
|
|
251
|
-
b.bp("/DeleteComponent");
|
|
252
|
-
const query = map({
|
|
253
|
-
[_cBVA]: [, __expectNonNull(input[_cBVA], `componentBuildVersionArn`)],
|
|
254
|
-
});
|
|
255
|
-
let body;
|
|
256
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
257
|
-
return b.build();
|
|
258
|
-
};
|
|
259
|
-
export const se_DeleteContainerRecipeCommand = async (input, context) => {
|
|
260
|
-
const b = rb(input, context);
|
|
261
|
-
const headers = {};
|
|
262
|
-
b.bp("/DeleteContainerRecipe");
|
|
263
|
-
const query = map({
|
|
264
|
-
[_cRA]: [, __expectNonNull(input[_cRA], `containerRecipeArn`)],
|
|
265
|
-
});
|
|
266
|
-
let body;
|
|
267
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
268
|
-
return b.build();
|
|
269
|
-
};
|
|
270
|
-
export const se_DeleteDistributionConfigurationCommand = async (input, context) => {
|
|
271
|
-
const b = rb(input, context);
|
|
272
|
-
const headers = {};
|
|
273
|
-
b.bp("/DeleteDistributionConfiguration");
|
|
274
|
-
const query = map({
|
|
275
|
-
[_dCA]: [, __expectNonNull(input[_dCA], `distributionConfigurationArn`)],
|
|
276
|
-
});
|
|
277
|
-
let body;
|
|
278
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
279
|
-
return b.build();
|
|
280
|
-
};
|
|
281
|
-
export const se_DeleteImageCommand = async (input, context) => {
|
|
282
|
-
const b = rb(input, context);
|
|
283
|
-
const headers = {};
|
|
284
|
-
b.bp("/DeleteImage");
|
|
285
|
-
const query = map({
|
|
286
|
-
[_iBVA]: [, __expectNonNull(input[_iBVA], `imageBuildVersionArn`)],
|
|
287
|
-
});
|
|
288
|
-
let body;
|
|
289
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
290
|
-
return b.build();
|
|
291
|
-
};
|
|
292
|
-
export const se_DeleteImagePipelineCommand = async (input, context) => {
|
|
293
|
-
const b = rb(input, context);
|
|
294
|
-
const headers = {};
|
|
295
|
-
b.bp("/DeleteImagePipeline");
|
|
296
|
-
const query = map({
|
|
297
|
-
[_iPA]: [, __expectNonNull(input[_iPA], `imagePipelineArn`)],
|
|
298
|
-
});
|
|
299
|
-
let body;
|
|
300
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
301
|
-
return b.build();
|
|
302
|
-
};
|
|
303
|
-
export const se_DeleteImageRecipeCommand = async (input, context) => {
|
|
304
|
-
const b = rb(input, context);
|
|
305
|
-
const headers = {};
|
|
306
|
-
b.bp("/DeleteImageRecipe");
|
|
307
|
-
const query = map({
|
|
308
|
-
[_iRA]: [, __expectNonNull(input[_iRA], `imageRecipeArn`)],
|
|
309
|
-
});
|
|
310
|
-
let body;
|
|
311
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
312
|
-
return b.build();
|
|
313
|
-
};
|
|
314
|
-
export const se_DeleteInfrastructureConfigurationCommand = async (input, context) => {
|
|
315
|
-
const b = rb(input, context);
|
|
316
|
-
const headers = {};
|
|
317
|
-
b.bp("/DeleteInfrastructureConfiguration");
|
|
318
|
-
const query = map({
|
|
319
|
-
[_iCA]: [, __expectNonNull(input[_iCA], `infrastructureConfigurationArn`)],
|
|
320
|
-
});
|
|
321
|
-
let body;
|
|
322
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
323
|
-
return b.build();
|
|
324
|
-
};
|
|
325
|
-
export const se_DeleteLifecyclePolicyCommand = async (input, context) => {
|
|
326
|
-
const b = rb(input, context);
|
|
327
|
-
const headers = {};
|
|
328
|
-
b.bp("/DeleteLifecyclePolicy");
|
|
329
|
-
const query = map({
|
|
330
|
-
[_lPA]: [, __expectNonNull(input[_lPA], `lifecyclePolicyArn`)],
|
|
331
|
-
});
|
|
332
|
-
let body;
|
|
333
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
334
|
-
return b.build();
|
|
335
|
-
};
|
|
336
|
-
export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
337
|
-
const b = rb(input, context);
|
|
338
|
-
const headers = {};
|
|
339
|
-
b.bp("/DeleteWorkflow");
|
|
340
|
-
const query = map({
|
|
341
|
-
[_wBVA]: [, __expectNonNull(input[_wBVA], `workflowBuildVersionArn`)],
|
|
342
|
-
});
|
|
343
|
-
let body;
|
|
344
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
345
|
-
return b.build();
|
|
346
|
-
};
|
|
347
|
-
export const se_GetComponentCommand = async (input, context) => {
|
|
348
|
-
const b = rb(input, context);
|
|
349
|
-
const headers = {};
|
|
350
|
-
b.bp("/GetComponent");
|
|
351
|
-
const query = map({
|
|
352
|
-
[_cBVA]: [, __expectNonNull(input[_cBVA], `componentBuildVersionArn`)],
|
|
353
|
-
});
|
|
354
|
-
let body;
|
|
355
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
356
|
-
return b.build();
|
|
357
|
-
};
|
|
358
|
-
export const se_GetComponentPolicyCommand = async (input, context) => {
|
|
359
|
-
const b = rb(input, context);
|
|
360
|
-
const headers = {};
|
|
361
|
-
b.bp("/GetComponentPolicy");
|
|
362
|
-
const query = map({
|
|
363
|
-
[_cA]: [, __expectNonNull(input[_cA], `componentArn`)],
|
|
364
|
-
});
|
|
365
|
-
let body;
|
|
366
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
367
|
-
return b.build();
|
|
368
|
-
};
|
|
369
|
-
export const se_GetContainerRecipeCommand = async (input, context) => {
|
|
370
|
-
const b = rb(input, context);
|
|
371
|
-
const headers = {};
|
|
372
|
-
b.bp("/GetContainerRecipe");
|
|
373
|
-
const query = map({
|
|
374
|
-
[_cRA]: [, __expectNonNull(input[_cRA], `containerRecipeArn`)],
|
|
375
|
-
});
|
|
376
|
-
let body;
|
|
377
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
378
|
-
return b.build();
|
|
379
|
-
};
|
|
380
|
-
export const se_GetContainerRecipePolicyCommand = async (input, context) => {
|
|
381
|
-
const b = rb(input, context);
|
|
382
|
-
const headers = {};
|
|
383
|
-
b.bp("/GetContainerRecipePolicy");
|
|
384
|
-
const query = map({
|
|
385
|
-
[_cRA]: [, __expectNonNull(input[_cRA], `containerRecipeArn`)],
|
|
386
|
-
});
|
|
387
|
-
let body;
|
|
388
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
389
|
-
return b.build();
|
|
390
|
-
};
|
|
391
|
-
export const se_GetDistributionConfigurationCommand = async (input, context) => {
|
|
392
|
-
const b = rb(input, context);
|
|
393
|
-
const headers = {};
|
|
394
|
-
b.bp("/GetDistributionConfiguration");
|
|
395
|
-
const query = map({
|
|
396
|
-
[_dCA]: [, __expectNonNull(input[_dCA], `distributionConfigurationArn`)],
|
|
397
|
-
});
|
|
398
|
-
let body;
|
|
399
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
400
|
-
return b.build();
|
|
401
|
-
};
|
|
402
|
-
export const se_GetImageCommand = async (input, context) => {
|
|
403
|
-
const b = rb(input, context);
|
|
404
|
-
const headers = {};
|
|
405
|
-
b.bp("/GetImage");
|
|
406
|
-
const query = map({
|
|
407
|
-
[_iBVA]: [, __expectNonNull(input[_iBVA], `imageBuildVersionArn`)],
|
|
408
|
-
});
|
|
409
|
-
let body;
|
|
410
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
411
|
-
return b.build();
|
|
412
|
-
};
|
|
413
|
-
export const se_GetImagePipelineCommand = async (input, context) => {
|
|
414
|
-
const b = rb(input, context);
|
|
415
|
-
const headers = {};
|
|
416
|
-
b.bp("/GetImagePipeline");
|
|
417
|
-
const query = map({
|
|
418
|
-
[_iPA]: [, __expectNonNull(input[_iPA], `imagePipelineArn`)],
|
|
419
|
-
});
|
|
420
|
-
let body;
|
|
421
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
422
|
-
return b.build();
|
|
423
|
-
};
|
|
424
|
-
export const se_GetImagePolicyCommand = async (input, context) => {
|
|
425
|
-
const b = rb(input, context);
|
|
426
|
-
const headers = {};
|
|
427
|
-
b.bp("/GetImagePolicy");
|
|
428
|
-
const query = map({
|
|
429
|
-
[_iA]: [, __expectNonNull(input[_iA], `imageArn`)],
|
|
430
|
-
});
|
|
431
|
-
let body;
|
|
432
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
433
|
-
return b.build();
|
|
434
|
-
};
|
|
435
|
-
export const se_GetImageRecipeCommand = async (input, context) => {
|
|
436
|
-
const b = rb(input, context);
|
|
437
|
-
const headers = {};
|
|
438
|
-
b.bp("/GetImageRecipe");
|
|
439
|
-
const query = map({
|
|
440
|
-
[_iRA]: [, __expectNonNull(input[_iRA], `imageRecipeArn`)],
|
|
441
|
-
});
|
|
442
|
-
let body;
|
|
443
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
444
|
-
return b.build();
|
|
445
|
-
};
|
|
446
|
-
export const se_GetImageRecipePolicyCommand = async (input, context) => {
|
|
447
|
-
const b = rb(input, context);
|
|
448
|
-
const headers = {};
|
|
449
|
-
b.bp("/GetImageRecipePolicy");
|
|
450
|
-
const query = map({
|
|
451
|
-
[_iRA]: [, __expectNonNull(input[_iRA], `imageRecipeArn`)],
|
|
452
|
-
});
|
|
453
|
-
let body;
|
|
454
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
455
|
-
return b.build();
|
|
456
|
-
};
|
|
457
|
-
export const se_GetInfrastructureConfigurationCommand = async (input, context) => {
|
|
458
|
-
const b = rb(input, context);
|
|
459
|
-
const headers = {};
|
|
460
|
-
b.bp("/GetInfrastructureConfiguration");
|
|
461
|
-
const query = map({
|
|
462
|
-
[_iCA]: [, __expectNonNull(input[_iCA], `infrastructureConfigurationArn`)],
|
|
463
|
-
});
|
|
464
|
-
let body;
|
|
465
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
466
|
-
return b.build();
|
|
467
|
-
};
|
|
468
|
-
export const se_GetLifecycleExecutionCommand = async (input, context) => {
|
|
469
|
-
const b = rb(input, context);
|
|
470
|
-
const headers = {};
|
|
471
|
-
b.bp("/GetLifecycleExecution");
|
|
472
|
-
const query = map({
|
|
473
|
-
[_lEI]: [, __expectNonNull(input[_lEI], `lifecycleExecutionId`)],
|
|
474
|
-
});
|
|
475
|
-
let body;
|
|
476
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
477
|
-
return b.build();
|
|
478
|
-
};
|
|
479
|
-
export const se_GetLifecyclePolicyCommand = async (input, context) => {
|
|
480
|
-
const b = rb(input, context);
|
|
481
|
-
const headers = {};
|
|
482
|
-
b.bp("/GetLifecyclePolicy");
|
|
483
|
-
const query = map({
|
|
484
|
-
[_lPA]: [, __expectNonNull(input[_lPA], `lifecyclePolicyArn`)],
|
|
485
|
-
});
|
|
486
|
-
let body;
|
|
487
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
488
|
-
return b.build();
|
|
489
|
-
};
|
|
490
|
-
export const se_GetMarketplaceResourceCommand = async (input, context) => {
|
|
491
|
-
const b = rb(input, context);
|
|
492
|
-
const headers = {
|
|
493
|
-
"content-type": "application/json",
|
|
494
|
-
};
|
|
495
|
-
b.bp("/GetMarketplaceResource");
|
|
496
|
-
let body;
|
|
497
|
-
body = JSON.stringify(take(input, {
|
|
498
|
-
resourceArn: [],
|
|
499
|
-
resourceLocation: [],
|
|
500
|
-
resourceType: [],
|
|
501
|
-
}));
|
|
502
|
-
b.m("POST").h(headers).b(body);
|
|
503
|
-
return b.build();
|
|
504
|
-
};
|
|
505
|
-
export const se_GetWorkflowCommand = async (input, context) => {
|
|
506
|
-
const b = rb(input, context);
|
|
507
|
-
const headers = {};
|
|
508
|
-
b.bp("/GetWorkflow");
|
|
509
|
-
const query = map({
|
|
510
|
-
[_wBVA]: [, __expectNonNull(input[_wBVA], `workflowBuildVersionArn`)],
|
|
511
|
-
});
|
|
512
|
-
let body;
|
|
513
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
514
|
-
return b.build();
|
|
515
|
-
};
|
|
516
|
-
export const se_GetWorkflowExecutionCommand = async (input, context) => {
|
|
517
|
-
const b = rb(input, context);
|
|
518
|
-
const headers = {};
|
|
519
|
-
b.bp("/GetWorkflowExecution");
|
|
520
|
-
const query = map({
|
|
521
|
-
[_wEI]: [, __expectNonNull(input[_wEI], `workflowExecutionId`)],
|
|
522
|
-
});
|
|
523
|
-
let body;
|
|
524
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
525
|
-
return b.build();
|
|
526
|
-
};
|
|
527
|
-
export const se_GetWorkflowStepExecutionCommand = async (input, context) => {
|
|
528
|
-
const b = rb(input, context);
|
|
529
|
-
const headers = {};
|
|
530
|
-
b.bp("/GetWorkflowStepExecution");
|
|
531
|
-
const query = map({
|
|
532
|
-
[_sEI]: [, __expectNonNull(input[_sEI], `stepExecutionId`)],
|
|
533
|
-
});
|
|
534
|
-
let body;
|
|
535
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
536
|
-
return b.build();
|
|
537
|
-
};
|
|
538
|
-
export const se_ImportComponentCommand = async (input, context) => {
|
|
539
|
-
const b = rb(input, context);
|
|
540
|
-
const headers = {
|
|
541
|
-
"content-type": "application/json",
|
|
542
|
-
};
|
|
543
|
-
b.bp("/ImportComponent");
|
|
544
|
-
let body;
|
|
545
|
-
body = JSON.stringify(take(input, {
|
|
546
|
-
changeDescription: [],
|
|
547
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
548
|
-
data: [],
|
|
549
|
-
description: [],
|
|
550
|
-
format: [],
|
|
551
|
-
kmsKeyId: [],
|
|
552
|
-
name: [],
|
|
553
|
-
platform: [],
|
|
554
|
-
semanticVersion: [],
|
|
555
|
-
tags: (_) => _json(_),
|
|
556
|
-
type: [],
|
|
557
|
-
uri: [],
|
|
558
|
-
}));
|
|
559
|
-
b.m("PUT").h(headers).b(body);
|
|
560
|
-
return b.build();
|
|
561
|
-
};
|
|
562
|
-
export const se_ImportDiskImageCommand = async (input, context) => {
|
|
563
|
-
const b = rb(input, context);
|
|
564
|
-
const headers = {
|
|
565
|
-
"content-type": "application/json",
|
|
566
|
-
};
|
|
567
|
-
b.bp("/ImportDiskImage");
|
|
568
|
-
let body;
|
|
569
|
-
body = JSON.stringify(take(input, {
|
|
570
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
571
|
-
description: [],
|
|
572
|
-
executionRole: [],
|
|
573
|
-
infrastructureConfigurationArn: [],
|
|
574
|
-
loggingConfiguration: (_) => _json(_),
|
|
575
|
-
name: [],
|
|
576
|
-
osVersion: [],
|
|
577
|
-
platform: [],
|
|
578
|
-
semanticVersion: [],
|
|
579
|
-
tags: (_) => _json(_),
|
|
580
|
-
uri: [],
|
|
581
|
-
}));
|
|
582
|
-
b.m("PUT").h(headers).b(body);
|
|
583
|
-
return b.build();
|
|
584
|
-
};
|
|
585
|
-
export const se_ImportVmImageCommand = async (input, context) => {
|
|
586
|
-
const b = rb(input, context);
|
|
587
|
-
const headers = {
|
|
588
|
-
"content-type": "application/json",
|
|
589
|
-
};
|
|
590
|
-
b.bp("/ImportVmImage");
|
|
591
|
-
let body;
|
|
592
|
-
body = JSON.stringify(take(input, {
|
|
593
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
594
|
-
description: [],
|
|
595
|
-
loggingConfiguration: (_) => _json(_),
|
|
596
|
-
name: [],
|
|
597
|
-
osVersion: [],
|
|
598
|
-
platform: [],
|
|
599
|
-
semanticVersion: [],
|
|
600
|
-
tags: (_) => _json(_),
|
|
601
|
-
vmImportTaskId: [],
|
|
602
|
-
}));
|
|
603
|
-
b.m("PUT").h(headers).b(body);
|
|
604
|
-
return b.build();
|
|
605
|
-
};
|
|
606
|
-
export const se_ListComponentBuildVersionsCommand = async (input, context) => {
|
|
607
|
-
const b = rb(input, context);
|
|
608
|
-
const headers = {
|
|
609
|
-
"content-type": "application/json",
|
|
610
|
-
};
|
|
611
|
-
b.bp("/ListComponentBuildVersions");
|
|
612
|
-
let body;
|
|
613
|
-
body = JSON.stringify(take(input, {
|
|
614
|
-
componentVersionArn: [],
|
|
615
|
-
maxResults: [],
|
|
616
|
-
nextToken: [],
|
|
617
|
-
}));
|
|
618
|
-
b.m("POST").h(headers).b(body);
|
|
619
|
-
return b.build();
|
|
620
|
-
};
|
|
621
|
-
export const se_ListComponentsCommand = async (input, context) => {
|
|
622
|
-
const b = rb(input, context);
|
|
623
|
-
const headers = {
|
|
624
|
-
"content-type": "application/json",
|
|
625
|
-
};
|
|
626
|
-
b.bp("/ListComponents");
|
|
627
|
-
let body;
|
|
628
|
-
body = JSON.stringify(take(input, {
|
|
629
|
-
byName: [],
|
|
630
|
-
filters: (_) => _json(_),
|
|
631
|
-
maxResults: [],
|
|
632
|
-
nextToken: [],
|
|
633
|
-
owner: [],
|
|
634
|
-
}));
|
|
635
|
-
b.m("POST").h(headers).b(body);
|
|
636
|
-
return b.build();
|
|
637
|
-
};
|
|
638
|
-
export const se_ListContainerRecipesCommand = async (input, context) => {
|
|
639
|
-
const b = rb(input, context);
|
|
640
|
-
const headers = {
|
|
641
|
-
"content-type": "application/json",
|
|
642
|
-
};
|
|
643
|
-
b.bp("/ListContainerRecipes");
|
|
644
|
-
let body;
|
|
645
|
-
body = JSON.stringify(take(input, {
|
|
646
|
-
filters: (_) => _json(_),
|
|
647
|
-
maxResults: [],
|
|
648
|
-
nextToken: [],
|
|
649
|
-
owner: [],
|
|
650
|
-
}));
|
|
651
|
-
b.m("POST").h(headers).b(body);
|
|
652
|
-
return b.build();
|
|
653
|
-
};
|
|
654
|
-
export const se_ListDistributionConfigurationsCommand = async (input, context) => {
|
|
655
|
-
const b = rb(input, context);
|
|
656
|
-
const headers = {
|
|
657
|
-
"content-type": "application/json",
|
|
658
|
-
};
|
|
659
|
-
b.bp("/ListDistributionConfigurations");
|
|
660
|
-
let body;
|
|
661
|
-
body = JSON.stringify(take(input, {
|
|
662
|
-
filters: (_) => _json(_),
|
|
663
|
-
maxResults: [],
|
|
664
|
-
nextToken: [],
|
|
665
|
-
}));
|
|
666
|
-
b.m("POST").h(headers).b(body);
|
|
667
|
-
return b.build();
|
|
668
|
-
};
|
|
669
|
-
export const se_ListImageBuildVersionsCommand = async (input, context) => {
|
|
670
|
-
const b = rb(input, context);
|
|
671
|
-
const headers = {
|
|
672
|
-
"content-type": "application/json",
|
|
673
|
-
};
|
|
674
|
-
b.bp("/ListImageBuildVersions");
|
|
675
|
-
let body;
|
|
676
|
-
body = JSON.stringify(take(input, {
|
|
677
|
-
filters: (_) => _json(_),
|
|
678
|
-
imageVersionArn: [],
|
|
679
|
-
maxResults: [],
|
|
680
|
-
nextToken: [],
|
|
681
|
-
}));
|
|
682
|
-
b.m("POST").h(headers).b(body);
|
|
683
|
-
return b.build();
|
|
684
|
-
};
|
|
685
|
-
export const se_ListImagePackagesCommand = async (input, context) => {
|
|
686
|
-
const b = rb(input, context);
|
|
687
|
-
const headers = {
|
|
688
|
-
"content-type": "application/json",
|
|
689
|
-
};
|
|
690
|
-
b.bp("/ListImagePackages");
|
|
691
|
-
let body;
|
|
692
|
-
body = JSON.stringify(take(input, {
|
|
693
|
-
imageBuildVersionArn: [],
|
|
694
|
-
maxResults: [],
|
|
695
|
-
nextToken: [],
|
|
696
|
-
}));
|
|
697
|
-
b.m("POST").h(headers).b(body);
|
|
698
|
-
return b.build();
|
|
699
|
-
};
|
|
700
|
-
export const se_ListImagePipelineImagesCommand = async (input, context) => {
|
|
701
|
-
const b = rb(input, context);
|
|
702
|
-
const headers = {
|
|
703
|
-
"content-type": "application/json",
|
|
704
|
-
};
|
|
705
|
-
b.bp("/ListImagePipelineImages");
|
|
706
|
-
let body;
|
|
707
|
-
body = JSON.stringify(take(input, {
|
|
708
|
-
filters: (_) => _json(_),
|
|
709
|
-
imagePipelineArn: [],
|
|
710
|
-
maxResults: [],
|
|
711
|
-
nextToken: [],
|
|
712
|
-
}));
|
|
713
|
-
b.m("POST").h(headers).b(body);
|
|
714
|
-
return b.build();
|
|
715
|
-
};
|
|
716
|
-
export const se_ListImagePipelinesCommand = async (input, context) => {
|
|
717
|
-
const b = rb(input, context);
|
|
718
|
-
const headers = {
|
|
719
|
-
"content-type": "application/json",
|
|
720
|
-
};
|
|
721
|
-
b.bp("/ListImagePipelines");
|
|
722
|
-
let body;
|
|
723
|
-
body = JSON.stringify(take(input, {
|
|
724
|
-
filters: (_) => _json(_),
|
|
725
|
-
maxResults: [],
|
|
726
|
-
nextToken: [],
|
|
727
|
-
}));
|
|
728
|
-
b.m("POST").h(headers).b(body);
|
|
729
|
-
return b.build();
|
|
730
|
-
};
|
|
731
|
-
export const se_ListImageRecipesCommand = async (input, context) => {
|
|
732
|
-
const b = rb(input, context);
|
|
733
|
-
const headers = {
|
|
734
|
-
"content-type": "application/json",
|
|
735
|
-
};
|
|
736
|
-
b.bp("/ListImageRecipes");
|
|
737
|
-
let body;
|
|
738
|
-
body = JSON.stringify(take(input, {
|
|
739
|
-
filters: (_) => _json(_),
|
|
740
|
-
maxResults: [],
|
|
741
|
-
nextToken: [],
|
|
742
|
-
owner: [],
|
|
743
|
-
}));
|
|
744
|
-
b.m("POST").h(headers).b(body);
|
|
745
|
-
return b.build();
|
|
746
|
-
};
|
|
747
|
-
export const se_ListImagesCommand = async (input, context) => {
|
|
748
|
-
const b = rb(input, context);
|
|
749
|
-
const headers = {
|
|
750
|
-
"content-type": "application/json",
|
|
751
|
-
};
|
|
752
|
-
b.bp("/ListImages");
|
|
753
|
-
let body;
|
|
754
|
-
body = JSON.stringify(take(input, {
|
|
755
|
-
byName: [],
|
|
756
|
-
filters: (_) => _json(_),
|
|
757
|
-
includeDeprecated: [],
|
|
758
|
-
maxResults: [],
|
|
759
|
-
nextToken: [],
|
|
760
|
-
owner: [],
|
|
761
|
-
}));
|
|
762
|
-
b.m("POST").h(headers).b(body);
|
|
763
|
-
return b.build();
|
|
764
|
-
};
|
|
765
|
-
export const se_ListImageScanFindingAggregationsCommand = async (input, context) => {
|
|
766
|
-
const b = rb(input, context);
|
|
767
|
-
const headers = {
|
|
768
|
-
"content-type": "application/json",
|
|
769
|
-
};
|
|
770
|
-
b.bp("/ListImageScanFindingAggregations");
|
|
771
|
-
let body;
|
|
772
|
-
body = JSON.stringify(take(input, {
|
|
773
|
-
filter: (_) => _json(_),
|
|
774
|
-
nextToken: [],
|
|
775
|
-
}));
|
|
776
|
-
b.m("POST").h(headers).b(body);
|
|
777
|
-
return b.build();
|
|
778
|
-
};
|
|
779
|
-
export const se_ListImageScanFindingsCommand = async (input, context) => {
|
|
780
|
-
const b = rb(input, context);
|
|
781
|
-
const headers = {
|
|
782
|
-
"content-type": "application/json",
|
|
783
|
-
};
|
|
784
|
-
b.bp("/ListImageScanFindings");
|
|
785
|
-
let body;
|
|
786
|
-
body = JSON.stringify(take(input, {
|
|
787
|
-
filters: (_) => _json(_),
|
|
788
|
-
maxResults: [],
|
|
789
|
-
nextToken: [],
|
|
790
|
-
}));
|
|
791
|
-
b.m("POST").h(headers).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
};
|
|
794
|
-
export const se_ListInfrastructureConfigurationsCommand = async (input, context) => {
|
|
795
|
-
const b = rb(input, context);
|
|
796
|
-
const headers = {
|
|
797
|
-
"content-type": "application/json",
|
|
798
|
-
};
|
|
799
|
-
b.bp("/ListInfrastructureConfigurations");
|
|
800
|
-
let body;
|
|
801
|
-
body = JSON.stringify(take(input, {
|
|
802
|
-
filters: (_) => _json(_),
|
|
803
|
-
maxResults: [],
|
|
804
|
-
nextToken: [],
|
|
805
|
-
}));
|
|
806
|
-
b.m("POST").h(headers).b(body);
|
|
807
|
-
return b.build();
|
|
808
|
-
};
|
|
809
|
-
export const se_ListLifecycleExecutionResourcesCommand = async (input, context) => {
|
|
810
|
-
const b = rb(input, context);
|
|
811
|
-
const headers = {
|
|
812
|
-
"content-type": "application/json",
|
|
813
|
-
};
|
|
814
|
-
b.bp("/ListLifecycleExecutionResources");
|
|
815
|
-
let body;
|
|
816
|
-
body = JSON.stringify(take(input, {
|
|
817
|
-
lifecycleExecutionId: [],
|
|
818
|
-
maxResults: [],
|
|
819
|
-
nextToken: [],
|
|
820
|
-
parentResourceId: [],
|
|
821
|
-
}));
|
|
822
|
-
b.m("POST").h(headers).b(body);
|
|
823
|
-
return b.build();
|
|
824
|
-
};
|
|
825
|
-
export const se_ListLifecycleExecutionsCommand = async (input, context) => {
|
|
826
|
-
const b = rb(input, context);
|
|
827
|
-
const headers = {
|
|
828
|
-
"content-type": "application/json",
|
|
829
|
-
};
|
|
830
|
-
b.bp("/ListLifecycleExecutions");
|
|
831
|
-
let body;
|
|
832
|
-
body = JSON.stringify(take(input, {
|
|
833
|
-
maxResults: [],
|
|
834
|
-
nextToken: [],
|
|
835
|
-
resourceArn: [],
|
|
836
|
-
}));
|
|
837
|
-
b.m("POST").h(headers).b(body);
|
|
838
|
-
return b.build();
|
|
839
|
-
};
|
|
840
|
-
export const se_ListLifecyclePoliciesCommand = async (input, context) => {
|
|
841
|
-
const b = rb(input, context);
|
|
842
|
-
const headers = {
|
|
843
|
-
"content-type": "application/json",
|
|
844
|
-
};
|
|
845
|
-
b.bp("/ListLifecyclePolicies");
|
|
846
|
-
let body;
|
|
847
|
-
body = JSON.stringify(take(input, {
|
|
848
|
-
filters: (_) => _json(_),
|
|
849
|
-
maxResults: [],
|
|
850
|
-
nextToken: [],
|
|
851
|
-
}));
|
|
852
|
-
b.m("POST").h(headers).b(body);
|
|
853
|
-
return b.build();
|
|
854
|
-
};
|
|
855
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
856
|
-
const b = rb(input, context);
|
|
857
|
-
const headers = {};
|
|
858
|
-
b.bp("/tags/{resourceArn}");
|
|
859
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
860
|
-
let body;
|
|
861
|
-
b.m("GET").h(headers).b(body);
|
|
862
|
-
return b.build();
|
|
863
|
-
};
|
|
864
|
-
export const se_ListWaitingWorkflowStepsCommand = async (input, context) => {
|
|
865
|
-
const b = rb(input, context);
|
|
866
|
-
const headers = {
|
|
867
|
-
"content-type": "application/json",
|
|
868
|
-
};
|
|
869
|
-
b.bp("/ListWaitingWorkflowSteps");
|
|
870
|
-
let body;
|
|
871
|
-
body = JSON.stringify(take(input, {
|
|
872
|
-
maxResults: [],
|
|
873
|
-
nextToken: [],
|
|
874
|
-
}));
|
|
875
|
-
b.m("POST").h(headers).b(body);
|
|
876
|
-
return b.build();
|
|
877
|
-
};
|
|
878
|
-
export const se_ListWorkflowBuildVersionsCommand = async (input, context) => {
|
|
879
|
-
const b = rb(input, context);
|
|
880
|
-
const headers = {
|
|
881
|
-
"content-type": "application/json",
|
|
882
|
-
};
|
|
883
|
-
b.bp("/ListWorkflowBuildVersions");
|
|
884
|
-
let body;
|
|
885
|
-
body = JSON.stringify(take(input, {
|
|
886
|
-
maxResults: [],
|
|
887
|
-
nextToken: [],
|
|
888
|
-
workflowVersionArn: [],
|
|
889
|
-
}));
|
|
890
|
-
b.m("POST").h(headers).b(body);
|
|
891
|
-
return b.build();
|
|
892
|
-
};
|
|
893
|
-
export const se_ListWorkflowExecutionsCommand = async (input, context) => {
|
|
894
|
-
const b = rb(input, context);
|
|
895
|
-
const headers = {
|
|
896
|
-
"content-type": "application/json",
|
|
897
|
-
};
|
|
898
|
-
b.bp("/ListWorkflowExecutions");
|
|
899
|
-
let body;
|
|
900
|
-
body = JSON.stringify(take(input, {
|
|
901
|
-
imageBuildVersionArn: [],
|
|
902
|
-
maxResults: [],
|
|
903
|
-
nextToken: [],
|
|
904
|
-
}));
|
|
905
|
-
b.m("POST").h(headers).b(body);
|
|
906
|
-
return b.build();
|
|
907
|
-
};
|
|
908
|
-
export const se_ListWorkflowsCommand = async (input, context) => {
|
|
909
|
-
const b = rb(input, context);
|
|
910
|
-
const headers = {
|
|
911
|
-
"content-type": "application/json",
|
|
912
|
-
};
|
|
913
|
-
b.bp("/ListWorkflows");
|
|
914
|
-
let body;
|
|
915
|
-
body = JSON.stringify(take(input, {
|
|
916
|
-
byName: [],
|
|
917
|
-
filters: (_) => _json(_),
|
|
918
|
-
maxResults: [],
|
|
919
|
-
nextToken: [],
|
|
920
|
-
owner: [],
|
|
921
|
-
}));
|
|
922
|
-
b.m("POST").h(headers).b(body);
|
|
923
|
-
return b.build();
|
|
924
|
-
};
|
|
925
|
-
export const se_ListWorkflowStepExecutionsCommand = async (input, context) => {
|
|
926
|
-
const b = rb(input, context);
|
|
927
|
-
const headers = {
|
|
928
|
-
"content-type": "application/json",
|
|
929
|
-
};
|
|
930
|
-
b.bp("/ListWorkflowStepExecutions");
|
|
931
|
-
let body;
|
|
932
|
-
body = JSON.stringify(take(input, {
|
|
933
|
-
maxResults: [],
|
|
934
|
-
nextToken: [],
|
|
935
|
-
workflowExecutionId: [],
|
|
936
|
-
}));
|
|
937
|
-
b.m("POST").h(headers).b(body);
|
|
938
|
-
return b.build();
|
|
939
|
-
};
|
|
940
|
-
export const se_PutComponentPolicyCommand = async (input, context) => {
|
|
941
|
-
const b = rb(input, context);
|
|
942
|
-
const headers = {
|
|
943
|
-
"content-type": "application/json",
|
|
944
|
-
};
|
|
945
|
-
b.bp("/PutComponentPolicy");
|
|
946
|
-
let body;
|
|
947
|
-
body = JSON.stringify(take(input, {
|
|
948
|
-
componentArn: [],
|
|
949
|
-
policy: [],
|
|
950
|
-
}));
|
|
951
|
-
b.m("PUT").h(headers).b(body);
|
|
952
|
-
return b.build();
|
|
953
|
-
};
|
|
954
|
-
export const se_PutContainerRecipePolicyCommand = async (input, context) => {
|
|
955
|
-
const b = rb(input, context);
|
|
956
|
-
const headers = {
|
|
957
|
-
"content-type": "application/json",
|
|
958
|
-
};
|
|
959
|
-
b.bp("/PutContainerRecipePolicy");
|
|
960
|
-
let body;
|
|
961
|
-
body = JSON.stringify(take(input, {
|
|
962
|
-
containerRecipeArn: [],
|
|
963
|
-
policy: [],
|
|
964
|
-
}));
|
|
965
|
-
b.m("PUT").h(headers).b(body);
|
|
966
|
-
return b.build();
|
|
967
|
-
};
|
|
968
|
-
export const se_PutImagePolicyCommand = async (input, context) => {
|
|
969
|
-
const b = rb(input, context);
|
|
970
|
-
const headers = {
|
|
971
|
-
"content-type": "application/json",
|
|
972
|
-
};
|
|
973
|
-
b.bp("/PutImagePolicy");
|
|
974
|
-
let body;
|
|
975
|
-
body = JSON.stringify(take(input, {
|
|
976
|
-
imageArn: [],
|
|
977
|
-
policy: [],
|
|
978
|
-
}));
|
|
979
|
-
b.m("PUT").h(headers).b(body);
|
|
980
|
-
return b.build();
|
|
981
|
-
};
|
|
982
|
-
export const se_PutImageRecipePolicyCommand = async (input, context) => {
|
|
983
|
-
const b = rb(input, context);
|
|
984
|
-
const headers = {
|
|
985
|
-
"content-type": "application/json",
|
|
986
|
-
};
|
|
987
|
-
b.bp("/PutImageRecipePolicy");
|
|
988
|
-
let body;
|
|
989
|
-
body = JSON.stringify(take(input, {
|
|
990
|
-
imageRecipeArn: [],
|
|
991
|
-
policy: [],
|
|
992
|
-
}));
|
|
993
|
-
b.m("PUT").h(headers).b(body);
|
|
994
|
-
return b.build();
|
|
995
|
-
};
|
|
996
|
-
export const se_SendWorkflowStepActionCommand = async (input, context) => {
|
|
997
|
-
const b = rb(input, context);
|
|
998
|
-
const headers = {
|
|
999
|
-
"content-type": "application/json",
|
|
1000
|
-
};
|
|
1001
|
-
b.bp("/SendWorkflowStepAction");
|
|
1002
|
-
let body;
|
|
1003
|
-
body = JSON.stringify(take(input, {
|
|
1004
|
-
action: [],
|
|
1005
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1006
|
-
imageBuildVersionArn: [],
|
|
1007
|
-
reason: [],
|
|
1008
|
-
stepExecutionId: [],
|
|
1009
|
-
}));
|
|
1010
|
-
b.m("PUT").h(headers).b(body);
|
|
1011
|
-
return b.build();
|
|
1012
|
-
};
|
|
1013
|
-
export const se_StartImagePipelineExecutionCommand = async (input, context) => {
|
|
1014
|
-
const b = rb(input, context);
|
|
1015
|
-
const headers = {
|
|
1016
|
-
"content-type": "application/json",
|
|
1017
|
-
};
|
|
1018
|
-
b.bp("/StartImagePipelineExecution");
|
|
1019
|
-
let body;
|
|
1020
|
-
body = JSON.stringify(take(input, {
|
|
1021
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1022
|
-
imagePipelineArn: [],
|
|
1023
|
-
tags: (_) => _json(_),
|
|
1024
|
-
}));
|
|
1025
|
-
b.m("PUT").h(headers).b(body);
|
|
1026
|
-
return b.build();
|
|
1027
|
-
};
|
|
1028
|
-
export const se_StartResourceStateUpdateCommand = async (input, context) => {
|
|
1029
|
-
const b = rb(input, context);
|
|
1030
|
-
const headers = {
|
|
1031
|
-
"content-type": "application/json",
|
|
1032
|
-
};
|
|
1033
|
-
b.bp("/StartResourceStateUpdate");
|
|
1034
|
-
let body;
|
|
1035
|
-
body = JSON.stringify(take(input, {
|
|
1036
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1037
|
-
exclusionRules: (_) => _json(_),
|
|
1038
|
-
executionRole: [],
|
|
1039
|
-
includeResources: (_) => _json(_),
|
|
1040
|
-
resourceArn: [],
|
|
1041
|
-
state: (_) => _json(_),
|
|
1042
|
-
updateAt: (_) => _.getTime() / 1_000,
|
|
1043
|
-
}));
|
|
1044
|
-
b.m("PUT").h(headers).b(body);
|
|
1045
|
-
return b.build();
|
|
1046
|
-
};
|
|
1047
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
1048
|
-
const b = rb(input, context);
|
|
1049
|
-
const headers = {
|
|
1050
|
-
"content-type": "application/json",
|
|
1051
|
-
};
|
|
1052
|
-
b.bp("/tags/{resourceArn}");
|
|
1053
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1054
|
-
let body;
|
|
1055
|
-
body = JSON.stringify(take(input, {
|
|
1056
|
-
tags: (_) => _json(_),
|
|
1057
|
-
}));
|
|
1058
|
-
b.m("POST").h(headers).b(body);
|
|
1059
|
-
return b.build();
|
|
1060
|
-
};
|
|
1061
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
1062
|
-
const b = rb(input, context);
|
|
1063
|
-
const headers = {};
|
|
1064
|
-
b.bp("/tags/{resourceArn}");
|
|
1065
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1066
|
-
const query = map({
|
|
1067
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
1068
|
-
});
|
|
1069
|
-
let body;
|
|
1070
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1071
|
-
return b.build();
|
|
1072
|
-
};
|
|
1073
|
-
export const se_UpdateDistributionConfigurationCommand = async (input, context) => {
|
|
1074
|
-
const b = rb(input, context);
|
|
1075
|
-
const headers = {
|
|
1076
|
-
"content-type": "application/json",
|
|
1077
|
-
};
|
|
1078
|
-
b.bp("/UpdateDistributionConfiguration");
|
|
1079
|
-
let body;
|
|
1080
|
-
body = JSON.stringify(take(input, {
|
|
1081
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1082
|
-
description: [],
|
|
1083
|
-
distributionConfigurationArn: [],
|
|
1084
|
-
distributions: (_) => _json(_),
|
|
1085
|
-
}));
|
|
1086
|
-
b.m("PUT").h(headers).b(body);
|
|
1087
|
-
return b.build();
|
|
1088
|
-
};
|
|
1089
|
-
export const se_UpdateImagePipelineCommand = async (input, context) => {
|
|
1090
|
-
const b = rb(input, context);
|
|
1091
|
-
const headers = {
|
|
1092
|
-
"content-type": "application/json",
|
|
1093
|
-
};
|
|
1094
|
-
b.bp("/UpdateImagePipeline");
|
|
1095
|
-
let body;
|
|
1096
|
-
body = JSON.stringify(take(input, {
|
|
1097
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1098
|
-
containerRecipeArn: [],
|
|
1099
|
-
description: [],
|
|
1100
|
-
distributionConfigurationArn: [],
|
|
1101
|
-
enhancedImageMetadataEnabled: [],
|
|
1102
|
-
executionRole: [],
|
|
1103
|
-
imagePipelineArn: [],
|
|
1104
|
-
imageRecipeArn: [],
|
|
1105
|
-
imageScanningConfiguration: (_) => _json(_),
|
|
1106
|
-
imageTestsConfiguration: (_) => _json(_),
|
|
1107
|
-
infrastructureConfigurationArn: [],
|
|
1108
|
-
loggingConfiguration: (_) => _json(_),
|
|
1109
|
-
schedule: (_) => _json(_),
|
|
1110
|
-
status: [],
|
|
1111
|
-
workflows: (_) => _json(_),
|
|
1112
|
-
}));
|
|
1113
|
-
b.m("PUT").h(headers).b(body);
|
|
1114
|
-
return b.build();
|
|
1115
|
-
};
|
|
1116
|
-
export const se_UpdateInfrastructureConfigurationCommand = async (input, context) => {
|
|
1117
|
-
const b = rb(input, context);
|
|
1118
|
-
const headers = {
|
|
1119
|
-
"content-type": "application/json",
|
|
1120
|
-
};
|
|
1121
|
-
b.bp("/UpdateInfrastructureConfiguration");
|
|
1122
|
-
let body;
|
|
1123
|
-
body = JSON.stringify(take(input, {
|
|
1124
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1125
|
-
description: [],
|
|
1126
|
-
infrastructureConfigurationArn: [],
|
|
1127
|
-
instanceMetadataOptions: (_) => _json(_),
|
|
1128
|
-
instanceProfileName: [],
|
|
1129
|
-
instanceTypes: (_) => _json(_),
|
|
1130
|
-
keyPair: [],
|
|
1131
|
-
logging: (_) => _json(_),
|
|
1132
|
-
placement: (_) => _json(_),
|
|
1133
|
-
resourceTags: (_) => _json(_),
|
|
1134
|
-
securityGroupIds: (_) => _json(_),
|
|
1135
|
-
snsTopicArn: [],
|
|
1136
|
-
subnetId: [],
|
|
1137
|
-
terminateInstanceOnFailure: [],
|
|
1138
|
-
}));
|
|
1139
|
-
b.m("PUT").h(headers).b(body);
|
|
1140
|
-
return b.build();
|
|
1141
|
-
};
|
|
1142
|
-
export const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
1143
|
-
const b = rb(input, context);
|
|
1144
|
-
const headers = {
|
|
1145
|
-
"content-type": "application/json",
|
|
1146
|
-
};
|
|
1147
|
-
b.bp("/UpdateLifecyclePolicy");
|
|
1148
|
-
let body;
|
|
1149
|
-
body = JSON.stringify(take(input, {
|
|
1150
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1151
|
-
description: [],
|
|
1152
|
-
executionRole: [],
|
|
1153
|
-
lifecyclePolicyArn: [],
|
|
1154
|
-
policyDetails: (_) => _json(_),
|
|
1155
|
-
resourceSelection: (_) => _json(_),
|
|
1156
|
-
resourceType: [],
|
|
1157
|
-
status: [],
|
|
1158
|
-
}));
|
|
1159
|
-
b.m("PUT").h(headers).b(body);
|
|
1160
|
-
return b.build();
|
|
1161
|
-
};
|
|
1162
|
-
export const de_CancelImageCreationCommand = async (output, context) => {
|
|
1163
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1164
|
-
return de_CommandError(output, context);
|
|
1165
|
-
}
|
|
1166
|
-
const contents = map({
|
|
1167
|
-
$metadata: deserializeMetadata(output),
|
|
1168
|
-
});
|
|
1169
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1170
|
-
const doc = take(data, {
|
|
1171
|
-
clientToken: __expectString,
|
|
1172
|
-
imageBuildVersionArn: __expectString,
|
|
1173
|
-
requestId: __expectString,
|
|
1174
|
-
});
|
|
1175
|
-
Object.assign(contents, doc);
|
|
1176
|
-
return contents;
|
|
1177
|
-
};
|
|
1178
|
-
export const de_CancelLifecycleExecutionCommand = async (output, context) => {
|
|
1179
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1180
|
-
return de_CommandError(output, context);
|
|
1181
|
-
}
|
|
1182
|
-
const contents = map({
|
|
1183
|
-
$metadata: deserializeMetadata(output),
|
|
1184
|
-
});
|
|
1185
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1186
|
-
const doc = take(data, {
|
|
1187
|
-
lifecycleExecutionId: __expectString,
|
|
1188
|
-
});
|
|
1189
|
-
Object.assign(contents, doc);
|
|
1190
|
-
return contents;
|
|
1191
|
-
};
|
|
1192
|
-
export const de_CreateComponentCommand = async (output, context) => {
|
|
1193
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1194
|
-
return de_CommandError(output, context);
|
|
1195
|
-
}
|
|
1196
|
-
const contents = map({
|
|
1197
|
-
$metadata: deserializeMetadata(output),
|
|
1198
|
-
});
|
|
1199
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1200
|
-
const doc = take(data, {
|
|
1201
|
-
clientToken: __expectString,
|
|
1202
|
-
componentBuildVersionArn: __expectString,
|
|
1203
|
-
requestId: __expectString,
|
|
1204
|
-
});
|
|
1205
|
-
Object.assign(contents, doc);
|
|
1206
|
-
return contents;
|
|
1207
|
-
};
|
|
1208
|
-
export const de_CreateContainerRecipeCommand = async (output, context) => {
|
|
1209
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1210
|
-
return de_CommandError(output, context);
|
|
1211
|
-
}
|
|
1212
|
-
const contents = map({
|
|
1213
|
-
$metadata: deserializeMetadata(output),
|
|
1214
|
-
});
|
|
1215
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1216
|
-
const doc = take(data, {
|
|
1217
|
-
clientToken: __expectString,
|
|
1218
|
-
containerRecipeArn: __expectString,
|
|
1219
|
-
requestId: __expectString,
|
|
1220
|
-
});
|
|
1221
|
-
Object.assign(contents, doc);
|
|
1222
|
-
return contents;
|
|
1223
|
-
};
|
|
1224
|
-
export const de_CreateDistributionConfigurationCommand = async (output, context) => {
|
|
1225
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1226
|
-
return de_CommandError(output, context);
|
|
1227
|
-
}
|
|
1228
|
-
const contents = map({
|
|
1229
|
-
$metadata: deserializeMetadata(output),
|
|
1230
|
-
});
|
|
1231
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1232
|
-
const doc = take(data, {
|
|
1233
|
-
clientToken: __expectString,
|
|
1234
|
-
distributionConfigurationArn: __expectString,
|
|
1235
|
-
requestId: __expectString,
|
|
1236
|
-
});
|
|
1237
|
-
Object.assign(contents, doc);
|
|
1238
|
-
return contents;
|
|
1239
|
-
};
|
|
1240
|
-
export const de_CreateImageCommand = async (output, context) => {
|
|
1241
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1242
|
-
return de_CommandError(output, context);
|
|
1243
|
-
}
|
|
1244
|
-
const contents = map({
|
|
1245
|
-
$metadata: deserializeMetadata(output),
|
|
1246
|
-
});
|
|
1247
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1248
|
-
const doc = take(data, {
|
|
1249
|
-
clientToken: __expectString,
|
|
1250
|
-
imageBuildVersionArn: __expectString,
|
|
1251
|
-
requestId: __expectString,
|
|
1252
|
-
});
|
|
1253
|
-
Object.assign(contents, doc);
|
|
1254
|
-
return contents;
|
|
1255
|
-
};
|
|
1256
|
-
export const de_CreateImagePipelineCommand = async (output, context) => {
|
|
1257
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1258
|
-
return de_CommandError(output, context);
|
|
1259
|
-
}
|
|
1260
|
-
const contents = map({
|
|
1261
|
-
$metadata: deserializeMetadata(output),
|
|
1262
|
-
});
|
|
1263
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1264
|
-
const doc = take(data, {
|
|
1265
|
-
clientToken: __expectString,
|
|
1266
|
-
imagePipelineArn: __expectString,
|
|
1267
|
-
requestId: __expectString,
|
|
1268
|
-
});
|
|
1269
|
-
Object.assign(contents, doc);
|
|
1270
|
-
return contents;
|
|
1271
|
-
};
|
|
1272
|
-
export const de_CreateImageRecipeCommand = async (output, context) => {
|
|
1273
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1274
|
-
return de_CommandError(output, context);
|
|
1275
|
-
}
|
|
1276
|
-
const contents = map({
|
|
1277
|
-
$metadata: deserializeMetadata(output),
|
|
1278
|
-
});
|
|
1279
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1280
|
-
const doc = take(data, {
|
|
1281
|
-
clientToken: __expectString,
|
|
1282
|
-
imageRecipeArn: __expectString,
|
|
1283
|
-
requestId: __expectString,
|
|
1284
|
-
});
|
|
1285
|
-
Object.assign(contents, doc);
|
|
1286
|
-
return contents;
|
|
1287
|
-
};
|
|
1288
|
-
export const de_CreateInfrastructureConfigurationCommand = async (output, context) => {
|
|
1289
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1290
|
-
return de_CommandError(output, context);
|
|
1291
|
-
}
|
|
1292
|
-
const contents = map({
|
|
1293
|
-
$metadata: deserializeMetadata(output),
|
|
1294
|
-
});
|
|
1295
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1296
|
-
const doc = take(data, {
|
|
1297
|
-
clientToken: __expectString,
|
|
1298
|
-
infrastructureConfigurationArn: __expectString,
|
|
1299
|
-
requestId: __expectString,
|
|
1300
|
-
});
|
|
1301
|
-
Object.assign(contents, doc);
|
|
1302
|
-
return contents;
|
|
1303
|
-
};
|
|
1304
|
-
export const de_CreateLifecyclePolicyCommand = async (output, context) => {
|
|
1305
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1306
|
-
return de_CommandError(output, context);
|
|
1307
|
-
}
|
|
1308
|
-
const contents = map({
|
|
1309
|
-
$metadata: deserializeMetadata(output),
|
|
1310
|
-
});
|
|
1311
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1312
|
-
const doc = take(data, {
|
|
1313
|
-
clientToken: __expectString,
|
|
1314
|
-
lifecyclePolicyArn: __expectString,
|
|
1315
|
-
});
|
|
1316
|
-
Object.assign(contents, doc);
|
|
1317
|
-
return contents;
|
|
1318
|
-
};
|
|
1319
|
-
export const de_CreateWorkflowCommand = async (output, context) => {
|
|
1320
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1321
|
-
return de_CommandError(output, context);
|
|
1322
|
-
}
|
|
1323
|
-
const contents = map({
|
|
1324
|
-
$metadata: deserializeMetadata(output),
|
|
1325
|
-
});
|
|
1326
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1327
|
-
const doc = take(data, {
|
|
1328
|
-
clientToken: __expectString,
|
|
1329
|
-
workflowBuildVersionArn: __expectString,
|
|
1330
|
-
});
|
|
1331
|
-
Object.assign(contents, doc);
|
|
1332
|
-
return contents;
|
|
1333
|
-
};
|
|
1334
|
-
export const de_DeleteComponentCommand = async (output, context) => {
|
|
1335
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1336
|
-
return de_CommandError(output, context);
|
|
1337
|
-
}
|
|
1338
|
-
const contents = map({
|
|
1339
|
-
$metadata: deserializeMetadata(output),
|
|
1340
|
-
});
|
|
1341
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1342
|
-
const doc = take(data, {
|
|
1343
|
-
componentBuildVersionArn: __expectString,
|
|
1344
|
-
requestId: __expectString,
|
|
1345
|
-
});
|
|
1346
|
-
Object.assign(contents, doc);
|
|
1347
|
-
return contents;
|
|
1348
|
-
};
|
|
1349
|
-
export const de_DeleteContainerRecipeCommand = async (output, context) => {
|
|
1350
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1351
|
-
return de_CommandError(output, context);
|
|
1352
|
-
}
|
|
1353
|
-
const contents = map({
|
|
1354
|
-
$metadata: deserializeMetadata(output),
|
|
1355
|
-
});
|
|
1356
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1357
|
-
const doc = take(data, {
|
|
1358
|
-
containerRecipeArn: __expectString,
|
|
1359
|
-
requestId: __expectString,
|
|
1360
|
-
});
|
|
1361
|
-
Object.assign(contents, doc);
|
|
1362
|
-
return contents;
|
|
1363
|
-
};
|
|
1364
|
-
export const de_DeleteDistributionConfigurationCommand = async (output, context) => {
|
|
1365
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1366
|
-
return de_CommandError(output, context);
|
|
1367
|
-
}
|
|
1368
|
-
const contents = map({
|
|
1369
|
-
$metadata: deserializeMetadata(output),
|
|
1370
|
-
});
|
|
1371
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1372
|
-
const doc = take(data, {
|
|
1373
|
-
distributionConfigurationArn: __expectString,
|
|
1374
|
-
requestId: __expectString,
|
|
1375
|
-
});
|
|
1376
|
-
Object.assign(contents, doc);
|
|
1377
|
-
return contents;
|
|
1378
|
-
};
|
|
1379
|
-
export const de_DeleteImageCommand = async (output, context) => {
|
|
1380
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1381
|
-
return de_CommandError(output, context);
|
|
1382
|
-
}
|
|
1383
|
-
const contents = map({
|
|
1384
|
-
$metadata: deserializeMetadata(output),
|
|
1385
|
-
});
|
|
1386
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1387
|
-
const doc = take(data, {
|
|
1388
|
-
imageBuildVersionArn: __expectString,
|
|
1389
|
-
requestId: __expectString,
|
|
1390
|
-
});
|
|
1391
|
-
Object.assign(contents, doc);
|
|
1392
|
-
return contents;
|
|
1393
|
-
};
|
|
1394
|
-
export const de_DeleteImagePipelineCommand = async (output, context) => {
|
|
1395
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1396
|
-
return de_CommandError(output, context);
|
|
1397
|
-
}
|
|
1398
|
-
const contents = map({
|
|
1399
|
-
$metadata: deserializeMetadata(output),
|
|
1400
|
-
});
|
|
1401
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1402
|
-
const doc = take(data, {
|
|
1403
|
-
imagePipelineArn: __expectString,
|
|
1404
|
-
requestId: __expectString,
|
|
1405
|
-
});
|
|
1406
|
-
Object.assign(contents, doc);
|
|
1407
|
-
return contents;
|
|
1408
|
-
};
|
|
1409
|
-
export const de_DeleteImageRecipeCommand = async (output, context) => {
|
|
1410
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1411
|
-
return de_CommandError(output, context);
|
|
1412
|
-
}
|
|
1413
|
-
const contents = map({
|
|
1414
|
-
$metadata: deserializeMetadata(output),
|
|
1415
|
-
});
|
|
1416
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1417
|
-
const doc = take(data, {
|
|
1418
|
-
imageRecipeArn: __expectString,
|
|
1419
|
-
requestId: __expectString,
|
|
1420
|
-
});
|
|
1421
|
-
Object.assign(contents, doc);
|
|
1422
|
-
return contents;
|
|
1423
|
-
};
|
|
1424
|
-
export const de_DeleteInfrastructureConfigurationCommand = async (output, context) => {
|
|
1425
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1426
|
-
return de_CommandError(output, context);
|
|
1427
|
-
}
|
|
1428
|
-
const contents = map({
|
|
1429
|
-
$metadata: deserializeMetadata(output),
|
|
1430
|
-
});
|
|
1431
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1432
|
-
const doc = take(data, {
|
|
1433
|
-
infrastructureConfigurationArn: __expectString,
|
|
1434
|
-
requestId: __expectString,
|
|
1435
|
-
});
|
|
1436
|
-
Object.assign(contents, doc);
|
|
1437
|
-
return contents;
|
|
1438
|
-
};
|
|
1439
|
-
export const de_DeleteLifecyclePolicyCommand = async (output, context) => {
|
|
1440
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1441
|
-
return de_CommandError(output, context);
|
|
1442
|
-
}
|
|
1443
|
-
const contents = map({
|
|
1444
|
-
$metadata: deserializeMetadata(output),
|
|
1445
|
-
});
|
|
1446
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1447
|
-
const doc = take(data, {
|
|
1448
|
-
lifecyclePolicyArn: __expectString,
|
|
1449
|
-
});
|
|
1450
|
-
Object.assign(contents, doc);
|
|
1451
|
-
return contents;
|
|
1452
|
-
};
|
|
1453
|
-
export const de_DeleteWorkflowCommand = async (output, context) => {
|
|
1454
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1455
|
-
return de_CommandError(output, context);
|
|
1456
|
-
}
|
|
1457
|
-
const contents = map({
|
|
1458
|
-
$metadata: deserializeMetadata(output),
|
|
1459
|
-
});
|
|
1460
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1461
|
-
const doc = take(data, {
|
|
1462
|
-
workflowBuildVersionArn: __expectString,
|
|
1463
|
-
});
|
|
1464
|
-
Object.assign(contents, doc);
|
|
1465
|
-
return contents;
|
|
1466
|
-
};
|
|
1467
|
-
export const de_GetComponentCommand = async (output, context) => {
|
|
1468
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1469
|
-
return de_CommandError(output, context);
|
|
1470
|
-
}
|
|
1471
|
-
const contents = map({
|
|
1472
|
-
$metadata: deserializeMetadata(output),
|
|
1473
|
-
});
|
|
1474
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1475
|
-
const doc = take(data, {
|
|
1476
|
-
component: _json,
|
|
1477
|
-
requestId: __expectString,
|
|
1478
|
-
});
|
|
1479
|
-
Object.assign(contents, doc);
|
|
1480
|
-
return contents;
|
|
1481
|
-
};
|
|
1482
|
-
export const de_GetComponentPolicyCommand = async (output, context) => {
|
|
1483
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1484
|
-
return de_CommandError(output, context);
|
|
1485
|
-
}
|
|
1486
|
-
const contents = map({
|
|
1487
|
-
$metadata: deserializeMetadata(output),
|
|
1488
|
-
});
|
|
1489
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1490
|
-
const doc = take(data, {
|
|
1491
|
-
policy: __expectString,
|
|
1492
|
-
requestId: __expectString,
|
|
1493
|
-
});
|
|
1494
|
-
Object.assign(contents, doc);
|
|
1495
|
-
return contents;
|
|
1496
|
-
};
|
|
1497
|
-
export const de_GetContainerRecipeCommand = async (output, context) => {
|
|
1498
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1499
|
-
return de_CommandError(output, context);
|
|
1500
|
-
}
|
|
1501
|
-
const contents = map({
|
|
1502
|
-
$metadata: deserializeMetadata(output),
|
|
1503
|
-
});
|
|
1504
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1505
|
-
const doc = take(data, {
|
|
1506
|
-
containerRecipe: _json,
|
|
1507
|
-
requestId: __expectString,
|
|
1508
|
-
});
|
|
1509
|
-
Object.assign(contents, doc);
|
|
1510
|
-
return contents;
|
|
1511
|
-
};
|
|
1512
|
-
export const de_GetContainerRecipePolicyCommand = async (output, context) => {
|
|
1513
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1514
|
-
return de_CommandError(output, context);
|
|
1515
|
-
}
|
|
1516
|
-
const contents = map({
|
|
1517
|
-
$metadata: deserializeMetadata(output),
|
|
1518
|
-
});
|
|
1519
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1520
|
-
const doc = take(data, {
|
|
1521
|
-
policy: __expectString,
|
|
1522
|
-
requestId: __expectString,
|
|
1523
|
-
});
|
|
1524
|
-
Object.assign(contents, doc);
|
|
1525
|
-
return contents;
|
|
1526
|
-
};
|
|
1527
|
-
export const de_GetDistributionConfigurationCommand = async (output, context) => {
|
|
1528
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1529
|
-
return de_CommandError(output, context);
|
|
1530
|
-
}
|
|
1531
|
-
const contents = map({
|
|
1532
|
-
$metadata: deserializeMetadata(output),
|
|
1533
|
-
});
|
|
1534
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1535
|
-
const doc = take(data, {
|
|
1536
|
-
distributionConfiguration: _json,
|
|
1537
|
-
requestId: __expectString,
|
|
1538
|
-
});
|
|
1539
|
-
Object.assign(contents, doc);
|
|
1540
|
-
return contents;
|
|
1541
|
-
};
|
|
1542
|
-
export const de_GetImageCommand = async (output, context) => {
|
|
1543
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1544
|
-
return de_CommandError(output, context);
|
|
1545
|
-
}
|
|
1546
|
-
const contents = map({
|
|
1547
|
-
$metadata: deserializeMetadata(output),
|
|
1548
|
-
});
|
|
1549
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1550
|
-
const doc = take(data, {
|
|
1551
|
-
image: (_) => de_Image(_, context),
|
|
1552
|
-
requestId: __expectString,
|
|
1553
|
-
});
|
|
1554
|
-
Object.assign(contents, doc);
|
|
1555
|
-
return contents;
|
|
1556
|
-
};
|
|
1557
|
-
export const de_GetImagePipelineCommand = async (output, context) => {
|
|
1558
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1559
|
-
return de_CommandError(output, context);
|
|
1560
|
-
}
|
|
1561
|
-
const contents = map({
|
|
1562
|
-
$metadata: deserializeMetadata(output),
|
|
1563
|
-
});
|
|
1564
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1565
|
-
const doc = take(data, {
|
|
1566
|
-
imagePipeline: _json,
|
|
1567
|
-
requestId: __expectString,
|
|
1568
|
-
});
|
|
1569
|
-
Object.assign(contents, doc);
|
|
1570
|
-
return contents;
|
|
1571
|
-
};
|
|
1572
|
-
export const de_GetImagePolicyCommand = async (output, context) => {
|
|
1573
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1574
|
-
return de_CommandError(output, context);
|
|
1575
|
-
}
|
|
1576
|
-
const contents = map({
|
|
1577
|
-
$metadata: deserializeMetadata(output),
|
|
1578
|
-
});
|
|
1579
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1580
|
-
const doc = take(data, {
|
|
1581
|
-
policy: __expectString,
|
|
1582
|
-
requestId: __expectString,
|
|
1583
|
-
});
|
|
1584
|
-
Object.assign(contents, doc);
|
|
1585
|
-
return contents;
|
|
1586
|
-
};
|
|
1587
|
-
export const de_GetImageRecipeCommand = async (output, context) => {
|
|
1588
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1589
|
-
return de_CommandError(output, context);
|
|
1590
|
-
}
|
|
1591
|
-
const contents = map({
|
|
1592
|
-
$metadata: deserializeMetadata(output),
|
|
1593
|
-
});
|
|
1594
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1595
|
-
const doc = take(data, {
|
|
1596
|
-
imageRecipe: _json,
|
|
1597
|
-
requestId: __expectString,
|
|
1598
|
-
});
|
|
1599
|
-
Object.assign(contents, doc);
|
|
1600
|
-
return contents;
|
|
1601
|
-
};
|
|
1602
|
-
export const de_GetImageRecipePolicyCommand = async (output, context) => {
|
|
1603
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1604
|
-
return de_CommandError(output, context);
|
|
1605
|
-
}
|
|
1606
|
-
const contents = map({
|
|
1607
|
-
$metadata: deserializeMetadata(output),
|
|
1608
|
-
});
|
|
1609
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1610
|
-
const doc = take(data, {
|
|
1611
|
-
policy: __expectString,
|
|
1612
|
-
requestId: __expectString,
|
|
1613
|
-
});
|
|
1614
|
-
Object.assign(contents, doc);
|
|
1615
|
-
return contents;
|
|
1616
|
-
};
|
|
1617
|
-
export const de_GetInfrastructureConfigurationCommand = async (output, context) => {
|
|
1618
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1619
|
-
return de_CommandError(output, context);
|
|
1620
|
-
}
|
|
1621
|
-
const contents = map({
|
|
1622
|
-
$metadata: deserializeMetadata(output),
|
|
1623
|
-
});
|
|
1624
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1625
|
-
const doc = take(data, {
|
|
1626
|
-
infrastructureConfiguration: _json,
|
|
1627
|
-
requestId: __expectString,
|
|
1628
|
-
});
|
|
1629
|
-
Object.assign(contents, doc);
|
|
1630
|
-
return contents;
|
|
1631
|
-
};
|
|
1632
|
-
export const de_GetLifecycleExecutionCommand = async (output, context) => {
|
|
1633
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1634
|
-
return de_CommandError(output, context);
|
|
1635
|
-
}
|
|
1636
|
-
const contents = map({
|
|
1637
|
-
$metadata: deserializeMetadata(output),
|
|
1638
|
-
});
|
|
1639
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1640
|
-
const doc = take(data, {
|
|
1641
|
-
lifecycleExecution: (_) => de_LifecycleExecution(_, context),
|
|
1642
|
-
});
|
|
1643
|
-
Object.assign(contents, doc);
|
|
1644
|
-
return contents;
|
|
1645
|
-
};
|
|
1646
|
-
export const de_GetLifecyclePolicyCommand = async (output, context) => {
|
|
1647
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1648
|
-
return de_CommandError(output, context);
|
|
1649
|
-
}
|
|
1650
|
-
const contents = map({
|
|
1651
|
-
$metadata: deserializeMetadata(output),
|
|
1652
|
-
});
|
|
1653
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1654
|
-
const doc = take(data, {
|
|
1655
|
-
lifecyclePolicy: (_) => de_LifecyclePolicy(_, context),
|
|
1656
|
-
});
|
|
1657
|
-
Object.assign(contents, doc);
|
|
1658
|
-
return contents;
|
|
1659
|
-
};
|
|
1660
|
-
export const de_GetMarketplaceResourceCommand = async (output, context) => {
|
|
1661
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1662
|
-
return de_CommandError(output, context);
|
|
1663
|
-
}
|
|
1664
|
-
const contents = map({
|
|
1665
|
-
$metadata: deserializeMetadata(output),
|
|
1666
|
-
});
|
|
1667
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1668
|
-
const doc = take(data, {
|
|
1669
|
-
data: __expectString,
|
|
1670
|
-
resourceArn: __expectString,
|
|
1671
|
-
url: __expectString,
|
|
1672
|
-
});
|
|
1673
|
-
Object.assign(contents, doc);
|
|
1674
|
-
return contents;
|
|
1675
|
-
};
|
|
1676
|
-
export const de_GetWorkflowCommand = async (output, context) => {
|
|
1677
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1678
|
-
return de_CommandError(output, context);
|
|
1679
|
-
}
|
|
1680
|
-
const contents = map({
|
|
1681
|
-
$metadata: deserializeMetadata(output),
|
|
1682
|
-
});
|
|
1683
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1684
|
-
const doc = take(data, {
|
|
1685
|
-
workflow: _json,
|
|
1686
|
-
});
|
|
1687
|
-
Object.assign(contents, doc);
|
|
1688
|
-
return contents;
|
|
1689
|
-
};
|
|
1690
|
-
export const de_GetWorkflowExecutionCommand = async (output, context) => {
|
|
1691
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1692
|
-
return de_CommandError(output, context);
|
|
1693
|
-
}
|
|
1694
|
-
const contents = map({
|
|
1695
|
-
$metadata: deserializeMetadata(output),
|
|
1696
|
-
});
|
|
1697
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1698
|
-
const doc = take(data, {
|
|
1699
|
-
endTime: __expectString,
|
|
1700
|
-
imageBuildVersionArn: __expectString,
|
|
1701
|
-
message: __expectString,
|
|
1702
|
-
parallelGroup: __expectString,
|
|
1703
|
-
requestId: __expectString,
|
|
1704
|
-
startTime: __expectString,
|
|
1705
|
-
status: __expectString,
|
|
1706
|
-
totalStepCount: __expectInt32,
|
|
1707
|
-
totalStepsFailed: __expectInt32,
|
|
1708
|
-
totalStepsSkipped: __expectInt32,
|
|
1709
|
-
totalStepsSucceeded: __expectInt32,
|
|
1710
|
-
type: __expectString,
|
|
1711
|
-
workflowBuildVersionArn: __expectString,
|
|
1712
|
-
workflowExecutionId: __expectString,
|
|
1713
|
-
});
|
|
1714
|
-
Object.assign(contents, doc);
|
|
1715
|
-
return contents;
|
|
1716
|
-
};
|
|
1717
|
-
export const de_GetWorkflowStepExecutionCommand = async (output, context) => {
|
|
1718
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1719
|
-
return de_CommandError(output, context);
|
|
1720
|
-
}
|
|
1721
|
-
const contents = map({
|
|
1722
|
-
$metadata: deserializeMetadata(output),
|
|
1723
|
-
});
|
|
1724
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1725
|
-
const doc = take(data, {
|
|
1726
|
-
action: __expectString,
|
|
1727
|
-
description: __expectString,
|
|
1728
|
-
endTime: __expectString,
|
|
1729
|
-
imageBuildVersionArn: __expectString,
|
|
1730
|
-
inputs: __expectString,
|
|
1731
|
-
message: __expectString,
|
|
1732
|
-
name: __expectString,
|
|
1733
|
-
onFailure: __expectString,
|
|
1734
|
-
outputs: __expectString,
|
|
1735
|
-
requestId: __expectString,
|
|
1736
|
-
rollbackStatus: __expectString,
|
|
1737
|
-
startTime: __expectString,
|
|
1738
|
-
status: __expectString,
|
|
1739
|
-
stepExecutionId: __expectString,
|
|
1740
|
-
timeoutSeconds: __expectInt32,
|
|
1741
|
-
workflowBuildVersionArn: __expectString,
|
|
1742
|
-
workflowExecutionId: __expectString,
|
|
1743
|
-
});
|
|
1744
|
-
Object.assign(contents, doc);
|
|
1745
|
-
return contents;
|
|
1746
|
-
};
|
|
1747
|
-
export const de_ImportComponentCommand = async (output, context) => {
|
|
1748
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1749
|
-
return de_CommandError(output, context);
|
|
1750
|
-
}
|
|
1751
|
-
const contents = map({
|
|
1752
|
-
$metadata: deserializeMetadata(output),
|
|
1753
|
-
});
|
|
1754
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1755
|
-
const doc = take(data, {
|
|
1756
|
-
clientToken: __expectString,
|
|
1757
|
-
componentBuildVersionArn: __expectString,
|
|
1758
|
-
requestId: __expectString,
|
|
1759
|
-
});
|
|
1760
|
-
Object.assign(contents, doc);
|
|
1761
|
-
return contents;
|
|
1762
|
-
};
|
|
1763
|
-
export const de_ImportDiskImageCommand = async (output, context) => {
|
|
1764
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1765
|
-
return de_CommandError(output, context);
|
|
1766
|
-
}
|
|
1767
|
-
const contents = map({
|
|
1768
|
-
$metadata: deserializeMetadata(output),
|
|
1769
|
-
});
|
|
1770
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1771
|
-
const doc = take(data, {
|
|
1772
|
-
clientToken: __expectString,
|
|
1773
|
-
imageBuildVersionArn: __expectString,
|
|
1774
|
-
});
|
|
1775
|
-
Object.assign(contents, doc);
|
|
1776
|
-
return contents;
|
|
1777
|
-
};
|
|
1778
|
-
export const de_ImportVmImageCommand = async (output, context) => {
|
|
1779
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1780
|
-
return de_CommandError(output, context);
|
|
1781
|
-
}
|
|
1782
|
-
const contents = map({
|
|
1783
|
-
$metadata: deserializeMetadata(output),
|
|
1784
|
-
});
|
|
1785
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1786
|
-
const doc = take(data, {
|
|
1787
|
-
clientToken: __expectString,
|
|
1788
|
-
imageArn: __expectString,
|
|
1789
|
-
requestId: __expectString,
|
|
1790
|
-
});
|
|
1791
|
-
Object.assign(contents, doc);
|
|
1792
|
-
return contents;
|
|
1793
|
-
};
|
|
1794
|
-
export const de_ListComponentBuildVersionsCommand = async (output, context) => {
|
|
1795
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1796
|
-
return de_CommandError(output, context);
|
|
1797
|
-
}
|
|
1798
|
-
const contents = map({
|
|
1799
|
-
$metadata: deserializeMetadata(output),
|
|
1800
|
-
});
|
|
1801
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1802
|
-
const doc = take(data, {
|
|
1803
|
-
componentSummaryList: _json,
|
|
1804
|
-
nextToken: __expectString,
|
|
1805
|
-
requestId: __expectString,
|
|
1806
|
-
});
|
|
1807
|
-
Object.assign(contents, doc);
|
|
1808
|
-
return contents;
|
|
1809
|
-
};
|
|
1810
|
-
export const de_ListComponentsCommand = async (output, context) => {
|
|
1811
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1812
|
-
return de_CommandError(output, context);
|
|
1813
|
-
}
|
|
1814
|
-
const contents = map({
|
|
1815
|
-
$metadata: deserializeMetadata(output),
|
|
1816
|
-
});
|
|
1817
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1818
|
-
const doc = take(data, {
|
|
1819
|
-
componentVersionList: _json,
|
|
1820
|
-
nextToken: __expectString,
|
|
1821
|
-
requestId: __expectString,
|
|
1822
|
-
});
|
|
1823
|
-
Object.assign(contents, doc);
|
|
1824
|
-
return contents;
|
|
1825
|
-
};
|
|
1826
|
-
export const de_ListContainerRecipesCommand = async (output, context) => {
|
|
1827
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1828
|
-
return de_CommandError(output, context);
|
|
1829
|
-
}
|
|
1830
|
-
const contents = map({
|
|
1831
|
-
$metadata: deserializeMetadata(output),
|
|
1832
|
-
});
|
|
1833
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1834
|
-
const doc = take(data, {
|
|
1835
|
-
containerRecipeSummaryList: _json,
|
|
1836
|
-
nextToken: __expectString,
|
|
1837
|
-
requestId: __expectString,
|
|
1838
|
-
});
|
|
1839
|
-
Object.assign(contents, doc);
|
|
1840
|
-
return contents;
|
|
1841
|
-
};
|
|
1842
|
-
export const de_ListDistributionConfigurationsCommand = async (output, context) => {
|
|
1843
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1844
|
-
return de_CommandError(output, context);
|
|
1845
|
-
}
|
|
1846
|
-
const contents = map({
|
|
1847
|
-
$metadata: deserializeMetadata(output),
|
|
1848
|
-
});
|
|
1849
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1850
|
-
const doc = take(data, {
|
|
1851
|
-
distributionConfigurationSummaryList: _json,
|
|
1852
|
-
nextToken: __expectString,
|
|
1853
|
-
requestId: __expectString,
|
|
1854
|
-
});
|
|
1855
|
-
Object.assign(contents, doc);
|
|
1856
|
-
return contents;
|
|
1857
|
-
};
|
|
1858
|
-
export const de_ListImageBuildVersionsCommand = async (output, context) => {
|
|
1859
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1860
|
-
return de_CommandError(output, context);
|
|
1861
|
-
}
|
|
1862
|
-
const contents = map({
|
|
1863
|
-
$metadata: deserializeMetadata(output),
|
|
1864
|
-
});
|
|
1865
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1866
|
-
const doc = take(data, {
|
|
1867
|
-
imageSummaryList: (_) => de_ImageSummaryList(_, context),
|
|
1868
|
-
nextToken: __expectString,
|
|
1869
|
-
requestId: __expectString,
|
|
1870
|
-
});
|
|
1871
|
-
Object.assign(contents, doc);
|
|
1872
|
-
return contents;
|
|
1873
|
-
};
|
|
1874
|
-
export const de_ListImagePackagesCommand = async (output, context) => {
|
|
1875
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1876
|
-
return de_CommandError(output, context);
|
|
1877
|
-
}
|
|
1878
|
-
const contents = map({
|
|
1879
|
-
$metadata: deserializeMetadata(output),
|
|
1880
|
-
});
|
|
1881
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1882
|
-
const doc = take(data, {
|
|
1883
|
-
imagePackageList: _json,
|
|
1884
|
-
nextToken: __expectString,
|
|
1885
|
-
requestId: __expectString,
|
|
1886
|
-
});
|
|
1887
|
-
Object.assign(contents, doc);
|
|
1888
|
-
return contents;
|
|
1889
|
-
};
|
|
1890
|
-
export const de_ListImagePipelineImagesCommand = async (output, context) => {
|
|
1891
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1892
|
-
return de_CommandError(output, context);
|
|
1893
|
-
}
|
|
1894
|
-
const contents = map({
|
|
1895
|
-
$metadata: deserializeMetadata(output),
|
|
1896
|
-
});
|
|
1897
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1898
|
-
const doc = take(data, {
|
|
1899
|
-
imageSummaryList: (_) => de_ImageSummaryList(_, context),
|
|
1900
|
-
nextToken: __expectString,
|
|
1901
|
-
requestId: __expectString,
|
|
1902
|
-
});
|
|
1903
|
-
Object.assign(contents, doc);
|
|
1904
|
-
return contents;
|
|
1905
|
-
};
|
|
1906
|
-
export const de_ListImagePipelinesCommand = async (output, context) => {
|
|
1907
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1908
|
-
return de_CommandError(output, context);
|
|
1909
|
-
}
|
|
1910
|
-
const contents = map({
|
|
1911
|
-
$metadata: deserializeMetadata(output),
|
|
1912
|
-
});
|
|
1913
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1914
|
-
const doc = take(data, {
|
|
1915
|
-
imagePipelineList: _json,
|
|
1916
|
-
nextToken: __expectString,
|
|
1917
|
-
requestId: __expectString,
|
|
1918
|
-
});
|
|
1919
|
-
Object.assign(contents, doc);
|
|
1920
|
-
return contents;
|
|
1921
|
-
};
|
|
1922
|
-
export const de_ListImageRecipesCommand = async (output, context) => {
|
|
1923
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1924
|
-
return de_CommandError(output, context);
|
|
1925
|
-
}
|
|
1926
|
-
const contents = map({
|
|
1927
|
-
$metadata: deserializeMetadata(output),
|
|
1928
|
-
});
|
|
1929
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1930
|
-
const doc = take(data, {
|
|
1931
|
-
imageRecipeSummaryList: _json,
|
|
1932
|
-
nextToken: __expectString,
|
|
1933
|
-
requestId: __expectString,
|
|
1934
|
-
});
|
|
1935
|
-
Object.assign(contents, doc);
|
|
1936
|
-
return contents;
|
|
1937
|
-
};
|
|
1938
|
-
export const de_ListImagesCommand = async (output, context) => {
|
|
1939
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1940
|
-
return de_CommandError(output, context);
|
|
1941
|
-
}
|
|
1942
|
-
const contents = map({
|
|
1943
|
-
$metadata: deserializeMetadata(output),
|
|
1944
|
-
});
|
|
1945
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1946
|
-
const doc = take(data, {
|
|
1947
|
-
imageVersionList: _json,
|
|
1948
|
-
nextToken: __expectString,
|
|
1949
|
-
requestId: __expectString,
|
|
1950
|
-
});
|
|
1951
|
-
Object.assign(contents, doc);
|
|
1952
|
-
return contents;
|
|
1953
|
-
};
|
|
1954
|
-
export const de_ListImageScanFindingAggregationsCommand = async (output, context) => {
|
|
1955
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1956
|
-
return de_CommandError(output, context);
|
|
1957
|
-
}
|
|
1958
|
-
const contents = map({
|
|
1959
|
-
$metadata: deserializeMetadata(output),
|
|
1960
|
-
});
|
|
1961
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1962
|
-
const doc = take(data, {
|
|
1963
|
-
aggregationType: __expectString,
|
|
1964
|
-
nextToken: __expectString,
|
|
1965
|
-
requestId: __expectString,
|
|
1966
|
-
responses: _json,
|
|
1967
|
-
});
|
|
1968
|
-
Object.assign(contents, doc);
|
|
1969
|
-
return contents;
|
|
1970
|
-
};
|
|
1971
|
-
export const de_ListImageScanFindingsCommand = async (output, context) => {
|
|
1972
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1973
|
-
return de_CommandError(output, context);
|
|
1974
|
-
}
|
|
1975
|
-
const contents = map({
|
|
1976
|
-
$metadata: deserializeMetadata(output),
|
|
1977
|
-
});
|
|
1978
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1979
|
-
const doc = take(data, {
|
|
1980
|
-
findings: (_) => de_ImageScanFindingsList(_, context),
|
|
1981
|
-
nextToken: __expectString,
|
|
1982
|
-
requestId: __expectString,
|
|
1983
|
-
});
|
|
1984
|
-
Object.assign(contents, doc);
|
|
1985
|
-
return contents;
|
|
1986
|
-
};
|
|
1987
|
-
export const de_ListInfrastructureConfigurationsCommand = async (output, context) => {
|
|
1988
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1989
|
-
return de_CommandError(output, context);
|
|
1990
|
-
}
|
|
1991
|
-
const contents = map({
|
|
1992
|
-
$metadata: deserializeMetadata(output),
|
|
1993
|
-
});
|
|
1994
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1995
|
-
const doc = take(data, {
|
|
1996
|
-
infrastructureConfigurationSummaryList: _json,
|
|
1997
|
-
nextToken: __expectString,
|
|
1998
|
-
requestId: __expectString,
|
|
1999
|
-
});
|
|
2000
|
-
Object.assign(contents, doc);
|
|
2001
|
-
return contents;
|
|
2002
|
-
};
|
|
2003
|
-
export const de_ListLifecycleExecutionResourcesCommand = async (output, context) => {
|
|
2004
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2005
|
-
return de_CommandError(output, context);
|
|
2006
|
-
}
|
|
2007
|
-
const contents = map({
|
|
2008
|
-
$metadata: deserializeMetadata(output),
|
|
2009
|
-
});
|
|
2010
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2011
|
-
const doc = take(data, {
|
|
2012
|
-
lifecycleExecutionId: __expectString,
|
|
2013
|
-
lifecycleExecutionState: _json,
|
|
2014
|
-
nextToken: __expectString,
|
|
2015
|
-
resources: (_) => de_LifecycleExecutionResourceList(_, context),
|
|
2016
|
-
});
|
|
2017
|
-
Object.assign(contents, doc);
|
|
2018
|
-
return contents;
|
|
2019
|
-
};
|
|
2020
|
-
export const de_ListLifecycleExecutionsCommand = async (output, context) => {
|
|
2021
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2022
|
-
return de_CommandError(output, context);
|
|
2023
|
-
}
|
|
2024
|
-
const contents = map({
|
|
2025
|
-
$metadata: deserializeMetadata(output),
|
|
2026
|
-
});
|
|
2027
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2028
|
-
const doc = take(data, {
|
|
2029
|
-
lifecycleExecutions: (_) => de_LifecycleExecutionsList(_, context),
|
|
2030
|
-
nextToken: __expectString,
|
|
2031
|
-
});
|
|
2032
|
-
Object.assign(contents, doc);
|
|
2033
|
-
return contents;
|
|
2034
|
-
};
|
|
2035
|
-
export const de_ListLifecyclePoliciesCommand = async (output, context) => {
|
|
2036
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2037
|
-
return de_CommandError(output, context);
|
|
2038
|
-
}
|
|
2039
|
-
const contents = map({
|
|
2040
|
-
$metadata: deserializeMetadata(output),
|
|
2041
|
-
});
|
|
2042
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2043
|
-
const doc = take(data, {
|
|
2044
|
-
lifecyclePolicySummaryList: (_) => de_LifecyclePolicySummaryList(_, context),
|
|
2045
|
-
nextToken: __expectString,
|
|
2046
|
-
});
|
|
2047
|
-
Object.assign(contents, doc);
|
|
2048
|
-
return contents;
|
|
2049
|
-
};
|
|
2050
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2051
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2052
|
-
return de_CommandError(output, context);
|
|
2053
|
-
}
|
|
2054
|
-
const contents = map({
|
|
2055
|
-
$metadata: deserializeMetadata(output),
|
|
2056
|
-
});
|
|
2057
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2058
|
-
const doc = take(data, {
|
|
2059
|
-
tags: _json,
|
|
2060
|
-
});
|
|
2061
|
-
Object.assign(contents, doc);
|
|
2062
|
-
return contents;
|
|
2063
|
-
};
|
|
2064
|
-
export const de_ListWaitingWorkflowStepsCommand = async (output, context) => {
|
|
2065
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2066
|
-
return de_CommandError(output, context);
|
|
2067
|
-
}
|
|
2068
|
-
const contents = map({
|
|
2069
|
-
$metadata: deserializeMetadata(output),
|
|
2070
|
-
});
|
|
2071
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2072
|
-
const doc = take(data, {
|
|
2073
|
-
nextToken: __expectString,
|
|
2074
|
-
steps: _json,
|
|
2075
|
-
});
|
|
2076
|
-
Object.assign(contents, doc);
|
|
2077
|
-
return contents;
|
|
2078
|
-
};
|
|
2079
|
-
export const de_ListWorkflowBuildVersionsCommand = async (output, context) => {
|
|
2080
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2081
|
-
return de_CommandError(output, context);
|
|
2082
|
-
}
|
|
2083
|
-
const contents = map({
|
|
2084
|
-
$metadata: deserializeMetadata(output),
|
|
2085
|
-
});
|
|
2086
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2087
|
-
const doc = take(data, {
|
|
2088
|
-
nextToken: __expectString,
|
|
2089
|
-
workflowSummaryList: _json,
|
|
2090
|
-
});
|
|
2091
|
-
Object.assign(contents, doc);
|
|
2092
|
-
return contents;
|
|
2093
|
-
};
|
|
2094
|
-
export const de_ListWorkflowExecutionsCommand = async (output, context) => {
|
|
2095
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2096
|
-
return de_CommandError(output, context);
|
|
2097
|
-
}
|
|
2098
|
-
const contents = map({
|
|
2099
|
-
$metadata: deserializeMetadata(output),
|
|
2100
|
-
});
|
|
2101
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2102
|
-
const doc = take(data, {
|
|
2103
|
-
imageBuildVersionArn: __expectString,
|
|
2104
|
-
message: __expectString,
|
|
2105
|
-
nextToken: __expectString,
|
|
2106
|
-
requestId: __expectString,
|
|
2107
|
-
workflowExecutions: _json,
|
|
2108
|
-
});
|
|
2109
|
-
Object.assign(contents, doc);
|
|
2110
|
-
return contents;
|
|
2111
|
-
};
|
|
2112
|
-
export const de_ListWorkflowsCommand = async (output, context) => {
|
|
2113
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2114
|
-
return de_CommandError(output, context);
|
|
2115
|
-
}
|
|
2116
|
-
const contents = map({
|
|
2117
|
-
$metadata: deserializeMetadata(output),
|
|
2118
|
-
});
|
|
2119
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2120
|
-
const doc = take(data, {
|
|
2121
|
-
nextToken: __expectString,
|
|
2122
|
-
workflowVersionList: _json,
|
|
2123
|
-
});
|
|
2124
|
-
Object.assign(contents, doc);
|
|
2125
|
-
return contents;
|
|
2126
|
-
};
|
|
2127
|
-
export const de_ListWorkflowStepExecutionsCommand = async (output, context) => {
|
|
2128
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2129
|
-
return de_CommandError(output, context);
|
|
2130
|
-
}
|
|
2131
|
-
const contents = map({
|
|
2132
|
-
$metadata: deserializeMetadata(output),
|
|
2133
|
-
});
|
|
2134
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2135
|
-
const doc = take(data, {
|
|
2136
|
-
imageBuildVersionArn: __expectString,
|
|
2137
|
-
message: __expectString,
|
|
2138
|
-
nextToken: __expectString,
|
|
2139
|
-
requestId: __expectString,
|
|
2140
|
-
steps: _json,
|
|
2141
|
-
workflowBuildVersionArn: __expectString,
|
|
2142
|
-
workflowExecutionId: __expectString,
|
|
2143
|
-
});
|
|
2144
|
-
Object.assign(contents, doc);
|
|
2145
|
-
return contents;
|
|
2146
|
-
};
|
|
2147
|
-
export const de_PutComponentPolicyCommand = async (output, context) => {
|
|
2148
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2149
|
-
return de_CommandError(output, context);
|
|
2150
|
-
}
|
|
2151
|
-
const contents = map({
|
|
2152
|
-
$metadata: deserializeMetadata(output),
|
|
2153
|
-
});
|
|
2154
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2155
|
-
const doc = take(data, {
|
|
2156
|
-
componentArn: __expectString,
|
|
2157
|
-
requestId: __expectString,
|
|
2158
|
-
});
|
|
2159
|
-
Object.assign(contents, doc);
|
|
2160
|
-
return contents;
|
|
2161
|
-
};
|
|
2162
|
-
export const de_PutContainerRecipePolicyCommand = async (output, context) => {
|
|
2163
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2164
|
-
return de_CommandError(output, context);
|
|
2165
|
-
}
|
|
2166
|
-
const contents = map({
|
|
2167
|
-
$metadata: deserializeMetadata(output),
|
|
2168
|
-
});
|
|
2169
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2170
|
-
const doc = take(data, {
|
|
2171
|
-
containerRecipeArn: __expectString,
|
|
2172
|
-
requestId: __expectString,
|
|
2173
|
-
});
|
|
2174
|
-
Object.assign(contents, doc);
|
|
2175
|
-
return contents;
|
|
2176
|
-
};
|
|
2177
|
-
export const de_PutImagePolicyCommand = async (output, context) => {
|
|
2178
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2179
|
-
return de_CommandError(output, context);
|
|
2180
|
-
}
|
|
2181
|
-
const contents = map({
|
|
2182
|
-
$metadata: deserializeMetadata(output),
|
|
2183
|
-
});
|
|
2184
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2185
|
-
const doc = take(data, {
|
|
2186
|
-
imageArn: __expectString,
|
|
2187
|
-
requestId: __expectString,
|
|
2188
|
-
});
|
|
2189
|
-
Object.assign(contents, doc);
|
|
2190
|
-
return contents;
|
|
2191
|
-
};
|
|
2192
|
-
export const de_PutImageRecipePolicyCommand = async (output, context) => {
|
|
2193
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2194
|
-
return de_CommandError(output, context);
|
|
2195
|
-
}
|
|
2196
|
-
const contents = map({
|
|
2197
|
-
$metadata: deserializeMetadata(output),
|
|
2198
|
-
});
|
|
2199
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2200
|
-
const doc = take(data, {
|
|
2201
|
-
imageRecipeArn: __expectString,
|
|
2202
|
-
requestId: __expectString,
|
|
2203
|
-
});
|
|
2204
|
-
Object.assign(contents, doc);
|
|
2205
|
-
return contents;
|
|
2206
|
-
};
|
|
2207
|
-
export const de_SendWorkflowStepActionCommand = async (output, context) => {
|
|
2208
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2209
|
-
return de_CommandError(output, context);
|
|
2210
|
-
}
|
|
2211
|
-
const contents = map({
|
|
2212
|
-
$metadata: deserializeMetadata(output),
|
|
2213
|
-
});
|
|
2214
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2215
|
-
const doc = take(data, {
|
|
2216
|
-
clientToken: __expectString,
|
|
2217
|
-
imageBuildVersionArn: __expectString,
|
|
2218
|
-
stepExecutionId: __expectString,
|
|
2219
|
-
});
|
|
2220
|
-
Object.assign(contents, doc);
|
|
2221
|
-
return contents;
|
|
2222
|
-
};
|
|
2223
|
-
export const de_StartImagePipelineExecutionCommand = async (output, context) => {
|
|
2224
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2225
|
-
return de_CommandError(output, context);
|
|
2226
|
-
}
|
|
2227
|
-
const contents = map({
|
|
2228
|
-
$metadata: deserializeMetadata(output),
|
|
2229
|
-
});
|
|
2230
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2231
|
-
const doc = take(data, {
|
|
2232
|
-
clientToken: __expectString,
|
|
2233
|
-
imageBuildVersionArn: __expectString,
|
|
2234
|
-
requestId: __expectString,
|
|
2235
|
-
});
|
|
2236
|
-
Object.assign(contents, doc);
|
|
2237
|
-
return contents;
|
|
2238
|
-
};
|
|
2239
|
-
export const de_StartResourceStateUpdateCommand = async (output, context) => {
|
|
2240
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2241
|
-
return de_CommandError(output, context);
|
|
2242
|
-
}
|
|
2243
|
-
const contents = map({
|
|
2244
|
-
$metadata: deserializeMetadata(output),
|
|
2245
|
-
});
|
|
2246
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2247
|
-
const doc = take(data, {
|
|
2248
|
-
lifecycleExecutionId: __expectString,
|
|
2249
|
-
resourceArn: __expectString,
|
|
2250
|
-
});
|
|
2251
|
-
Object.assign(contents, doc);
|
|
2252
|
-
return contents;
|
|
2253
|
-
};
|
|
2254
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
2255
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2256
|
-
return de_CommandError(output, context);
|
|
2257
|
-
}
|
|
2258
|
-
const contents = map({
|
|
2259
|
-
$metadata: deserializeMetadata(output),
|
|
2260
|
-
});
|
|
2261
|
-
await collectBody(output.body, context);
|
|
2262
|
-
return contents;
|
|
2263
|
-
};
|
|
2264
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
2265
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2266
|
-
return de_CommandError(output, context);
|
|
2267
|
-
}
|
|
2268
|
-
const contents = map({
|
|
2269
|
-
$metadata: deserializeMetadata(output),
|
|
2270
|
-
});
|
|
2271
|
-
await collectBody(output.body, context);
|
|
2272
|
-
return contents;
|
|
2273
|
-
};
|
|
2274
|
-
export const de_UpdateDistributionConfigurationCommand = async (output, context) => {
|
|
2275
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2276
|
-
return de_CommandError(output, context);
|
|
2277
|
-
}
|
|
2278
|
-
const contents = map({
|
|
2279
|
-
$metadata: deserializeMetadata(output),
|
|
2280
|
-
});
|
|
2281
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2282
|
-
const doc = take(data, {
|
|
2283
|
-
clientToken: __expectString,
|
|
2284
|
-
distributionConfigurationArn: __expectString,
|
|
2285
|
-
requestId: __expectString,
|
|
2286
|
-
});
|
|
2287
|
-
Object.assign(contents, doc);
|
|
2288
|
-
return contents;
|
|
2289
|
-
};
|
|
2290
|
-
export const de_UpdateImagePipelineCommand = async (output, context) => {
|
|
2291
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2292
|
-
return de_CommandError(output, context);
|
|
2293
|
-
}
|
|
2294
|
-
const contents = map({
|
|
2295
|
-
$metadata: deserializeMetadata(output),
|
|
2296
|
-
});
|
|
2297
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2298
|
-
const doc = take(data, {
|
|
2299
|
-
clientToken: __expectString,
|
|
2300
|
-
imagePipelineArn: __expectString,
|
|
2301
|
-
requestId: __expectString,
|
|
2302
|
-
});
|
|
2303
|
-
Object.assign(contents, doc);
|
|
2304
|
-
return contents;
|
|
2305
|
-
};
|
|
2306
|
-
export const de_UpdateInfrastructureConfigurationCommand = async (output, context) => {
|
|
2307
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2308
|
-
return de_CommandError(output, context);
|
|
2309
|
-
}
|
|
2310
|
-
const contents = map({
|
|
2311
|
-
$metadata: deserializeMetadata(output),
|
|
2312
|
-
});
|
|
2313
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2314
|
-
const doc = take(data, {
|
|
2315
|
-
clientToken: __expectString,
|
|
2316
|
-
infrastructureConfigurationArn: __expectString,
|
|
2317
|
-
requestId: __expectString,
|
|
2318
|
-
});
|
|
2319
|
-
Object.assign(contents, doc);
|
|
2320
|
-
return contents;
|
|
2321
|
-
};
|
|
2322
|
-
export const de_UpdateLifecyclePolicyCommand = async (output, context) => {
|
|
2323
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2324
|
-
return de_CommandError(output, context);
|
|
2325
|
-
}
|
|
2326
|
-
const contents = map({
|
|
2327
|
-
$metadata: deserializeMetadata(output),
|
|
2328
|
-
});
|
|
2329
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2330
|
-
const doc = take(data, {
|
|
2331
|
-
lifecyclePolicyArn: __expectString,
|
|
2332
|
-
});
|
|
2333
|
-
Object.assign(contents, doc);
|
|
2334
|
-
return contents;
|
|
2335
|
-
};
|
|
2336
|
-
const de_CommandError = async (output, context) => {
|
|
2337
|
-
const parsedOutput = {
|
|
2338
|
-
...output,
|
|
2339
|
-
body: await parseErrorBody(output.body, context),
|
|
2340
|
-
};
|
|
2341
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2342
|
-
switch (errorCode) {
|
|
2343
|
-
case "CallRateLimitExceededException":
|
|
2344
|
-
case "com.amazonaws.imagebuilder#CallRateLimitExceededException":
|
|
2345
|
-
throw await de_CallRateLimitExceededExceptionRes(parsedOutput, context);
|
|
2346
|
-
case "ClientException":
|
|
2347
|
-
case "com.amazonaws.imagebuilder#ClientException":
|
|
2348
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
2349
|
-
case "ForbiddenException":
|
|
2350
|
-
case "com.amazonaws.imagebuilder#ForbiddenException":
|
|
2351
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2352
|
-
case "IdempotentParameterMismatchException":
|
|
2353
|
-
case "com.amazonaws.imagebuilder#IdempotentParameterMismatchException":
|
|
2354
|
-
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context);
|
|
2355
|
-
case "InvalidRequestException":
|
|
2356
|
-
case "com.amazonaws.imagebuilder#InvalidRequestException":
|
|
2357
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2358
|
-
case "ResourceInUseException":
|
|
2359
|
-
case "com.amazonaws.imagebuilder#ResourceInUseException":
|
|
2360
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2361
|
-
case "ServiceException":
|
|
2362
|
-
case "com.amazonaws.imagebuilder#ServiceException":
|
|
2363
|
-
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2364
|
-
case "ServiceUnavailableException":
|
|
2365
|
-
case "com.amazonaws.imagebuilder#ServiceUnavailableException":
|
|
2366
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2367
|
-
case "InvalidParameterCombinationException":
|
|
2368
|
-
case "com.amazonaws.imagebuilder#InvalidParameterCombinationException":
|
|
2369
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2370
|
-
case "InvalidVersionNumberException":
|
|
2371
|
-
case "com.amazonaws.imagebuilder#InvalidVersionNumberException":
|
|
2372
|
-
throw await de_InvalidVersionNumberExceptionRes(parsedOutput, context);
|
|
2373
|
-
case "ServiceQuotaExceededException":
|
|
2374
|
-
case "com.amazonaws.imagebuilder#ServiceQuotaExceededException":
|
|
2375
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2376
|
-
case "ResourceAlreadyExistsException":
|
|
2377
|
-
case "com.amazonaws.imagebuilder#ResourceAlreadyExistsException":
|
|
2378
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2379
|
-
case "ResourceDependencyException":
|
|
2380
|
-
case "com.amazonaws.imagebuilder#ResourceDependencyException":
|
|
2381
|
-
throw await de_ResourceDependencyExceptionRes(parsedOutput, context);
|
|
2382
|
-
case "ResourceNotFoundException":
|
|
2383
|
-
case "com.amazonaws.imagebuilder#ResourceNotFoundException":
|
|
2384
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2385
|
-
case "InvalidPaginationTokenException":
|
|
2386
|
-
case "com.amazonaws.imagebuilder#InvalidPaginationTokenException":
|
|
2387
|
-
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
2388
|
-
case "InvalidParameterException":
|
|
2389
|
-
case "com.amazonaws.imagebuilder#InvalidParameterException":
|
|
2390
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2391
|
-
case "InvalidParameterValueException":
|
|
2392
|
-
case "com.amazonaws.imagebuilder#InvalidParameterValueException":
|
|
2393
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
2394
|
-
default:
|
|
2395
|
-
const parsedBody = parsedOutput.body;
|
|
2396
|
-
return throwDefaultError({
|
|
2397
|
-
output,
|
|
2398
|
-
parsedBody,
|
|
2399
|
-
errorCode,
|
|
2400
|
-
});
|
|
2401
|
-
}
|
|
2402
|
-
};
|
|
2403
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2404
|
-
const de_CallRateLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2405
|
-
const contents = map({});
|
|
2406
|
-
const data = parsedOutput.body;
|
|
2407
|
-
const doc = take(data, {
|
|
2408
|
-
message: __expectString,
|
|
2409
|
-
});
|
|
2410
|
-
Object.assign(contents, doc);
|
|
2411
|
-
const exception = new CallRateLimitExceededException({
|
|
2412
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2413
|
-
...contents,
|
|
2414
|
-
});
|
|
2415
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2416
|
-
};
|
|
2417
|
-
const de_ClientExceptionRes = async (parsedOutput, context) => {
|
|
2418
|
-
const contents = map({});
|
|
2419
|
-
const data = parsedOutput.body;
|
|
2420
|
-
const doc = take(data, {
|
|
2421
|
-
message: __expectString,
|
|
2422
|
-
});
|
|
2423
|
-
Object.assign(contents, doc);
|
|
2424
|
-
const exception = new ClientException({
|
|
2425
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2426
|
-
...contents,
|
|
2427
|
-
});
|
|
2428
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2429
|
-
};
|
|
2430
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
2431
|
-
const contents = map({});
|
|
2432
|
-
const data = parsedOutput.body;
|
|
2433
|
-
const doc = take(data, {
|
|
2434
|
-
message: __expectString,
|
|
2435
|
-
});
|
|
2436
|
-
Object.assign(contents, doc);
|
|
2437
|
-
const exception = new ForbiddenException({
|
|
2438
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2439
|
-
...contents,
|
|
2440
|
-
});
|
|
2441
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2442
|
-
};
|
|
2443
|
-
const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
|
|
2444
|
-
const contents = map({});
|
|
2445
|
-
const data = parsedOutput.body;
|
|
2446
|
-
const doc = take(data, {
|
|
2447
|
-
message: __expectString,
|
|
2448
|
-
});
|
|
2449
|
-
Object.assign(contents, doc);
|
|
2450
|
-
const exception = new IdempotentParameterMismatchException({
|
|
2451
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2452
|
-
...contents,
|
|
2453
|
-
});
|
|
2454
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2455
|
-
};
|
|
2456
|
-
const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
2457
|
-
const contents = map({});
|
|
2458
|
-
const data = parsedOutput.body;
|
|
2459
|
-
const doc = take(data, {
|
|
2460
|
-
message: __expectString,
|
|
2461
|
-
});
|
|
2462
|
-
Object.assign(contents, doc);
|
|
2463
|
-
const exception = new InvalidPaginationTokenException({
|
|
2464
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2465
|
-
...contents,
|
|
2466
|
-
});
|
|
2467
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2468
|
-
};
|
|
2469
|
-
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
2470
|
-
const contents = map({});
|
|
2471
|
-
const data = parsedOutput.body;
|
|
2472
|
-
const doc = take(data, {
|
|
2473
|
-
message: __expectString,
|
|
2474
|
-
});
|
|
2475
|
-
Object.assign(contents, doc);
|
|
2476
|
-
const exception = new InvalidParameterCombinationException({
|
|
2477
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2478
|
-
...contents,
|
|
2479
|
-
});
|
|
2480
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2481
|
-
};
|
|
2482
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
2483
|
-
const contents = map({});
|
|
2484
|
-
const data = parsedOutput.body;
|
|
2485
|
-
const doc = take(data, {
|
|
2486
|
-
message: __expectString,
|
|
2487
|
-
});
|
|
2488
|
-
Object.assign(contents, doc);
|
|
2489
|
-
const exception = new InvalidParameterException({
|
|
2490
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2491
|
-
...contents,
|
|
2492
|
-
});
|
|
2493
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2494
|
-
};
|
|
2495
|
-
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
2496
|
-
const contents = map({});
|
|
2497
|
-
const data = parsedOutput.body;
|
|
2498
|
-
const doc = take(data, {
|
|
2499
|
-
message: __expectString,
|
|
2500
|
-
});
|
|
2501
|
-
Object.assign(contents, doc);
|
|
2502
|
-
const exception = new InvalidParameterValueException({
|
|
2503
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2504
|
-
...contents,
|
|
2505
|
-
});
|
|
2506
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2507
|
-
};
|
|
2508
|
-
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
2509
|
-
const contents = map({});
|
|
2510
|
-
const data = parsedOutput.body;
|
|
2511
|
-
const doc = take(data, {
|
|
2512
|
-
message: __expectString,
|
|
2513
|
-
});
|
|
2514
|
-
Object.assign(contents, doc);
|
|
2515
|
-
const exception = new InvalidRequestException({
|
|
2516
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2517
|
-
...contents,
|
|
2518
|
-
});
|
|
2519
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2520
|
-
};
|
|
2521
|
-
const de_InvalidVersionNumberExceptionRes = async (parsedOutput, context) => {
|
|
2522
|
-
const contents = map({});
|
|
2523
|
-
const data = parsedOutput.body;
|
|
2524
|
-
const doc = take(data, {
|
|
2525
|
-
message: __expectString,
|
|
2526
|
-
});
|
|
2527
|
-
Object.assign(contents, doc);
|
|
2528
|
-
const exception = new InvalidVersionNumberException({
|
|
2529
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2530
|
-
...contents,
|
|
2531
|
-
});
|
|
2532
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2533
|
-
};
|
|
2534
|
-
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2535
|
-
const contents = map({});
|
|
2536
|
-
const data = parsedOutput.body;
|
|
2537
|
-
const doc = take(data, {
|
|
2538
|
-
message: __expectString,
|
|
2539
|
-
});
|
|
2540
|
-
Object.assign(contents, doc);
|
|
2541
|
-
const exception = new ResourceAlreadyExistsException({
|
|
2542
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2543
|
-
...contents,
|
|
2544
|
-
});
|
|
2545
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2546
|
-
};
|
|
2547
|
-
const de_ResourceDependencyExceptionRes = async (parsedOutput, context) => {
|
|
2548
|
-
const contents = map({});
|
|
2549
|
-
const data = parsedOutput.body;
|
|
2550
|
-
const doc = take(data, {
|
|
2551
|
-
message: __expectString,
|
|
2552
|
-
});
|
|
2553
|
-
Object.assign(contents, doc);
|
|
2554
|
-
const exception = new ResourceDependencyException({
|
|
2555
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2556
|
-
...contents,
|
|
2557
|
-
});
|
|
2558
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2559
|
-
};
|
|
2560
|
-
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
2561
|
-
const contents = map({});
|
|
2562
|
-
const data = parsedOutput.body;
|
|
2563
|
-
const doc = take(data, {
|
|
2564
|
-
message: __expectString,
|
|
2565
|
-
});
|
|
2566
|
-
Object.assign(contents, doc);
|
|
2567
|
-
const exception = new ResourceInUseException({
|
|
2568
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2569
|
-
...contents,
|
|
2570
|
-
});
|
|
2571
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2572
|
-
};
|
|
2573
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2574
|
-
const contents = map({});
|
|
2575
|
-
const data = parsedOutput.body;
|
|
2576
|
-
const doc = take(data, {
|
|
2577
|
-
message: __expectString,
|
|
2578
|
-
});
|
|
2579
|
-
Object.assign(contents, doc);
|
|
2580
|
-
const exception = new ResourceNotFoundException({
|
|
2581
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2582
|
-
...contents,
|
|
2583
|
-
});
|
|
2584
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2585
|
-
};
|
|
2586
|
-
const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
2587
|
-
const contents = map({});
|
|
2588
|
-
const data = parsedOutput.body;
|
|
2589
|
-
const doc = take(data, {
|
|
2590
|
-
message: __expectString,
|
|
2591
|
-
});
|
|
2592
|
-
Object.assign(contents, doc);
|
|
2593
|
-
const exception = new ServiceException({
|
|
2594
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2595
|
-
...contents,
|
|
2596
|
-
});
|
|
2597
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2598
|
-
};
|
|
2599
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2600
|
-
const contents = map({});
|
|
2601
|
-
const data = parsedOutput.body;
|
|
2602
|
-
const doc = take(data, {
|
|
2603
|
-
message: __expectString,
|
|
2604
|
-
});
|
|
2605
|
-
Object.assign(contents, doc);
|
|
2606
|
-
const exception = new ServiceQuotaExceededException({
|
|
2607
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2608
|
-
...contents,
|
|
2609
|
-
});
|
|
2610
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2611
|
-
};
|
|
2612
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
2613
|
-
const contents = map({});
|
|
2614
|
-
const data = parsedOutput.body;
|
|
2615
|
-
const doc = take(data, {
|
|
2616
|
-
message: __expectString,
|
|
2617
|
-
});
|
|
2618
|
-
Object.assign(contents, doc);
|
|
2619
|
-
const exception = new ServiceUnavailableException({
|
|
2620
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2621
|
-
...contents,
|
|
2622
|
-
});
|
|
2623
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2624
|
-
};
|
|
2625
|
-
const de_CvssScore = (output, context) => {
|
|
2626
|
-
return take(output, {
|
|
2627
|
-
baseScore: __limitedParseDouble,
|
|
2628
|
-
scoringVector: __expectString,
|
|
2629
|
-
source: __expectString,
|
|
2630
|
-
version: __expectString,
|
|
2631
|
-
});
|
|
2632
|
-
};
|
|
2633
|
-
const de_CvssScoreDetails = (output, context) => {
|
|
2634
|
-
return take(output, {
|
|
2635
|
-
adjustments: _json,
|
|
2636
|
-
cvssSource: __expectString,
|
|
2637
|
-
score: __limitedParseDouble,
|
|
2638
|
-
scoreSource: __expectString,
|
|
2639
|
-
scoringVector: __expectString,
|
|
2640
|
-
version: __expectString,
|
|
2641
|
-
});
|
|
2642
|
-
};
|
|
2643
|
-
const de_CvssScoreList = (output, context) => {
|
|
2644
|
-
const retVal = (output || [])
|
|
2645
|
-
.filter((e) => e != null)
|
|
2646
|
-
.map((entry) => {
|
|
2647
|
-
return de_CvssScore(entry, context);
|
|
2648
|
-
});
|
|
2649
|
-
return retVal;
|
|
2650
|
-
};
|
|
2651
|
-
const de_Image = (output, context) => {
|
|
2652
|
-
return take(output, {
|
|
2653
|
-
arn: __expectString,
|
|
2654
|
-
buildType: __expectString,
|
|
2655
|
-
containerRecipe: _json,
|
|
2656
|
-
dateCreated: __expectString,
|
|
2657
|
-
deprecationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2658
|
-
distributionConfiguration: _json,
|
|
2659
|
-
enhancedImageMetadataEnabled: __expectBoolean,
|
|
2660
|
-
executionRole: __expectString,
|
|
2661
|
-
imageRecipe: _json,
|
|
2662
|
-
imageScanningConfiguration: _json,
|
|
2663
|
-
imageSource: __expectString,
|
|
2664
|
-
imageTestsConfiguration: _json,
|
|
2665
|
-
infrastructureConfiguration: _json,
|
|
2666
|
-
lifecycleExecutionId: __expectString,
|
|
2667
|
-
loggingConfiguration: _json,
|
|
2668
|
-
name: __expectString,
|
|
2669
|
-
osVersion: __expectString,
|
|
2670
|
-
outputResources: _json,
|
|
2671
|
-
platform: __expectString,
|
|
2672
|
-
scanState: _json,
|
|
2673
|
-
sourcePipelineArn: __expectString,
|
|
2674
|
-
sourcePipelineName: __expectString,
|
|
2675
|
-
state: _json,
|
|
2676
|
-
tags: _json,
|
|
2677
|
-
type: __expectString,
|
|
2678
|
-
version: __expectString,
|
|
2679
|
-
workflows: _json,
|
|
2680
|
-
});
|
|
2681
|
-
};
|
|
2682
|
-
const de_ImageScanFinding = (output, context) => {
|
|
2683
|
-
return take(output, {
|
|
2684
|
-
awsAccountId: __expectString,
|
|
2685
|
-
description: __expectString,
|
|
2686
|
-
firstObservedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2687
|
-
fixAvailable: __expectString,
|
|
2688
|
-
imageBuildVersionArn: __expectString,
|
|
2689
|
-
imagePipelineArn: __expectString,
|
|
2690
|
-
inspectorScore: __limitedParseDouble,
|
|
2691
|
-
inspectorScoreDetails: (_) => de_InspectorScoreDetails(_, context),
|
|
2692
|
-
packageVulnerabilityDetails: (_) => de_PackageVulnerabilityDetails(_, context),
|
|
2693
|
-
remediation: _json,
|
|
2694
|
-
severity: __expectString,
|
|
2695
|
-
title: __expectString,
|
|
2696
|
-
type: __expectString,
|
|
2697
|
-
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2698
|
-
});
|
|
2699
|
-
};
|
|
2700
|
-
const de_ImageScanFindingsList = (output, context) => {
|
|
2701
|
-
const retVal = (output || [])
|
|
2702
|
-
.filter((e) => e != null)
|
|
2703
|
-
.map((entry) => {
|
|
2704
|
-
return de_ImageScanFinding(entry, context);
|
|
2705
|
-
});
|
|
2706
|
-
return retVal;
|
|
2707
|
-
};
|
|
2708
|
-
const de_ImageSummary = (output, context) => {
|
|
2709
|
-
return take(output, {
|
|
2710
|
-
arn: __expectString,
|
|
2711
|
-
buildType: __expectString,
|
|
2712
|
-
dateCreated: __expectString,
|
|
2713
|
-
deprecationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2714
|
-
imageSource: __expectString,
|
|
2715
|
-
lifecycleExecutionId: __expectString,
|
|
2716
|
-
loggingConfiguration: _json,
|
|
2717
|
-
name: __expectString,
|
|
2718
|
-
osVersion: __expectString,
|
|
2719
|
-
outputResources: _json,
|
|
2720
|
-
owner: __expectString,
|
|
2721
|
-
platform: __expectString,
|
|
2722
|
-
state: _json,
|
|
2723
|
-
tags: _json,
|
|
2724
|
-
type: __expectString,
|
|
2725
|
-
version: __expectString,
|
|
2726
|
-
});
|
|
2727
|
-
};
|
|
2728
|
-
const de_ImageSummaryList = (output, context) => {
|
|
2729
|
-
const retVal = (output || [])
|
|
2730
|
-
.filter((e) => e != null)
|
|
2731
|
-
.map((entry) => {
|
|
2732
|
-
return de_ImageSummary(entry, context);
|
|
2733
|
-
});
|
|
2734
|
-
return retVal;
|
|
2735
|
-
};
|
|
2736
|
-
const de_InspectorScoreDetails = (output, context) => {
|
|
2737
|
-
return take(output, {
|
|
2738
|
-
adjustedCvss: (_) => de_CvssScoreDetails(_, context),
|
|
2739
|
-
});
|
|
2740
|
-
};
|
|
2741
|
-
const de_LifecycleExecution = (output, context) => {
|
|
2742
|
-
return take(output, {
|
|
2743
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2744
|
-
lifecycleExecutionId: __expectString,
|
|
2745
|
-
lifecyclePolicyArn: __expectString,
|
|
2746
|
-
resourcesImpactedSummary: _json,
|
|
2747
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2748
|
-
state: _json,
|
|
2749
|
-
});
|
|
2750
|
-
};
|
|
2751
|
-
const de_LifecycleExecutionResource = (output, context) => {
|
|
2752
|
-
return take(output, {
|
|
2753
|
-
accountId: __expectString,
|
|
2754
|
-
action: _json,
|
|
2755
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2756
|
-
imageUris: _json,
|
|
2757
|
-
region: __expectString,
|
|
2758
|
-
resourceId: __expectString,
|
|
2759
|
-
snapshots: _json,
|
|
2760
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2761
|
-
state: _json,
|
|
2762
|
-
});
|
|
2763
|
-
};
|
|
2764
|
-
const de_LifecycleExecutionResourceList = (output, context) => {
|
|
2765
|
-
const retVal = (output || [])
|
|
2766
|
-
.filter((e) => e != null)
|
|
2767
|
-
.map((entry) => {
|
|
2768
|
-
return de_LifecycleExecutionResource(entry, context);
|
|
2769
|
-
});
|
|
2770
|
-
return retVal;
|
|
2771
|
-
};
|
|
2772
|
-
const de_LifecycleExecutionsList = (output, context) => {
|
|
2773
|
-
const retVal = (output || [])
|
|
2774
|
-
.filter((e) => e != null)
|
|
2775
|
-
.map((entry) => {
|
|
2776
|
-
return de_LifecycleExecution(entry, context);
|
|
2777
|
-
});
|
|
2778
|
-
return retVal;
|
|
2779
|
-
};
|
|
2780
|
-
const de_LifecyclePolicy = (output, context) => {
|
|
2781
|
-
return take(output, {
|
|
2782
|
-
arn: __expectString,
|
|
2783
|
-
dateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2784
|
-
dateLastRun: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2785
|
-
dateUpdated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2786
|
-
description: __expectString,
|
|
2787
|
-
executionRole: __expectString,
|
|
2788
|
-
name: __expectString,
|
|
2789
|
-
policyDetails: _json,
|
|
2790
|
-
resourceSelection: _json,
|
|
2791
|
-
resourceType: __expectString,
|
|
2792
|
-
status: __expectString,
|
|
2793
|
-
tags: _json,
|
|
2794
|
-
});
|
|
2795
|
-
};
|
|
2796
|
-
const de_LifecyclePolicySummary = (output, context) => {
|
|
2797
|
-
return take(output, {
|
|
2798
|
-
arn: __expectString,
|
|
2799
|
-
dateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2800
|
-
dateLastRun: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2801
|
-
dateUpdated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2802
|
-
description: __expectString,
|
|
2803
|
-
executionRole: __expectString,
|
|
2804
|
-
name: __expectString,
|
|
2805
|
-
resourceType: __expectString,
|
|
2806
|
-
status: __expectString,
|
|
2807
|
-
tags: _json,
|
|
2808
|
-
});
|
|
2809
|
-
};
|
|
2810
|
-
const de_LifecyclePolicySummaryList = (output, context) => {
|
|
2811
|
-
const retVal = (output || [])
|
|
2812
|
-
.filter((e) => e != null)
|
|
2813
|
-
.map((entry) => {
|
|
2814
|
-
return de_LifecyclePolicySummary(entry, context);
|
|
2815
|
-
});
|
|
2816
|
-
return retVal;
|
|
2817
|
-
};
|
|
2818
|
-
const de_PackageVulnerabilityDetails = (output, context) => {
|
|
2819
|
-
return take(output, {
|
|
2820
|
-
cvss: (_) => de_CvssScoreList(_, context),
|
|
2821
|
-
referenceUrls: _json,
|
|
2822
|
-
relatedVulnerabilities: _json,
|
|
2823
|
-
source: __expectString,
|
|
2824
|
-
sourceUrl: __expectString,
|
|
2825
|
-
vendorCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2826
|
-
vendorSeverity: __expectString,
|
|
2827
|
-
vendorUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2828
|
-
vulnerabilityId: __expectString,
|
|
2829
|
-
vulnerablePackages: _json,
|
|
2830
|
-
});
|
|
2831
|
-
};
|
|
2832
|
-
const deserializeMetadata = (output) => ({
|
|
2833
|
-
httpStatusCode: output.statusCode,
|
|
2834
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2835
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2836
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2837
|
-
});
|
|
2838
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2839
|
-
const _cA = "componentArn";
|
|
2840
|
-
const _cBVA = "componentBuildVersionArn";
|
|
2841
|
-
const _cRA = "containerRecipeArn";
|
|
2842
|
-
const _dCA = "distributionConfigurationArn";
|
|
2843
|
-
const _iA = "imageArn";
|
|
2844
|
-
const _iBVA = "imageBuildVersionArn";
|
|
2845
|
-
const _iCA = "infrastructureConfigurationArn";
|
|
2846
|
-
const _iPA = "imagePipelineArn";
|
|
2847
|
-
const _iRA = "imageRecipeArn";
|
|
2848
|
-
const _lEI = "lifecycleExecutionId";
|
|
2849
|
-
const _lPA = "lifecyclePolicyArn";
|
|
2850
|
-
const _sEI = "stepExecutionId";
|
|
2851
|
-
const _tK = "tagKeys";
|
|
2852
|
-
const _wBVA = "workflowBuildVersionArn";
|
|
2853
|
-
const _wEI = "workflowExecutionId";
|