@aws-sdk/client-imagebuilder 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +860 -2535
- package/dist-es/protocols/Aws_restJson1.js +767 -2442
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ImagebuilderServiceException as __BaseException } from "../models/ImagebuilderServiceException";
|
|
5
5
|
import { CallRateLimitExceededException, ClientException, ForbiddenException, IdempotentParameterMismatchException, InvalidPaginationTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidParameterValueException, InvalidRequestException, InvalidVersionNumberException, ResourceAlreadyExistsException, ResourceDependencyException, ResourceInUseException, ResourceNotFoundException, ServiceException, ServiceQuotaExceededException, ServiceUnavailableException, } from "../models/models_0";
|
|
@@ -10,10 +10,10 @@ export const se_CancelImageCreationCommand = async (input, context) => {
|
|
|
10
10
|
};
|
|
11
11
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CancelImageCreation";
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify({
|
|
14
|
-
clientToken:
|
|
15
|
-
|
|
16
|
-
});
|
|
13
|
+
body = JSON.stringify(take(input, {
|
|
14
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
15
|
+
imageBuildVersionArn: [],
|
|
16
|
+
}));
|
|
17
17
|
return new __HttpRequest({
|
|
18
18
|
protocol,
|
|
19
19
|
hostname,
|
|
@@ -31,21 +31,19 @@ export const se_CreateComponentCommand = async (input, context) => {
|
|
|
31
31
|
};
|
|
32
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateComponent";
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify({
|
|
35
|
-
|
|
36
|
-
clientToken:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
...(input.uri != null && { uri: input.uri }),
|
|
48
|
-
});
|
|
34
|
+
body = JSON.stringify(take(input, {
|
|
35
|
+
changeDescription: [],
|
|
36
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
37
|
+
data: [],
|
|
38
|
+
description: [],
|
|
39
|
+
kmsKeyId: [],
|
|
40
|
+
name: [],
|
|
41
|
+
platform: [],
|
|
42
|
+
semanticVersion: [],
|
|
43
|
+
supportedOsVersions: (_) => _json(_),
|
|
44
|
+
tags: (_) => _json(_),
|
|
45
|
+
uri: [],
|
|
46
|
+
}));
|
|
49
47
|
return new __HttpRequest({
|
|
50
48
|
protocol,
|
|
51
49
|
hostname,
|
|
@@ -63,28 +61,24 @@ export const se_CreateContainerRecipeCommand = async (input, context) => {
|
|
|
63
61
|
};
|
|
64
62
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateContainerRecipe";
|
|
65
63
|
let body;
|
|
66
|
-
body = JSON.stringify({
|
|
67
|
-
clientToken:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
targetRepository: se_TargetContainerRepository(input.targetRepository, context),
|
|
85
|
-
}),
|
|
86
|
-
...(input.workingDirectory != null && { workingDirectory: input.workingDirectory }),
|
|
87
|
-
});
|
|
64
|
+
body = JSON.stringify(take(input, {
|
|
65
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
66
|
+
components: (_) => _json(_),
|
|
67
|
+
containerType: [],
|
|
68
|
+
description: [],
|
|
69
|
+
dockerfileTemplateData: [],
|
|
70
|
+
dockerfileTemplateUri: [],
|
|
71
|
+
imageOsVersionOverride: [],
|
|
72
|
+
instanceConfiguration: (_) => _json(_),
|
|
73
|
+
kmsKeyId: [],
|
|
74
|
+
name: [],
|
|
75
|
+
parentImage: [],
|
|
76
|
+
platformOverride: [],
|
|
77
|
+
semanticVersion: [],
|
|
78
|
+
tags: (_) => _json(_),
|
|
79
|
+
targetRepository: (_) => _json(_),
|
|
80
|
+
workingDirectory: [],
|
|
81
|
+
}));
|
|
88
82
|
return new __HttpRequest({
|
|
89
83
|
protocol,
|
|
90
84
|
hostname,
|
|
@@ -102,13 +96,13 @@ export const se_CreateDistributionConfigurationCommand = async (input, context)
|
|
|
102
96
|
};
|
|
103
97
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateDistributionConfiguration";
|
|
104
98
|
let body;
|
|
105
|
-
body = JSON.stringify({
|
|
106
|
-
clientToken:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
});
|
|
99
|
+
body = JSON.stringify(take(input, {
|
|
100
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
101
|
+
description: [],
|
|
102
|
+
distributions: (_) => _json(_),
|
|
103
|
+
name: [],
|
|
104
|
+
tags: (_) => _json(_),
|
|
105
|
+
}));
|
|
112
106
|
return new __HttpRequest({
|
|
113
107
|
protocol,
|
|
114
108
|
hostname,
|
|
@@ -126,27 +120,17 @@ export const se_CreateImageCommand = async (input, context) => {
|
|
|
126
120
|
};
|
|
127
121
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateImage";
|
|
128
122
|
let body;
|
|
129
|
-
body = JSON.stringify({
|
|
130
|
-
clientToken:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
imageScanningConfiguration: se_ImageScanningConfiguration(input.imageScanningConfiguration, context),
|
|
141
|
-
}),
|
|
142
|
-
...(input.imageTestsConfiguration != null && {
|
|
143
|
-
imageTestsConfiguration: se_ImageTestsConfiguration(input.imageTestsConfiguration, context),
|
|
144
|
-
}),
|
|
145
|
-
...(input.infrastructureConfigurationArn != null && {
|
|
146
|
-
infrastructureConfigurationArn: input.infrastructureConfigurationArn,
|
|
147
|
-
}),
|
|
148
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
149
|
-
});
|
|
123
|
+
body = JSON.stringify(take(input, {
|
|
124
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
125
|
+
containerRecipeArn: [],
|
|
126
|
+
distributionConfigurationArn: [],
|
|
127
|
+
enhancedImageMetadataEnabled: [],
|
|
128
|
+
imageRecipeArn: [],
|
|
129
|
+
imageScanningConfiguration: (_) => _json(_),
|
|
130
|
+
imageTestsConfiguration: (_) => _json(_),
|
|
131
|
+
infrastructureConfigurationArn: [],
|
|
132
|
+
tags: (_) => _json(_),
|
|
133
|
+
}));
|
|
150
134
|
return new __HttpRequest({
|
|
151
135
|
protocol,
|
|
152
136
|
hostname,
|
|
@@ -164,31 +148,21 @@ export const se_CreateImagePipelineCommand = async (input, context) => {
|
|
|
164
148
|
};
|
|
165
149
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateImagePipeline";
|
|
166
150
|
let body;
|
|
167
|
-
body = JSON.stringify({
|
|
168
|
-
clientToken:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
imageTestsConfiguration: se_ImageTestsConfiguration(input.imageTestsConfiguration, context),
|
|
183
|
-
}),
|
|
184
|
-
...(input.infrastructureConfigurationArn != null && {
|
|
185
|
-
infrastructureConfigurationArn: input.infrastructureConfigurationArn,
|
|
186
|
-
}),
|
|
187
|
-
...(input.name != null && { name: input.name }),
|
|
188
|
-
...(input.schedule != null && { schedule: se_Schedule(input.schedule, context) }),
|
|
189
|
-
...(input.status != null && { status: input.status }),
|
|
190
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
191
|
-
});
|
|
151
|
+
body = JSON.stringify(take(input, {
|
|
152
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
153
|
+
containerRecipeArn: [],
|
|
154
|
+
description: [],
|
|
155
|
+
distributionConfigurationArn: [],
|
|
156
|
+
enhancedImageMetadataEnabled: [],
|
|
157
|
+
imageRecipeArn: [],
|
|
158
|
+
imageScanningConfiguration: (_) => _json(_),
|
|
159
|
+
imageTestsConfiguration: (_) => _json(_),
|
|
160
|
+
infrastructureConfigurationArn: [],
|
|
161
|
+
name: [],
|
|
162
|
+
schedule: (_) => _json(_),
|
|
163
|
+
status: [],
|
|
164
|
+
tags: (_) => _json(_),
|
|
165
|
+
}));
|
|
192
166
|
return new __HttpRequest({
|
|
193
167
|
protocol,
|
|
194
168
|
hostname,
|
|
@@ -206,22 +180,18 @@ export const se_CreateImageRecipeCommand = async (input, context) => {
|
|
|
206
180
|
};
|
|
207
181
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateImageRecipe";
|
|
208
182
|
let body;
|
|
209
|
-
body = JSON.stringify({
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
...(input.semanticVersion != null && { semanticVersion: input.semanticVersion }),
|
|
222
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
223
|
-
...(input.workingDirectory != null && { workingDirectory: input.workingDirectory }),
|
|
224
|
-
});
|
|
183
|
+
body = JSON.stringify(take(input, {
|
|
184
|
+
additionalInstanceConfiguration: (_) => _json(_),
|
|
185
|
+
blockDeviceMappings: (_) => _json(_),
|
|
186
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
187
|
+
components: (_) => _json(_),
|
|
188
|
+
description: [],
|
|
189
|
+
name: [],
|
|
190
|
+
parentImage: [],
|
|
191
|
+
semanticVersion: [],
|
|
192
|
+
tags: (_) => _json(_),
|
|
193
|
+
workingDirectory: [],
|
|
194
|
+
}));
|
|
225
195
|
return new __HttpRequest({
|
|
226
196
|
protocol,
|
|
227
197
|
hostname,
|
|
@@ -239,24 +209,22 @@ export const se_CreateInfrastructureConfigurationCommand = async (input, context
|
|
|
239
209
|
};
|
|
240
210
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateInfrastructureConfiguration";
|
|
241
211
|
let body;
|
|
242
|
-
body = JSON.stringify({
|
|
243
|
-
clientToken:
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
...(input.terminateInstanceOnFailure != null && { terminateInstanceOnFailure: input.terminateInstanceOnFailure }),
|
|
259
|
-
});
|
|
212
|
+
body = JSON.stringify(take(input, {
|
|
213
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
214
|
+
description: [],
|
|
215
|
+
instanceMetadataOptions: (_) => _json(_),
|
|
216
|
+
instanceProfileName: [],
|
|
217
|
+
instanceTypes: (_) => _json(_),
|
|
218
|
+
keyPair: [],
|
|
219
|
+
logging: (_) => _json(_),
|
|
220
|
+
name: [],
|
|
221
|
+
resourceTags: (_) => _json(_),
|
|
222
|
+
securityGroupIds: (_) => _json(_),
|
|
223
|
+
snsTopicArn: [],
|
|
224
|
+
subnetId: [],
|
|
225
|
+
tags: (_) => _json(_),
|
|
226
|
+
terminateInstanceOnFailure: [],
|
|
227
|
+
}));
|
|
260
228
|
return new __HttpRequest({
|
|
261
229
|
protocol,
|
|
262
230
|
hostname,
|
|
@@ -666,20 +634,20 @@ export const se_ImportComponentCommand = async (input, context) => {
|
|
|
666
634
|
};
|
|
667
635
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ImportComponent";
|
|
668
636
|
let body;
|
|
669
|
-
body = JSON.stringify({
|
|
670
|
-
|
|
671
|
-
clientToken:
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
});
|
|
637
|
+
body = JSON.stringify(take(input, {
|
|
638
|
+
changeDescription: [],
|
|
639
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
640
|
+
data: [],
|
|
641
|
+
description: [],
|
|
642
|
+
format: [],
|
|
643
|
+
kmsKeyId: [],
|
|
644
|
+
name: [],
|
|
645
|
+
platform: [],
|
|
646
|
+
semanticVersion: [],
|
|
647
|
+
tags: (_) => _json(_),
|
|
648
|
+
type: [],
|
|
649
|
+
uri: [],
|
|
650
|
+
}));
|
|
683
651
|
return new __HttpRequest({
|
|
684
652
|
protocol,
|
|
685
653
|
hostname,
|
|
@@ -697,16 +665,16 @@ export const se_ImportVmImageCommand = async (input, context) => {
|
|
|
697
665
|
};
|
|
698
666
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ImportVmImage";
|
|
699
667
|
let body;
|
|
700
|
-
body = JSON.stringify({
|
|
701
|
-
clientToken:
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
});
|
|
668
|
+
body = JSON.stringify(take(input, {
|
|
669
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
670
|
+
description: [],
|
|
671
|
+
name: [],
|
|
672
|
+
osVersion: [],
|
|
673
|
+
platform: [],
|
|
674
|
+
semanticVersion: [],
|
|
675
|
+
tags: (_) => _json(_),
|
|
676
|
+
vmImportTaskId: [],
|
|
677
|
+
}));
|
|
710
678
|
return new __HttpRequest({
|
|
711
679
|
protocol,
|
|
712
680
|
hostname,
|
|
@@ -724,11 +692,11 @@ export const se_ListComponentBuildVersionsCommand = async (input, context) => {
|
|
|
724
692
|
};
|
|
725
693
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListComponentBuildVersions";
|
|
726
694
|
let body;
|
|
727
|
-
body = JSON.stringify({
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
});
|
|
695
|
+
body = JSON.stringify(take(input, {
|
|
696
|
+
componentVersionArn: [],
|
|
697
|
+
maxResults: [],
|
|
698
|
+
nextToken: [],
|
|
699
|
+
}));
|
|
732
700
|
return new __HttpRequest({
|
|
733
701
|
protocol,
|
|
734
702
|
hostname,
|
|
@@ -746,13 +714,13 @@ export const se_ListComponentsCommand = async (input, context) => {
|
|
|
746
714
|
};
|
|
747
715
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListComponents";
|
|
748
716
|
let body;
|
|
749
|
-
body = JSON.stringify({
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
});
|
|
717
|
+
body = JSON.stringify(take(input, {
|
|
718
|
+
byName: [],
|
|
719
|
+
filters: (_) => _json(_),
|
|
720
|
+
maxResults: [],
|
|
721
|
+
nextToken: [],
|
|
722
|
+
owner: [],
|
|
723
|
+
}));
|
|
756
724
|
return new __HttpRequest({
|
|
757
725
|
protocol,
|
|
758
726
|
hostname,
|
|
@@ -770,12 +738,12 @@ export const se_ListContainerRecipesCommand = async (input, context) => {
|
|
|
770
738
|
};
|
|
771
739
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListContainerRecipes";
|
|
772
740
|
let body;
|
|
773
|
-
body = JSON.stringify({
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
});
|
|
741
|
+
body = JSON.stringify(take(input, {
|
|
742
|
+
filters: (_) => _json(_),
|
|
743
|
+
maxResults: [],
|
|
744
|
+
nextToken: [],
|
|
745
|
+
owner: [],
|
|
746
|
+
}));
|
|
779
747
|
return new __HttpRequest({
|
|
780
748
|
protocol,
|
|
781
749
|
hostname,
|
|
@@ -793,11 +761,11 @@ export const se_ListDistributionConfigurationsCommand = async (input, context) =
|
|
|
793
761
|
};
|
|
794
762
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListDistributionConfigurations";
|
|
795
763
|
let body;
|
|
796
|
-
body = JSON.stringify({
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
});
|
|
764
|
+
body = JSON.stringify(take(input, {
|
|
765
|
+
filters: (_) => _json(_),
|
|
766
|
+
maxResults: [],
|
|
767
|
+
nextToken: [],
|
|
768
|
+
}));
|
|
801
769
|
return new __HttpRequest({
|
|
802
770
|
protocol,
|
|
803
771
|
hostname,
|
|
@@ -815,12 +783,12 @@ export const se_ListImageBuildVersionsCommand = async (input, context) => {
|
|
|
815
783
|
};
|
|
816
784
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImageBuildVersions";
|
|
817
785
|
let body;
|
|
818
|
-
body = JSON.stringify({
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
});
|
|
786
|
+
body = JSON.stringify(take(input, {
|
|
787
|
+
filters: (_) => _json(_),
|
|
788
|
+
imageVersionArn: [],
|
|
789
|
+
maxResults: [],
|
|
790
|
+
nextToken: [],
|
|
791
|
+
}));
|
|
824
792
|
return new __HttpRequest({
|
|
825
793
|
protocol,
|
|
826
794
|
hostname,
|
|
@@ -838,11 +806,11 @@ export const se_ListImagePackagesCommand = async (input, context) => {
|
|
|
838
806
|
};
|
|
839
807
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImagePackages";
|
|
840
808
|
let body;
|
|
841
|
-
body = JSON.stringify({
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
});
|
|
809
|
+
body = JSON.stringify(take(input, {
|
|
810
|
+
imageBuildVersionArn: [],
|
|
811
|
+
maxResults: [],
|
|
812
|
+
nextToken: [],
|
|
813
|
+
}));
|
|
846
814
|
return new __HttpRequest({
|
|
847
815
|
protocol,
|
|
848
816
|
hostname,
|
|
@@ -860,12 +828,12 @@ export const se_ListImagePipelineImagesCommand = async (input, context) => {
|
|
|
860
828
|
};
|
|
861
829
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImagePipelineImages";
|
|
862
830
|
let body;
|
|
863
|
-
body = JSON.stringify({
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
});
|
|
831
|
+
body = JSON.stringify(take(input, {
|
|
832
|
+
filters: (_) => _json(_),
|
|
833
|
+
imagePipelineArn: [],
|
|
834
|
+
maxResults: [],
|
|
835
|
+
nextToken: [],
|
|
836
|
+
}));
|
|
869
837
|
return new __HttpRequest({
|
|
870
838
|
protocol,
|
|
871
839
|
hostname,
|
|
@@ -883,11 +851,11 @@ export const se_ListImagePipelinesCommand = async (input, context) => {
|
|
|
883
851
|
};
|
|
884
852
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImagePipelines";
|
|
885
853
|
let body;
|
|
886
|
-
body = JSON.stringify({
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
});
|
|
854
|
+
body = JSON.stringify(take(input, {
|
|
855
|
+
filters: (_) => _json(_),
|
|
856
|
+
maxResults: [],
|
|
857
|
+
nextToken: [],
|
|
858
|
+
}));
|
|
891
859
|
return new __HttpRequest({
|
|
892
860
|
protocol,
|
|
893
861
|
hostname,
|
|
@@ -905,12 +873,12 @@ export const se_ListImageRecipesCommand = async (input, context) => {
|
|
|
905
873
|
};
|
|
906
874
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImageRecipes";
|
|
907
875
|
let body;
|
|
908
|
-
body = JSON.stringify({
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
});
|
|
876
|
+
body = JSON.stringify(take(input, {
|
|
877
|
+
filters: (_) => _json(_),
|
|
878
|
+
maxResults: [],
|
|
879
|
+
nextToken: [],
|
|
880
|
+
owner: [],
|
|
881
|
+
}));
|
|
914
882
|
return new __HttpRequest({
|
|
915
883
|
protocol,
|
|
916
884
|
hostname,
|
|
@@ -928,14 +896,14 @@ export const se_ListImagesCommand = async (input, context) => {
|
|
|
928
896
|
};
|
|
929
897
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImages";
|
|
930
898
|
let body;
|
|
931
|
-
body = JSON.stringify({
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
});
|
|
899
|
+
body = JSON.stringify(take(input, {
|
|
900
|
+
byName: [],
|
|
901
|
+
filters: (_) => _json(_),
|
|
902
|
+
includeDeprecated: [],
|
|
903
|
+
maxResults: [],
|
|
904
|
+
nextToken: [],
|
|
905
|
+
owner: [],
|
|
906
|
+
}));
|
|
939
907
|
return new __HttpRequest({
|
|
940
908
|
protocol,
|
|
941
909
|
hostname,
|
|
@@ -953,10 +921,10 @@ export const se_ListImageScanFindingAggregationsCommand = async (input, context)
|
|
|
953
921
|
};
|
|
954
922
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImageScanFindingAggregations";
|
|
955
923
|
let body;
|
|
956
|
-
body = JSON.stringify({
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
});
|
|
924
|
+
body = JSON.stringify(take(input, {
|
|
925
|
+
filter: (_) => _json(_),
|
|
926
|
+
nextToken: [],
|
|
927
|
+
}));
|
|
960
928
|
return new __HttpRequest({
|
|
961
929
|
protocol,
|
|
962
930
|
hostname,
|
|
@@ -974,11 +942,11 @@ export const se_ListImageScanFindingsCommand = async (input, context) => {
|
|
|
974
942
|
};
|
|
975
943
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListImageScanFindings";
|
|
976
944
|
let body;
|
|
977
|
-
body = JSON.stringify({
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
});
|
|
945
|
+
body = JSON.stringify(take(input, {
|
|
946
|
+
filters: (_) => _json(_),
|
|
947
|
+
maxResults: [],
|
|
948
|
+
nextToken: [],
|
|
949
|
+
}));
|
|
982
950
|
return new __HttpRequest({
|
|
983
951
|
protocol,
|
|
984
952
|
hostname,
|
|
@@ -996,11 +964,11 @@ export const se_ListInfrastructureConfigurationsCommand = async (input, context)
|
|
|
996
964
|
};
|
|
997
965
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListInfrastructureConfigurations";
|
|
998
966
|
let body;
|
|
999
|
-
body = JSON.stringify({
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
});
|
|
967
|
+
body = JSON.stringify(take(input, {
|
|
968
|
+
filters: (_) => _json(_),
|
|
969
|
+
maxResults: [],
|
|
970
|
+
nextToken: [],
|
|
971
|
+
}));
|
|
1004
972
|
return new __HttpRequest({
|
|
1005
973
|
protocol,
|
|
1006
974
|
hostname,
|
|
@@ -1034,11 +1002,11 @@ export const se_ListWorkflowExecutionsCommand = async (input, context) => {
|
|
|
1034
1002
|
};
|
|
1035
1003
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListWorkflowExecutions";
|
|
1036
1004
|
let body;
|
|
1037
|
-
body = JSON.stringify({
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
});
|
|
1005
|
+
body = JSON.stringify(take(input, {
|
|
1006
|
+
imageBuildVersionArn: [],
|
|
1007
|
+
maxResults: [],
|
|
1008
|
+
nextToken: [],
|
|
1009
|
+
}));
|
|
1042
1010
|
return new __HttpRequest({
|
|
1043
1011
|
protocol,
|
|
1044
1012
|
hostname,
|
|
@@ -1056,11 +1024,11 @@ export const se_ListWorkflowStepExecutionsCommand = async (input, context) => {
|
|
|
1056
1024
|
};
|
|
1057
1025
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListWorkflowStepExecutions";
|
|
1058
1026
|
let body;
|
|
1059
|
-
body = JSON.stringify({
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
});
|
|
1027
|
+
body = JSON.stringify(take(input, {
|
|
1028
|
+
maxResults: [],
|
|
1029
|
+
nextToken: [],
|
|
1030
|
+
workflowExecutionId: [],
|
|
1031
|
+
}));
|
|
1064
1032
|
return new __HttpRequest({
|
|
1065
1033
|
protocol,
|
|
1066
1034
|
hostname,
|
|
@@ -1078,10 +1046,10 @@ export const se_PutComponentPolicyCommand = async (input, context) => {
|
|
|
1078
1046
|
};
|
|
1079
1047
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutComponentPolicy";
|
|
1080
1048
|
let body;
|
|
1081
|
-
body = JSON.stringify({
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
});
|
|
1049
|
+
body = JSON.stringify(take(input, {
|
|
1050
|
+
componentArn: [],
|
|
1051
|
+
policy: [],
|
|
1052
|
+
}));
|
|
1085
1053
|
return new __HttpRequest({
|
|
1086
1054
|
protocol,
|
|
1087
1055
|
hostname,
|
|
@@ -1099,10 +1067,10 @@ export const se_PutContainerRecipePolicyCommand = async (input, context) => {
|
|
|
1099
1067
|
};
|
|
1100
1068
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutContainerRecipePolicy";
|
|
1101
1069
|
let body;
|
|
1102
|
-
body = JSON.stringify({
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
});
|
|
1070
|
+
body = JSON.stringify(take(input, {
|
|
1071
|
+
containerRecipeArn: [],
|
|
1072
|
+
policy: [],
|
|
1073
|
+
}));
|
|
1106
1074
|
return new __HttpRequest({
|
|
1107
1075
|
protocol,
|
|
1108
1076
|
hostname,
|
|
@@ -1120,10 +1088,10 @@ export const se_PutImagePolicyCommand = async (input, context) => {
|
|
|
1120
1088
|
};
|
|
1121
1089
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutImagePolicy";
|
|
1122
1090
|
let body;
|
|
1123
|
-
body = JSON.stringify({
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
});
|
|
1091
|
+
body = JSON.stringify(take(input, {
|
|
1092
|
+
imageArn: [],
|
|
1093
|
+
policy: [],
|
|
1094
|
+
}));
|
|
1127
1095
|
return new __HttpRequest({
|
|
1128
1096
|
protocol,
|
|
1129
1097
|
hostname,
|
|
@@ -1141,10 +1109,10 @@ export const se_PutImageRecipePolicyCommand = async (input, context) => {
|
|
|
1141
1109
|
};
|
|
1142
1110
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutImageRecipePolicy";
|
|
1143
1111
|
let body;
|
|
1144
|
-
body = JSON.stringify({
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
});
|
|
1112
|
+
body = JSON.stringify(take(input, {
|
|
1113
|
+
imageRecipeArn: [],
|
|
1114
|
+
policy: [],
|
|
1115
|
+
}));
|
|
1148
1116
|
return new __HttpRequest({
|
|
1149
1117
|
protocol,
|
|
1150
1118
|
hostname,
|
|
@@ -1162,10 +1130,10 @@ export const se_StartImagePipelineExecutionCommand = async (input, context) => {
|
|
|
1162
1130
|
};
|
|
1163
1131
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartImagePipelineExecution";
|
|
1164
1132
|
let body;
|
|
1165
|
-
body = JSON.stringify({
|
|
1166
|
-
clientToken:
|
|
1167
|
-
|
|
1168
|
-
});
|
|
1133
|
+
body = JSON.stringify(take(input, {
|
|
1134
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1135
|
+
imagePipelineArn: [],
|
|
1136
|
+
}));
|
|
1169
1137
|
return new __HttpRequest({
|
|
1170
1138
|
protocol,
|
|
1171
1139
|
hostname,
|
|
@@ -1184,9 +1152,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
1184
1152
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1185
1153
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1186
1154
|
let body;
|
|
1187
|
-
body = JSON.stringify({
|
|
1188
|
-
|
|
1189
|
-
});
|
|
1155
|
+
body = JSON.stringify(take(input, {
|
|
1156
|
+
tags: (_) => _json(_),
|
|
1157
|
+
}));
|
|
1190
1158
|
return new __HttpRequest({
|
|
1191
1159
|
protocol,
|
|
1192
1160
|
hostname,
|
|
@@ -1227,14 +1195,12 @@ export const se_UpdateDistributionConfigurationCommand = async (input, context)
|
|
|
1227
1195
|
};
|
|
1228
1196
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateDistributionConfiguration";
|
|
1229
1197
|
let body;
|
|
1230
|
-
body = JSON.stringify({
|
|
1231
|
-
clientToken:
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
...(input.distributions != null && { distributions: se_DistributionList(input.distributions, context) }),
|
|
1237
|
-
});
|
|
1198
|
+
body = JSON.stringify(take(input, {
|
|
1199
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1200
|
+
description: [],
|
|
1201
|
+
distributionConfigurationArn: [],
|
|
1202
|
+
distributions: (_) => _json(_),
|
|
1203
|
+
}));
|
|
1238
1204
|
return new __HttpRequest({
|
|
1239
1205
|
protocol,
|
|
1240
1206
|
hostname,
|
|
@@ -1252,30 +1218,20 @@ export const se_UpdateImagePipelineCommand = async (input, context) => {
|
|
|
1252
1218
|
};
|
|
1253
1219
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateImagePipeline";
|
|
1254
1220
|
let body;
|
|
1255
|
-
body = JSON.stringify({
|
|
1256
|
-
clientToken:
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
}),
|
|
1270
|
-
...(input.imageTestsConfiguration != null && {
|
|
1271
|
-
imageTestsConfiguration: se_ImageTestsConfiguration(input.imageTestsConfiguration, context),
|
|
1272
|
-
}),
|
|
1273
|
-
...(input.infrastructureConfigurationArn != null && {
|
|
1274
|
-
infrastructureConfigurationArn: input.infrastructureConfigurationArn,
|
|
1275
|
-
}),
|
|
1276
|
-
...(input.schedule != null && { schedule: se_Schedule(input.schedule, context) }),
|
|
1277
|
-
...(input.status != null && { status: input.status }),
|
|
1278
|
-
});
|
|
1221
|
+
body = JSON.stringify(take(input, {
|
|
1222
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1223
|
+
containerRecipeArn: [],
|
|
1224
|
+
description: [],
|
|
1225
|
+
distributionConfigurationArn: [],
|
|
1226
|
+
enhancedImageMetadataEnabled: [],
|
|
1227
|
+
imagePipelineArn: [],
|
|
1228
|
+
imageRecipeArn: [],
|
|
1229
|
+
imageScanningConfiguration: (_) => _json(_),
|
|
1230
|
+
imageTestsConfiguration: (_) => _json(_),
|
|
1231
|
+
infrastructureConfigurationArn: [],
|
|
1232
|
+
schedule: (_) => _json(_),
|
|
1233
|
+
status: [],
|
|
1234
|
+
}));
|
|
1279
1235
|
return new __HttpRequest({
|
|
1280
1236
|
protocol,
|
|
1281
1237
|
hostname,
|
|
@@ -1293,25 +1249,21 @@ export const se_UpdateInfrastructureConfigurationCommand = async (input, context
|
|
|
1293
1249
|
};
|
|
1294
1250
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateInfrastructureConfiguration";
|
|
1295
1251
|
let body;
|
|
1296
|
-
body = JSON.stringify({
|
|
1297
|
-
clientToken:
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
...(input.snsTopicArn != null && { snsTopicArn: input.snsTopicArn }),
|
|
1312
|
-
...(input.subnetId != null && { subnetId: input.subnetId }),
|
|
1313
|
-
...(input.terminateInstanceOnFailure != null && { terminateInstanceOnFailure: input.terminateInstanceOnFailure }),
|
|
1314
|
-
});
|
|
1252
|
+
body = JSON.stringify(take(input, {
|
|
1253
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1254
|
+
description: [],
|
|
1255
|
+
infrastructureConfigurationArn: [],
|
|
1256
|
+
instanceMetadataOptions: (_) => _json(_),
|
|
1257
|
+
instanceProfileName: [],
|
|
1258
|
+
instanceTypes: (_) => _json(_),
|
|
1259
|
+
keyPair: [],
|
|
1260
|
+
logging: (_) => _json(_),
|
|
1261
|
+
resourceTags: (_) => _json(_),
|
|
1262
|
+
securityGroupIds: (_) => _json(_),
|
|
1263
|
+
snsTopicArn: [],
|
|
1264
|
+
subnetId: [],
|
|
1265
|
+
terminateInstanceOnFailure: [],
|
|
1266
|
+
}));
|
|
1315
1267
|
return new __HttpRequest({
|
|
1316
1268
|
protocol,
|
|
1317
1269
|
hostname,
|
|
@@ -1330,15 +1282,12 @@ export const de_CancelImageCreationCommand = async (output, context) => {
|
|
|
1330
1282
|
$metadata: deserializeMetadata(output),
|
|
1331
1283
|
});
|
|
1332
1284
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
if (data.requestId != null) {
|
|
1340
|
-
contents.requestId = __expectString(data.requestId);
|
|
1341
|
-
}
|
|
1285
|
+
const doc = take(data, {
|
|
1286
|
+
clientToken: __expectString,
|
|
1287
|
+
imageBuildVersionArn: __expectString,
|
|
1288
|
+
requestId: __expectString,
|
|
1289
|
+
});
|
|
1290
|
+
Object.assign(contents, doc);
|
|
1342
1291
|
return contents;
|
|
1343
1292
|
};
|
|
1344
1293
|
const de_CancelImageCreationCommandError = async (output, context) => {
|
|
@@ -1374,10 +1323,9 @@ const de_CancelImageCreationCommandError = async (output, context) => {
|
|
|
1374
1323
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1375
1324
|
default:
|
|
1376
1325
|
const parsedBody = parsedOutput.body;
|
|
1377
|
-
throwDefaultError({
|
|
1326
|
+
return throwDefaultError({
|
|
1378
1327
|
output,
|
|
1379
1328
|
parsedBody,
|
|
1380
|
-
exceptionCtor: __BaseException,
|
|
1381
1329
|
errorCode,
|
|
1382
1330
|
});
|
|
1383
1331
|
}
|
|
@@ -1390,15 +1338,12 @@ export const de_CreateComponentCommand = async (output, context) => {
|
|
|
1390
1338
|
$metadata: deserializeMetadata(output),
|
|
1391
1339
|
});
|
|
1392
1340
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
if (data.requestId != null) {
|
|
1400
|
-
contents.requestId = __expectString(data.requestId);
|
|
1401
|
-
}
|
|
1341
|
+
const doc = take(data, {
|
|
1342
|
+
clientToken: __expectString,
|
|
1343
|
+
componentBuildVersionArn: __expectString,
|
|
1344
|
+
requestId: __expectString,
|
|
1345
|
+
});
|
|
1346
|
+
Object.assign(contents, doc);
|
|
1402
1347
|
return contents;
|
|
1403
1348
|
};
|
|
1404
1349
|
const de_CreateComponentCommandError = async (output, context) => {
|
|
@@ -1443,10 +1388,9 @@ const de_CreateComponentCommandError = async (output, context) => {
|
|
|
1443
1388
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1444
1389
|
default:
|
|
1445
1390
|
const parsedBody = parsedOutput.body;
|
|
1446
|
-
throwDefaultError({
|
|
1391
|
+
return throwDefaultError({
|
|
1447
1392
|
output,
|
|
1448
1393
|
parsedBody,
|
|
1449
|
-
exceptionCtor: __BaseException,
|
|
1450
1394
|
errorCode,
|
|
1451
1395
|
});
|
|
1452
1396
|
}
|
|
@@ -1459,15 +1403,12 @@ export const de_CreateContainerRecipeCommand = async (output, context) => {
|
|
|
1459
1403
|
$metadata: deserializeMetadata(output),
|
|
1460
1404
|
});
|
|
1461
1405
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
if (data.requestId != null) {
|
|
1469
|
-
contents.requestId = __expectString(data.requestId);
|
|
1470
|
-
}
|
|
1406
|
+
const doc = take(data, {
|
|
1407
|
+
clientToken: __expectString,
|
|
1408
|
+
containerRecipeArn: __expectString,
|
|
1409
|
+
requestId: __expectString,
|
|
1410
|
+
});
|
|
1411
|
+
Object.assign(contents, doc);
|
|
1471
1412
|
return contents;
|
|
1472
1413
|
};
|
|
1473
1414
|
const de_CreateContainerRecipeCommandError = async (output, context) => {
|
|
@@ -1512,10 +1453,9 @@ const de_CreateContainerRecipeCommandError = async (output, context) => {
|
|
|
1512
1453
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1513
1454
|
default:
|
|
1514
1455
|
const parsedBody = parsedOutput.body;
|
|
1515
|
-
throwDefaultError({
|
|
1456
|
+
return throwDefaultError({
|
|
1516
1457
|
output,
|
|
1517
1458
|
parsedBody,
|
|
1518
|
-
exceptionCtor: __BaseException,
|
|
1519
1459
|
errorCode,
|
|
1520
1460
|
});
|
|
1521
1461
|
}
|
|
@@ -1528,15 +1468,12 @@ export const de_CreateDistributionConfigurationCommand = async (output, context)
|
|
|
1528
1468
|
$metadata: deserializeMetadata(output),
|
|
1529
1469
|
});
|
|
1530
1470
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
if (data.requestId != null) {
|
|
1538
|
-
contents.requestId = __expectString(data.requestId);
|
|
1539
|
-
}
|
|
1471
|
+
const doc = take(data, {
|
|
1472
|
+
clientToken: __expectString,
|
|
1473
|
+
distributionConfigurationArn: __expectString,
|
|
1474
|
+
requestId: __expectString,
|
|
1475
|
+
});
|
|
1476
|
+
Object.assign(contents, doc);
|
|
1540
1477
|
return contents;
|
|
1541
1478
|
};
|
|
1542
1479
|
const de_CreateDistributionConfigurationCommandError = async (output, context) => {
|
|
@@ -1581,10 +1518,9 @@ const de_CreateDistributionConfigurationCommandError = async (output, context) =
|
|
|
1581
1518
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1582
1519
|
default:
|
|
1583
1520
|
const parsedBody = parsedOutput.body;
|
|
1584
|
-
throwDefaultError({
|
|
1521
|
+
return throwDefaultError({
|
|
1585
1522
|
output,
|
|
1586
1523
|
parsedBody,
|
|
1587
|
-
exceptionCtor: __BaseException,
|
|
1588
1524
|
errorCode,
|
|
1589
1525
|
});
|
|
1590
1526
|
}
|
|
@@ -1597,15 +1533,12 @@ export const de_CreateImageCommand = async (output, context) => {
|
|
|
1597
1533
|
$metadata: deserializeMetadata(output),
|
|
1598
1534
|
});
|
|
1599
1535
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
if (data.requestId != null) {
|
|
1607
|
-
contents.requestId = __expectString(data.requestId);
|
|
1608
|
-
}
|
|
1536
|
+
const doc = take(data, {
|
|
1537
|
+
clientToken: __expectString,
|
|
1538
|
+
imageBuildVersionArn: __expectString,
|
|
1539
|
+
requestId: __expectString,
|
|
1540
|
+
});
|
|
1541
|
+
Object.assign(contents, doc);
|
|
1609
1542
|
return contents;
|
|
1610
1543
|
};
|
|
1611
1544
|
const de_CreateImageCommandError = async (output, context) => {
|
|
@@ -1644,10 +1577,9 @@ const de_CreateImageCommandError = async (output, context) => {
|
|
|
1644
1577
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1645
1578
|
default:
|
|
1646
1579
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
throwDefaultError({
|
|
1580
|
+
return throwDefaultError({
|
|
1648
1581
|
output,
|
|
1649
1582
|
parsedBody,
|
|
1650
|
-
exceptionCtor: __BaseException,
|
|
1651
1583
|
errorCode,
|
|
1652
1584
|
});
|
|
1653
1585
|
}
|
|
@@ -1660,15 +1592,12 @@ export const de_CreateImagePipelineCommand = async (output, context) => {
|
|
|
1660
1592
|
$metadata: deserializeMetadata(output),
|
|
1661
1593
|
});
|
|
1662
1594
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
if (data.requestId != null) {
|
|
1670
|
-
contents.requestId = __expectString(data.requestId);
|
|
1671
|
-
}
|
|
1595
|
+
const doc = take(data, {
|
|
1596
|
+
clientToken: __expectString,
|
|
1597
|
+
imagePipelineArn: __expectString,
|
|
1598
|
+
requestId: __expectString,
|
|
1599
|
+
});
|
|
1600
|
+
Object.assign(contents, doc);
|
|
1672
1601
|
return contents;
|
|
1673
1602
|
};
|
|
1674
1603
|
const de_CreateImagePipelineCommandError = async (output, context) => {
|
|
@@ -1710,10 +1639,9 @@ const de_CreateImagePipelineCommandError = async (output, context) => {
|
|
|
1710
1639
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1711
1640
|
default:
|
|
1712
1641
|
const parsedBody = parsedOutput.body;
|
|
1713
|
-
throwDefaultError({
|
|
1642
|
+
return throwDefaultError({
|
|
1714
1643
|
output,
|
|
1715
1644
|
parsedBody,
|
|
1716
|
-
exceptionCtor: __BaseException,
|
|
1717
1645
|
errorCode,
|
|
1718
1646
|
});
|
|
1719
1647
|
}
|
|
@@ -1726,15 +1654,12 @@ export const de_CreateImageRecipeCommand = async (output, context) => {
|
|
|
1726
1654
|
$metadata: deserializeMetadata(output),
|
|
1727
1655
|
});
|
|
1728
1656
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
if (data.requestId != null) {
|
|
1736
|
-
contents.requestId = __expectString(data.requestId);
|
|
1737
|
-
}
|
|
1657
|
+
const doc = take(data, {
|
|
1658
|
+
clientToken: __expectString,
|
|
1659
|
+
imageRecipeArn: __expectString,
|
|
1660
|
+
requestId: __expectString,
|
|
1661
|
+
});
|
|
1662
|
+
Object.assign(contents, doc);
|
|
1738
1663
|
return contents;
|
|
1739
1664
|
};
|
|
1740
1665
|
const de_CreateImageRecipeCommandError = async (output, context) => {
|
|
@@ -1779,10 +1704,9 @@ const de_CreateImageRecipeCommandError = async (output, context) => {
|
|
|
1779
1704
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1780
1705
|
default:
|
|
1781
1706
|
const parsedBody = parsedOutput.body;
|
|
1782
|
-
throwDefaultError({
|
|
1707
|
+
return throwDefaultError({
|
|
1783
1708
|
output,
|
|
1784
1709
|
parsedBody,
|
|
1785
|
-
exceptionCtor: __BaseException,
|
|
1786
1710
|
errorCode,
|
|
1787
1711
|
});
|
|
1788
1712
|
}
|
|
@@ -1795,15 +1719,12 @@ export const de_CreateInfrastructureConfigurationCommand = async (output, contex
|
|
|
1795
1719
|
$metadata: deserializeMetadata(output),
|
|
1796
1720
|
});
|
|
1797
1721
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
if (data.requestId != null) {
|
|
1805
|
-
contents.requestId = __expectString(data.requestId);
|
|
1806
|
-
}
|
|
1722
|
+
const doc = take(data, {
|
|
1723
|
+
clientToken: __expectString,
|
|
1724
|
+
infrastructureConfigurationArn: __expectString,
|
|
1725
|
+
requestId: __expectString,
|
|
1726
|
+
});
|
|
1727
|
+
Object.assign(contents, doc);
|
|
1807
1728
|
return contents;
|
|
1808
1729
|
};
|
|
1809
1730
|
const de_CreateInfrastructureConfigurationCommandError = async (output, context) => {
|
|
@@ -1845,10 +1766,9 @@ const de_CreateInfrastructureConfigurationCommandError = async (output, context)
|
|
|
1845
1766
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1846
1767
|
default:
|
|
1847
1768
|
const parsedBody = parsedOutput.body;
|
|
1848
|
-
throwDefaultError({
|
|
1769
|
+
return throwDefaultError({
|
|
1849
1770
|
output,
|
|
1850
1771
|
parsedBody,
|
|
1851
|
-
exceptionCtor: __BaseException,
|
|
1852
1772
|
errorCode,
|
|
1853
1773
|
});
|
|
1854
1774
|
}
|
|
@@ -1861,12 +1781,11 @@ export const de_DeleteComponentCommand = async (output, context) => {
|
|
|
1861
1781
|
$metadata: deserializeMetadata(output),
|
|
1862
1782
|
});
|
|
1863
1783
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
}
|
|
1784
|
+
const doc = take(data, {
|
|
1785
|
+
componentBuildVersionArn: __expectString,
|
|
1786
|
+
requestId: __expectString,
|
|
1787
|
+
});
|
|
1788
|
+
Object.assign(contents, doc);
|
|
1870
1789
|
return contents;
|
|
1871
1790
|
};
|
|
1872
1791
|
const de_DeleteComponentCommandError = async (output, context) => {
|
|
@@ -1899,10 +1818,9 @@ const de_DeleteComponentCommandError = async (output, context) => {
|
|
|
1899
1818
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1900
1819
|
default:
|
|
1901
1820
|
const parsedBody = parsedOutput.body;
|
|
1902
|
-
throwDefaultError({
|
|
1821
|
+
return throwDefaultError({
|
|
1903
1822
|
output,
|
|
1904
1823
|
parsedBody,
|
|
1905
|
-
exceptionCtor: __BaseException,
|
|
1906
1824
|
errorCode,
|
|
1907
1825
|
});
|
|
1908
1826
|
}
|
|
@@ -1915,12 +1833,11 @@ export const de_DeleteContainerRecipeCommand = async (output, context) => {
|
|
|
1915
1833
|
$metadata: deserializeMetadata(output),
|
|
1916
1834
|
});
|
|
1917
1835
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
}
|
|
1836
|
+
const doc = take(data, {
|
|
1837
|
+
containerRecipeArn: __expectString,
|
|
1838
|
+
requestId: __expectString,
|
|
1839
|
+
});
|
|
1840
|
+
Object.assign(contents, doc);
|
|
1924
1841
|
return contents;
|
|
1925
1842
|
};
|
|
1926
1843
|
const de_DeleteContainerRecipeCommandError = async (output, context) => {
|
|
@@ -1953,10 +1870,9 @@ const de_DeleteContainerRecipeCommandError = async (output, context) => {
|
|
|
1953
1870
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1954
1871
|
default:
|
|
1955
1872
|
const parsedBody = parsedOutput.body;
|
|
1956
|
-
throwDefaultError({
|
|
1873
|
+
return throwDefaultError({
|
|
1957
1874
|
output,
|
|
1958
1875
|
parsedBody,
|
|
1959
|
-
exceptionCtor: __BaseException,
|
|
1960
1876
|
errorCode,
|
|
1961
1877
|
});
|
|
1962
1878
|
}
|
|
@@ -1969,12 +1885,11 @@ export const de_DeleteDistributionConfigurationCommand = async (output, context)
|
|
|
1969
1885
|
$metadata: deserializeMetadata(output),
|
|
1970
1886
|
});
|
|
1971
1887
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
}
|
|
1888
|
+
const doc = take(data, {
|
|
1889
|
+
distributionConfigurationArn: __expectString,
|
|
1890
|
+
requestId: __expectString,
|
|
1891
|
+
});
|
|
1892
|
+
Object.assign(contents, doc);
|
|
1978
1893
|
return contents;
|
|
1979
1894
|
};
|
|
1980
1895
|
const de_DeleteDistributionConfigurationCommandError = async (output, context) => {
|
|
@@ -2007,10 +1922,9 @@ const de_DeleteDistributionConfigurationCommandError = async (output, context) =
|
|
|
2007
1922
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2008
1923
|
default:
|
|
2009
1924
|
const parsedBody = parsedOutput.body;
|
|
2010
|
-
throwDefaultError({
|
|
1925
|
+
return throwDefaultError({
|
|
2011
1926
|
output,
|
|
2012
1927
|
parsedBody,
|
|
2013
|
-
exceptionCtor: __BaseException,
|
|
2014
1928
|
errorCode,
|
|
2015
1929
|
});
|
|
2016
1930
|
}
|
|
@@ -2023,12 +1937,11 @@ export const de_DeleteImageCommand = async (output, context) => {
|
|
|
2023
1937
|
$metadata: deserializeMetadata(output),
|
|
2024
1938
|
});
|
|
2025
1939
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
}
|
|
1940
|
+
const doc = take(data, {
|
|
1941
|
+
imageBuildVersionArn: __expectString,
|
|
1942
|
+
requestId: __expectString,
|
|
1943
|
+
});
|
|
1944
|
+
Object.assign(contents, doc);
|
|
2032
1945
|
return contents;
|
|
2033
1946
|
};
|
|
2034
1947
|
const de_DeleteImageCommandError = async (output, context) => {
|
|
@@ -2061,10 +1974,9 @@ const de_DeleteImageCommandError = async (output, context) => {
|
|
|
2061
1974
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2062
1975
|
default:
|
|
2063
1976
|
const parsedBody = parsedOutput.body;
|
|
2064
|
-
throwDefaultError({
|
|
1977
|
+
return throwDefaultError({
|
|
2065
1978
|
output,
|
|
2066
1979
|
parsedBody,
|
|
2067
|
-
exceptionCtor: __BaseException,
|
|
2068
1980
|
errorCode,
|
|
2069
1981
|
});
|
|
2070
1982
|
}
|
|
@@ -2077,12 +1989,11 @@ export const de_DeleteImagePipelineCommand = async (output, context) => {
|
|
|
2077
1989
|
$metadata: deserializeMetadata(output),
|
|
2078
1990
|
});
|
|
2079
1991
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
}
|
|
1992
|
+
const doc = take(data, {
|
|
1993
|
+
imagePipelineArn: __expectString,
|
|
1994
|
+
requestId: __expectString,
|
|
1995
|
+
});
|
|
1996
|
+
Object.assign(contents, doc);
|
|
2086
1997
|
return contents;
|
|
2087
1998
|
};
|
|
2088
1999
|
const de_DeleteImagePipelineCommandError = async (output, context) => {
|
|
@@ -2115,10 +2026,9 @@ const de_DeleteImagePipelineCommandError = async (output, context) => {
|
|
|
2115
2026
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2116
2027
|
default:
|
|
2117
2028
|
const parsedBody = parsedOutput.body;
|
|
2118
|
-
throwDefaultError({
|
|
2029
|
+
return throwDefaultError({
|
|
2119
2030
|
output,
|
|
2120
2031
|
parsedBody,
|
|
2121
|
-
exceptionCtor: __BaseException,
|
|
2122
2032
|
errorCode,
|
|
2123
2033
|
});
|
|
2124
2034
|
}
|
|
@@ -2131,12 +2041,11 @@ export const de_DeleteImageRecipeCommand = async (output, context) => {
|
|
|
2131
2041
|
$metadata: deserializeMetadata(output),
|
|
2132
2042
|
});
|
|
2133
2043
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
}
|
|
2044
|
+
const doc = take(data, {
|
|
2045
|
+
imageRecipeArn: __expectString,
|
|
2046
|
+
requestId: __expectString,
|
|
2047
|
+
});
|
|
2048
|
+
Object.assign(contents, doc);
|
|
2140
2049
|
return contents;
|
|
2141
2050
|
};
|
|
2142
2051
|
const de_DeleteImageRecipeCommandError = async (output, context) => {
|
|
@@ -2169,10 +2078,9 @@ const de_DeleteImageRecipeCommandError = async (output, context) => {
|
|
|
2169
2078
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2170
2079
|
default:
|
|
2171
2080
|
const parsedBody = parsedOutput.body;
|
|
2172
|
-
throwDefaultError({
|
|
2081
|
+
return throwDefaultError({
|
|
2173
2082
|
output,
|
|
2174
2083
|
parsedBody,
|
|
2175
|
-
exceptionCtor: __BaseException,
|
|
2176
2084
|
errorCode,
|
|
2177
2085
|
});
|
|
2178
2086
|
}
|
|
@@ -2185,12 +2093,11 @@ export const de_DeleteInfrastructureConfigurationCommand = async (output, contex
|
|
|
2185
2093
|
$metadata: deserializeMetadata(output),
|
|
2186
2094
|
});
|
|
2187
2095
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
}
|
|
2096
|
+
const doc = take(data, {
|
|
2097
|
+
infrastructureConfigurationArn: __expectString,
|
|
2098
|
+
requestId: __expectString,
|
|
2099
|
+
});
|
|
2100
|
+
Object.assign(contents, doc);
|
|
2194
2101
|
return contents;
|
|
2195
2102
|
};
|
|
2196
2103
|
const de_DeleteInfrastructureConfigurationCommandError = async (output, context) => {
|
|
@@ -2223,10 +2130,9 @@ const de_DeleteInfrastructureConfigurationCommandError = async (output, context)
|
|
|
2223
2130
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2224
2131
|
default:
|
|
2225
2132
|
const parsedBody = parsedOutput.body;
|
|
2226
|
-
throwDefaultError({
|
|
2133
|
+
return throwDefaultError({
|
|
2227
2134
|
output,
|
|
2228
2135
|
parsedBody,
|
|
2229
|
-
exceptionCtor: __BaseException,
|
|
2230
2136
|
errorCode,
|
|
2231
2137
|
});
|
|
2232
2138
|
}
|
|
@@ -2239,12 +2145,11 @@ export const de_GetComponentCommand = async (output, context) => {
|
|
|
2239
2145
|
$metadata: deserializeMetadata(output),
|
|
2240
2146
|
});
|
|
2241
2147
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
}
|
|
2148
|
+
const doc = take(data, {
|
|
2149
|
+
component: _json,
|
|
2150
|
+
requestId: __expectString,
|
|
2151
|
+
});
|
|
2152
|
+
Object.assign(contents, doc);
|
|
2248
2153
|
return contents;
|
|
2249
2154
|
};
|
|
2250
2155
|
const de_GetComponentCommandError = async (output, context) => {
|
|
@@ -2274,10 +2179,9 @@ const de_GetComponentCommandError = async (output, context) => {
|
|
|
2274
2179
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2275
2180
|
default:
|
|
2276
2181
|
const parsedBody = parsedOutput.body;
|
|
2277
|
-
throwDefaultError({
|
|
2182
|
+
return throwDefaultError({
|
|
2278
2183
|
output,
|
|
2279
2184
|
parsedBody,
|
|
2280
|
-
exceptionCtor: __BaseException,
|
|
2281
2185
|
errorCode,
|
|
2282
2186
|
});
|
|
2283
2187
|
}
|
|
@@ -2290,12 +2194,11 @@ export const de_GetComponentPolicyCommand = async (output, context) => {
|
|
|
2290
2194
|
$metadata: deserializeMetadata(output),
|
|
2291
2195
|
});
|
|
2292
2196
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
}
|
|
2197
|
+
const doc = take(data, {
|
|
2198
|
+
policy: __expectString,
|
|
2199
|
+
requestId: __expectString,
|
|
2200
|
+
});
|
|
2201
|
+
Object.assign(contents, doc);
|
|
2299
2202
|
return contents;
|
|
2300
2203
|
};
|
|
2301
2204
|
const de_GetComponentPolicyCommandError = async (output, context) => {
|
|
@@ -2325,10 +2228,9 @@ const de_GetComponentPolicyCommandError = async (output, context) => {
|
|
|
2325
2228
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2326
2229
|
default:
|
|
2327
2230
|
const parsedBody = parsedOutput.body;
|
|
2328
|
-
throwDefaultError({
|
|
2231
|
+
return throwDefaultError({
|
|
2329
2232
|
output,
|
|
2330
2233
|
parsedBody,
|
|
2331
|
-
exceptionCtor: __BaseException,
|
|
2332
2234
|
errorCode,
|
|
2333
2235
|
});
|
|
2334
2236
|
}
|
|
@@ -2341,12 +2243,11 @@ export const de_GetContainerRecipeCommand = async (output, context) => {
|
|
|
2341
2243
|
$metadata: deserializeMetadata(output),
|
|
2342
2244
|
});
|
|
2343
2245
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
}
|
|
2246
|
+
const doc = take(data, {
|
|
2247
|
+
containerRecipe: _json,
|
|
2248
|
+
requestId: __expectString,
|
|
2249
|
+
});
|
|
2250
|
+
Object.assign(contents, doc);
|
|
2350
2251
|
return contents;
|
|
2351
2252
|
};
|
|
2352
2253
|
const de_GetContainerRecipeCommandError = async (output, context) => {
|
|
@@ -2376,10 +2277,9 @@ const de_GetContainerRecipeCommandError = async (output, context) => {
|
|
|
2376
2277
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2377
2278
|
default:
|
|
2378
2279
|
const parsedBody = parsedOutput.body;
|
|
2379
|
-
throwDefaultError({
|
|
2280
|
+
return throwDefaultError({
|
|
2380
2281
|
output,
|
|
2381
2282
|
parsedBody,
|
|
2382
|
-
exceptionCtor: __BaseException,
|
|
2383
2283
|
errorCode,
|
|
2384
2284
|
});
|
|
2385
2285
|
}
|
|
@@ -2392,12 +2292,11 @@ export const de_GetContainerRecipePolicyCommand = async (output, context) => {
|
|
|
2392
2292
|
$metadata: deserializeMetadata(output),
|
|
2393
2293
|
});
|
|
2394
2294
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
}
|
|
2295
|
+
const doc = take(data, {
|
|
2296
|
+
policy: __expectString,
|
|
2297
|
+
requestId: __expectString,
|
|
2298
|
+
});
|
|
2299
|
+
Object.assign(contents, doc);
|
|
2401
2300
|
return contents;
|
|
2402
2301
|
};
|
|
2403
2302
|
const de_GetContainerRecipePolicyCommandError = async (output, context) => {
|
|
@@ -2427,10 +2326,9 @@ const de_GetContainerRecipePolicyCommandError = async (output, context) => {
|
|
|
2427
2326
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2428
2327
|
default:
|
|
2429
2328
|
const parsedBody = parsedOutput.body;
|
|
2430
|
-
throwDefaultError({
|
|
2329
|
+
return throwDefaultError({
|
|
2431
2330
|
output,
|
|
2432
2331
|
parsedBody,
|
|
2433
|
-
exceptionCtor: __BaseException,
|
|
2434
2332
|
errorCode,
|
|
2435
2333
|
});
|
|
2436
2334
|
}
|
|
@@ -2443,12 +2341,11 @@ export const de_GetDistributionConfigurationCommand = async (output, context) =>
|
|
|
2443
2341
|
$metadata: deserializeMetadata(output),
|
|
2444
2342
|
});
|
|
2445
2343
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
}
|
|
2344
|
+
const doc = take(data, {
|
|
2345
|
+
distributionConfiguration: _json,
|
|
2346
|
+
requestId: __expectString,
|
|
2347
|
+
});
|
|
2348
|
+
Object.assign(contents, doc);
|
|
2452
2349
|
return contents;
|
|
2453
2350
|
};
|
|
2454
2351
|
const de_GetDistributionConfigurationCommandError = async (output, context) => {
|
|
@@ -2478,10 +2375,9 @@ const de_GetDistributionConfigurationCommandError = async (output, context) => {
|
|
|
2478
2375
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2479
2376
|
default:
|
|
2480
2377
|
const parsedBody = parsedOutput.body;
|
|
2481
|
-
throwDefaultError({
|
|
2378
|
+
return throwDefaultError({
|
|
2482
2379
|
output,
|
|
2483
2380
|
parsedBody,
|
|
2484
|
-
exceptionCtor: __BaseException,
|
|
2485
2381
|
errorCode,
|
|
2486
2382
|
});
|
|
2487
2383
|
}
|
|
@@ -2494,12 +2390,11 @@ export const de_GetImageCommand = async (output, context) => {
|
|
|
2494
2390
|
$metadata: deserializeMetadata(output),
|
|
2495
2391
|
});
|
|
2496
2392
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
}
|
|
2393
|
+
const doc = take(data, {
|
|
2394
|
+
image: _json,
|
|
2395
|
+
requestId: __expectString,
|
|
2396
|
+
});
|
|
2397
|
+
Object.assign(contents, doc);
|
|
2503
2398
|
return contents;
|
|
2504
2399
|
};
|
|
2505
2400
|
const de_GetImageCommandError = async (output, context) => {
|
|
@@ -2529,10 +2424,9 @@ const de_GetImageCommandError = async (output, context) => {
|
|
|
2529
2424
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2530
2425
|
default:
|
|
2531
2426
|
const parsedBody = parsedOutput.body;
|
|
2532
|
-
throwDefaultError({
|
|
2427
|
+
return throwDefaultError({
|
|
2533
2428
|
output,
|
|
2534
2429
|
parsedBody,
|
|
2535
|
-
exceptionCtor: __BaseException,
|
|
2536
2430
|
errorCode,
|
|
2537
2431
|
});
|
|
2538
2432
|
}
|
|
@@ -2545,12 +2439,11 @@ export const de_GetImagePipelineCommand = async (output, context) => {
|
|
|
2545
2439
|
$metadata: deserializeMetadata(output),
|
|
2546
2440
|
});
|
|
2547
2441
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
}
|
|
2442
|
+
const doc = take(data, {
|
|
2443
|
+
imagePipeline: _json,
|
|
2444
|
+
requestId: __expectString,
|
|
2445
|
+
});
|
|
2446
|
+
Object.assign(contents, doc);
|
|
2554
2447
|
return contents;
|
|
2555
2448
|
};
|
|
2556
2449
|
const de_GetImagePipelineCommandError = async (output, context) => {
|
|
@@ -2580,10 +2473,9 @@ const de_GetImagePipelineCommandError = async (output, context) => {
|
|
|
2580
2473
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2581
2474
|
default:
|
|
2582
2475
|
const parsedBody = parsedOutput.body;
|
|
2583
|
-
throwDefaultError({
|
|
2476
|
+
return throwDefaultError({
|
|
2584
2477
|
output,
|
|
2585
2478
|
parsedBody,
|
|
2586
|
-
exceptionCtor: __BaseException,
|
|
2587
2479
|
errorCode,
|
|
2588
2480
|
});
|
|
2589
2481
|
}
|
|
@@ -2596,12 +2488,11 @@ export const de_GetImagePolicyCommand = async (output, context) => {
|
|
|
2596
2488
|
$metadata: deserializeMetadata(output),
|
|
2597
2489
|
});
|
|
2598
2490
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
}
|
|
2491
|
+
const doc = take(data, {
|
|
2492
|
+
policy: __expectString,
|
|
2493
|
+
requestId: __expectString,
|
|
2494
|
+
});
|
|
2495
|
+
Object.assign(contents, doc);
|
|
2605
2496
|
return contents;
|
|
2606
2497
|
};
|
|
2607
2498
|
const de_GetImagePolicyCommandError = async (output, context) => {
|
|
@@ -2631,10 +2522,9 @@ const de_GetImagePolicyCommandError = async (output, context) => {
|
|
|
2631
2522
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2632
2523
|
default:
|
|
2633
2524
|
const parsedBody = parsedOutput.body;
|
|
2634
|
-
throwDefaultError({
|
|
2525
|
+
return throwDefaultError({
|
|
2635
2526
|
output,
|
|
2636
2527
|
parsedBody,
|
|
2637
|
-
exceptionCtor: __BaseException,
|
|
2638
2528
|
errorCode,
|
|
2639
2529
|
});
|
|
2640
2530
|
}
|
|
@@ -2647,12 +2537,11 @@ export const de_GetImageRecipeCommand = async (output, context) => {
|
|
|
2647
2537
|
$metadata: deserializeMetadata(output),
|
|
2648
2538
|
});
|
|
2649
2539
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
}
|
|
2540
|
+
const doc = take(data, {
|
|
2541
|
+
imageRecipe: _json,
|
|
2542
|
+
requestId: __expectString,
|
|
2543
|
+
});
|
|
2544
|
+
Object.assign(contents, doc);
|
|
2656
2545
|
return contents;
|
|
2657
2546
|
};
|
|
2658
2547
|
const de_GetImageRecipeCommandError = async (output, context) => {
|
|
@@ -2682,10 +2571,9 @@ const de_GetImageRecipeCommandError = async (output, context) => {
|
|
|
2682
2571
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2683
2572
|
default:
|
|
2684
2573
|
const parsedBody = parsedOutput.body;
|
|
2685
|
-
throwDefaultError({
|
|
2574
|
+
return throwDefaultError({
|
|
2686
2575
|
output,
|
|
2687
2576
|
parsedBody,
|
|
2688
|
-
exceptionCtor: __BaseException,
|
|
2689
2577
|
errorCode,
|
|
2690
2578
|
});
|
|
2691
2579
|
}
|
|
@@ -2698,12 +2586,11 @@ export const de_GetImageRecipePolicyCommand = async (output, context) => {
|
|
|
2698
2586
|
$metadata: deserializeMetadata(output),
|
|
2699
2587
|
});
|
|
2700
2588
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
}
|
|
2589
|
+
const doc = take(data, {
|
|
2590
|
+
policy: __expectString,
|
|
2591
|
+
requestId: __expectString,
|
|
2592
|
+
});
|
|
2593
|
+
Object.assign(contents, doc);
|
|
2707
2594
|
return contents;
|
|
2708
2595
|
};
|
|
2709
2596
|
const de_GetImageRecipePolicyCommandError = async (output, context) => {
|
|
@@ -2733,10 +2620,9 @@ const de_GetImageRecipePolicyCommandError = async (output, context) => {
|
|
|
2733
2620
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2734
2621
|
default:
|
|
2735
2622
|
const parsedBody = parsedOutput.body;
|
|
2736
|
-
throwDefaultError({
|
|
2623
|
+
return throwDefaultError({
|
|
2737
2624
|
output,
|
|
2738
2625
|
parsedBody,
|
|
2739
|
-
exceptionCtor: __BaseException,
|
|
2740
2626
|
errorCode,
|
|
2741
2627
|
});
|
|
2742
2628
|
}
|
|
@@ -2749,12 +2635,11 @@ export const de_GetInfrastructureConfigurationCommand = async (output, context)
|
|
|
2749
2635
|
$metadata: deserializeMetadata(output),
|
|
2750
2636
|
});
|
|
2751
2637
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
}
|
|
2638
|
+
const doc = take(data, {
|
|
2639
|
+
infrastructureConfiguration: _json,
|
|
2640
|
+
requestId: __expectString,
|
|
2641
|
+
});
|
|
2642
|
+
Object.assign(contents, doc);
|
|
2758
2643
|
return contents;
|
|
2759
2644
|
};
|
|
2760
2645
|
const de_GetInfrastructureConfigurationCommandError = async (output, context) => {
|
|
@@ -2784,10 +2669,9 @@ const de_GetInfrastructureConfigurationCommandError = async (output, context) =>
|
|
|
2784
2669
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2785
2670
|
default:
|
|
2786
2671
|
const parsedBody = parsedOutput.body;
|
|
2787
|
-
throwDefaultError({
|
|
2672
|
+
return throwDefaultError({
|
|
2788
2673
|
output,
|
|
2789
2674
|
parsedBody,
|
|
2790
|
-
exceptionCtor: __BaseException,
|
|
2791
2675
|
errorCode,
|
|
2792
2676
|
});
|
|
2793
2677
|
}
|
|
@@ -2800,45 +2684,22 @@ export const de_GetWorkflowExecutionCommand = async (output, context) => {
|
|
|
2800
2684
|
$metadata: deserializeMetadata(output),
|
|
2801
2685
|
});
|
|
2802
2686
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
}
|
|
2818
|
-
|
|
2819
|
-
contents.status = __expectString(data.status);
|
|
2820
|
-
}
|
|
2821
|
-
if (data.totalStepCount != null) {
|
|
2822
|
-
contents.totalStepCount = __expectInt32(data.totalStepCount);
|
|
2823
|
-
}
|
|
2824
|
-
if (data.totalStepsFailed != null) {
|
|
2825
|
-
contents.totalStepsFailed = __expectInt32(data.totalStepsFailed);
|
|
2826
|
-
}
|
|
2827
|
-
if (data.totalStepsSkipped != null) {
|
|
2828
|
-
contents.totalStepsSkipped = __expectInt32(data.totalStepsSkipped);
|
|
2829
|
-
}
|
|
2830
|
-
if (data.totalStepsSucceeded != null) {
|
|
2831
|
-
contents.totalStepsSucceeded = __expectInt32(data.totalStepsSucceeded);
|
|
2832
|
-
}
|
|
2833
|
-
if (data.type != null) {
|
|
2834
|
-
contents.type = __expectString(data.type);
|
|
2835
|
-
}
|
|
2836
|
-
if (data.workflowBuildVersionArn != null) {
|
|
2837
|
-
contents.workflowBuildVersionArn = __expectString(data.workflowBuildVersionArn);
|
|
2838
|
-
}
|
|
2839
|
-
if (data.workflowExecutionId != null) {
|
|
2840
|
-
contents.workflowExecutionId = __expectString(data.workflowExecutionId);
|
|
2841
|
-
}
|
|
2687
|
+
const doc = take(data, {
|
|
2688
|
+
endTime: __expectString,
|
|
2689
|
+
imageBuildVersionArn: __expectString,
|
|
2690
|
+
message: __expectString,
|
|
2691
|
+
requestId: __expectString,
|
|
2692
|
+
startTime: __expectString,
|
|
2693
|
+
status: __expectString,
|
|
2694
|
+
totalStepCount: __expectInt32,
|
|
2695
|
+
totalStepsFailed: __expectInt32,
|
|
2696
|
+
totalStepsSkipped: __expectInt32,
|
|
2697
|
+
totalStepsSucceeded: __expectInt32,
|
|
2698
|
+
type: __expectString,
|
|
2699
|
+
workflowBuildVersionArn: __expectString,
|
|
2700
|
+
workflowExecutionId: __expectString,
|
|
2701
|
+
});
|
|
2702
|
+
Object.assign(contents, doc);
|
|
2842
2703
|
return contents;
|
|
2843
2704
|
};
|
|
2844
2705
|
const de_GetWorkflowExecutionCommandError = async (output, context) => {
|
|
@@ -2868,10 +2729,9 @@ const de_GetWorkflowExecutionCommandError = async (output, context) => {
|
|
|
2868
2729
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2869
2730
|
default:
|
|
2870
2731
|
const parsedBody = parsedOutput.body;
|
|
2871
|
-
throwDefaultError({
|
|
2732
|
+
return throwDefaultError({
|
|
2872
2733
|
output,
|
|
2873
2734
|
parsedBody,
|
|
2874
|
-
exceptionCtor: __BaseException,
|
|
2875
2735
|
errorCode,
|
|
2876
2736
|
});
|
|
2877
2737
|
}
|
|
@@ -2884,57 +2744,26 @@ export const de_GetWorkflowStepExecutionCommand = async (output, context) => {
|
|
|
2884
2744
|
$metadata: deserializeMetadata(output),
|
|
2885
2745
|
});
|
|
2886
2746
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
}
|
|
2908
|
-
if (data.onFailure != null) {
|
|
2909
|
-
contents.onFailure = __expectString(data.onFailure);
|
|
2910
|
-
}
|
|
2911
|
-
if (data.outputs != null) {
|
|
2912
|
-
contents.outputs = __expectString(data.outputs);
|
|
2913
|
-
}
|
|
2914
|
-
if (data.requestId != null) {
|
|
2915
|
-
contents.requestId = __expectString(data.requestId);
|
|
2916
|
-
}
|
|
2917
|
-
if (data.rollbackStatus != null) {
|
|
2918
|
-
contents.rollbackStatus = __expectString(data.rollbackStatus);
|
|
2919
|
-
}
|
|
2920
|
-
if (data.startTime != null) {
|
|
2921
|
-
contents.startTime = __expectString(data.startTime);
|
|
2922
|
-
}
|
|
2923
|
-
if (data.status != null) {
|
|
2924
|
-
contents.status = __expectString(data.status);
|
|
2925
|
-
}
|
|
2926
|
-
if (data.stepExecutionId != null) {
|
|
2927
|
-
contents.stepExecutionId = __expectString(data.stepExecutionId);
|
|
2928
|
-
}
|
|
2929
|
-
if (data.timeoutSeconds != null) {
|
|
2930
|
-
contents.timeoutSeconds = __expectInt32(data.timeoutSeconds);
|
|
2931
|
-
}
|
|
2932
|
-
if (data.workflowBuildVersionArn != null) {
|
|
2933
|
-
contents.workflowBuildVersionArn = __expectString(data.workflowBuildVersionArn);
|
|
2934
|
-
}
|
|
2935
|
-
if (data.workflowExecutionId != null) {
|
|
2936
|
-
contents.workflowExecutionId = __expectString(data.workflowExecutionId);
|
|
2937
|
-
}
|
|
2747
|
+
const doc = take(data, {
|
|
2748
|
+
action: __expectString,
|
|
2749
|
+
description: __expectString,
|
|
2750
|
+
endTime: __expectString,
|
|
2751
|
+
imageBuildVersionArn: __expectString,
|
|
2752
|
+
inputs: __expectString,
|
|
2753
|
+
message: __expectString,
|
|
2754
|
+
name: __expectString,
|
|
2755
|
+
onFailure: __expectString,
|
|
2756
|
+
outputs: __expectString,
|
|
2757
|
+
requestId: __expectString,
|
|
2758
|
+
rollbackStatus: __expectString,
|
|
2759
|
+
startTime: __expectString,
|
|
2760
|
+
status: __expectString,
|
|
2761
|
+
stepExecutionId: __expectString,
|
|
2762
|
+
timeoutSeconds: __expectInt32,
|
|
2763
|
+
workflowBuildVersionArn: __expectString,
|
|
2764
|
+
workflowExecutionId: __expectString,
|
|
2765
|
+
});
|
|
2766
|
+
Object.assign(contents, doc);
|
|
2938
2767
|
return contents;
|
|
2939
2768
|
};
|
|
2940
2769
|
const de_GetWorkflowStepExecutionCommandError = async (output, context) => {
|
|
@@ -2964,10 +2793,9 @@ const de_GetWorkflowStepExecutionCommandError = async (output, context) => {
|
|
|
2964
2793
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2965
2794
|
default:
|
|
2966
2795
|
const parsedBody = parsedOutput.body;
|
|
2967
|
-
throwDefaultError({
|
|
2796
|
+
return throwDefaultError({
|
|
2968
2797
|
output,
|
|
2969
2798
|
parsedBody,
|
|
2970
|
-
exceptionCtor: __BaseException,
|
|
2971
2799
|
errorCode,
|
|
2972
2800
|
});
|
|
2973
2801
|
}
|
|
@@ -2980,15 +2808,12 @@ export const de_ImportComponentCommand = async (output, context) => {
|
|
|
2980
2808
|
$metadata: deserializeMetadata(output),
|
|
2981
2809
|
});
|
|
2982
2810
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
if (data.requestId != null) {
|
|
2990
|
-
contents.requestId = __expectString(data.requestId);
|
|
2991
|
-
}
|
|
2811
|
+
const doc = take(data, {
|
|
2812
|
+
clientToken: __expectString,
|
|
2813
|
+
componentBuildVersionArn: __expectString,
|
|
2814
|
+
requestId: __expectString,
|
|
2815
|
+
});
|
|
2816
|
+
Object.assign(contents, doc);
|
|
2992
2817
|
return contents;
|
|
2993
2818
|
};
|
|
2994
2819
|
const de_ImportComponentCommandError = async (output, context) => {
|
|
@@ -3030,10 +2855,9 @@ const de_ImportComponentCommandError = async (output, context) => {
|
|
|
3030
2855
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3031
2856
|
default:
|
|
3032
2857
|
const parsedBody = parsedOutput.body;
|
|
3033
|
-
throwDefaultError({
|
|
2858
|
+
return throwDefaultError({
|
|
3034
2859
|
output,
|
|
3035
2860
|
parsedBody,
|
|
3036
|
-
exceptionCtor: __BaseException,
|
|
3037
2861
|
errorCode,
|
|
3038
2862
|
});
|
|
3039
2863
|
}
|
|
@@ -3046,15 +2870,12 @@ export const de_ImportVmImageCommand = async (output, context) => {
|
|
|
3046
2870
|
$metadata: deserializeMetadata(output),
|
|
3047
2871
|
});
|
|
3048
2872
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
if (data.requestId != null) {
|
|
3056
|
-
contents.requestId = __expectString(data.requestId);
|
|
3057
|
-
}
|
|
2873
|
+
const doc = take(data, {
|
|
2874
|
+
clientToken: __expectString,
|
|
2875
|
+
imageArn: __expectString,
|
|
2876
|
+
requestId: __expectString,
|
|
2877
|
+
});
|
|
2878
|
+
Object.assign(contents, doc);
|
|
3058
2879
|
return contents;
|
|
3059
2880
|
};
|
|
3060
2881
|
const de_ImportVmImageCommandError = async (output, context) => {
|
|
@@ -3075,10 +2896,9 @@ const de_ImportVmImageCommandError = async (output, context) => {
|
|
|
3075
2896
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3076
2897
|
default:
|
|
3077
2898
|
const parsedBody = parsedOutput.body;
|
|
3078
|
-
throwDefaultError({
|
|
2899
|
+
return throwDefaultError({
|
|
3079
2900
|
output,
|
|
3080
2901
|
parsedBody,
|
|
3081
|
-
exceptionCtor: __BaseException,
|
|
3082
2902
|
errorCode,
|
|
3083
2903
|
});
|
|
3084
2904
|
}
|
|
@@ -3091,15 +2911,12 @@ export const de_ListComponentBuildVersionsCommand = async (output, context) => {
|
|
|
3091
2911
|
$metadata: deserializeMetadata(output),
|
|
3092
2912
|
});
|
|
3093
2913
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
if (data.requestId != null) {
|
|
3101
|
-
contents.requestId = __expectString(data.requestId);
|
|
3102
|
-
}
|
|
2914
|
+
const doc = take(data, {
|
|
2915
|
+
componentSummaryList: _json,
|
|
2916
|
+
nextToken: __expectString,
|
|
2917
|
+
requestId: __expectString,
|
|
2918
|
+
});
|
|
2919
|
+
Object.assign(contents, doc);
|
|
3103
2920
|
return contents;
|
|
3104
2921
|
};
|
|
3105
2922
|
const de_ListComponentBuildVersionsCommandError = async (output, context) => {
|
|
@@ -3132,10 +2949,9 @@ const de_ListComponentBuildVersionsCommandError = async (output, context) => {
|
|
|
3132
2949
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3133
2950
|
default:
|
|
3134
2951
|
const parsedBody = parsedOutput.body;
|
|
3135
|
-
throwDefaultError({
|
|
2952
|
+
return throwDefaultError({
|
|
3136
2953
|
output,
|
|
3137
2954
|
parsedBody,
|
|
3138
|
-
exceptionCtor: __BaseException,
|
|
3139
2955
|
errorCode,
|
|
3140
2956
|
});
|
|
3141
2957
|
}
|
|
@@ -3148,15 +2964,12 @@ export const de_ListComponentsCommand = async (output, context) => {
|
|
|
3148
2964
|
$metadata: deserializeMetadata(output),
|
|
3149
2965
|
});
|
|
3150
2966
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
if (data.requestId != null) {
|
|
3158
|
-
contents.requestId = __expectString(data.requestId);
|
|
3159
|
-
}
|
|
2967
|
+
const doc = take(data, {
|
|
2968
|
+
componentVersionList: _json,
|
|
2969
|
+
nextToken: __expectString,
|
|
2970
|
+
requestId: __expectString,
|
|
2971
|
+
});
|
|
2972
|
+
Object.assign(contents, doc);
|
|
3160
2973
|
return contents;
|
|
3161
2974
|
};
|
|
3162
2975
|
const de_ListComponentsCommandError = async (output, context) => {
|
|
@@ -3189,10 +3002,9 @@ const de_ListComponentsCommandError = async (output, context) => {
|
|
|
3189
3002
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3190
3003
|
default:
|
|
3191
3004
|
const parsedBody = parsedOutput.body;
|
|
3192
|
-
throwDefaultError({
|
|
3005
|
+
return throwDefaultError({
|
|
3193
3006
|
output,
|
|
3194
3007
|
parsedBody,
|
|
3195
|
-
exceptionCtor: __BaseException,
|
|
3196
3008
|
errorCode,
|
|
3197
3009
|
});
|
|
3198
3010
|
}
|
|
@@ -3205,15 +3017,12 @@ export const de_ListContainerRecipesCommand = async (output, context) => {
|
|
|
3205
3017
|
$metadata: deserializeMetadata(output),
|
|
3206
3018
|
});
|
|
3207
3019
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
if (data.requestId != null) {
|
|
3215
|
-
contents.requestId = __expectString(data.requestId);
|
|
3216
|
-
}
|
|
3020
|
+
const doc = take(data, {
|
|
3021
|
+
containerRecipeSummaryList: _json,
|
|
3022
|
+
nextToken: __expectString,
|
|
3023
|
+
requestId: __expectString,
|
|
3024
|
+
});
|
|
3025
|
+
Object.assign(contents, doc);
|
|
3217
3026
|
return contents;
|
|
3218
3027
|
};
|
|
3219
3028
|
const de_ListContainerRecipesCommandError = async (output, context) => {
|
|
@@ -3246,10 +3055,9 @@ const de_ListContainerRecipesCommandError = async (output, context) => {
|
|
|
3246
3055
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3247
3056
|
default:
|
|
3248
3057
|
const parsedBody = parsedOutput.body;
|
|
3249
|
-
throwDefaultError({
|
|
3058
|
+
return throwDefaultError({
|
|
3250
3059
|
output,
|
|
3251
3060
|
parsedBody,
|
|
3252
|
-
exceptionCtor: __BaseException,
|
|
3253
3061
|
errorCode,
|
|
3254
3062
|
});
|
|
3255
3063
|
}
|
|
@@ -3262,15 +3070,12 @@ export const de_ListDistributionConfigurationsCommand = async (output, context)
|
|
|
3262
3070
|
$metadata: deserializeMetadata(output),
|
|
3263
3071
|
});
|
|
3264
3072
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
if (data.requestId != null) {
|
|
3272
|
-
contents.requestId = __expectString(data.requestId);
|
|
3273
|
-
}
|
|
3073
|
+
const doc = take(data, {
|
|
3074
|
+
distributionConfigurationSummaryList: _json,
|
|
3075
|
+
nextToken: __expectString,
|
|
3076
|
+
requestId: __expectString,
|
|
3077
|
+
});
|
|
3078
|
+
Object.assign(contents, doc);
|
|
3274
3079
|
return contents;
|
|
3275
3080
|
};
|
|
3276
3081
|
const de_ListDistributionConfigurationsCommandError = async (output, context) => {
|
|
@@ -3303,10 +3108,9 @@ const de_ListDistributionConfigurationsCommandError = async (output, context) =>
|
|
|
3303
3108
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3304
3109
|
default:
|
|
3305
3110
|
const parsedBody = parsedOutput.body;
|
|
3306
|
-
throwDefaultError({
|
|
3111
|
+
return throwDefaultError({
|
|
3307
3112
|
output,
|
|
3308
3113
|
parsedBody,
|
|
3309
|
-
exceptionCtor: __BaseException,
|
|
3310
3114
|
errorCode,
|
|
3311
3115
|
});
|
|
3312
3116
|
}
|
|
@@ -3319,15 +3123,12 @@ export const de_ListImageBuildVersionsCommand = async (output, context) => {
|
|
|
3319
3123
|
$metadata: deserializeMetadata(output),
|
|
3320
3124
|
});
|
|
3321
3125
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
if (data.requestId != null) {
|
|
3329
|
-
contents.requestId = __expectString(data.requestId);
|
|
3330
|
-
}
|
|
3126
|
+
const doc = take(data, {
|
|
3127
|
+
imageSummaryList: _json,
|
|
3128
|
+
nextToken: __expectString,
|
|
3129
|
+
requestId: __expectString,
|
|
3130
|
+
});
|
|
3131
|
+
Object.assign(contents, doc);
|
|
3331
3132
|
return contents;
|
|
3332
3133
|
};
|
|
3333
3134
|
const de_ListImageBuildVersionsCommandError = async (output, context) => {
|
|
@@ -3360,10 +3161,9 @@ const de_ListImageBuildVersionsCommandError = async (output, context) => {
|
|
|
3360
3161
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3361
3162
|
default:
|
|
3362
3163
|
const parsedBody = parsedOutput.body;
|
|
3363
|
-
throwDefaultError({
|
|
3164
|
+
return throwDefaultError({
|
|
3364
3165
|
output,
|
|
3365
3166
|
parsedBody,
|
|
3366
|
-
exceptionCtor: __BaseException,
|
|
3367
3167
|
errorCode,
|
|
3368
3168
|
});
|
|
3369
3169
|
}
|
|
@@ -3376,15 +3176,12 @@ export const de_ListImagePackagesCommand = async (output, context) => {
|
|
|
3376
3176
|
$metadata: deserializeMetadata(output),
|
|
3377
3177
|
});
|
|
3378
3178
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
if (data.requestId != null) {
|
|
3386
|
-
contents.requestId = __expectString(data.requestId);
|
|
3387
|
-
}
|
|
3179
|
+
const doc = take(data, {
|
|
3180
|
+
imagePackageList: _json,
|
|
3181
|
+
nextToken: __expectString,
|
|
3182
|
+
requestId: __expectString,
|
|
3183
|
+
});
|
|
3184
|
+
Object.assign(contents, doc);
|
|
3388
3185
|
return contents;
|
|
3389
3186
|
};
|
|
3390
3187
|
const de_ListImagePackagesCommandError = async (output, context) => {
|
|
@@ -3420,10 +3217,9 @@ const de_ListImagePackagesCommandError = async (output, context) => {
|
|
|
3420
3217
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3421
3218
|
default:
|
|
3422
3219
|
const parsedBody = parsedOutput.body;
|
|
3423
|
-
throwDefaultError({
|
|
3220
|
+
return throwDefaultError({
|
|
3424
3221
|
output,
|
|
3425
3222
|
parsedBody,
|
|
3426
|
-
exceptionCtor: __BaseException,
|
|
3427
3223
|
errorCode,
|
|
3428
3224
|
});
|
|
3429
3225
|
}
|
|
@@ -3436,15 +3232,12 @@ export const de_ListImagePipelineImagesCommand = async (output, context) => {
|
|
|
3436
3232
|
$metadata: deserializeMetadata(output),
|
|
3437
3233
|
});
|
|
3438
3234
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
if (data.requestId != null) {
|
|
3446
|
-
contents.requestId = __expectString(data.requestId);
|
|
3447
|
-
}
|
|
3235
|
+
const doc = take(data, {
|
|
3236
|
+
imageSummaryList: _json,
|
|
3237
|
+
nextToken: __expectString,
|
|
3238
|
+
requestId: __expectString,
|
|
3239
|
+
});
|
|
3240
|
+
Object.assign(contents, doc);
|
|
3448
3241
|
return contents;
|
|
3449
3242
|
};
|
|
3450
3243
|
const de_ListImagePipelineImagesCommandError = async (output, context) => {
|
|
@@ -3480,10 +3273,9 @@ const de_ListImagePipelineImagesCommandError = async (output, context) => {
|
|
|
3480
3273
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3481
3274
|
default:
|
|
3482
3275
|
const parsedBody = parsedOutput.body;
|
|
3483
|
-
throwDefaultError({
|
|
3276
|
+
return throwDefaultError({
|
|
3484
3277
|
output,
|
|
3485
3278
|
parsedBody,
|
|
3486
|
-
exceptionCtor: __BaseException,
|
|
3487
3279
|
errorCode,
|
|
3488
3280
|
});
|
|
3489
3281
|
}
|
|
@@ -3496,15 +3288,12 @@ export const de_ListImagePipelinesCommand = async (output, context) => {
|
|
|
3496
3288
|
$metadata: deserializeMetadata(output),
|
|
3497
3289
|
});
|
|
3498
3290
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
if (data.requestId != null) {
|
|
3506
|
-
contents.requestId = __expectString(data.requestId);
|
|
3507
|
-
}
|
|
3291
|
+
const doc = take(data, {
|
|
3292
|
+
imagePipelineList: _json,
|
|
3293
|
+
nextToken: __expectString,
|
|
3294
|
+
requestId: __expectString,
|
|
3295
|
+
});
|
|
3296
|
+
Object.assign(contents, doc);
|
|
3508
3297
|
return contents;
|
|
3509
3298
|
};
|
|
3510
3299
|
const de_ListImagePipelinesCommandError = async (output, context) => {
|
|
@@ -3537,10 +3326,9 @@ const de_ListImagePipelinesCommandError = async (output, context) => {
|
|
|
3537
3326
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3538
3327
|
default:
|
|
3539
3328
|
const parsedBody = parsedOutput.body;
|
|
3540
|
-
throwDefaultError({
|
|
3329
|
+
return throwDefaultError({
|
|
3541
3330
|
output,
|
|
3542
3331
|
parsedBody,
|
|
3543
|
-
exceptionCtor: __BaseException,
|
|
3544
3332
|
errorCode,
|
|
3545
3333
|
});
|
|
3546
3334
|
}
|
|
@@ -3553,15 +3341,12 @@ export const de_ListImageRecipesCommand = async (output, context) => {
|
|
|
3553
3341
|
$metadata: deserializeMetadata(output),
|
|
3554
3342
|
});
|
|
3555
3343
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
if (data.requestId != null) {
|
|
3563
|
-
contents.requestId = __expectString(data.requestId);
|
|
3564
|
-
}
|
|
3344
|
+
const doc = take(data, {
|
|
3345
|
+
imageRecipeSummaryList: _json,
|
|
3346
|
+
nextToken: __expectString,
|
|
3347
|
+
requestId: __expectString,
|
|
3348
|
+
});
|
|
3349
|
+
Object.assign(contents, doc);
|
|
3565
3350
|
return contents;
|
|
3566
3351
|
};
|
|
3567
3352
|
const de_ListImageRecipesCommandError = async (output, context) => {
|
|
@@ -3594,10 +3379,9 @@ const de_ListImageRecipesCommandError = async (output, context) => {
|
|
|
3594
3379
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3595
3380
|
default:
|
|
3596
3381
|
const parsedBody = parsedOutput.body;
|
|
3597
|
-
throwDefaultError({
|
|
3382
|
+
return throwDefaultError({
|
|
3598
3383
|
output,
|
|
3599
3384
|
parsedBody,
|
|
3600
|
-
exceptionCtor: __BaseException,
|
|
3601
3385
|
errorCode,
|
|
3602
3386
|
});
|
|
3603
3387
|
}
|
|
@@ -3610,15 +3394,12 @@ export const de_ListImagesCommand = async (output, context) => {
|
|
|
3610
3394
|
$metadata: deserializeMetadata(output),
|
|
3611
3395
|
});
|
|
3612
3396
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
if (data.requestId != null) {
|
|
3620
|
-
contents.requestId = __expectString(data.requestId);
|
|
3621
|
-
}
|
|
3397
|
+
const doc = take(data, {
|
|
3398
|
+
imageVersionList: _json,
|
|
3399
|
+
nextToken: __expectString,
|
|
3400
|
+
requestId: __expectString,
|
|
3401
|
+
});
|
|
3402
|
+
Object.assign(contents, doc);
|
|
3622
3403
|
return contents;
|
|
3623
3404
|
};
|
|
3624
3405
|
const de_ListImagesCommandError = async (output, context) => {
|
|
@@ -3651,10 +3432,9 @@ const de_ListImagesCommandError = async (output, context) => {
|
|
|
3651
3432
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3652
3433
|
default:
|
|
3653
3434
|
const parsedBody = parsedOutput.body;
|
|
3654
|
-
throwDefaultError({
|
|
3435
|
+
return throwDefaultError({
|
|
3655
3436
|
output,
|
|
3656
3437
|
parsedBody,
|
|
3657
|
-
exceptionCtor: __BaseException,
|
|
3658
3438
|
errorCode,
|
|
3659
3439
|
});
|
|
3660
3440
|
}
|
|
@@ -3667,18 +3447,13 @@ export const de_ListImageScanFindingAggregationsCommand = async (output, context
|
|
|
3667
3447
|
$metadata: deserializeMetadata(output),
|
|
3668
3448
|
});
|
|
3669
3449
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
}
|
|
3676
|
-
|
|
3677
|
-
contents.requestId = __expectString(data.requestId);
|
|
3678
|
-
}
|
|
3679
|
-
if (data.responses != null) {
|
|
3680
|
-
contents.responses = de_ImageScanFindingAggregationsList(data.responses, context);
|
|
3681
|
-
}
|
|
3450
|
+
const doc = take(data, {
|
|
3451
|
+
aggregationType: __expectString,
|
|
3452
|
+
nextToken: __expectString,
|
|
3453
|
+
requestId: __expectString,
|
|
3454
|
+
responses: _json,
|
|
3455
|
+
});
|
|
3456
|
+
Object.assign(contents, doc);
|
|
3682
3457
|
return contents;
|
|
3683
3458
|
};
|
|
3684
3459
|
const de_ListImageScanFindingAggregationsCommandError = async (output, context) => {
|
|
@@ -3711,10 +3486,9 @@ const de_ListImageScanFindingAggregationsCommandError = async (output, context)
|
|
|
3711
3486
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3712
3487
|
default:
|
|
3713
3488
|
const parsedBody = parsedOutput.body;
|
|
3714
|
-
throwDefaultError({
|
|
3489
|
+
return throwDefaultError({
|
|
3715
3490
|
output,
|
|
3716
3491
|
parsedBody,
|
|
3717
|
-
exceptionCtor: __BaseException,
|
|
3718
3492
|
errorCode,
|
|
3719
3493
|
});
|
|
3720
3494
|
}
|
|
@@ -3727,15 +3501,12 @@ export const de_ListImageScanFindingsCommand = async (output, context) => {
|
|
|
3727
3501
|
$metadata: deserializeMetadata(output),
|
|
3728
3502
|
});
|
|
3729
3503
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
if (data.requestId != null) {
|
|
3737
|
-
contents.requestId = __expectString(data.requestId);
|
|
3738
|
-
}
|
|
3504
|
+
const doc = take(data, {
|
|
3505
|
+
findings: (_) => de_ImageScanFindingsList(_, context),
|
|
3506
|
+
nextToken: __expectString,
|
|
3507
|
+
requestId: __expectString,
|
|
3508
|
+
});
|
|
3509
|
+
Object.assign(contents, doc);
|
|
3739
3510
|
return contents;
|
|
3740
3511
|
};
|
|
3741
3512
|
const de_ListImageScanFindingsCommandError = async (output, context) => {
|
|
@@ -3768,10 +3539,9 @@ const de_ListImageScanFindingsCommandError = async (output, context) => {
|
|
|
3768
3539
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3769
3540
|
default:
|
|
3770
3541
|
const parsedBody = parsedOutput.body;
|
|
3771
|
-
throwDefaultError({
|
|
3542
|
+
return throwDefaultError({
|
|
3772
3543
|
output,
|
|
3773
3544
|
parsedBody,
|
|
3774
|
-
exceptionCtor: __BaseException,
|
|
3775
3545
|
errorCode,
|
|
3776
3546
|
});
|
|
3777
3547
|
}
|
|
@@ -3784,15 +3554,12 @@ export const de_ListInfrastructureConfigurationsCommand = async (output, context
|
|
|
3784
3554
|
$metadata: deserializeMetadata(output),
|
|
3785
3555
|
});
|
|
3786
3556
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
if (data.requestId != null) {
|
|
3794
|
-
contents.requestId = __expectString(data.requestId);
|
|
3795
|
-
}
|
|
3557
|
+
const doc = take(data, {
|
|
3558
|
+
infrastructureConfigurationSummaryList: _json,
|
|
3559
|
+
nextToken: __expectString,
|
|
3560
|
+
requestId: __expectString,
|
|
3561
|
+
});
|
|
3562
|
+
Object.assign(contents, doc);
|
|
3796
3563
|
return contents;
|
|
3797
3564
|
};
|
|
3798
3565
|
const de_ListInfrastructureConfigurationsCommandError = async (output, context) => {
|
|
@@ -3825,10 +3592,9 @@ const de_ListInfrastructureConfigurationsCommandError = async (output, context)
|
|
|
3825
3592
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3826
3593
|
default:
|
|
3827
3594
|
const parsedBody = parsedOutput.body;
|
|
3828
|
-
throwDefaultError({
|
|
3595
|
+
return throwDefaultError({
|
|
3829
3596
|
output,
|
|
3830
3597
|
parsedBody,
|
|
3831
|
-
exceptionCtor: __BaseException,
|
|
3832
3598
|
errorCode,
|
|
3833
3599
|
});
|
|
3834
3600
|
}
|
|
@@ -3841,9 +3607,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
3841
3607
|
$metadata: deserializeMetadata(output),
|
|
3842
3608
|
});
|
|
3843
3609
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
}
|
|
3610
|
+
const doc = take(data, {
|
|
3611
|
+
tags: _json,
|
|
3612
|
+
});
|
|
3613
|
+
Object.assign(contents, doc);
|
|
3847
3614
|
return contents;
|
|
3848
3615
|
};
|
|
3849
3616
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -3864,10 +3631,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
3864
3631
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3865
3632
|
default:
|
|
3866
3633
|
const parsedBody = parsedOutput.body;
|
|
3867
|
-
throwDefaultError({
|
|
3634
|
+
return throwDefaultError({
|
|
3868
3635
|
output,
|
|
3869
3636
|
parsedBody,
|
|
3870
|
-
exceptionCtor: __BaseException,
|
|
3871
3637
|
errorCode,
|
|
3872
3638
|
});
|
|
3873
3639
|
}
|
|
@@ -3880,21 +3646,14 @@ export const de_ListWorkflowExecutionsCommand = async (output, context) => {
|
|
|
3880
3646
|
$metadata: deserializeMetadata(output),
|
|
3881
3647
|
});
|
|
3882
3648
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
}
|
|
3892
|
-
if (data.requestId != null) {
|
|
3893
|
-
contents.requestId = __expectString(data.requestId);
|
|
3894
|
-
}
|
|
3895
|
-
if (data.workflowExecutions != null) {
|
|
3896
|
-
contents.workflowExecutions = de_WorkflowExecutionsList(data.workflowExecutions, context);
|
|
3897
|
-
}
|
|
3649
|
+
const doc = take(data, {
|
|
3650
|
+
imageBuildVersionArn: __expectString,
|
|
3651
|
+
message: __expectString,
|
|
3652
|
+
nextToken: __expectString,
|
|
3653
|
+
requestId: __expectString,
|
|
3654
|
+
workflowExecutions: _json,
|
|
3655
|
+
});
|
|
3656
|
+
Object.assign(contents, doc);
|
|
3898
3657
|
return contents;
|
|
3899
3658
|
};
|
|
3900
3659
|
const de_ListWorkflowExecutionsCommandError = async (output, context) => {
|
|
@@ -3927,10 +3686,9 @@ const de_ListWorkflowExecutionsCommandError = async (output, context) => {
|
|
|
3927
3686
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3928
3687
|
default:
|
|
3929
3688
|
const parsedBody = parsedOutput.body;
|
|
3930
|
-
throwDefaultError({
|
|
3689
|
+
return throwDefaultError({
|
|
3931
3690
|
output,
|
|
3932
3691
|
parsedBody,
|
|
3933
|
-
exceptionCtor: __BaseException,
|
|
3934
3692
|
errorCode,
|
|
3935
3693
|
});
|
|
3936
3694
|
}
|
|
@@ -3943,27 +3701,16 @@ export const de_ListWorkflowStepExecutionsCommand = async (output, context) => {
|
|
|
3943
3701
|
$metadata: deserializeMetadata(output),
|
|
3944
3702
|
});
|
|
3945
3703
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
}
|
|
3955
|
-
|
|
3956
|
-
contents.requestId = __expectString(data.requestId);
|
|
3957
|
-
}
|
|
3958
|
-
if (data.steps != null) {
|
|
3959
|
-
contents.steps = de_WorkflowStepExecutionsList(data.steps, context);
|
|
3960
|
-
}
|
|
3961
|
-
if (data.workflowBuildVersionArn != null) {
|
|
3962
|
-
contents.workflowBuildVersionArn = __expectString(data.workflowBuildVersionArn);
|
|
3963
|
-
}
|
|
3964
|
-
if (data.workflowExecutionId != null) {
|
|
3965
|
-
contents.workflowExecutionId = __expectString(data.workflowExecutionId);
|
|
3966
|
-
}
|
|
3704
|
+
const doc = take(data, {
|
|
3705
|
+
imageBuildVersionArn: __expectString,
|
|
3706
|
+
message: __expectString,
|
|
3707
|
+
nextToken: __expectString,
|
|
3708
|
+
requestId: __expectString,
|
|
3709
|
+
steps: _json,
|
|
3710
|
+
workflowBuildVersionArn: __expectString,
|
|
3711
|
+
workflowExecutionId: __expectString,
|
|
3712
|
+
});
|
|
3713
|
+
Object.assign(contents, doc);
|
|
3967
3714
|
return contents;
|
|
3968
3715
|
};
|
|
3969
3716
|
const de_ListWorkflowStepExecutionsCommandError = async (output, context) => {
|
|
@@ -3996,10 +3743,9 @@ const de_ListWorkflowStepExecutionsCommandError = async (output, context) => {
|
|
|
3996
3743
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3997
3744
|
default:
|
|
3998
3745
|
const parsedBody = parsedOutput.body;
|
|
3999
|
-
throwDefaultError({
|
|
3746
|
+
return throwDefaultError({
|
|
4000
3747
|
output,
|
|
4001
3748
|
parsedBody,
|
|
4002
|
-
exceptionCtor: __BaseException,
|
|
4003
3749
|
errorCode,
|
|
4004
3750
|
});
|
|
4005
3751
|
}
|
|
@@ -4012,12 +3758,11 @@ export const de_PutComponentPolicyCommand = async (output, context) => {
|
|
|
4012
3758
|
$metadata: deserializeMetadata(output),
|
|
4013
3759
|
});
|
|
4014
3760
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
}
|
|
3761
|
+
const doc = take(data, {
|
|
3762
|
+
componentArn: __expectString,
|
|
3763
|
+
requestId: __expectString,
|
|
3764
|
+
});
|
|
3765
|
+
Object.assign(contents, doc);
|
|
4021
3766
|
return contents;
|
|
4022
3767
|
};
|
|
4023
3768
|
const de_PutComponentPolicyCommandError = async (output, context) => {
|
|
@@ -4053,10 +3798,9 @@ const de_PutComponentPolicyCommandError = async (output, context) => {
|
|
|
4053
3798
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4054
3799
|
default:
|
|
4055
3800
|
const parsedBody = parsedOutput.body;
|
|
4056
|
-
throwDefaultError({
|
|
3801
|
+
return throwDefaultError({
|
|
4057
3802
|
output,
|
|
4058
3803
|
parsedBody,
|
|
4059
|
-
exceptionCtor: __BaseException,
|
|
4060
3804
|
errorCode,
|
|
4061
3805
|
});
|
|
4062
3806
|
}
|
|
@@ -4069,12 +3813,11 @@ export const de_PutContainerRecipePolicyCommand = async (output, context) => {
|
|
|
4069
3813
|
$metadata: deserializeMetadata(output),
|
|
4070
3814
|
});
|
|
4071
3815
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
}
|
|
3816
|
+
const doc = take(data, {
|
|
3817
|
+
containerRecipeArn: __expectString,
|
|
3818
|
+
requestId: __expectString,
|
|
3819
|
+
});
|
|
3820
|
+
Object.assign(contents, doc);
|
|
4078
3821
|
return contents;
|
|
4079
3822
|
};
|
|
4080
3823
|
const de_PutContainerRecipePolicyCommandError = async (output, context) => {
|
|
@@ -4110,10 +3853,9 @@ const de_PutContainerRecipePolicyCommandError = async (output, context) => {
|
|
|
4110
3853
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4111
3854
|
default:
|
|
4112
3855
|
const parsedBody = parsedOutput.body;
|
|
4113
|
-
throwDefaultError({
|
|
3856
|
+
return throwDefaultError({
|
|
4114
3857
|
output,
|
|
4115
3858
|
parsedBody,
|
|
4116
|
-
exceptionCtor: __BaseException,
|
|
4117
3859
|
errorCode,
|
|
4118
3860
|
});
|
|
4119
3861
|
}
|
|
@@ -4126,12 +3868,11 @@ export const de_PutImagePolicyCommand = async (output, context) => {
|
|
|
4126
3868
|
$metadata: deserializeMetadata(output),
|
|
4127
3869
|
});
|
|
4128
3870
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
}
|
|
3871
|
+
const doc = take(data, {
|
|
3872
|
+
imageArn: __expectString,
|
|
3873
|
+
requestId: __expectString,
|
|
3874
|
+
});
|
|
3875
|
+
Object.assign(contents, doc);
|
|
4135
3876
|
return contents;
|
|
4136
3877
|
};
|
|
4137
3878
|
const de_PutImagePolicyCommandError = async (output, context) => {
|
|
@@ -4167,10 +3908,9 @@ const de_PutImagePolicyCommandError = async (output, context) => {
|
|
|
4167
3908
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4168
3909
|
default:
|
|
4169
3910
|
const parsedBody = parsedOutput.body;
|
|
4170
|
-
throwDefaultError({
|
|
3911
|
+
return throwDefaultError({
|
|
4171
3912
|
output,
|
|
4172
3913
|
parsedBody,
|
|
4173
|
-
exceptionCtor: __BaseException,
|
|
4174
3914
|
errorCode,
|
|
4175
3915
|
});
|
|
4176
3916
|
}
|
|
@@ -4183,12 +3923,11 @@ export const de_PutImageRecipePolicyCommand = async (output, context) => {
|
|
|
4183
3923
|
$metadata: deserializeMetadata(output),
|
|
4184
3924
|
});
|
|
4185
3925
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
}
|
|
3926
|
+
const doc = take(data, {
|
|
3927
|
+
imageRecipeArn: __expectString,
|
|
3928
|
+
requestId: __expectString,
|
|
3929
|
+
});
|
|
3930
|
+
Object.assign(contents, doc);
|
|
4192
3931
|
return contents;
|
|
4193
3932
|
};
|
|
4194
3933
|
const de_PutImageRecipePolicyCommandError = async (output, context) => {
|
|
@@ -4224,10 +3963,9 @@ const de_PutImageRecipePolicyCommandError = async (output, context) => {
|
|
|
4224
3963
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4225
3964
|
default:
|
|
4226
3965
|
const parsedBody = parsedOutput.body;
|
|
4227
|
-
throwDefaultError({
|
|
3966
|
+
return throwDefaultError({
|
|
4228
3967
|
output,
|
|
4229
3968
|
parsedBody,
|
|
4230
|
-
exceptionCtor: __BaseException,
|
|
4231
3969
|
errorCode,
|
|
4232
3970
|
});
|
|
4233
3971
|
}
|
|
@@ -4240,15 +3978,12 @@ export const de_StartImagePipelineExecutionCommand = async (output, context) =>
|
|
|
4240
3978
|
$metadata: deserializeMetadata(output),
|
|
4241
3979
|
});
|
|
4242
3980
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
if (data.requestId != null) {
|
|
4250
|
-
contents.requestId = __expectString(data.requestId);
|
|
4251
|
-
}
|
|
3981
|
+
const doc = take(data, {
|
|
3982
|
+
clientToken: __expectString,
|
|
3983
|
+
imageBuildVersionArn: __expectString,
|
|
3984
|
+
requestId: __expectString,
|
|
3985
|
+
});
|
|
3986
|
+
Object.assign(contents, doc);
|
|
4252
3987
|
return contents;
|
|
4253
3988
|
};
|
|
4254
3989
|
const de_StartImagePipelineExecutionCommandError = async (output, context) => {
|
|
@@ -4287,10 +4022,9 @@ const de_StartImagePipelineExecutionCommandError = async (output, context) => {
|
|
|
4287
4022
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4288
4023
|
default:
|
|
4289
4024
|
const parsedBody = parsedOutput.body;
|
|
4290
|
-
throwDefaultError({
|
|
4025
|
+
return throwDefaultError({
|
|
4291
4026
|
output,
|
|
4292
4027
|
parsedBody,
|
|
4293
|
-
exceptionCtor: __BaseException,
|
|
4294
4028
|
errorCode,
|
|
4295
4029
|
});
|
|
4296
4030
|
}
|
|
@@ -4323,10 +4057,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
4323
4057
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
4324
4058
|
default:
|
|
4325
4059
|
const parsedBody = parsedOutput.body;
|
|
4326
|
-
throwDefaultError({
|
|
4060
|
+
return throwDefaultError({
|
|
4327
4061
|
output,
|
|
4328
4062
|
parsedBody,
|
|
4329
|
-
exceptionCtor: __BaseException,
|
|
4330
4063
|
errorCode,
|
|
4331
4064
|
});
|
|
4332
4065
|
}
|
|
@@ -4359,10 +4092,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
4359
4092
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
4360
4093
|
default:
|
|
4361
4094
|
const parsedBody = parsedOutput.body;
|
|
4362
|
-
throwDefaultError({
|
|
4095
|
+
return throwDefaultError({
|
|
4363
4096
|
output,
|
|
4364
4097
|
parsedBody,
|
|
4365
|
-
exceptionCtor: __BaseException,
|
|
4366
4098
|
errorCode,
|
|
4367
4099
|
});
|
|
4368
4100
|
}
|
|
@@ -4375,15 +4107,12 @@ export const de_UpdateDistributionConfigurationCommand = async (output, context)
|
|
|
4375
4107
|
$metadata: deserializeMetadata(output),
|
|
4376
4108
|
});
|
|
4377
4109
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
if (data.requestId != null) {
|
|
4385
|
-
contents.requestId = __expectString(data.requestId);
|
|
4386
|
-
}
|
|
4110
|
+
const doc = take(data, {
|
|
4111
|
+
clientToken: __expectString,
|
|
4112
|
+
distributionConfigurationArn: __expectString,
|
|
4113
|
+
requestId: __expectString,
|
|
4114
|
+
});
|
|
4115
|
+
Object.assign(contents, doc);
|
|
4387
4116
|
return contents;
|
|
4388
4117
|
};
|
|
4389
4118
|
const de_UpdateDistributionConfigurationCommandError = async (output, context) => {
|
|
@@ -4422,10 +4151,9 @@ const de_UpdateDistributionConfigurationCommandError = async (output, context) =
|
|
|
4422
4151
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4423
4152
|
default:
|
|
4424
4153
|
const parsedBody = parsedOutput.body;
|
|
4425
|
-
throwDefaultError({
|
|
4154
|
+
return throwDefaultError({
|
|
4426
4155
|
output,
|
|
4427
4156
|
parsedBody,
|
|
4428
|
-
exceptionCtor: __BaseException,
|
|
4429
4157
|
errorCode,
|
|
4430
4158
|
});
|
|
4431
4159
|
}
|
|
@@ -4438,15 +4166,12 @@ export const de_UpdateImagePipelineCommand = async (output, context) => {
|
|
|
4438
4166
|
$metadata: deserializeMetadata(output),
|
|
4439
4167
|
});
|
|
4440
4168
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
if (data.requestId != null) {
|
|
4448
|
-
contents.requestId = __expectString(data.requestId);
|
|
4449
|
-
}
|
|
4169
|
+
const doc = take(data, {
|
|
4170
|
+
clientToken: __expectString,
|
|
4171
|
+
imagePipelineArn: __expectString,
|
|
4172
|
+
requestId: __expectString,
|
|
4173
|
+
});
|
|
4174
|
+
Object.assign(contents, doc);
|
|
4450
4175
|
return contents;
|
|
4451
4176
|
};
|
|
4452
4177
|
const de_UpdateImagePipelineCommandError = async (output, context) => {
|
|
@@ -4482,10 +4207,9 @@ const de_UpdateImagePipelineCommandError = async (output, context) => {
|
|
|
4482
4207
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4483
4208
|
default:
|
|
4484
4209
|
const parsedBody = parsedOutput.body;
|
|
4485
|
-
throwDefaultError({
|
|
4210
|
+
return throwDefaultError({
|
|
4486
4211
|
output,
|
|
4487
4212
|
parsedBody,
|
|
4488
|
-
exceptionCtor: __BaseException,
|
|
4489
4213
|
errorCode,
|
|
4490
4214
|
});
|
|
4491
4215
|
}
|
|
@@ -4498,15 +4222,12 @@ export const de_UpdateInfrastructureConfigurationCommand = async (output, contex
|
|
|
4498
4222
|
$metadata: deserializeMetadata(output),
|
|
4499
4223
|
});
|
|
4500
4224
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
if (data.requestId != null) {
|
|
4508
|
-
contents.requestId = __expectString(data.requestId);
|
|
4509
|
-
}
|
|
4225
|
+
const doc = take(data, {
|
|
4226
|
+
clientToken: __expectString,
|
|
4227
|
+
infrastructureConfigurationArn: __expectString,
|
|
4228
|
+
requestId: __expectString,
|
|
4229
|
+
});
|
|
4230
|
+
Object.assign(contents, doc);
|
|
4510
4231
|
return contents;
|
|
4511
4232
|
};
|
|
4512
4233
|
const de_UpdateInfrastructureConfigurationCommandError = async (output, context) => {
|
|
@@ -4542,21 +4263,21 @@ const de_UpdateInfrastructureConfigurationCommandError = async (output, context)
|
|
|
4542
4263
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
4543
4264
|
default:
|
|
4544
4265
|
const parsedBody = parsedOutput.body;
|
|
4545
|
-
throwDefaultError({
|
|
4266
|
+
return throwDefaultError({
|
|
4546
4267
|
output,
|
|
4547
4268
|
parsedBody,
|
|
4548
|
-
exceptionCtor: __BaseException,
|
|
4549
4269
|
errorCode,
|
|
4550
4270
|
});
|
|
4551
4271
|
}
|
|
4552
4272
|
};
|
|
4553
|
-
const
|
|
4273
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
4554
4274
|
const de_CallRateLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4555
4275
|
const contents = map({});
|
|
4556
4276
|
const data = parsedOutput.body;
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
}
|
|
4277
|
+
const doc = take(data, {
|
|
4278
|
+
message: __expectString,
|
|
4279
|
+
});
|
|
4280
|
+
Object.assign(contents, doc);
|
|
4560
4281
|
const exception = new CallRateLimitExceededException({
|
|
4561
4282
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4562
4283
|
...contents,
|
|
@@ -4566,9 +4287,10 @@ const de_CallRateLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4566
4287
|
const de_ClientExceptionRes = async (parsedOutput, context) => {
|
|
4567
4288
|
const contents = map({});
|
|
4568
4289
|
const data = parsedOutput.body;
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
}
|
|
4290
|
+
const doc = take(data, {
|
|
4291
|
+
message: __expectString,
|
|
4292
|
+
});
|
|
4293
|
+
Object.assign(contents, doc);
|
|
4572
4294
|
const exception = new ClientException({
|
|
4573
4295
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4574
4296
|
...contents,
|
|
@@ -4578,9 +4300,10 @@ const de_ClientExceptionRes = async (parsedOutput, context) => {
|
|
|
4578
4300
|
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
4579
4301
|
const contents = map({});
|
|
4580
4302
|
const data = parsedOutput.body;
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
}
|
|
4303
|
+
const doc = take(data, {
|
|
4304
|
+
message: __expectString,
|
|
4305
|
+
});
|
|
4306
|
+
Object.assign(contents, doc);
|
|
4584
4307
|
const exception = new ForbiddenException({
|
|
4585
4308
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4586
4309
|
...contents,
|
|
@@ -4590,9 +4313,10 @@ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
|
4590
4313
|
const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
|
|
4591
4314
|
const contents = map({});
|
|
4592
4315
|
const data = parsedOutput.body;
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
}
|
|
4316
|
+
const doc = take(data, {
|
|
4317
|
+
message: __expectString,
|
|
4318
|
+
});
|
|
4319
|
+
Object.assign(contents, doc);
|
|
4596
4320
|
const exception = new IdempotentParameterMismatchException({
|
|
4597
4321
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4598
4322
|
...contents,
|
|
@@ -4602,9 +4326,10 @@ const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context)
|
|
|
4602
4326
|
const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
4603
4327
|
const contents = map({});
|
|
4604
4328
|
const data = parsedOutput.body;
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
}
|
|
4329
|
+
const doc = take(data, {
|
|
4330
|
+
message: __expectString,
|
|
4331
|
+
});
|
|
4332
|
+
Object.assign(contents, doc);
|
|
4608
4333
|
const exception = new InvalidPaginationTokenException({
|
|
4609
4334
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4610
4335
|
...contents,
|
|
@@ -4614,9 +4339,10 @@ const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
4614
4339
|
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
4615
4340
|
const contents = map({});
|
|
4616
4341
|
const data = parsedOutput.body;
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
}
|
|
4342
|
+
const doc = take(data, {
|
|
4343
|
+
message: __expectString,
|
|
4344
|
+
});
|
|
4345
|
+
Object.assign(contents, doc);
|
|
4620
4346
|
const exception = new InvalidParameterCombinationException({
|
|
4621
4347
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4622
4348
|
...contents,
|
|
@@ -4626,9 +4352,10 @@ const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context)
|
|
|
4626
4352
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
4627
4353
|
const contents = map({});
|
|
4628
4354
|
const data = parsedOutput.body;
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
}
|
|
4355
|
+
const doc = take(data, {
|
|
4356
|
+
message: __expectString,
|
|
4357
|
+
});
|
|
4358
|
+
Object.assign(contents, doc);
|
|
4632
4359
|
const exception = new InvalidParameterException({
|
|
4633
4360
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4634
4361
|
...contents,
|
|
@@ -4638,9 +4365,10 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
4638
4365
|
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
4639
4366
|
const contents = map({});
|
|
4640
4367
|
const data = parsedOutput.body;
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
}
|
|
4368
|
+
const doc = take(data, {
|
|
4369
|
+
message: __expectString,
|
|
4370
|
+
});
|
|
4371
|
+
Object.assign(contents, doc);
|
|
4644
4372
|
const exception = new InvalidParameterValueException({
|
|
4645
4373
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4646
4374
|
...contents,
|
|
@@ -4650,9 +4378,10 @@ const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
|
4650
4378
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
4651
4379
|
const contents = map({});
|
|
4652
4380
|
const data = parsedOutput.body;
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
}
|
|
4381
|
+
const doc = take(data, {
|
|
4382
|
+
message: __expectString,
|
|
4383
|
+
});
|
|
4384
|
+
Object.assign(contents, doc);
|
|
4656
4385
|
const exception = new InvalidRequestException({
|
|
4657
4386
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4658
4387
|
...contents,
|
|
@@ -4662,9 +4391,10 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
4662
4391
|
const de_InvalidVersionNumberExceptionRes = async (parsedOutput, context) => {
|
|
4663
4392
|
const contents = map({});
|
|
4664
4393
|
const data = parsedOutput.body;
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
}
|
|
4394
|
+
const doc = take(data, {
|
|
4395
|
+
message: __expectString,
|
|
4396
|
+
});
|
|
4397
|
+
Object.assign(contents, doc);
|
|
4668
4398
|
const exception = new InvalidVersionNumberException({
|
|
4669
4399
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4670
4400
|
...contents,
|
|
@@ -4674,9 +4404,10 @@ const de_InvalidVersionNumberExceptionRes = async (parsedOutput, context) => {
|
|
|
4674
4404
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
4675
4405
|
const contents = map({});
|
|
4676
4406
|
const data = parsedOutput.body;
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
}
|
|
4407
|
+
const doc = take(data, {
|
|
4408
|
+
message: __expectString,
|
|
4409
|
+
});
|
|
4410
|
+
Object.assign(contents, doc);
|
|
4680
4411
|
const exception = new ResourceAlreadyExistsException({
|
|
4681
4412
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4682
4413
|
...contents,
|
|
@@ -4686,9 +4417,10 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
4686
4417
|
const de_ResourceDependencyExceptionRes = async (parsedOutput, context) => {
|
|
4687
4418
|
const contents = map({});
|
|
4688
4419
|
const data = parsedOutput.body;
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
}
|
|
4420
|
+
const doc = take(data, {
|
|
4421
|
+
message: __expectString,
|
|
4422
|
+
});
|
|
4423
|
+
Object.assign(contents, doc);
|
|
4692
4424
|
const exception = new ResourceDependencyException({
|
|
4693
4425
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4694
4426
|
...contents,
|
|
@@ -4698,9 +4430,10 @@ const de_ResourceDependencyExceptionRes = async (parsedOutput, context) => {
|
|
|
4698
4430
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
4699
4431
|
const contents = map({});
|
|
4700
4432
|
const data = parsedOutput.body;
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
}
|
|
4433
|
+
const doc = take(data, {
|
|
4434
|
+
message: __expectString,
|
|
4435
|
+
});
|
|
4436
|
+
Object.assign(contents, doc);
|
|
4704
4437
|
const exception = new ResourceInUseException({
|
|
4705
4438
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4706
4439
|
...contents,
|
|
@@ -4710,9 +4443,10 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
4710
4443
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
4711
4444
|
const contents = map({});
|
|
4712
4445
|
const data = parsedOutput.body;
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
}
|
|
4446
|
+
const doc = take(data, {
|
|
4447
|
+
message: __expectString,
|
|
4448
|
+
});
|
|
4449
|
+
Object.assign(contents, doc);
|
|
4716
4450
|
const exception = new ResourceNotFoundException({
|
|
4717
4451
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4718
4452
|
...contents,
|
|
@@ -4722,9 +4456,10 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
4722
4456
|
const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
4723
4457
|
const contents = map({});
|
|
4724
4458
|
const data = parsedOutput.body;
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
}
|
|
4459
|
+
const doc = take(data, {
|
|
4460
|
+
message: __expectString,
|
|
4461
|
+
});
|
|
4462
|
+
Object.assign(contents, doc);
|
|
4728
4463
|
const exception = new ServiceException({
|
|
4729
4464
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4730
4465
|
...contents,
|
|
@@ -4734,9 +4469,10 @@ const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
|
4734
4469
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
4735
4470
|
const contents = map({});
|
|
4736
4471
|
const data = parsedOutput.body;
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
}
|
|
4472
|
+
const doc = take(data, {
|
|
4473
|
+
message: __expectString,
|
|
4474
|
+
});
|
|
4475
|
+
Object.assign(contents, doc);
|
|
4740
4476
|
const exception = new ServiceQuotaExceededException({
|
|
4741
4477
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4742
4478
|
...contents,
|
|
@@ -4746,1497 +4482,86 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4746
4482
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
4747
4483
|
const contents = map({});
|
|
4748
4484
|
const data = parsedOutput.body;
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
}
|
|
4485
|
+
const doc = take(data, {
|
|
4486
|
+
message: __expectString,
|
|
4487
|
+
});
|
|
4488
|
+
Object.assign(contents, doc);
|
|
4752
4489
|
const exception = new ServiceUnavailableException({
|
|
4753
4490
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4754
4491
|
...contents,
|
|
4755
4492
|
});
|
|
4756
4493
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
4757
4494
|
};
|
|
4758
|
-
const
|
|
4759
|
-
return
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
};
|
|
4765
|
-
const se_AdditionalInstanceConfiguration = (input, context) => {
|
|
4766
|
-
return {
|
|
4767
|
-
...(input.systemsManagerAgent != null && {
|
|
4768
|
-
systemsManagerAgent: se_SystemsManagerAgent(input.systemsManagerAgent, context),
|
|
4769
|
-
}),
|
|
4770
|
-
...(input.userDataOverride != null && { userDataOverride: input.userDataOverride }),
|
|
4771
|
-
};
|
|
4772
|
-
};
|
|
4773
|
-
const se_AmiDistributionConfiguration = (input, context) => {
|
|
4774
|
-
return {
|
|
4775
|
-
...(input.amiTags != null && { amiTags: se_TagMap(input.amiTags, context) }),
|
|
4776
|
-
...(input.description != null && { description: input.description }),
|
|
4777
|
-
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
4778
|
-
...(input.launchPermission != null && {
|
|
4779
|
-
launchPermission: se_LaunchPermissionConfiguration(input.launchPermission, context),
|
|
4780
|
-
}),
|
|
4781
|
-
...(input.name != null && { name: input.name }),
|
|
4782
|
-
...(input.targetAccountIds != null && { targetAccountIds: se_AccountList(input.targetAccountIds, context) }),
|
|
4783
|
-
};
|
|
4784
|
-
};
|
|
4785
|
-
const se_ComponentConfiguration = (input, context) => {
|
|
4786
|
-
return {
|
|
4787
|
-
...(input.componentArn != null && { componentArn: input.componentArn }),
|
|
4788
|
-
...(input.parameters != null && { parameters: se_ComponentParameterList(input.parameters, context) }),
|
|
4789
|
-
};
|
|
4790
|
-
};
|
|
4791
|
-
const se_ComponentConfigurationList = (input, context) => {
|
|
4792
|
-
return input
|
|
4793
|
-
.filter((e) => e != null)
|
|
4794
|
-
.map((entry) => {
|
|
4795
|
-
return se_ComponentConfiguration(entry, context);
|
|
4796
|
-
});
|
|
4797
|
-
};
|
|
4798
|
-
const se_ComponentParameter = (input, context) => {
|
|
4799
|
-
return {
|
|
4800
|
-
...(input.name != null && { name: input.name }),
|
|
4801
|
-
...(input.value != null && { value: se_ComponentParameterValueList(input.value, context) }),
|
|
4802
|
-
};
|
|
4803
|
-
};
|
|
4804
|
-
const se_ComponentParameterList = (input, context) => {
|
|
4805
|
-
return input
|
|
4806
|
-
.filter((e) => e != null)
|
|
4807
|
-
.map((entry) => {
|
|
4808
|
-
return se_ComponentParameter(entry, context);
|
|
4809
|
-
});
|
|
4810
|
-
};
|
|
4811
|
-
const se_ComponentParameterValueList = (input, context) => {
|
|
4812
|
-
return input
|
|
4813
|
-
.filter((e) => e != null)
|
|
4814
|
-
.map((entry) => {
|
|
4815
|
-
return entry;
|
|
4816
|
-
});
|
|
4817
|
-
};
|
|
4818
|
-
const se_ContainerDistributionConfiguration = (input, context) => {
|
|
4819
|
-
return {
|
|
4820
|
-
...(input.containerTags != null && { containerTags: se_StringList(input.containerTags, context) }),
|
|
4821
|
-
...(input.description != null && { description: input.description }),
|
|
4822
|
-
...(input.targetRepository != null && {
|
|
4823
|
-
targetRepository: se_TargetContainerRepository(input.targetRepository, context),
|
|
4824
|
-
}),
|
|
4825
|
-
};
|
|
4826
|
-
};
|
|
4827
|
-
const se_Distribution = (input, context) => {
|
|
4828
|
-
return {
|
|
4829
|
-
...(input.amiDistributionConfiguration != null && {
|
|
4830
|
-
amiDistributionConfiguration: se_AmiDistributionConfiguration(input.amiDistributionConfiguration, context),
|
|
4831
|
-
}),
|
|
4832
|
-
...(input.containerDistributionConfiguration != null && {
|
|
4833
|
-
containerDistributionConfiguration: se_ContainerDistributionConfiguration(input.containerDistributionConfiguration, context),
|
|
4834
|
-
}),
|
|
4835
|
-
...(input.fastLaunchConfigurations != null && {
|
|
4836
|
-
fastLaunchConfigurations: se_FastLaunchConfigurationList(input.fastLaunchConfigurations, context),
|
|
4837
|
-
}),
|
|
4838
|
-
...(input.launchTemplateConfigurations != null && {
|
|
4839
|
-
launchTemplateConfigurations: se_LaunchTemplateConfigurationList(input.launchTemplateConfigurations, context),
|
|
4840
|
-
}),
|
|
4841
|
-
...(input.licenseConfigurationArns != null && {
|
|
4842
|
-
licenseConfigurationArns: se_LicenseConfigurationArnList(input.licenseConfigurationArns, context),
|
|
4843
|
-
}),
|
|
4844
|
-
...(input.region != null && { region: input.region }),
|
|
4845
|
-
...(input.s3ExportConfiguration != null && {
|
|
4846
|
-
s3ExportConfiguration: se_S3ExportConfiguration(input.s3ExportConfiguration, context),
|
|
4847
|
-
}),
|
|
4848
|
-
};
|
|
4849
|
-
};
|
|
4850
|
-
const se_DistributionList = (input, context) => {
|
|
4851
|
-
return input
|
|
4852
|
-
.filter((e) => e != null)
|
|
4853
|
-
.map((entry) => {
|
|
4854
|
-
return se_Distribution(entry, context);
|
|
4855
|
-
});
|
|
4856
|
-
};
|
|
4857
|
-
const se_EbsInstanceBlockDeviceSpecification = (input, context) => {
|
|
4858
|
-
return {
|
|
4859
|
-
...(input.deleteOnTermination != null && { deleteOnTermination: input.deleteOnTermination }),
|
|
4860
|
-
...(input.encrypted != null && { encrypted: input.encrypted }),
|
|
4861
|
-
...(input.iops != null && { iops: input.iops }),
|
|
4862
|
-
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
4863
|
-
...(input.snapshotId != null && { snapshotId: input.snapshotId }),
|
|
4864
|
-
...(input.throughput != null && { throughput: input.throughput }),
|
|
4865
|
-
...(input.volumeSize != null && { volumeSize: input.volumeSize }),
|
|
4866
|
-
...(input.volumeType != null && { volumeType: input.volumeType }),
|
|
4867
|
-
};
|
|
4868
|
-
};
|
|
4869
|
-
const se_EcrConfiguration = (input, context) => {
|
|
4870
|
-
return {
|
|
4871
|
-
...(input.containerTags != null && { containerTags: se_StringList(input.containerTags, context) }),
|
|
4872
|
-
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
4873
|
-
};
|
|
4874
|
-
};
|
|
4875
|
-
const se_FastLaunchConfiguration = (input, context) => {
|
|
4876
|
-
return {
|
|
4877
|
-
...(input.accountId != null && { accountId: input.accountId }),
|
|
4878
|
-
...(input.enabled != null && { enabled: input.enabled }),
|
|
4879
|
-
...(input.launchTemplate != null && {
|
|
4880
|
-
launchTemplate: se_FastLaunchLaunchTemplateSpecification(input.launchTemplate, context),
|
|
4881
|
-
}),
|
|
4882
|
-
...(input.maxParallelLaunches != null && { maxParallelLaunches: input.maxParallelLaunches }),
|
|
4883
|
-
...(input.snapshotConfiguration != null && {
|
|
4884
|
-
snapshotConfiguration: se_FastLaunchSnapshotConfiguration(input.snapshotConfiguration, context),
|
|
4885
|
-
}),
|
|
4886
|
-
};
|
|
4887
|
-
};
|
|
4888
|
-
const se_FastLaunchConfigurationList = (input, context) => {
|
|
4889
|
-
return input
|
|
4890
|
-
.filter((e) => e != null)
|
|
4891
|
-
.map((entry) => {
|
|
4892
|
-
return se_FastLaunchConfiguration(entry, context);
|
|
4893
|
-
});
|
|
4894
|
-
};
|
|
4895
|
-
const se_FastLaunchLaunchTemplateSpecification = (input, context) => {
|
|
4896
|
-
return {
|
|
4897
|
-
...(input.launchTemplateId != null && { launchTemplateId: input.launchTemplateId }),
|
|
4898
|
-
...(input.launchTemplateName != null && { launchTemplateName: input.launchTemplateName }),
|
|
4899
|
-
...(input.launchTemplateVersion != null && { launchTemplateVersion: input.launchTemplateVersion }),
|
|
4900
|
-
};
|
|
4901
|
-
};
|
|
4902
|
-
const se_FastLaunchSnapshotConfiguration = (input, context) => {
|
|
4903
|
-
return {
|
|
4904
|
-
...(input.targetResourceCount != null && { targetResourceCount: input.targetResourceCount }),
|
|
4905
|
-
};
|
|
4906
|
-
};
|
|
4907
|
-
const se_Filter = (input, context) => {
|
|
4908
|
-
return {
|
|
4909
|
-
...(input.name != null && { name: input.name }),
|
|
4910
|
-
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
4911
|
-
};
|
|
4912
|
-
};
|
|
4913
|
-
const se_FilterList = (input, context) => {
|
|
4914
|
-
return input
|
|
4915
|
-
.filter((e) => e != null)
|
|
4916
|
-
.map((entry) => {
|
|
4917
|
-
return se_Filter(entry, context);
|
|
4918
|
-
});
|
|
4919
|
-
};
|
|
4920
|
-
const se_FilterValues = (input, context) => {
|
|
4921
|
-
return input
|
|
4922
|
-
.filter((e) => e != null)
|
|
4923
|
-
.map((entry) => {
|
|
4924
|
-
return entry;
|
|
4925
|
-
});
|
|
4926
|
-
};
|
|
4927
|
-
const se_ImageScanFindingsFilter = (input, context) => {
|
|
4928
|
-
return {
|
|
4929
|
-
...(input.name != null && { name: input.name }),
|
|
4930
|
-
...(input.values != null && { values: se_ImageScanFindingsFilterValues(input.values, context) }),
|
|
4931
|
-
};
|
|
4932
|
-
};
|
|
4933
|
-
const se_ImageScanFindingsFilterList = (input, context) => {
|
|
4934
|
-
return input
|
|
4935
|
-
.filter((e) => e != null)
|
|
4936
|
-
.map((entry) => {
|
|
4937
|
-
return se_ImageScanFindingsFilter(entry, context);
|
|
4938
|
-
});
|
|
4939
|
-
};
|
|
4940
|
-
const se_ImageScanFindingsFilterValues = (input, context) => {
|
|
4941
|
-
return input
|
|
4942
|
-
.filter((e) => e != null)
|
|
4943
|
-
.map((entry) => {
|
|
4944
|
-
return entry;
|
|
4945
|
-
});
|
|
4946
|
-
};
|
|
4947
|
-
const se_ImageScanningConfiguration = (input, context) => {
|
|
4948
|
-
return {
|
|
4949
|
-
...(input.ecrConfiguration != null && { ecrConfiguration: se_EcrConfiguration(input.ecrConfiguration, context) }),
|
|
4950
|
-
...(input.imageScanningEnabled != null && { imageScanningEnabled: input.imageScanningEnabled }),
|
|
4951
|
-
};
|
|
4952
|
-
};
|
|
4953
|
-
const se_ImageTestsConfiguration = (input, context) => {
|
|
4954
|
-
return {
|
|
4955
|
-
...(input.imageTestsEnabled != null && { imageTestsEnabled: input.imageTestsEnabled }),
|
|
4956
|
-
...(input.timeoutMinutes != null && { timeoutMinutes: input.timeoutMinutes }),
|
|
4957
|
-
};
|
|
4958
|
-
};
|
|
4959
|
-
const se_InstanceBlockDeviceMapping = (input, context) => {
|
|
4960
|
-
return {
|
|
4961
|
-
...(input.deviceName != null && { deviceName: input.deviceName }),
|
|
4962
|
-
...(input.ebs != null && { ebs: se_EbsInstanceBlockDeviceSpecification(input.ebs, context) }),
|
|
4963
|
-
...(input.noDevice != null && { noDevice: input.noDevice }),
|
|
4964
|
-
...(input.virtualName != null && { virtualName: input.virtualName }),
|
|
4965
|
-
};
|
|
4966
|
-
};
|
|
4967
|
-
const se_InstanceBlockDeviceMappings = (input, context) => {
|
|
4968
|
-
return input
|
|
4969
|
-
.filter((e) => e != null)
|
|
4970
|
-
.map((entry) => {
|
|
4971
|
-
return se_InstanceBlockDeviceMapping(entry, context);
|
|
4972
|
-
});
|
|
4973
|
-
};
|
|
4974
|
-
const se_InstanceConfiguration = (input, context) => {
|
|
4975
|
-
return {
|
|
4976
|
-
...(input.blockDeviceMappings != null && {
|
|
4977
|
-
blockDeviceMappings: se_InstanceBlockDeviceMappings(input.blockDeviceMappings, context),
|
|
4978
|
-
}),
|
|
4979
|
-
...(input.image != null && { image: input.image }),
|
|
4980
|
-
};
|
|
4981
|
-
};
|
|
4982
|
-
const se_InstanceMetadataOptions = (input, context) => {
|
|
4983
|
-
return {
|
|
4984
|
-
...(input.httpPutResponseHopLimit != null && { httpPutResponseHopLimit: input.httpPutResponseHopLimit }),
|
|
4985
|
-
...(input.httpTokens != null && { httpTokens: input.httpTokens }),
|
|
4986
|
-
};
|
|
4987
|
-
};
|
|
4988
|
-
const se_InstanceTypeList = (input, context) => {
|
|
4989
|
-
return input
|
|
4990
|
-
.filter((e) => e != null)
|
|
4991
|
-
.map((entry) => {
|
|
4992
|
-
return entry;
|
|
4993
|
-
});
|
|
4994
|
-
};
|
|
4995
|
-
const se_LaunchPermissionConfiguration = (input, context) => {
|
|
4996
|
-
return {
|
|
4997
|
-
...(input.organizationArns != null && {
|
|
4998
|
-
organizationArns: se_OrganizationArnList(input.organizationArns, context),
|
|
4999
|
-
}),
|
|
5000
|
-
...(input.organizationalUnitArns != null && {
|
|
5001
|
-
organizationalUnitArns: se_OrganizationalUnitArnList(input.organizationalUnitArns, context),
|
|
5002
|
-
}),
|
|
5003
|
-
...(input.userGroups != null && { userGroups: se_StringList(input.userGroups, context) }),
|
|
5004
|
-
...(input.userIds != null && { userIds: se_AccountList(input.userIds, context) }),
|
|
5005
|
-
};
|
|
5006
|
-
};
|
|
5007
|
-
const se_LaunchTemplateConfiguration = (input, context) => {
|
|
5008
|
-
return {
|
|
5009
|
-
...(input.accountId != null && { accountId: input.accountId }),
|
|
5010
|
-
...(input.launchTemplateId != null && { launchTemplateId: input.launchTemplateId }),
|
|
5011
|
-
...(input.setDefaultVersion != null && { setDefaultVersion: input.setDefaultVersion }),
|
|
5012
|
-
};
|
|
5013
|
-
};
|
|
5014
|
-
const se_LaunchTemplateConfigurationList = (input, context) => {
|
|
5015
|
-
return input
|
|
5016
|
-
.filter((e) => e != null)
|
|
5017
|
-
.map((entry) => {
|
|
5018
|
-
return se_LaunchTemplateConfiguration(entry, context);
|
|
5019
|
-
});
|
|
5020
|
-
};
|
|
5021
|
-
const se_LicenseConfigurationArnList = (input, context) => {
|
|
5022
|
-
return input
|
|
5023
|
-
.filter((e) => e != null)
|
|
5024
|
-
.map((entry) => {
|
|
5025
|
-
return entry;
|
|
5026
|
-
});
|
|
5027
|
-
};
|
|
5028
|
-
const se_Logging = (input, context) => {
|
|
5029
|
-
return {
|
|
5030
|
-
...(input.s3Logs != null && { s3Logs: se_S3Logs(input.s3Logs, context) }),
|
|
5031
|
-
};
|
|
5032
|
-
};
|
|
5033
|
-
const se_OrganizationalUnitArnList = (input, context) => {
|
|
5034
|
-
return input
|
|
5035
|
-
.filter((e) => e != null)
|
|
5036
|
-
.map((entry) => {
|
|
5037
|
-
return entry;
|
|
5038
|
-
});
|
|
5039
|
-
};
|
|
5040
|
-
const se_OrganizationArnList = (input, context) => {
|
|
5041
|
-
return input
|
|
5042
|
-
.filter((e) => e != null)
|
|
5043
|
-
.map((entry) => {
|
|
5044
|
-
return entry;
|
|
5045
|
-
});
|
|
5046
|
-
};
|
|
5047
|
-
const se_OsVersionList = (input, context) => {
|
|
5048
|
-
return input
|
|
5049
|
-
.filter((e) => e != null)
|
|
5050
|
-
.map((entry) => {
|
|
5051
|
-
return entry;
|
|
5052
|
-
});
|
|
5053
|
-
};
|
|
5054
|
-
const se_ResourceTagMap = (input, context) => {
|
|
5055
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
5056
|
-
if (value === null) {
|
|
5057
|
-
return acc;
|
|
5058
|
-
}
|
|
5059
|
-
acc[key] = value;
|
|
5060
|
-
return acc;
|
|
5061
|
-
}, {});
|
|
5062
|
-
};
|
|
5063
|
-
const se_S3ExportConfiguration = (input, context) => {
|
|
5064
|
-
return {
|
|
5065
|
-
...(input.diskImageFormat != null && { diskImageFormat: input.diskImageFormat }),
|
|
5066
|
-
...(input.roleName != null && { roleName: input.roleName }),
|
|
5067
|
-
...(input.s3Bucket != null && { s3Bucket: input.s3Bucket }),
|
|
5068
|
-
...(input.s3Prefix != null && { s3Prefix: input.s3Prefix }),
|
|
5069
|
-
};
|
|
5070
|
-
};
|
|
5071
|
-
const se_S3Logs = (input, context) => {
|
|
5072
|
-
return {
|
|
5073
|
-
...(input.s3BucketName != null && { s3BucketName: input.s3BucketName }),
|
|
5074
|
-
...(input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix }),
|
|
5075
|
-
};
|
|
5076
|
-
};
|
|
5077
|
-
const se_Schedule = (input, context) => {
|
|
5078
|
-
return {
|
|
5079
|
-
...(input.pipelineExecutionStartCondition != null && {
|
|
5080
|
-
pipelineExecutionStartCondition: input.pipelineExecutionStartCondition,
|
|
5081
|
-
}),
|
|
5082
|
-
...(input.scheduleExpression != null && { scheduleExpression: input.scheduleExpression }),
|
|
5083
|
-
...(input.timezone != null && { timezone: input.timezone }),
|
|
5084
|
-
};
|
|
5085
|
-
};
|
|
5086
|
-
const se_SecurityGroupIds = (input, context) => {
|
|
5087
|
-
return input
|
|
5088
|
-
.filter((e) => e != null)
|
|
5089
|
-
.map((entry) => {
|
|
5090
|
-
return entry;
|
|
5091
|
-
});
|
|
5092
|
-
};
|
|
5093
|
-
const se_StringList = (input, context) => {
|
|
5094
|
-
return input
|
|
5095
|
-
.filter((e) => e != null)
|
|
5096
|
-
.map((entry) => {
|
|
5097
|
-
return entry;
|
|
5098
|
-
});
|
|
5099
|
-
};
|
|
5100
|
-
const se_SystemsManagerAgent = (input, context) => {
|
|
5101
|
-
return {
|
|
5102
|
-
...(input.uninstallAfterBuild != null && { uninstallAfterBuild: input.uninstallAfterBuild }),
|
|
5103
|
-
};
|
|
5104
|
-
};
|
|
5105
|
-
const se_TagMap = (input, context) => {
|
|
5106
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
5107
|
-
if (value === null) {
|
|
5108
|
-
return acc;
|
|
5109
|
-
}
|
|
5110
|
-
acc[key] = value;
|
|
5111
|
-
return acc;
|
|
5112
|
-
}, {});
|
|
5113
|
-
};
|
|
5114
|
-
const se_TargetContainerRepository = (input, context) => {
|
|
5115
|
-
return {
|
|
5116
|
-
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
5117
|
-
...(input.service != null && { service: input.service }),
|
|
5118
|
-
};
|
|
5119
|
-
};
|
|
5120
|
-
const de_AccountAggregation = (output, context) => {
|
|
5121
|
-
return {
|
|
5122
|
-
accountId: __expectString(output.accountId),
|
|
5123
|
-
severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
|
|
5124
|
-
};
|
|
5125
|
-
};
|
|
5126
|
-
const de_AccountList = (output, context) => {
|
|
5127
|
-
const retVal = (output || [])
|
|
5128
|
-
.filter((e) => e != null)
|
|
5129
|
-
.map((entry) => {
|
|
5130
|
-
if (entry === null) {
|
|
5131
|
-
return null;
|
|
5132
|
-
}
|
|
5133
|
-
return __expectString(entry);
|
|
5134
|
-
});
|
|
5135
|
-
return retVal;
|
|
5136
|
-
};
|
|
5137
|
-
const de_AdditionalInstanceConfiguration = (output, context) => {
|
|
5138
|
-
return {
|
|
5139
|
-
systemsManagerAgent: output.systemsManagerAgent != null ? de_SystemsManagerAgent(output.systemsManagerAgent, context) : undefined,
|
|
5140
|
-
userDataOverride: __expectString(output.userDataOverride),
|
|
5141
|
-
};
|
|
5142
|
-
};
|
|
5143
|
-
const de_Ami = (output, context) => {
|
|
5144
|
-
return {
|
|
5145
|
-
accountId: __expectString(output.accountId),
|
|
5146
|
-
description: __expectString(output.description),
|
|
5147
|
-
image: __expectString(output.image),
|
|
5148
|
-
name: __expectString(output.name),
|
|
5149
|
-
region: __expectString(output.region),
|
|
5150
|
-
state: output.state != null ? de_ImageState(output.state, context) : undefined,
|
|
5151
|
-
};
|
|
5152
|
-
};
|
|
5153
|
-
const de_AmiDistributionConfiguration = (output, context) => {
|
|
5154
|
-
return {
|
|
5155
|
-
amiTags: output.amiTags != null ? de_TagMap(output.amiTags, context) : undefined,
|
|
5156
|
-
description: __expectString(output.description),
|
|
5157
|
-
kmsKeyId: __expectString(output.kmsKeyId),
|
|
5158
|
-
launchPermission: output.launchPermission != null ? de_LaunchPermissionConfiguration(output.launchPermission, context) : undefined,
|
|
5159
|
-
name: __expectString(output.name),
|
|
5160
|
-
targetAccountIds: output.targetAccountIds != null ? de_AccountList(output.targetAccountIds, context) : undefined,
|
|
5161
|
-
};
|
|
5162
|
-
};
|
|
5163
|
-
const de_AmiList = (output, context) => {
|
|
5164
|
-
const retVal = (output || [])
|
|
5165
|
-
.filter((e) => e != null)
|
|
5166
|
-
.map((entry) => {
|
|
5167
|
-
if (entry === null) {
|
|
5168
|
-
return null;
|
|
5169
|
-
}
|
|
5170
|
-
return de_Ami(entry, context);
|
|
5171
|
-
});
|
|
5172
|
-
return retVal;
|
|
5173
|
-
};
|
|
5174
|
-
const de_Component = (output, context) => {
|
|
5175
|
-
return {
|
|
5176
|
-
arn: __expectString(output.arn),
|
|
5177
|
-
changeDescription: __expectString(output.changeDescription),
|
|
5178
|
-
data: __expectString(output.data),
|
|
5179
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5180
|
-
description: __expectString(output.description),
|
|
5181
|
-
encrypted: __expectBoolean(output.encrypted),
|
|
5182
|
-
kmsKeyId: __expectString(output.kmsKeyId),
|
|
5183
|
-
name: __expectString(output.name),
|
|
5184
|
-
obfuscate: __expectBoolean(output.obfuscate),
|
|
5185
|
-
owner: __expectString(output.owner),
|
|
5186
|
-
parameters: output.parameters != null ? de_ComponentParameterDetailList(output.parameters, context) : undefined,
|
|
5187
|
-
platform: __expectString(output.platform),
|
|
5188
|
-
publisher: __expectString(output.publisher),
|
|
5189
|
-
state: output.state != null ? de_ComponentState(output.state, context) : undefined,
|
|
5190
|
-
supportedOsVersions: output.supportedOsVersions != null ? de_OsVersionList(output.supportedOsVersions, context) : undefined,
|
|
5191
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5192
|
-
type: __expectString(output.type),
|
|
5193
|
-
version: __expectString(output.version),
|
|
5194
|
-
};
|
|
5195
|
-
};
|
|
5196
|
-
const de_ComponentConfiguration = (output, context) => {
|
|
5197
|
-
return {
|
|
5198
|
-
componentArn: __expectString(output.componentArn),
|
|
5199
|
-
parameters: output.parameters != null ? de_ComponentParameterList(output.parameters, context) : undefined,
|
|
5200
|
-
};
|
|
5201
|
-
};
|
|
5202
|
-
const de_ComponentConfigurationList = (output, context) => {
|
|
5203
|
-
const retVal = (output || [])
|
|
5204
|
-
.filter((e) => e != null)
|
|
5205
|
-
.map((entry) => {
|
|
5206
|
-
if (entry === null) {
|
|
5207
|
-
return null;
|
|
5208
|
-
}
|
|
5209
|
-
return de_ComponentConfiguration(entry, context);
|
|
5210
|
-
});
|
|
5211
|
-
return retVal;
|
|
5212
|
-
};
|
|
5213
|
-
const de_ComponentParameter = (output, context) => {
|
|
5214
|
-
return {
|
|
5215
|
-
name: __expectString(output.name),
|
|
5216
|
-
value: output.value != null ? de_ComponentParameterValueList(output.value, context) : undefined,
|
|
5217
|
-
};
|
|
5218
|
-
};
|
|
5219
|
-
const de_ComponentParameterDetail = (output, context) => {
|
|
5220
|
-
return {
|
|
5221
|
-
defaultValue: output.defaultValue != null ? de_ComponentParameterValueList(output.defaultValue, context) : undefined,
|
|
5222
|
-
description: __expectString(output.description),
|
|
5223
|
-
name: __expectString(output.name),
|
|
5224
|
-
type: __expectString(output.type),
|
|
5225
|
-
};
|
|
5226
|
-
};
|
|
5227
|
-
const de_ComponentParameterDetailList = (output, context) => {
|
|
5228
|
-
const retVal = (output || [])
|
|
5229
|
-
.filter((e) => e != null)
|
|
5230
|
-
.map((entry) => {
|
|
5231
|
-
if (entry === null) {
|
|
5232
|
-
return null;
|
|
5233
|
-
}
|
|
5234
|
-
return de_ComponentParameterDetail(entry, context);
|
|
5235
|
-
});
|
|
5236
|
-
return retVal;
|
|
5237
|
-
};
|
|
5238
|
-
const de_ComponentParameterList = (output, context) => {
|
|
5239
|
-
const retVal = (output || [])
|
|
5240
|
-
.filter((e) => e != null)
|
|
5241
|
-
.map((entry) => {
|
|
5242
|
-
if (entry === null) {
|
|
5243
|
-
return null;
|
|
5244
|
-
}
|
|
5245
|
-
return de_ComponentParameter(entry, context);
|
|
4495
|
+
const de_CvssScore = (output, context) => {
|
|
4496
|
+
return take(output, {
|
|
4497
|
+
baseScore: __limitedParseDouble,
|
|
4498
|
+
scoringVector: __expectString,
|
|
4499
|
+
source: __expectString,
|
|
4500
|
+
version: __expectString,
|
|
5246
4501
|
});
|
|
5247
|
-
return retVal;
|
|
5248
4502
|
};
|
|
5249
|
-
const
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
4503
|
+
const de_CvssScoreDetails = (output, context) => {
|
|
4504
|
+
return take(output, {
|
|
4505
|
+
adjustments: _json,
|
|
4506
|
+
cvssSource: __expectString,
|
|
4507
|
+
score: __limitedParseDouble,
|
|
4508
|
+
scoreSource: __expectString,
|
|
4509
|
+
scoringVector: __expectString,
|
|
4510
|
+
version: __expectString,
|
|
5257
4511
|
});
|
|
5258
|
-
return retVal;
|
|
5259
|
-
};
|
|
5260
|
-
const de_ComponentState = (output, context) => {
|
|
5261
|
-
return {
|
|
5262
|
-
reason: __expectString(output.reason),
|
|
5263
|
-
status: __expectString(output.status),
|
|
5264
|
-
};
|
|
5265
|
-
};
|
|
5266
|
-
const de_ComponentSummary = (output, context) => {
|
|
5267
|
-
return {
|
|
5268
|
-
arn: __expectString(output.arn),
|
|
5269
|
-
changeDescription: __expectString(output.changeDescription),
|
|
5270
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5271
|
-
description: __expectString(output.description),
|
|
5272
|
-
name: __expectString(output.name),
|
|
5273
|
-
obfuscate: __expectBoolean(output.obfuscate),
|
|
5274
|
-
owner: __expectString(output.owner),
|
|
5275
|
-
platform: __expectString(output.platform),
|
|
5276
|
-
publisher: __expectString(output.publisher),
|
|
5277
|
-
state: output.state != null ? de_ComponentState(output.state, context) : undefined,
|
|
5278
|
-
supportedOsVersions: output.supportedOsVersions != null ? de_OsVersionList(output.supportedOsVersions, context) : undefined,
|
|
5279
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5280
|
-
type: __expectString(output.type),
|
|
5281
|
-
version: __expectString(output.version),
|
|
5282
|
-
};
|
|
5283
4512
|
};
|
|
5284
|
-
const
|
|
4513
|
+
const de_CvssScoreList = (output, context) => {
|
|
5285
4514
|
const retVal = (output || [])
|
|
5286
4515
|
.filter((e) => e != null)
|
|
5287
4516
|
.map((entry) => {
|
|
5288
|
-
|
|
5289
|
-
return null;
|
|
5290
|
-
}
|
|
5291
|
-
return de_ComponentSummary(entry, context);
|
|
4517
|
+
return de_CvssScore(entry, context);
|
|
5292
4518
|
});
|
|
5293
4519
|
return retVal;
|
|
5294
4520
|
};
|
|
5295
|
-
const
|
|
5296
|
-
return {
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
.map((entry) => {
|
|
5312
|
-
if (entry === null) {
|
|
5313
|
-
return null;
|
|
5314
|
-
}
|
|
5315
|
-
return de_ComponentVersion(entry, context);
|
|
4521
|
+
const de_ImageScanFinding = (output, context) => {
|
|
4522
|
+
return take(output, {
|
|
4523
|
+
awsAccountId: __expectString,
|
|
4524
|
+
description: __expectString,
|
|
4525
|
+
firstObservedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4526
|
+
fixAvailable: __expectString,
|
|
4527
|
+
imageBuildVersionArn: __expectString,
|
|
4528
|
+
imagePipelineArn: __expectString,
|
|
4529
|
+
inspectorScore: __limitedParseDouble,
|
|
4530
|
+
inspectorScoreDetails: (_) => de_InspectorScoreDetails(_, context),
|
|
4531
|
+
packageVulnerabilityDetails: (_) => de_PackageVulnerabilityDetails(_, context),
|
|
4532
|
+
remediation: _json,
|
|
4533
|
+
severity: __expectString,
|
|
4534
|
+
title: __expectString,
|
|
4535
|
+
type: __expectString,
|
|
4536
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5316
4537
|
});
|
|
5317
|
-
return retVal;
|
|
5318
|
-
};
|
|
5319
|
-
const de_Container = (output, context) => {
|
|
5320
|
-
return {
|
|
5321
|
-
imageUris: output.imageUris != null ? de_StringList(output.imageUris, context) : undefined,
|
|
5322
|
-
region: __expectString(output.region),
|
|
5323
|
-
};
|
|
5324
|
-
};
|
|
5325
|
-
const de_ContainerDistributionConfiguration = (output, context) => {
|
|
5326
|
-
return {
|
|
5327
|
-
containerTags: output.containerTags != null ? de_StringList(output.containerTags, context) : undefined,
|
|
5328
|
-
description: __expectString(output.description),
|
|
5329
|
-
targetRepository: output.targetRepository != null ? de_TargetContainerRepository(output.targetRepository, context) : undefined,
|
|
5330
|
-
};
|
|
5331
4538
|
};
|
|
5332
|
-
const
|
|
4539
|
+
const de_ImageScanFindingsList = (output, context) => {
|
|
5333
4540
|
const retVal = (output || [])
|
|
5334
4541
|
.filter((e) => e != null)
|
|
5335
4542
|
.map((entry) => {
|
|
5336
|
-
|
|
5337
|
-
return null;
|
|
5338
|
-
}
|
|
5339
|
-
return de_Container(entry, context);
|
|
4543
|
+
return de_ImageScanFinding(entry, context);
|
|
5340
4544
|
});
|
|
5341
4545
|
return retVal;
|
|
5342
4546
|
};
|
|
5343
|
-
const
|
|
5344
|
-
return {
|
|
5345
|
-
|
|
5346
|
-
components: output.components != null ? de_ComponentConfigurationList(output.components, context) : undefined,
|
|
5347
|
-
containerType: __expectString(output.containerType),
|
|
5348
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5349
|
-
description: __expectString(output.description),
|
|
5350
|
-
dockerfileTemplateData: __expectString(output.dockerfileTemplateData),
|
|
5351
|
-
encrypted: __expectBoolean(output.encrypted),
|
|
5352
|
-
instanceConfiguration: output.instanceConfiguration != null
|
|
5353
|
-
? de_InstanceConfiguration(output.instanceConfiguration, context)
|
|
5354
|
-
: undefined,
|
|
5355
|
-
kmsKeyId: __expectString(output.kmsKeyId),
|
|
5356
|
-
name: __expectString(output.name),
|
|
5357
|
-
owner: __expectString(output.owner),
|
|
5358
|
-
parentImage: __expectString(output.parentImage),
|
|
5359
|
-
platform: __expectString(output.platform),
|
|
5360
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5361
|
-
targetRepository: output.targetRepository != null ? de_TargetContainerRepository(output.targetRepository, context) : undefined,
|
|
5362
|
-
version: __expectString(output.version),
|
|
5363
|
-
workingDirectory: __expectString(output.workingDirectory),
|
|
5364
|
-
};
|
|
5365
|
-
};
|
|
5366
|
-
const de_ContainerRecipeSummary = (output, context) => {
|
|
5367
|
-
return {
|
|
5368
|
-
arn: __expectString(output.arn),
|
|
5369
|
-
containerType: __expectString(output.containerType),
|
|
5370
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5371
|
-
name: __expectString(output.name),
|
|
5372
|
-
owner: __expectString(output.owner),
|
|
5373
|
-
parentImage: __expectString(output.parentImage),
|
|
5374
|
-
platform: __expectString(output.platform),
|
|
5375
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5376
|
-
};
|
|
5377
|
-
};
|
|
5378
|
-
const de_ContainerRecipeSummaryList = (output, context) => {
|
|
5379
|
-
const retVal = (output || [])
|
|
5380
|
-
.filter((e) => e != null)
|
|
5381
|
-
.map((entry) => {
|
|
5382
|
-
if (entry === null) {
|
|
5383
|
-
return null;
|
|
5384
|
-
}
|
|
5385
|
-
return de_ContainerRecipeSummary(entry, context);
|
|
4547
|
+
const de_InspectorScoreDetails = (output, context) => {
|
|
4548
|
+
return take(output, {
|
|
4549
|
+
adjustedCvss: (_) => de_CvssScoreDetails(_, context),
|
|
5386
4550
|
});
|
|
5387
|
-
return retVal;
|
|
5388
|
-
};
|
|
5389
|
-
const de_CvssScore = (output, context) => {
|
|
5390
|
-
return {
|
|
5391
|
-
baseScore: __limitedParseDouble(output.baseScore),
|
|
5392
|
-
scoringVector: __expectString(output.scoringVector),
|
|
5393
|
-
source: __expectString(output.source),
|
|
5394
|
-
version: __expectString(output.version),
|
|
5395
|
-
};
|
|
5396
4551
|
};
|
|
5397
|
-
const
|
|
5398
|
-
return {
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
}
|
|
5410
|
-
return de_CvssScoreAdjustment(entry, context);
|
|
4552
|
+
const de_PackageVulnerabilityDetails = (output, context) => {
|
|
4553
|
+
return take(output, {
|
|
4554
|
+
cvss: (_) => de_CvssScoreList(_, context),
|
|
4555
|
+
referenceUrls: _json,
|
|
4556
|
+
relatedVulnerabilities: _json,
|
|
4557
|
+
source: __expectString,
|
|
4558
|
+
sourceUrl: __expectString,
|
|
4559
|
+
vendorCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4560
|
+
vendorSeverity: __expectString,
|
|
4561
|
+
vendorUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4562
|
+
vulnerabilityId: __expectString,
|
|
4563
|
+
vulnerablePackages: _json,
|
|
5411
4564
|
});
|
|
5412
|
-
return retVal;
|
|
5413
|
-
};
|
|
5414
|
-
const de_CvssScoreDetails = (output, context) => {
|
|
5415
|
-
return {
|
|
5416
|
-
adjustments: output.adjustments != null ? de_CvssScoreAdjustmentList(output.adjustments, context) : undefined,
|
|
5417
|
-
cvssSource: __expectString(output.cvssSource),
|
|
5418
|
-
score: __limitedParseDouble(output.score),
|
|
5419
|
-
scoreSource: __expectString(output.scoreSource),
|
|
5420
|
-
scoringVector: __expectString(output.scoringVector),
|
|
5421
|
-
version: __expectString(output.version),
|
|
5422
|
-
};
|
|
5423
|
-
};
|
|
5424
|
-
const de_CvssScoreList = (output, context) => {
|
|
5425
|
-
const retVal = (output || [])
|
|
5426
|
-
.filter((e) => e != null)
|
|
5427
|
-
.map((entry) => {
|
|
5428
|
-
if (entry === null) {
|
|
5429
|
-
return null;
|
|
5430
|
-
}
|
|
5431
|
-
return de_CvssScore(entry, context);
|
|
5432
|
-
});
|
|
5433
|
-
return retVal;
|
|
5434
|
-
};
|
|
5435
|
-
const de_Distribution = (output, context) => {
|
|
5436
|
-
return {
|
|
5437
|
-
amiDistributionConfiguration: output.amiDistributionConfiguration != null
|
|
5438
|
-
? de_AmiDistributionConfiguration(output.amiDistributionConfiguration, context)
|
|
5439
|
-
: undefined,
|
|
5440
|
-
containerDistributionConfiguration: output.containerDistributionConfiguration != null
|
|
5441
|
-
? de_ContainerDistributionConfiguration(output.containerDistributionConfiguration, context)
|
|
5442
|
-
: undefined,
|
|
5443
|
-
fastLaunchConfigurations: output.fastLaunchConfigurations != null
|
|
5444
|
-
? de_FastLaunchConfigurationList(output.fastLaunchConfigurations, context)
|
|
5445
|
-
: undefined,
|
|
5446
|
-
launchTemplateConfigurations: output.launchTemplateConfigurations != null
|
|
5447
|
-
? de_LaunchTemplateConfigurationList(output.launchTemplateConfigurations, context)
|
|
5448
|
-
: undefined,
|
|
5449
|
-
licenseConfigurationArns: output.licenseConfigurationArns != null
|
|
5450
|
-
? de_LicenseConfigurationArnList(output.licenseConfigurationArns, context)
|
|
5451
|
-
: undefined,
|
|
5452
|
-
region: __expectString(output.region),
|
|
5453
|
-
s3ExportConfiguration: output.s3ExportConfiguration != null
|
|
5454
|
-
? de_S3ExportConfiguration(output.s3ExportConfiguration, context)
|
|
5455
|
-
: undefined,
|
|
5456
|
-
};
|
|
5457
|
-
};
|
|
5458
|
-
const de_DistributionConfiguration = (output, context) => {
|
|
5459
|
-
return {
|
|
5460
|
-
arn: __expectString(output.arn),
|
|
5461
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5462
|
-
dateUpdated: __expectString(output.dateUpdated),
|
|
5463
|
-
description: __expectString(output.description),
|
|
5464
|
-
distributions: output.distributions != null ? de_DistributionList(output.distributions, context) : undefined,
|
|
5465
|
-
name: __expectString(output.name),
|
|
5466
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5467
|
-
timeoutMinutes: __expectInt32(output.timeoutMinutes),
|
|
5468
|
-
};
|
|
5469
|
-
};
|
|
5470
|
-
const de_DistributionConfigurationSummary = (output, context) => {
|
|
5471
|
-
return {
|
|
5472
|
-
arn: __expectString(output.arn),
|
|
5473
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5474
|
-
dateUpdated: __expectString(output.dateUpdated),
|
|
5475
|
-
description: __expectString(output.description),
|
|
5476
|
-
name: __expectString(output.name),
|
|
5477
|
-
regions: output.regions != null ? de_RegionList(output.regions, context) : undefined,
|
|
5478
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5479
|
-
};
|
|
5480
|
-
};
|
|
5481
|
-
const de_DistributionConfigurationSummaryList = (output, context) => {
|
|
5482
|
-
const retVal = (output || [])
|
|
5483
|
-
.filter((e) => e != null)
|
|
5484
|
-
.map((entry) => {
|
|
5485
|
-
if (entry === null) {
|
|
5486
|
-
return null;
|
|
5487
|
-
}
|
|
5488
|
-
return de_DistributionConfigurationSummary(entry, context);
|
|
5489
|
-
});
|
|
5490
|
-
return retVal;
|
|
5491
|
-
};
|
|
5492
|
-
const de_DistributionList = (output, context) => {
|
|
5493
|
-
const retVal = (output || [])
|
|
5494
|
-
.filter((e) => e != null)
|
|
5495
|
-
.map((entry) => {
|
|
5496
|
-
if (entry === null) {
|
|
5497
|
-
return null;
|
|
5498
|
-
}
|
|
5499
|
-
return de_Distribution(entry, context);
|
|
5500
|
-
});
|
|
5501
|
-
return retVal;
|
|
5502
|
-
};
|
|
5503
|
-
const de_EbsInstanceBlockDeviceSpecification = (output, context) => {
|
|
5504
|
-
return {
|
|
5505
|
-
deleteOnTermination: __expectBoolean(output.deleteOnTermination),
|
|
5506
|
-
encrypted: __expectBoolean(output.encrypted),
|
|
5507
|
-
iops: __expectInt32(output.iops),
|
|
5508
|
-
kmsKeyId: __expectString(output.kmsKeyId),
|
|
5509
|
-
snapshotId: __expectString(output.snapshotId),
|
|
5510
|
-
throughput: __expectInt32(output.throughput),
|
|
5511
|
-
volumeSize: __expectInt32(output.volumeSize),
|
|
5512
|
-
volumeType: __expectString(output.volumeType),
|
|
5513
|
-
};
|
|
5514
|
-
};
|
|
5515
|
-
const de_EcrConfiguration = (output, context) => {
|
|
5516
|
-
return {
|
|
5517
|
-
containerTags: output.containerTags != null ? de_StringList(output.containerTags, context) : undefined,
|
|
5518
|
-
repositoryName: __expectString(output.repositoryName),
|
|
5519
|
-
};
|
|
5520
|
-
};
|
|
5521
|
-
const de_FastLaunchConfiguration = (output, context) => {
|
|
5522
|
-
return {
|
|
5523
|
-
accountId: __expectString(output.accountId),
|
|
5524
|
-
enabled: __expectBoolean(output.enabled),
|
|
5525
|
-
launchTemplate: output.launchTemplate != null
|
|
5526
|
-
? de_FastLaunchLaunchTemplateSpecification(output.launchTemplate, context)
|
|
5527
|
-
: undefined,
|
|
5528
|
-
maxParallelLaunches: __expectInt32(output.maxParallelLaunches),
|
|
5529
|
-
snapshotConfiguration: output.snapshotConfiguration != null
|
|
5530
|
-
? de_FastLaunchSnapshotConfiguration(output.snapshotConfiguration, context)
|
|
5531
|
-
: undefined,
|
|
5532
|
-
};
|
|
5533
|
-
};
|
|
5534
|
-
const de_FastLaunchConfigurationList = (output, context) => {
|
|
5535
|
-
const retVal = (output || [])
|
|
5536
|
-
.filter((e) => e != null)
|
|
5537
|
-
.map((entry) => {
|
|
5538
|
-
if (entry === null) {
|
|
5539
|
-
return null;
|
|
5540
|
-
}
|
|
5541
|
-
return de_FastLaunchConfiguration(entry, context);
|
|
5542
|
-
});
|
|
5543
|
-
return retVal;
|
|
5544
|
-
};
|
|
5545
|
-
const de_FastLaunchLaunchTemplateSpecification = (output, context) => {
|
|
5546
|
-
return {
|
|
5547
|
-
launchTemplateId: __expectString(output.launchTemplateId),
|
|
5548
|
-
launchTemplateName: __expectString(output.launchTemplateName),
|
|
5549
|
-
launchTemplateVersion: __expectString(output.launchTemplateVersion),
|
|
5550
|
-
};
|
|
5551
|
-
};
|
|
5552
|
-
const de_FastLaunchSnapshotConfiguration = (output, context) => {
|
|
5553
|
-
return {
|
|
5554
|
-
targetResourceCount: __expectInt32(output.targetResourceCount),
|
|
5555
|
-
};
|
|
5556
|
-
};
|
|
5557
|
-
const de_Image = (output, context) => {
|
|
5558
|
-
return {
|
|
5559
|
-
arn: __expectString(output.arn),
|
|
5560
|
-
buildType: __expectString(output.buildType),
|
|
5561
|
-
containerRecipe: output.containerRecipe != null ? de_ContainerRecipe(output.containerRecipe, context) : undefined,
|
|
5562
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5563
|
-
distributionConfiguration: output.distributionConfiguration != null
|
|
5564
|
-
? de_DistributionConfiguration(output.distributionConfiguration, context)
|
|
5565
|
-
: undefined,
|
|
5566
|
-
enhancedImageMetadataEnabled: __expectBoolean(output.enhancedImageMetadataEnabled),
|
|
5567
|
-
imageRecipe: output.imageRecipe != null ? de_ImageRecipe(output.imageRecipe, context) : undefined,
|
|
5568
|
-
imageScanningConfiguration: output.imageScanningConfiguration != null
|
|
5569
|
-
? de_ImageScanningConfiguration(output.imageScanningConfiguration, context)
|
|
5570
|
-
: undefined,
|
|
5571
|
-
imageSource: __expectString(output.imageSource),
|
|
5572
|
-
imageTestsConfiguration: output.imageTestsConfiguration != null
|
|
5573
|
-
? de_ImageTestsConfiguration(output.imageTestsConfiguration, context)
|
|
5574
|
-
: undefined,
|
|
5575
|
-
infrastructureConfiguration: output.infrastructureConfiguration != null
|
|
5576
|
-
? de_InfrastructureConfiguration(output.infrastructureConfiguration, context)
|
|
5577
|
-
: undefined,
|
|
5578
|
-
name: __expectString(output.name),
|
|
5579
|
-
osVersion: __expectString(output.osVersion),
|
|
5580
|
-
outputResources: output.outputResources != null ? de_OutputResources(output.outputResources, context) : undefined,
|
|
5581
|
-
platform: __expectString(output.platform),
|
|
5582
|
-
scanState: output.scanState != null ? de_ImageScanState(output.scanState, context) : undefined,
|
|
5583
|
-
sourcePipelineArn: __expectString(output.sourcePipelineArn),
|
|
5584
|
-
sourcePipelineName: __expectString(output.sourcePipelineName),
|
|
5585
|
-
state: output.state != null ? de_ImageState(output.state, context) : undefined,
|
|
5586
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5587
|
-
type: __expectString(output.type),
|
|
5588
|
-
version: __expectString(output.version),
|
|
5589
|
-
};
|
|
5590
|
-
};
|
|
5591
|
-
const de_ImageAggregation = (output, context) => {
|
|
5592
|
-
return {
|
|
5593
|
-
imageBuildVersionArn: __expectString(output.imageBuildVersionArn),
|
|
5594
|
-
severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
|
|
5595
|
-
};
|
|
5596
|
-
};
|
|
5597
|
-
const de_ImagePackage = (output, context) => {
|
|
5598
|
-
return {
|
|
5599
|
-
packageName: __expectString(output.packageName),
|
|
5600
|
-
packageVersion: __expectString(output.packageVersion),
|
|
5601
|
-
};
|
|
5602
|
-
};
|
|
5603
|
-
const de_ImagePackageList = (output, context) => {
|
|
5604
|
-
const retVal = (output || [])
|
|
5605
|
-
.filter((e) => e != null)
|
|
5606
|
-
.map((entry) => {
|
|
5607
|
-
if (entry === null) {
|
|
5608
|
-
return null;
|
|
5609
|
-
}
|
|
5610
|
-
return de_ImagePackage(entry, context);
|
|
5611
|
-
});
|
|
5612
|
-
return retVal;
|
|
5613
|
-
};
|
|
5614
|
-
const de_ImagePipeline = (output, context) => {
|
|
5615
|
-
return {
|
|
5616
|
-
arn: __expectString(output.arn),
|
|
5617
|
-
containerRecipeArn: __expectString(output.containerRecipeArn),
|
|
5618
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5619
|
-
dateLastRun: __expectString(output.dateLastRun),
|
|
5620
|
-
dateNextRun: __expectString(output.dateNextRun),
|
|
5621
|
-
dateUpdated: __expectString(output.dateUpdated),
|
|
5622
|
-
description: __expectString(output.description),
|
|
5623
|
-
distributionConfigurationArn: __expectString(output.distributionConfigurationArn),
|
|
5624
|
-
enhancedImageMetadataEnabled: __expectBoolean(output.enhancedImageMetadataEnabled),
|
|
5625
|
-
imageRecipeArn: __expectString(output.imageRecipeArn),
|
|
5626
|
-
imageScanningConfiguration: output.imageScanningConfiguration != null
|
|
5627
|
-
? de_ImageScanningConfiguration(output.imageScanningConfiguration, context)
|
|
5628
|
-
: undefined,
|
|
5629
|
-
imageTestsConfiguration: output.imageTestsConfiguration != null
|
|
5630
|
-
? de_ImageTestsConfiguration(output.imageTestsConfiguration, context)
|
|
5631
|
-
: undefined,
|
|
5632
|
-
infrastructureConfigurationArn: __expectString(output.infrastructureConfigurationArn),
|
|
5633
|
-
name: __expectString(output.name),
|
|
5634
|
-
platform: __expectString(output.platform),
|
|
5635
|
-
schedule: output.schedule != null ? de_Schedule(output.schedule, context) : undefined,
|
|
5636
|
-
status: __expectString(output.status),
|
|
5637
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5638
|
-
};
|
|
5639
|
-
};
|
|
5640
|
-
const de_ImagePipelineAggregation = (output, context) => {
|
|
5641
|
-
return {
|
|
5642
|
-
imagePipelineArn: __expectString(output.imagePipelineArn),
|
|
5643
|
-
severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
|
|
5644
|
-
};
|
|
5645
|
-
};
|
|
5646
|
-
const de_ImagePipelineList = (output, context) => {
|
|
5647
|
-
const retVal = (output || [])
|
|
5648
|
-
.filter((e) => e != null)
|
|
5649
|
-
.map((entry) => {
|
|
5650
|
-
if (entry === null) {
|
|
5651
|
-
return null;
|
|
5652
|
-
}
|
|
5653
|
-
return de_ImagePipeline(entry, context);
|
|
5654
|
-
});
|
|
5655
|
-
return retVal;
|
|
5656
|
-
};
|
|
5657
|
-
const de_ImageRecipe = (output, context) => {
|
|
5658
|
-
return {
|
|
5659
|
-
additionalInstanceConfiguration: output.additionalInstanceConfiguration != null
|
|
5660
|
-
? de_AdditionalInstanceConfiguration(output.additionalInstanceConfiguration, context)
|
|
5661
|
-
: undefined,
|
|
5662
|
-
arn: __expectString(output.arn),
|
|
5663
|
-
blockDeviceMappings: output.blockDeviceMappings != null
|
|
5664
|
-
? de_InstanceBlockDeviceMappings(output.blockDeviceMappings, context)
|
|
5665
|
-
: undefined,
|
|
5666
|
-
components: output.components != null ? de_ComponentConfigurationList(output.components, context) : undefined,
|
|
5667
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5668
|
-
description: __expectString(output.description),
|
|
5669
|
-
name: __expectString(output.name),
|
|
5670
|
-
owner: __expectString(output.owner),
|
|
5671
|
-
parentImage: __expectString(output.parentImage),
|
|
5672
|
-
platform: __expectString(output.platform),
|
|
5673
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5674
|
-
type: __expectString(output.type),
|
|
5675
|
-
version: __expectString(output.version),
|
|
5676
|
-
workingDirectory: __expectString(output.workingDirectory),
|
|
5677
|
-
};
|
|
5678
|
-
};
|
|
5679
|
-
const de_ImageRecipeSummary = (output, context) => {
|
|
5680
|
-
return {
|
|
5681
|
-
arn: __expectString(output.arn),
|
|
5682
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5683
|
-
name: __expectString(output.name),
|
|
5684
|
-
owner: __expectString(output.owner),
|
|
5685
|
-
parentImage: __expectString(output.parentImage),
|
|
5686
|
-
platform: __expectString(output.platform),
|
|
5687
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5688
|
-
};
|
|
5689
|
-
};
|
|
5690
|
-
const de_ImageRecipeSummaryList = (output, context) => {
|
|
5691
|
-
const retVal = (output || [])
|
|
5692
|
-
.filter((e) => e != null)
|
|
5693
|
-
.map((entry) => {
|
|
5694
|
-
if (entry === null) {
|
|
5695
|
-
return null;
|
|
5696
|
-
}
|
|
5697
|
-
return de_ImageRecipeSummary(entry, context);
|
|
5698
|
-
});
|
|
5699
|
-
return retVal;
|
|
5700
|
-
};
|
|
5701
|
-
const de_ImageScanFinding = (output, context) => {
|
|
5702
|
-
return {
|
|
5703
|
-
awsAccountId: __expectString(output.awsAccountId),
|
|
5704
|
-
description: __expectString(output.description),
|
|
5705
|
-
firstObservedAt: output.firstObservedAt != null
|
|
5706
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.firstObservedAt)))
|
|
5707
|
-
: undefined,
|
|
5708
|
-
fixAvailable: __expectString(output.fixAvailable),
|
|
5709
|
-
imageBuildVersionArn: __expectString(output.imageBuildVersionArn),
|
|
5710
|
-
imagePipelineArn: __expectString(output.imagePipelineArn),
|
|
5711
|
-
inspectorScore: __limitedParseDouble(output.inspectorScore),
|
|
5712
|
-
inspectorScoreDetails: output.inspectorScoreDetails != null
|
|
5713
|
-
? de_InspectorScoreDetails(output.inspectorScoreDetails, context)
|
|
5714
|
-
: undefined,
|
|
5715
|
-
packageVulnerabilityDetails: output.packageVulnerabilityDetails != null
|
|
5716
|
-
? de_PackageVulnerabilityDetails(output.packageVulnerabilityDetails, context)
|
|
5717
|
-
: undefined,
|
|
5718
|
-
remediation: output.remediation != null ? de_Remediation(output.remediation, context) : undefined,
|
|
5719
|
-
severity: __expectString(output.severity),
|
|
5720
|
-
title: __expectString(output.title),
|
|
5721
|
-
type: __expectString(output.type),
|
|
5722
|
-
updatedAt: output.updatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt))) : undefined,
|
|
5723
|
-
};
|
|
5724
|
-
};
|
|
5725
|
-
const de_ImageScanFindingAggregation = (output, context) => {
|
|
5726
|
-
return {
|
|
5727
|
-
accountAggregation: output.accountAggregation != null ? de_AccountAggregation(output.accountAggregation, context) : undefined,
|
|
5728
|
-
imageAggregation: output.imageAggregation != null ? de_ImageAggregation(output.imageAggregation, context) : undefined,
|
|
5729
|
-
imagePipelineAggregation: output.imagePipelineAggregation != null
|
|
5730
|
-
? de_ImagePipelineAggregation(output.imagePipelineAggregation, context)
|
|
5731
|
-
: undefined,
|
|
5732
|
-
vulnerabilityIdAggregation: output.vulnerabilityIdAggregation != null
|
|
5733
|
-
? de_VulnerabilityIdAggregation(output.vulnerabilityIdAggregation, context)
|
|
5734
|
-
: undefined,
|
|
5735
|
-
};
|
|
5736
|
-
};
|
|
5737
|
-
const de_ImageScanFindingAggregationsList = (output, context) => {
|
|
5738
|
-
const retVal = (output || [])
|
|
5739
|
-
.filter((e) => e != null)
|
|
5740
|
-
.map((entry) => {
|
|
5741
|
-
if (entry === null) {
|
|
5742
|
-
return null;
|
|
5743
|
-
}
|
|
5744
|
-
return de_ImageScanFindingAggregation(entry, context);
|
|
5745
|
-
});
|
|
5746
|
-
return retVal;
|
|
5747
|
-
};
|
|
5748
|
-
const de_ImageScanFindingsList = (output, context) => {
|
|
5749
|
-
const retVal = (output || [])
|
|
5750
|
-
.filter((e) => e != null)
|
|
5751
|
-
.map((entry) => {
|
|
5752
|
-
if (entry === null) {
|
|
5753
|
-
return null;
|
|
5754
|
-
}
|
|
5755
|
-
return de_ImageScanFinding(entry, context);
|
|
5756
|
-
});
|
|
5757
|
-
return retVal;
|
|
5758
|
-
};
|
|
5759
|
-
const de_ImageScanningConfiguration = (output, context) => {
|
|
5760
|
-
return {
|
|
5761
|
-
ecrConfiguration: output.ecrConfiguration != null ? de_EcrConfiguration(output.ecrConfiguration, context) : undefined,
|
|
5762
|
-
imageScanningEnabled: __expectBoolean(output.imageScanningEnabled),
|
|
5763
|
-
};
|
|
5764
|
-
};
|
|
5765
|
-
const de_ImageScanState = (output, context) => {
|
|
5766
|
-
return {
|
|
5767
|
-
reason: __expectString(output.reason),
|
|
5768
|
-
status: __expectString(output.status),
|
|
5769
|
-
};
|
|
5770
|
-
};
|
|
5771
|
-
const de_ImageState = (output, context) => {
|
|
5772
|
-
return {
|
|
5773
|
-
reason: __expectString(output.reason),
|
|
5774
|
-
status: __expectString(output.status),
|
|
5775
|
-
};
|
|
5776
|
-
};
|
|
5777
|
-
const de_ImageSummary = (output, context) => {
|
|
5778
|
-
return {
|
|
5779
|
-
arn: __expectString(output.arn),
|
|
5780
|
-
buildType: __expectString(output.buildType),
|
|
5781
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5782
|
-
imageSource: __expectString(output.imageSource),
|
|
5783
|
-
name: __expectString(output.name),
|
|
5784
|
-
osVersion: __expectString(output.osVersion),
|
|
5785
|
-
outputResources: output.outputResources != null ? de_OutputResources(output.outputResources, context) : undefined,
|
|
5786
|
-
owner: __expectString(output.owner),
|
|
5787
|
-
platform: __expectString(output.platform),
|
|
5788
|
-
state: output.state != null ? de_ImageState(output.state, context) : undefined,
|
|
5789
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5790
|
-
type: __expectString(output.type),
|
|
5791
|
-
version: __expectString(output.version),
|
|
5792
|
-
};
|
|
5793
|
-
};
|
|
5794
|
-
const de_ImageSummaryList = (output, context) => {
|
|
5795
|
-
const retVal = (output || [])
|
|
5796
|
-
.filter((e) => e != null)
|
|
5797
|
-
.map((entry) => {
|
|
5798
|
-
if (entry === null) {
|
|
5799
|
-
return null;
|
|
5800
|
-
}
|
|
5801
|
-
return de_ImageSummary(entry, context);
|
|
5802
|
-
});
|
|
5803
|
-
return retVal;
|
|
5804
|
-
};
|
|
5805
|
-
const de_ImageTestsConfiguration = (output, context) => {
|
|
5806
|
-
return {
|
|
5807
|
-
imageTestsEnabled: __expectBoolean(output.imageTestsEnabled),
|
|
5808
|
-
timeoutMinutes: __expectInt32(output.timeoutMinutes),
|
|
5809
|
-
};
|
|
5810
|
-
};
|
|
5811
|
-
const de_ImageVersion = (output, context) => {
|
|
5812
|
-
return {
|
|
5813
|
-
arn: __expectString(output.arn),
|
|
5814
|
-
buildType: __expectString(output.buildType),
|
|
5815
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5816
|
-
imageSource: __expectString(output.imageSource),
|
|
5817
|
-
name: __expectString(output.name),
|
|
5818
|
-
osVersion: __expectString(output.osVersion),
|
|
5819
|
-
owner: __expectString(output.owner),
|
|
5820
|
-
platform: __expectString(output.platform),
|
|
5821
|
-
type: __expectString(output.type),
|
|
5822
|
-
version: __expectString(output.version),
|
|
5823
|
-
};
|
|
5824
|
-
};
|
|
5825
|
-
const de_ImageVersionList = (output, context) => {
|
|
5826
|
-
const retVal = (output || [])
|
|
5827
|
-
.filter((e) => e != null)
|
|
5828
|
-
.map((entry) => {
|
|
5829
|
-
if (entry === null) {
|
|
5830
|
-
return null;
|
|
5831
|
-
}
|
|
5832
|
-
return de_ImageVersion(entry, context);
|
|
5833
|
-
});
|
|
5834
|
-
return retVal;
|
|
5835
|
-
};
|
|
5836
|
-
const de_InfrastructureConfiguration = (output, context) => {
|
|
5837
|
-
return {
|
|
5838
|
-
arn: __expectString(output.arn),
|
|
5839
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5840
|
-
dateUpdated: __expectString(output.dateUpdated),
|
|
5841
|
-
description: __expectString(output.description),
|
|
5842
|
-
instanceMetadataOptions: output.instanceMetadataOptions != null
|
|
5843
|
-
? de_InstanceMetadataOptions(output.instanceMetadataOptions, context)
|
|
5844
|
-
: undefined,
|
|
5845
|
-
instanceProfileName: __expectString(output.instanceProfileName),
|
|
5846
|
-
instanceTypes: output.instanceTypes != null ? de_InstanceTypeList(output.instanceTypes, context) : undefined,
|
|
5847
|
-
keyPair: __expectString(output.keyPair),
|
|
5848
|
-
logging: output.logging != null ? de_Logging(output.logging, context) : undefined,
|
|
5849
|
-
name: __expectString(output.name),
|
|
5850
|
-
resourceTags: output.resourceTags != null ? de_ResourceTagMap(output.resourceTags, context) : undefined,
|
|
5851
|
-
securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIds(output.securityGroupIds, context) : undefined,
|
|
5852
|
-
snsTopicArn: __expectString(output.snsTopicArn),
|
|
5853
|
-
subnetId: __expectString(output.subnetId),
|
|
5854
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5855
|
-
terminateInstanceOnFailure: __expectBoolean(output.terminateInstanceOnFailure),
|
|
5856
|
-
};
|
|
5857
|
-
};
|
|
5858
|
-
const de_InfrastructureConfigurationSummary = (output, context) => {
|
|
5859
|
-
return {
|
|
5860
|
-
arn: __expectString(output.arn),
|
|
5861
|
-
dateCreated: __expectString(output.dateCreated),
|
|
5862
|
-
dateUpdated: __expectString(output.dateUpdated),
|
|
5863
|
-
description: __expectString(output.description),
|
|
5864
|
-
instanceProfileName: __expectString(output.instanceProfileName),
|
|
5865
|
-
instanceTypes: output.instanceTypes != null ? de_InstanceTypeList(output.instanceTypes, context) : undefined,
|
|
5866
|
-
name: __expectString(output.name),
|
|
5867
|
-
resourceTags: output.resourceTags != null ? de_ResourceTagMap(output.resourceTags, context) : undefined,
|
|
5868
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
5869
|
-
};
|
|
5870
|
-
};
|
|
5871
|
-
const de_InfrastructureConfigurationSummaryList = (output, context) => {
|
|
5872
|
-
const retVal = (output || [])
|
|
5873
|
-
.filter((e) => e != null)
|
|
5874
|
-
.map((entry) => {
|
|
5875
|
-
if (entry === null) {
|
|
5876
|
-
return null;
|
|
5877
|
-
}
|
|
5878
|
-
return de_InfrastructureConfigurationSummary(entry, context);
|
|
5879
|
-
});
|
|
5880
|
-
return retVal;
|
|
5881
|
-
};
|
|
5882
|
-
const de_InspectorScoreDetails = (output, context) => {
|
|
5883
|
-
return {
|
|
5884
|
-
adjustedCvss: output.adjustedCvss != null ? de_CvssScoreDetails(output.adjustedCvss, context) : undefined,
|
|
5885
|
-
};
|
|
5886
|
-
};
|
|
5887
|
-
const de_InstanceBlockDeviceMapping = (output, context) => {
|
|
5888
|
-
return {
|
|
5889
|
-
deviceName: __expectString(output.deviceName),
|
|
5890
|
-
ebs: output.ebs != null ? de_EbsInstanceBlockDeviceSpecification(output.ebs, context) : undefined,
|
|
5891
|
-
noDevice: __expectString(output.noDevice),
|
|
5892
|
-
virtualName: __expectString(output.virtualName),
|
|
5893
|
-
};
|
|
5894
|
-
};
|
|
5895
|
-
const de_InstanceBlockDeviceMappings = (output, context) => {
|
|
5896
|
-
const retVal = (output || [])
|
|
5897
|
-
.filter((e) => e != null)
|
|
5898
|
-
.map((entry) => {
|
|
5899
|
-
if (entry === null) {
|
|
5900
|
-
return null;
|
|
5901
|
-
}
|
|
5902
|
-
return de_InstanceBlockDeviceMapping(entry, context);
|
|
5903
|
-
});
|
|
5904
|
-
return retVal;
|
|
5905
|
-
};
|
|
5906
|
-
const de_InstanceConfiguration = (output, context) => {
|
|
5907
|
-
return {
|
|
5908
|
-
blockDeviceMappings: output.blockDeviceMappings != null
|
|
5909
|
-
? de_InstanceBlockDeviceMappings(output.blockDeviceMappings, context)
|
|
5910
|
-
: undefined,
|
|
5911
|
-
image: __expectString(output.image),
|
|
5912
|
-
};
|
|
5913
|
-
};
|
|
5914
|
-
const de_InstanceMetadataOptions = (output, context) => {
|
|
5915
|
-
return {
|
|
5916
|
-
httpPutResponseHopLimit: __expectInt32(output.httpPutResponseHopLimit),
|
|
5917
|
-
httpTokens: __expectString(output.httpTokens),
|
|
5918
|
-
};
|
|
5919
|
-
};
|
|
5920
|
-
const de_InstanceTypeList = (output, context) => {
|
|
5921
|
-
const retVal = (output || [])
|
|
5922
|
-
.filter((e) => e != null)
|
|
5923
|
-
.map((entry) => {
|
|
5924
|
-
if (entry === null) {
|
|
5925
|
-
return null;
|
|
5926
|
-
}
|
|
5927
|
-
return __expectString(entry);
|
|
5928
|
-
});
|
|
5929
|
-
return retVal;
|
|
5930
|
-
};
|
|
5931
|
-
const de_LaunchPermissionConfiguration = (output, context) => {
|
|
5932
|
-
return {
|
|
5933
|
-
organizationArns: output.organizationArns != null ? de_OrganizationArnList(output.organizationArns, context) : undefined,
|
|
5934
|
-
organizationalUnitArns: output.organizationalUnitArns != null
|
|
5935
|
-
? de_OrganizationalUnitArnList(output.organizationalUnitArns, context)
|
|
5936
|
-
: undefined,
|
|
5937
|
-
userGroups: output.userGroups != null ? de_StringList(output.userGroups, context) : undefined,
|
|
5938
|
-
userIds: output.userIds != null ? de_AccountList(output.userIds, context) : undefined,
|
|
5939
|
-
};
|
|
5940
|
-
};
|
|
5941
|
-
const de_LaunchTemplateConfiguration = (output, context) => {
|
|
5942
|
-
return {
|
|
5943
|
-
accountId: __expectString(output.accountId),
|
|
5944
|
-
launchTemplateId: __expectString(output.launchTemplateId),
|
|
5945
|
-
setDefaultVersion: __expectBoolean(output.setDefaultVersion),
|
|
5946
|
-
};
|
|
5947
|
-
};
|
|
5948
|
-
const de_LaunchTemplateConfigurationList = (output, context) => {
|
|
5949
|
-
const retVal = (output || [])
|
|
5950
|
-
.filter((e) => e != null)
|
|
5951
|
-
.map((entry) => {
|
|
5952
|
-
if (entry === null) {
|
|
5953
|
-
return null;
|
|
5954
|
-
}
|
|
5955
|
-
return de_LaunchTemplateConfiguration(entry, context);
|
|
5956
|
-
});
|
|
5957
|
-
return retVal;
|
|
5958
|
-
};
|
|
5959
|
-
const de_LicenseConfigurationArnList = (output, context) => {
|
|
5960
|
-
const retVal = (output || [])
|
|
5961
|
-
.filter((e) => e != null)
|
|
5962
|
-
.map((entry) => {
|
|
5963
|
-
if (entry === null) {
|
|
5964
|
-
return null;
|
|
5965
|
-
}
|
|
5966
|
-
return __expectString(entry);
|
|
5967
|
-
});
|
|
5968
|
-
return retVal;
|
|
5969
|
-
};
|
|
5970
|
-
const de_Logging = (output, context) => {
|
|
5971
|
-
return {
|
|
5972
|
-
s3Logs: output.s3Logs != null ? de_S3Logs(output.s3Logs, context) : undefined,
|
|
5973
|
-
};
|
|
5974
|
-
};
|
|
5975
|
-
const de_NonEmptyStringList = (output, context) => {
|
|
5976
|
-
const retVal = (output || [])
|
|
5977
|
-
.filter((e) => e != null)
|
|
5978
|
-
.map((entry) => {
|
|
5979
|
-
if (entry === null) {
|
|
5980
|
-
return null;
|
|
5981
|
-
}
|
|
5982
|
-
return __expectString(entry);
|
|
5983
|
-
});
|
|
5984
|
-
return retVal;
|
|
5985
|
-
};
|
|
5986
|
-
const de_OrganizationalUnitArnList = (output, context) => {
|
|
5987
|
-
const retVal = (output || [])
|
|
5988
|
-
.filter((e) => e != null)
|
|
5989
|
-
.map((entry) => {
|
|
5990
|
-
if (entry === null) {
|
|
5991
|
-
return null;
|
|
5992
|
-
}
|
|
5993
|
-
return __expectString(entry);
|
|
5994
|
-
});
|
|
5995
|
-
return retVal;
|
|
5996
|
-
};
|
|
5997
|
-
const de_OrganizationArnList = (output, context) => {
|
|
5998
|
-
const retVal = (output || [])
|
|
5999
|
-
.filter((e) => e != null)
|
|
6000
|
-
.map((entry) => {
|
|
6001
|
-
if (entry === null) {
|
|
6002
|
-
return null;
|
|
6003
|
-
}
|
|
6004
|
-
return __expectString(entry);
|
|
6005
|
-
});
|
|
6006
|
-
return retVal;
|
|
6007
|
-
};
|
|
6008
|
-
const de_OsVersionList = (output, context) => {
|
|
6009
|
-
const retVal = (output || [])
|
|
6010
|
-
.filter((e) => e != null)
|
|
6011
|
-
.map((entry) => {
|
|
6012
|
-
if (entry === null) {
|
|
6013
|
-
return null;
|
|
6014
|
-
}
|
|
6015
|
-
return __expectString(entry);
|
|
6016
|
-
});
|
|
6017
|
-
return retVal;
|
|
6018
|
-
};
|
|
6019
|
-
const de_OutputResources = (output, context) => {
|
|
6020
|
-
return {
|
|
6021
|
-
amis: output.amis != null ? de_AmiList(output.amis, context) : undefined,
|
|
6022
|
-
containers: output.containers != null ? de_ContainerList(output.containers, context) : undefined,
|
|
6023
|
-
};
|
|
6024
|
-
};
|
|
6025
|
-
const de_PackageVulnerabilityDetails = (output, context) => {
|
|
6026
|
-
return {
|
|
6027
|
-
cvss: output.cvss != null ? de_CvssScoreList(output.cvss, context) : undefined,
|
|
6028
|
-
referenceUrls: output.referenceUrls != null ? de_NonEmptyStringList(output.referenceUrls, context) : undefined,
|
|
6029
|
-
relatedVulnerabilities: output.relatedVulnerabilities != null
|
|
6030
|
-
? de_VulnerabilityIdList(output.relatedVulnerabilities, context)
|
|
6031
|
-
: undefined,
|
|
6032
|
-
source: __expectString(output.source),
|
|
6033
|
-
sourceUrl: __expectString(output.sourceUrl),
|
|
6034
|
-
vendorCreatedAt: output.vendorCreatedAt != null
|
|
6035
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.vendorCreatedAt)))
|
|
6036
|
-
: undefined,
|
|
6037
|
-
vendorSeverity: __expectString(output.vendorSeverity),
|
|
6038
|
-
vendorUpdatedAt: output.vendorUpdatedAt != null
|
|
6039
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.vendorUpdatedAt)))
|
|
6040
|
-
: undefined,
|
|
6041
|
-
vulnerabilityId: __expectString(output.vulnerabilityId),
|
|
6042
|
-
vulnerablePackages: output.vulnerablePackages != null ? de_VulnerablePackageList(output.vulnerablePackages, context) : undefined,
|
|
6043
|
-
};
|
|
6044
|
-
};
|
|
6045
|
-
const de_RegionList = (output, context) => {
|
|
6046
|
-
const retVal = (output || [])
|
|
6047
|
-
.filter((e) => e != null)
|
|
6048
|
-
.map((entry) => {
|
|
6049
|
-
if (entry === null) {
|
|
6050
|
-
return null;
|
|
6051
|
-
}
|
|
6052
|
-
return __expectString(entry);
|
|
6053
|
-
});
|
|
6054
|
-
return retVal;
|
|
6055
|
-
};
|
|
6056
|
-
const de_Remediation = (output, context) => {
|
|
6057
|
-
return {
|
|
6058
|
-
recommendation: output.recommendation != null ? de_RemediationRecommendation(output.recommendation, context) : undefined,
|
|
6059
|
-
};
|
|
6060
|
-
};
|
|
6061
|
-
const de_RemediationRecommendation = (output, context) => {
|
|
6062
|
-
return {
|
|
6063
|
-
text: __expectString(output.text),
|
|
6064
|
-
url: __expectString(output.url),
|
|
6065
|
-
};
|
|
6066
|
-
};
|
|
6067
|
-
const de_ResourceTagMap = (output, context) => {
|
|
6068
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6069
|
-
if (value === null) {
|
|
6070
|
-
return acc;
|
|
6071
|
-
}
|
|
6072
|
-
acc[key] = __expectString(value);
|
|
6073
|
-
return acc;
|
|
6074
|
-
}, {});
|
|
6075
|
-
};
|
|
6076
|
-
const de_S3ExportConfiguration = (output, context) => {
|
|
6077
|
-
return {
|
|
6078
|
-
diskImageFormat: __expectString(output.diskImageFormat),
|
|
6079
|
-
roleName: __expectString(output.roleName),
|
|
6080
|
-
s3Bucket: __expectString(output.s3Bucket),
|
|
6081
|
-
s3Prefix: __expectString(output.s3Prefix),
|
|
6082
|
-
};
|
|
6083
|
-
};
|
|
6084
|
-
const de_S3Logs = (output, context) => {
|
|
6085
|
-
return {
|
|
6086
|
-
s3BucketName: __expectString(output.s3BucketName),
|
|
6087
|
-
s3KeyPrefix: __expectString(output.s3KeyPrefix),
|
|
6088
|
-
};
|
|
6089
|
-
};
|
|
6090
|
-
const de_Schedule = (output, context) => {
|
|
6091
|
-
return {
|
|
6092
|
-
pipelineExecutionStartCondition: __expectString(output.pipelineExecutionStartCondition),
|
|
6093
|
-
scheduleExpression: __expectString(output.scheduleExpression),
|
|
6094
|
-
timezone: __expectString(output.timezone),
|
|
6095
|
-
};
|
|
6096
|
-
};
|
|
6097
|
-
const de_SecurityGroupIds = (output, context) => {
|
|
6098
|
-
const retVal = (output || [])
|
|
6099
|
-
.filter((e) => e != null)
|
|
6100
|
-
.map((entry) => {
|
|
6101
|
-
if (entry === null) {
|
|
6102
|
-
return null;
|
|
6103
|
-
}
|
|
6104
|
-
return __expectString(entry);
|
|
6105
|
-
});
|
|
6106
|
-
return retVal;
|
|
6107
|
-
};
|
|
6108
|
-
const de_SeverityCounts = (output, context) => {
|
|
6109
|
-
return {
|
|
6110
|
-
all: __expectLong(output.all),
|
|
6111
|
-
critical: __expectLong(output.critical),
|
|
6112
|
-
high: __expectLong(output.high),
|
|
6113
|
-
medium: __expectLong(output.medium),
|
|
6114
|
-
};
|
|
6115
|
-
};
|
|
6116
|
-
const de_StringList = (output, context) => {
|
|
6117
|
-
const retVal = (output || [])
|
|
6118
|
-
.filter((e) => e != null)
|
|
6119
|
-
.map((entry) => {
|
|
6120
|
-
if (entry === null) {
|
|
6121
|
-
return null;
|
|
6122
|
-
}
|
|
6123
|
-
return __expectString(entry);
|
|
6124
|
-
});
|
|
6125
|
-
return retVal;
|
|
6126
|
-
};
|
|
6127
|
-
const de_SystemsManagerAgent = (output, context) => {
|
|
6128
|
-
return {
|
|
6129
|
-
uninstallAfterBuild: __expectBoolean(output.uninstallAfterBuild),
|
|
6130
|
-
};
|
|
6131
|
-
};
|
|
6132
|
-
const de_TagMap = (output, context) => {
|
|
6133
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6134
|
-
if (value === null) {
|
|
6135
|
-
return acc;
|
|
6136
|
-
}
|
|
6137
|
-
acc[key] = __expectString(value);
|
|
6138
|
-
return acc;
|
|
6139
|
-
}, {});
|
|
6140
|
-
};
|
|
6141
|
-
const de_TargetContainerRepository = (output, context) => {
|
|
6142
|
-
return {
|
|
6143
|
-
repositoryName: __expectString(output.repositoryName),
|
|
6144
|
-
service: __expectString(output.service),
|
|
6145
|
-
};
|
|
6146
|
-
};
|
|
6147
|
-
const de_VulnerabilityIdAggregation = (output, context) => {
|
|
6148
|
-
return {
|
|
6149
|
-
severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
|
|
6150
|
-
vulnerabilityId: __expectString(output.vulnerabilityId),
|
|
6151
|
-
};
|
|
6152
|
-
};
|
|
6153
|
-
const de_VulnerabilityIdList = (output, context) => {
|
|
6154
|
-
const retVal = (output || [])
|
|
6155
|
-
.filter((e) => e != null)
|
|
6156
|
-
.map((entry) => {
|
|
6157
|
-
if (entry === null) {
|
|
6158
|
-
return null;
|
|
6159
|
-
}
|
|
6160
|
-
return __expectString(entry);
|
|
6161
|
-
});
|
|
6162
|
-
return retVal;
|
|
6163
|
-
};
|
|
6164
|
-
const de_VulnerablePackage = (output, context) => {
|
|
6165
|
-
return {
|
|
6166
|
-
arch: __expectString(output.arch),
|
|
6167
|
-
epoch: __expectInt32(output.epoch),
|
|
6168
|
-
filePath: __expectString(output.filePath),
|
|
6169
|
-
fixedInVersion: __expectString(output.fixedInVersion),
|
|
6170
|
-
name: __expectString(output.name),
|
|
6171
|
-
packageManager: __expectString(output.packageManager),
|
|
6172
|
-
release: __expectString(output.release),
|
|
6173
|
-
remediation: __expectString(output.remediation),
|
|
6174
|
-
sourceLayerHash: __expectString(output.sourceLayerHash),
|
|
6175
|
-
version: __expectString(output.version),
|
|
6176
|
-
};
|
|
6177
|
-
};
|
|
6178
|
-
const de_VulnerablePackageList = (output, context) => {
|
|
6179
|
-
const retVal = (output || [])
|
|
6180
|
-
.filter((e) => e != null)
|
|
6181
|
-
.map((entry) => {
|
|
6182
|
-
if (entry === null) {
|
|
6183
|
-
return null;
|
|
6184
|
-
}
|
|
6185
|
-
return de_VulnerablePackage(entry, context);
|
|
6186
|
-
});
|
|
6187
|
-
return retVal;
|
|
6188
|
-
};
|
|
6189
|
-
const de_WorkflowExecutionMetadata = (output, context) => {
|
|
6190
|
-
return {
|
|
6191
|
-
endTime: __expectString(output.endTime),
|
|
6192
|
-
message: __expectString(output.message),
|
|
6193
|
-
startTime: __expectString(output.startTime),
|
|
6194
|
-
status: __expectString(output.status),
|
|
6195
|
-
totalStepCount: __expectInt32(output.totalStepCount),
|
|
6196
|
-
totalStepsFailed: __expectInt32(output.totalStepsFailed),
|
|
6197
|
-
totalStepsSkipped: __expectInt32(output.totalStepsSkipped),
|
|
6198
|
-
totalStepsSucceeded: __expectInt32(output.totalStepsSucceeded),
|
|
6199
|
-
type: __expectString(output.type),
|
|
6200
|
-
workflowBuildVersionArn: __expectString(output.workflowBuildVersionArn),
|
|
6201
|
-
workflowExecutionId: __expectString(output.workflowExecutionId),
|
|
6202
|
-
};
|
|
6203
|
-
};
|
|
6204
|
-
const de_WorkflowExecutionsList = (output, context) => {
|
|
6205
|
-
const retVal = (output || [])
|
|
6206
|
-
.filter((e) => e != null)
|
|
6207
|
-
.map((entry) => {
|
|
6208
|
-
if (entry === null) {
|
|
6209
|
-
return null;
|
|
6210
|
-
}
|
|
6211
|
-
return de_WorkflowExecutionMetadata(entry, context);
|
|
6212
|
-
});
|
|
6213
|
-
return retVal;
|
|
6214
|
-
};
|
|
6215
|
-
const de_WorkflowStepExecutionsList = (output, context) => {
|
|
6216
|
-
const retVal = (output || [])
|
|
6217
|
-
.filter((e) => e != null)
|
|
6218
|
-
.map((entry) => {
|
|
6219
|
-
if (entry === null) {
|
|
6220
|
-
return null;
|
|
6221
|
-
}
|
|
6222
|
-
return de_WorkflowStepMetadata(entry, context);
|
|
6223
|
-
});
|
|
6224
|
-
return retVal;
|
|
6225
|
-
};
|
|
6226
|
-
const de_WorkflowStepMetadata = (output, context) => {
|
|
6227
|
-
return {
|
|
6228
|
-
action: __expectString(output.action),
|
|
6229
|
-
description: __expectString(output.description),
|
|
6230
|
-
endTime: __expectString(output.endTime),
|
|
6231
|
-
inputs: __expectString(output.inputs),
|
|
6232
|
-
message: __expectString(output.message),
|
|
6233
|
-
name: __expectString(output.name),
|
|
6234
|
-
outputs: __expectString(output.outputs),
|
|
6235
|
-
rollbackStatus: __expectString(output.rollbackStatus),
|
|
6236
|
-
startTime: __expectString(output.startTime),
|
|
6237
|
-
status: __expectString(output.status),
|
|
6238
|
-
stepExecutionId: __expectString(output.stepExecutionId),
|
|
6239
|
-
};
|
|
6240
4565
|
};
|
|
6241
4566
|
const deserializeMetadata = (output) => ({
|
|
6242
4567
|
httpStatusCode: output.statusCode,
|