@aws-sdk/client-opensearch 3.312.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 +837 -1880
- package/dist-es/protocols/Aws_restJson1.js +756 -1799
- 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, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, 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 { AccessDeniedException, BaseException, ConflictException, DisabledOperationException, InternalException, InvalidPaginationTokenException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, SlotNotAvailableException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { OpenSearchServiceException as __BaseException } from "../models/OpenSearchServiceException";
|
|
5
5
|
export const se_AcceptInboundConnectionCommand = async (input, context) => {
|
|
@@ -26,10 +26,10 @@ export const se_AddTagsCommand = async (input, context) => {
|
|
|
26
26
|
};
|
|
27
27
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/tags";
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify({
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
});
|
|
29
|
+
body = JSON.stringify(take(input, {
|
|
30
|
+
ARN: [],
|
|
31
|
+
TagList: (_) => _json(_),
|
|
32
|
+
}));
|
|
33
33
|
return new __HttpRequest({
|
|
34
34
|
protocol,
|
|
35
35
|
hostname,
|
|
@@ -67,9 +67,9 @@ export const se_AuthorizeVpcEndpointAccessCommand = async (input, context) => {
|
|
|
67
67
|
"/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess";
|
|
68
68
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
69
69
|
let body;
|
|
70
|
-
body = JSON.stringify({
|
|
71
|
-
|
|
72
|
-
});
|
|
70
|
+
body = JSON.stringify(take(input, {
|
|
71
|
+
Account: [],
|
|
72
|
+
}));
|
|
73
73
|
return new __HttpRequest({
|
|
74
74
|
protocol,
|
|
75
75
|
hostname,
|
|
@@ -88,9 +88,9 @@ export const se_CancelServiceSoftwareUpdateCommand = async (input, context) => {
|
|
|
88
88
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
89
89
|
"/2021-01-01/opensearch/serviceSoftwareUpdate/cancel";
|
|
90
90
|
let body;
|
|
91
|
-
body = JSON.stringify({
|
|
92
|
-
|
|
93
|
-
});
|
|
91
|
+
body = JSON.stringify(take(input, {
|
|
92
|
+
DomainName: [],
|
|
93
|
+
}));
|
|
94
94
|
return new __HttpRequest({
|
|
95
95
|
protocol,
|
|
96
96
|
hostname,
|
|
@@ -108,40 +108,26 @@ export const se_CreateDomainCommand = async (input, context) => {
|
|
|
108
108
|
};
|
|
109
109
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/opensearch/domain";
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify({
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}),
|
|
132
|
-
...(input.NodeToNodeEncryptionOptions != null && {
|
|
133
|
-
NodeToNodeEncryptionOptions: se_NodeToNodeEncryptionOptions(input.NodeToNodeEncryptionOptions, context),
|
|
134
|
-
}),
|
|
135
|
-
...(input.OffPeakWindowOptions != null && {
|
|
136
|
-
OffPeakWindowOptions: se_OffPeakWindowOptions(input.OffPeakWindowOptions, context),
|
|
137
|
-
}),
|
|
138
|
-
...(input.SnapshotOptions != null && { SnapshotOptions: se_SnapshotOptions(input.SnapshotOptions, context) }),
|
|
139
|
-
...(input.SoftwareUpdateOptions != null && {
|
|
140
|
-
SoftwareUpdateOptions: se_SoftwareUpdateOptions(input.SoftwareUpdateOptions, context),
|
|
141
|
-
}),
|
|
142
|
-
...(input.TagList != null && { TagList: se_TagList(input.TagList, context) }),
|
|
143
|
-
...(input.VPCOptions != null && { VPCOptions: se_VPCOptions(input.VPCOptions, context) }),
|
|
144
|
-
});
|
|
111
|
+
body = JSON.stringify(take(input, {
|
|
112
|
+
AccessPolicies: [],
|
|
113
|
+
AdvancedOptions: (_) => _json(_),
|
|
114
|
+
AdvancedSecurityOptions: (_) => _json(_),
|
|
115
|
+
AutoTuneOptions: (_) => se_AutoTuneOptionsInput(_, context),
|
|
116
|
+
ClusterConfig: (_) => _json(_),
|
|
117
|
+
CognitoOptions: (_) => _json(_),
|
|
118
|
+
DomainEndpointOptions: (_) => _json(_),
|
|
119
|
+
DomainName: [],
|
|
120
|
+
EBSOptions: (_) => _json(_),
|
|
121
|
+
EncryptionAtRestOptions: (_) => _json(_),
|
|
122
|
+
EngineVersion: [],
|
|
123
|
+
LogPublishingOptions: (_) => _json(_),
|
|
124
|
+
NodeToNodeEncryptionOptions: (_) => _json(_),
|
|
125
|
+
OffPeakWindowOptions: (_) => _json(_),
|
|
126
|
+
SnapshotOptions: (_) => _json(_),
|
|
127
|
+
SoftwareUpdateOptions: (_) => _json(_),
|
|
128
|
+
TagList: (_) => _json(_),
|
|
129
|
+
VPCOptions: (_) => _json(_),
|
|
130
|
+
}));
|
|
145
131
|
return new __HttpRequest({
|
|
146
132
|
protocol,
|
|
147
133
|
hostname,
|
|
@@ -160,16 +146,12 @@ export const se_CreateOutboundConnectionCommand = async (input, context) => {
|
|
|
160
146
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
161
147
|
"/2021-01-01/opensearch/cc/outboundConnection";
|
|
162
148
|
let body;
|
|
163
|
-
body = JSON.stringify({
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
...(input.RemoteDomainInfo != null && {
|
|
170
|
-
RemoteDomainInfo: se_DomainInformationContainer(input.RemoteDomainInfo, context),
|
|
171
|
-
}),
|
|
172
|
-
});
|
|
149
|
+
body = JSON.stringify(take(input, {
|
|
150
|
+
ConnectionAlias: [],
|
|
151
|
+
ConnectionMode: [],
|
|
152
|
+
LocalDomainInfo: (_) => _json(_),
|
|
153
|
+
RemoteDomainInfo: (_) => _json(_),
|
|
154
|
+
}));
|
|
173
155
|
return new __HttpRequest({
|
|
174
156
|
protocol,
|
|
175
157
|
hostname,
|
|
@@ -187,12 +169,12 @@ export const se_CreatePackageCommand = async (input, context) => {
|
|
|
187
169
|
};
|
|
188
170
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/packages";
|
|
189
171
|
let body;
|
|
190
|
-
body = JSON.stringify({
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
});
|
|
172
|
+
body = JSON.stringify(take(input, {
|
|
173
|
+
PackageDescription: [],
|
|
174
|
+
PackageName: [],
|
|
175
|
+
PackageSource: (_) => _json(_),
|
|
176
|
+
PackageType: [],
|
|
177
|
+
}));
|
|
196
178
|
return new __HttpRequest({
|
|
197
179
|
protocol,
|
|
198
180
|
hostname,
|
|
@@ -210,11 +192,11 @@ export const se_CreateVpcEndpointCommand = async (input, context) => {
|
|
|
210
192
|
};
|
|
211
193
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/opensearch/vpcEndpoints";
|
|
212
194
|
let body;
|
|
213
|
-
body = JSON.stringify({
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
});
|
|
195
|
+
body = JSON.stringify(take(input, {
|
|
196
|
+
ClientToken: [],
|
|
197
|
+
DomainArn: [],
|
|
198
|
+
VpcOptions: (_) => _json(_),
|
|
199
|
+
}));
|
|
218
200
|
return new __HttpRequest({
|
|
219
201
|
protocol,
|
|
220
202
|
hostname,
|
|
@@ -335,10 +317,10 @@ export const se_DescribeDomainAutoTunesCommand = async (input, context) => {
|
|
|
335
317
|
"/2021-01-01/opensearch/domain/{DomainName}/autoTunes";
|
|
336
318
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
337
319
|
let body;
|
|
338
|
-
body = JSON.stringify({
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
});
|
|
320
|
+
body = JSON.stringify(take(input, {
|
|
321
|
+
MaxResults: [],
|
|
322
|
+
NextToken: [],
|
|
323
|
+
}));
|
|
342
324
|
return new __HttpRequest({
|
|
343
325
|
protocol,
|
|
344
326
|
hostname,
|
|
@@ -394,9 +376,9 @@ export const se_DescribeDomainsCommand = async (input, context) => {
|
|
|
394
376
|
};
|
|
395
377
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/opensearch/domain-info";
|
|
396
378
|
let body;
|
|
397
|
-
body = JSON.stringify({
|
|
398
|
-
|
|
399
|
-
});
|
|
379
|
+
body = JSON.stringify(take(input, {
|
|
380
|
+
DomainNames: (_) => _json(_),
|
|
381
|
+
}));
|
|
400
382
|
return new __HttpRequest({
|
|
401
383
|
protocol,
|
|
402
384
|
hostname,
|
|
@@ -437,11 +419,11 @@ export const se_DescribeInboundConnectionsCommand = async (input, context) => {
|
|
|
437
419
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
438
420
|
"/2021-01-01/opensearch/cc/inboundConnection/search";
|
|
439
421
|
let body;
|
|
440
|
-
body = JSON.stringify({
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
});
|
|
422
|
+
body = JSON.stringify(take(input, {
|
|
423
|
+
Filters: (_) => _json(_),
|
|
424
|
+
MaxResults: [],
|
|
425
|
+
NextToken: [],
|
|
426
|
+
}));
|
|
445
427
|
return new __HttpRequest({
|
|
446
428
|
protocol,
|
|
447
429
|
hostname,
|
|
@@ -482,11 +464,11 @@ export const se_DescribeOutboundConnectionsCommand = async (input, context) => {
|
|
|
482
464
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
483
465
|
"/2021-01-01/opensearch/cc/outboundConnection/search";
|
|
484
466
|
let body;
|
|
485
|
-
body = JSON.stringify({
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
});
|
|
467
|
+
body = JSON.stringify(take(input, {
|
|
468
|
+
Filters: (_) => _json(_),
|
|
469
|
+
MaxResults: [],
|
|
470
|
+
NextToken: [],
|
|
471
|
+
}));
|
|
490
472
|
return new __HttpRequest({
|
|
491
473
|
protocol,
|
|
492
474
|
hostname,
|
|
@@ -504,11 +486,11 @@ export const se_DescribePackagesCommand = async (input, context) => {
|
|
|
504
486
|
};
|
|
505
487
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/packages/describe";
|
|
506
488
|
let body;
|
|
507
|
-
body = JSON.stringify({
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
});
|
|
489
|
+
body = JSON.stringify(take(input, {
|
|
490
|
+
Filters: (_) => _json(_),
|
|
491
|
+
MaxResults: [],
|
|
492
|
+
NextToken: [],
|
|
493
|
+
}));
|
|
512
494
|
return new __HttpRequest({
|
|
513
495
|
protocol,
|
|
514
496
|
hostname,
|
|
@@ -570,9 +552,9 @@ export const se_DescribeVpcEndpointsCommand = async (input, context) => {
|
|
|
570
552
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
571
553
|
"/2021-01-01/opensearch/vpcEndpoints/describe";
|
|
572
554
|
let body;
|
|
573
|
-
body = JSON.stringify({
|
|
574
|
-
|
|
575
|
-
});
|
|
555
|
+
body = JSON.stringify(take(input, {
|
|
556
|
+
VpcEndpointIds: (_) => _json(_),
|
|
557
|
+
}));
|
|
576
558
|
return new __HttpRequest({
|
|
577
559
|
protocol,
|
|
578
560
|
hostname,
|
|
@@ -894,11 +876,11 @@ export const se_PurchaseReservedInstanceOfferingCommand = async (input, context)
|
|
|
894
876
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
895
877
|
"/2021-01-01/opensearch/purchaseReservedInstanceOffering";
|
|
896
878
|
let body;
|
|
897
|
-
body = JSON.stringify({
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
});
|
|
879
|
+
body = JSON.stringify(take(input, {
|
|
880
|
+
InstanceCount: [],
|
|
881
|
+
ReservationName: [],
|
|
882
|
+
ReservedInstanceOfferingId: [],
|
|
883
|
+
}));
|
|
902
884
|
return new __HttpRequest({
|
|
903
885
|
protocol,
|
|
904
886
|
hostname,
|
|
@@ -933,10 +915,10 @@ export const se_RemoveTagsCommand = async (input, context) => {
|
|
|
933
915
|
};
|
|
934
916
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/tags-removal";
|
|
935
917
|
let body;
|
|
936
|
-
body = JSON.stringify({
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
});
|
|
918
|
+
body = JSON.stringify(take(input, {
|
|
919
|
+
ARN: [],
|
|
920
|
+
TagKeys: (_) => _json(_),
|
|
921
|
+
}));
|
|
940
922
|
return new __HttpRequest({
|
|
941
923
|
protocol,
|
|
942
924
|
hostname,
|
|
@@ -956,9 +938,9 @@ export const se_RevokeVpcEndpointAccessCommand = async (input, context) => {
|
|
|
956
938
|
"/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess";
|
|
957
939
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
958
940
|
let body;
|
|
959
|
-
body = JSON.stringify({
|
|
960
|
-
|
|
961
|
-
});
|
|
941
|
+
body = JSON.stringify(take(input, {
|
|
942
|
+
Account: [],
|
|
943
|
+
}));
|
|
962
944
|
return new __HttpRequest({
|
|
963
945
|
protocol,
|
|
964
946
|
hostname,
|
|
@@ -977,11 +959,11 @@ export const se_StartServiceSoftwareUpdateCommand = async (input, context) => {
|
|
|
977
959
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
978
960
|
"/2021-01-01/opensearch/serviceSoftwareUpdate/start";
|
|
979
961
|
let body;
|
|
980
|
-
body = JSON.stringify({
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
});
|
|
962
|
+
body = JSON.stringify(take(input, {
|
|
963
|
+
DesiredStartTime: [],
|
|
964
|
+
DomainName: [],
|
|
965
|
+
ScheduleAt: [],
|
|
966
|
+
}));
|
|
985
967
|
return new __HttpRequest({
|
|
986
968
|
protocol,
|
|
987
969
|
hostname,
|
|
@@ -1001,39 +983,25 @@ export const se_UpdateDomainConfigCommand = async (input, context) => {
|
|
|
1001
983
|
"/2021-01-01/opensearch/domain/{DomainName}/config";
|
|
1002
984
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1003
985
|
let body;
|
|
1004
|
-
body = JSON.stringify({
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
LogPublishingOptions: se_LogPublishingOptions(input.LogPublishingOptions, context),
|
|
1024
|
-
}),
|
|
1025
|
-
...(input.NodeToNodeEncryptionOptions != null && {
|
|
1026
|
-
NodeToNodeEncryptionOptions: se_NodeToNodeEncryptionOptions(input.NodeToNodeEncryptionOptions, context),
|
|
1027
|
-
}),
|
|
1028
|
-
...(input.OffPeakWindowOptions != null && {
|
|
1029
|
-
OffPeakWindowOptions: se_OffPeakWindowOptions(input.OffPeakWindowOptions, context),
|
|
1030
|
-
}),
|
|
1031
|
-
...(input.SnapshotOptions != null && { SnapshotOptions: se_SnapshotOptions(input.SnapshotOptions, context) }),
|
|
1032
|
-
...(input.SoftwareUpdateOptions != null && {
|
|
1033
|
-
SoftwareUpdateOptions: se_SoftwareUpdateOptions(input.SoftwareUpdateOptions, context),
|
|
1034
|
-
}),
|
|
1035
|
-
...(input.VPCOptions != null && { VPCOptions: se_VPCOptions(input.VPCOptions, context) }),
|
|
1036
|
-
});
|
|
986
|
+
body = JSON.stringify(take(input, {
|
|
987
|
+
AccessPolicies: [],
|
|
988
|
+
AdvancedOptions: (_) => _json(_),
|
|
989
|
+
AdvancedSecurityOptions: (_) => _json(_),
|
|
990
|
+
AutoTuneOptions: (_) => se_AutoTuneOptions(_, context),
|
|
991
|
+
ClusterConfig: (_) => _json(_),
|
|
992
|
+
CognitoOptions: (_) => _json(_),
|
|
993
|
+
DomainEndpointOptions: (_) => _json(_),
|
|
994
|
+
DryRun: [],
|
|
995
|
+
DryRunMode: [],
|
|
996
|
+
EBSOptions: (_) => _json(_),
|
|
997
|
+
EncryptionAtRestOptions: (_) => _json(_),
|
|
998
|
+
LogPublishingOptions: (_) => _json(_),
|
|
999
|
+
NodeToNodeEncryptionOptions: (_) => _json(_),
|
|
1000
|
+
OffPeakWindowOptions: (_) => _json(_),
|
|
1001
|
+
SnapshotOptions: (_) => _json(_),
|
|
1002
|
+
SoftwareUpdateOptions: (_) => _json(_),
|
|
1003
|
+
VPCOptions: (_) => _json(_),
|
|
1004
|
+
}));
|
|
1037
1005
|
return new __HttpRequest({
|
|
1038
1006
|
protocol,
|
|
1039
1007
|
hostname,
|
|
@@ -1051,12 +1019,12 @@ export const se_UpdatePackageCommand = async (input, context) => {
|
|
|
1051
1019
|
};
|
|
1052
1020
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/packages/update";
|
|
1053
1021
|
let body;
|
|
1054
|
-
body = JSON.stringify({
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
});
|
|
1022
|
+
body = JSON.stringify(take(input, {
|
|
1023
|
+
CommitMessage: [],
|
|
1024
|
+
PackageDescription: [],
|
|
1025
|
+
PackageID: [],
|
|
1026
|
+
PackageSource: (_) => _json(_),
|
|
1027
|
+
}));
|
|
1060
1028
|
return new __HttpRequest({
|
|
1061
1029
|
protocol,
|
|
1062
1030
|
hostname,
|
|
@@ -1076,12 +1044,12 @@ export const se_UpdateScheduledActionCommand = async (input, context) => {
|
|
|
1076
1044
|
"/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update";
|
|
1077
1045
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1078
1046
|
let body;
|
|
1079
|
-
body = JSON.stringify({
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
});
|
|
1047
|
+
body = JSON.stringify(take(input, {
|
|
1048
|
+
ActionID: [],
|
|
1049
|
+
ActionType: [],
|
|
1050
|
+
DesiredStartTime: [],
|
|
1051
|
+
ScheduleAt: [],
|
|
1052
|
+
}));
|
|
1085
1053
|
return new __HttpRequest({
|
|
1086
1054
|
protocol,
|
|
1087
1055
|
hostname,
|
|
@@ -1100,10 +1068,10 @@ export const se_UpdateVpcEndpointCommand = async (input, context) => {
|
|
|
1100
1068
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1101
1069
|
"/2021-01-01/opensearch/vpcEndpoints/update";
|
|
1102
1070
|
let body;
|
|
1103
|
-
body = JSON.stringify({
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
});
|
|
1071
|
+
body = JSON.stringify(take(input, {
|
|
1072
|
+
VpcEndpointId: [],
|
|
1073
|
+
VpcOptions: (_) => _json(_),
|
|
1074
|
+
}));
|
|
1107
1075
|
return new __HttpRequest({
|
|
1108
1076
|
protocol,
|
|
1109
1077
|
hostname,
|
|
@@ -1121,12 +1089,12 @@ export const se_UpgradeDomainCommand = async (input, context) => {
|
|
|
1121
1089
|
};
|
|
1122
1090
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-01-01/opensearch/upgradeDomain";
|
|
1123
1091
|
let body;
|
|
1124
|
-
body = JSON.stringify({
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
});
|
|
1092
|
+
body = JSON.stringify(take(input, {
|
|
1093
|
+
AdvancedOptions: (_) => _json(_),
|
|
1094
|
+
DomainName: [],
|
|
1095
|
+
PerformCheckOnly: [],
|
|
1096
|
+
TargetVersion: [],
|
|
1097
|
+
}));
|
|
1130
1098
|
return new __HttpRequest({
|
|
1131
1099
|
protocol,
|
|
1132
1100
|
hostname,
|
|
@@ -1145,9 +1113,10 @@ export const de_AcceptInboundConnectionCommand = async (output, context) => {
|
|
|
1145
1113
|
$metadata: deserializeMetadata(output),
|
|
1146
1114
|
});
|
|
1147
1115
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
}
|
|
1116
|
+
const doc = take(data, {
|
|
1117
|
+
Connection: _json,
|
|
1118
|
+
});
|
|
1119
|
+
Object.assign(contents, doc);
|
|
1151
1120
|
return contents;
|
|
1152
1121
|
};
|
|
1153
1122
|
const de_AcceptInboundConnectionCommandError = async (output, context) => {
|
|
@@ -1168,10 +1137,9 @@ const de_AcceptInboundConnectionCommandError = async (output, context) => {
|
|
|
1168
1137
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1169
1138
|
default:
|
|
1170
1139
|
const parsedBody = parsedOutput.body;
|
|
1171
|
-
throwDefaultError({
|
|
1140
|
+
return throwDefaultError({
|
|
1172
1141
|
output,
|
|
1173
1142
|
parsedBody,
|
|
1174
|
-
exceptionCtor: __BaseException,
|
|
1175
1143
|
errorCode,
|
|
1176
1144
|
});
|
|
1177
1145
|
}
|
|
@@ -1207,10 +1175,9 @@ const de_AddTagsCommandError = async (output, context) => {
|
|
|
1207
1175
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1208
1176
|
default:
|
|
1209
1177
|
const parsedBody = parsedOutput.body;
|
|
1210
|
-
throwDefaultError({
|
|
1178
|
+
return throwDefaultError({
|
|
1211
1179
|
output,
|
|
1212
1180
|
parsedBody,
|
|
1213
|
-
exceptionCtor: __BaseException,
|
|
1214
1181
|
errorCode,
|
|
1215
1182
|
});
|
|
1216
1183
|
}
|
|
@@ -1223,9 +1190,10 @@ export const de_AssociatePackageCommand = async (output, context) => {
|
|
|
1223
1190
|
$metadata: deserializeMetadata(output),
|
|
1224
1191
|
});
|
|
1225
1192
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
}
|
|
1193
|
+
const doc = take(data, {
|
|
1194
|
+
DomainPackageDetails: (_) => de_DomainPackageDetails(_, context),
|
|
1195
|
+
});
|
|
1196
|
+
Object.assign(contents, doc);
|
|
1229
1197
|
return contents;
|
|
1230
1198
|
};
|
|
1231
1199
|
const de_AssociatePackageCommandError = async (output, context) => {
|
|
@@ -1255,10 +1223,9 @@ const de_AssociatePackageCommandError = async (output, context) => {
|
|
|
1255
1223
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1256
1224
|
default:
|
|
1257
1225
|
const parsedBody = parsedOutput.body;
|
|
1258
|
-
throwDefaultError({
|
|
1226
|
+
return throwDefaultError({
|
|
1259
1227
|
output,
|
|
1260
1228
|
parsedBody,
|
|
1261
|
-
exceptionCtor: __BaseException,
|
|
1262
1229
|
errorCode,
|
|
1263
1230
|
});
|
|
1264
1231
|
}
|
|
@@ -1271,9 +1238,10 @@ export const de_AuthorizeVpcEndpointAccessCommand = async (output, context) => {
|
|
|
1271
1238
|
$metadata: deserializeMetadata(output),
|
|
1272
1239
|
});
|
|
1273
1240
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
}
|
|
1241
|
+
const doc = take(data, {
|
|
1242
|
+
AuthorizedPrincipal: _json,
|
|
1243
|
+
});
|
|
1244
|
+
Object.assign(contents, doc);
|
|
1277
1245
|
return contents;
|
|
1278
1246
|
};
|
|
1279
1247
|
const de_AuthorizeVpcEndpointAccessCommandError = async (output, context) => {
|
|
@@ -1303,10 +1271,9 @@ const de_AuthorizeVpcEndpointAccessCommandError = async (output, context) => {
|
|
|
1303
1271
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1304
1272
|
default:
|
|
1305
1273
|
const parsedBody = parsedOutput.body;
|
|
1306
|
-
throwDefaultError({
|
|
1274
|
+
return throwDefaultError({
|
|
1307
1275
|
output,
|
|
1308
1276
|
parsedBody,
|
|
1309
|
-
exceptionCtor: __BaseException,
|
|
1310
1277
|
errorCode,
|
|
1311
1278
|
});
|
|
1312
1279
|
}
|
|
@@ -1319,9 +1286,10 @@ export const de_CancelServiceSoftwareUpdateCommand = async (output, context) =>
|
|
|
1319
1286
|
$metadata: deserializeMetadata(output),
|
|
1320
1287
|
});
|
|
1321
1288
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
}
|
|
1289
|
+
const doc = take(data, {
|
|
1290
|
+
ServiceSoftwareOptions: (_) => de_ServiceSoftwareOptions(_, context),
|
|
1291
|
+
});
|
|
1292
|
+
Object.assign(contents, doc);
|
|
1325
1293
|
return contents;
|
|
1326
1294
|
};
|
|
1327
1295
|
const de_CancelServiceSoftwareUpdateCommandError = async (output, context) => {
|
|
@@ -1345,10 +1313,9 @@ const de_CancelServiceSoftwareUpdateCommandError = async (output, context) => {
|
|
|
1345
1313
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1346
1314
|
default:
|
|
1347
1315
|
const parsedBody = parsedOutput.body;
|
|
1348
|
-
throwDefaultError({
|
|
1316
|
+
return throwDefaultError({
|
|
1349
1317
|
output,
|
|
1350
1318
|
parsedBody,
|
|
1351
|
-
exceptionCtor: __BaseException,
|
|
1352
1319
|
errorCode,
|
|
1353
1320
|
});
|
|
1354
1321
|
}
|
|
@@ -1361,9 +1328,10 @@ export const de_CreateDomainCommand = async (output, context) => {
|
|
|
1361
1328
|
$metadata: deserializeMetadata(output),
|
|
1362
1329
|
});
|
|
1363
1330
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1331
|
+
const doc = take(data, {
|
|
1332
|
+
DomainStatus: (_) => de_DomainStatus(_, context),
|
|
1333
|
+
});
|
|
1334
|
+
Object.assign(contents, doc);
|
|
1367
1335
|
return contents;
|
|
1368
1336
|
};
|
|
1369
1337
|
const de_CreateDomainCommandError = async (output, context) => {
|
|
@@ -1396,10 +1364,9 @@ const de_CreateDomainCommandError = async (output, context) => {
|
|
|
1396
1364
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1397
1365
|
default:
|
|
1398
1366
|
const parsedBody = parsedOutput.body;
|
|
1399
|
-
throwDefaultError({
|
|
1367
|
+
return throwDefaultError({
|
|
1400
1368
|
output,
|
|
1401
1369
|
parsedBody,
|
|
1402
|
-
exceptionCtor: __BaseException,
|
|
1403
1370
|
errorCode,
|
|
1404
1371
|
});
|
|
1405
1372
|
}
|
|
@@ -1412,27 +1379,16 @@ export const de_CreateOutboundConnectionCommand = async (output, context) => {
|
|
|
1412
1379
|
$metadata: deserializeMetadata(output),
|
|
1413
1380
|
});
|
|
1414
1381
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
contents.ConnectionProperties = de_ConnectionProperties(data.ConnectionProperties, context);
|
|
1426
|
-
}
|
|
1427
|
-
if (data.ConnectionStatus != null) {
|
|
1428
|
-
contents.ConnectionStatus = de_OutboundConnectionStatus(data.ConnectionStatus, context);
|
|
1429
|
-
}
|
|
1430
|
-
if (data.LocalDomainInfo != null) {
|
|
1431
|
-
contents.LocalDomainInfo = de_DomainInformationContainer(data.LocalDomainInfo, context);
|
|
1432
|
-
}
|
|
1433
|
-
if (data.RemoteDomainInfo != null) {
|
|
1434
|
-
contents.RemoteDomainInfo = de_DomainInformationContainer(data.RemoteDomainInfo, context);
|
|
1435
|
-
}
|
|
1382
|
+
const doc = take(data, {
|
|
1383
|
+
ConnectionAlias: __expectString,
|
|
1384
|
+
ConnectionId: __expectString,
|
|
1385
|
+
ConnectionMode: __expectString,
|
|
1386
|
+
ConnectionProperties: _json,
|
|
1387
|
+
ConnectionStatus: _json,
|
|
1388
|
+
LocalDomainInfo: _json,
|
|
1389
|
+
RemoteDomainInfo: _json,
|
|
1390
|
+
});
|
|
1391
|
+
Object.assign(contents, doc);
|
|
1436
1392
|
return contents;
|
|
1437
1393
|
};
|
|
1438
1394
|
const de_CreateOutboundConnectionCommandError = async (output, context) => {
|
|
@@ -1456,10 +1412,9 @@ const de_CreateOutboundConnectionCommandError = async (output, context) => {
|
|
|
1456
1412
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1457
1413
|
default:
|
|
1458
1414
|
const parsedBody = parsedOutput.body;
|
|
1459
|
-
throwDefaultError({
|
|
1415
|
+
return throwDefaultError({
|
|
1460
1416
|
output,
|
|
1461
1417
|
parsedBody,
|
|
1462
|
-
exceptionCtor: __BaseException,
|
|
1463
1418
|
errorCode,
|
|
1464
1419
|
});
|
|
1465
1420
|
}
|
|
@@ -1472,9 +1427,10 @@ export const de_CreatePackageCommand = async (output, context) => {
|
|
|
1472
1427
|
$metadata: deserializeMetadata(output),
|
|
1473
1428
|
});
|
|
1474
1429
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
}
|
|
1430
|
+
const doc = take(data, {
|
|
1431
|
+
PackageDetails: (_) => de_PackageDetails(_, context),
|
|
1432
|
+
});
|
|
1433
|
+
Object.assign(contents, doc);
|
|
1478
1434
|
return contents;
|
|
1479
1435
|
};
|
|
1480
1436
|
const de_CreatePackageCommandError = async (output, context) => {
|
|
@@ -1507,10 +1463,9 @@ const de_CreatePackageCommandError = async (output, context) => {
|
|
|
1507
1463
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1508
1464
|
default:
|
|
1509
1465
|
const parsedBody = parsedOutput.body;
|
|
1510
|
-
throwDefaultError({
|
|
1466
|
+
return throwDefaultError({
|
|
1511
1467
|
output,
|
|
1512
1468
|
parsedBody,
|
|
1513
|
-
exceptionCtor: __BaseException,
|
|
1514
1469
|
errorCode,
|
|
1515
1470
|
});
|
|
1516
1471
|
}
|
|
@@ -1523,9 +1478,10 @@ export const de_CreateVpcEndpointCommand = async (output, context) => {
|
|
|
1523
1478
|
$metadata: deserializeMetadata(output),
|
|
1524
1479
|
});
|
|
1525
1480
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
}
|
|
1481
|
+
const doc = take(data, {
|
|
1482
|
+
VpcEndpoint: _json,
|
|
1483
|
+
});
|
|
1484
|
+
Object.assign(contents, doc);
|
|
1529
1485
|
return contents;
|
|
1530
1486
|
};
|
|
1531
1487
|
const de_CreateVpcEndpointCommandError = async (output, context) => {
|
|
@@ -1555,10 +1511,9 @@ const de_CreateVpcEndpointCommandError = async (output, context) => {
|
|
|
1555
1511
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1556
1512
|
default:
|
|
1557
1513
|
const parsedBody = parsedOutput.body;
|
|
1558
|
-
throwDefaultError({
|
|
1514
|
+
return throwDefaultError({
|
|
1559
1515
|
output,
|
|
1560
1516
|
parsedBody,
|
|
1561
|
-
exceptionCtor: __BaseException,
|
|
1562
1517
|
errorCode,
|
|
1563
1518
|
});
|
|
1564
1519
|
}
|
|
@@ -1571,9 +1526,10 @@ export const de_DeleteDomainCommand = async (output, context) => {
|
|
|
1571
1526
|
$metadata: deserializeMetadata(output),
|
|
1572
1527
|
});
|
|
1573
1528
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
}
|
|
1529
|
+
const doc = take(data, {
|
|
1530
|
+
DomainStatus: (_) => de_DomainStatus(_, context),
|
|
1531
|
+
});
|
|
1532
|
+
Object.assign(contents, doc);
|
|
1577
1533
|
return contents;
|
|
1578
1534
|
};
|
|
1579
1535
|
const de_DeleteDomainCommandError = async (output, context) => {
|
|
@@ -1597,10 +1553,9 @@ const de_DeleteDomainCommandError = async (output, context) => {
|
|
|
1597
1553
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1598
1554
|
default:
|
|
1599
1555
|
const parsedBody = parsedOutput.body;
|
|
1600
|
-
throwDefaultError({
|
|
1556
|
+
return throwDefaultError({
|
|
1601
1557
|
output,
|
|
1602
1558
|
parsedBody,
|
|
1603
|
-
exceptionCtor: __BaseException,
|
|
1604
1559
|
errorCode,
|
|
1605
1560
|
});
|
|
1606
1561
|
}
|
|
@@ -1613,9 +1568,10 @@ export const de_DeleteInboundConnectionCommand = async (output, context) => {
|
|
|
1613
1568
|
$metadata: deserializeMetadata(output),
|
|
1614
1569
|
});
|
|
1615
1570
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
}
|
|
1571
|
+
const doc = take(data, {
|
|
1572
|
+
Connection: _json,
|
|
1573
|
+
});
|
|
1574
|
+
Object.assign(contents, doc);
|
|
1619
1575
|
return contents;
|
|
1620
1576
|
};
|
|
1621
1577
|
const de_DeleteInboundConnectionCommandError = async (output, context) => {
|
|
@@ -1633,10 +1589,9 @@ const de_DeleteInboundConnectionCommandError = async (output, context) => {
|
|
|
1633
1589
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1634
1590
|
default:
|
|
1635
1591
|
const parsedBody = parsedOutput.body;
|
|
1636
|
-
throwDefaultError({
|
|
1592
|
+
return throwDefaultError({
|
|
1637
1593
|
output,
|
|
1638
1594
|
parsedBody,
|
|
1639
|
-
exceptionCtor: __BaseException,
|
|
1640
1595
|
errorCode,
|
|
1641
1596
|
});
|
|
1642
1597
|
}
|
|
@@ -1649,9 +1604,10 @@ export const de_DeleteOutboundConnectionCommand = async (output, context) => {
|
|
|
1649
1604
|
$metadata: deserializeMetadata(output),
|
|
1650
1605
|
});
|
|
1651
1606
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
}
|
|
1607
|
+
const doc = take(data, {
|
|
1608
|
+
Connection: _json,
|
|
1609
|
+
});
|
|
1610
|
+
Object.assign(contents, doc);
|
|
1655
1611
|
return contents;
|
|
1656
1612
|
};
|
|
1657
1613
|
const de_DeleteOutboundConnectionCommandError = async (output, context) => {
|
|
@@ -1669,10 +1625,9 @@ const de_DeleteOutboundConnectionCommandError = async (output, context) => {
|
|
|
1669
1625
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1670
1626
|
default:
|
|
1671
1627
|
const parsedBody = parsedOutput.body;
|
|
1672
|
-
throwDefaultError({
|
|
1628
|
+
return throwDefaultError({
|
|
1673
1629
|
output,
|
|
1674
1630
|
parsedBody,
|
|
1675
|
-
exceptionCtor: __BaseException,
|
|
1676
1631
|
errorCode,
|
|
1677
1632
|
});
|
|
1678
1633
|
}
|
|
@@ -1685,9 +1640,10 @@ export const de_DeletePackageCommand = async (output, context) => {
|
|
|
1685
1640
|
$metadata: deserializeMetadata(output),
|
|
1686
1641
|
});
|
|
1687
1642
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
}
|
|
1643
|
+
const doc = take(data, {
|
|
1644
|
+
PackageDetails: (_) => de_PackageDetails(_, context),
|
|
1645
|
+
});
|
|
1646
|
+
Object.assign(contents, doc);
|
|
1691
1647
|
return contents;
|
|
1692
1648
|
};
|
|
1693
1649
|
const de_DeletePackageCommandError = async (output, context) => {
|
|
@@ -1717,10 +1673,9 @@ const de_DeletePackageCommandError = async (output, context) => {
|
|
|
1717
1673
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1718
1674
|
default:
|
|
1719
1675
|
const parsedBody = parsedOutput.body;
|
|
1720
|
-
throwDefaultError({
|
|
1676
|
+
return throwDefaultError({
|
|
1721
1677
|
output,
|
|
1722
1678
|
parsedBody,
|
|
1723
|
-
exceptionCtor: __BaseException,
|
|
1724
1679
|
errorCode,
|
|
1725
1680
|
});
|
|
1726
1681
|
}
|
|
@@ -1733,9 +1688,10 @@ export const de_DeleteVpcEndpointCommand = async (output, context) => {
|
|
|
1733
1688
|
$metadata: deserializeMetadata(output),
|
|
1734
1689
|
});
|
|
1735
1690
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
}
|
|
1691
|
+
const doc = take(data, {
|
|
1692
|
+
VpcEndpointSummary: _json,
|
|
1693
|
+
});
|
|
1694
|
+
Object.assign(contents, doc);
|
|
1739
1695
|
return contents;
|
|
1740
1696
|
};
|
|
1741
1697
|
const de_DeleteVpcEndpointCommandError = async (output, context) => {
|
|
@@ -1759,10 +1715,9 @@ const de_DeleteVpcEndpointCommandError = async (output, context) => {
|
|
|
1759
1715
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1760
1716
|
default:
|
|
1761
1717
|
const parsedBody = parsedOutput.body;
|
|
1762
|
-
throwDefaultError({
|
|
1718
|
+
return throwDefaultError({
|
|
1763
1719
|
output,
|
|
1764
1720
|
parsedBody,
|
|
1765
|
-
exceptionCtor: __BaseException,
|
|
1766
1721
|
errorCode,
|
|
1767
1722
|
});
|
|
1768
1723
|
}
|
|
@@ -1775,9 +1730,10 @@ export const de_DescribeDomainCommand = async (output, context) => {
|
|
|
1775
1730
|
$metadata: deserializeMetadata(output),
|
|
1776
1731
|
});
|
|
1777
1732
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
}
|
|
1733
|
+
const doc = take(data, {
|
|
1734
|
+
DomainStatus: (_) => de_DomainStatus(_, context),
|
|
1735
|
+
});
|
|
1736
|
+
Object.assign(contents, doc);
|
|
1781
1737
|
return contents;
|
|
1782
1738
|
};
|
|
1783
1739
|
const de_DescribeDomainCommandError = async (output, context) => {
|
|
@@ -1801,10 +1757,9 @@ const de_DescribeDomainCommandError = async (output, context) => {
|
|
|
1801
1757
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1802
1758
|
default:
|
|
1803
1759
|
const parsedBody = parsedOutput.body;
|
|
1804
|
-
throwDefaultError({
|
|
1760
|
+
return throwDefaultError({
|
|
1805
1761
|
output,
|
|
1806
1762
|
parsedBody,
|
|
1807
|
-
exceptionCtor: __BaseException,
|
|
1808
1763
|
errorCode,
|
|
1809
1764
|
});
|
|
1810
1765
|
}
|
|
@@ -1817,12 +1772,11 @@ export const de_DescribeDomainAutoTunesCommand = async (output, context) => {
|
|
|
1817
1772
|
$metadata: deserializeMetadata(output),
|
|
1818
1773
|
});
|
|
1819
1774
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
}
|
|
1775
|
+
const doc = take(data, {
|
|
1776
|
+
AutoTunes: (_) => de_AutoTuneList(_, context),
|
|
1777
|
+
NextToken: __expectString,
|
|
1778
|
+
});
|
|
1779
|
+
Object.assign(contents, doc);
|
|
1826
1780
|
return contents;
|
|
1827
1781
|
};
|
|
1828
1782
|
const de_DescribeDomainAutoTunesCommandError = async (output, context) => {
|
|
@@ -1846,10 +1800,9 @@ const de_DescribeDomainAutoTunesCommandError = async (output, context) => {
|
|
|
1846
1800
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1847
1801
|
default:
|
|
1848
1802
|
const parsedBody = parsedOutput.body;
|
|
1849
|
-
throwDefaultError({
|
|
1803
|
+
return throwDefaultError({
|
|
1850
1804
|
output,
|
|
1851
1805
|
parsedBody,
|
|
1852
|
-
exceptionCtor: __BaseException,
|
|
1853
1806
|
errorCode,
|
|
1854
1807
|
});
|
|
1855
1808
|
}
|
|
@@ -1862,9 +1815,10 @@ export const de_DescribeDomainChangeProgressCommand = async (output, context) =>
|
|
|
1862
1815
|
$metadata: deserializeMetadata(output),
|
|
1863
1816
|
});
|
|
1864
1817
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
}
|
|
1818
|
+
const doc = take(data, {
|
|
1819
|
+
ChangeProgressStatus: (_) => de_ChangeProgressStatusDetails(_, context),
|
|
1820
|
+
});
|
|
1821
|
+
Object.assign(contents, doc);
|
|
1868
1822
|
return contents;
|
|
1869
1823
|
};
|
|
1870
1824
|
const de_DescribeDomainChangeProgressCommandError = async (output, context) => {
|
|
@@ -1888,10 +1842,9 @@ const de_DescribeDomainChangeProgressCommandError = async (output, context) => {
|
|
|
1888
1842
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1889
1843
|
default:
|
|
1890
1844
|
const parsedBody = parsedOutput.body;
|
|
1891
|
-
throwDefaultError({
|
|
1845
|
+
return throwDefaultError({
|
|
1892
1846
|
output,
|
|
1893
1847
|
parsedBody,
|
|
1894
|
-
exceptionCtor: __BaseException,
|
|
1895
1848
|
errorCode,
|
|
1896
1849
|
});
|
|
1897
1850
|
}
|
|
@@ -1904,9 +1857,10 @@ export const de_DescribeDomainConfigCommand = async (output, context) => {
|
|
|
1904
1857
|
$metadata: deserializeMetadata(output),
|
|
1905
1858
|
});
|
|
1906
1859
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
}
|
|
1860
|
+
const doc = take(data, {
|
|
1861
|
+
DomainConfig: (_) => de_DomainConfig(_, context),
|
|
1862
|
+
});
|
|
1863
|
+
Object.assign(contents, doc);
|
|
1910
1864
|
return contents;
|
|
1911
1865
|
};
|
|
1912
1866
|
const de_DescribeDomainConfigCommandError = async (output, context) => {
|
|
@@ -1930,10 +1884,9 @@ const de_DescribeDomainConfigCommandError = async (output, context) => {
|
|
|
1930
1884
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1931
1885
|
default:
|
|
1932
1886
|
const parsedBody = parsedOutput.body;
|
|
1933
|
-
throwDefaultError({
|
|
1887
|
+
return throwDefaultError({
|
|
1934
1888
|
output,
|
|
1935
1889
|
parsedBody,
|
|
1936
|
-
exceptionCtor: __BaseException,
|
|
1937
1890
|
errorCode,
|
|
1938
1891
|
});
|
|
1939
1892
|
}
|
|
@@ -1946,9 +1899,10 @@ export const de_DescribeDomainsCommand = async (output, context) => {
|
|
|
1946
1899
|
$metadata: deserializeMetadata(output),
|
|
1947
1900
|
});
|
|
1948
1901
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
}
|
|
1902
|
+
const doc = take(data, {
|
|
1903
|
+
DomainStatusList: (_) => de_DomainStatusList(_, context),
|
|
1904
|
+
});
|
|
1905
|
+
Object.assign(contents, doc);
|
|
1952
1906
|
return contents;
|
|
1953
1907
|
};
|
|
1954
1908
|
const de_DescribeDomainsCommandError = async (output, context) => {
|
|
@@ -1969,10 +1923,9 @@ const de_DescribeDomainsCommandError = async (output, context) => {
|
|
|
1969
1923
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1970
1924
|
default:
|
|
1971
1925
|
const parsedBody = parsedOutput.body;
|
|
1972
|
-
throwDefaultError({
|
|
1926
|
+
return throwDefaultError({
|
|
1973
1927
|
output,
|
|
1974
1928
|
parsedBody,
|
|
1975
|
-
exceptionCtor: __BaseException,
|
|
1976
1929
|
errorCode,
|
|
1977
1930
|
});
|
|
1978
1931
|
}
|
|
@@ -1985,15 +1938,12 @@ export const de_DescribeDryRunProgressCommand = async (output, context) => {
|
|
|
1985
1938
|
$metadata: deserializeMetadata(output),
|
|
1986
1939
|
});
|
|
1987
1940
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
if (data.DryRunResults != null) {
|
|
1995
|
-
contents.DryRunResults = de_DryRunResults(data.DryRunResults, context);
|
|
1996
|
-
}
|
|
1941
|
+
const doc = take(data, {
|
|
1942
|
+
DryRunConfig: (_) => de_DomainStatus(_, context),
|
|
1943
|
+
DryRunProgressStatus: _json,
|
|
1944
|
+
DryRunResults: _json,
|
|
1945
|
+
});
|
|
1946
|
+
Object.assign(contents, doc);
|
|
1997
1947
|
return contents;
|
|
1998
1948
|
};
|
|
1999
1949
|
const de_DescribeDryRunProgressCommandError = async (output, context) => {
|
|
@@ -2020,10 +1970,9 @@ const de_DescribeDryRunProgressCommandError = async (output, context) => {
|
|
|
2020
1970
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2021
1971
|
default:
|
|
2022
1972
|
const parsedBody = parsedOutput.body;
|
|
2023
|
-
throwDefaultError({
|
|
1973
|
+
return throwDefaultError({
|
|
2024
1974
|
output,
|
|
2025
1975
|
parsedBody,
|
|
2026
|
-
exceptionCtor: __BaseException,
|
|
2027
1976
|
errorCode,
|
|
2028
1977
|
});
|
|
2029
1978
|
}
|
|
@@ -2036,12 +1985,11 @@ export const de_DescribeInboundConnectionsCommand = async (output, context) => {
|
|
|
2036
1985
|
$metadata: deserializeMetadata(output),
|
|
2037
1986
|
});
|
|
2038
1987
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
}
|
|
1988
|
+
const doc = take(data, {
|
|
1989
|
+
Connections: _json,
|
|
1990
|
+
NextToken: __expectString,
|
|
1991
|
+
});
|
|
1992
|
+
Object.assign(contents, doc);
|
|
2045
1993
|
return contents;
|
|
2046
1994
|
};
|
|
2047
1995
|
const de_DescribeInboundConnectionsCommandError = async (output, context) => {
|
|
@@ -2059,10 +2007,9 @@ const de_DescribeInboundConnectionsCommandError = async (output, context) => {
|
|
|
2059
2007
|
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
2060
2008
|
default:
|
|
2061
2009
|
const parsedBody = parsedOutput.body;
|
|
2062
|
-
throwDefaultError({
|
|
2010
|
+
return throwDefaultError({
|
|
2063
2011
|
output,
|
|
2064
2012
|
parsedBody,
|
|
2065
|
-
exceptionCtor: __BaseException,
|
|
2066
2013
|
errorCode,
|
|
2067
2014
|
});
|
|
2068
2015
|
}
|
|
@@ -2075,9 +2022,10 @@ export const de_DescribeInstanceTypeLimitsCommand = async (output, context) => {
|
|
|
2075
2022
|
$metadata: deserializeMetadata(output),
|
|
2076
2023
|
});
|
|
2077
2024
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
}
|
|
2025
|
+
const doc = take(data, {
|
|
2026
|
+
LimitsByRole: _json,
|
|
2027
|
+
});
|
|
2028
|
+
Object.assign(contents, doc);
|
|
2081
2029
|
return contents;
|
|
2082
2030
|
};
|
|
2083
2031
|
const de_DescribeInstanceTypeLimitsCommandError = async (output, context) => {
|
|
@@ -2107,10 +2055,9 @@ const de_DescribeInstanceTypeLimitsCommandError = async (output, context) => {
|
|
|
2107
2055
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2108
2056
|
default:
|
|
2109
2057
|
const parsedBody = parsedOutput.body;
|
|
2110
|
-
throwDefaultError({
|
|
2058
|
+
return throwDefaultError({
|
|
2111
2059
|
output,
|
|
2112
2060
|
parsedBody,
|
|
2113
|
-
exceptionCtor: __BaseException,
|
|
2114
2061
|
errorCode,
|
|
2115
2062
|
});
|
|
2116
2063
|
}
|
|
@@ -2123,12 +2070,11 @@ export const de_DescribeOutboundConnectionsCommand = async (output, context) =>
|
|
|
2123
2070
|
$metadata: deserializeMetadata(output),
|
|
2124
2071
|
});
|
|
2125
2072
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
}
|
|
2073
|
+
const doc = take(data, {
|
|
2074
|
+
Connections: _json,
|
|
2075
|
+
NextToken: __expectString,
|
|
2076
|
+
});
|
|
2077
|
+
Object.assign(contents, doc);
|
|
2132
2078
|
return contents;
|
|
2133
2079
|
};
|
|
2134
2080
|
const de_DescribeOutboundConnectionsCommandError = async (output, context) => {
|
|
@@ -2146,10 +2092,9 @@ const de_DescribeOutboundConnectionsCommandError = async (output, context) => {
|
|
|
2146
2092
|
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
2147
2093
|
default:
|
|
2148
2094
|
const parsedBody = parsedOutput.body;
|
|
2149
|
-
throwDefaultError({
|
|
2095
|
+
return throwDefaultError({
|
|
2150
2096
|
output,
|
|
2151
2097
|
parsedBody,
|
|
2152
|
-
exceptionCtor: __BaseException,
|
|
2153
2098
|
errorCode,
|
|
2154
2099
|
});
|
|
2155
2100
|
}
|
|
@@ -2162,12 +2107,11 @@ export const de_DescribePackagesCommand = async (output, context) => {
|
|
|
2162
2107
|
$metadata: deserializeMetadata(output),
|
|
2163
2108
|
});
|
|
2164
2109
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
}
|
|
2110
|
+
const doc = take(data, {
|
|
2111
|
+
NextToken: __expectString,
|
|
2112
|
+
PackageDetailsList: (_) => de_PackageDetailsList(_, context),
|
|
2113
|
+
});
|
|
2114
|
+
Object.assign(contents, doc);
|
|
2171
2115
|
return contents;
|
|
2172
2116
|
};
|
|
2173
2117
|
const de_DescribePackagesCommandError = async (output, context) => {
|
|
@@ -2194,10 +2138,9 @@ const de_DescribePackagesCommandError = async (output, context) => {
|
|
|
2194
2138
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2195
2139
|
default:
|
|
2196
2140
|
const parsedBody = parsedOutput.body;
|
|
2197
|
-
throwDefaultError({
|
|
2141
|
+
return throwDefaultError({
|
|
2198
2142
|
output,
|
|
2199
2143
|
parsedBody,
|
|
2200
|
-
exceptionCtor: __BaseException,
|
|
2201
2144
|
errorCode,
|
|
2202
2145
|
});
|
|
2203
2146
|
}
|
|
@@ -2210,12 +2153,11 @@ export const de_DescribeReservedInstanceOfferingsCommand = async (output, contex
|
|
|
2210
2153
|
$metadata: deserializeMetadata(output),
|
|
2211
2154
|
});
|
|
2212
2155
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
}
|
|
2156
|
+
const doc = take(data, {
|
|
2157
|
+
NextToken: __expectString,
|
|
2158
|
+
ReservedInstanceOfferings: (_) => de_ReservedInstanceOfferingList(_, context),
|
|
2159
|
+
});
|
|
2160
|
+
Object.assign(contents, doc);
|
|
2219
2161
|
return contents;
|
|
2220
2162
|
};
|
|
2221
2163
|
const de_DescribeReservedInstanceOfferingsCommandError = async (output, context) => {
|
|
@@ -2239,10 +2181,9 @@ const de_DescribeReservedInstanceOfferingsCommandError = async (output, context)
|
|
|
2239
2181
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2240
2182
|
default:
|
|
2241
2183
|
const parsedBody = parsedOutput.body;
|
|
2242
|
-
throwDefaultError({
|
|
2184
|
+
return throwDefaultError({
|
|
2243
2185
|
output,
|
|
2244
2186
|
parsedBody,
|
|
2245
|
-
exceptionCtor: __BaseException,
|
|
2246
2187
|
errorCode,
|
|
2247
2188
|
});
|
|
2248
2189
|
}
|
|
@@ -2255,12 +2196,11 @@ export const de_DescribeReservedInstancesCommand = async (output, context) => {
|
|
|
2255
2196
|
$metadata: deserializeMetadata(output),
|
|
2256
2197
|
});
|
|
2257
2198
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
}
|
|
2199
|
+
const doc = take(data, {
|
|
2200
|
+
NextToken: __expectString,
|
|
2201
|
+
ReservedInstances: (_) => de_ReservedInstanceList(_, context),
|
|
2202
|
+
});
|
|
2203
|
+
Object.assign(contents, doc);
|
|
2264
2204
|
return contents;
|
|
2265
2205
|
};
|
|
2266
2206
|
const de_DescribeReservedInstancesCommandError = async (output, context) => {
|
|
@@ -2284,10 +2224,9 @@ const de_DescribeReservedInstancesCommandError = async (output, context) => {
|
|
|
2284
2224
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2285
2225
|
default:
|
|
2286
2226
|
const parsedBody = parsedOutput.body;
|
|
2287
|
-
throwDefaultError({
|
|
2227
|
+
return throwDefaultError({
|
|
2288
2228
|
output,
|
|
2289
2229
|
parsedBody,
|
|
2290
|
-
exceptionCtor: __BaseException,
|
|
2291
2230
|
errorCode,
|
|
2292
2231
|
});
|
|
2293
2232
|
}
|
|
@@ -2300,12 +2239,11 @@ export const de_DescribeVpcEndpointsCommand = async (output, context) => {
|
|
|
2300
2239
|
$metadata: deserializeMetadata(output),
|
|
2301
2240
|
});
|
|
2302
2241
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
}
|
|
2242
|
+
const doc = take(data, {
|
|
2243
|
+
VpcEndpointErrors: _json,
|
|
2244
|
+
VpcEndpoints: _json,
|
|
2245
|
+
});
|
|
2246
|
+
Object.assign(contents, doc);
|
|
2309
2247
|
return contents;
|
|
2310
2248
|
};
|
|
2311
2249
|
const de_DescribeVpcEndpointsCommandError = async (output, context) => {
|
|
@@ -2329,10 +2267,9 @@ const de_DescribeVpcEndpointsCommandError = async (output, context) => {
|
|
|
2329
2267
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2330
2268
|
default:
|
|
2331
2269
|
const parsedBody = parsedOutput.body;
|
|
2332
|
-
throwDefaultError({
|
|
2270
|
+
return throwDefaultError({
|
|
2333
2271
|
output,
|
|
2334
2272
|
parsedBody,
|
|
2335
|
-
exceptionCtor: __BaseException,
|
|
2336
2273
|
errorCode,
|
|
2337
2274
|
});
|
|
2338
2275
|
}
|
|
@@ -2345,9 +2282,10 @@ export const de_DissociatePackageCommand = async (output, context) => {
|
|
|
2345
2282
|
$metadata: deserializeMetadata(output),
|
|
2346
2283
|
});
|
|
2347
2284
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
}
|
|
2285
|
+
const doc = take(data, {
|
|
2286
|
+
DomainPackageDetails: (_) => de_DomainPackageDetails(_, context),
|
|
2287
|
+
});
|
|
2288
|
+
Object.assign(contents, doc);
|
|
2351
2289
|
return contents;
|
|
2352
2290
|
};
|
|
2353
2291
|
const de_DissociatePackageCommandError = async (output, context) => {
|
|
@@ -2377,10 +2315,9 @@ const de_DissociatePackageCommandError = async (output, context) => {
|
|
|
2377
2315
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2378
2316
|
default:
|
|
2379
2317
|
const parsedBody = parsedOutput.body;
|
|
2380
|
-
throwDefaultError({
|
|
2318
|
+
return throwDefaultError({
|
|
2381
2319
|
output,
|
|
2382
2320
|
parsedBody,
|
|
2383
|
-
exceptionCtor: __BaseException,
|
|
2384
2321
|
errorCode,
|
|
2385
2322
|
});
|
|
2386
2323
|
}
|
|
@@ -2393,9 +2330,10 @@ export const de_GetCompatibleVersionsCommand = async (output, context) => {
|
|
|
2393
2330
|
$metadata: deserializeMetadata(output),
|
|
2394
2331
|
});
|
|
2395
2332
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
}
|
|
2333
|
+
const doc = take(data, {
|
|
2334
|
+
CompatibleVersions: _json,
|
|
2335
|
+
});
|
|
2336
|
+
Object.assign(contents, doc);
|
|
2399
2337
|
return contents;
|
|
2400
2338
|
};
|
|
2401
2339
|
const de_GetCompatibleVersionsCommandError = async (output, context) => {
|
|
@@ -2422,10 +2360,9 @@ const de_GetCompatibleVersionsCommandError = async (output, context) => {
|
|
|
2422
2360
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2423
2361
|
default:
|
|
2424
2362
|
const parsedBody = parsedOutput.body;
|
|
2425
|
-
throwDefaultError({
|
|
2363
|
+
return throwDefaultError({
|
|
2426
2364
|
output,
|
|
2427
2365
|
parsedBody,
|
|
2428
|
-
exceptionCtor: __BaseException,
|
|
2429
2366
|
errorCode,
|
|
2430
2367
|
});
|
|
2431
2368
|
}
|
|
@@ -2438,15 +2375,12 @@ export const de_GetPackageVersionHistoryCommand = async (output, context) => {
|
|
|
2438
2375
|
$metadata: deserializeMetadata(output),
|
|
2439
2376
|
});
|
|
2440
2377
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
if (data.PackageVersionHistoryList != null) {
|
|
2448
|
-
contents.PackageVersionHistoryList = de_PackageVersionHistoryList(data.PackageVersionHistoryList, context);
|
|
2449
|
-
}
|
|
2378
|
+
const doc = take(data, {
|
|
2379
|
+
NextToken: __expectString,
|
|
2380
|
+
PackageID: __expectString,
|
|
2381
|
+
PackageVersionHistoryList: (_) => de_PackageVersionHistoryList(_, context),
|
|
2382
|
+
});
|
|
2383
|
+
Object.assign(contents, doc);
|
|
2450
2384
|
return contents;
|
|
2451
2385
|
};
|
|
2452
2386
|
const de_GetPackageVersionHistoryCommandError = async (output, context) => {
|
|
@@ -2473,10 +2407,9 @@ const de_GetPackageVersionHistoryCommandError = async (output, context) => {
|
|
|
2473
2407
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2474
2408
|
default:
|
|
2475
2409
|
const parsedBody = parsedOutput.body;
|
|
2476
|
-
throwDefaultError({
|
|
2410
|
+
return throwDefaultError({
|
|
2477
2411
|
output,
|
|
2478
2412
|
parsedBody,
|
|
2479
|
-
exceptionCtor: __BaseException,
|
|
2480
2413
|
errorCode,
|
|
2481
2414
|
});
|
|
2482
2415
|
}
|
|
@@ -2489,12 +2422,11 @@ export const de_GetUpgradeHistoryCommand = async (output, context) => {
|
|
|
2489
2422
|
$metadata: deserializeMetadata(output),
|
|
2490
2423
|
});
|
|
2491
2424
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
}
|
|
2425
|
+
const doc = take(data, {
|
|
2426
|
+
NextToken: __expectString,
|
|
2427
|
+
UpgradeHistories: (_) => de_UpgradeHistoryList(_, context),
|
|
2428
|
+
});
|
|
2429
|
+
Object.assign(contents, doc);
|
|
2498
2430
|
return contents;
|
|
2499
2431
|
};
|
|
2500
2432
|
const de_GetUpgradeHistoryCommandError = async (output, context) => {
|
|
@@ -2521,10 +2453,9 @@ const de_GetUpgradeHistoryCommandError = async (output, context) => {
|
|
|
2521
2453
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2522
2454
|
default:
|
|
2523
2455
|
const parsedBody = parsedOutput.body;
|
|
2524
|
-
throwDefaultError({
|
|
2456
|
+
return throwDefaultError({
|
|
2525
2457
|
output,
|
|
2526
2458
|
parsedBody,
|
|
2527
|
-
exceptionCtor: __BaseException,
|
|
2528
2459
|
errorCode,
|
|
2529
2460
|
});
|
|
2530
2461
|
}
|
|
@@ -2537,15 +2468,12 @@ export const de_GetUpgradeStatusCommand = async (output, context) => {
|
|
|
2537
2468
|
$metadata: deserializeMetadata(output),
|
|
2538
2469
|
});
|
|
2539
2470
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
if (data.UpgradeStep != null) {
|
|
2547
|
-
contents.UpgradeStep = __expectString(data.UpgradeStep);
|
|
2548
|
-
}
|
|
2471
|
+
const doc = take(data, {
|
|
2472
|
+
StepStatus: __expectString,
|
|
2473
|
+
UpgradeName: __expectString,
|
|
2474
|
+
UpgradeStep: __expectString,
|
|
2475
|
+
});
|
|
2476
|
+
Object.assign(contents, doc);
|
|
2549
2477
|
return contents;
|
|
2550
2478
|
};
|
|
2551
2479
|
const de_GetUpgradeStatusCommandError = async (output, context) => {
|
|
@@ -2572,10 +2500,9 @@ const de_GetUpgradeStatusCommandError = async (output, context) => {
|
|
|
2572
2500
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2573
2501
|
default:
|
|
2574
2502
|
const parsedBody = parsedOutput.body;
|
|
2575
|
-
throwDefaultError({
|
|
2503
|
+
return throwDefaultError({
|
|
2576
2504
|
output,
|
|
2577
2505
|
parsedBody,
|
|
2578
|
-
exceptionCtor: __BaseException,
|
|
2579
2506
|
errorCode,
|
|
2580
2507
|
});
|
|
2581
2508
|
}
|
|
@@ -2588,9 +2515,10 @@ export const de_ListDomainNamesCommand = async (output, context) => {
|
|
|
2588
2515
|
$metadata: deserializeMetadata(output),
|
|
2589
2516
|
});
|
|
2590
2517
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
}
|
|
2518
|
+
const doc = take(data, {
|
|
2519
|
+
DomainNames: _json,
|
|
2520
|
+
});
|
|
2521
|
+
Object.assign(contents, doc);
|
|
2594
2522
|
return contents;
|
|
2595
2523
|
};
|
|
2596
2524
|
const de_ListDomainNamesCommandError = async (output, context) => {
|
|
@@ -2608,10 +2536,9 @@ const de_ListDomainNamesCommandError = async (output, context) => {
|
|
|
2608
2536
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2609
2537
|
default:
|
|
2610
2538
|
const parsedBody = parsedOutput.body;
|
|
2611
|
-
throwDefaultError({
|
|
2539
|
+
return throwDefaultError({
|
|
2612
2540
|
output,
|
|
2613
2541
|
parsedBody,
|
|
2614
|
-
exceptionCtor: __BaseException,
|
|
2615
2542
|
errorCode,
|
|
2616
2543
|
});
|
|
2617
2544
|
}
|
|
@@ -2624,12 +2551,11 @@ export const de_ListDomainsForPackageCommand = async (output, context) => {
|
|
|
2624
2551
|
$metadata: deserializeMetadata(output),
|
|
2625
2552
|
});
|
|
2626
2553
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
}
|
|
2554
|
+
const doc = take(data, {
|
|
2555
|
+
DomainPackageDetailsList: (_) => de_DomainPackageDetailsList(_, context),
|
|
2556
|
+
NextToken: __expectString,
|
|
2557
|
+
});
|
|
2558
|
+
Object.assign(contents, doc);
|
|
2633
2559
|
return contents;
|
|
2634
2560
|
};
|
|
2635
2561
|
const de_ListDomainsForPackageCommandError = async (output, context) => {
|
|
@@ -2656,10 +2582,9 @@ const de_ListDomainsForPackageCommandError = async (output, context) => {
|
|
|
2656
2582
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2657
2583
|
default:
|
|
2658
2584
|
const parsedBody = parsedOutput.body;
|
|
2659
|
-
throwDefaultError({
|
|
2585
|
+
return throwDefaultError({
|
|
2660
2586
|
output,
|
|
2661
2587
|
parsedBody,
|
|
2662
|
-
exceptionCtor: __BaseException,
|
|
2663
2588
|
errorCode,
|
|
2664
2589
|
});
|
|
2665
2590
|
}
|
|
@@ -2672,12 +2597,11 @@ export const de_ListInstanceTypeDetailsCommand = async (output, context) => {
|
|
|
2672
2597
|
$metadata: deserializeMetadata(output),
|
|
2673
2598
|
});
|
|
2674
2599
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
}
|
|
2600
|
+
const doc = take(data, {
|
|
2601
|
+
InstanceTypeDetails: _json,
|
|
2602
|
+
NextToken: __expectString,
|
|
2603
|
+
});
|
|
2604
|
+
Object.assign(contents, doc);
|
|
2681
2605
|
return contents;
|
|
2682
2606
|
};
|
|
2683
2607
|
const de_ListInstanceTypeDetailsCommandError = async (output, context) => {
|
|
@@ -2701,10 +2625,9 @@ const de_ListInstanceTypeDetailsCommandError = async (output, context) => {
|
|
|
2701
2625
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2702
2626
|
default:
|
|
2703
2627
|
const parsedBody = parsedOutput.body;
|
|
2704
|
-
throwDefaultError({
|
|
2628
|
+
return throwDefaultError({
|
|
2705
2629
|
output,
|
|
2706
2630
|
parsedBody,
|
|
2707
|
-
exceptionCtor: __BaseException,
|
|
2708
2631
|
errorCode,
|
|
2709
2632
|
});
|
|
2710
2633
|
}
|
|
@@ -2717,12 +2640,11 @@ export const de_ListPackagesForDomainCommand = async (output, context) => {
|
|
|
2717
2640
|
$metadata: deserializeMetadata(output),
|
|
2718
2641
|
});
|
|
2719
2642
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
}
|
|
2643
|
+
const doc = take(data, {
|
|
2644
|
+
DomainPackageDetailsList: (_) => de_DomainPackageDetailsList(_, context),
|
|
2645
|
+
NextToken: __expectString,
|
|
2646
|
+
});
|
|
2647
|
+
Object.assign(contents, doc);
|
|
2726
2648
|
return contents;
|
|
2727
2649
|
};
|
|
2728
2650
|
const de_ListPackagesForDomainCommandError = async (output, context) => {
|
|
@@ -2749,10 +2671,9 @@ const de_ListPackagesForDomainCommandError = async (output, context) => {
|
|
|
2749
2671
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2750
2672
|
default:
|
|
2751
2673
|
const parsedBody = parsedOutput.body;
|
|
2752
|
-
throwDefaultError({
|
|
2674
|
+
return throwDefaultError({
|
|
2753
2675
|
output,
|
|
2754
2676
|
parsedBody,
|
|
2755
|
-
exceptionCtor: __BaseException,
|
|
2756
2677
|
errorCode,
|
|
2757
2678
|
});
|
|
2758
2679
|
}
|
|
@@ -2765,12 +2686,11 @@ export const de_ListScheduledActionsCommand = async (output, context) => {
|
|
|
2765
2686
|
$metadata: deserializeMetadata(output),
|
|
2766
2687
|
});
|
|
2767
2688
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
}
|
|
2689
|
+
const doc = take(data, {
|
|
2690
|
+
NextToken: __expectString,
|
|
2691
|
+
ScheduledActions: _json,
|
|
2692
|
+
});
|
|
2693
|
+
Object.assign(contents, doc);
|
|
2774
2694
|
return contents;
|
|
2775
2695
|
};
|
|
2776
2696
|
const de_ListScheduledActionsCommandError = async (output, context) => {
|
|
@@ -2797,10 +2717,9 @@ const de_ListScheduledActionsCommandError = async (output, context) => {
|
|
|
2797
2717
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2798
2718
|
default:
|
|
2799
2719
|
const parsedBody = parsedOutput.body;
|
|
2800
|
-
throwDefaultError({
|
|
2720
|
+
return throwDefaultError({
|
|
2801
2721
|
output,
|
|
2802
2722
|
parsedBody,
|
|
2803
|
-
exceptionCtor: __BaseException,
|
|
2804
2723
|
errorCode,
|
|
2805
2724
|
});
|
|
2806
2725
|
}
|
|
@@ -2813,9 +2732,10 @@ export const de_ListTagsCommand = async (output, context) => {
|
|
|
2813
2732
|
$metadata: deserializeMetadata(output),
|
|
2814
2733
|
});
|
|
2815
2734
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
}
|
|
2735
|
+
const doc = take(data, {
|
|
2736
|
+
TagList: _json,
|
|
2737
|
+
});
|
|
2738
|
+
Object.assign(contents, doc);
|
|
2819
2739
|
return contents;
|
|
2820
2740
|
};
|
|
2821
2741
|
const de_ListTagsCommandError = async (output, context) => {
|
|
@@ -2839,10 +2759,9 @@ const de_ListTagsCommandError = async (output, context) => {
|
|
|
2839
2759
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2840
2760
|
default:
|
|
2841
2761
|
const parsedBody = parsedOutput.body;
|
|
2842
|
-
throwDefaultError({
|
|
2762
|
+
return throwDefaultError({
|
|
2843
2763
|
output,
|
|
2844
2764
|
parsedBody,
|
|
2845
|
-
exceptionCtor: __BaseException,
|
|
2846
2765
|
errorCode,
|
|
2847
2766
|
});
|
|
2848
2767
|
}
|
|
@@ -2855,12 +2774,11 @@ export const de_ListVersionsCommand = async (output, context) => {
|
|
|
2855
2774
|
$metadata: deserializeMetadata(output),
|
|
2856
2775
|
});
|
|
2857
2776
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
}
|
|
2777
|
+
const doc = take(data, {
|
|
2778
|
+
NextToken: __expectString,
|
|
2779
|
+
Versions: _json,
|
|
2780
|
+
});
|
|
2781
|
+
Object.assign(contents, doc);
|
|
2864
2782
|
return contents;
|
|
2865
2783
|
};
|
|
2866
2784
|
const de_ListVersionsCommandError = async (output, context) => {
|
|
@@ -2884,10 +2802,9 @@ const de_ListVersionsCommandError = async (output, context) => {
|
|
|
2884
2802
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2885
2803
|
default:
|
|
2886
2804
|
const parsedBody = parsedOutput.body;
|
|
2887
|
-
throwDefaultError({
|
|
2805
|
+
return throwDefaultError({
|
|
2888
2806
|
output,
|
|
2889
2807
|
parsedBody,
|
|
2890
|
-
exceptionCtor: __BaseException,
|
|
2891
2808
|
errorCode,
|
|
2892
2809
|
});
|
|
2893
2810
|
}
|
|
@@ -2900,12 +2817,11 @@ export const de_ListVpcEndpointAccessCommand = async (output, context) => {
|
|
|
2900
2817
|
$metadata: deserializeMetadata(output),
|
|
2901
2818
|
});
|
|
2902
2819
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
}
|
|
2820
|
+
const doc = take(data, {
|
|
2821
|
+
AuthorizedPrincipalList: _json,
|
|
2822
|
+
NextToken: __expectString,
|
|
2823
|
+
});
|
|
2824
|
+
Object.assign(contents, doc);
|
|
2909
2825
|
return contents;
|
|
2910
2826
|
};
|
|
2911
2827
|
const de_ListVpcEndpointAccessCommandError = async (output, context) => {
|
|
@@ -2929,10 +2845,9 @@ const de_ListVpcEndpointAccessCommandError = async (output, context) => {
|
|
|
2929
2845
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2930
2846
|
default:
|
|
2931
2847
|
const parsedBody = parsedOutput.body;
|
|
2932
|
-
throwDefaultError({
|
|
2848
|
+
return throwDefaultError({
|
|
2933
2849
|
output,
|
|
2934
2850
|
parsedBody,
|
|
2935
|
-
exceptionCtor: __BaseException,
|
|
2936
2851
|
errorCode,
|
|
2937
2852
|
});
|
|
2938
2853
|
}
|
|
@@ -2945,12 +2860,11 @@ export const de_ListVpcEndpointsCommand = async (output, context) => {
|
|
|
2945
2860
|
$metadata: deserializeMetadata(output),
|
|
2946
2861
|
});
|
|
2947
2862
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
}
|
|
2863
|
+
const doc = take(data, {
|
|
2864
|
+
NextToken: __expectString,
|
|
2865
|
+
VpcEndpointSummaryList: _json,
|
|
2866
|
+
});
|
|
2867
|
+
Object.assign(contents, doc);
|
|
2954
2868
|
return contents;
|
|
2955
2869
|
};
|
|
2956
2870
|
const de_ListVpcEndpointsCommandError = async (output, context) => {
|
|
@@ -2971,10 +2885,9 @@ const de_ListVpcEndpointsCommandError = async (output, context) => {
|
|
|
2971
2885
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2972
2886
|
default:
|
|
2973
2887
|
const parsedBody = parsedOutput.body;
|
|
2974
|
-
throwDefaultError({
|
|
2888
|
+
return throwDefaultError({
|
|
2975
2889
|
output,
|
|
2976
2890
|
parsedBody,
|
|
2977
|
-
exceptionCtor: __BaseException,
|
|
2978
2891
|
errorCode,
|
|
2979
2892
|
});
|
|
2980
2893
|
}
|
|
@@ -2987,12 +2900,11 @@ export const de_ListVpcEndpointsForDomainCommand = async (output, context) => {
|
|
|
2987
2900
|
$metadata: deserializeMetadata(output),
|
|
2988
2901
|
});
|
|
2989
2902
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
}
|
|
2903
|
+
const doc = take(data, {
|
|
2904
|
+
NextToken: __expectString,
|
|
2905
|
+
VpcEndpointSummaryList: _json,
|
|
2906
|
+
});
|
|
2907
|
+
Object.assign(contents, doc);
|
|
2996
2908
|
return contents;
|
|
2997
2909
|
};
|
|
2998
2910
|
const de_ListVpcEndpointsForDomainCommandError = async (output, context) => {
|
|
@@ -3016,10 +2928,9 @@ const de_ListVpcEndpointsForDomainCommandError = async (output, context) => {
|
|
|
3016
2928
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3017
2929
|
default:
|
|
3018
2930
|
const parsedBody = parsedOutput.body;
|
|
3019
|
-
throwDefaultError({
|
|
2931
|
+
return throwDefaultError({
|
|
3020
2932
|
output,
|
|
3021
2933
|
parsedBody,
|
|
3022
|
-
exceptionCtor: __BaseException,
|
|
3023
2934
|
errorCode,
|
|
3024
2935
|
});
|
|
3025
2936
|
}
|
|
@@ -3032,12 +2943,11 @@ export const de_PurchaseReservedInstanceOfferingCommand = async (output, context
|
|
|
3032
2943
|
$metadata: deserializeMetadata(output),
|
|
3033
2944
|
});
|
|
3034
2945
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
}
|
|
2946
|
+
const doc = take(data, {
|
|
2947
|
+
ReservationName: __expectString,
|
|
2948
|
+
ReservedInstanceId: __expectString,
|
|
2949
|
+
});
|
|
2950
|
+
Object.assign(contents, doc);
|
|
3041
2951
|
return contents;
|
|
3042
2952
|
};
|
|
3043
2953
|
const de_PurchaseReservedInstanceOfferingCommandError = async (output, context) => {
|
|
@@ -3067,10 +2977,9 @@ const de_PurchaseReservedInstanceOfferingCommandError = async (output, context)
|
|
|
3067
2977
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3068
2978
|
default:
|
|
3069
2979
|
const parsedBody = parsedOutput.body;
|
|
3070
|
-
throwDefaultError({
|
|
2980
|
+
return throwDefaultError({
|
|
3071
2981
|
output,
|
|
3072
2982
|
parsedBody,
|
|
3073
|
-
exceptionCtor: __BaseException,
|
|
3074
2983
|
errorCode,
|
|
3075
2984
|
});
|
|
3076
2985
|
}
|
|
@@ -3083,9 +2992,10 @@ export const de_RejectInboundConnectionCommand = async (output, context) => {
|
|
|
3083
2992
|
$metadata: deserializeMetadata(output),
|
|
3084
2993
|
});
|
|
3085
2994
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
}
|
|
2995
|
+
const doc = take(data, {
|
|
2996
|
+
Connection: _json,
|
|
2997
|
+
});
|
|
2998
|
+
Object.assign(contents, doc);
|
|
3089
2999
|
return contents;
|
|
3090
3000
|
};
|
|
3091
3001
|
const de_RejectInboundConnectionCommandError = async (output, context) => {
|
|
@@ -3103,10 +3013,9 @@ const de_RejectInboundConnectionCommandError = async (output, context) => {
|
|
|
3103
3013
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3104
3014
|
default:
|
|
3105
3015
|
const parsedBody = parsedOutput.body;
|
|
3106
|
-
throwDefaultError({
|
|
3016
|
+
return throwDefaultError({
|
|
3107
3017
|
output,
|
|
3108
3018
|
parsedBody,
|
|
3109
|
-
exceptionCtor: __BaseException,
|
|
3110
3019
|
errorCode,
|
|
3111
3020
|
});
|
|
3112
3021
|
}
|
|
@@ -3139,10 +3048,9 @@ const de_RemoveTagsCommandError = async (output, context) => {
|
|
|
3139
3048
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3140
3049
|
default:
|
|
3141
3050
|
const parsedBody = parsedOutput.body;
|
|
3142
|
-
throwDefaultError({
|
|
3051
|
+
return throwDefaultError({
|
|
3143
3052
|
output,
|
|
3144
3053
|
parsedBody,
|
|
3145
|
-
exceptionCtor: __BaseException,
|
|
3146
3054
|
errorCode,
|
|
3147
3055
|
});
|
|
3148
3056
|
}
|
|
@@ -3181,10 +3089,9 @@ const de_RevokeVpcEndpointAccessCommandError = async (output, context) => {
|
|
|
3181
3089
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3182
3090
|
default:
|
|
3183
3091
|
const parsedBody = parsedOutput.body;
|
|
3184
|
-
throwDefaultError({
|
|
3092
|
+
return throwDefaultError({
|
|
3185
3093
|
output,
|
|
3186
3094
|
parsedBody,
|
|
3187
|
-
exceptionCtor: __BaseException,
|
|
3188
3095
|
errorCode,
|
|
3189
3096
|
});
|
|
3190
3097
|
}
|
|
@@ -3197,9 +3104,10 @@ export const de_StartServiceSoftwareUpdateCommand = async (output, context) => {
|
|
|
3197
3104
|
$metadata: deserializeMetadata(output),
|
|
3198
3105
|
});
|
|
3199
3106
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
}
|
|
3107
|
+
const doc = take(data, {
|
|
3108
|
+
ServiceSoftwareOptions: (_) => de_ServiceSoftwareOptions(_, context),
|
|
3109
|
+
});
|
|
3110
|
+
Object.assign(contents, doc);
|
|
3203
3111
|
return contents;
|
|
3204
3112
|
};
|
|
3205
3113
|
const de_StartServiceSoftwareUpdateCommandError = async (output, context) => {
|
|
@@ -3223,10 +3131,9 @@ const de_StartServiceSoftwareUpdateCommandError = async (output, context) => {
|
|
|
3223
3131
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3224
3132
|
default:
|
|
3225
3133
|
const parsedBody = parsedOutput.body;
|
|
3226
|
-
throwDefaultError({
|
|
3134
|
+
return throwDefaultError({
|
|
3227
3135
|
output,
|
|
3228
3136
|
parsedBody,
|
|
3229
|
-
exceptionCtor: __BaseException,
|
|
3230
3137
|
errorCode,
|
|
3231
3138
|
});
|
|
3232
3139
|
}
|
|
@@ -3239,15 +3146,12 @@ export const de_UpdateDomainConfigCommand = async (output, context) => {
|
|
|
3239
3146
|
$metadata: deserializeMetadata(output),
|
|
3240
3147
|
});
|
|
3241
3148
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
if (data.DryRunResults != null) {
|
|
3249
|
-
contents.DryRunResults = de_DryRunResults(data.DryRunResults, context);
|
|
3250
|
-
}
|
|
3149
|
+
const doc = take(data, {
|
|
3150
|
+
DomainConfig: (_) => de_DomainConfig(_, context),
|
|
3151
|
+
DryRunProgressStatus: _json,
|
|
3152
|
+
DryRunResults: _json,
|
|
3153
|
+
});
|
|
3154
|
+
Object.assign(contents, doc);
|
|
3251
3155
|
return contents;
|
|
3252
3156
|
};
|
|
3253
3157
|
const de_UpdateDomainConfigCommandError = async (output, context) => {
|
|
@@ -3277,10 +3181,9 @@ const de_UpdateDomainConfigCommandError = async (output, context) => {
|
|
|
3277
3181
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3278
3182
|
default:
|
|
3279
3183
|
const parsedBody = parsedOutput.body;
|
|
3280
|
-
throwDefaultError({
|
|
3184
|
+
return throwDefaultError({
|
|
3281
3185
|
output,
|
|
3282
3186
|
parsedBody,
|
|
3283
|
-
exceptionCtor: __BaseException,
|
|
3284
3187
|
errorCode,
|
|
3285
3188
|
});
|
|
3286
3189
|
}
|
|
@@ -3293,9 +3196,10 @@ export const de_UpdatePackageCommand = async (output, context) => {
|
|
|
3293
3196
|
$metadata: deserializeMetadata(output),
|
|
3294
3197
|
});
|
|
3295
3198
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
}
|
|
3199
|
+
const doc = take(data, {
|
|
3200
|
+
PackageDetails: (_) => de_PackageDetails(_, context),
|
|
3201
|
+
});
|
|
3202
|
+
Object.assign(contents, doc);
|
|
3299
3203
|
return contents;
|
|
3300
3204
|
};
|
|
3301
3205
|
const de_UpdatePackageCommandError = async (output, context) => {
|
|
@@ -3325,10 +3229,9 @@ const de_UpdatePackageCommandError = async (output, context) => {
|
|
|
3325
3229
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3326
3230
|
default:
|
|
3327
3231
|
const parsedBody = parsedOutput.body;
|
|
3328
|
-
throwDefaultError({
|
|
3232
|
+
return throwDefaultError({
|
|
3329
3233
|
output,
|
|
3330
3234
|
parsedBody,
|
|
3331
|
-
exceptionCtor: __BaseException,
|
|
3332
3235
|
errorCode,
|
|
3333
3236
|
});
|
|
3334
3237
|
}
|
|
@@ -3341,9 +3244,10 @@ export const de_UpdateScheduledActionCommand = async (output, context) => {
|
|
|
3341
3244
|
$metadata: deserializeMetadata(output),
|
|
3342
3245
|
});
|
|
3343
3246
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
}
|
|
3247
|
+
const doc = take(data, {
|
|
3248
|
+
ScheduledAction: _json,
|
|
3249
|
+
});
|
|
3250
|
+
Object.assign(contents, doc);
|
|
3347
3251
|
return contents;
|
|
3348
3252
|
};
|
|
3349
3253
|
const de_UpdateScheduledActionCommandError = async (output, context) => {
|
|
@@ -3376,10 +3280,9 @@ const de_UpdateScheduledActionCommandError = async (output, context) => {
|
|
|
3376
3280
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3377
3281
|
default:
|
|
3378
3282
|
const parsedBody = parsedOutput.body;
|
|
3379
|
-
throwDefaultError({
|
|
3283
|
+
return throwDefaultError({
|
|
3380
3284
|
output,
|
|
3381
3285
|
parsedBody,
|
|
3382
|
-
exceptionCtor: __BaseException,
|
|
3383
3286
|
errorCode,
|
|
3384
3287
|
});
|
|
3385
3288
|
}
|
|
@@ -3392,9 +3295,10 @@ export const de_UpdateVpcEndpointCommand = async (output, context) => {
|
|
|
3392
3295
|
$metadata: deserializeMetadata(output),
|
|
3393
3296
|
});
|
|
3394
3297
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
}
|
|
3298
|
+
const doc = take(data, {
|
|
3299
|
+
VpcEndpoint: _json,
|
|
3300
|
+
});
|
|
3301
|
+
Object.assign(contents, doc);
|
|
3398
3302
|
return contents;
|
|
3399
3303
|
};
|
|
3400
3304
|
const de_UpdateVpcEndpointCommandError = async (output, context) => {
|
|
@@ -3424,10 +3328,9 @@ const de_UpdateVpcEndpointCommandError = async (output, context) => {
|
|
|
3424
3328
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3425
3329
|
default:
|
|
3426
3330
|
const parsedBody = parsedOutput.body;
|
|
3427
|
-
throwDefaultError({
|
|
3331
|
+
return throwDefaultError({
|
|
3428
3332
|
output,
|
|
3429
3333
|
parsedBody,
|
|
3430
|
-
exceptionCtor: __BaseException,
|
|
3431
3334
|
errorCode,
|
|
3432
3335
|
});
|
|
3433
3336
|
}
|
|
@@ -3440,24 +3343,15 @@ export const de_UpgradeDomainCommand = async (output, context) => {
|
|
|
3440
3343
|
$metadata: deserializeMetadata(output),
|
|
3441
3344
|
});
|
|
3442
3345
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
if (data.PerformCheckOnly != null) {
|
|
3453
|
-
contents.PerformCheckOnly = __expectBoolean(data.PerformCheckOnly);
|
|
3454
|
-
}
|
|
3455
|
-
if (data.TargetVersion != null) {
|
|
3456
|
-
contents.TargetVersion = __expectString(data.TargetVersion);
|
|
3457
|
-
}
|
|
3458
|
-
if (data.UpgradeId != null) {
|
|
3459
|
-
contents.UpgradeId = __expectString(data.UpgradeId);
|
|
3460
|
-
}
|
|
3346
|
+
const doc = take(data, {
|
|
3347
|
+
AdvancedOptions: _json,
|
|
3348
|
+
ChangeProgressDetails: _json,
|
|
3349
|
+
DomainName: __expectString,
|
|
3350
|
+
PerformCheckOnly: __expectBoolean,
|
|
3351
|
+
TargetVersion: __expectString,
|
|
3352
|
+
UpgradeId: __expectString,
|
|
3353
|
+
});
|
|
3354
|
+
Object.assign(contents, doc);
|
|
3461
3355
|
return contents;
|
|
3462
3356
|
};
|
|
3463
3357
|
const de_UpgradeDomainCommandError = async (output, context) => {
|
|
@@ -3487,21 +3381,21 @@ const de_UpgradeDomainCommandError = async (output, context) => {
|
|
|
3487
3381
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3488
3382
|
default:
|
|
3489
3383
|
const parsedBody = parsedOutput.body;
|
|
3490
|
-
throwDefaultError({
|
|
3384
|
+
return throwDefaultError({
|
|
3491
3385
|
output,
|
|
3492
3386
|
parsedBody,
|
|
3493
|
-
exceptionCtor: __BaseException,
|
|
3494
3387
|
errorCode,
|
|
3495
3388
|
});
|
|
3496
3389
|
}
|
|
3497
3390
|
};
|
|
3498
|
-
const
|
|
3391
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3499
3392
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3500
3393
|
const contents = map({});
|
|
3501
3394
|
const data = parsedOutput.body;
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
}
|
|
3395
|
+
const doc = take(data, {
|
|
3396
|
+
message: __expectString,
|
|
3397
|
+
});
|
|
3398
|
+
Object.assign(contents, doc);
|
|
3505
3399
|
const exception = new AccessDeniedException({
|
|
3506
3400
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3507
3401
|
...contents,
|
|
@@ -3511,9 +3405,10 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3511
3405
|
const de_BaseExceptionRes = async (parsedOutput, context) => {
|
|
3512
3406
|
const contents = map({});
|
|
3513
3407
|
const data = parsedOutput.body;
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
}
|
|
3408
|
+
const doc = take(data, {
|
|
3409
|
+
message: __expectString,
|
|
3410
|
+
});
|
|
3411
|
+
Object.assign(contents, doc);
|
|
3517
3412
|
const exception = new BaseException({
|
|
3518
3413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3519
3414
|
...contents,
|
|
@@ -3523,9 +3418,10 @@ const de_BaseExceptionRes = async (parsedOutput, context) => {
|
|
|
3523
3418
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3524
3419
|
const contents = map({});
|
|
3525
3420
|
const data = parsedOutput.body;
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
}
|
|
3421
|
+
const doc = take(data, {
|
|
3422
|
+
message: __expectString,
|
|
3423
|
+
});
|
|
3424
|
+
Object.assign(contents, doc);
|
|
3529
3425
|
const exception = new ConflictException({
|
|
3530
3426
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3531
3427
|
...contents,
|
|
@@ -3535,9 +3431,10 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3535
3431
|
const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
|
|
3536
3432
|
const contents = map({});
|
|
3537
3433
|
const data = parsedOutput.body;
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
}
|
|
3434
|
+
const doc = take(data, {
|
|
3435
|
+
message: __expectString,
|
|
3436
|
+
});
|
|
3437
|
+
Object.assign(contents, doc);
|
|
3541
3438
|
const exception = new DisabledOperationException({
|
|
3542
3439
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3543
3440
|
...contents,
|
|
@@ -3547,9 +3444,10 @@ const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
3547
3444
|
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
3548
3445
|
const contents = map({});
|
|
3549
3446
|
const data = parsedOutput.body;
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
}
|
|
3447
|
+
const doc = take(data, {
|
|
3448
|
+
message: __expectString,
|
|
3449
|
+
});
|
|
3450
|
+
Object.assign(contents, doc);
|
|
3553
3451
|
const exception = new InternalException({
|
|
3554
3452
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3555
3453
|
...contents,
|
|
@@ -3559,9 +3457,10 @@ const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
|
3559
3457
|
const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
3560
3458
|
const contents = map({});
|
|
3561
3459
|
const data = parsedOutput.body;
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
}
|
|
3460
|
+
const doc = take(data, {
|
|
3461
|
+
message: __expectString,
|
|
3462
|
+
});
|
|
3463
|
+
Object.assign(contents, doc);
|
|
3565
3464
|
const exception = new InvalidPaginationTokenException({
|
|
3566
3465
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3567
3466
|
...contents,
|
|
@@ -3571,9 +3470,10 @@ const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
3571
3470
|
const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
|
|
3572
3471
|
const contents = map({});
|
|
3573
3472
|
const data = parsedOutput.body;
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
}
|
|
3473
|
+
const doc = take(data, {
|
|
3474
|
+
message: __expectString,
|
|
3475
|
+
});
|
|
3476
|
+
Object.assign(contents, doc);
|
|
3577
3477
|
const exception = new InvalidTypeException({
|
|
3578
3478
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3579
3479
|
...contents,
|
|
@@ -3583,9 +3483,10 @@ const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
|
|
|
3583
3483
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3584
3484
|
const contents = map({});
|
|
3585
3485
|
const data = parsedOutput.body;
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
}
|
|
3486
|
+
const doc = take(data, {
|
|
3487
|
+
message: __expectString,
|
|
3488
|
+
});
|
|
3489
|
+
Object.assign(contents, doc);
|
|
3589
3490
|
const exception = new LimitExceededException({
|
|
3590
3491
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3591
3492
|
...contents,
|
|
@@ -3595,9 +3496,10 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3595
3496
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3596
3497
|
const contents = map({});
|
|
3597
3498
|
const data = parsedOutput.body;
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
}
|
|
3499
|
+
const doc = take(data, {
|
|
3500
|
+
message: __expectString,
|
|
3501
|
+
});
|
|
3502
|
+
Object.assign(contents, doc);
|
|
3601
3503
|
const exception = new ResourceAlreadyExistsException({
|
|
3602
3504
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3603
3505
|
...contents,
|
|
@@ -3607,9 +3509,10 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3607
3509
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3608
3510
|
const contents = map({});
|
|
3609
3511
|
const data = parsedOutput.body;
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
}
|
|
3512
|
+
const doc = take(data, {
|
|
3513
|
+
message: __expectString,
|
|
3514
|
+
});
|
|
3515
|
+
Object.assign(contents, doc);
|
|
3613
3516
|
const exception = new ResourceNotFoundException({
|
|
3614
3517
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3615
3518
|
...contents,
|
|
@@ -3619,12 +3522,11 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3619
3522
|
const de_SlotNotAvailableExceptionRes = async (parsedOutput, context) => {
|
|
3620
3523
|
const contents = map({});
|
|
3621
3524
|
const data = parsedOutput.body;
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
}
|
|
3525
|
+
const doc = take(data, {
|
|
3526
|
+
SlotSuggestions: _json,
|
|
3527
|
+
message: __expectString,
|
|
3528
|
+
});
|
|
3529
|
+
Object.assign(contents, doc);
|
|
3628
3530
|
const exception = new SlotNotAvailableException({
|
|
3629
3531
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3630
3532
|
...contents,
|
|
@@ -3634,45 +3536,22 @@ const de_SlotNotAvailableExceptionRes = async (parsedOutput, context) => {
|
|
|
3634
3536
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3635
3537
|
const contents = map({});
|
|
3636
3538
|
const data = parsedOutput.body;
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
}
|
|
3539
|
+
const doc = take(data, {
|
|
3540
|
+
message: __expectString,
|
|
3541
|
+
});
|
|
3542
|
+
Object.assign(contents, doc);
|
|
3640
3543
|
const exception = new ValidationException({
|
|
3641
3544
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3642
3545
|
...contents,
|
|
3643
3546
|
});
|
|
3644
3547
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3645
3548
|
};
|
|
3646
|
-
const se_AdvancedOptions = (input, context) => {
|
|
3647
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3648
|
-
if (value === null) {
|
|
3649
|
-
return acc;
|
|
3650
|
-
}
|
|
3651
|
-
acc[key] = value;
|
|
3652
|
-
return acc;
|
|
3653
|
-
}, {});
|
|
3654
|
-
};
|
|
3655
|
-
const se_AdvancedSecurityOptionsInput = (input, context) => {
|
|
3656
|
-
return {
|
|
3657
|
-
...(input.AnonymousAuthEnabled != null && { AnonymousAuthEnabled: input.AnonymousAuthEnabled }),
|
|
3658
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3659
|
-
...(input.InternalUserDatabaseEnabled != null && {
|
|
3660
|
-
InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled,
|
|
3661
|
-
}),
|
|
3662
|
-
...(input.MasterUserOptions != null && {
|
|
3663
|
-
MasterUserOptions: se_MasterUserOptions(input.MasterUserOptions, context),
|
|
3664
|
-
}),
|
|
3665
|
-
...(input.SAMLOptions != null && { SAMLOptions: se_SAMLOptionsInput(input.SAMLOptions, context) }),
|
|
3666
|
-
};
|
|
3667
|
-
};
|
|
3668
3549
|
const se_AutoTuneMaintenanceSchedule = (input, context) => {
|
|
3669
|
-
return {
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
...(input.StartAt != null && { StartAt: Math.round(input.StartAt.getTime() / 1000) }),
|
|
3675
|
-
};
|
|
3550
|
+
return take(input, {
|
|
3551
|
+
CronExpressionForRecurrence: [],
|
|
3552
|
+
Duration: _json,
|
|
3553
|
+
StartAt: (_) => Math.round(_.getTime() / 1000),
|
|
3554
|
+
});
|
|
3676
3555
|
};
|
|
3677
3556
|
const se_AutoTuneMaintenanceScheduleList = (input, context) => {
|
|
3678
3557
|
return input
|
|
@@ -3682,1363 +3561,441 @@ const se_AutoTuneMaintenanceScheduleList = (input, context) => {
|
|
|
3682
3561
|
});
|
|
3683
3562
|
};
|
|
3684
3563
|
const se_AutoTuneOptions = (input, context) => {
|
|
3685
|
-
return {
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
...(input.UseOffPeakWindow != null && { UseOffPeakWindow: input.UseOffPeakWindow }),
|
|
3692
|
-
};
|
|
3564
|
+
return take(input, {
|
|
3565
|
+
DesiredState: [],
|
|
3566
|
+
MaintenanceSchedules: (_) => se_AutoTuneMaintenanceScheduleList(_, context),
|
|
3567
|
+
RollbackOnDisable: [],
|
|
3568
|
+
UseOffPeakWindow: [],
|
|
3569
|
+
});
|
|
3693
3570
|
};
|
|
3694
3571
|
const se_AutoTuneOptionsInput = (input, context) => {
|
|
3695
|
-
return {
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
...(input.UseOffPeakWindow != null && { UseOffPeakWindow: input.UseOffPeakWindow }),
|
|
3701
|
-
};
|
|
3572
|
+
return take(input, {
|
|
3573
|
+
DesiredState: [],
|
|
3574
|
+
MaintenanceSchedules: (_) => se_AutoTuneMaintenanceScheduleList(_, context),
|
|
3575
|
+
UseOffPeakWindow: [],
|
|
3576
|
+
});
|
|
3702
3577
|
};
|
|
3703
|
-
const
|
|
3704
|
-
return {
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
};
|
|
3578
|
+
const de_AccessPoliciesStatus = (output, context) => {
|
|
3579
|
+
return take(output, {
|
|
3580
|
+
Options: __expectString,
|
|
3581
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3582
|
+
});
|
|
3709
3583
|
};
|
|
3710
|
-
const
|
|
3711
|
-
return {
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
...(input.DedicatedMasterCount != null && { DedicatedMasterCount: input.DedicatedMasterCount }),
|
|
3716
|
-
...(input.DedicatedMasterEnabled != null && { DedicatedMasterEnabled: input.DedicatedMasterEnabled }),
|
|
3717
|
-
...(input.DedicatedMasterType != null && { DedicatedMasterType: input.DedicatedMasterType }),
|
|
3718
|
-
...(input.InstanceCount != null && { InstanceCount: input.InstanceCount }),
|
|
3719
|
-
...(input.InstanceType != null && { InstanceType: input.InstanceType }),
|
|
3720
|
-
...(input.WarmCount != null && { WarmCount: input.WarmCount }),
|
|
3721
|
-
...(input.WarmEnabled != null && { WarmEnabled: input.WarmEnabled }),
|
|
3722
|
-
...(input.WarmType != null && { WarmType: input.WarmType }),
|
|
3723
|
-
...(input.ZoneAwarenessConfig != null && {
|
|
3724
|
-
ZoneAwarenessConfig: se_ZoneAwarenessConfig(input.ZoneAwarenessConfig, context),
|
|
3725
|
-
}),
|
|
3726
|
-
...(input.ZoneAwarenessEnabled != null && { ZoneAwarenessEnabled: input.ZoneAwarenessEnabled }),
|
|
3727
|
-
};
|
|
3584
|
+
const de_AdvancedOptionsStatus = (output, context) => {
|
|
3585
|
+
return take(output, {
|
|
3586
|
+
Options: _json,
|
|
3587
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3588
|
+
});
|
|
3728
3589
|
};
|
|
3729
|
-
const
|
|
3730
|
-
return {
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3590
|
+
const de_AdvancedSecurityOptions = (output, context) => {
|
|
3591
|
+
return take(output, {
|
|
3592
|
+
AnonymousAuthDisableDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3593
|
+
AnonymousAuthEnabled: __expectBoolean,
|
|
3594
|
+
Enabled: __expectBoolean,
|
|
3595
|
+
InternalUserDatabaseEnabled: __expectBoolean,
|
|
3596
|
+
SAMLOptions: _json,
|
|
3597
|
+
});
|
|
3736
3598
|
};
|
|
3737
|
-
const
|
|
3738
|
-
return {
|
|
3739
|
-
|
|
3740
|
-
|
|
3599
|
+
const de_AdvancedSecurityOptionsStatus = (output, context) => {
|
|
3600
|
+
return take(output, {
|
|
3601
|
+
Options: (_) => de_AdvancedSecurityOptions(_, context),
|
|
3602
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3603
|
+
});
|
|
3741
3604
|
};
|
|
3742
|
-
const
|
|
3743
|
-
return {
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
};
|
|
3605
|
+
const de_AutoTune = (output, context) => {
|
|
3606
|
+
return take(output, {
|
|
3607
|
+
AutoTuneDetails: (_) => de_AutoTuneDetails(_, context),
|
|
3608
|
+
AutoTuneType: __expectString,
|
|
3609
|
+
});
|
|
3747
3610
|
};
|
|
3748
|
-
const
|
|
3749
|
-
return
|
|
3750
|
-
|
|
3751
|
-
.map((entry) => {
|
|
3752
|
-
return se_DescribePackagesFilter(entry, context);
|
|
3611
|
+
const de_AutoTuneDetails = (output, context) => {
|
|
3612
|
+
return take(output, {
|
|
3613
|
+
ScheduledAutoTuneDetails: (_) => de_ScheduledAutoTuneDetails(_, context),
|
|
3753
3614
|
});
|
|
3754
3615
|
};
|
|
3755
|
-
const
|
|
3756
|
-
|
|
3616
|
+
const de_AutoTuneList = (output, context) => {
|
|
3617
|
+
const retVal = (output || [])
|
|
3757
3618
|
.filter((e) => e != null)
|
|
3758
3619
|
.map((entry) => {
|
|
3759
|
-
return entry;
|
|
3760
|
-
});
|
|
3761
|
-
|
|
3762
|
-
const se_DomainEndpointOptions = (input, context) => {
|
|
3763
|
-
return {
|
|
3764
|
-
...(input.CustomEndpoint != null && { CustomEndpoint: input.CustomEndpoint }),
|
|
3765
|
-
...(input.CustomEndpointCertificateArn != null && {
|
|
3766
|
-
CustomEndpointCertificateArn: input.CustomEndpointCertificateArn,
|
|
3767
|
-
}),
|
|
3768
|
-
...(input.CustomEndpointEnabled != null && { CustomEndpointEnabled: input.CustomEndpointEnabled }),
|
|
3769
|
-
...(input.EnforceHTTPS != null && { EnforceHTTPS: input.EnforceHTTPS }),
|
|
3770
|
-
...(input.TLSSecurityPolicy != null && { TLSSecurityPolicy: input.TLSSecurityPolicy }),
|
|
3771
|
-
};
|
|
3620
|
+
return de_AutoTune(entry, context);
|
|
3621
|
+
});
|
|
3622
|
+
return retVal;
|
|
3772
3623
|
};
|
|
3773
|
-
const
|
|
3774
|
-
return {
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
};
|
|
3624
|
+
const de_AutoTuneMaintenanceSchedule = (output, context) => {
|
|
3625
|
+
return take(output, {
|
|
3626
|
+
CronExpressionForRecurrence: __expectString,
|
|
3627
|
+
Duration: _json,
|
|
3628
|
+
StartAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3629
|
+
});
|
|
3779
3630
|
};
|
|
3780
|
-
const
|
|
3781
|
-
|
|
3631
|
+
const de_AutoTuneMaintenanceScheduleList = (output, context) => {
|
|
3632
|
+
const retVal = (output || [])
|
|
3782
3633
|
.filter((e) => e != null)
|
|
3783
3634
|
.map((entry) => {
|
|
3784
|
-
return entry;
|
|
3635
|
+
return de_AutoTuneMaintenanceSchedule(entry, context);
|
|
3785
3636
|
});
|
|
3637
|
+
return retVal;
|
|
3786
3638
|
};
|
|
3787
|
-
const
|
|
3788
|
-
return {
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3639
|
+
const de_AutoTuneOptions = (output, context) => {
|
|
3640
|
+
return take(output, {
|
|
3641
|
+
DesiredState: __expectString,
|
|
3642
|
+
MaintenanceSchedules: (_) => de_AutoTuneMaintenanceScheduleList(_, context),
|
|
3643
|
+
RollbackOnDisable: __expectString,
|
|
3644
|
+
UseOffPeakWindow: __expectBoolean,
|
|
3645
|
+
});
|
|
3792
3646
|
};
|
|
3793
|
-
const
|
|
3794
|
-
return {
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
|
|
3799
|
-
...(input.VolumeType != null && { VolumeType: input.VolumeType }),
|
|
3800
|
-
};
|
|
3647
|
+
const de_AutoTuneOptionsStatus = (output, context) => {
|
|
3648
|
+
return take(output, {
|
|
3649
|
+
Options: (_) => de_AutoTuneOptions(_, context),
|
|
3650
|
+
Status: (_) => de_AutoTuneStatus(_, context),
|
|
3651
|
+
});
|
|
3801
3652
|
};
|
|
3802
|
-
const
|
|
3803
|
-
return {
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3653
|
+
const de_AutoTuneStatus = (output, context) => {
|
|
3654
|
+
return take(output, {
|
|
3655
|
+
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3656
|
+
ErrorMessage: __expectString,
|
|
3657
|
+
PendingDeletion: __expectBoolean,
|
|
3658
|
+
State: __expectString,
|
|
3659
|
+
UpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3660
|
+
UpdateVersion: __expectInt32,
|
|
3661
|
+
});
|
|
3807
3662
|
};
|
|
3808
|
-
const
|
|
3809
|
-
return {
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3663
|
+
const de_ChangeProgressStage = (output, context) => {
|
|
3664
|
+
return take(output, {
|
|
3665
|
+
Description: __expectString,
|
|
3666
|
+
LastUpdated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3667
|
+
Name: __expectString,
|
|
3668
|
+
Status: __expectString,
|
|
3669
|
+
});
|
|
3813
3670
|
};
|
|
3814
|
-
const
|
|
3815
|
-
|
|
3671
|
+
const de_ChangeProgressStageList = (output, context) => {
|
|
3672
|
+
const retVal = (output || [])
|
|
3816
3673
|
.filter((e) => e != null)
|
|
3817
3674
|
.map((entry) => {
|
|
3818
|
-
return
|
|
3675
|
+
return de_ChangeProgressStage(entry, context);
|
|
3819
3676
|
});
|
|
3677
|
+
return retVal;
|
|
3820
3678
|
};
|
|
3821
|
-
const
|
|
3822
|
-
return {
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3679
|
+
const de_ChangeProgressStatusDetails = (output, context) => {
|
|
3680
|
+
return take(output, {
|
|
3681
|
+
ChangeId: __expectString,
|
|
3682
|
+
ChangeProgressStages: (_) => de_ChangeProgressStageList(_, context),
|
|
3683
|
+
CompletedProperties: _json,
|
|
3684
|
+
PendingProperties: _json,
|
|
3685
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3686
|
+
Status: __expectString,
|
|
3687
|
+
TotalNumberOfStages: __expectInt32,
|
|
3688
|
+
});
|
|
3826
3689
|
};
|
|
3827
|
-
const
|
|
3828
|
-
return
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
acc[key] = se_LogPublishingOption(value, context);
|
|
3833
|
-
return acc;
|
|
3834
|
-
}, {});
|
|
3835
|
-
};
|
|
3836
|
-
const se_MasterUserOptions = (input, context) => {
|
|
3837
|
-
return {
|
|
3838
|
-
...(input.MasterUserARN != null && { MasterUserARN: input.MasterUserARN }),
|
|
3839
|
-
...(input.MasterUserName != null && { MasterUserName: input.MasterUserName }),
|
|
3840
|
-
...(input.MasterUserPassword != null && { MasterUserPassword: input.MasterUserPassword }),
|
|
3841
|
-
};
|
|
3690
|
+
const de_ClusterConfigStatus = (output, context) => {
|
|
3691
|
+
return take(output, {
|
|
3692
|
+
Options: _json,
|
|
3693
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3694
|
+
});
|
|
3842
3695
|
};
|
|
3843
|
-
const
|
|
3844
|
-
return {
|
|
3845
|
-
|
|
3846
|
-
|
|
3696
|
+
const de_CognitoOptionsStatus = (output, context) => {
|
|
3697
|
+
return take(output, {
|
|
3698
|
+
Options: _json,
|
|
3699
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3700
|
+
});
|
|
3847
3701
|
};
|
|
3848
|
-
const
|
|
3849
|
-
return {
|
|
3850
|
-
|
|
3851
|
-
|
|
3702
|
+
const de_DomainConfig = (output, context) => {
|
|
3703
|
+
return take(output, {
|
|
3704
|
+
AccessPolicies: (_) => de_AccessPoliciesStatus(_, context),
|
|
3705
|
+
AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
|
|
3706
|
+
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
|
|
3707
|
+
AutoTuneOptions: (_) => de_AutoTuneOptionsStatus(_, context),
|
|
3708
|
+
ChangeProgressDetails: _json,
|
|
3709
|
+
ClusterConfig: (_) => de_ClusterConfigStatus(_, context),
|
|
3710
|
+
CognitoOptions: (_) => de_CognitoOptionsStatus(_, context),
|
|
3711
|
+
DomainEndpointOptions: (_) => de_DomainEndpointOptionsStatus(_, context),
|
|
3712
|
+
EBSOptions: (_) => de_EBSOptionsStatus(_, context),
|
|
3713
|
+
EncryptionAtRestOptions: (_) => de_EncryptionAtRestOptionsStatus(_, context),
|
|
3714
|
+
EngineVersion: (_) => de_VersionStatus(_, context),
|
|
3715
|
+
LogPublishingOptions: (_) => de_LogPublishingOptionsStatus(_, context),
|
|
3716
|
+
NodeToNodeEncryptionOptions: (_) => de_NodeToNodeEncryptionOptionsStatus(_, context),
|
|
3717
|
+
OffPeakWindowOptions: (_) => de_OffPeakWindowOptionsStatus(_, context),
|
|
3718
|
+
SnapshotOptions: (_) => de_SnapshotOptionsStatus(_, context),
|
|
3719
|
+
SoftwareUpdateOptions: (_) => de_SoftwareUpdateOptionsStatus(_, context),
|
|
3720
|
+
VPCOptions: (_) => de_VPCDerivedInfoStatus(_, context),
|
|
3721
|
+
});
|
|
3852
3722
|
};
|
|
3853
|
-
const
|
|
3854
|
-
return {
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
};
|
|
3858
|
-
};
|
|
3859
|
-
const se_PackageSource = (input, context) => {
|
|
3860
|
-
return {
|
|
3861
|
-
...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
|
|
3862
|
-
...(input.S3Key != null && { S3Key: input.S3Key }),
|
|
3863
|
-
};
|
|
3864
|
-
};
|
|
3865
|
-
const se_SAMLIdp = (input, context) => {
|
|
3866
|
-
return {
|
|
3867
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
3868
|
-
...(input.MetadataContent != null && { MetadataContent: input.MetadataContent }),
|
|
3869
|
-
};
|
|
3870
|
-
};
|
|
3871
|
-
const se_SAMLOptionsInput = (input, context) => {
|
|
3872
|
-
return {
|
|
3873
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3874
|
-
...(input.Idp != null && { Idp: se_SAMLIdp(input.Idp, context) }),
|
|
3875
|
-
...(input.MasterBackendRole != null && { MasterBackendRole: input.MasterBackendRole }),
|
|
3876
|
-
...(input.MasterUserName != null && { MasterUserName: input.MasterUserName }),
|
|
3877
|
-
...(input.RolesKey != null && { RolesKey: input.RolesKey }),
|
|
3878
|
-
...(input.SessionTimeoutMinutes != null && { SessionTimeoutMinutes: input.SessionTimeoutMinutes }),
|
|
3879
|
-
...(input.SubjectKey != null && { SubjectKey: input.SubjectKey }),
|
|
3880
|
-
};
|
|
3881
|
-
};
|
|
3882
|
-
const se_SnapshotOptions = (input, context) => {
|
|
3883
|
-
return {
|
|
3884
|
-
...(input.AutomatedSnapshotStartHour != null && { AutomatedSnapshotStartHour: input.AutomatedSnapshotStartHour }),
|
|
3885
|
-
};
|
|
3886
|
-
};
|
|
3887
|
-
const se_SoftwareUpdateOptions = (input, context) => {
|
|
3888
|
-
return {
|
|
3889
|
-
...(input.AutoSoftwareUpdateEnabled != null && { AutoSoftwareUpdateEnabled: input.AutoSoftwareUpdateEnabled }),
|
|
3890
|
-
};
|
|
3891
|
-
};
|
|
3892
|
-
const se_StringList = (input, context) => {
|
|
3893
|
-
return input
|
|
3894
|
-
.filter((e) => e != null)
|
|
3895
|
-
.map((entry) => {
|
|
3896
|
-
return entry;
|
|
3897
|
-
});
|
|
3898
|
-
};
|
|
3899
|
-
const se_Tag = (input, context) => {
|
|
3900
|
-
return {
|
|
3901
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3902
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3903
|
-
};
|
|
3904
|
-
};
|
|
3905
|
-
const se_TagList = (input, context) => {
|
|
3906
|
-
return input
|
|
3907
|
-
.filter((e) => e != null)
|
|
3908
|
-
.map((entry) => {
|
|
3909
|
-
return se_Tag(entry, context);
|
|
3910
|
-
});
|
|
3911
|
-
};
|
|
3912
|
-
const se_ValueStringList = (input, context) => {
|
|
3913
|
-
return input
|
|
3914
|
-
.filter((e) => e != null)
|
|
3915
|
-
.map((entry) => {
|
|
3916
|
-
return entry;
|
|
3917
|
-
});
|
|
3918
|
-
};
|
|
3919
|
-
const se_VpcEndpointIdList = (input, context) => {
|
|
3920
|
-
return input
|
|
3921
|
-
.filter((e) => e != null)
|
|
3922
|
-
.map((entry) => {
|
|
3923
|
-
return entry;
|
|
3924
|
-
});
|
|
3925
|
-
};
|
|
3926
|
-
const se_VPCOptions = (input, context) => {
|
|
3927
|
-
return {
|
|
3928
|
-
...(input.SecurityGroupIds != null && { SecurityGroupIds: se_StringList(input.SecurityGroupIds, context) }),
|
|
3929
|
-
...(input.SubnetIds != null && { SubnetIds: se_StringList(input.SubnetIds, context) }),
|
|
3930
|
-
};
|
|
3931
|
-
};
|
|
3932
|
-
const se_WindowStartTime = (input, context) => {
|
|
3933
|
-
return {
|
|
3934
|
-
...(input.Hours != null && { Hours: input.Hours }),
|
|
3935
|
-
...(input.Minutes != null && { Minutes: input.Minutes }),
|
|
3936
|
-
};
|
|
3937
|
-
};
|
|
3938
|
-
const se_ZoneAwarenessConfig = (input, context) => {
|
|
3939
|
-
return {
|
|
3940
|
-
...(input.AvailabilityZoneCount != null && { AvailabilityZoneCount: input.AvailabilityZoneCount }),
|
|
3941
|
-
};
|
|
3942
|
-
};
|
|
3943
|
-
const de_AccessPoliciesStatus = (output, context) => {
|
|
3944
|
-
return {
|
|
3945
|
-
Options: __expectString(output.Options),
|
|
3946
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
3947
|
-
};
|
|
3948
|
-
};
|
|
3949
|
-
const de_AdditionalLimit = (output, context) => {
|
|
3950
|
-
return {
|
|
3951
|
-
LimitName: __expectString(output.LimitName),
|
|
3952
|
-
LimitValues: output.LimitValues != null ? de_LimitValueList(output.LimitValues, context) : undefined,
|
|
3953
|
-
};
|
|
3954
|
-
};
|
|
3955
|
-
const de_AdditionalLimitList = (output, context) => {
|
|
3956
|
-
const retVal = (output || [])
|
|
3957
|
-
.filter((e) => e != null)
|
|
3958
|
-
.map((entry) => {
|
|
3959
|
-
if (entry === null) {
|
|
3960
|
-
return null;
|
|
3961
|
-
}
|
|
3962
|
-
return de_AdditionalLimit(entry, context);
|
|
3963
|
-
});
|
|
3964
|
-
return retVal;
|
|
3965
|
-
};
|
|
3966
|
-
const de_AdvancedOptions = (output, context) => {
|
|
3967
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3968
|
-
if (value === null) {
|
|
3969
|
-
return acc;
|
|
3970
|
-
}
|
|
3971
|
-
acc[key] = __expectString(value);
|
|
3972
|
-
return acc;
|
|
3973
|
-
}, {});
|
|
3974
|
-
};
|
|
3975
|
-
const de_AdvancedOptionsStatus = (output, context) => {
|
|
3976
|
-
return {
|
|
3977
|
-
Options: output.Options != null ? de_AdvancedOptions(output.Options, context) : undefined,
|
|
3978
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
3979
|
-
};
|
|
3980
|
-
};
|
|
3981
|
-
const de_AdvancedSecurityOptions = (output, context) => {
|
|
3982
|
-
return {
|
|
3983
|
-
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate != null
|
|
3984
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AnonymousAuthDisableDate)))
|
|
3985
|
-
: undefined,
|
|
3986
|
-
AnonymousAuthEnabled: __expectBoolean(output.AnonymousAuthEnabled),
|
|
3987
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
3988
|
-
InternalUserDatabaseEnabled: __expectBoolean(output.InternalUserDatabaseEnabled),
|
|
3989
|
-
SAMLOptions: output.SAMLOptions != null ? de_SAMLOptionsOutput(output.SAMLOptions, context) : undefined,
|
|
3990
|
-
};
|
|
3991
|
-
};
|
|
3992
|
-
const de_AdvancedSecurityOptionsStatus = (output, context) => {
|
|
3993
|
-
return {
|
|
3994
|
-
Options: output.Options != null ? de_AdvancedSecurityOptions(output.Options, context) : undefined,
|
|
3995
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
3996
|
-
};
|
|
3997
|
-
};
|
|
3998
|
-
const de_AuthorizedPrincipal = (output, context) => {
|
|
3999
|
-
return {
|
|
4000
|
-
Principal: __expectString(output.Principal),
|
|
4001
|
-
PrincipalType: __expectString(output.PrincipalType),
|
|
4002
|
-
};
|
|
4003
|
-
};
|
|
4004
|
-
const de_AuthorizedPrincipalList = (output, context) => {
|
|
4005
|
-
const retVal = (output || [])
|
|
4006
|
-
.filter((e) => e != null)
|
|
4007
|
-
.map((entry) => {
|
|
4008
|
-
if (entry === null) {
|
|
4009
|
-
return null;
|
|
4010
|
-
}
|
|
4011
|
-
return de_AuthorizedPrincipal(entry, context);
|
|
4012
|
-
});
|
|
4013
|
-
return retVal;
|
|
4014
|
-
};
|
|
4015
|
-
const de_AutoTune = (output, context) => {
|
|
4016
|
-
return {
|
|
4017
|
-
AutoTuneDetails: output.AutoTuneDetails != null ? de_AutoTuneDetails(output.AutoTuneDetails, context) : undefined,
|
|
4018
|
-
AutoTuneType: __expectString(output.AutoTuneType),
|
|
4019
|
-
};
|
|
4020
|
-
};
|
|
4021
|
-
const de_AutoTuneDetails = (output, context) => {
|
|
4022
|
-
return {
|
|
4023
|
-
ScheduledAutoTuneDetails: output.ScheduledAutoTuneDetails != null
|
|
4024
|
-
? de_ScheduledAutoTuneDetails(output.ScheduledAutoTuneDetails, context)
|
|
4025
|
-
: undefined,
|
|
4026
|
-
};
|
|
4027
|
-
};
|
|
4028
|
-
const de_AutoTuneList = (output, context) => {
|
|
4029
|
-
const retVal = (output || [])
|
|
4030
|
-
.filter((e) => e != null)
|
|
4031
|
-
.map((entry) => {
|
|
4032
|
-
if (entry === null) {
|
|
4033
|
-
return null;
|
|
4034
|
-
}
|
|
4035
|
-
return de_AutoTune(entry, context);
|
|
4036
|
-
});
|
|
4037
|
-
return retVal;
|
|
4038
|
-
};
|
|
4039
|
-
const de_AutoTuneMaintenanceSchedule = (output, context) => {
|
|
4040
|
-
return {
|
|
4041
|
-
CronExpressionForRecurrence: __expectString(output.CronExpressionForRecurrence),
|
|
4042
|
-
Duration: output.Duration != null ? de_Duration(output.Duration, context) : undefined,
|
|
4043
|
-
StartAt: output.StartAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartAt))) : undefined,
|
|
4044
|
-
};
|
|
4045
|
-
};
|
|
4046
|
-
const de_AutoTuneMaintenanceScheduleList = (output, context) => {
|
|
4047
|
-
const retVal = (output || [])
|
|
4048
|
-
.filter((e) => e != null)
|
|
4049
|
-
.map((entry) => {
|
|
4050
|
-
if (entry === null) {
|
|
4051
|
-
return null;
|
|
4052
|
-
}
|
|
4053
|
-
return de_AutoTuneMaintenanceSchedule(entry, context);
|
|
4054
|
-
});
|
|
4055
|
-
return retVal;
|
|
4056
|
-
};
|
|
4057
|
-
const de_AutoTuneOptions = (output, context) => {
|
|
4058
|
-
return {
|
|
4059
|
-
DesiredState: __expectString(output.DesiredState),
|
|
4060
|
-
MaintenanceSchedules: output.MaintenanceSchedules != null
|
|
4061
|
-
? de_AutoTuneMaintenanceScheduleList(output.MaintenanceSchedules, context)
|
|
4062
|
-
: undefined,
|
|
4063
|
-
RollbackOnDisable: __expectString(output.RollbackOnDisable),
|
|
4064
|
-
UseOffPeakWindow: __expectBoolean(output.UseOffPeakWindow),
|
|
4065
|
-
};
|
|
4066
|
-
};
|
|
4067
|
-
const de_AutoTuneOptionsOutput = (output, context) => {
|
|
4068
|
-
return {
|
|
4069
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4070
|
-
State: __expectString(output.State),
|
|
4071
|
-
UseOffPeakWindow: __expectBoolean(output.UseOffPeakWindow),
|
|
4072
|
-
};
|
|
4073
|
-
};
|
|
4074
|
-
const de_AutoTuneOptionsStatus = (output, context) => {
|
|
4075
|
-
return {
|
|
4076
|
-
Options: output.Options != null ? de_AutoTuneOptions(output.Options, context) : undefined,
|
|
4077
|
-
Status: output.Status != null ? de_AutoTuneStatus(output.Status, context) : undefined,
|
|
4078
|
-
};
|
|
4079
|
-
};
|
|
4080
|
-
const de_AutoTuneStatus = (output, context) => {
|
|
4081
|
-
return {
|
|
4082
|
-
CreationDate: output.CreationDate != null
|
|
4083
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
4084
|
-
: undefined,
|
|
4085
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4086
|
-
PendingDeletion: __expectBoolean(output.PendingDeletion),
|
|
4087
|
-
State: __expectString(output.State),
|
|
4088
|
-
UpdateDate: output.UpdateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate))) : undefined,
|
|
4089
|
-
UpdateVersion: __expectInt32(output.UpdateVersion),
|
|
4090
|
-
};
|
|
4091
|
-
};
|
|
4092
|
-
const de_AWSDomainInformation = (output, context) => {
|
|
4093
|
-
return {
|
|
4094
|
-
DomainName: __expectString(output.DomainName),
|
|
4095
|
-
OwnerId: __expectString(output.OwnerId),
|
|
4096
|
-
Region: __expectString(output.Region),
|
|
4097
|
-
};
|
|
4098
|
-
};
|
|
4099
|
-
const de_ChangeProgressDetails = (output, context) => {
|
|
4100
|
-
return {
|
|
4101
|
-
ChangeId: __expectString(output.ChangeId),
|
|
4102
|
-
Message: __expectString(output.Message),
|
|
4103
|
-
};
|
|
4104
|
-
};
|
|
4105
|
-
const de_ChangeProgressStage = (output, context) => {
|
|
4106
|
-
return {
|
|
4107
|
-
Description: __expectString(output.Description),
|
|
4108
|
-
LastUpdated: output.LastUpdated != null
|
|
4109
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
4110
|
-
: undefined,
|
|
4111
|
-
Name: __expectString(output.Name),
|
|
4112
|
-
Status: __expectString(output.Status),
|
|
4113
|
-
};
|
|
4114
|
-
};
|
|
4115
|
-
const de_ChangeProgressStageList = (output, context) => {
|
|
4116
|
-
const retVal = (output || [])
|
|
4117
|
-
.filter((e) => e != null)
|
|
4118
|
-
.map((entry) => {
|
|
4119
|
-
if (entry === null) {
|
|
4120
|
-
return null;
|
|
4121
|
-
}
|
|
4122
|
-
return de_ChangeProgressStage(entry, context);
|
|
4123
|
-
});
|
|
4124
|
-
return retVal;
|
|
4125
|
-
};
|
|
4126
|
-
const de_ChangeProgressStatusDetails = (output, context) => {
|
|
4127
|
-
return {
|
|
4128
|
-
ChangeId: __expectString(output.ChangeId),
|
|
4129
|
-
ChangeProgressStages: output.ChangeProgressStages != null
|
|
4130
|
-
? de_ChangeProgressStageList(output.ChangeProgressStages, context)
|
|
4131
|
-
: undefined,
|
|
4132
|
-
CompletedProperties: output.CompletedProperties != null ? de_StringList(output.CompletedProperties, context) : undefined,
|
|
4133
|
-
PendingProperties: output.PendingProperties != null ? de_StringList(output.PendingProperties, context) : undefined,
|
|
4134
|
-
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4135
|
-
Status: __expectString(output.Status),
|
|
4136
|
-
TotalNumberOfStages: __expectInt32(output.TotalNumberOfStages),
|
|
4137
|
-
};
|
|
4138
|
-
};
|
|
4139
|
-
const de_ClusterConfig = (output, context) => {
|
|
4140
|
-
return {
|
|
4141
|
-
ColdStorageOptions: output.ColdStorageOptions != null ? de_ColdStorageOptions(output.ColdStorageOptions, context) : undefined,
|
|
4142
|
-
DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount),
|
|
4143
|
-
DedicatedMasterEnabled: __expectBoolean(output.DedicatedMasterEnabled),
|
|
4144
|
-
DedicatedMasterType: __expectString(output.DedicatedMasterType),
|
|
4145
|
-
InstanceCount: __expectInt32(output.InstanceCount),
|
|
4146
|
-
InstanceType: __expectString(output.InstanceType),
|
|
4147
|
-
WarmCount: __expectInt32(output.WarmCount),
|
|
4148
|
-
WarmEnabled: __expectBoolean(output.WarmEnabled),
|
|
4149
|
-
WarmType: __expectString(output.WarmType),
|
|
4150
|
-
ZoneAwarenessConfig: output.ZoneAwarenessConfig != null ? de_ZoneAwarenessConfig(output.ZoneAwarenessConfig, context) : undefined,
|
|
4151
|
-
ZoneAwarenessEnabled: __expectBoolean(output.ZoneAwarenessEnabled),
|
|
4152
|
-
};
|
|
4153
|
-
};
|
|
4154
|
-
const de_ClusterConfigStatus = (output, context) => {
|
|
4155
|
-
return {
|
|
4156
|
-
Options: output.Options != null ? de_ClusterConfig(output.Options, context) : undefined,
|
|
4157
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
4158
|
-
};
|
|
4159
|
-
};
|
|
4160
|
-
const de_CognitoOptions = (output, context) => {
|
|
4161
|
-
return {
|
|
4162
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4163
|
-
IdentityPoolId: __expectString(output.IdentityPoolId),
|
|
4164
|
-
RoleArn: __expectString(output.RoleArn),
|
|
4165
|
-
UserPoolId: __expectString(output.UserPoolId),
|
|
4166
|
-
};
|
|
4167
|
-
};
|
|
4168
|
-
const de_CognitoOptionsStatus = (output, context) => {
|
|
4169
|
-
return {
|
|
4170
|
-
Options: output.Options != null ? de_CognitoOptions(output.Options, context) : undefined,
|
|
4171
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
4172
|
-
};
|
|
4173
|
-
};
|
|
4174
|
-
const de_ColdStorageOptions = (output, context) => {
|
|
4175
|
-
return {
|
|
4176
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4177
|
-
};
|
|
4178
|
-
};
|
|
4179
|
-
const de_CompatibleVersionsList = (output, context) => {
|
|
4180
|
-
const retVal = (output || [])
|
|
4181
|
-
.filter((e) => e != null)
|
|
4182
|
-
.map((entry) => {
|
|
4183
|
-
if (entry === null) {
|
|
4184
|
-
return null;
|
|
4185
|
-
}
|
|
4186
|
-
return de_CompatibleVersionsMap(entry, context);
|
|
4187
|
-
});
|
|
4188
|
-
return retVal;
|
|
4189
|
-
};
|
|
4190
|
-
const de_CompatibleVersionsMap = (output, context) => {
|
|
4191
|
-
return {
|
|
4192
|
-
SourceVersion: __expectString(output.SourceVersion),
|
|
4193
|
-
TargetVersions: output.TargetVersions != null ? de_VersionList(output.TargetVersions, context) : undefined,
|
|
4194
|
-
};
|
|
4195
|
-
};
|
|
4196
|
-
const de_ConnectionProperties = (output, context) => {
|
|
4197
|
-
return {
|
|
4198
|
-
Endpoint: __expectString(output.Endpoint),
|
|
4199
|
-
};
|
|
4200
|
-
};
|
|
4201
|
-
const de_DomainConfig = (output, context) => {
|
|
4202
|
-
return {
|
|
4203
|
-
AccessPolicies: output.AccessPolicies != null ? de_AccessPoliciesStatus(output.AccessPolicies, context) : undefined,
|
|
4204
|
-
AdvancedOptions: output.AdvancedOptions != null ? de_AdvancedOptionsStatus(output.AdvancedOptions, context) : undefined,
|
|
4205
|
-
AdvancedSecurityOptions: output.AdvancedSecurityOptions != null
|
|
4206
|
-
? de_AdvancedSecurityOptionsStatus(output.AdvancedSecurityOptions, context)
|
|
4207
|
-
: undefined,
|
|
4208
|
-
AutoTuneOptions: output.AutoTuneOptions != null ? de_AutoTuneOptionsStatus(output.AutoTuneOptions, context) : undefined,
|
|
4209
|
-
ChangeProgressDetails: output.ChangeProgressDetails != null
|
|
4210
|
-
? de_ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
4211
|
-
: undefined,
|
|
4212
|
-
ClusterConfig: output.ClusterConfig != null ? de_ClusterConfigStatus(output.ClusterConfig, context) : undefined,
|
|
4213
|
-
CognitoOptions: output.CognitoOptions != null ? de_CognitoOptionsStatus(output.CognitoOptions, context) : undefined,
|
|
4214
|
-
DomainEndpointOptions: output.DomainEndpointOptions != null
|
|
4215
|
-
? de_DomainEndpointOptionsStatus(output.DomainEndpointOptions, context)
|
|
4216
|
-
: undefined,
|
|
4217
|
-
EBSOptions: output.EBSOptions != null ? de_EBSOptionsStatus(output.EBSOptions, context) : undefined,
|
|
4218
|
-
EncryptionAtRestOptions: output.EncryptionAtRestOptions != null
|
|
4219
|
-
? de_EncryptionAtRestOptionsStatus(output.EncryptionAtRestOptions, context)
|
|
4220
|
-
: undefined,
|
|
4221
|
-
EngineVersion: output.EngineVersion != null ? de_VersionStatus(output.EngineVersion, context) : undefined,
|
|
4222
|
-
LogPublishingOptions: output.LogPublishingOptions != null
|
|
4223
|
-
? de_LogPublishingOptionsStatus(output.LogPublishingOptions, context)
|
|
4224
|
-
: undefined,
|
|
4225
|
-
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions != null
|
|
4226
|
-
? de_NodeToNodeEncryptionOptionsStatus(output.NodeToNodeEncryptionOptions, context)
|
|
4227
|
-
: undefined,
|
|
4228
|
-
OffPeakWindowOptions: output.OffPeakWindowOptions != null
|
|
4229
|
-
? de_OffPeakWindowOptionsStatus(output.OffPeakWindowOptions, context)
|
|
4230
|
-
: undefined,
|
|
4231
|
-
SnapshotOptions: output.SnapshotOptions != null ? de_SnapshotOptionsStatus(output.SnapshotOptions, context) : undefined,
|
|
4232
|
-
SoftwareUpdateOptions: output.SoftwareUpdateOptions != null
|
|
4233
|
-
? de_SoftwareUpdateOptionsStatus(output.SoftwareUpdateOptions, context)
|
|
4234
|
-
: undefined,
|
|
4235
|
-
VPCOptions: output.VPCOptions != null ? de_VPCDerivedInfoStatus(output.VPCOptions, context) : undefined,
|
|
4236
|
-
};
|
|
4237
|
-
};
|
|
4238
|
-
const de_DomainEndpointOptions = (output, context) => {
|
|
4239
|
-
return {
|
|
4240
|
-
CustomEndpoint: __expectString(output.CustomEndpoint),
|
|
4241
|
-
CustomEndpointCertificateArn: __expectString(output.CustomEndpointCertificateArn),
|
|
4242
|
-
CustomEndpointEnabled: __expectBoolean(output.CustomEndpointEnabled),
|
|
4243
|
-
EnforceHTTPS: __expectBoolean(output.EnforceHTTPS),
|
|
4244
|
-
TLSSecurityPolicy: __expectString(output.TLSSecurityPolicy),
|
|
4245
|
-
};
|
|
4246
|
-
};
|
|
4247
|
-
const de_DomainEndpointOptionsStatus = (output, context) => {
|
|
4248
|
-
return {
|
|
4249
|
-
Options: output.Options != null ? de_DomainEndpointOptions(output.Options, context) : undefined,
|
|
4250
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
4251
|
-
};
|
|
4252
|
-
};
|
|
4253
|
-
const de_DomainInfo = (output, context) => {
|
|
4254
|
-
return {
|
|
4255
|
-
DomainName: __expectString(output.DomainName),
|
|
4256
|
-
EngineType: __expectString(output.EngineType),
|
|
4257
|
-
};
|
|
4258
|
-
};
|
|
4259
|
-
const de_DomainInfoList = (output, context) => {
|
|
4260
|
-
const retVal = (output || [])
|
|
4261
|
-
.filter((e) => e != null)
|
|
4262
|
-
.map((entry) => {
|
|
4263
|
-
if (entry === null) {
|
|
4264
|
-
return null;
|
|
4265
|
-
}
|
|
4266
|
-
return de_DomainInfo(entry, context);
|
|
4267
|
-
});
|
|
4268
|
-
return retVal;
|
|
4269
|
-
};
|
|
4270
|
-
const de_DomainInformationContainer = (output, context) => {
|
|
4271
|
-
return {
|
|
4272
|
-
AWSDomainInformation: output.AWSDomainInformation != null ? de_AWSDomainInformation(output.AWSDomainInformation, context) : undefined,
|
|
4273
|
-
};
|
|
3723
|
+
const de_DomainEndpointOptionsStatus = (output, context) => {
|
|
3724
|
+
return take(output, {
|
|
3725
|
+
Options: _json,
|
|
3726
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3727
|
+
});
|
|
4274
3728
|
};
|
|
4275
3729
|
const de_DomainPackageDetails = (output, context) => {
|
|
4276
|
-
return {
|
|
4277
|
-
DomainName: __expectString
|
|
4278
|
-
DomainPackageStatus: __expectString
|
|
4279
|
-
ErrorDetails:
|
|
4280
|
-
LastUpdated:
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
ReferencePath: __expectString(output.ReferencePath),
|
|
4288
|
-
};
|
|
3730
|
+
return take(output, {
|
|
3731
|
+
DomainName: __expectString,
|
|
3732
|
+
DomainPackageStatus: __expectString,
|
|
3733
|
+
ErrorDetails: _json,
|
|
3734
|
+
LastUpdated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3735
|
+
PackageID: __expectString,
|
|
3736
|
+
PackageName: __expectString,
|
|
3737
|
+
PackageType: __expectString,
|
|
3738
|
+
PackageVersion: __expectString,
|
|
3739
|
+
ReferencePath: __expectString,
|
|
3740
|
+
});
|
|
4289
3741
|
};
|
|
4290
3742
|
const de_DomainPackageDetailsList = (output, context) => {
|
|
4291
3743
|
const retVal = (output || [])
|
|
4292
3744
|
.filter((e) => e != null)
|
|
4293
3745
|
.map((entry) => {
|
|
4294
|
-
if (entry === null) {
|
|
4295
|
-
return null;
|
|
4296
|
-
}
|
|
4297
3746
|
return de_DomainPackageDetails(entry, context);
|
|
4298
3747
|
});
|
|
4299
3748
|
return retVal;
|
|
4300
3749
|
};
|
|
4301
3750
|
const de_DomainStatus = (output, context) => {
|
|
4302
|
-
return {
|
|
4303
|
-
ARN: __expectString
|
|
4304
|
-
AccessPolicies: __expectString
|
|
4305
|
-
AdvancedOptions:
|
|
4306
|
-
AdvancedSecurityOptions:
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
? de_NodeToNodeEncryptionOptions(output.NodeToNodeEncryptionOptions, context)
|
|
4332
|
-
: undefined,
|
|
4333
|
-
OffPeakWindowOptions: output.OffPeakWindowOptions != null ? de_OffPeakWindowOptions(output.OffPeakWindowOptions, context) : undefined,
|
|
4334
|
-
Processing: __expectBoolean(output.Processing),
|
|
4335
|
-
ServiceSoftwareOptions: output.ServiceSoftwareOptions != null
|
|
4336
|
-
? de_ServiceSoftwareOptions(output.ServiceSoftwareOptions, context)
|
|
4337
|
-
: undefined,
|
|
4338
|
-
SnapshotOptions: output.SnapshotOptions != null ? de_SnapshotOptions(output.SnapshotOptions, context) : undefined,
|
|
4339
|
-
SoftwareUpdateOptions: output.SoftwareUpdateOptions != null
|
|
4340
|
-
? de_SoftwareUpdateOptions(output.SoftwareUpdateOptions, context)
|
|
4341
|
-
: undefined,
|
|
4342
|
-
UpgradeProcessing: __expectBoolean(output.UpgradeProcessing),
|
|
4343
|
-
VPCOptions: output.VPCOptions != null ? de_VPCDerivedInfo(output.VPCOptions, context) : undefined,
|
|
4344
|
-
};
|
|
3751
|
+
return take(output, {
|
|
3752
|
+
ARN: __expectString,
|
|
3753
|
+
AccessPolicies: __expectString,
|
|
3754
|
+
AdvancedOptions: _json,
|
|
3755
|
+
AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptions(_, context),
|
|
3756
|
+
AutoTuneOptions: _json,
|
|
3757
|
+
ChangeProgressDetails: _json,
|
|
3758
|
+
ClusterConfig: _json,
|
|
3759
|
+
CognitoOptions: _json,
|
|
3760
|
+
Created: __expectBoolean,
|
|
3761
|
+
Deleted: __expectBoolean,
|
|
3762
|
+
DomainEndpointOptions: _json,
|
|
3763
|
+
DomainId: __expectString,
|
|
3764
|
+
DomainName: __expectString,
|
|
3765
|
+
EBSOptions: _json,
|
|
3766
|
+
EncryptionAtRestOptions: _json,
|
|
3767
|
+
Endpoint: __expectString,
|
|
3768
|
+
Endpoints: _json,
|
|
3769
|
+
EngineVersion: __expectString,
|
|
3770
|
+
LogPublishingOptions: _json,
|
|
3771
|
+
NodeToNodeEncryptionOptions: _json,
|
|
3772
|
+
OffPeakWindowOptions: _json,
|
|
3773
|
+
Processing: __expectBoolean,
|
|
3774
|
+
ServiceSoftwareOptions: (_) => de_ServiceSoftwareOptions(_, context),
|
|
3775
|
+
SnapshotOptions: _json,
|
|
3776
|
+
SoftwareUpdateOptions: _json,
|
|
3777
|
+
UpgradeProcessing: __expectBoolean,
|
|
3778
|
+
VPCOptions: _json,
|
|
3779
|
+
});
|
|
4345
3780
|
};
|
|
4346
3781
|
const de_DomainStatusList = (output, context) => {
|
|
4347
3782
|
const retVal = (output || [])
|
|
4348
3783
|
.filter((e) => e != null)
|
|
4349
3784
|
.map((entry) => {
|
|
4350
|
-
if (entry === null) {
|
|
4351
|
-
return null;
|
|
4352
|
-
}
|
|
4353
3785
|
return de_DomainStatus(entry, context);
|
|
4354
3786
|
});
|
|
4355
3787
|
return retVal;
|
|
4356
3788
|
};
|
|
4357
|
-
const de_DryRunProgressStatus = (output, context) => {
|
|
4358
|
-
return {
|
|
4359
|
-
CreationDate: __expectString(output.CreationDate),
|
|
4360
|
-
DryRunId: __expectString(output.DryRunId),
|
|
4361
|
-
DryRunStatus: __expectString(output.DryRunStatus),
|
|
4362
|
-
UpdateDate: __expectString(output.UpdateDate),
|
|
4363
|
-
ValidationFailures: output.ValidationFailures != null ? de_ValidationFailures(output.ValidationFailures, context) : undefined,
|
|
4364
|
-
};
|
|
4365
|
-
};
|
|
4366
|
-
const de_DryRunResults = (output, context) => {
|
|
4367
|
-
return {
|
|
4368
|
-
DeploymentType: __expectString(output.DeploymentType),
|
|
4369
|
-
Message: __expectString(output.Message),
|
|
4370
|
-
};
|
|
4371
|
-
};
|
|
4372
|
-
const de_Duration = (output, context) => {
|
|
4373
|
-
return {
|
|
4374
|
-
Unit: __expectString(output.Unit),
|
|
4375
|
-
Value: __expectLong(output.Value),
|
|
4376
|
-
};
|
|
4377
|
-
};
|
|
4378
|
-
const de_EBSOptions = (output, context) => {
|
|
4379
|
-
return {
|
|
4380
|
-
EBSEnabled: __expectBoolean(output.EBSEnabled),
|
|
4381
|
-
Iops: __expectInt32(output.Iops),
|
|
4382
|
-
Throughput: __expectInt32(output.Throughput),
|
|
4383
|
-
VolumeSize: __expectInt32(output.VolumeSize),
|
|
4384
|
-
VolumeType: __expectString(output.VolumeType),
|
|
4385
|
-
};
|
|
4386
|
-
};
|
|
4387
3789
|
const de_EBSOptionsStatus = (output, context) => {
|
|
4388
|
-
return {
|
|
4389
|
-
Options:
|
|
4390
|
-
Status:
|
|
4391
|
-
};
|
|
4392
|
-
};
|
|
4393
|
-
const de_EncryptionAtRestOptions = (output, context) => {
|
|
4394
|
-
return {
|
|
4395
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4396
|
-
KmsKeyId: __expectString(output.KmsKeyId),
|
|
4397
|
-
};
|
|
4398
|
-
};
|
|
4399
|
-
const de_EncryptionAtRestOptionsStatus = (output, context) => {
|
|
4400
|
-
return {
|
|
4401
|
-
Options: output.Options != null ? de_EncryptionAtRestOptions(output.Options, context) : undefined,
|
|
4402
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
4403
|
-
};
|
|
4404
|
-
};
|
|
4405
|
-
const de_EndpointsMap = (output, context) => {
|
|
4406
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4407
|
-
if (value === null) {
|
|
4408
|
-
return acc;
|
|
4409
|
-
}
|
|
4410
|
-
acc[key] = __expectString(value);
|
|
4411
|
-
return acc;
|
|
4412
|
-
}, {});
|
|
4413
|
-
};
|
|
4414
|
-
const de_ErrorDetails = (output, context) => {
|
|
4415
|
-
return {
|
|
4416
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4417
|
-
ErrorType: __expectString(output.ErrorType),
|
|
4418
|
-
};
|
|
4419
|
-
};
|
|
4420
|
-
const de_InboundConnection = (output, context) => {
|
|
4421
|
-
return {
|
|
4422
|
-
ConnectionId: __expectString(output.ConnectionId),
|
|
4423
|
-
ConnectionMode: __expectString(output.ConnectionMode),
|
|
4424
|
-
ConnectionStatus: output.ConnectionStatus != null ? de_InboundConnectionStatus(output.ConnectionStatus, context) : undefined,
|
|
4425
|
-
LocalDomainInfo: output.LocalDomainInfo != null ? de_DomainInformationContainer(output.LocalDomainInfo, context) : undefined,
|
|
4426
|
-
RemoteDomainInfo: output.RemoteDomainInfo != null ? de_DomainInformationContainer(output.RemoteDomainInfo, context) : undefined,
|
|
4427
|
-
};
|
|
4428
|
-
};
|
|
4429
|
-
const de_InboundConnections = (output, context) => {
|
|
4430
|
-
const retVal = (output || [])
|
|
4431
|
-
.filter((e) => e != null)
|
|
4432
|
-
.map((entry) => {
|
|
4433
|
-
if (entry === null) {
|
|
4434
|
-
return null;
|
|
4435
|
-
}
|
|
4436
|
-
return de_InboundConnection(entry, context);
|
|
3790
|
+
return take(output, {
|
|
3791
|
+
Options: _json,
|
|
3792
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
4437
3793
|
});
|
|
4438
|
-
return retVal;
|
|
4439
3794
|
};
|
|
4440
|
-
const
|
|
4441
|
-
return {
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
};
|
|
4445
|
-
};
|
|
4446
|
-
const de_InstanceCountLimits = (output, context) => {
|
|
4447
|
-
return {
|
|
4448
|
-
MaximumInstanceCount: __expectInt32(output.MaximumInstanceCount),
|
|
4449
|
-
MinimumInstanceCount: __expectInt32(output.MinimumInstanceCount),
|
|
4450
|
-
};
|
|
4451
|
-
};
|
|
4452
|
-
const de_InstanceLimits = (output, context) => {
|
|
4453
|
-
return {
|
|
4454
|
-
InstanceCountLimits: output.InstanceCountLimits != null ? de_InstanceCountLimits(output.InstanceCountLimits, context) : undefined,
|
|
4455
|
-
};
|
|
4456
|
-
};
|
|
4457
|
-
const de_InstanceRoleList = (output, context) => {
|
|
4458
|
-
const retVal = (output || [])
|
|
4459
|
-
.filter((e) => e != null)
|
|
4460
|
-
.map((entry) => {
|
|
4461
|
-
if (entry === null) {
|
|
4462
|
-
return null;
|
|
4463
|
-
}
|
|
4464
|
-
return __expectString(entry);
|
|
4465
|
-
});
|
|
4466
|
-
return retVal;
|
|
4467
|
-
};
|
|
4468
|
-
const de_InstanceTypeDetails = (output, context) => {
|
|
4469
|
-
return {
|
|
4470
|
-
AdvancedSecurityEnabled: __expectBoolean(output.AdvancedSecurityEnabled),
|
|
4471
|
-
AppLogsEnabled: __expectBoolean(output.AppLogsEnabled),
|
|
4472
|
-
CognitoEnabled: __expectBoolean(output.CognitoEnabled),
|
|
4473
|
-
EncryptionEnabled: __expectBoolean(output.EncryptionEnabled),
|
|
4474
|
-
InstanceRole: output.InstanceRole != null ? de_InstanceRoleList(output.InstanceRole, context) : undefined,
|
|
4475
|
-
InstanceType: __expectString(output.InstanceType),
|
|
4476
|
-
WarmEnabled: __expectBoolean(output.WarmEnabled),
|
|
4477
|
-
};
|
|
4478
|
-
};
|
|
4479
|
-
const de_InstanceTypeDetailsList = (output, context) => {
|
|
4480
|
-
const retVal = (output || [])
|
|
4481
|
-
.filter((e) => e != null)
|
|
4482
|
-
.map((entry) => {
|
|
4483
|
-
if (entry === null) {
|
|
4484
|
-
return null;
|
|
4485
|
-
}
|
|
4486
|
-
return de_InstanceTypeDetails(entry, context);
|
|
4487
|
-
});
|
|
4488
|
-
return retVal;
|
|
4489
|
-
};
|
|
4490
|
-
const de_Issues = (output, context) => {
|
|
4491
|
-
const retVal = (output || [])
|
|
4492
|
-
.filter((e) => e != null)
|
|
4493
|
-
.map((entry) => {
|
|
4494
|
-
if (entry === null) {
|
|
4495
|
-
return null;
|
|
4496
|
-
}
|
|
4497
|
-
return __expectString(entry);
|
|
4498
|
-
});
|
|
4499
|
-
return retVal;
|
|
4500
|
-
};
|
|
4501
|
-
const de_Limits = (output, context) => {
|
|
4502
|
-
return {
|
|
4503
|
-
AdditionalLimits: output.AdditionalLimits != null ? de_AdditionalLimitList(output.AdditionalLimits, context) : undefined,
|
|
4504
|
-
InstanceLimits: output.InstanceLimits != null ? de_InstanceLimits(output.InstanceLimits, context) : undefined,
|
|
4505
|
-
StorageTypes: output.StorageTypes != null ? de_StorageTypeList(output.StorageTypes, context) : undefined,
|
|
4506
|
-
};
|
|
4507
|
-
};
|
|
4508
|
-
const de_LimitsByRole = (output, context) => {
|
|
4509
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4510
|
-
if (value === null) {
|
|
4511
|
-
return acc;
|
|
4512
|
-
}
|
|
4513
|
-
acc[key] = de_Limits(value, context);
|
|
4514
|
-
return acc;
|
|
4515
|
-
}, {});
|
|
4516
|
-
};
|
|
4517
|
-
const de_LimitValueList = (output, context) => {
|
|
4518
|
-
const retVal = (output || [])
|
|
4519
|
-
.filter((e) => e != null)
|
|
4520
|
-
.map((entry) => {
|
|
4521
|
-
if (entry === null) {
|
|
4522
|
-
return null;
|
|
4523
|
-
}
|
|
4524
|
-
return __expectString(entry);
|
|
3795
|
+
const de_EncryptionAtRestOptionsStatus = (output, context) => {
|
|
3796
|
+
return take(output, {
|
|
3797
|
+
Options: _json,
|
|
3798
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
4525
3799
|
});
|
|
4526
|
-
return retVal;
|
|
4527
|
-
};
|
|
4528
|
-
const de_LogPublishingOption = (output, context) => {
|
|
4529
|
-
return {
|
|
4530
|
-
CloudWatchLogsLogGroupArn: __expectString(output.CloudWatchLogsLogGroupArn),
|
|
4531
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
const de_LogPublishingOptions = (output, context) => {
|
|
4535
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4536
|
-
if (value === null) {
|
|
4537
|
-
return acc;
|
|
4538
|
-
}
|
|
4539
|
-
acc[key] = de_LogPublishingOption(value, context);
|
|
4540
|
-
return acc;
|
|
4541
|
-
}, {});
|
|
4542
3800
|
};
|
|
4543
3801
|
const de_LogPublishingOptionsStatus = (output, context) => {
|
|
4544
|
-
return {
|
|
4545
|
-
Options:
|
|
4546
|
-
Status:
|
|
4547
|
-
};
|
|
4548
|
-
};
|
|
4549
|
-
const de_NodeToNodeEncryptionOptions = (output, context) => {
|
|
4550
|
-
return {
|
|
4551
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4552
|
-
};
|
|
3802
|
+
return take(output, {
|
|
3803
|
+
Options: _json,
|
|
3804
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3805
|
+
});
|
|
4553
3806
|
};
|
|
4554
3807
|
const de_NodeToNodeEncryptionOptionsStatus = (output, context) => {
|
|
4555
|
-
return {
|
|
4556
|
-
Options:
|
|
4557
|
-
Status:
|
|
4558
|
-
};
|
|
4559
|
-
};
|
|
4560
|
-
const de_OffPeakWindow = (output, context) => {
|
|
4561
|
-
return {
|
|
4562
|
-
WindowStartTime: output.WindowStartTime != null ? de_WindowStartTime(output.WindowStartTime, context) : undefined,
|
|
4563
|
-
};
|
|
4564
|
-
};
|
|
4565
|
-
const de_OffPeakWindowOptions = (output, context) => {
|
|
4566
|
-
return {
|
|
4567
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4568
|
-
OffPeakWindow: output.OffPeakWindow != null ? de_OffPeakWindow(output.OffPeakWindow, context) : undefined,
|
|
4569
|
-
};
|
|
3808
|
+
return take(output, {
|
|
3809
|
+
Options: _json,
|
|
3810
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3811
|
+
});
|
|
4570
3812
|
};
|
|
4571
3813
|
const de_OffPeakWindowOptionsStatus = (output, context) => {
|
|
4572
|
-
return {
|
|
4573
|
-
Options:
|
|
4574
|
-
Status:
|
|
4575
|
-
};
|
|
3814
|
+
return take(output, {
|
|
3815
|
+
Options: _json,
|
|
3816
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
3817
|
+
});
|
|
4576
3818
|
};
|
|
4577
3819
|
const de_OptionStatus = (output, context) => {
|
|
4578
|
-
return {
|
|
4579
|
-
CreationDate:
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
UpdateDate: output.UpdateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate))) : undefined,
|
|
4585
|
-
UpdateVersion: __expectInt32(output.UpdateVersion),
|
|
4586
|
-
};
|
|
4587
|
-
};
|
|
4588
|
-
const de_OutboundConnection = (output, context) => {
|
|
4589
|
-
return {
|
|
4590
|
-
ConnectionAlias: __expectString(output.ConnectionAlias),
|
|
4591
|
-
ConnectionId: __expectString(output.ConnectionId),
|
|
4592
|
-
ConnectionMode: __expectString(output.ConnectionMode),
|
|
4593
|
-
ConnectionProperties: output.ConnectionProperties != null ? de_ConnectionProperties(output.ConnectionProperties, context) : undefined,
|
|
4594
|
-
ConnectionStatus: output.ConnectionStatus != null ? de_OutboundConnectionStatus(output.ConnectionStatus, context) : undefined,
|
|
4595
|
-
LocalDomainInfo: output.LocalDomainInfo != null ? de_DomainInformationContainer(output.LocalDomainInfo, context) : undefined,
|
|
4596
|
-
RemoteDomainInfo: output.RemoteDomainInfo != null ? de_DomainInformationContainer(output.RemoteDomainInfo, context) : undefined,
|
|
4597
|
-
};
|
|
4598
|
-
};
|
|
4599
|
-
const de_OutboundConnections = (output, context) => {
|
|
4600
|
-
const retVal = (output || [])
|
|
4601
|
-
.filter((e) => e != null)
|
|
4602
|
-
.map((entry) => {
|
|
4603
|
-
if (entry === null) {
|
|
4604
|
-
return null;
|
|
4605
|
-
}
|
|
4606
|
-
return de_OutboundConnection(entry, context);
|
|
3820
|
+
return take(output, {
|
|
3821
|
+
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3822
|
+
PendingDeletion: __expectBoolean,
|
|
3823
|
+
State: __expectString,
|
|
3824
|
+
UpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3825
|
+
UpdateVersion: __expectInt32,
|
|
4607
3826
|
});
|
|
4608
|
-
return retVal;
|
|
4609
|
-
};
|
|
4610
|
-
const de_OutboundConnectionStatus = (output, context) => {
|
|
4611
|
-
return {
|
|
4612
|
-
Message: __expectString(output.Message),
|
|
4613
|
-
StatusCode: __expectString(output.StatusCode),
|
|
4614
|
-
};
|
|
4615
3827
|
};
|
|
4616
3828
|
const de_PackageDetails = (output, context) => {
|
|
4617
|
-
return {
|
|
4618
|
-
AvailablePackageVersion: __expectString
|
|
4619
|
-
CreatedAt:
|
|
4620
|
-
ErrorDetails:
|
|
4621
|
-
LastUpdatedAt:
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
PackageType: __expectString(output.PackageType),
|
|
4629
|
-
};
|
|
3829
|
+
return take(output, {
|
|
3830
|
+
AvailablePackageVersion: __expectString,
|
|
3831
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3832
|
+
ErrorDetails: _json,
|
|
3833
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3834
|
+
PackageDescription: __expectString,
|
|
3835
|
+
PackageID: __expectString,
|
|
3836
|
+
PackageName: __expectString,
|
|
3837
|
+
PackageStatus: __expectString,
|
|
3838
|
+
PackageType: __expectString,
|
|
3839
|
+
});
|
|
4630
3840
|
};
|
|
4631
3841
|
const de_PackageDetailsList = (output, context) => {
|
|
4632
3842
|
const retVal = (output || [])
|
|
4633
3843
|
.filter((e) => e != null)
|
|
4634
3844
|
.map((entry) => {
|
|
4635
|
-
if (entry === null) {
|
|
4636
|
-
return null;
|
|
4637
|
-
}
|
|
4638
3845
|
return de_PackageDetails(entry, context);
|
|
4639
3846
|
});
|
|
4640
3847
|
return retVal;
|
|
4641
3848
|
};
|
|
4642
3849
|
const de_PackageVersionHistory = (output, context) => {
|
|
4643
|
-
return {
|
|
4644
|
-
CommitMessage: __expectString
|
|
4645
|
-
CreatedAt:
|
|
4646
|
-
PackageVersion: __expectString
|
|
4647
|
-
};
|
|
3850
|
+
return take(output, {
|
|
3851
|
+
CommitMessage: __expectString,
|
|
3852
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3853
|
+
PackageVersion: __expectString,
|
|
3854
|
+
});
|
|
4648
3855
|
};
|
|
4649
3856
|
const de_PackageVersionHistoryList = (output, context) => {
|
|
4650
3857
|
const retVal = (output || [])
|
|
4651
3858
|
.filter((e) => e != null)
|
|
4652
3859
|
.map((entry) => {
|
|
4653
|
-
if (entry === null) {
|
|
4654
|
-
return null;
|
|
4655
|
-
}
|
|
4656
3860
|
return de_PackageVersionHistory(entry, context);
|
|
4657
3861
|
});
|
|
4658
3862
|
return retVal;
|
|
4659
3863
|
};
|
|
4660
3864
|
const de_RecurringCharge = (output, context) => {
|
|
4661
|
-
return {
|
|
4662
|
-
RecurringChargeAmount: __limitedParseDouble
|
|
4663
|
-
RecurringChargeFrequency: __expectString
|
|
4664
|
-
};
|
|
3865
|
+
return take(output, {
|
|
3866
|
+
RecurringChargeAmount: __limitedParseDouble,
|
|
3867
|
+
RecurringChargeFrequency: __expectString,
|
|
3868
|
+
});
|
|
4665
3869
|
};
|
|
4666
3870
|
const de_RecurringChargeList = (output, context) => {
|
|
4667
3871
|
const retVal = (output || [])
|
|
4668
3872
|
.filter((e) => e != null)
|
|
4669
3873
|
.map((entry) => {
|
|
4670
|
-
if (entry === null) {
|
|
4671
|
-
return null;
|
|
4672
|
-
}
|
|
4673
3874
|
return de_RecurringCharge(entry, context);
|
|
4674
3875
|
});
|
|
4675
3876
|
return retVal;
|
|
4676
3877
|
};
|
|
4677
3878
|
const de_ReservedInstance = (output, context) => {
|
|
4678
|
-
return {
|
|
4679
|
-
BillingSubscriptionId: __expectLong
|
|
4680
|
-
CurrencyCode: __expectString
|
|
4681
|
-
Duration: __expectInt32
|
|
4682
|
-
FixedPrice: __limitedParseDouble
|
|
4683
|
-
InstanceCount: __expectInt32
|
|
4684
|
-
InstanceType: __expectString
|
|
4685
|
-
PaymentOption: __expectString
|
|
4686
|
-
RecurringCharges:
|
|
4687
|
-
ReservationName: __expectString
|
|
4688
|
-
ReservedInstanceId: __expectString
|
|
4689
|
-
ReservedInstanceOfferingId: __expectString
|
|
4690
|
-
StartTime:
|
|
4691
|
-
State: __expectString
|
|
4692
|
-
UsagePrice: __limitedParseDouble
|
|
4693
|
-
};
|
|
3879
|
+
return take(output, {
|
|
3880
|
+
BillingSubscriptionId: __expectLong,
|
|
3881
|
+
CurrencyCode: __expectString,
|
|
3882
|
+
Duration: __expectInt32,
|
|
3883
|
+
FixedPrice: __limitedParseDouble,
|
|
3884
|
+
InstanceCount: __expectInt32,
|
|
3885
|
+
InstanceType: __expectString,
|
|
3886
|
+
PaymentOption: __expectString,
|
|
3887
|
+
RecurringCharges: (_) => de_RecurringChargeList(_, context),
|
|
3888
|
+
ReservationName: __expectString,
|
|
3889
|
+
ReservedInstanceId: __expectString,
|
|
3890
|
+
ReservedInstanceOfferingId: __expectString,
|
|
3891
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3892
|
+
State: __expectString,
|
|
3893
|
+
UsagePrice: __limitedParseDouble,
|
|
3894
|
+
});
|
|
4694
3895
|
};
|
|
4695
3896
|
const de_ReservedInstanceList = (output, context) => {
|
|
4696
3897
|
const retVal = (output || [])
|
|
4697
3898
|
.filter((e) => e != null)
|
|
4698
3899
|
.map((entry) => {
|
|
4699
|
-
if (entry === null) {
|
|
4700
|
-
return null;
|
|
4701
|
-
}
|
|
4702
3900
|
return de_ReservedInstance(entry, context);
|
|
4703
3901
|
});
|
|
4704
3902
|
return retVal;
|
|
4705
3903
|
};
|
|
4706
3904
|
const de_ReservedInstanceOffering = (output, context) => {
|
|
4707
|
-
return {
|
|
4708
|
-
CurrencyCode: __expectString
|
|
4709
|
-
Duration: __expectInt32
|
|
4710
|
-
FixedPrice: __limitedParseDouble
|
|
4711
|
-
InstanceType: __expectString
|
|
4712
|
-
PaymentOption: __expectString
|
|
4713
|
-
RecurringCharges:
|
|
4714
|
-
ReservedInstanceOfferingId: __expectString
|
|
4715
|
-
UsagePrice: __limitedParseDouble
|
|
4716
|
-
};
|
|
3905
|
+
return take(output, {
|
|
3906
|
+
CurrencyCode: __expectString,
|
|
3907
|
+
Duration: __expectInt32,
|
|
3908
|
+
FixedPrice: __limitedParseDouble,
|
|
3909
|
+
InstanceType: __expectString,
|
|
3910
|
+
PaymentOption: __expectString,
|
|
3911
|
+
RecurringCharges: (_) => de_RecurringChargeList(_, context),
|
|
3912
|
+
ReservedInstanceOfferingId: __expectString,
|
|
3913
|
+
UsagePrice: __limitedParseDouble,
|
|
3914
|
+
});
|
|
4717
3915
|
};
|
|
4718
3916
|
const de_ReservedInstanceOfferingList = (output, context) => {
|
|
4719
3917
|
const retVal = (output || [])
|
|
4720
3918
|
.filter((e) => e != null)
|
|
4721
3919
|
.map((entry) => {
|
|
4722
|
-
if (entry === null) {
|
|
4723
|
-
return null;
|
|
4724
|
-
}
|
|
4725
3920
|
return de_ReservedInstanceOffering(entry, context);
|
|
4726
3921
|
});
|
|
4727
3922
|
return retVal;
|
|
4728
3923
|
};
|
|
4729
|
-
const de_SAMLIdp = (output, context) => {
|
|
4730
|
-
return {
|
|
4731
|
-
EntityId: __expectString(output.EntityId),
|
|
4732
|
-
MetadataContent: __expectString(output.MetadataContent),
|
|
4733
|
-
};
|
|
4734
|
-
};
|
|
4735
|
-
const de_SAMLOptionsOutput = (output, context) => {
|
|
4736
|
-
return {
|
|
4737
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4738
|
-
Idp: output.Idp != null ? de_SAMLIdp(output.Idp, context) : undefined,
|
|
4739
|
-
RolesKey: __expectString(output.RolesKey),
|
|
4740
|
-
SessionTimeoutMinutes: __expectInt32(output.SessionTimeoutMinutes),
|
|
4741
|
-
SubjectKey: __expectString(output.SubjectKey),
|
|
4742
|
-
};
|
|
4743
|
-
};
|
|
4744
|
-
const de_ScheduledAction = (output, context) => {
|
|
4745
|
-
return {
|
|
4746
|
-
Cancellable: __expectBoolean(output.Cancellable),
|
|
4747
|
-
Description: __expectString(output.Description),
|
|
4748
|
-
Id: __expectString(output.Id),
|
|
4749
|
-
Mandatory: __expectBoolean(output.Mandatory),
|
|
4750
|
-
ScheduledBy: __expectString(output.ScheduledBy),
|
|
4751
|
-
ScheduledTime: __expectLong(output.ScheduledTime),
|
|
4752
|
-
Severity: __expectString(output.Severity),
|
|
4753
|
-
Status: __expectString(output.Status),
|
|
4754
|
-
Type: __expectString(output.Type),
|
|
4755
|
-
};
|
|
4756
|
-
};
|
|
4757
|
-
const de_ScheduledActionsList = (output, context) => {
|
|
4758
|
-
const retVal = (output || [])
|
|
4759
|
-
.filter((e) => e != null)
|
|
4760
|
-
.map((entry) => {
|
|
4761
|
-
if (entry === null) {
|
|
4762
|
-
return null;
|
|
4763
|
-
}
|
|
4764
|
-
return de_ScheduledAction(entry, context);
|
|
4765
|
-
});
|
|
4766
|
-
return retVal;
|
|
4767
|
-
};
|
|
4768
3924
|
const de_ScheduledAutoTuneDetails = (output, context) => {
|
|
4769
|
-
return {
|
|
4770
|
-
Action: __expectString
|
|
4771
|
-
ActionType: __expectString
|
|
4772
|
-
Date:
|
|
4773
|
-
Severity: __expectString
|
|
4774
|
-
};
|
|
3925
|
+
return take(output, {
|
|
3926
|
+
Action: __expectString,
|
|
3927
|
+
ActionType: __expectString,
|
|
3928
|
+
Date: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3929
|
+
Severity: __expectString,
|
|
3930
|
+
});
|
|
4775
3931
|
};
|
|
4776
3932
|
const de_ServiceSoftwareOptions = (output, context) => {
|
|
4777
|
-
return {
|
|
4778
|
-
AutomatedUpdateDate:
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
UpdateAvailable: __expectBoolean(output.UpdateAvailable),
|
|
4787
|
-
UpdateStatus: __expectString(output.UpdateStatus),
|
|
4788
|
-
};
|
|
4789
|
-
};
|
|
4790
|
-
const de_SlotList = (output, context) => {
|
|
4791
|
-
const retVal = (output || [])
|
|
4792
|
-
.filter((e) => e != null)
|
|
4793
|
-
.map((entry) => {
|
|
4794
|
-
if (entry === null) {
|
|
4795
|
-
return null;
|
|
4796
|
-
}
|
|
4797
|
-
return __expectLong(entry);
|
|
3933
|
+
return take(output, {
|
|
3934
|
+
AutomatedUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3935
|
+
Cancellable: __expectBoolean,
|
|
3936
|
+
CurrentVersion: __expectString,
|
|
3937
|
+
Description: __expectString,
|
|
3938
|
+
NewVersion: __expectString,
|
|
3939
|
+
OptionalDeployment: __expectBoolean,
|
|
3940
|
+
UpdateAvailable: __expectBoolean,
|
|
3941
|
+
UpdateStatus: __expectString,
|
|
4798
3942
|
});
|
|
4799
|
-
return retVal;
|
|
4800
|
-
};
|
|
4801
|
-
const de_SnapshotOptions = (output, context) => {
|
|
4802
|
-
return {
|
|
4803
|
-
AutomatedSnapshotStartHour: __expectInt32(output.AutomatedSnapshotStartHour),
|
|
4804
|
-
};
|
|
4805
3943
|
};
|
|
4806
3944
|
const de_SnapshotOptionsStatus = (output, context) => {
|
|
4807
|
-
return {
|
|
4808
|
-
Options:
|
|
4809
|
-
Status:
|
|
4810
|
-
};
|
|
4811
|
-
};
|
|
4812
|
-
const de_SoftwareUpdateOptions = (output, context) => {
|
|
4813
|
-
return {
|
|
4814
|
-
AutoSoftwareUpdateEnabled: __expectBoolean(output.AutoSoftwareUpdateEnabled),
|
|
4815
|
-
};
|
|
4816
|
-
};
|
|
4817
|
-
const de_SoftwareUpdateOptionsStatus = (output, context) => {
|
|
4818
|
-
return {
|
|
4819
|
-
Options: output.Options != null ? de_SoftwareUpdateOptions(output.Options, context) : undefined,
|
|
4820
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
4821
|
-
};
|
|
4822
|
-
};
|
|
4823
|
-
const de_StorageType = (output, context) => {
|
|
4824
|
-
return {
|
|
4825
|
-
StorageSubTypeName: __expectString(output.StorageSubTypeName),
|
|
4826
|
-
StorageTypeLimits: output.StorageTypeLimits != null ? de_StorageTypeLimitList(output.StorageTypeLimits, context) : undefined,
|
|
4827
|
-
StorageTypeName: __expectString(output.StorageTypeName),
|
|
4828
|
-
};
|
|
4829
|
-
};
|
|
4830
|
-
const de_StorageTypeLimit = (output, context) => {
|
|
4831
|
-
return {
|
|
4832
|
-
LimitName: __expectString(output.LimitName),
|
|
4833
|
-
LimitValues: output.LimitValues != null ? de_LimitValueList(output.LimitValues, context) : undefined,
|
|
4834
|
-
};
|
|
4835
|
-
};
|
|
4836
|
-
const de_StorageTypeLimitList = (output, context) => {
|
|
4837
|
-
const retVal = (output || [])
|
|
4838
|
-
.filter((e) => e != null)
|
|
4839
|
-
.map((entry) => {
|
|
4840
|
-
if (entry === null) {
|
|
4841
|
-
return null;
|
|
4842
|
-
}
|
|
4843
|
-
return de_StorageTypeLimit(entry, context);
|
|
4844
|
-
});
|
|
4845
|
-
return retVal;
|
|
4846
|
-
};
|
|
4847
|
-
const de_StorageTypeList = (output, context) => {
|
|
4848
|
-
const retVal = (output || [])
|
|
4849
|
-
.filter((e) => e != null)
|
|
4850
|
-
.map((entry) => {
|
|
4851
|
-
if (entry === null) {
|
|
4852
|
-
return null;
|
|
4853
|
-
}
|
|
4854
|
-
return de_StorageType(entry, context);
|
|
3945
|
+
return take(output, {
|
|
3946
|
+
Options: _json,
|
|
3947
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
4855
3948
|
});
|
|
4856
|
-
return retVal;
|
|
4857
3949
|
};
|
|
4858
|
-
const
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
if (entry === null) {
|
|
4863
|
-
return null;
|
|
4864
|
-
}
|
|
4865
|
-
return __expectString(entry);
|
|
4866
|
-
});
|
|
4867
|
-
return retVal;
|
|
4868
|
-
};
|
|
4869
|
-
const de_Tag = (output, context) => {
|
|
4870
|
-
return {
|
|
4871
|
-
Key: __expectString(output.Key),
|
|
4872
|
-
Value: __expectString(output.Value),
|
|
4873
|
-
};
|
|
4874
|
-
};
|
|
4875
|
-
const de_TagList = (output, context) => {
|
|
4876
|
-
const retVal = (output || [])
|
|
4877
|
-
.filter((e) => e != null)
|
|
4878
|
-
.map((entry) => {
|
|
4879
|
-
if (entry === null) {
|
|
4880
|
-
return null;
|
|
4881
|
-
}
|
|
4882
|
-
return de_Tag(entry, context);
|
|
3950
|
+
const de_SoftwareUpdateOptionsStatus = (output, context) => {
|
|
3951
|
+
return take(output, {
|
|
3952
|
+
Options: _json,
|
|
3953
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
4883
3954
|
});
|
|
4884
|
-
return retVal;
|
|
4885
3955
|
};
|
|
4886
3956
|
const de_UpgradeHistory = (output, context) => {
|
|
4887
|
-
return {
|
|
4888
|
-
StartTimestamp:
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
UpgradeStatus: __expectString(output.UpgradeStatus),
|
|
4894
|
-
};
|
|
3957
|
+
return take(output, {
|
|
3958
|
+
StartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3959
|
+
StepsList: (_) => de_UpgradeStepsList(_, context),
|
|
3960
|
+
UpgradeName: __expectString,
|
|
3961
|
+
UpgradeStatus: __expectString,
|
|
3962
|
+
});
|
|
4895
3963
|
};
|
|
4896
3964
|
const de_UpgradeHistoryList = (output, context) => {
|
|
4897
3965
|
const retVal = (output || [])
|
|
4898
3966
|
.filter((e) => e != null)
|
|
4899
3967
|
.map((entry) => {
|
|
4900
|
-
if (entry === null) {
|
|
4901
|
-
return null;
|
|
4902
|
-
}
|
|
4903
3968
|
return de_UpgradeHistory(entry, context);
|
|
4904
3969
|
});
|
|
4905
3970
|
return retVal;
|
|
4906
3971
|
};
|
|
4907
3972
|
const de_UpgradeStepItem = (output, context) => {
|
|
4908
|
-
return {
|
|
4909
|
-
Issues:
|
|
4910
|
-
ProgressPercent: __limitedParseDouble
|
|
4911
|
-
UpgradeStep: __expectString
|
|
4912
|
-
UpgradeStepStatus: __expectString
|
|
4913
|
-
};
|
|
3973
|
+
return take(output, {
|
|
3974
|
+
Issues: _json,
|
|
3975
|
+
ProgressPercent: __limitedParseDouble,
|
|
3976
|
+
UpgradeStep: __expectString,
|
|
3977
|
+
UpgradeStepStatus: __expectString,
|
|
3978
|
+
});
|
|
4914
3979
|
};
|
|
4915
3980
|
const de_UpgradeStepsList = (output, context) => {
|
|
4916
3981
|
const retVal = (output || [])
|
|
4917
3982
|
.filter((e) => e != null)
|
|
4918
3983
|
.map((entry) => {
|
|
4919
|
-
if (entry === null) {
|
|
4920
|
-
return null;
|
|
4921
|
-
}
|
|
4922
3984
|
return de_UpgradeStepItem(entry, context);
|
|
4923
3985
|
});
|
|
4924
3986
|
return retVal;
|
|
4925
3987
|
};
|
|
4926
|
-
const de_ValidationFailure = (output, context) => {
|
|
4927
|
-
return {
|
|
4928
|
-
Code: __expectString(output.Code),
|
|
4929
|
-
Message: __expectString(output.Message),
|
|
4930
|
-
};
|
|
4931
|
-
};
|
|
4932
|
-
const de_ValidationFailures = (output, context) => {
|
|
4933
|
-
const retVal = (output || [])
|
|
4934
|
-
.filter((e) => e != null)
|
|
4935
|
-
.map((entry) => {
|
|
4936
|
-
if (entry === null) {
|
|
4937
|
-
return null;
|
|
4938
|
-
}
|
|
4939
|
-
return de_ValidationFailure(entry, context);
|
|
4940
|
-
});
|
|
4941
|
-
return retVal;
|
|
4942
|
-
};
|
|
4943
|
-
const de_VersionList = (output, context) => {
|
|
4944
|
-
const retVal = (output || [])
|
|
4945
|
-
.filter((e) => e != null)
|
|
4946
|
-
.map((entry) => {
|
|
4947
|
-
if (entry === null) {
|
|
4948
|
-
return null;
|
|
4949
|
-
}
|
|
4950
|
-
return __expectString(entry);
|
|
4951
|
-
});
|
|
4952
|
-
return retVal;
|
|
4953
|
-
};
|
|
4954
3988
|
const de_VersionStatus = (output, context) => {
|
|
4955
|
-
return {
|
|
4956
|
-
Options: __expectString
|
|
4957
|
-
Status:
|
|
4958
|
-
};
|
|
4959
|
-
};
|
|
4960
|
-
const de_VPCDerivedInfo = (output, context) => {
|
|
4961
|
-
return {
|
|
4962
|
-
AvailabilityZones: output.AvailabilityZones != null ? de_StringList(output.AvailabilityZones, context) : undefined,
|
|
4963
|
-
SecurityGroupIds: output.SecurityGroupIds != null ? de_StringList(output.SecurityGroupIds, context) : undefined,
|
|
4964
|
-
SubnetIds: output.SubnetIds != null ? de_StringList(output.SubnetIds, context) : undefined,
|
|
4965
|
-
VPCId: __expectString(output.VPCId),
|
|
4966
|
-
};
|
|
4967
|
-
};
|
|
4968
|
-
const de_VPCDerivedInfoStatus = (output, context) => {
|
|
4969
|
-
return {
|
|
4970
|
-
Options: output.Options != null ? de_VPCDerivedInfo(output.Options, context) : undefined,
|
|
4971
|
-
Status: output.Status != null ? de_OptionStatus(output.Status, context) : undefined,
|
|
4972
|
-
};
|
|
4973
|
-
};
|
|
4974
|
-
const de_VpcEndpoint = (output, context) => {
|
|
4975
|
-
return {
|
|
4976
|
-
DomainArn: __expectString(output.DomainArn),
|
|
4977
|
-
Endpoint: __expectString(output.Endpoint),
|
|
4978
|
-
Status: __expectString(output.Status),
|
|
4979
|
-
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
4980
|
-
VpcEndpointOwner: __expectString(output.VpcEndpointOwner),
|
|
4981
|
-
VpcOptions: output.VpcOptions != null ? de_VPCDerivedInfo(output.VpcOptions, context) : undefined,
|
|
4982
|
-
};
|
|
4983
|
-
};
|
|
4984
|
-
const de_VpcEndpointError = (output, context) => {
|
|
4985
|
-
return {
|
|
4986
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4987
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4988
|
-
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
4989
|
-
};
|
|
4990
|
-
};
|
|
4991
|
-
const de_VpcEndpointErrorList = (output, context) => {
|
|
4992
|
-
const retVal = (output || [])
|
|
4993
|
-
.filter((e) => e != null)
|
|
4994
|
-
.map((entry) => {
|
|
4995
|
-
if (entry === null) {
|
|
4996
|
-
return null;
|
|
4997
|
-
}
|
|
4998
|
-
return de_VpcEndpointError(entry, context);
|
|
4999
|
-
});
|
|
5000
|
-
return retVal;
|
|
5001
|
-
};
|
|
5002
|
-
const de_VpcEndpoints = (output, context) => {
|
|
5003
|
-
const retVal = (output || [])
|
|
5004
|
-
.filter((e) => e != null)
|
|
5005
|
-
.map((entry) => {
|
|
5006
|
-
if (entry === null) {
|
|
5007
|
-
return null;
|
|
5008
|
-
}
|
|
5009
|
-
return de_VpcEndpoint(entry, context);
|
|
3989
|
+
return take(output, {
|
|
3990
|
+
Options: __expectString,
|
|
3991
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
5010
3992
|
});
|
|
5011
|
-
return retVal;
|
|
5012
3993
|
};
|
|
5013
|
-
const
|
|
5014
|
-
return {
|
|
5015
|
-
|
|
5016
|
-
Status:
|
|
5017
|
-
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
5018
|
-
VpcEndpointOwner: __expectString(output.VpcEndpointOwner),
|
|
5019
|
-
};
|
|
5020
|
-
};
|
|
5021
|
-
const de_VpcEndpointSummaryList = (output, context) => {
|
|
5022
|
-
const retVal = (output || [])
|
|
5023
|
-
.filter((e) => e != null)
|
|
5024
|
-
.map((entry) => {
|
|
5025
|
-
if (entry === null) {
|
|
5026
|
-
return null;
|
|
5027
|
-
}
|
|
5028
|
-
return de_VpcEndpointSummary(entry, context);
|
|
3994
|
+
const de_VPCDerivedInfoStatus = (output, context) => {
|
|
3995
|
+
return take(output, {
|
|
3996
|
+
Options: _json,
|
|
3997
|
+
Status: (_) => de_OptionStatus(_, context),
|
|
5029
3998
|
});
|
|
5030
|
-
return retVal;
|
|
5031
|
-
};
|
|
5032
|
-
const de_WindowStartTime = (output, context) => {
|
|
5033
|
-
return {
|
|
5034
|
-
Hours: __expectLong(output.Hours),
|
|
5035
|
-
Minutes: __expectLong(output.Minutes),
|
|
5036
|
-
};
|
|
5037
|
-
};
|
|
5038
|
-
const de_ZoneAwarenessConfig = (output, context) => {
|
|
5039
|
-
return {
|
|
5040
|
-
AvailabilityZoneCount: __expectInt32(output.AvailabilityZoneCount),
|
|
5041
|
-
};
|
|
5042
3999
|
};
|
|
5043
4000
|
const deserializeMetadata = (output) => ({
|
|
5044
4001
|
httpStatusCode: output.statusCode,
|