@aws-sdk/client-elasticsearch-service 3.121.0 → 3.127.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +247 -421
- package/dist-es/protocols/Aws_restJson1.js +178 -352
- package/package.json +26 -26
|
@@ -41,9 +41,8 @@ const serializeAws_restJson1AddTagsCommand = async (input, context) => {
|
|
|
41
41
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/tags";
|
|
42
42
|
let body;
|
|
43
43
|
body = JSON.stringify({
|
|
44
|
-
...(input.ARN
|
|
45
|
-
...(input.TagList
|
|
46
|
-
input.TagList !== null && { TagList: serializeAws_restJson1TagList(input.TagList, context) }),
|
|
44
|
+
...(input.ARN != null && { ARN: input.ARN }),
|
|
45
|
+
...(input.TagList != null && { TagList: serializeAws_restJson1TagList(input.TagList, context) }),
|
|
47
46
|
});
|
|
48
47
|
return new protocol_http_1.HttpRequest({
|
|
49
48
|
protocol,
|
|
@@ -102,7 +101,7 @@ const serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand = as
|
|
|
102
101
|
"/2015-01-01/es/serviceSoftwareUpdate/cancel";
|
|
103
102
|
let body;
|
|
104
103
|
body = JSON.stringify({
|
|
105
|
-
...(input.DomainName
|
|
104
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
106
105
|
});
|
|
107
106
|
return new protocol_http_1.HttpRequest({
|
|
108
107
|
protocol,
|
|
@@ -123,57 +122,42 @@ const serializeAws_restJson1CreateElasticsearchDomainCommand = async (input, con
|
|
|
123
122
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/es/domain";
|
|
124
123
|
let body;
|
|
125
124
|
body = JSON.stringify({
|
|
126
|
-
...(input.AccessPolicies
|
|
127
|
-
|
|
128
|
-
...(input.AdvancedOptions !== undefined &&
|
|
129
|
-
input.AdvancedOptions !== null && {
|
|
125
|
+
...(input.AccessPolicies != null && { AccessPolicies: input.AccessPolicies }),
|
|
126
|
+
...(input.AdvancedOptions != null && {
|
|
130
127
|
AdvancedOptions: serializeAws_restJson1AdvancedOptions(input.AdvancedOptions, context),
|
|
131
128
|
}),
|
|
132
|
-
...(input.AdvancedSecurityOptions
|
|
133
|
-
input.AdvancedSecurityOptions !== null && {
|
|
129
|
+
...(input.AdvancedSecurityOptions != null && {
|
|
134
130
|
AdvancedSecurityOptions: serializeAws_restJson1AdvancedSecurityOptionsInput(input.AdvancedSecurityOptions, context),
|
|
135
131
|
}),
|
|
136
|
-
...(input.AutoTuneOptions
|
|
137
|
-
input.AutoTuneOptions !== null && {
|
|
132
|
+
...(input.AutoTuneOptions != null && {
|
|
138
133
|
AutoTuneOptions: serializeAws_restJson1AutoTuneOptionsInput(input.AutoTuneOptions, context),
|
|
139
134
|
}),
|
|
140
|
-
...(input.CognitoOptions
|
|
141
|
-
input.CognitoOptions !== null && {
|
|
135
|
+
...(input.CognitoOptions != null && {
|
|
142
136
|
CognitoOptions: serializeAws_restJson1CognitoOptions(input.CognitoOptions, context),
|
|
143
137
|
}),
|
|
144
|
-
...(input.DomainEndpointOptions
|
|
145
|
-
input.DomainEndpointOptions !== null && {
|
|
138
|
+
...(input.DomainEndpointOptions != null && {
|
|
146
139
|
DomainEndpointOptions: serializeAws_restJson1DomainEndpointOptions(input.DomainEndpointOptions, context),
|
|
147
140
|
}),
|
|
148
|
-
...(input.DomainName
|
|
149
|
-
...(input.EBSOptions
|
|
150
|
-
|
|
151
|
-
...(input.ElasticsearchClusterConfig !== undefined &&
|
|
152
|
-
input.ElasticsearchClusterConfig !== null && {
|
|
141
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
142
|
+
...(input.EBSOptions != null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) }),
|
|
143
|
+
...(input.ElasticsearchClusterConfig != null && {
|
|
153
144
|
ElasticsearchClusterConfig: serializeAws_restJson1ElasticsearchClusterConfig(input.ElasticsearchClusterConfig, context),
|
|
154
145
|
}),
|
|
155
|
-
...(input.ElasticsearchVersion
|
|
156
|
-
|
|
157
|
-
...(input.EncryptionAtRestOptions !== undefined &&
|
|
158
|
-
input.EncryptionAtRestOptions !== null && {
|
|
146
|
+
...(input.ElasticsearchVersion != null && { ElasticsearchVersion: input.ElasticsearchVersion }),
|
|
147
|
+
...(input.EncryptionAtRestOptions != null && {
|
|
159
148
|
EncryptionAtRestOptions: serializeAws_restJson1EncryptionAtRestOptions(input.EncryptionAtRestOptions, context),
|
|
160
149
|
}),
|
|
161
|
-
...(input.LogPublishingOptions
|
|
162
|
-
input.LogPublishingOptions !== null && {
|
|
150
|
+
...(input.LogPublishingOptions != null && {
|
|
163
151
|
LogPublishingOptions: serializeAws_restJson1LogPublishingOptions(input.LogPublishingOptions, context),
|
|
164
152
|
}),
|
|
165
|
-
...(input.NodeToNodeEncryptionOptions
|
|
166
|
-
input.NodeToNodeEncryptionOptions !== null && {
|
|
153
|
+
...(input.NodeToNodeEncryptionOptions != null && {
|
|
167
154
|
NodeToNodeEncryptionOptions: serializeAws_restJson1NodeToNodeEncryptionOptions(input.NodeToNodeEncryptionOptions, context),
|
|
168
155
|
}),
|
|
169
|
-
...(input.SnapshotOptions
|
|
170
|
-
input.SnapshotOptions !== null && {
|
|
156
|
+
...(input.SnapshotOptions != null && {
|
|
171
157
|
SnapshotOptions: serializeAws_restJson1SnapshotOptions(input.SnapshotOptions, context),
|
|
172
158
|
}),
|
|
173
|
-
...(input.TagList
|
|
174
|
-
|
|
175
|
-
...(input.VPCOptions !== undefined &&
|
|
176
|
-
input.VPCOptions !== null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) }),
|
|
159
|
+
...(input.TagList != null && { TagList: serializeAws_restJson1TagList(input.TagList, context) }),
|
|
160
|
+
...(input.VPCOptions != null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) }),
|
|
177
161
|
});
|
|
178
162
|
return new protocol_http_1.HttpRequest({
|
|
179
163
|
protocol,
|
|
@@ -194,14 +178,11 @@ const serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand =
|
|
|
194
178
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/es/ccs/outboundConnection";
|
|
195
179
|
let body;
|
|
196
180
|
body = JSON.stringify({
|
|
197
|
-
...(input.ConnectionAlias
|
|
198
|
-
|
|
199
|
-
...(input.DestinationDomainInfo !== undefined &&
|
|
200
|
-
input.DestinationDomainInfo !== null && {
|
|
181
|
+
...(input.ConnectionAlias != null && { ConnectionAlias: input.ConnectionAlias }),
|
|
182
|
+
...(input.DestinationDomainInfo != null && {
|
|
201
183
|
DestinationDomainInfo: serializeAws_restJson1DomainInformation(input.DestinationDomainInfo, context),
|
|
202
184
|
}),
|
|
203
|
-
...(input.SourceDomainInfo
|
|
204
|
-
input.SourceDomainInfo !== null && {
|
|
185
|
+
...(input.SourceDomainInfo != null && {
|
|
205
186
|
SourceDomainInfo: serializeAws_restJson1DomainInformation(input.SourceDomainInfo, context),
|
|
206
187
|
}),
|
|
207
188
|
});
|
|
@@ -224,14 +205,12 @@ const serializeAws_restJson1CreatePackageCommand = async (input, context) => {
|
|
|
224
205
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/packages";
|
|
225
206
|
let body;
|
|
226
207
|
body = JSON.stringify({
|
|
227
|
-
...(input.PackageDescription
|
|
228
|
-
|
|
229
|
-
...(input.
|
|
230
|
-
...(input.PackageSource !== undefined &&
|
|
231
|
-
input.PackageSource !== null && {
|
|
208
|
+
...(input.PackageDescription != null && { PackageDescription: input.PackageDescription }),
|
|
209
|
+
...(input.PackageName != null && { PackageName: input.PackageName }),
|
|
210
|
+
...(input.PackageSource != null && {
|
|
232
211
|
PackageSource: serializeAws_restJson1PackageSource(input.PackageSource, context),
|
|
233
212
|
}),
|
|
234
|
-
...(input.PackageType
|
|
213
|
+
...(input.PackageType != null && { PackageType: input.PackageType }),
|
|
235
214
|
});
|
|
236
215
|
return new protocol_http_1.HttpRequest({
|
|
237
216
|
protocol,
|
|
@@ -388,8 +367,8 @@ const serializeAws_restJson1DescribeDomainAutoTunesCommand = async (input, conte
|
|
|
388
367
|
}
|
|
389
368
|
let body;
|
|
390
369
|
body = JSON.stringify({
|
|
391
|
-
...(input.MaxResults
|
|
392
|
-
...(input.NextToken
|
|
370
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
371
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
393
372
|
});
|
|
394
373
|
return new protocol_http_1.HttpRequest({
|
|
395
374
|
protocol,
|
|
@@ -493,8 +472,7 @@ const serializeAws_restJson1DescribeElasticsearchDomainsCommand = async (input,
|
|
|
493
472
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/es/domain-info";
|
|
494
473
|
let body;
|
|
495
474
|
body = JSON.stringify({
|
|
496
|
-
...(input.DomainNames
|
|
497
|
-
input.DomainNames !== null && { DomainNames: serializeAws_restJson1DomainNameList(input.DomainNames, context) }),
|
|
475
|
+
...(input.DomainNames != null && { DomainNames: serializeAws_restJson1DomainNameList(input.DomainNames, context) }),
|
|
498
476
|
});
|
|
499
477
|
return new protocol_http_1.HttpRequest({
|
|
500
478
|
protocol,
|
|
@@ -557,10 +535,9 @@ const serializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand
|
|
|
557
535
|
"/2015-01-01/es/ccs/inboundConnection/search";
|
|
558
536
|
let body;
|
|
559
537
|
body = JSON.stringify({
|
|
560
|
-
...(input.Filters
|
|
561
|
-
|
|
562
|
-
...(input.
|
|
563
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
538
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
|
|
539
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
540
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
564
541
|
});
|
|
565
542
|
return new protocol_http_1.HttpRequest({
|
|
566
543
|
protocol,
|
|
@@ -582,10 +559,9 @@ const serializeAws_restJson1DescribeOutboundCrossClusterSearchConnectionsCommand
|
|
|
582
559
|
"/2015-01-01/es/ccs/outboundConnection/search";
|
|
583
560
|
let body;
|
|
584
561
|
body = JSON.stringify({
|
|
585
|
-
...(input.Filters
|
|
586
|
-
|
|
587
|
-
...(input.
|
|
588
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
562
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
|
|
563
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
564
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
589
565
|
});
|
|
590
566
|
return new protocol_http_1.HttpRequest({
|
|
591
567
|
protocol,
|
|
@@ -606,10 +582,9 @@ const serializeAws_restJson1DescribePackagesCommand = async (input, context) =>
|
|
|
606
582
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/packages/describe";
|
|
607
583
|
let body;
|
|
608
584
|
body = JSON.stringify({
|
|
609
|
-
...(input.Filters
|
|
610
|
-
|
|
611
|
-
...(input.
|
|
612
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
585
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1DescribePackagesFilterList(input.Filters, context) }),
|
|
586
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
587
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
613
588
|
});
|
|
614
589
|
return new protocol_http_1.HttpRequest({
|
|
615
590
|
protocol,
|
|
@@ -982,11 +957,9 @@ const serializeAws_restJson1PurchaseReservedElasticsearchInstanceOfferingCommand
|
|
|
982
957
|
"/2015-01-01/es/purchaseReservedInstanceOffering";
|
|
983
958
|
let body;
|
|
984
959
|
body = JSON.stringify({
|
|
985
|
-
...(input.InstanceCount
|
|
986
|
-
...(input.ReservationName
|
|
987
|
-
|
|
988
|
-
...(input.ReservedElasticsearchInstanceOfferingId !== undefined &&
|
|
989
|
-
input.ReservedElasticsearchInstanceOfferingId !== null && {
|
|
960
|
+
...(input.InstanceCount != null && { InstanceCount: input.InstanceCount }),
|
|
961
|
+
...(input.ReservationName != null && { ReservationName: input.ReservationName }),
|
|
962
|
+
...(input.ReservedElasticsearchInstanceOfferingId != null && {
|
|
990
963
|
ReservedElasticsearchInstanceOfferingId: input.ReservedElasticsearchInstanceOfferingId,
|
|
991
964
|
}),
|
|
992
965
|
});
|
|
@@ -1036,9 +1009,8 @@ const serializeAws_restJson1RemoveTagsCommand = async (input, context) => {
|
|
|
1036
1009
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/tags-removal";
|
|
1037
1010
|
let body;
|
|
1038
1011
|
body = JSON.stringify({
|
|
1039
|
-
...(input.ARN
|
|
1040
|
-
...(input.TagKeys
|
|
1041
|
-
input.TagKeys !== null && { TagKeys: serializeAws_restJson1StringList(input.TagKeys, context) }),
|
|
1012
|
+
...(input.ARN != null && { ARN: input.ARN }),
|
|
1013
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_restJson1StringList(input.TagKeys, context) }),
|
|
1042
1014
|
});
|
|
1043
1015
|
return new protocol_http_1.HttpRequest({
|
|
1044
1016
|
protocol,
|
|
@@ -1060,7 +1032,7 @@ const serializeAws_restJson1StartElasticsearchServiceSoftwareUpdateCommand = asy
|
|
|
1060
1032
|
"/2015-01-01/es/serviceSoftwareUpdate/start";
|
|
1061
1033
|
let body;
|
|
1062
1034
|
body = JSON.stringify({
|
|
1063
|
-
...(input.DomainName
|
|
1035
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1064
1036
|
});
|
|
1065
1037
|
return new protocol_http_1.HttpRequest({
|
|
1066
1038
|
protocol,
|
|
@@ -1091,53 +1063,40 @@ const serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = async (inpu
|
|
|
1091
1063
|
}
|
|
1092
1064
|
let body;
|
|
1093
1065
|
body = JSON.stringify({
|
|
1094
|
-
...(input.AccessPolicies
|
|
1095
|
-
|
|
1096
|
-
...(input.AdvancedOptions !== undefined &&
|
|
1097
|
-
input.AdvancedOptions !== null && {
|
|
1066
|
+
...(input.AccessPolicies != null && { AccessPolicies: input.AccessPolicies }),
|
|
1067
|
+
...(input.AdvancedOptions != null && {
|
|
1098
1068
|
AdvancedOptions: serializeAws_restJson1AdvancedOptions(input.AdvancedOptions, context),
|
|
1099
1069
|
}),
|
|
1100
|
-
...(input.AdvancedSecurityOptions
|
|
1101
|
-
input.AdvancedSecurityOptions !== null && {
|
|
1070
|
+
...(input.AdvancedSecurityOptions != null && {
|
|
1102
1071
|
AdvancedSecurityOptions: serializeAws_restJson1AdvancedSecurityOptionsInput(input.AdvancedSecurityOptions, context),
|
|
1103
1072
|
}),
|
|
1104
|
-
...(input.AutoTuneOptions
|
|
1105
|
-
input.AutoTuneOptions !== null && {
|
|
1073
|
+
...(input.AutoTuneOptions != null && {
|
|
1106
1074
|
AutoTuneOptions: serializeAws_restJson1AutoTuneOptions(input.AutoTuneOptions, context),
|
|
1107
1075
|
}),
|
|
1108
|
-
...(input.CognitoOptions
|
|
1109
|
-
input.CognitoOptions !== null && {
|
|
1076
|
+
...(input.CognitoOptions != null && {
|
|
1110
1077
|
CognitoOptions: serializeAws_restJson1CognitoOptions(input.CognitoOptions, context),
|
|
1111
1078
|
}),
|
|
1112
|
-
...(input.DomainEndpointOptions
|
|
1113
|
-
input.DomainEndpointOptions !== null && {
|
|
1079
|
+
...(input.DomainEndpointOptions != null && {
|
|
1114
1080
|
DomainEndpointOptions: serializeAws_restJson1DomainEndpointOptions(input.DomainEndpointOptions, context),
|
|
1115
1081
|
}),
|
|
1116
|
-
...(input.DryRun
|
|
1117
|
-
...(input.EBSOptions
|
|
1118
|
-
|
|
1119
|
-
...(input.ElasticsearchClusterConfig !== undefined &&
|
|
1120
|
-
input.ElasticsearchClusterConfig !== null && {
|
|
1082
|
+
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1083
|
+
...(input.EBSOptions != null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) }),
|
|
1084
|
+
...(input.ElasticsearchClusterConfig != null && {
|
|
1121
1085
|
ElasticsearchClusterConfig: serializeAws_restJson1ElasticsearchClusterConfig(input.ElasticsearchClusterConfig, context),
|
|
1122
1086
|
}),
|
|
1123
|
-
...(input.EncryptionAtRestOptions
|
|
1124
|
-
input.EncryptionAtRestOptions !== null && {
|
|
1087
|
+
...(input.EncryptionAtRestOptions != null && {
|
|
1125
1088
|
EncryptionAtRestOptions: serializeAws_restJson1EncryptionAtRestOptions(input.EncryptionAtRestOptions, context),
|
|
1126
1089
|
}),
|
|
1127
|
-
...(input.LogPublishingOptions
|
|
1128
|
-
input.LogPublishingOptions !== null && {
|
|
1090
|
+
...(input.LogPublishingOptions != null && {
|
|
1129
1091
|
LogPublishingOptions: serializeAws_restJson1LogPublishingOptions(input.LogPublishingOptions, context),
|
|
1130
1092
|
}),
|
|
1131
|
-
...(input.NodeToNodeEncryptionOptions
|
|
1132
|
-
input.NodeToNodeEncryptionOptions !== null && {
|
|
1093
|
+
...(input.NodeToNodeEncryptionOptions != null && {
|
|
1133
1094
|
NodeToNodeEncryptionOptions: serializeAws_restJson1NodeToNodeEncryptionOptions(input.NodeToNodeEncryptionOptions, context),
|
|
1134
1095
|
}),
|
|
1135
|
-
...(input.SnapshotOptions
|
|
1136
|
-
input.SnapshotOptions !== null && {
|
|
1096
|
+
...(input.SnapshotOptions != null && {
|
|
1137
1097
|
SnapshotOptions: serializeAws_restJson1SnapshotOptions(input.SnapshotOptions, context),
|
|
1138
1098
|
}),
|
|
1139
|
-
...(input.VPCOptions
|
|
1140
|
-
input.VPCOptions !== null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) }),
|
|
1099
|
+
...(input.VPCOptions != null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) }),
|
|
1141
1100
|
});
|
|
1142
1101
|
return new protocol_http_1.HttpRequest({
|
|
1143
1102
|
protocol,
|
|
@@ -1158,12 +1117,10 @@ const serializeAws_restJson1UpdatePackageCommand = async (input, context) => {
|
|
|
1158
1117
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/packages/update";
|
|
1159
1118
|
let body;
|
|
1160
1119
|
body = JSON.stringify({
|
|
1161
|
-
...(input.CommitMessage
|
|
1162
|
-
...(input.PackageDescription
|
|
1163
|
-
|
|
1164
|
-
...(input.
|
|
1165
|
-
...(input.PackageSource !== undefined &&
|
|
1166
|
-
input.PackageSource !== null && {
|
|
1120
|
+
...(input.CommitMessage != null && { CommitMessage: input.CommitMessage }),
|
|
1121
|
+
...(input.PackageDescription != null && { PackageDescription: input.PackageDescription }),
|
|
1122
|
+
...(input.PackageID != null && { PackageID: input.PackageID }),
|
|
1123
|
+
...(input.PackageSource != null && {
|
|
1167
1124
|
PackageSource: serializeAws_restJson1PackageSource(input.PackageSource, context),
|
|
1168
1125
|
}),
|
|
1169
1126
|
});
|
|
@@ -1186,10 +1143,9 @@ const serializeAws_restJson1UpgradeElasticsearchDomainCommand = async (input, co
|
|
|
1186
1143
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/es/upgradeDomain";
|
|
1187
1144
|
let body;
|
|
1188
1145
|
body = JSON.stringify({
|
|
1189
|
-
...(input.DomainName
|
|
1190
|
-
...(input.PerformCheckOnly
|
|
1191
|
-
|
|
1192
|
-
...(input.TargetVersion !== undefined && input.TargetVersion !== null && { TargetVersion: input.TargetVersion }),
|
|
1146
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1147
|
+
...(input.PerformCheckOnly != null && { PerformCheckOnly: input.PerformCheckOnly }),
|
|
1148
|
+
...(input.TargetVersion != null && { TargetVersion: input.TargetVersion }),
|
|
1193
1149
|
});
|
|
1194
1150
|
return new protocol_http_1.HttpRequest({
|
|
1195
1151
|
protocol,
|
|
@@ -3398,29 +3354,26 @@ const serializeAws_restJson1AdvancedOptions = (input, context) => {
|
|
|
3398
3354
|
};
|
|
3399
3355
|
const serializeAws_restJson1AdvancedSecurityOptionsInput = (input, context) => {
|
|
3400
3356
|
return {
|
|
3401
|
-
...(input.AnonymousAuthEnabled
|
|
3402
|
-
|
|
3403
|
-
...(input.
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
...(input.MasterUserOptions
|
|
3407
|
-
input.MasterUserOptions !== null && {
|
|
3357
|
+
...(input.AnonymousAuthEnabled != null && { AnonymousAuthEnabled: input.AnonymousAuthEnabled }),
|
|
3358
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3359
|
+
...(input.InternalUserDatabaseEnabled != null && {
|
|
3360
|
+
InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled,
|
|
3361
|
+
}),
|
|
3362
|
+
...(input.MasterUserOptions != null && {
|
|
3408
3363
|
MasterUserOptions: serializeAws_restJson1MasterUserOptions(input.MasterUserOptions, context),
|
|
3409
3364
|
}),
|
|
3410
|
-
...(input.SAMLOptions
|
|
3411
|
-
input.SAMLOptions !== null && {
|
|
3365
|
+
...(input.SAMLOptions != null && {
|
|
3412
3366
|
SAMLOptions: serializeAws_restJson1SAMLOptionsInput(input.SAMLOptions, context),
|
|
3413
3367
|
}),
|
|
3414
3368
|
};
|
|
3415
3369
|
};
|
|
3416
3370
|
const serializeAws_restJson1AutoTuneMaintenanceSchedule = (input, context) => {
|
|
3417
3371
|
return {
|
|
3418
|
-
...(input.CronExpressionForRecurrence
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
...(input.StartAt
|
|
3423
|
-
input.StartAt !== null && { StartAt: Math.round(input.StartAt.getTime() / 1000) }),
|
|
3372
|
+
...(input.CronExpressionForRecurrence != null && {
|
|
3373
|
+
CronExpressionForRecurrence: input.CronExpressionForRecurrence,
|
|
3374
|
+
}),
|
|
3375
|
+
...(input.Duration != null && { Duration: serializeAws_restJson1Duration(input.Duration, context) }),
|
|
3376
|
+
...(input.StartAt != null && { StartAt: Math.round(input.StartAt.getTime() / 1000) }),
|
|
3424
3377
|
};
|
|
3425
3378
|
};
|
|
3426
3379
|
const serializeAws_restJson1AutoTuneMaintenanceScheduleList = (input, context) => {
|
|
@@ -3435,43 +3388,38 @@ const serializeAws_restJson1AutoTuneMaintenanceScheduleList = (input, context) =
|
|
|
3435
3388
|
};
|
|
3436
3389
|
const serializeAws_restJson1AutoTuneOptions = (input, context) => {
|
|
3437
3390
|
return {
|
|
3438
|
-
...(input.DesiredState
|
|
3439
|
-
...(input.MaintenanceSchedules
|
|
3440
|
-
input.MaintenanceSchedules !== null && {
|
|
3391
|
+
...(input.DesiredState != null && { DesiredState: input.DesiredState }),
|
|
3392
|
+
...(input.MaintenanceSchedules != null && {
|
|
3441
3393
|
MaintenanceSchedules: serializeAws_restJson1AutoTuneMaintenanceScheduleList(input.MaintenanceSchedules, context),
|
|
3442
3394
|
}),
|
|
3443
|
-
...(input.RollbackOnDisable
|
|
3444
|
-
input.RollbackOnDisable !== null && { RollbackOnDisable: input.RollbackOnDisable }),
|
|
3395
|
+
...(input.RollbackOnDisable != null && { RollbackOnDisable: input.RollbackOnDisable }),
|
|
3445
3396
|
};
|
|
3446
3397
|
};
|
|
3447
3398
|
const serializeAws_restJson1AutoTuneOptionsInput = (input, context) => {
|
|
3448
3399
|
return {
|
|
3449
|
-
...(input.DesiredState
|
|
3450
|
-
...(input.MaintenanceSchedules
|
|
3451
|
-
input.MaintenanceSchedules !== null && {
|
|
3400
|
+
...(input.DesiredState != null && { DesiredState: input.DesiredState }),
|
|
3401
|
+
...(input.MaintenanceSchedules != null && {
|
|
3452
3402
|
MaintenanceSchedules: serializeAws_restJson1AutoTuneMaintenanceScheduleList(input.MaintenanceSchedules, context),
|
|
3453
3403
|
}),
|
|
3454
3404
|
};
|
|
3455
3405
|
};
|
|
3456
3406
|
const serializeAws_restJson1CognitoOptions = (input, context) => {
|
|
3457
3407
|
return {
|
|
3458
|
-
...(input.Enabled
|
|
3459
|
-
...(input.IdentityPoolId
|
|
3460
|
-
|
|
3461
|
-
...(input.
|
|
3462
|
-
...(input.UserPoolId !== undefined && input.UserPoolId !== null && { UserPoolId: input.UserPoolId }),
|
|
3408
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3409
|
+
...(input.IdentityPoolId != null && { IdentityPoolId: input.IdentityPoolId }),
|
|
3410
|
+
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3411
|
+
...(input.UserPoolId != null && { UserPoolId: input.UserPoolId }),
|
|
3463
3412
|
};
|
|
3464
3413
|
};
|
|
3465
3414
|
const serializeAws_restJson1ColdStorageOptions = (input, context) => {
|
|
3466
3415
|
return {
|
|
3467
|
-
...(input.Enabled
|
|
3416
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3468
3417
|
};
|
|
3469
3418
|
};
|
|
3470
3419
|
const serializeAws_restJson1DescribePackagesFilter = (input, context) => {
|
|
3471
3420
|
return {
|
|
3472
|
-
...(input.Name
|
|
3473
|
-
...(input.Value
|
|
3474
|
-
input.Value !== null && { Value: serializeAws_restJson1DescribePackagesFilterValues(input.Value, context) }),
|
|
3421
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3422
|
+
...(input.Value != null && { Value: serializeAws_restJson1DescribePackagesFilterValues(input.Value, context) }),
|
|
3475
3423
|
};
|
|
3476
3424
|
};
|
|
3477
3425
|
const serializeAws_restJson1DescribePackagesFilterList = (input, context) => {
|
|
@@ -3496,24 +3444,20 @@ const serializeAws_restJson1DescribePackagesFilterValues = (input, context) => {
|
|
|
3496
3444
|
};
|
|
3497
3445
|
const serializeAws_restJson1DomainEndpointOptions = (input, context) => {
|
|
3498
3446
|
return {
|
|
3499
|
-
...(input.CustomEndpoint
|
|
3500
|
-
|
|
3501
|
-
...(input.CustomEndpointCertificateArn !== undefined &&
|
|
3502
|
-
input.CustomEndpointCertificateArn !== null && {
|
|
3447
|
+
...(input.CustomEndpoint != null && { CustomEndpoint: input.CustomEndpoint }),
|
|
3448
|
+
...(input.CustomEndpointCertificateArn != null && {
|
|
3503
3449
|
CustomEndpointCertificateArn: input.CustomEndpointCertificateArn,
|
|
3504
3450
|
}),
|
|
3505
|
-
...(input.CustomEndpointEnabled
|
|
3506
|
-
|
|
3507
|
-
...(input.
|
|
3508
|
-
...(input.TLSSecurityPolicy !== undefined &&
|
|
3509
|
-
input.TLSSecurityPolicy !== null && { TLSSecurityPolicy: input.TLSSecurityPolicy }),
|
|
3451
|
+
...(input.CustomEndpointEnabled != null && { CustomEndpointEnabled: input.CustomEndpointEnabled }),
|
|
3452
|
+
...(input.EnforceHTTPS != null && { EnforceHTTPS: input.EnforceHTTPS }),
|
|
3453
|
+
...(input.TLSSecurityPolicy != null && { TLSSecurityPolicy: input.TLSSecurityPolicy }),
|
|
3510
3454
|
};
|
|
3511
3455
|
};
|
|
3512
3456
|
const serializeAws_restJson1DomainInformation = (input, context) => {
|
|
3513
3457
|
return {
|
|
3514
|
-
...(input.DomainName
|
|
3515
|
-
...(input.OwnerId
|
|
3516
|
-
...(input.Region
|
|
3458
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
3459
|
+
...(input.OwnerId != null && { OwnerId: input.OwnerId }),
|
|
3460
|
+
...(input.Region != null && { Region: input.Region }),
|
|
3517
3461
|
};
|
|
3518
3462
|
};
|
|
3519
3463
|
const serializeAws_restJson1DomainNameList = (input, context) => {
|
|
@@ -3528,54 +3472,47 @@ const serializeAws_restJson1DomainNameList = (input, context) => {
|
|
|
3528
3472
|
};
|
|
3529
3473
|
const serializeAws_restJson1Duration = (input, context) => {
|
|
3530
3474
|
return {
|
|
3531
|
-
...(input.Unit
|
|
3532
|
-
...(input.Value
|
|
3475
|
+
...(input.Unit != null && { Unit: input.Unit }),
|
|
3476
|
+
...(input.Value != null && { Value: input.Value }),
|
|
3533
3477
|
};
|
|
3534
3478
|
};
|
|
3535
3479
|
const serializeAws_restJson1EBSOptions = (input, context) => {
|
|
3536
3480
|
return {
|
|
3537
|
-
...(input.EBSEnabled
|
|
3538
|
-
...(input.Iops
|
|
3539
|
-
...(input.VolumeSize
|
|
3540
|
-
...(input.VolumeType
|
|
3481
|
+
...(input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled }),
|
|
3482
|
+
...(input.Iops != null && { Iops: input.Iops }),
|
|
3483
|
+
...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
|
|
3484
|
+
...(input.VolumeType != null && { VolumeType: input.VolumeType }),
|
|
3541
3485
|
};
|
|
3542
3486
|
};
|
|
3543
3487
|
const serializeAws_restJson1ElasticsearchClusterConfig = (input, context) => {
|
|
3544
3488
|
return {
|
|
3545
|
-
...(input.ColdStorageOptions
|
|
3546
|
-
input.ColdStorageOptions !== null && {
|
|
3489
|
+
...(input.ColdStorageOptions != null && {
|
|
3547
3490
|
ColdStorageOptions: serializeAws_restJson1ColdStorageOptions(input.ColdStorageOptions, context),
|
|
3548
3491
|
}),
|
|
3549
|
-
...(input.DedicatedMasterCount
|
|
3550
|
-
|
|
3551
|
-
...(input.
|
|
3552
|
-
|
|
3553
|
-
...(input.
|
|
3554
|
-
|
|
3555
|
-
...(input.
|
|
3556
|
-
...(input.
|
|
3557
|
-
...(input.
|
|
3558
|
-
...(input.WarmEnabled !== undefined && input.WarmEnabled !== null && { WarmEnabled: input.WarmEnabled }),
|
|
3559
|
-
...(input.WarmType !== undefined && input.WarmType !== null && { WarmType: input.WarmType }),
|
|
3560
|
-
...(input.ZoneAwarenessConfig !== undefined &&
|
|
3561
|
-
input.ZoneAwarenessConfig !== null && {
|
|
3492
|
+
...(input.DedicatedMasterCount != null && { DedicatedMasterCount: input.DedicatedMasterCount }),
|
|
3493
|
+
...(input.DedicatedMasterEnabled != null && { DedicatedMasterEnabled: input.DedicatedMasterEnabled }),
|
|
3494
|
+
...(input.DedicatedMasterType != null && { DedicatedMasterType: input.DedicatedMasterType }),
|
|
3495
|
+
...(input.InstanceCount != null && { InstanceCount: input.InstanceCount }),
|
|
3496
|
+
...(input.InstanceType != null && { InstanceType: input.InstanceType }),
|
|
3497
|
+
...(input.WarmCount != null && { WarmCount: input.WarmCount }),
|
|
3498
|
+
...(input.WarmEnabled != null && { WarmEnabled: input.WarmEnabled }),
|
|
3499
|
+
...(input.WarmType != null && { WarmType: input.WarmType }),
|
|
3500
|
+
...(input.ZoneAwarenessConfig != null && {
|
|
3562
3501
|
ZoneAwarenessConfig: serializeAws_restJson1ZoneAwarenessConfig(input.ZoneAwarenessConfig, context),
|
|
3563
3502
|
}),
|
|
3564
|
-
...(input.ZoneAwarenessEnabled
|
|
3565
|
-
input.ZoneAwarenessEnabled !== null && { ZoneAwarenessEnabled: input.ZoneAwarenessEnabled }),
|
|
3503
|
+
...(input.ZoneAwarenessEnabled != null && { ZoneAwarenessEnabled: input.ZoneAwarenessEnabled }),
|
|
3566
3504
|
};
|
|
3567
3505
|
};
|
|
3568
3506
|
const serializeAws_restJson1EncryptionAtRestOptions = (input, context) => {
|
|
3569
3507
|
return {
|
|
3570
|
-
...(input.Enabled
|
|
3571
|
-
...(input.KmsKeyId
|
|
3508
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3509
|
+
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
3572
3510
|
};
|
|
3573
3511
|
};
|
|
3574
3512
|
const serializeAws_restJson1Filter = (input, context) => {
|
|
3575
3513
|
return {
|
|
3576
|
-
...(input.Name
|
|
3577
|
-
...(input.Values
|
|
3578
|
-
input.Values !== null && { Values: serializeAws_restJson1ValueStringList(input.Values, context) }),
|
|
3514
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3515
|
+
...(input.Values != null && { Values: serializeAws_restJson1ValueStringList(input.Values, context) }),
|
|
3579
3516
|
};
|
|
3580
3517
|
};
|
|
3581
3518
|
const serializeAws_restJson1FilterList = (input, context) => {
|
|
@@ -3590,9 +3527,8 @@ const serializeAws_restJson1FilterList = (input, context) => {
|
|
|
3590
3527
|
};
|
|
3591
3528
|
const serializeAws_restJson1LogPublishingOption = (input, context) => {
|
|
3592
3529
|
return {
|
|
3593
|
-
...(input.CloudWatchLogsLogGroupArn
|
|
3594
|
-
|
|
3595
|
-
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
3530
|
+
...(input.CloudWatchLogsLogGroupArn != null && { CloudWatchLogsLogGroupArn: input.CloudWatchLogsLogGroupArn }),
|
|
3531
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3596
3532
|
};
|
|
3597
3533
|
};
|
|
3598
3534
|
const serializeAws_restJson1LogPublishingOptions = (input, context) => {
|
|
@@ -3608,49 +3544,42 @@ const serializeAws_restJson1LogPublishingOptions = (input, context) => {
|
|
|
3608
3544
|
};
|
|
3609
3545
|
const serializeAws_restJson1MasterUserOptions = (input, context) => {
|
|
3610
3546
|
return {
|
|
3611
|
-
...(input.MasterUserARN
|
|
3612
|
-
...(input.MasterUserName
|
|
3613
|
-
|
|
3614
|
-
...(input.MasterUserPassword !== undefined &&
|
|
3615
|
-
input.MasterUserPassword !== null && { MasterUserPassword: input.MasterUserPassword }),
|
|
3547
|
+
...(input.MasterUserARN != null && { MasterUserARN: input.MasterUserARN }),
|
|
3548
|
+
...(input.MasterUserName != null && { MasterUserName: input.MasterUserName }),
|
|
3549
|
+
...(input.MasterUserPassword != null && { MasterUserPassword: input.MasterUserPassword }),
|
|
3616
3550
|
};
|
|
3617
3551
|
};
|
|
3618
3552
|
const serializeAws_restJson1NodeToNodeEncryptionOptions = (input, context) => {
|
|
3619
3553
|
return {
|
|
3620
|
-
...(input.Enabled
|
|
3554
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3621
3555
|
};
|
|
3622
3556
|
};
|
|
3623
3557
|
const serializeAws_restJson1PackageSource = (input, context) => {
|
|
3624
3558
|
return {
|
|
3625
|
-
...(input.S3BucketName
|
|
3626
|
-
...(input.S3Key
|
|
3559
|
+
...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
|
|
3560
|
+
...(input.S3Key != null && { S3Key: input.S3Key }),
|
|
3627
3561
|
};
|
|
3628
3562
|
};
|
|
3629
3563
|
const serializeAws_restJson1SAMLIdp = (input, context) => {
|
|
3630
3564
|
return {
|
|
3631
|
-
...(input.EntityId
|
|
3632
|
-
...(input.MetadataContent
|
|
3633
|
-
input.MetadataContent !== null && { MetadataContent: input.MetadataContent }),
|
|
3565
|
+
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
3566
|
+
...(input.MetadataContent != null && { MetadataContent: input.MetadataContent }),
|
|
3634
3567
|
};
|
|
3635
3568
|
};
|
|
3636
3569
|
const serializeAws_restJson1SAMLOptionsInput = (input, context) => {
|
|
3637
3570
|
return {
|
|
3638
|
-
...(input.Enabled
|
|
3639
|
-
...(input.Idp
|
|
3640
|
-
...(input.MasterBackendRole
|
|
3641
|
-
|
|
3642
|
-
...(input.
|
|
3643
|
-
|
|
3644
|
-
...(input.
|
|
3645
|
-
...(input.SessionTimeoutMinutes !== undefined &&
|
|
3646
|
-
input.SessionTimeoutMinutes !== null && { SessionTimeoutMinutes: input.SessionTimeoutMinutes }),
|
|
3647
|
-
...(input.SubjectKey !== undefined && input.SubjectKey !== null && { SubjectKey: input.SubjectKey }),
|
|
3571
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3572
|
+
...(input.Idp != null && { Idp: serializeAws_restJson1SAMLIdp(input.Idp, context) }),
|
|
3573
|
+
...(input.MasterBackendRole != null && { MasterBackendRole: input.MasterBackendRole }),
|
|
3574
|
+
...(input.MasterUserName != null && { MasterUserName: input.MasterUserName }),
|
|
3575
|
+
...(input.RolesKey != null && { RolesKey: input.RolesKey }),
|
|
3576
|
+
...(input.SessionTimeoutMinutes != null && { SessionTimeoutMinutes: input.SessionTimeoutMinutes }),
|
|
3577
|
+
...(input.SubjectKey != null && { SubjectKey: input.SubjectKey }),
|
|
3648
3578
|
};
|
|
3649
3579
|
};
|
|
3650
3580
|
const serializeAws_restJson1SnapshotOptions = (input, context) => {
|
|
3651
3581
|
return {
|
|
3652
|
-
...(input.AutomatedSnapshotStartHour
|
|
3653
|
-
input.AutomatedSnapshotStartHour !== null && { AutomatedSnapshotStartHour: input.AutomatedSnapshotStartHour }),
|
|
3582
|
+
...(input.AutomatedSnapshotStartHour != null && { AutomatedSnapshotStartHour: input.AutomatedSnapshotStartHour }),
|
|
3654
3583
|
};
|
|
3655
3584
|
};
|
|
3656
3585
|
const serializeAws_restJson1StringList = (input, context) => {
|
|
@@ -3665,8 +3594,8 @@ const serializeAws_restJson1StringList = (input, context) => {
|
|
|
3665
3594
|
};
|
|
3666
3595
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
3667
3596
|
return {
|
|
3668
|
-
...(input.Key
|
|
3669
|
-
...(input.Value
|
|
3597
|
+
...(input.Key != null && { Key: input.Key }),
|
|
3598
|
+
...(input.Value != null && { Value: input.Value }),
|
|
3670
3599
|
};
|
|
3671
3600
|
};
|
|
3672
3601
|
const serializeAws_restJson1TagList = (input, context) => {
|
|
@@ -3691,34 +3620,27 @@ const serializeAws_restJson1ValueStringList = (input, context) => {
|
|
|
3691
3620
|
};
|
|
3692
3621
|
const serializeAws_restJson1VPCOptions = (input, context) => {
|
|
3693
3622
|
return {
|
|
3694
|
-
...(input.SecurityGroupIds
|
|
3695
|
-
input.SecurityGroupIds !== null && {
|
|
3623
|
+
...(input.SecurityGroupIds != null && {
|
|
3696
3624
|
SecurityGroupIds: serializeAws_restJson1StringList(input.SecurityGroupIds, context),
|
|
3697
3625
|
}),
|
|
3698
|
-
...(input.SubnetIds
|
|
3699
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_restJson1StringList(input.SubnetIds, context) }),
|
|
3626
|
+
...(input.SubnetIds != null && { SubnetIds: serializeAws_restJson1StringList(input.SubnetIds, context) }),
|
|
3700
3627
|
};
|
|
3701
3628
|
};
|
|
3702
3629
|
const serializeAws_restJson1ZoneAwarenessConfig = (input, context) => {
|
|
3703
3630
|
return {
|
|
3704
|
-
...(input.AvailabilityZoneCount
|
|
3705
|
-
input.AvailabilityZoneCount !== null && { AvailabilityZoneCount: input.AvailabilityZoneCount }),
|
|
3631
|
+
...(input.AvailabilityZoneCount != null && { AvailabilityZoneCount: input.AvailabilityZoneCount }),
|
|
3706
3632
|
};
|
|
3707
3633
|
};
|
|
3708
3634
|
const deserializeAws_restJson1AccessPoliciesStatus = (output, context) => {
|
|
3709
3635
|
return {
|
|
3710
3636
|
Options: (0, smithy_client_1.expectString)(output.Options),
|
|
3711
|
-
Status: output.Status
|
|
3712
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
3713
|
-
: undefined,
|
|
3637
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
3714
3638
|
};
|
|
3715
3639
|
};
|
|
3716
3640
|
const deserializeAws_restJson1AdditionalLimit = (output, context) => {
|
|
3717
3641
|
return {
|
|
3718
3642
|
LimitName: (0, smithy_client_1.expectString)(output.LimitName),
|
|
3719
|
-
LimitValues: output.LimitValues
|
|
3720
|
-
? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
|
|
3721
|
-
: undefined,
|
|
3643
|
+
LimitValues: output.LimitValues != null ? deserializeAws_restJson1LimitValueList(output.LimitValues, context) : undefined,
|
|
3722
3644
|
};
|
|
3723
3645
|
};
|
|
3724
3646
|
const deserializeAws_restJson1AdditionalLimitList = (output, context) => {
|
|
@@ -3745,40 +3667,30 @@ const deserializeAws_restJson1AdvancedOptions = (output, context) => {
|
|
|
3745
3667
|
};
|
|
3746
3668
|
const deserializeAws_restJson1AdvancedOptionsStatus = (output, context) => {
|
|
3747
3669
|
return {
|
|
3748
|
-
Options: output.Options
|
|
3749
|
-
|
|
3750
|
-
: undefined,
|
|
3751
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
3752
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
3753
|
-
: undefined,
|
|
3670
|
+
Options: output.Options != null ? deserializeAws_restJson1AdvancedOptions(output.Options, context) : undefined,
|
|
3671
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
3754
3672
|
};
|
|
3755
3673
|
};
|
|
3756
3674
|
const deserializeAws_restJson1AdvancedSecurityOptions = (output, context) => {
|
|
3757
3675
|
return {
|
|
3758
|
-
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate
|
|
3676
|
+
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate != null
|
|
3759
3677
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AnonymousAuthDisableDate)))
|
|
3760
3678
|
: undefined,
|
|
3761
3679
|
AnonymousAuthEnabled: (0, smithy_client_1.expectBoolean)(output.AnonymousAuthEnabled),
|
|
3762
3680
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3763
3681
|
InternalUserDatabaseEnabled: (0, smithy_client_1.expectBoolean)(output.InternalUserDatabaseEnabled),
|
|
3764
|
-
SAMLOptions: output.SAMLOptions
|
|
3765
|
-
? deserializeAws_restJson1SAMLOptionsOutput(output.SAMLOptions, context)
|
|
3766
|
-
: undefined,
|
|
3682
|
+
SAMLOptions: output.SAMLOptions != null ? deserializeAws_restJson1SAMLOptionsOutput(output.SAMLOptions, context) : undefined,
|
|
3767
3683
|
};
|
|
3768
3684
|
};
|
|
3769
3685
|
const deserializeAws_restJson1AdvancedSecurityOptionsStatus = (output, context) => {
|
|
3770
3686
|
return {
|
|
3771
|
-
Options: output.Options
|
|
3772
|
-
|
|
3773
|
-
: undefined,
|
|
3774
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
3775
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
3776
|
-
: undefined,
|
|
3687
|
+
Options: output.Options != null ? deserializeAws_restJson1AdvancedSecurityOptions(output.Options, context) : undefined,
|
|
3688
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
3777
3689
|
};
|
|
3778
3690
|
};
|
|
3779
3691
|
const deserializeAws_restJson1AutoTune = (output, context) => {
|
|
3780
3692
|
return {
|
|
3781
|
-
AutoTuneDetails: output.AutoTuneDetails
|
|
3693
|
+
AutoTuneDetails: output.AutoTuneDetails != null
|
|
3782
3694
|
? deserializeAws_restJson1AutoTuneDetails(output.AutoTuneDetails, context)
|
|
3783
3695
|
: undefined,
|
|
3784
3696
|
AutoTuneType: (0, smithy_client_1.expectString)(output.AutoTuneType),
|
|
@@ -3786,7 +3698,7 @@ const deserializeAws_restJson1AutoTune = (output, context) => {
|
|
|
3786
3698
|
};
|
|
3787
3699
|
const deserializeAws_restJson1AutoTuneDetails = (output, context) => {
|
|
3788
3700
|
return {
|
|
3789
|
-
ScheduledAutoTuneDetails: output.ScheduledAutoTuneDetails
|
|
3701
|
+
ScheduledAutoTuneDetails: output.ScheduledAutoTuneDetails != null
|
|
3790
3702
|
? deserializeAws_restJson1ScheduledAutoTuneDetails(output.ScheduledAutoTuneDetails, context)
|
|
3791
3703
|
: undefined,
|
|
3792
3704
|
};
|
|
@@ -3805,12 +3717,8 @@ const deserializeAws_restJson1AutoTuneList = (output, context) => {
|
|
|
3805
3717
|
const deserializeAws_restJson1AutoTuneMaintenanceSchedule = (output, context) => {
|
|
3806
3718
|
return {
|
|
3807
3719
|
CronExpressionForRecurrence: (0, smithy_client_1.expectString)(output.CronExpressionForRecurrence),
|
|
3808
|
-
Duration: output.Duration
|
|
3809
|
-
|
|
3810
|
-
: undefined,
|
|
3811
|
-
StartAt: output.StartAt !== undefined && output.StartAt !== null
|
|
3812
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartAt)))
|
|
3813
|
-
: undefined,
|
|
3720
|
+
Duration: output.Duration != null ? deserializeAws_restJson1Duration(output.Duration, context) : undefined,
|
|
3721
|
+
StartAt: output.StartAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartAt))) : undefined,
|
|
3814
3722
|
};
|
|
3815
3723
|
};
|
|
3816
3724
|
const deserializeAws_restJson1AutoTuneMaintenanceScheduleList = (output, context) => {
|
|
@@ -3827,7 +3735,7 @@ const deserializeAws_restJson1AutoTuneMaintenanceScheduleList = (output, context
|
|
|
3827
3735
|
const deserializeAws_restJson1AutoTuneOptions = (output, context) => {
|
|
3828
3736
|
return {
|
|
3829
3737
|
DesiredState: (0, smithy_client_1.expectString)(output.DesiredState),
|
|
3830
|
-
MaintenanceSchedules: output.MaintenanceSchedules
|
|
3738
|
+
MaintenanceSchedules: output.MaintenanceSchedules != null
|
|
3831
3739
|
? deserializeAws_restJson1AutoTuneMaintenanceScheduleList(output.MaintenanceSchedules, context)
|
|
3832
3740
|
: undefined,
|
|
3833
3741
|
RollbackOnDisable: (0, smithy_client_1.expectString)(output.RollbackOnDisable),
|
|
@@ -3841,25 +3749,19 @@ const deserializeAws_restJson1AutoTuneOptionsOutput = (output, context) => {
|
|
|
3841
3749
|
};
|
|
3842
3750
|
const deserializeAws_restJson1AutoTuneOptionsStatus = (output, context) => {
|
|
3843
3751
|
return {
|
|
3844
|
-
Options: output.Options
|
|
3845
|
-
|
|
3846
|
-
: undefined,
|
|
3847
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
3848
|
-
? deserializeAws_restJson1AutoTuneStatus(output.Status, context)
|
|
3849
|
-
: undefined,
|
|
3752
|
+
Options: output.Options != null ? deserializeAws_restJson1AutoTuneOptions(output.Options, context) : undefined,
|
|
3753
|
+
Status: output.Status != null ? deserializeAws_restJson1AutoTuneStatus(output.Status, context) : undefined,
|
|
3850
3754
|
};
|
|
3851
3755
|
};
|
|
3852
3756
|
const deserializeAws_restJson1AutoTuneStatus = (output, context) => {
|
|
3853
3757
|
return {
|
|
3854
|
-
CreationDate: output.CreationDate
|
|
3758
|
+
CreationDate: output.CreationDate != null
|
|
3855
3759
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
3856
3760
|
: undefined,
|
|
3857
3761
|
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
3858
3762
|
PendingDeletion: (0, smithy_client_1.expectBoolean)(output.PendingDeletion),
|
|
3859
3763
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3860
|
-
UpdateDate: output.UpdateDate
|
|
3861
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
|
|
3862
|
-
: undefined,
|
|
3764
|
+
UpdateDate: output.UpdateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate))) : undefined,
|
|
3863
3765
|
UpdateVersion: (0, smithy_client_1.expectInt32)(output.UpdateVersion),
|
|
3864
3766
|
};
|
|
3865
3767
|
};
|
|
@@ -3872,7 +3774,7 @@ const deserializeAws_restJson1ChangeProgressDetails = (output, context) => {
|
|
|
3872
3774
|
const deserializeAws_restJson1ChangeProgressStage = (output, context) => {
|
|
3873
3775
|
return {
|
|
3874
3776
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3875
|
-
LastUpdated: output.LastUpdated
|
|
3777
|
+
LastUpdated: output.LastUpdated != null
|
|
3876
3778
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
|
|
3877
3779
|
: undefined,
|
|
3878
3780
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -3893,18 +3795,16 @@ const deserializeAws_restJson1ChangeProgressStageList = (output, context) => {
|
|
|
3893
3795
|
const deserializeAws_restJson1ChangeProgressStatusDetails = (output, context) => {
|
|
3894
3796
|
return {
|
|
3895
3797
|
ChangeId: (0, smithy_client_1.expectString)(output.ChangeId),
|
|
3896
|
-
ChangeProgressStages: output.ChangeProgressStages
|
|
3798
|
+
ChangeProgressStages: output.ChangeProgressStages != null
|
|
3897
3799
|
? deserializeAws_restJson1ChangeProgressStageList(output.ChangeProgressStages, context)
|
|
3898
3800
|
: undefined,
|
|
3899
|
-
CompletedProperties: output.CompletedProperties
|
|
3801
|
+
CompletedProperties: output.CompletedProperties != null
|
|
3900
3802
|
? deserializeAws_restJson1StringList(output.CompletedProperties, context)
|
|
3901
3803
|
: undefined,
|
|
3902
|
-
PendingProperties: output.PendingProperties
|
|
3804
|
+
PendingProperties: output.PendingProperties != null
|
|
3903
3805
|
? deserializeAws_restJson1StringList(output.PendingProperties, context)
|
|
3904
3806
|
: undefined,
|
|
3905
|
-
StartTime: output.StartTime
|
|
3906
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3907
|
-
: undefined,
|
|
3807
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3908
3808
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3909
3809
|
TotalNumberOfStages: (0, smithy_client_1.expectInt32)(output.TotalNumberOfStages),
|
|
3910
3810
|
};
|
|
@@ -3919,12 +3819,8 @@ const deserializeAws_restJson1CognitoOptions = (output, context) => {
|
|
|
3919
3819
|
};
|
|
3920
3820
|
const deserializeAws_restJson1CognitoOptionsStatus = (output, context) => {
|
|
3921
3821
|
return {
|
|
3922
|
-
Options: output.Options
|
|
3923
|
-
|
|
3924
|
-
: undefined,
|
|
3925
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
3926
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
3927
|
-
: undefined,
|
|
3822
|
+
Options: output.Options != null ? deserializeAws_restJson1CognitoOptions(output.Options, context) : undefined,
|
|
3823
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
3928
3824
|
};
|
|
3929
3825
|
};
|
|
3930
3826
|
const deserializeAws_restJson1ColdStorageOptions = (output, context) => {
|
|
@@ -3946,7 +3842,7 @@ const deserializeAws_restJson1CompatibleElasticsearchVersionsList = (output, con
|
|
|
3946
3842
|
const deserializeAws_restJson1CompatibleVersionsMap = (output, context) => {
|
|
3947
3843
|
return {
|
|
3948
3844
|
SourceVersion: (0, smithy_client_1.expectString)(output.SourceVersion),
|
|
3949
|
-
TargetVersions: output.TargetVersions
|
|
3845
|
+
TargetVersions: output.TargetVersions != null
|
|
3950
3846
|
? deserializeAws_restJson1ElasticsearchVersionList(output.TargetVersions, context)
|
|
3951
3847
|
: undefined,
|
|
3952
3848
|
};
|
|
@@ -3962,12 +3858,8 @@ const deserializeAws_restJson1DomainEndpointOptions = (output, context) => {
|
|
|
3962
3858
|
};
|
|
3963
3859
|
const deserializeAws_restJson1DomainEndpointOptionsStatus = (output, context) => {
|
|
3964
3860
|
return {
|
|
3965
|
-
Options: output.Options
|
|
3966
|
-
|
|
3967
|
-
: undefined,
|
|
3968
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
3969
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
3970
|
-
: undefined,
|
|
3861
|
+
Options: output.Options != null ? deserializeAws_restJson1DomainEndpointOptions(output.Options, context) : undefined,
|
|
3862
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
3971
3863
|
};
|
|
3972
3864
|
};
|
|
3973
3865
|
const deserializeAws_restJson1DomainInfo = (output, context) => {
|
|
@@ -3998,10 +3890,8 @@ const deserializeAws_restJson1DomainPackageDetails = (output, context) => {
|
|
|
3998
3890
|
return {
|
|
3999
3891
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
4000
3892
|
DomainPackageStatus: (0, smithy_client_1.expectString)(output.DomainPackageStatus),
|
|
4001
|
-
ErrorDetails: output.ErrorDetails
|
|
4002
|
-
|
|
4003
|
-
: undefined,
|
|
4004
|
-
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
3893
|
+
ErrorDetails: output.ErrorDetails != null ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context) : undefined,
|
|
3894
|
+
LastUpdated: output.LastUpdated != null
|
|
4005
3895
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
|
|
4006
3896
|
: undefined,
|
|
4007
3897
|
PackageID: (0, smithy_client_1.expectString)(output.PackageID),
|
|
@@ -4044,17 +3934,13 @@ const deserializeAws_restJson1EBSOptions = (output, context) => {
|
|
|
4044
3934
|
};
|
|
4045
3935
|
const deserializeAws_restJson1EBSOptionsStatus = (output, context) => {
|
|
4046
3936
|
return {
|
|
4047
|
-
Options: output.Options
|
|
4048
|
-
|
|
4049
|
-
: undefined,
|
|
4050
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4051
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4052
|
-
: undefined,
|
|
3937
|
+
Options: output.Options != null ? deserializeAws_restJson1EBSOptions(output.Options, context) : undefined,
|
|
3938
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4053
3939
|
};
|
|
4054
3940
|
};
|
|
4055
3941
|
const deserializeAws_restJson1ElasticsearchClusterConfig = (output, context) => {
|
|
4056
3942
|
return {
|
|
4057
|
-
ColdStorageOptions: output.ColdStorageOptions
|
|
3943
|
+
ColdStorageOptions: output.ColdStorageOptions != null
|
|
4058
3944
|
? deserializeAws_restJson1ColdStorageOptions(output.ColdStorageOptions, context)
|
|
4059
3945
|
: undefined,
|
|
4060
3946
|
DedicatedMasterCount: (0, smithy_client_1.expectInt32)(output.DedicatedMasterCount),
|
|
@@ -4065,7 +3951,7 @@ const deserializeAws_restJson1ElasticsearchClusterConfig = (output, context) =>
|
|
|
4065
3951
|
WarmCount: (0, smithy_client_1.expectInt32)(output.WarmCount),
|
|
4066
3952
|
WarmEnabled: (0, smithy_client_1.expectBoolean)(output.WarmEnabled),
|
|
4067
3953
|
WarmType: (0, smithy_client_1.expectString)(output.WarmType),
|
|
4068
|
-
ZoneAwarenessConfig: output.ZoneAwarenessConfig
|
|
3954
|
+
ZoneAwarenessConfig: output.ZoneAwarenessConfig != null
|
|
4069
3955
|
? deserializeAws_restJson1ZoneAwarenessConfig(output.ZoneAwarenessConfig, context)
|
|
4070
3956
|
: undefined,
|
|
4071
3957
|
ZoneAwarenessEnabled: (0, smithy_client_1.expectBoolean)(output.ZoneAwarenessEnabled),
|
|
@@ -4073,120 +3959,106 @@ const deserializeAws_restJson1ElasticsearchClusterConfig = (output, context) =>
|
|
|
4073
3959
|
};
|
|
4074
3960
|
const deserializeAws_restJson1ElasticsearchClusterConfigStatus = (output, context) => {
|
|
4075
3961
|
return {
|
|
4076
|
-
Options: output.Options
|
|
4077
|
-
|
|
4078
|
-
: undefined,
|
|
4079
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4080
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4081
|
-
: undefined,
|
|
3962
|
+
Options: output.Options != null ? deserializeAws_restJson1ElasticsearchClusterConfig(output.Options, context) : undefined,
|
|
3963
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4082
3964
|
};
|
|
4083
3965
|
};
|
|
4084
3966
|
const deserializeAws_restJson1ElasticsearchDomainConfig = (output, context) => {
|
|
4085
3967
|
return {
|
|
4086
|
-
AccessPolicies: output.AccessPolicies
|
|
3968
|
+
AccessPolicies: output.AccessPolicies != null
|
|
4087
3969
|
? deserializeAws_restJson1AccessPoliciesStatus(output.AccessPolicies, context)
|
|
4088
3970
|
: undefined,
|
|
4089
|
-
AdvancedOptions: output.AdvancedOptions
|
|
3971
|
+
AdvancedOptions: output.AdvancedOptions != null
|
|
4090
3972
|
? deserializeAws_restJson1AdvancedOptionsStatus(output.AdvancedOptions, context)
|
|
4091
3973
|
: undefined,
|
|
4092
|
-
AdvancedSecurityOptions: output.AdvancedSecurityOptions
|
|
3974
|
+
AdvancedSecurityOptions: output.AdvancedSecurityOptions != null
|
|
4093
3975
|
? deserializeAws_restJson1AdvancedSecurityOptionsStatus(output.AdvancedSecurityOptions, context)
|
|
4094
3976
|
: undefined,
|
|
4095
|
-
AutoTuneOptions: output.AutoTuneOptions
|
|
3977
|
+
AutoTuneOptions: output.AutoTuneOptions != null
|
|
4096
3978
|
? deserializeAws_restJson1AutoTuneOptionsStatus(output.AutoTuneOptions, context)
|
|
4097
3979
|
: undefined,
|
|
4098
|
-
ChangeProgressDetails: output.ChangeProgressDetails
|
|
3980
|
+
ChangeProgressDetails: output.ChangeProgressDetails != null
|
|
4099
3981
|
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
4100
3982
|
: undefined,
|
|
4101
|
-
CognitoOptions: output.CognitoOptions
|
|
3983
|
+
CognitoOptions: output.CognitoOptions != null
|
|
4102
3984
|
? deserializeAws_restJson1CognitoOptionsStatus(output.CognitoOptions, context)
|
|
4103
3985
|
: undefined,
|
|
4104
|
-
DomainEndpointOptions: output.DomainEndpointOptions
|
|
3986
|
+
DomainEndpointOptions: output.DomainEndpointOptions != null
|
|
4105
3987
|
? deserializeAws_restJson1DomainEndpointOptionsStatus(output.DomainEndpointOptions, context)
|
|
4106
3988
|
: undefined,
|
|
4107
|
-
EBSOptions: output.EBSOptions
|
|
4108
|
-
|
|
4109
|
-
: undefined,
|
|
4110
|
-
ElasticsearchClusterConfig: output.ElasticsearchClusterConfig !== undefined && output.ElasticsearchClusterConfig !== null
|
|
3989
|
+
EBSOptions: output.EBSOptions != null ? deserializeAws_restJson1EBSOptionsStatus(output.EBSOptions, context) : undefined,
|
|
3990
|
+
ElasticsearchClusterConfig: output.ElasticsearchClusterConfig != null
|
|
4111
3991
|
? deserializeAws_restJson1ElasticsearchClusterConfigStatus(output.ElasticsearchClusterConfig, context)
|
|
4112
3992
|
: undefined,
|
|
4113
|
-
ElasticsearchVersion: output.ElasticsearchVersion
|
|
3993
|
+
ElasticsearchVersion: output.ElasticsearchVersion != null
|
|
4114
3994
|
? deserializeAws_restJson1ElasticsearchVersionStatus(output.ElasticsearchVersion, context)
|
|
4115
3995
|
: undefined,
|
|
4116
|
-
EncryptionAtRestOptions: output.EncryptionAtRestOptions
|
|
3996
|
+
EncryptionAtRestOptions: output.EncryptionAtRestOptions != null
|
|
4117
3997
|
? deserializeAws_restJson1EncryptionAtRestOptionsStatus(output.EncryptionAtRestOptions, context)
|
|
4118
3998
|
: undefined,
|
|
4119
|
-
LogPublishingOptions: output.LogPublishingOptions
|
|
3999
|
+
LogPublishingOptions: output.LogPublishingOptions != null
|
|
4120
4000
|
? deserializeAws_restJson1LogPublishingOptionsStatus(output.LogPublishingOptions, context)
|
|
4121
4001
|
: undefined,
|
|
4122
|
-
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions
|
|
4002
|
+
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions != null
|
|
4123
4003
|
? deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus(output.NodeToNodeEncryptionOptions, context)
|
|
4124
4004
|
: undefined,
|
|
4125
|
-
SnapshotOptions: output.SnapshotOptions
|
|
4005
|
+
SnapshotOptions: output.SnapshotOptions != null
|
|
4126
4006
|
? deserializeAws_restJson1SnapshotOptionsStatus(output.SnapshotOptions, context)
|
|
4127
4007
|
: undefined,
|
|
4128
|
-
VPCOptions: output.VPCOptions
|
|
4129
|
-
? deserializeAws_restJson1VPCDerivedInfoStatus(output.VPCOptions, context)
|
|
4130
|
-
: undefined,
|
|
4008
|
+
VPCOptions: output.VPCOptions != null ? deserializeAws_restJson1VPCDerivedInfoStatus(output.VPCOptions, context) : undefined,
|
|
4131
4009
|
};
|
|
4132
4010
|
};
|
|
4133
4011
|
const deserializeAws_restJson1ElasticsearchDomainStatus = (output, context) => {
|
|
4134
4012
|
return {
|
|
4135
4013
|
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
4136
4014
|
AccessPolicies: (0, smithy_client_1.expectString)(output.AccessPolicies),
|
|
4137
|
-
AdvancedOptions: output.AdvancedOptions
|
|
4015
|
+
AdvancedOptions: output.AdvancedOptions != null
|
|
4138
4016
|
? deserializeAws_restJson1AdvancedOptions(output.AdvancedOptions, context)
|
|
4139
4017
|
: undefined,
|
|
4140
|
-
AdvancedSecurityOptions: output.AdvancedSecurityOptions
|
|
4018
|
+
AdvancedSecurityOptions: output.AdvancedSecurityOptions != null
|
|
4141
4019
|
? deserializeAws_restJson1AdvancedSecurityOptions(output.AdvancedSecurityOptions, context)
|
|
4142
4020
|
: undefined,
|
|
4143
|
-
AutoTuneOptions: output.AutoTuneOptions
|
|
4021
|
+
AutoTuneOptions: output.AutoTuneOptions != null
|
|
4144
4022
|
? deserializeAws_restJson1AutoTuneOptionsOutput(output.AutoTuneOptions, context)
|
|
4145
4023
|
: undefined,
|
|
4146
|
-
ChangeProgressDetails: output.ChangeProgressDetails
|
|
4024
|
+
ChangeProgressDetails: output.ChangeProgressDetails != null
|
|
4147
4025
|
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
4148
4026
|
: undefined,
|
|
4149
|
-
CognitoOptions: output.CognitoOptions
|
|
4027
|
+
CognitoOptions: output.CognitoOptions != null
|
|
4150
4028
|
? deserializeAws_restJson1CognitoOptions(output.CognitoOptions, context)
|
|
4151
4029
|
: undefined,
|
|
4152
4030
|
Created: (0, smithy_client_1.expectBoolean)(output.Created),
|
|
4153
4031
|
Deleted: (0, smithy_client_1.expectBoolean)(output.Deleted),
|
|
4154
|
-
DomainEndpointOptions: output.DomainEndpointOptions
|
|
4032
|
+
DomainEndpointOptions: output.DomainEndpointOptions != null
|
|
4155
4033
|
? deserializeAws_restJson1DomainEndpointOptions(output.DomainEndpointOptions, context)
|
|
4156
4034
|
: undefined,
|
|
4157
4035
|
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
4158
4036
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
4159
|
-
EBSOptions: output.EBSOptions
|
|
4160
|
-
|
|
4161
|
-
: undefined,
|
|
4162
|
-
ElasticsearchClusterConfig: output.ElasticsearchClusterConfig !== undefined && output.ElasticsearchClusterConfig !== null
|
|
4037
|
+
EBSOptions: output.EBSOptions != null ? deserializeAws_restJson1EBSOptions(output.EBSOptions, context) : undefined,
|
|
4038
|
+
ElasticsearchClusterConfig: output.ElasticsearchClusterConfig != null
|
|
4163
4039
|
? deserializeAws_restJson1ElasticsearchClusterConfig(output.ElasticsearchClusterConfig, context)
|
|
4164
4040
|
: undefined,
|
|
4165
4041
|
ElasticsearchVersion: (0, smithy_client_1.expectString)(output.ElasticsearchVersion),
|
|
4166
|
-
EncryptionAtRestOptions: output.EncryptionAtRestOptions
|
|
4042
|
+
EncryptionAtRestOptions: output.EncryptionAtRestOptions != null
|
|
4167
4043
|
? deserializeAws_restJson1EncryptionAtRestOptions(output.EncryptionAtRestOptions, context)
|
|
4168
4044
|
: undefined,
|
|
4169
4045
|
Endpoint: (0, smithy_client_1.expectString)(output.Endpoint),
|
|
4170
|
-
Endpoints: output.Endpoints
|
|
4171
|
-
|
|
4172
|
-
: undefined,
|
|
4173
|
-
LogPublishingOptions: output.LogPublishingOptions !== undefined && output.LogPublishingOptions !== null
|
|
4046
|
+
Endpoints: output.Endpoints != null ? deserializeAws_restJson1EndpointsMap(output.Endpoints, context) : undefined,
|
|
4047
|
+
LogPublishingOptions: output.LogPublishingOptions != null
|
|
4174
4048
|
? deserializeAws_restJson1LogPublishingOptions(output.LogPublishingOptions, context)
|
|
4175
4049
|
: undefined,
|
|
4176
|
-
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions
|
|
4050
|
+
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions != null
|
|
4177
4051
|
? deserializeAws_restJson1NodeToNodeEncryptionOptions(output.NodeToNodeEncryptionOptions, context)
|
|
4178
4052
|
: undefined,
|
|
4179
4053
|
Processing: (0, smithy_client_1.expectBoolean)(output.Processing),
|
|
4180
|
-
ServiceSoftwareOptions: output.ServiceSoftwareOptions
|
|
4054
|
+
ServiceSoftwareOptions: output.ServiceSoftwareOptions != null
|
|
4181
4055
|
? deserializeAws_restJson1ServiceSoftwareOptions(output.ServiceSoftwareOptions, context)
|
|
4182
4056
|
: undefined,
|
|
4183
|
-
SnapshotOptions: output.SnapshotOptions
|
|
4057
|
+
SnapshotOptions: output.SnapshotOptions != null
|
|
4184
4058
|
? deserializeAws_restJson1SnapshotOptions(output.SnapshotOptions, context)
|
|
4185
4059
|
: undefined,
|
|
4186
4060
|
UpgradeProcessing: (0, smithy_client_1.expectBoolean)(output.UpgradeProcessing),
|
|
4187
|
-
VPCOptions: output.VPCOptions
|
|
4188
|
-
? deserializeAws_restJson1VPCDerivedInfo(output.VPCOptions, context)
|
|
4189
|
-
: undefined,
|
|
4061
|
+
VPCOptions: output.VPCOptions != null ? deserializeAws_restJson1VPCDerivedInfo(output.VPCOptions, context) : undefined,
|
|
4190
4062
|
};
|
|
4191
4063
|
};
|
|
4192
4064
|
const deserializeAws_restJson1ElasticsearchDomainStatusList = (output, context) => {
|
|
@@ -4225,9 +4097,7 @@ const deserializeAws_restJson1ElasticsearchVersionList = (output, context) => {
|
|
|
4225
4097
|
const deserializeAws_restJson1ElasticsearchVersionStatus = (output, context) => {
|
|
4226
4098
|
return {
|
|
4227
4099
|
Options: (0, smithy_client_1.expectString)(output.Options),
|
|
4228
|
-
Status: output.Status
|
|
4229
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4230
|
-
: undefined,
|
|
4100
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4231
4101
|
};
|
|
4232
4102
|
};
|
|
4233
4103
|
const deserializeAws_restJson1EncryptionAtRestOptions = (output, context) => {
|
|
@@ -4238,12 +4108,8 @@ const deserializeAws_restJson1EncryptionAtRestOptions = (output, context) => {
|
|
|
4238
4108
|
};
|
|
4239
4109
|
const deserializeAws_restJson1EncryptionAtRestOptionsStatus = (output, context) => {
|
|
4240
4110
|
return {
|
|
4241
|
-
Options: output.Options
|
|
4242
|
-
|
|
4243
|
-
: undefined,
|
|
4244
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4245
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4246
|
-
: undefined,
|
|
4111
|
+
Options: output.Options != null ? deserializeAws_restJson1EncryptionAtRestOptions(output.Options, context) : undefined,
|
|
4112
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4247
4113
|
};
|
|
4248
4114
|
};
|
|
4249
4115
|
const deserializeAws_restJson1EndpointsMap = (output, context) => {
|
|
@@ -4265,14 +4131,14 @@ const deserializeAws_restJson1ErrorDetails = (output, context) => {
|
|
|
4265
4131
|
};
|
|
4266
4132
|
const deserializeAws_restJson1InboundCrossClusterSearchConnection = (output, context) => {
|
|
4267
4133
|
return {
|
|
4268
|
-
ConnectionStatus: output.ConnectionStatus
|
|
4134
|
+
ConnectionStatus: output.ConnectionStatus != null
|
|
4269
4135
|
? deserializeAws_restJson1InboundCrossClusterSearchConnectionStatus(output.ConnectionStatus, context)
|
|
4270
4136
|
: undefined,
|
|
4271
4137
|
CrossClusterSearchConnectionId: (0, smithy_client_1.expectString)(output.CrossClusterSearchConnectionId),
|
|
4272
|
-
DestinationDomainInfo: output.DestinationDomainInfo
|
|
4138
|
+
DestinationDomainInfo: output.DestinationDomainInfo != null
|
|
4273
4139
|
? deserializeAws_restJson1DomainInformation(output.DestinationDomainInfo, context)
|
|
4274
4140
|
: undefined,
|
|
4275
|
-
SourceDomainInfo: output.SourceDomainInfo
|
|
4141
|
+
SourceDomainInfo: output.SourceDomainInfo != null
|
|
4276
4142
|
? deserializeAws_restJson1DomainInformation(output.SourceDomainInfo, context)
|
|
4277
4143
|
: undefined,
|
|
4278
4144
|
};
|
|
@@ -4302,7 +4168,7 @@ const deserializeAws_restJson1InstanceCountLimits = (output, context) => {
|
|
|
4302
4168
|
};
|
|
4303
4169
|
const deserializeAws_restJson1InstanceLimits = (output, context) => {
|
|
4304
4170
|
return {
|
|
4305
|
-
InstanceCountLimits: output.InstanceCountLimits
|
|
4171
|
+
InstanceCountLimits: output.InstanceCountLimits != null
|
|
4306
4172
|
? deserializeAws_restJson1InstanceCountLimits(output.InstanceCountLimits, context)
|
|
4307
4173
|
: undefined,
|
|
4308
4174
|
};
|
|
@@ -4320,15 +4186,13 @@ const deserializeAws_restJson1Issues = (output, context) => {
|
|
|
4320
4186
|
};
|
|
4321
4187
|
const deserializeAws_restJson1Limits = (output, context) => {
|
|
4322
4188
|
return {
|
|
4323
|
-
AdditionalLimits: output.AdditionalLimits
|
|
4189
|
+
AdditionalLimits: output.AdditionalLimits != null
|
|
4324
4190
|
? deserializeAws_restJson1AdditionalLimitList(output.AdditionalLimits, context)
|
|
4325
4191
|
: undefined,
|
|
4326
|
-
InstanceLimits: output.InstanceLimits
|
|
4192
|
+
InstanceLimits: output.InstanceLimits != null
|
|
4327
4193
|
? deserializeAws_restJson1InstanceLimits(output.InstanceLimits, context)
|
|
4328
4194
|
: undefined,
|
|
4329
|
-
StorageTypes: output.StorageTypes
|
|
4330
|
-
? deserializeAws_restJson1StorageTypeList(output.StorageTypes, context)
|
|
4331
|
-
: undefined,
|
|
4195
|
+
StorageTypes: output.StorageTypes != null ? deserializeAws_restJson1StorageTypeList(output.StorageTypes, context) : undefined,
|
|
4332
4196
|
};
|
|
4333
4197
|
};
|
|
4334
4198
|
const deserializeAws_restJson1LimitsByRole = (output, context) => {
|
|
@@ -4372,12 +4236,8 @@ const deserializeAws_restJson1LogPublishingOptions = (output, context) => {
|
|
|
4372
4236
|
};
|
|
4373
4237
|
const deserializeAws_restJson1LogPublishingOptionsStatus = (output, context) => {
|
|
4374
4238
|
return {
|
|
4375
|
-
Options: output.Options
|
|
4376
|
-
|
|
4377
|
-
: undefined,
|
|
4378
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4379
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4380
|
-
: undefined,
|
|
4239
|
+
Options: output.Options != null ? deserializeAws_restJson1LogPublishingOptions(output.Options, context) : undefined,
|
|
4240
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4381
4241
|
};
|
|
4382
4242
|
};
|
|
4383
4243
|
const deserializeAws_restJson1NodeToNodeEncryptionOptions = (output, context) => {
|
|
@@ -4387,38 +4247,32 @@ const deserializeAws_restJson1NodeToNodeEncryptionOptions = (output, context) =>
|
|
|
4387
4247
|
};
|
|
4388
4248
|
const deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus = (output, context) => {
|
|
4389
4249
|
return {
|
|
4390
|
-
Options: output.Options
|
|
4391
|
-
|
|
4392
|
-
: undefined,
|
|
4393
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4394
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4395
|
-
: undefined,
|
|
4250
|
+
Options: output.Options != null ? deserializeAws_restJson1NodeToNodeEncryptionOptions(output.Options, context) : undefined,
|
|
4251
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4396
4252
|
};
|
|
4397
4253
|
};
|
|
4398
4254
|
const deserializeAws_restJson1OptionStatus = (output, context) => {
|
|
4399
4255
|
return {
|
|
4400
|
-
CreationDate: output.CreationDate
|
|
4256
|
+
CreationDate: output.CreationDate != null
|
|
4401
4257
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
4402
4258
|
: undefined,
|
|
4403
4259
|
PendingDeletion: (0, smithy_client_1.expectBoolean)(output.PendingDeletion),
|
|
4404
4260
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
4405
|
-
UpdateDate: output.UpdateDate
|
|
4406
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
|
|
4407
|
-
: undefined,
|
|
4261
|
+
UpdateDate: output.UpdateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate))) : undefined,
|
|
4408
4262
|
UpdateVersion: (0, smithy_client_1.expectInt32)(output.UpdateVersion),
|
|
4409
4263
|
};
|
|
4410
4264
|
};
|
|
4411
4265
|
const deserializeAws_restJson1OutboundCrossClusterSearchConnection = (output, context) => {
|
|
4412
4266
|
return {
|
|
4413
4267
|
ConnectionAlias: (0, smithy_client_1.expectString)(output.ConnectionAlias),
|
|
4414
|
-
ConnectionStatus: output.ConnectionStatus
|
|
4268
|
+
ConnectionStatus: output.ConnectionStatus != null
|
|
4415
4269
|
? deserializeAws_restJson1OutboundCrossClusterSearchConnectionStatus(output.ConnectionStatus, context)
|
|
4416
4270
|
: undefined,
|
|
4417
4271
|
CrossClusterSearchConnectionId: (0, smithy_client_1.expectString)(output.CrossClusterSearchConnectionId),
|
|
4418
|
-
DestinationDomainInfo: output.DestinationDomainInfo
|
|
4272
|
+
DestinationDomainInfo: output.DestinationDomainInfo != null
|
|
4419
4273
|
? deserializeAws_restJson1DomainInformation(output.DestinationDomainInfo, context)
|
|
4420
4274
|
: undefined,
|
|
4421
|
-
SourceDomainInfo: output.SourceDomainInfo
|
|
4275
|
+
SourceDomainInfo: output.SourceDomainInfo != null
|
|
4422
4276
|
? deserializeAws_restJson1DomainInformation(output.SourceDomainInfo, context)
|
|
4423
4277
|
: undefined,
|
|
4424
4278
|
};
|
|
@@ -4443,13 +4297,9 @@ const deserializeAws_restJson1OutboundCrossClusterSearchConnectionStatus = (outp
|
|
|
4443
4297
|
const deserializeAws_restJson1PackageDetails = (output, context) => {
|
|
4444
4298
|
return {
|
|
4445
4299
|
AvailablePackageVersion: (0, smithy_client_1.expectString)(output.AvailablePackageVersion),
|
|
4446
|
-
CreatedAt: output.CreatedAt
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
|
|
4450
|
-
? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
|
|
4451
|
-
: undefined,
|
|
4452
|
-
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
4300
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
4301
|
+
ErrorDetails: output.ErrorDetails != null ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context) : undefined,
|
|
4302
|
+
LastUpdatedAt: output.LastUpdatedAt != null
|
|
4453
4303
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
|
|
4454
4304
|
: undefined,
|
|
4455
4305
|
PackageDescription: (0, smithy_client_1.expectString)(output.PackageDescription),
|
|
@@ -4473,9 +4323,7 @@ const deserializeAws_restJson1PackageDetailsList = (output, context) => {
|
|
|
4473
4323
|
const deserializeAws_restJson1PackageVersionHistory = (output, context) => {
|
|
4474
4324
|
return {
|
|
4475
4325
|
CommitMessage: (0, smithy_client_1.expectString)(output.CommitMessage),
|
|
4476
|
-
CreatedAt: output.CreatedAt
|
|
4477
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
4478
|
-
: undefined,
|
|
4326
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
4479
4327
|
PackageVersion: (0, smithy_client_1.expectString)(output.PackageVersion),
|
|
4480
4328
|
};
|
|
4481
4329
|
};
|
|
@@ -4515,15 +4363,13 @@ const deserializeAws_restJson1ReservedElasticsearchInstance = (output, context)
|
|
|
4515
4363
|
ElasticsearchInstanceType: (0, smithy_client_1.expectString)(output.ElasticsearchInstanceType),
|
|
4516
4364
|
FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.FixedPrice),
|
|
4517
4365
|
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
4518
|
-
RecurringCharges: output.RecurringCharges
|
|
4366
|
+
RecurringCharges: output.RecurringCharges != null
|
|
4519
4367
|
? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
|
|
4520
4368
|
: undefined,
|
|
4521
4369
|
ReservationName: (0, smithy_client_1.expectString)(output.ReservationName),
|
|
4522
4370
|
ReservedElasticsearchInstanceId: (0, smithy_client_1.expectString)(output.ReservedElasticsearchInstanceId),
|
|
4523
4371
|
ReservedElasticsearchInstanceOfferingId: (0, smithy_client_1.expectString)(output.ReservedElasticsearchInstanceOfferingId),
|
|
4524
|
-
StartTime: output.StartTime
|
|
4525
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
4526
|
-
: undefined,
|
|
4372
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
4527
4373
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
4528
4374
|
UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.UsagePrice),
|
|
4529
4375
|
};
|
|
@@ -4546,7 +4392,7 @@ const deserializeAws_restJson1ReservedElasticsearchInstanceOffering = (output, c
|
|
|
4546
4392
|
ElasticsearchInstanceType: (0, smithy_client_1.expectString)(output.ElasticsearchInstanceType),
|
|
4547
4393
|
FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.FixedPrice),
|
|
4548
4394
|
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
4549
|
-
RecurringCharges: output.RecurringCharges
|
|
4395
|
+
RecurringCharges: output.RecurringCharges != null
|
|
4550
4396
|
? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
|
|
4551
4397
|
: undefined,
|
|
4552
4398
|
ReservedElasticsearchInstanceOfferingId: (0, smithy_client_1.expectString)(output.ReservedElasticsearchInstanceOfferingId),
|
|
@@ -4573,9 +4419,7 @@ const deserializeAws_restJson1SAMLIdp = (output, context) => {
|
|
|
4573
4419
|
const deserializeAws_restJson1SAMLOptionsOutput = (output, context) => {
|
|
4574
4420
|
return {
|
|
4575
4421
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4576
|
-
Idp: output.Idp
|
|
4577
|
-
? deserializeAws_restJson1SAMLIdp(output.Idp, context)
|
|
4578
|
-
: undefined,
|
|
4422
|
+
Idp: output.Idp != null ? deserializeAws_restJson1SAMLIdp(output.Idp, context) : undefined,
|
|
4579
4423
|
RolesKey: (0, smithy_client_1.expectString)(output.RolesKey),
|
|
4580
4424
|
SessionTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.SessionTimeoutMinutes),
|
|
4581
4425
|
SubjectKey: (0, smithy_client_1.expectString)(output.SubjectKey),
|
|
@@ -4585,15 +4429,13 @@ const deserializeAws_restJson1ScheduledAutoTuneDetails = (output, context) => {
|
|
|
4585
4429
|
return {
|
|
4586
4430
|
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
4587
4431
|
ActionType: (0, smithy_client_1.expectString)(output.ActionType),
|
|
4588
|
-
Date: output.Date
|
|
4589
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date)))
|
|
4590
|
-
: undefined,
|
|
4432
|
+
Date: output.Date != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date))) : undefined,
|
|
4591
4433
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
4592
4434
|
};
|
|
4593
4435
|
};
|
|
4594
4436
|
const deserializeAws_restJson1ServiceSoftwareOptions = (output, context) => {
|
|
4595
4437
|
return {
|
|
4596
|
-
AutomatedUpdateDate: output.AutomatedUpdateDate
|
|
4438
|
+
AutomatedUpdateDate: output.AutomatedUpdateDate != null
|
|
4597
4439
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AutomatedUpdateDate)))
|
|
4598
4440
|
: undefined,
|
|
4599
4441
|
Cancellable: (0, smithy_client_1.expectBoolean)(output.Cancellable),
|
|
@@ -4612,18 +4454,14 @@ const deserializeAws_restJson1SnapshotOptions = (output, context) => {
|
|
|
4612
4454
|
};
|
|
4613
4455
|
const deserializeAws_restJson1SnapshotOptionsStatus = (output, context) => {
|
|
4614
4456
|
return {
|
|
4615
|
-
Options: output.Options
|
|
4616
|
-
|
|
4617
|
-
: undefined,
|
|
4618
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4619
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4620
|
-
: undefined,
|
|
4457
|
+
Options: output.Options != null ? deserializeAws_restJson1SnapshotOptions(output.Options, context) : undefined,
|
|
4458
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4621
4459
|
};
|
|
4622
4460
|
};
|
|
4623
4461
|
const deserializeAws_restJson1StorageType = (output, context) => {
|
|
4624
4462
|
return {
|
|
4625
4463
|
StorageSubTypeName: (0, smithy_client_1.expectString)(output.StorageSubTypeName),
|
|
4626
|
-
StorageTypeLimits: output.StorageTypeLimits
|
|
4464
|
+
StorageTypeLimits: output.StorageTypeLimits != null
|
|
4627
4465
|
? deserializeAws_restJson1StorageTypeLimitList(output.StorageTypeLimits, context)
|
|
4628
4466
|
: undefined,
|
|
4629
4467
|
StorageTypeName: (0, smithy_client_1.expectString)(output.StorageTypeName),
|
|
@@ -4632,9 +4470,7 @@ const deserializeAws_restJson1StorageType = (output, context) => {
|
|
|
4632
4470
|
const deserializeAws_restJson1StorageTypeLimit = (output, context) => {
|
|
4633
4471
|
return {
|
|
4634
4472
|
LimitName: (0, smithy_client_1.expectString)(output.LimitName),
|
|
4635
|
-
LimitValues: output.LimitValues
|
|
4636
|
-
? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
|
|
4637
|
-
: undefined,
|
|
4473
|
+
LimitValues: output.LimitValues != null ? deserializeAws_restJson1LimitValueList(output.LimitValues, context) : undefined,
|
|
4638
4474
|
};
|
|
4639
4475
|
};
|
|
4640
4476
|
const deserializeAws_restJson1StorageTypeLimitList = (output, context) => {
|
|
@@ -4689,12 +4525,10 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
4689
4525
|
};
|
|
4690
4526
|
const deserializeAws_restJson1UpgradeHistory = (output, context) => {
|
|
4691
4527
|
return {
|
|
4692
|
-
StartTimestamp: output.StartTimestamp
|
|
4528
|
+
StartTimestamp: output.StartTimestamp != null
|
|
4693
4529
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTimestamp)))
|
|
4694
4530
|
: undefined,
|
|
4695
|
-
StepsList: output.StepsList
|
|
4696
|
-
? deserializeAws_restJson1UpgradeStepsList(output.StepsList, context)
|
|
4697
|
-
: undefined,
|
|
4531
|
+
StepsList: output.StepsList != null ? deserializeAws_restJson1UpgradeStepsList(output.StepsList, context) : undefined,
|
|
4698
4532
|
UpgradeName: (0, smithy_client_1.expectString)(output.UpgradeName),
|
|
4699
4533
|
UpgradeStatus: (0, smithy_client_1.expectString)(output.UpgradeStatus),
|
|
4700
4534
|
};
|
|
@@ -4712,9 +4546,7 @@ const deserializeAws_restJson1UpgradeHistoryList = (output, context) => {
|
|
|
4712
4546
|
};
|
|
4713
4547
|
const deserializeAws_restJson1UpgradeStepItem = (output, context) => {
|
|
4714
4548
|
return {
|
|
4715
|
-
Issues: output.Issues
|
|
4716
|
-
? deserializeAws_restJson1Issues(output.Issues, context)
|
|
4717
|
-
: undefined,
|
|
4549
|
+
Issues: output.Issues != null ? deserializeAws_restJson1Issues(output.Issues, context) : undefined,
|
|
4718
4550
|
ProgressPercent: (0, smithy_client_1.limitedParseDouble)(output.ProgressPercent),
|
|
4719
4551
|
UpgradeStep: (0, smithy_client_1.expectString)(output.UpgradeStep),
|
|
4720
4552
|
UpgradeStepStatus: (0, smithy_client_1.expectString)(output.UpgradeStepStatus),
|
|
@@ -4733,26 +4565,20 @@ const deserializeAws_restJson1UpgradeStepsList = (output, context) => {
|
|
|
4733
4565
|
};
|
|
4734
4566
|
const deserializeAws_restJson1VPCDerivedInfo = (output, context) => {
|
|
4735
4567
|
return {
|
|
4736
|
-
AvailabilityZones: output.AvailabilityZones
|
|
4568
|
+
AvailabilityZones: output.AvailabilityZones != null
|
|
4737
4569
|
? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
|
|
4738
4570
|
: undefined,
|
|
4739
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
4571
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
4740
4572
|
? deserializeAws_restJson1StringList(output.SecurityGroupIds, context)
|
|
4741
4573
|
: undefined,
|
|
4742
|
-
SubnetIds: output.SubnetIds
|
|
4743
|
-
? deserializeAws_restJson1StringList(output.SubnetIds, context)
|
|
4744
|
-
: undefined,
|
|
4574
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_restJson1StringList(output.SubnetIds, context) : undefined,
|
|
4745
4575
|
VPCId: (0, smithy_client_1.expectString)(output.VPCId),
|
|
4746
4576
|
};
|
|
4747
4577
|
};
|
|
4748
4578
|
const deserializeAws_restJson1VPCDerivedInfoStatus = (output, context) => {
|
|
4749
4579
|
return {
|
|
4750
|
-
Options: output.Options
|
|
4751
|
-
|
|
4752
|
-
: undefined,
|
|
4753
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4754
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4755
|
-
: undefined,
|
|
4580
|
+
Options: output.Options != null ? deserializeAws_restJson1VPCDerivedInfo(output.Options, context) : undefined,
|
|
4581
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4756
4582
|
};
|
|
4757
4583
|
};
|
|
4758
4584
|
const deserializeAws_restJson1ZoneAwarenessConfig = (output, context) => {
|