@aws-sdk/client-opensearch 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 +251 -434
- package/dist-es/protocols/Aws_restJson1.js +182 -365
- package/package.json +26 -26
|
@@ -46,8 +46,7 @@ export var serializeAws_restJson1AddTagsCommand = function (input, context) { re
|
|
|
46
46
|
"content-type": "application/json",
|
|
47
47
|
};
|
|
48
48
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/tags";
|
|
49
|
-
body = JSON.stringify(__assign(__assign({}, (input.ARN
|
|
50
|
-
input.TagList !== null && { TagList: serializeAws_restJson1TagList(input.TagList, context) })));
|
|
49
|
+
body = JSON.stringify(__assign(__assign({}, (input.ARN != null && { ARN: input.ARN })), (input.TagList != null && { TagList: serializeAws_restJson1TagList(input.TagList, context) })));
|
|
51
50
|
return [2, new __HttpRequest({
|
|
52
51
|
protocol: protocol,
|
|
53
52
|
hostname: hostname,
|
|
@@ -114,7 +113,7 @@ export var serializeAws_restJson1CancelServiceSoftwareUpdateCommand = function (
|
|
|
114
113
|
};
|
|
115
114
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
116
115
|
"/2021-01-01/opensearch/serviceSoftwareUpdate/cancel";
|
|
117
|
-
body = JSON.stringify(__assign({}, (input.DomainName
|
|
116
|
+
body = JSON.stringify(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })));
|
|
118
117
|
return [2, new __HttpRequest({
|
|
119
118
|
protocol: protocol,
|
|
120
119
|
hostname: hostname,
|
|
@@ -138,41 +137,27 @@ export var serializeAws_restJson1CreateDomainCommand = function (input, context)
|
|
|
138
137
|
"content-type": "application/json",
|
|
139
138
|
};
|
|
140
139
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/opensearch/domain";
|
|
141
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies
|
|
142
|
-
input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedOptions !== undefined &&
|
|
143
|
-
input.AdvancedOptions !== null && {
|
|
140
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies != null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedOptions != null && {
|
|
144
141
|
AdvancedOptions: serializeAws_restJson1AdvancedOptions(input.AdvancedOptions, context),
|
|
145
|
-
})), (input.AdvancedSecurityOptions
|
|
146
|
-
input.AdvancedSecurityOptions !== null && {
|
|
142
|
+
})), (input.AdvancedSecurityOptions != null && {
|
|
147
143
|
AdvancedSecurityOptions: serializeAws_restJson1AdvancedSecurityOptionsInput(input.AdvancedSecurityOptions, context),
|
|
148
|
-
})), (input.AutoTuneOptions
|
|
149
|
-
input.AutoTuneOptions !== null && {
|
|
144
|
+
})), (input.AutoTuneOptions != null && {
|
|
150
145
|
AutoTuneOptions: serializeAws_restJson1AutoTuneOptionsInput(input.AutoTuneOptions, context),
|
|
151
|
-
})), (input.ClusterConfig
|
|
152
|
-
input.ClusterConfig !== null && {
|
|
146
|
+
})), (input.ClusterConfig != null && {
|
|
153
147
|
ClusterConfig: serializeAws_restJson1ClusterConfig(input.ClusterConfig, context),
|
|
154
|
-
})), (input.CognitoOptions
|
|
155
|
-
input.CognitoOptions !== null && {
|
|
148
|
+
})), (input.CognitoOptions != null && {
|
|
156
149
|
CognitoOptions: serializeAws_restJson1CognitoOptions(input.CognitoOptions, context),
|
|
157
|
-
})), (input.DomainEndpointOptions
|
|
158
|
-
input.DomainEndpointOptions !== null && {
|
|
150
|
+
})), (input.DomainEndpointOptions != null && {
|
|
159
151
|
DomainEndpointOptions: serializeAws_restJson1DomainEndpointOptions(input.DomainEndpointOptions, context),
|
|
160
|
-
})), (input.DomainName
|
|
161
|
-
input.EBSOptions !== null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) })), (input.EncryptionAtRestOptions !== undefined &&
|
|
162
|
-
input.EncryptionAtRestOptions !== null && {
|
|
152
|
+
})), (input.DomainName != null && { DomainName: input.DomainName })), (input.EBSOptions != null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) })), (input.EncryptionAtRestOptions != null && {
|
|
163
153
|
EncryptionAtRestOptions: serializeAws_restJson1EncryptionAtRestOptions(input.EncryptionAtRestOptions, context),
|
|
164
|
-
})), (input.EngineVersion
|
|
165
|
-
input.LogPublishingOptions !== null && {
|
|
154
|
+
})), (input.EngineVersion != null && { EngineVersion: input.EngineVersion })), (input.LogPublishingOptions != null && {
|
|
166
155
|
LogPublishingOptions: serializeAws_restJson1LogPublishingOptions(input.LogPublishingOptions, context),
|
|
167
|
-
})), (input.NodeToNodeEncryptionOptions
|
|
168
|
-
input.NodeToNodeEncryptionOptions !== null && {
|
|
156
|
+
})), (input.NodeToNodeEncryptionOptions != null && {
|
|
169
157
|
NodeToNodeEncryptionOptions: serializeAws_restJson1NodeToNodeEncryptionOptions(input.NodeToNodeEncryptionOptions, context),
|
|
170
|
-
})), (input.SnapshotOptions
|
|
171
|
-
input.SnapshotOptions !== null && {
|
|
158
|
+
})), (input.SnapshotOptions != null && {
|
|
172
159
|
SnapshotOptions: serializeAws_restJson1SnapshotOptions(input.SnapshotOptions, context),
|
|
173
|
-
})), (input.TagList
|
|
174
|
-
input.TagList !== null && { TagList: serializeAws_restJson1TagList(input.TagList, context) })), (input.VPCOptions !== undefined &&
|
|
175
|
-
input.VPCOptions !== null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) })));
|
|
160
|
+
})), (input.TagList != null && { TagList: serializeAws_restJson1TagList(input.TagList, context) })), (input.VPCOptions != null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) })));
|
|
176
161
|
return [2, new __HttpRequest({
|
|
177
162
|
protocol: protocol,
|
|
178
163
|
hostname: hostname,
|
|
@@ -197,12 +182,9 @@ export var serializeAws_restJson1CreateOutboundConnectionCommand = function (inp
|
|
|
197
182
|
};
|
|
198
183
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
199
184
|
"/2021-01-01/opensearch/cc/outboundConnection";
|
|
200
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.ConnectionAlias
|
|
201
|
-
input.ConnectionAlias !== null && { ConnectionAlias: input.ConnectionAlias })), (input.LocalDomainInfo !== undefined &&
|
|
202
|
-
input.LocalDomainInfo !== null && {
|
|
185
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.ConnectionAlias != null && { ConnectionAlias: input.ConnectionAlias })), (input.LocalDomainInfo != null && {
|
|
203
186
|
LocalDomainInfo: serializeAws_restJson1DomainInformationContainer(input.LocalDomainInfo, context),
|
|
204
|
-
})), (input.RemoteDomainInfo
|
|
205
|
-
input.RemoteDomainInfo !== null && {
|
|
187
|
+
})), (input.RemoteDomainInfo != null && {
|
|
206
188
|
RemoteDomainInfo: serializeAws_restJson1DomainInformationContainer(input.RemoteDomainInfo, context),
|
|
207
189
|
})));
|
|
208
190
|
return [2, new __HttpRequest({
|
|
@@ -228,11 +210,9 @@ export var serializeAws_restJson1CreatePackageCommand = function (input, context
|
|
|
228
210
|
"content-type": "application/json",
|
|
229
211
|
};
|
|
230
212
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/packages";
|
|
231
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.PackageDescription
|
|
232
|
-
input.PackageDescription !== null && { PackageDescription: input.PackageDescription })), (input.PackageName !== undefined && input.PackageName !== null && { PackageName: input.PackageName })), (input.PackageSource !== undefined &&
|
|
233
|
-
input.PackageSource !== null && {
|
|
213
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.PackageDescription != null && { PackageDescription: input.PackageDescription })), (input.PackageName != null && { PackageName: input.PackageName })), (input.PackageSource != null && {
|
|
234
214
|
PackageSource: serializeAws_restJson1PackageSource(input.PackageSource, context),
|
|
235
|
-
})), (input.PackageType
|
|
215
|
+
})), (input.PackageType != null && { PackageType: input.PackageType })));
|
|
236
216
|
return [2, new __HttpRequest({
|
|
237
217
|
protocol: protocol,
|
|
238
218
|
hostname: hostname,
|
|
@@ -426,7 +406,7 @@ export var serializeAws_restJson1DescribeDomainAutoTunesCommand = function (inpu
|
|
|
426
406
|
else {
|
|
427
407
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
428
408
|
}
|
|
429
|
-
body = JSON.stringify(__assign(__assign({}, (input.MaxResults
|
|
409
|
+
body = JSON.stringify(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
430
410
|
return [2, new __HttpRequest({
|
|
431
411
|
protocol: protocol,
|
|
432
412
|
hostname: hostname,
|
|
@@ -516,8 +496,7 @@ export var serializeAws_restJson1DescribeDomainsCommand = function (input, conte
|
|
|
516
496
|
"content-type": "application/json",
|
|
517
497
|
};
|
|
518
498
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/opensearch/domain-info";
|
|
519
|
-
body = JSON.stringify(__assign({}, (input.DomainNames
|
|
520
|
-
input.DomainNames !== null && { DomainNames: serializeAws_restJson1DomainNameList(input.DomainNames, context) })));
|
|
499
|
+
body = JSON.stringify(__assign({}, (input.DomainNames != null && { DomainNames: serializeAws_restJson1DomainNameList(input.DomainNames, context) })));
|
|
521
500
|
return [2, new __HttpRequest({
|
|
522
501
|
protocol: protocol,
|
|
523
502
|
hostname: hostname,
|
|
@@ -542,8 +521,7 @@ export var serializeAws_restJson1DescribeInboundConnectionsCommand = function (i
|
|
|
542
521
|
};
|
|
543
522
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
544
523
|
"/2021-01-01/opensearch/cc/inboundConnection/search";
|
|
545
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters
|
|
546
|
-
input.Filters !== null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
524
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
547
525
|
return [2, new __HttpRequest({
|
|
548
526
|
protocol: protocol,
|
|
549
527
|
hostname: hostname,
|
|
@@ -612,8 +590,7 @@ export var serializeAws_restJson1DescribeOutboundConnectionsCommand = function (
|
|
|
612
590
|
};
|
|
613
591
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
614
592
|
"/2021-01-01/opensearch/cc/outboundConnection/search";
|
|
615
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters
|
|
616
|
-
input.Filters !== null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
593
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
617
594
|
return [2, new __HttpRequest({
|
|
618
595
|
protocol: protocol,
|
|
619
596
|
hostname: hostname,
|
|
@@ -637,8 +614,7 @@ export var serializeAws_restJson1DescribePackagesCommand = function (input, cont
|
|
|
637
614
|
"content-type": "application/json",
|
|
638
615
|
};
|
|
639
616
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/packages/describe";
|
|
640
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters
|
|
641
|
-
input.Filters !== null && { Filters: serializeAws_restJson1DescribePackagesFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
617
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1DescribePackagesFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
642
618
|
return [2, new __HttpRequest({
|
|
643
619
|
protocol: protocol,
|
|
644
620
|
hostname: hostname,
|
|
@@ -1043,9 +1019,7 @@ export var serializeAws_restJson1PurchaseReservedInstanceOfferingCommand = funct
|
|
|
1043
1019
|
};
|
|
1044
1020
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1045
1021
|
"/2021-01-01/opensearch/purchaseReservedInstanceOffering";
|
|
1046
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.InstanceCount
|
|
1047
|
-
input.ReservationName !== null && { ReservationName: input.ReservationName })), (input.ReservedInstanceOfferingId !== undefined &&
|
|
1048
|
-
input.ReservedInstanceOfferingId !== null && { ReservedInstanceOfferingId: input.ReservedInstanceOfferingId })));
|
|
1022
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.InstanceCount != null && { InstanceCount: input.InstanceCount })), (input.ReservationName != null && { ReservationName: input.ReservationName })), (input.ReservedInstanceOfferingId != null && { ReservedInstanceOfferingId: input.ReservedInstanceOfferingId })));
|
|
1049
1023
|
return [2, new __HttpRequest({
|
|
1050
1024
|
protocol: protocol,
|
|
1051
1025
|
hostname: hostname,
|
|
@@ -1101,8 +1075,7 @@ export var serializeAws_restJson1RemoveTagsCommand = function (input, context) {
|
|
|
1101
1075
|
"content-type": "application/json",
|
|
1102
1076
|
};
|
|
1103
1077
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/tags-removal";
|
|
1104
|
-
body = JSON.stringify(__assign(__assign({}, (input.ARN
|
|
1105
|
-
input.TagKeys !== null && { TagKeys: serializeAws_restJson1StringList(input.TagKeys, context) })));
|
|
1078
|
+
body = JSON.stringify(__assign(__assign({}, (input.ARN != null && { ARN: input.ARN })), (input.TagKeys != null && { TagKeys: serializeAws_restJson1StringList(input.TagKeys, context) })));
|
|
1106
1079
|
return [2, new __HttpRequest({
|
|
1107
1080
|
protocol: protocol,
|
|
1108
1081
|
hostname: hostname,
|
|
@@ -1127,7 +1100,7 @@ export var serializeAws_restJson1StartServiceSoftwareUpdateCommand = function (i
|
|
|
1127
1100
|
};
|
|
1128
1101
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1129
1102
|
"/2021-01-01/opensearch/serviceSoftwareUpdate/start";
|
|
1130
|
-
body = JSON.stringify(__assign({}, (input.DomainName
|
|
1103
|
+
body = JSON.stringify(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })));
|
|
1131
1104
|
return [2, new __HttpRequest({
|
|
1132
1105
|
protocol: protocol,
|
|
1133
1106
|
hostname: hostname,
|
|
@@ -1162,40 +1135,27 @@ export var serializeAws_restJson1UpdateDomainConfigCommand = function (input, co
|
|
|
1162
1135
|
else {
|
|
1163
1136
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
1164
1137
|
}
|
|
1165
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies
|
|
1166
|
-
input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedOptions !== undefined &&
|
|
1167
|
-
input.AdvancedOptions !== null && {
|
|
1138
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies != null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedOptions != null && {
|
|
1168
1139
|
AdvancedOptions: serializeAws_restJson1AdvancedOptions(input.AdvancedOptions, context),
|
|
1169
|
-
})), (input.AdvancedSecurityOptions
|
|
1170
|
-
input.AdvancedSecurityOptions !== null && {
|
|
1140
|
+
})), (input.AdvancedSecurityOptions != null && {
|
|
1171
1141
|
AdvancedSecurityOptions: serializeAws_restJson1AdvancedSecurityOptionsInput(input.AdvancedSecurityOptions, context),
|
|
1172
|
-
})), (input.AutoTuneOptions
|
|
1173
|
-
input.AutoTuneOptions !== null && {
|
|
1142
|
+
})), (input.AutoTuneOptions != null && {
|
|
1174
1143
|
AutoTuneOptions: serializeAws_restJson1AutoTuneOptions(input.AutoTuneOptions, context),
|
|
1175
|
-
})), (input.ClusterConfig
|
|
1176
|
-
input.ClusterConfig !== null && {
|
|
1144
|
+
})), (input.ClusterConfig != null && {
|
|
1177
1145
|
ClusterConfig: serializeAws_restJson1ClusterConfig(input.ClusterConfig, context),
|
|
1178
|
-
})), (input.CognitoOptions
|
|
1179
|
-
input.CognitoOptions !== null && {
|
|
1146
|
+
})), (input.CognitoOptions != null && {
|
|
1180
1147
|
CognitoOptions: serializeAws_restJson1CognitoOptions(input.CognitoOptions, context),
|
|
1181
|
-
})), (input.DomainEndpointOptions
|
|
1182
|
-
input.DomainEndpointOptions !== null && {
|
|
1148
|
+
})), (input.DomainEndpointOptions != null && {
|
|
1183
1149
|
DomainEndpointOptions: serializeAws_restJson1DomainEndpointOptions(input.DomainEndpointOptions, context),
|
|
1184
|
-
})), (input.DryRun
|
|
1185
|
-
input.EBSOptions !== null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) })), (input.EncryptionAtRestOptions !== undefined &&
|
|
1186
|
-
input.EncryptionAtRestOptions !== null && {
|
|
1150
|
+
})), (input.DryRun != null && { DryRun: input.DryRun })), (input.EBSOptions != null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) })), (input.EncryptionAtRestOptions != null && {
|
|
1187
1151
|
EncryptionAtRestOptions: serializeAws_restJson1EncryptionAtRestOptions(input.EncryptionAtRestOptions, context),
|
|
1188
|
-
})), (input.LogPublishingOptions
|
|
1189
|
-
input.LogPublishingOptions !== null && {
|
|
1152
|
+
})), (input.LogPublishingOptions != null && {
|
|
1190
1153
|
LogPublishingOptions: serializeAws_restJson1LogPublishingOptions(input.LogPublishingOptions, context),
|
|
1191
|
-
})), (input.NodeToNodeEncryptionOptions
|
|
1192
|
-
input.NodeToNodeEncryptionOptions !== null && {
|
|
1154
|
+
})), (input.NodeToNodeEncryptionOptions != null && {
|
|
1193
1155
|
NodeToNodeEncryptionOptions: serializeAws_restJson1NodeToNodeEncryptionOptions(input.NodeToNodeEncryptionOptions, context),
|
|
1194
|
-
})), (input.SnapshotOptions
|
|
1195
|
-
input.SnapshotOptions !== null && {
|
|
1156
|
+
})), (input.SnapshotOptions != null && {
|
|
1196
1157
|
SnapshotOptions: serializeAws_restJson1SnapshotOptions(input.SnapshotOptions, context),
|
|
1197
|
-
})), (input.VPCOptions
|
|
1198
|
-
input.VPCOptions !== null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) })));
|
|
1158
|
+
})), (input.VPCOptions != null && { VPCOptions: serializeAws_restJson1VPCOptions(input.VPCOptions, context) })));
|
|
1199
1159
|
return [2, new __HttpRequest({
|
|
1200
1160
|
protocol: protocol,
|
|
1201
1161
|
hostname: hostname,
|
|
@@ -1219,9 +1179,7 @@ export var serializeAws_restJson1UpdatePackageCommand = function (input, context
|
|
|
1219
1179
|
"content-type": "application/json",
|
|
1220
1180
|
};
|
|
1221
1181
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/packages/update";
|
|
1222
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CommitMessage
|
|
1223
|
-
input.PackageDescription !== null && { PackageDescription: input.PackageDescription })), (input.PackageID !== undefined && input.PackageID !== null && { PackageID: input.PackageID })), (input.PackageSource !== undefined &&
|
|
1224
|
-
input.PackageSource !== null && {
|
|
1182
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CommitMessage != null && { CommitMessage: input.CommitMessage })), (input.PackageDescription != null && { PackageDescription: input.PackageDescription })), (input.PackageID != null && { PackageID: input.PackageID })), (input.PackageSource != null && {
|
|
1225
1183
|
PackageSource: serializeAws_restJson1PackageSource(input.PackageSource, context),
|
|
1226
1184
|
})));
|
|
1227
1185
|
return [2, new __HttpRequest({
|
|
@@ -1247,11 +1205,9 @@ export var serializeAws_restJson1UpgradeDomainCommand = function (input, context
|
|
|
1247
1205
|
"content-type": "application/json",
|
|
1248
1206
|
};
|
|
1249
1207
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2021-01-01/opensearch/upgradeDomain";
|
|
1250
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AdvancedOptions
|
|
1251
|
-
input.AdvancedOptions !== null && {
|
|
1208
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AdvancedOptions != null && {
|
|
1252
1209
|
AdvancedOptions: serializeAws_restJson1AdvancedOptions(input.AdvancedOptions, context),
|
|
1253
|
-
})), (input.DomainName
|
|
1254
|
-
input.PerformCheckOnly !== null && { PerformCheckOnly: input.PerformCheckOnly })), (input.TargetVersion !== undefined && input.TargetVersion !== null && { TargetVersion: input.TargetVersion })));
|
|
1210
|
+
})), (input.DomainName != null && { DomainName: input.DomainName })), (input.PerformCheckOnly != null && { PerformCheckOnly: input.PerformCheckOnly })), (input.TargetVersion != null && { TargetVersion: input.TargetVersion })));
|
|
1255
1211
|
return [2, new __HttpRequest({
|
|
1256
1212
|
protocol: protocol,
|
|
1257
1213
|
hostname: hostname,
|
|
@@ -4315,21 +4271,18 @@ var serializeAws_restJson1AdvancedOptions = function (input, context) {
|
|
|
4315
4271
|
}, {});
|
|
4316
4272
|
};
|
|
4317
4273
|
var serializeAws_restJson1AdvancedSecurityOptionsInput = function (input, context) {
|
|
4318
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AnonymousAuthEnabled
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
input.MasterUserOptions !== null && {
|
|
4274
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AnonymousAuthEnabled != null && { AnonymousAuthEnabled: input.AnonymousAuthEnabled })), (input.Enabled != null && { Enabled: input.Enabled })), (input.InternalUserDatabaseEnabled != null && {
|
|
4275
|
+
InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled,
|
|
4276
|
+
})), (input.MasterUserOptions != null && {
|
|
4322
4277
|
MasterUserOptions: serializeAws_restJson1MasterUserOptions(input.MasterUserOptions, context),
|
|
4323
|
-
})), (input.SAMLOptions
|
|
4324
|
-
input.SAMLOptions !== null && {
|
|
4278
|
+
})), (input.SAMLOptions != null && {
|
|
4325
4279
|
SAMLOptions: serializeAws_restJson1SAMLOptionsInput(input.SAMLOptions, context),
|
|
4326
4280
|
}));
|
|
4327
4281
|
};
|
|
4328
4282
|
var serializeAws_restJson1AutoTuneMaintenanceSchedule = function (input, context) {
|
|
4329
|
-
return __assign(__assign(__assign({}, (input.CronExpressionForRecurrence
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
input.StartAt !== null && { StartAt: Math.round(input.StartAt.getTime() / 1000) }));
|
|
4283
|
+
return __assign(__assign(__assign({}, (input.CronExpressionForRecurrence != null && {
|
|
4284
|
+
CronExpressionForRecurrence: input.CronExpressionForRecurrence,
|
|
4285
|
+
})), (input.Duration != null && { Duration: serializeAws_restJson1Duration(input.Duration, context) })), (input.StartAt != null && { StartAt: Math.round(input.StartAt.getTime() / 1000) }));
|
|
4333
4286
|
};
|
|
4334
4287
|
var serializeAws_restJson1AutoTuneMaintenanceScheduleList = function (input, context) {
|
|
4335
4288
|
return input
|
|
@@ -4342,44 +4295,33 @@ var serializeAws_restJson1AutoTuneMaintenanceScheduleList = function (input, con
|
|
|
4342
4295
|
});
|
|
4343
4296
|
};
|
|
4344
4297
|
var serializeAws_restJson1AutoTuneOptions = function (input, context) {
|
|
4345
|
-
return __assign(__assign(__assign({}, (input.DesiredState
|
|
4346
|
-
input.MaintenanceSchedules !== null && {
|
|
4298
|
+
return __assign(__assign(__assign({}, (input.DesiredState != null && { DesiredState: input.DesiredState })), (input.MaintenanceSchedules != null && {
|
|
4347
4299
|
MaintenanceSchedules: serializeAws_restJson1AutoTuneMaintenanceScheduleList(input.MaintenanceSchedules, context),
|
|
4348
|
-
})), (input.RollbackOnDisable
|
|
4349
|
-
input.RollbackOnDisable !== null && { RollbackOnDisable: input.RollbackOnDisable }));
|
|
4300
|
+
})), (input.RollbackOnDisable != null && { RollbackOnDisable: input.RollbackOnDisable }));
|
|
4350
4301
|
};
|
|
4351
4302
|
var serializeAws_restJson1AutoTuneOptionsInput = function (input, context) {
|
|
4352
|
-
return __assign(__assign({}, (input.DesiredState
|
|
4353
|
-
input.MaintenanceSchedules !== null && {
|
|
4303
|
+
return __assign(__assign({}, (input.DesiredState != null && { DesiredState: input.DesiredState })), (input.MaintenanceSchedules != null && {
|
|
4354
4304
|
MaintenanceSchedules: serializeAws_restJson1AutoTuneMaintenanceScheduleList(input.MaintenanceSchedules, context),
|
|
4355
4305
|
}));
|
|
4356
4306
|
};
|
|
4357
4307
|
var serializeAws_restJson1AWSDomainInformation = function (input, context) {
|
|
4358
|
-
return __assign(__assign(__assign({}, (input.DomainName
|
|
4308
|
+
return __assign(__assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.OwnerId != null && { OwnerId: input.OwnerId })), (input.Region != null && { Region: input.Region }));
|
|
4359
4309
|
};
|
|
4360
4310
|
var serializeAws_restJson1ClusterConfig = function (input, context) {
|
|
4361
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColdStorageOptions
|
|
4362
|
-
input.ColdStorageOptions !== null && {
|
|
4311
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColdStorageOptions != null && {
|
|
4363
4312
|
ColdStorageOptions: serializeAws_restJson1ColdStorageOptions(input.ColdStorageOptions, context),
|
|
4364
|
-
})), (input.DedicatedMasterCount
|
|
4365
|
-
input.DedicatedMasterCount !== null && { DedicatedMasterCount: input.DedicatedMasterCount })), (input.DedicatedMasterEnabled !== undefined &&
|
|
4366
|
-
input.DedicatedMasterEnabled !== null && { DedicatedMasterEnabled: input.DedicatedMasterEnabled })), (input.DedicatedMasterType !== undefined &&
|
|
4367
|
-
input.DedicatedMasterType !== null && { DedicatedMasterType: input.DedicatedMasterType })), (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.WarmCount !== undefined && input.WarmCount !== null && { WarmCount: input.WarmCount })), (input.WarmEnabled !== undefined && input.WarmEnabled !== null && { WarmEnabled: input.WarmEnabled })), (input.WarmType !== undefined && input.WarmType !== null && { WarmType: input.WarmType })), (input.ZoneAwarenessConfig !== undefined &&
|
|
4368
|
-
input.ZoneAwarenessConfig !== null && {
|
|
4313
|
+
})), (input.DedicatedMasterCount != null && { DedicatedMasterCount: input.DedicatedMasterCount })), (input.DedicatedMasterEnabled != null && { DedicatedMasterEnabled: input.DedicatedMasterEnabled })), (input.DedicatedMasterType != null && { DedicatedMasterType: input.DedicatedMasterType })), (input.InstanceCount != null && { InstanceCount: input.InstanceCount })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.WarmCount != null && { WarmCount: input.WarmCount })), (input.WarmEnabled != null && { WarmEnabled: input.WarmEnabled })), (input.WarmType != null && { WarmType: input.WarmType })), (input.ZoneAwarenessConfig != null && {
|
|
4369
4314
|
ZoneAwarenessConfig: serializeAws_restJson1ZoneAwarenessConfig(input.ZoneAwarenessConfig, context),
|
|
4370
|
-
})), (input.ZoneAwarenessEnabled
|
|
4371
|
-
input.ZoneAwarenessEnabled !== null && { ZoneAwarenessEnabled: input.ZoneAwarenessEnabled }));
|
|
4315
|
+
})), (input.ZoneAwarenessEnabled != null && { ZoneAwarenessEnabled: input.ZoneAwarenessEnabled }));
|
|
4372
4316
|
};
|
|
4373
4317
|
var serializeAws_restJson1CognitoOptions = function (input, context) {
|
|
4374
|
-
return __assign(__assign(__assign(__assign({}, (input.Enabled
|
|
4375
|
-
input.IdentityPoolId !== null && { IdentityPoolId: input.IdentityPoolId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.UserPoolId !== undefined && input.UserPoolId !== null && { UserPoolId: input.UserPoolId }));
|
|
4318
|
+
return __assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.IdentityPoolId != null && { IdentityPoolId: input.IdentityPoolId })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.UserPoolId != null && { UserPoolId: input.UserPoolId }));
|
|
4376
4319
|
};
|
|
4377
4320
|
var serializeAws_restJson1ColdStorageOptions = function (input, context) {
|
|
4378
|
-
return __assign({}, (input.Enabled
|
|
4321
|
+
return __assign({}, (input.Enabled != null && { Enabled: input.Enabled }));
|
|
4379
4322
|
};
|
|
4380
4323
|
var serializeAws_restJson1DescribePackagesFilter = function (input, context) {
|
|
4381
|
-
return __assign(__assign({}, (input.Name
|
|
4382
|
-
input.Value !== null && { Value: serializeAws_restJson1DescribePackagesFilterValues(input.Value, context) }));
|
|
4324
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Value != null && { Value: serializeAws_restJson1DescribePackagesFilterValues(input.Value, context) }));
|
|
4383
4325
|
};
|
|
4384
4326
|
var serializeAws_restJson1DescribePackagesFilterList = function (input, context) {
|
|
4385
4327
|
return input
|
|
@@ -4402,17 +4344,12 @@ var serializeAws_restJson1DescribePackagesFilterValues = function (input, contex
|
|
|
4402
4344
|
});
|
|
4403
4345
|
};
|
|
4404
4346
|
var serializeAws_restJson1DomainEndpointOptions = function (input, context) {
|
|
4405
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CustomEndpoint
|
|
4406
|
-
input.CustomEndpoint !== null && { CustomEndpoint: input.CustomEndpoint })), (input.CustomEndpointCertificateArn !== undefined &&
|
|
4407
|
-
input.CustomEndpointCertificateArn !== null && {
|
|
4347
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CustomEndpoint != null && { CustomEndpoint: input.CustomEndpoint })), (input.CustomEndpointCertificateArn != null && {
|
|
4408
4348
|
CustomEndpointCertificateArn: input.CustomEndpointCertificateArn,
|
|
4409
|
-
})), (input.CustomEndpointEnabled
|
|
4410
|
-
input.CustomEndpointEnabled !== null && { CustomEndpointEnabled: input.CustomEndpointEnabled })), (input.EnforceHTTPS !== undefined && input.EnforceHTTPS !== null && { EnforceHTTPS: input.EnforceHTTPS })), (input.TLSSecurityPolicy !== undefined &&
|
|
4411
|
-
input.TLSSecurityPolicy !== null && { TLSSecurityPolicy: input.TLSSecurityPolicy }));
|
|
4349
|
+
})), (input.CustomEndpointEnabled != null && { CustomEndpointEnabled: input.CustomEndpointEnabled })), (input.EnforceHTTPS != null && { EnforceHTTPS: input.EnforceHTTPS })), (input.TLSSecurityPolicy != null && { TLSSecurityPolicy: input.TLSSecurityPolicy }));
|
|
4412
4350
|
};
|
|
4413
4351
|
var serializeAws_restJson1DomainInformationContainer = function (input, context) {
|
|
4414
|
-
return __assign({}, (input.AWSDomainInformation
|
|
4415
|
-
input.AWSDomainInformation !== null && {
|
|
4352
|
+
return __assign({}, (input.AWSDomainInformation != null && {
|
|
4416
4353
|
AWSDomainInformation: serializeAws_restJson1AWSDomainInformation(input.AWSDomainInformation, context),
|
|
4417
4354
|
}));
|
|
4418
4355
|
};
|
|
@@ -4427,17 +4364,16 @@ var serializeAws_restJson1DomainNameList = function (input, context) {
|
|
|
4427
4364
|
});
|
|
4428
4365
|
};
|
|
4429
4366
|
var serializeAws_restJson1Duration = function (input, context) {
|
|
4430
|
-
return __assign(__assign({}, (input.Unit
|
|
4367
|
+
return __assign(__assign({}, (input.Unit != null && { Unit: input.Unit })), (input.Value != null && { Value: input.Value }));
|
|
4431
4368
|
};
|
|
4432
4369
|
var serializeAws_restJson1EBSOptions = function (input, context) {
|
|
4433
|
-
return __assign(__assign(__assign(__assign({}, (input.EBSEnabled
|
|
4370
|
+
return __assign(__assign(__assign(__assign({}, (input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled })), (input.Iops != null && { Iops: input.Iops })), (input.VolumeSize != null && { VolumeSize: input.VolumeSize })), (input.VolumeType != null && { VolumeType: input.VolumeType }));
|
|
4434
4371
|
};
|
|
4435
4372
|
var serializeAws_restJson1EncryptionAtRestOptions = function (input, context) {
|
|
4436
|
-
return __assign(__assign({}, (input.Enabled
|
|
4373
|
+
return __assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
|
|
4437
4374
|
};
|
|
4438
4375
|
var serializeAws_restJson1Filter = function (input, context) {
|
|
4439
|
-
return __assign(__assign({}, (input.Name
|
|
4440
|
-
input.Values !== null && { Values: serializeAws_restJson1ValueStringList(input.Values, context) }));
|
|
4376
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1ValueStringList(input.Values, context) }));
|
|
4441
4377
|
};
|
|
4442
4378
|
var serializeAws_restJson1FilterList = function (input, context) {
|
|
4443
4379
|
return input
|
|
@@ -4450,8 +4386,7 @@ var serializeAws_restJson1FilterList = function (input, context) {
|
|
|
4450
4386
|
});
|
|
4451
4387
|
};
|
|
4452
4388
|
var serializeAws_restJson1LogPublishingOption = function (input, context) {
|
|
4453
|
-
return __assign(__assign({}, (input.CloudWatchLogsLogGroupArn
|
|
4454
|
-
input.CloudWatchLogsLogGroupArn !== null && { CloudWatchLogsLogGroupArn: input.CloudWatchLogsLogGroupArn })), (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }));
|
|
4389
|
+
return __assign(__assign({}, (input.CloudWatchLogsLogGroupArn != null && { CloudWatchLogsLogGroupArn: input.CloudWatchLogsLogGroupArn })), (input.Enabled != null && { Enabled: input.Enabled }));
|
|
4455
4390
|
};
|
|
4456
4391
|
var serializeAws_restJson1LogPublishingOptions = function (input, context) {
|
|
4457
4392
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4464,29 +4399,22 @@ var serializeAws_restJson1LogPublishingOptions = function (input, context) {
|
|
|
4464
4399
|
}, {});
|
|
4465
4400
|
};
|
|
4466
4401
|
var serializeAws_restJson1MasterUserOptions = function (input, context) {
|
|
4467
|
-
return __assign(__assign(__assign({}, (input.MasterUserARN
|
|
4468
|
-
input.MasterUserName !== null && { MasterUserName: input.MasterUserName })), (input.MasterUserPassword !== undefined &&
|
|
4469
|
-
input.MasterUserPassword !== null && { MasterUserPassword: input.MasterUserPassword }));
|
|
4402
|
+
return __assign(__assign(__assign({}, (input.MasterUserARN != null && { MasterUserARN: input.MasterUserARN })), (input.MasterUserName != null && { MasterUserName: input.MasterUserName })), (input.MasterUserPassword != null && { MasterUserPassword: input.MasterUserPassword }));
|
|
4470
4403
|
};
|
|
4471
4404
|
var serializeAws_restJson1NodeToNodeEncryptionOptions = function (input, context) {
|
|
4472
|
-
return __assign({}, (input.Enabled
|
|
4405
|
+
return __assign({}, (input.Enabled != null && { Enabled: input.Enabled }));
|
|
4473
4406
|
};
|
|
4474
4407
|
var serializeAws_restJson1PackageSource = function (input, context) {
|
|
4475
|
-
return __assign(__assign({}, (input.S3BucketName
|
|
4408
|
+
return __assign(__assign({}, (input.S3BucketName != null && { S3BucketName: input.S3BucketName })), (input.S3Key != null && { S3Key: input.S3Key }));
|
|
4476
4409
|
};
|
|
4477
4410
|
var serializeAws_restJson1SAMLIdp = function (input, context) {
|
|
4478
|
-
return __assign(__assign({}, (input.EntityId
|
|
4479
|
-
input.MetadataContent !== null && { MetadataContent: input.MetadataContent }));
|
|
4411
|
+
return __assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.MetadataContent != null && { MetadataContent: input.MetadataContent }));
|
|
4480
4412
|
};
|
|
4481
4413
|
var serializeAws_restJson1SAMLOptionsInput = function (input, context) {
|
|
4482
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Enabled
|
|
4483
|
-
input.MasterBackendRole !== null && { MasterBackendRole: input.MasterBackendRole })), (input.MasterUserName !== undefined &&
|
|
4484
|
-
input.MasterUserName !== null && { MasterUserName: input.MasterUserName })), (input.RolesKey !== undefined && input.RolesKey !== null && { RolesKey: input.RolesKey })), (input.SessionTimeoutMinutes !== undefined &&
|
|
4485
|
-
input.SessionTimeoutMinutes !== null && { SessionTimeoutMinutes: input.SessionTimeoutMinutes })), (input.SubjectKey !== undefined && input.SubjectKey !== null && { SubjectKey: input.SubjectKey }));
|
|
4414
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.Idp != null && { Idp: serializeAws_restJson1SAMLIdp(input.Idp, context) })), (input.MasterBackendRole != null && { MasterBackendRole: input.MasterBackendRole })), (input.MasterUserName != null && { MasterUserName: input.MasterUserName })), (input.RolesKey != null && { RolesKey: input.RolesKey })), (input.SessionTimeoutMinutes != null && { SessionTimeoutMinutes: input.SessionTimeoutMinutes })), (input.SubjectKey != null && { SubjectKey: input.SubjectKey }));
|
|
4486
4415
|
};
|
|
4487
4416
|
var serializeAws_restJson1SnapshotOptions = function (input, context) {
|
|
4488
|
-
return __assign({}, (input.AutomatedSnapshotStartHour
|
|
4489
|
-
input.AutomatedSnapshotStartHour !== null && { AutomatedSnapshotStartHour: input.AutomatedSnapshotStartHour }));
|
|
4417
|
+
return __assign({}, (input.AutomatedSnapshotStartHour != null && { AutomatedSnapshotStartHour: input.AutomatedSnapshotStartHour }));
|
|
4490
4418
|
};
|
|
4491
4419
|
var serializeAws_restJson1StringList = function (input, context) {
|
|
4492
4420
|
return input
|
|
@@ -4499,7 +4427,7 @@ var serializeAws_restJson1StringList = function (input, context) {
|
|
|
4499
4427
|
});
|
|
4500
4428
|
};
|
|
4501
4429
|
var serializeAws_restJson1Tag = function (input, context) {
|
|
4502
|
-
return __assign(__assign({}, (input.Key
|
|
4430
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4503
4431
|
};
|
|
4504
4432
|
var serializeAws_restJson1TagList = function (input, context) {
|
|
4505
4433
|
return input
|
|
@@ -4522,30 +4450,23 @@ var serializeAws_restJson1ValueStringList = function (input, context) {
|
|
|
4522
4450
|
});
|
|
4523
4451
|
};
|
|
4524
4452
|
var serializeAws_restJson1VPCOptions = function (input, context) {
|
|
4525
|
-
return __assign(__assign({}, (input.SecurityGroupIds
|
|
4526
|
-
input.SecurityGroupIds !== null && {
|
|
4453
|
+
return __assign(__assign({}, (input.SecurityGroupIds != null && {
|
|
4527
4454
|
SecurityGroupIds: serializeAws_restJson1StringList(input.SecurityGroupIds, context),
|
|
4528
|
-
})), (input.SubnetIds
|
|
4529
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_restJson1StringList(input.SubnetIds, context) }));
|
|
4455
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_restJson1StringList(input.SubnetIds, context) }));
|
|
4530
4456
|
};
|
|
4531
4457
|
var serializeAws_restJson1ZoneAwarenessConfig = function (input, context) {
|
|
4532
|
-
return __assign({}, (input.AvailabilityZoneCount
|
|
4533
|
-
input.AvailabilityZoneCount !== null && { AvailabilityZoneCount: input.AvailabilityZoneCount }));
|
|
4458
|
+
return __assign({}, (input.AvailabilityZoneCount != null && { AvailabilityZoneCount: input.AvailabilityZoneCount }));
|
|
4534
4459
|
};
|
|
4535
4460
|
var deserializeAws_restJson1AccessPoliciesStatus = function (output, context) {
|
|
4536
4461
|
return {
|
|
4537
4462
|
Options: __expectString(output.Options),
|
|
4538
|
-
Status: output.Status
|
|
4539
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4540
|
-
: undefined,
|
|
4463
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4541
4464
|
};
|
|
4542
4465
|
};
|
|
4543
4466
|
var deserializeAws_restJson1AdditionalLimit = function (output, context) {
|
|
4544
4467
|
return {
|
|
4545
4468
|
LimitName: __expectString(output.LimitName),
|
|
4546
|
-
LimitValues: output.LimitValues
|
|
4547
|
-
? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
|
|
4548
|
-
: undefined,
|
|
4469
|
+
LimitValues: output.LimitValues != null ? deserializeAws_restJson1LimitValueList(output.LimitValues, context) : undefined,
|
|
4549
4470
|
};
|
|
4550
4471
|
};
|
|
4551
4472
|
var deserializeAws_restJson1AdditionalLimitList = function (output, context) {
|
|
@@ -4571,40 +4492,30 @@ var deserializeAws_restJson1AdvancedOptions = function (output, context) {
|
|
|
4571
4492
|
};
|
|
4572
4493
|
var deserializeAws_restJson1AdvancedOptionsStatus = function (output, context) {
|
|
4573
4494
|
return {
|
|
4574
|
-
Options: output.Options
|
|
4575
|
-
|
|
4576
|
-
: undefined,
|
|
4577
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4578
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4579
|
-
: undefined,
|
|
4495
|
+
Options: output.Options != null ? deserializeAws_restJson1AdvancedOptions(output.Options, context) : undefined,
|
|
4496
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4580
4497
|
};
|
|
4581
4498
|
};
|
|
4582
4499
|
var deserializeAws_restJson1AdvancedSecurityOptions = function (output, context) {
|
|
4583
4500
|
return {
|
|
4584
|
-
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate
|
|
4501
|
+
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate != null
|
|
4585
4502
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AnonymousAuthDisableDate)))
|
|
4586
4503
|
: undefined,
|
|
4587
4504
|
AnonymousAuthEnabled: __expectBoolean(output.AnonymousAuthEnabled),
|
|
4588
4505
|
Enabled: __expectBoolean(output.Enabled),
|
|
4589
4506
|
InternalUserDatabaseEnabled: __expectBoolean(output.InternalUserDatabaseEnabled),
|
|
4590
|
-
SAMLOptions: output.SAMLOptions
|
|
4591
|
-
? deserializeAws_restJson1SAMLOptionsOutput(output.SAMLOptions, context)
|
|
4592
|
-
: undefined,
|
|
4507
|
+
SAMLOptions: output.SAMLOptions != null ? deserializeAws_restJson1SAMLOptionsOutput(output.SAMLOptions, context) : undefined,
|
|
4593
4508
|
};
|
|
4594
4509
|
};
|
|
4595
4510
|
var deserializeAws_restJson1AdvancedSecurityOptionsStatus = function (output, context) {
|
|
4596
4511
|
return {
|
|
4597
|
-
Options: output.Options
|
|
4598
|
-
|
|
4599
|
-
: undefined,
|
|
4600
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4601
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4602
|
-
: undefined,
|
|
4512
|
+
Options: output.Options != null ? deserializeAws_restJson1AdvancedSecurityOptions(output.Options, context) : undefined,
|
|
4513
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4603
4514
|
};
|
|
4604
4515
|
};
|
|
4605
4516
|
var deserializeAws_restJson1AutoTune = function (output, context) {
|
|
4606
4517
|
return {
|
|
4607
|
-
AutoTuneDetails: output.AutoTuneDetails
|
|
4518
|
+
AutoTuneDetails: output.AutoTuneDetails != null
|
|
4608
4519
|
? deserializeAws_restJson1AutoTuneDetails(output.AutoTuneDetails, context)
|
|
4609
4520
|
: undefined,
|
|
4610
4521
|
AutoTuneType: __expectString(output.AutoTuneType),
|
|
@@ -4612,7 +4523,7 @@ var deserializeAws_restJson1AutoTune = function (output, context) {
|
|
|
4612
4523
|
};
|
|
4613
4524
|
var deserializeAws_restJson1AutoTuneDetails = function (output, context) {
|
|
4614
4525
|
return {
|
|
4615
|
-
ScheduledAutoTuneDetails: output.ScheduledAutoTuneDetails
|
|
4526
|
+
ScheduledAutoTuneDetails: output.ScheduledAutoTuneDetails != null
|
|
4616
4527
|
? deserializeAws_restJson1ScheduledAutoTuneDetails(output.ScheduledAutoTuneDetails, context)
|
|
4617
4528
|
: undefined,
|
|
4618
4529
|
};
|
|
@@ -4631,12 +4542,8 @@ var deserializeAws_restJson1AutoTuneList = function (output, context) {
|
|
|
4631
4542
|
var deserializeAws_restJson1AutoTuneMaintenanceSchedule = function (output, context) {
|
|
4632
4543
|
return {
|
|
4633
4544
|
CronExpressionForRecurrence: __expectString(output.CronExpressionForRecurrence),
|
|
4634
|
-
Duration: output.Duration
|
|
4635
|
-
|
|
4636
|
-
: undefined,
|
|
4637
|
-
StartAt: output.StartAt !== undefined && output.StartAt !== null
|
|
4638
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartAt)))
|
|
4639
|
-
: undefined,
|
|
4545
|
+
Duration: output.Duration != null ? deserializeAws_restJson1Duration(output.Duration, context) : undefined,
|
|
4546
|
+
StartAt: output.StartAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartAt))) : undefined,
|
|
4640
4547
|
};
|
|
4641
4548
|
};
|
|
4642
4549
|
var deserializeAws_restJson1AutoTuneMaintenanceScheduleList = function (output, context) {
|
|
@@ -4653,7 +4560,7 @@ var deserializeAws_restJson1AutoTuneMaintenanceScheduleList = function (output,
|
|
|
4653
4560
|
var deserializeAws_restJson1AutoTuneOptions = function (output, context) {
|
|
4654
4561
|
return {
|
|
4655
4562
|
DesiredState: __expectString(output.DesiredState),
|
|
4656
|
-
MaintenanceSchedules: output.MaintenanceSchedules
|
|
4563
|
+
MaintenanceSchedules: output.MaintenanceSchedules != null
|
|
4657
4564
|
? deserializeAws_restJson1AutoTuneMaintenanceScheduleList(output.MaintenanceSchedules, context)
|
|
4658
4565
|
: undefined,
|
|
4659
4566
|
RollbackOnDisable: __expectString(output.RollbackOnDisable),
|
|
@@ -4667,25 +4574,19 @@ var deserializeAws_restJson1AutoTuneOptionsOutput = function (output, context) {
|
|
|
4667
4574
|
};
|
|
4668
4575
|
var deserializeAws_restJson1AutoTuneOptionsStatus = function (output, context) {
|
|
4669
4576
|
return {
|
|
4670
|
-
Options: output.Options
|
|
4671
|
-
|
|
4672
|
-
: undefined,
|
|
4673
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4674
|
-
? deserializeAws_restJson1AutoTuneStatus(output.Status, context)
|
|
4675
|
-
: undefined,
|
|
4577
|
+
Options: output.Options != null ? deserializeAws_restJson1AutoTuneOptions(output.Options, context) : undefined,
|
|
4578
|
+
Status: output.Status != null ? deserializeAws_restJson1AutoTuneStatus(output.Status, context) : undefined,
|
|
4676
4579
|
};
|
|
4677
4580
|
};
|
|
4678
4581
|
var deserializeAws_restJson1AutoTuneStatus = function (output, context) {
|
|
4679
4582
|
return {
|
|
4680
|
-
CreationDate: output.CreationDate
|
|
4583
|
+
CreationDate: output.CreationDate != null
|
|
4681
4584
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
4682
4585
|
: undefined,
|
|
4683
4586
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4684
4587
|
PendingDeletion: __expectBoolean(output.PendingDeletion),
|
|
4685
4588
|
State: __expectString(output.State),
|
|
4686
|
-
UpdateDate: output.UpdateDate
|
|
4687
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate)))
|
|
4688
|
-
: undefined,
|
|
4589
|
+
UpdateDate: output.UpdateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate))) : undefined,
|
|
4689
4590
|
UpdateVersion: __expectInt32(output.UpdateVersion),
|
|
4690
4591
|
};
|
|
4691
4592
|
};
|
|
@@ -4705,7 +4606,7 @@ var deserializeAws_restJson1ChangeProgressDetails = function (output, context) {
|
|
|
4705
4606
|
var deserializeAws_restJson1ChangeProgressStage = function (output, context) {
|
|
4706
4607
|
return {
|
|
4707
4608
|
Description: __expectString(output.Description),
|
|
4708
|
-
LastUpdated: output.LastUpdated
|
|
4609
|
+
LastUpdated: output.LastUpdated != null
|
|
4709
4610
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
4710
4611
|
: undefined,
|
|
4711
4612
|
Name: __expectString(output.Name),
|
|
@@ -4726,25 +4627,23 @@ var deserializeAws_restJson1ChangeProgressStageList = function (output, context)
|
|
|
4726
4627
|
var deserializeAws_restJson1ChangeProgressStatusDetails = function (output, context) {
|
|
4727
4628
|
return {
|
|
4728
4629
|
ChangeId: __expectString(output.ChangeId),
|
|
4729
|
-
ChangeProgressStages: output.ChangeProgressStages
|
|
4630
|
+
ChangeProgressStages: output.ChangeProgressStages != null
|
|
4730
4631
|
? deserializeAws_restJson1ChangeProgressStageList(output.ChangeProgressStages, context)
|
|
4731
4632
|
: undefined,
|
|
4732
|
-
CompletedProperties: output.CompletedProperties
|
|
4633
|
+
CompletedProperties: output.CompletedProperties != null
|
|
4733
4634
|
? deserializeAws_restJson1StringList(output.CompletedProperties, context)
|
|
4734
4635
|
: undefined,
|
|
4735
|
-
PendingProperties: output.PendingProperties
|
|
4636
|
+
PendingProperties: output.PendingProperties != null
|
|
4736
4637
|
? deserializeAws_restJson1StringList(output.PendingProperties, context)
|
|
4737
4638
|
: undefined,
|
|
4738
|
-
StartTime: output.StartTime
|
|
4739
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
4740
|
-
: undefined,
|
|
4639
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4741
4640
|
Status: __expectString(output.Status),
|
|
4742
4641
|
TotalNumberOfStages: __expectInt32(output.TotalNumberOfStages),
|
|
4743
4642
|
};
|
|
4744
4643
|
};
|
|
4745
4644
|
var deserializeAws_restJson1ClusterConfig = function (output, context) {
|
|
4746
4645
|
return {
|
|
4747
|
-
ColdStorageOptions: output.ColdStorageOptions
|
|
4646
|
+
ColdStorageOptions: output.ColdStorageOptions != null
|
|
4748
4647
|
? deserializeAws_restJson1ColdStorageOptions(output.ColdStorageOptions, context)
|
|
4749
4648
|
: undefined,
|
|
4750
4649
|
DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount),
|
|
@@ -4755,7 +4654,7 @@ var deserializeAws_restJson1ClusterConfig = function (output, context) {
|
|
|
4755
4654
|
WarmCount: __expectInt32(output.WarmCount),
|
|
4756
4655
|
WarmEnabled: __expectBoolean(output.WarmEnabled),
|
|
4757
4656
|
WarmType: __expectString(output.WarmType),
|
|
4758
|
-
ZoneAwarenessConfig: output.ZoneAwarenessConfig
|
|
4657
|
+
ZoneAwarenessConfig: output.ZoneAwarenessConfig != null
|
|
4759
4658
|
? deserializeAws_restJson1ZoneAwarenessConfig(output.ZoneAwarenessConfig, context)
|
|
4760
4659
|
: undefined,
|
|
4761
4660
|
ZoneAwarenessEnabled: __expectBoolean(output.ZoneAwarenessEnabled),
|
|
@@ -4763,12 +4662,8 @@ var deserializeAws_restJson1ClusterConfig = function (output, context) {
|
|
|
4763
4662
|
};
|
|
4764
4663
|
var deserializeAws_restJson1ClusterConfigStatus = function (output, context) {
|
|
4765
4664
|
return {
|
|
4766
|
-
Options: output.Options
|
|
4767
|
-
|
|
4768
|
-
: undefined,
|
|
4769
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4770
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4771
|
-
: undefined,
|
|
4665
|
+
Options: output.Options != null ? deserializeAws_restJson1ClusterConfig(output.Options, context) : undefined,
|
|
4666
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4772
4667
|
};
|
|
4773
4668
|
};
|
|
4774
4669
|
var deserializeAws_restJson1CognitoOptions = function (output, context) {
|
|
@@ -4781,12 +4676,8 @@ var deserializeAws_restJson1CognitoOptions = function (output, context) {
|
|
|
4781
4676
|
};
|
|
4782
4677
|
var deserializeAws_restJson1CognitoOptionsStatus = function (output, context) {
|
|
4783
4678
|
return {
|
|
4784
|
-
Options: output.Options
|
|
4785
|
-
|
|
4786
|
-
: undefined,
|
|
4787
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4788
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4789
|
-
: undefined,
|
|
4679
|
+
Options: output.Options != null ? deserializeAws_restJson1CognitoOptions(output.Options, context) : undefined,
|
|
4680
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4790
4681
|
};
|
|
4791
4682
|
};
|
|
4792
4683
|
var deserializeAws_restJson1ColdStorageOptions = function (output, context) {
|
|
@@ -4808,58 +4699,50 @@ var deserializeAws_restJson1CompatibleVersionsList = function (output, context)
|
|
|
4808
4699
|
var deserializeAws_restJson1CompatibleVersionsMap = function (output, context) {
|
|
4809
4700
|
return {
|
|
4810
4701
|
SourceVersion: __expectString(output.SourceVersion),
|
|
4811
|
-
TargetVersions: output.TargetVersions
|
|
4812
|
-
? deserializeAws_restJson1VersionList(output.TargetVersions, context)
|
|
4813
|
-
: undefined,
|
|
4702
|
+
TargetVersions: output.TargetVersions != null ? deserializeAws_restJson1VersionList(output.TargetVersions, context) : undefined,
|
|
4814
4703
|
};
|
|
4815
4704
|
};
|
|
4816
4705
|
var deserializeAws_restJson1DomainConfig = function (output, context) {
|
|
4817
4706
|
return {
|
|
4818
|
-
AccessPolicies: output.AccessPolicies
|
|
4707
|
+
AccessPolicies: output.AccessPolicies != null
|
|
4819
4708
|
? deserializeAws_restJson1AccessPoliciesStatus(output.AccessPolicies, context)
|
|
4820
4709
|
: undefined,
|
|
4821
|
-
AdvancedOptions: output.AdvancedOptions
|
|
4710
|
+
AdvancedOptions: output.AdvancedOptions != null
|
|
4822
4711
|
? deserializeAws_restJson1AdvancedOptionsStatus(output.AdvancedOptions, context)
|
|
4823
4712
|
: undefined,
|
|
4824
|
-
AdvancedSecurityOptions: output.AdvancedSecurityOptions
|
|
4713
|
+
AdvancedSecurityOptions: output.AdvancedSecurityOptions != null
|
|
4825
4714
|
? deserializeAws_restJson1AdvancedSecurityOptionsStatus(output.AdvancedSecurityOptions, context)
|
|
4826
4715
|
: undefined,
|
|
4827
|
-
AutoTuneOptions: output.AutoTuneOptions
|
|
4716
|
+
AutoTuneOptions: output.AutoTuneOptions != null
|
|
4828
4717
|
? deserializeAws_restJson1AutoTuneOptionsStatus(output.AutoTuneOptions, context)
|
|
4829
4718
|
: undefined,
|
|
4830
|
-
ChangeProgressDetails: output.ChangeProgressDetails
|
|
4719
|
+
ChangeProgressDetails: output.ChangeProgressDetails != null
|
|
4831
4720
|
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
4832
4721
|
: undefined,
|
|
4833
|
-
ClusterConfig: output.ClusterConfig
|
|
4722
|
+
ClusterConfig: output.ClusterConfig != null
|
|
4834
4723
|
? deserializeAws_restJson1ClusterConfigStatus(output.ClusterConfig, context)
|
|
4835
4724
|
: undefined,
|
|
4836
|
-
CognitoOptions: output.CognitoOptions
|
|
4725
|
+
CognitoOptions: output.CognitoOptions != null
|
|
4837
4726
|
? deserializeAws_restJson1CognitoOptionsStatus(output.CognitoOptions, context)
|
|
4838
4727
|
: undefined,
|
|
4839
|
-
DomainEndpointOptions: output.DomainEndpointOptions
|
|
4728
|
+
DomainEndpointOptions: output.DomainEndpointOptions != null
|
|
4840
4729
|
? deserializeAws_restJson1DomainEndpointOptionsStatus(output.DomainEndpointOptions, context)
|
|
4841
4730
|
: undefined,
|
|
4842
|
-
EBSOptions: output.EBSOptions
|
|
4843
|
-
|
|
4844
|
-
: undefined,
|
|
4845
|
-
EncryptionAtRestOptions: output.EncryptionAtRestOptions !== undefined && output.EncryptionAtRestOptions !== null
|
|
4731
|
+
EBSOptions: output.EBSOptions != null ? deserializeAws_restJson1EBSOptionsStatus(output.EBSOptions, context) : undefined,
|
|
4732
|
+
EncryptionAtRestOptions: output.EncryptionAtRestOptions != null
|
|
4846
4733
|
? deserializeAws_restJson1EncryptionAtRestOptionsStatus(output.EncryptionAtRestOptions, context)
|
|
4847
4734
|
: undefined,
|
|
4848
|
-
EngineVersion: output.EngineVersion
|
|
4849
|
-
|
|
4850
|
-
: undefined,
|
|
4851
|
-
LogPublishingOptions: output.LogPublishingOptions !== undefined && output.LogPublishingOptions !== null
|
|
4735
|
+
EngineVersion: output.EngineVersion != null ? deserializeAws_restJson1VersionStatus(output.EngineVersion, context) : undefined,
|
|
4736
|
+
LogPublishingOptions: output.LogPublishingOptions != null
|
|
4852
4737
|
? deserializeAws_restJson1LogPublishingOptionsStatus(output.LogPublishingOptions, context)
|
|
4853
4738
|
: undefined,
|
|
4854
|
-
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions
|
|
4739
|
+
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions != null
|
|
4855
4740
|
? deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus(output.NodeToNodeEncryptionOptions, context)
|
|
4856
4741
|
: undefined,
|
|
4857
|
-
SnapshotOptions: output.SnapshotOptions
|
|
4742
|
+
SnapshotOptions: output.SnapshotOptions != null
|
|
4858
4743
|
? deserializeAws_restJson1SnapshotOptionsStatus(output.SnapshotOptions, context)
|
|
4859
4744
|
: undefined,
|
|
4860
|
-
VPCOptions: output.VPCOptions
|
|
4861
|
-
? deserializeAws_restJson1VPCDerivedInfoStatus(output.VPCOptions, context)
|
|
4862
|
-
: undefined,
|
|
4745
|
+
VPCOptions: output.VPCOptions != null ? deserializeAws_restJson1VPCDerivedInfoStatus(output.VPCOptions, context) : undefined,
|
|
4863
4746
|
};
|
|
4864
4747
|
};
|
|
4865
4748
|
var deserializeAws_restJson1DomainEndpointOptions = function (output, context) {
|
|
@@ -4873,12 +4756,8 @@ var deserializeAws_restJson1DomainEndpointOptions = function (output, context) {
|
|
|
4873
4756
|
};
|
|
4874
4757
|
var deserializeAws_restJson1DomainEndpointOptionsStatus = function (output, context) {
|
|
4875
4758
|
return {
|
|
4876
|
-
Options: output.Options
|
|
4877
|
-
|
|
4878
|
-
: undefined,
|
|
4879
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4880
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4881
|
-
: undefined,
|
|
4759
|
+
Options: output.Options != null ? deserializeAws_restJson1DomainEndpointOptions(output.Options, context) : undefined,
|
|
4760
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
4882
4761
|
};
|
|
4883
4762
|
};
|
|
4884
4763
|
var deserializeAws_restJson1DomainInfo = function (output, context) {
|
|
@@ -4900,7 +4779,7 @@ var deserializeAws_restJson1DomainInfoList = function (output, context) {
|
|
|
4900
4779
|
};
|
|
4901
4780
|
var deserializeAws_restJson1DomainInformationContainer = function (output, context) {
|
|
4902
4781
|
return {
|
|
4903
|
-
AWSDomainInformation: output.AWSDomainInformation
|
|
4782
|
+
AWSDomainInformation: output.AWSDomainInformation != null
|
|
4904
4783
|
? deserializeAws_restJson1AWSDomainInformation(output.AWSDomainInformation, context)
|
|
4905
4784
|
: undefined,
|
|
4906
4785
|
};
|
|
@@ -4909,10 +4788,8 @@ var deserializeAws_restJson1DomainPackageDetails = function (output, context) {
|
|
|
4909
4788
|
return {
|
|
4910
4789
|
DomainName: __expectString(output.DomainName),
|
|
4911
4790
|
DomainPackageStatus: __expectString(output.DomainPackageStatus),
|
|
4912
|
-
ErrorDetails: output.ErrorDetails
|
|
4913
|
-
|
|
4914
|
-
: undefined,
|
|
4915
|
-
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
4791
|
+
ErrorDetails: output.ErrorDetails != null ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context) : undefined,
|
|
4792
|
+
LastUpdated: output.LastUpdated != null
|
|
4916
4793
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
4917
4794
|
: undefined,
|
|
4918
4795
|
PackageID: __expectString(output.PackageID),
|
|
@@ -4937,59 +4814,51 @@ var deserializeAws_restJson1DomainStatus = function (output, context) {
|
|
|
4937
4814
|
return {
|
|
4938
4815
|
ARN: __expectString(output.ARN),
|
|
4939
4816
|
AccessPolicies: __expectString(output.AccessPolicies),
|
|
4940
|
-
AdvancedOptions: output.AdvancedOptions
|
|
4817
|
+
AdvancedOptions: output.AdvancedOptions != null
|
|
4941
4818
|
? deserializeAws_restJson1AdvancedOptions(output.AdvancedOptions, context)
|
|
4942
4819
|
: undefined,
|
|
4943
|
-
AdvancedSecurityOptions: output.AdvancedSecurityOptions
|
|
4820
|
+
AdvancedSecurityOptions: output.AdvancedSecurityOptions != null
|
|
4944
4821
|
? deserializeAws_restJson1AdvancedSecurityOptions(output.AdvancedSecurityOptions, context)
|
|
4945
4822
|
: undefined,
|
|
4946
|
-
AutoTuneOptions: output.AutoTuneOptions
|
|
4823
|
+
AutoTuneOptions: output.AutoTuneOptions != null
|
|
4947
4824
|
? deserializeAws_restJson1AutoTuneOptionsOutput(output.AutoTuneOptions, context)
|
|
4948
4825
|
: undefined,
|
|
4949
|
-
ChangeProgressDetails: output.ChangeProgressDetails
|
|
4826
|
+
ChangeProgressDetails: output.ChangeProgressDetails != null
|
|
4950
4827
|
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
4951
4828
|
: undefined,
|
|
4952
|
-
ClusterConfig: output.ClusterConfig
|
|
4953
|
-
|
|
4954
|
-
: undefined,
|
|
4955
|
-
CognitoOptions: output.CognitoOptions !== undefined && output.CognitoOptions !== null
|
|
4829
|
+
ClusterConfig: output.ClusterConfig != null ? deserializeAws_restJson1ClusterConfig(output.ClusterConfig, context) : undefined,
|
|
4830
|
+
CognitoOptions: output.CognitoOptions != null
|
|
4956
4831
|
? deserializeAws_restJson1CognitoOptions(output.CognitoOptions, context)
|
|
4957
4832
|
: undefined,
|
|
4958
4833
|
Created: __expectBoolean(output.Created),
|
|
4959
4834
|
Deleted: __expectBoolean(output.Deleted),
|
|
4960
|
-
DomainEndpointOptions: output.DomainEndpointOptions
|
|
4835
|
+
DomainEndpointOptions: output.DomainEndpointOptions != null
|
|
4961
4836
|
? deserializeAws_restJson1DomainEndpointOptions(output.DomainEndpointOptions, context)
|
|
4962
4837
|
: undefined,
|
|
4963
4838
|
DomainId: __expectString(output.DomainId),
|
|
4964
4839
|
DomainName: __expectString(output.DomainName),
|
|
4965
|
-
EBSOptions: output.EBSOptions
|
|
4966
|
-
|
|
4967
|
-
: undefined,
|
|
4968
|
-
EncryptionAtRestOptions: output.EncryptionAtRestOptions !== undefined && output.EncryptionAtRestOptions !== null
|
|
4840
|
+
EBSOptions: output.EBSOptions != null ? deserializeAws_restJson1EBSOptions(output.EBSOptions, context) : undefined,
|
|
4841
|
+
EncryptionAtRestOptions: output.EncryptionAtRestOptions != null
|
|
4969
4842
|
? deserializeAws_restJson1EncryptionAtRestOptions(output.EncryptionAtRestOptions, context)
|
|
4970
4843
|
: undefined,
|
|
4971
4844
|
Endpoint: __expectString(output.Endpoint),
|
|
4972
|
-
Endpoints: output.Endpoints
|
|
4973
|
-
? deserializeAws_restJson1EndpointsMap(output.Endpoints, context)
|
|
4974
|
-
: undefined,
|
|
4845
|
+
Endpoints: output.Endpoints != null ? deserializeAws_restJson1EndpointsMap(output.Endpoints, context) : undefined,
|
|
4975
4846
|
EngineVersion: __expectString(output.EngineVersion),
|
|
4976
|
-
LogPublishingOptions: output.LogPublishingOptions
|
|
4847
|
+
LogPublishingOptions: output.LogPublishingOptions != null
|
|
4977
4848
|
? deserializeAws_restJson1LogPublishingOptions(output.LogPublishingOptions, context)
|
|
4978
4849
|
: undefined,
|
|
4979
|
-
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions
|
|
4850
|
+
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions != null
|
|
4980
4851
|
? deserializeAws_restJson1NodeToNodeEncryptionOptions(output.NodeToNodeEncryptionOptions, context)
|
|
4981
4852
|
: undefined,
|
|
4982
4853
|
Processing: __expectBoolean(output.Processing),
|
|
4983
|
-
ServiceSoftwareOptions: output.ServiceSoftwareOptions
|
|
4854
|
+
ServiceSoftwareOptions: output.ServiceSoftwareOptions != null
|
|
4984
4855
|
? deserializeAws_restJson1ServiceSoftwareOptions(output.ServiceSoftwareOptions, context)
|
|
4985
4856
|
: undefined,
|
|
4986
|
-
SnapshotOptions: output.SnapshotOptions
|
|
4857
|
+
SnapshotOptions: output.SnapshotOptions != null
|
|
4987
4858
|
? deserializeAws_restJson1SnapshotOptions(output.SnapshotOptions, context)
|
|
4988
4859
|
: undefined,
|
|
4989
4860
|
UpgradeProcessing: __expectBoolean(output.UpgradeProcessing),
|
|
4990
|
-
VPCOptions: output.VPCOptions
|
|
4991
|
-
? deserializeAws_restJson1VPCDerivedInfo(output.VPCOptions, context)
|
|
4992
|
-
: undefined,
|
|
4861
|
+
VPCOptions: output.VPCOptions != null ? deserializeAws_restJson1VPCDerivedInfo(output.VPCOptions, context) : undefined,
|
|
4993
4862
|
};
|
|
4994
4863
|
};
|
|
4995
4864
|
var deserializeAws_restJson1DomainStatusList = function (output, context) {
|
|
@@ -5025,12 +4894,8 @@ var deserializeAws_restJson1EBSOptions = function (output, context) {
|
|
|
5025
4894
|
};
|
|
5026
4895
|
var deserializeAws_restJson1EBSOptionsStatus = function (output, context) {
|
|
5027
4896
|
return {
|
|
5028
|
-
Options: output.Options
|
|
5029
|
-
|
|
5030
|
-
: undefined,
|
|
5031
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
5032
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5033
|
-
: undefined,
|
|
4897
|
+
Options: output.Options != null ? deserializeAws_restJson1EBSOptions(output.Options, context) : undefined,
|
|
4898
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5034
4899
|
};
|
|
5035
4900
|
};
|
|
5036
4901
|
var deserializeAws_restJson1EncryptionAtRestOptions = function (output, context) {
|
|
@@ -5041,12 +4906,8 @@ var deserializeAws_restJson1EncryptionAtRestOptions = function (output, context)
|
|
|
5041
4906
|
};
|
|
5042
4907
|
var deserializeAws_restJson1EncryptionAtRestOptionsStatus = function (output, context) {
|
|
5043
4908
|
return {
|
|
5044
|
-
Options: output.Options
|
|
5045
|
-
|
|
5046
|
-
: undefined,
|
|
5047
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
5048
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5049
|
-
: undefined,
|
|
4909
|
+
Options: output.Options != null ? deserializeAws_restJson1EncryptionAtRestOptions(output.Options, context) : undefined,
|
|
4910
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5050
4911
|
};
|
|
5051
4912
|
};
|
|
5052
4913
|
var deserializeAws_restJson1EndpointsMap = function (output, context) {
|
|
@@ -5068,13 +4929,13 @@ var deserializeAws_restJson1ErrorDetails = function (output, context) {
|
|
|
5068
4929
|
var deserializeAws_restJson1InboundConnection = function (output, context) {
|
|
5069
4930
|
return {
|
|
5070
4931
|
ConnectionId: __expectString(output.ConnectionId),
|
|
5071
|
-
ConnectionStatus: output.ConnectionStatus
|
|
4932
|
+
ConnectionStatus: output.ConnectionStatus != null
|
|
5072
4933
|
? deserializeAws_restJson1InboundConnectionStatus(output.ConnectionStatus, context)
|
|
5073
4934
|
: undefined,
|
|
5074
|
-
LocalDomainInfo: output.LocalDomainInfo
|
|
4935
|
+
LocalDomainInfo: output.LocalDomainInfo != null
|
|
5075
4936
|
? deserializeAws_restJson1DomainInformationContainer(output.LocalDomainInfo, context)
|
|
5076
4937
|
: undefined,
|
|
5077
|
-
RemoteDomainInfo: output.RemoteDomainInfo
|
|
4938
|
+
RemoteDomainInfo: output.RemoteDomainInfo != null
|
|
5078
4939
|
? deserializeAws_restJson1DomainInformationContainer(output.RemoteDomainInfo, context)
|
|
5079
4940
|
: undefined,
|
|
5080
4941
|
};
|
|
@@ -5104,7 +4965,7 @@ var deserializeAws_restJson1InstanceCountLimits = function (output, context) {
|
|
|
5104
4965
|
};
|
|
5105
4966
|
var deserializeAws_restJson1InstanceLimits = function (output, context) {
|
|
5106
4967
|
return {
|
|
5107
|
-
InstanceCountLimits: output.InstanceCountLimits
|
|
4968
|
+
InstanceCountLimits: output.InstanceCountLimits != null
|
|
5108
4969
|
? deserializeAws_restJson1InstanceCountLimits(output.InstanceCountLimits, context)
|
|
5109
4970
|
: undefined,
|
|
5110
4971
|
};
|
|
@@ -5126,9 +4987,7 @@ var deserializeAws_restJson1InstanceTypeDetails = function (output, context) {
|
|
|
5126
4987
|
AppLogsEnabled: __expectBoolean(output.AppLogsEnabled),
|
|
5127
4988
|
CognitoEnabled: __expectBoolean(output.CognitoEnabled),
|
|
5128
4989
|
EncryptionEnabled: __expectBoolean(output.EncryptionEnabled),
|
|
5129
|
-
InstanceRole: output.InstanceRole
|
|
5130
|
-
? deserializeAws_restJson1InstanceRoleList(output.InstanceRole, context)
|
|
5131
|
-
: undefined,
|
|
4990
|
+
InstanceRole: output.InstanceRole != null ? deserializeAws_restJson1InstanceRoleList(output.InstanceRole, context) : undefined,
|
|
5132
4991
|
InstanceType: __expectString(output.InstanceType),
|
|
5133
4992
|
WarmEnabled: __expectBoolean(output.WarmEnabled),
|
|
5134
4993
|
};
|
|
@@ -5157,15 +5016,13 @@ var deserializeAws_restJson1Issues = function (output, context) {
|
|
|
5157
5016
|
};
|
|
5158
5017
|
var deserializeAws_restJson1Limits = function (output, context) {
|
|
5159
5018
|
return {
|
|
5160
|
-
AdditionalLimits: output.AdditionalLimits
|
|
5019
|
+
AdditionalLimits: output.AdditionalLimits != null
|
|
5161
5020
|
? deserializeAws_restJson1AdditionalLimitList(output.AdditionalLimits, context)
|
|
5162
5021
|
: undefined,
|
|
5163
|
-
InstanceLimits: output.InstanceLimits
|
|
5022
|
+
InstanceLimits: output.InstanceLimits != null
|
|
5164
5023
|
? deserializeAws_restJson1InstanceLimits(output.InstanceLimits, context)
|
|
5165
5024
|
: undefined,
|
|
5166
|
-
StorageTypes: output.StorageTypes
|
|
5167
|
-
? deserializeAws_restJson1StorageTypeList(output.StorageTypes, context)
|
|
5168
|
-
: undefined,
|
|
5025
|
+
StorageTypes: output.StorageTypes != null ? deserializeAws_restJson1StorageTypeList(output.StorageTypes, context) : undefined,
|
|
5169
5026
|
};
|
|
5170
5027
|
};
|
|
5171
5028
|
var deserializeAws_restJson1LimitsByRole = function (output, context) {
|
|
@@ -5207,12 +5064,8 @@ var deserializeAws_restJson1LogPublishingOptions = function (output, context) {
|
|
|
5207
5064
|
};
|
|
5208
5065
|
var deserializeAws_restJson1LogPublishingOptionsStatus = function (output, context) {
|
|
5209
5066
|
return {
|
|
5210
|
-
Options: output.Options
|
|
5211
|
-
|
|
5212
|
-
: undefined,
|
|
5213
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
5214
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5215
|
-
: undefined,
|
|
5067
|
+
Options: output.Options != null ? deserializeAws_restJson1LogPublishingOptions(output.Options, context) : undefined,
|
|
5068
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5216
5069
|
};
|
|
5217
5070
|
};
|
|
5218
5071
|
var deserializeAws_restJson1NodeToNodeEncryptionOptions = function (output, context) {
|
|
@@ -5222,24 +5075,18 @@ var deserializeAws_restJson1NodeToNodeEncryptionOptions = function (output, cont
|
|
|
5222
5075
|
};
|
|
5223
5076
|
var deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus = function (output, context) {
|
|
5224
5077
|
return {
|
|
5225
|
-
Options: output.Options
|
|
5226
|
-
|
|
5227
|
-
: undefined,
|
|
5228
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
5229
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5230
|
-
: undefined,
|
|
5078
|
+
Options: output.Options != null ? deserializeAws_restJson1NodeToNodeEncryptionOptions(output.Options, context) : undefined,
|
|
5079
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5231
5080
|
};
|
|
5232
5081
|
};
|
|
5233
5082
|
var deserializeAws_restJson1OptionStatus = function (output, context) {
|
|
5234
5083
|
return {
|
|
5235
|
-
CreationDate: output.CreationDate
|
|
5084
|
+
CreationDate: output.CreationDate != null
|
|
5236
5085
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
5237
5086
|
: undefined,
|
|
5238
5087
|
PendingDeletion: __expectBoolean(output.PendingDeletion),
|
|
5239
5088
|
State: __expectString(output.State),
|
|
5240
|
-
UpdateDate: output.UpdateDate
|
|
5241
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate)))
|
|
5242
|
-
: undefined,
|
|
5089
|
+
UpdateDate: output.UpdateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate))) : undefined,
|
|
5243
5090
|
UpdateVersion: __expectInt32(output.UpdateVersion),
|
|
5244
5091
|
};
|
|
5245
5092
|
};
|
|
@@ -5247,13 +5094,13 @@ var deserializeAws_restJson1OutboundConnection = function (output, context) {
|
|
|
5247
5094
|
return {
|
|
5248
5095
|
ConnectionAlias: __expectString(output.ConnectionAlias),
|
|
5249
5096
|
ConnectionId: __expectString(output.ConnectionId),
|
|
5250
|
-
ConnectionStatus: output.ConnectionStatus
|
|
5097
|
+
ConnectionStatus: output.ConnectionStatus != null
|
|
5251
5098
|
? deserializeAws_restJson1OutboundConnectionStatus(output.ConnectionStatus, context)
|
|
5252
5099
|
: undefined,
|
|
5253
|
-
LocalDomainInfo: output.LocalDomainInfo
|
|
5100
|
+
LocalDomainInfo: output.LocalDomainInfo != null
|
|
5254
5101
|
? deserializeAws_restJson1DomainInformationContainer(output.LocalDomainInfo, context)
|
|
5255
5102
|
: undefined,
|
|
5256
|
-
RemoteDomainInfo: output.RemoteDomainInfo
|
|
5103
|
+
RemoteDomainInfo: output.RemoteDomainInfo != null
|
|
5257
5104
|
? deserializeAws_restJson1DomainInformationContainer(output.RemoteDomainInfo, context)
|
|
5258
5105
|
: undefined,
|
|
5259
5106
|
};
|
|
@@ -5278,13 +5125,9 @@ var deserializeAws_restJson1OutboundConnectionStatus = function (output, context
|
|
|
5278
5125
|
var deserializeAws_restJson1PackageDetails = function (output, context) {
|
|
5279
5126
|
return {
|
|
5280
5127
|
AvailablePackageVersion: __expectString(output.AvailablePackageVersion),
|
|
5281
|
-
CreatedAt: output.CreatedAt
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
|
|
5285
|
-
? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
|
|
5286
|
-
: undefined,
|
|
5287
|
-
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
5128
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
5129
|
+
ErrorDetails: output.ErrorDetails != null ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context) : undefined,
|
|
5130
|
+
LastUpdatedAt: output.LastUpdatedAt != null
|
|
5288
5131
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
5289
5132
|
: undefined,
|
|
5290
5133
|
PackageDescription: __expectString(output.PackageDescription),
|
|
@@ -5308,9 +5151,7 @@ var deserializeAws_restJson1PackageDetailsList = function (output, context) {
|
|
|
5308
5151
|
var deserializeAws_restJson1PackageVersionHistory = function (output, context) {
|
|
5309
5152
|
return {
|
|
5310
5153
|
CommitMessage: __expectString(output.CommitMessage),
|
|
5311
|
-
CreatedAt: output.CreatedAt
|
|
5312
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
5313
|
-
: undefined,
|
|
5154
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
5314
5155
|
PackageVersion: __expectString(output.PackageVersion),
|
|
5315
5156
|
};
|
|
5316
5157
|
};
|
|
@@ -5351,15 +5192,13 @@ var deserializeAws_restJson1ReservedInstance = function (output, context) {
|
|
|
5351
5192
|
InstanceCount: __expectInt32(output.InstanceCount),
|
|
5352
5193
|
InstanceType: __expectString(output.InstanceType),
|
|
5353
5194
|
PaymentOption: __expectString(output.PaymentOption),
|
|
5354
|
-
RecurringCharges: output.RecurringCharges
|
|
5195
|
+
RecurringCharges: output.RecurringCharges != null
|
|
5355
5196
|
? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
|
|
5356
5197
|
: undefined,
|
|
5357
5198
|
ReservationName: __expectString(output.ReservationName),
|
|
5358
5199
|
ReservedInstanceId: __expectString(output.ReservedInstanceId),
|
|
5359
5200
|
ReservedInstanceOfferingId: __expectString(output.ReservedInstanceOfferingId),
|
|
5360
|
-
StartTime: output.StartTime
|
|
5361
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
5362
|
-
: undefined,
|
|
5201
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
5363
5202
|
State: __expectString(output.State),
|
|
5364
5203
|
UsagePrice: __limitedParseDouble(output.UsagePrice),
|
|
5365
5204
|
};
|
|
@@ -5382,7 +5221,7 @@ var deserializeAws_restJson1ReservedInstanceOffering = function (output, context
|
|
|
5382
5221
|
FixedPrice: __limitedParseDouble(output.FixedPrice),
|
|
5383
5222
|
InstanceType: __expectString(output.InstanceType),
|
|
5384
5223
|
PaymentOption: __expectString(output.PaymentOption),
|
|
5385
|
-
RecurringCharges: output.RecurringCharges
|
|
5224
|
+
RecurringCharges: output.RecurringCharges != null
|
|
5386
5225
|
? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
|
|
5387
5226
|
: undefined,
|
|
5388
5227
|
ReservedInstanceOfferingId: __expectString(output.ReservedInstanceOfferingId),
|
|
@@ -5409,9 +5248,7 @@ var deserializeAws_restJson1SAMLIdp = function (output, context) {
|
|
|
5409
5248
|
var deserializeAws_restJson1SAMLOptionsOutput = function (output, context) {
|
|
5410
5249
|
return {
|
|
5411
5250
|
Enabled: __expectBoolean(output.Enabled),
|
|
5412
|
-
Idp: output.Idp
|
|
5413
|
-
? deserializeAws_restJson1SAMLIdp(output.Idp, context)
|
|
5414
|
-
: undefined,
|
|
5251
|
+
Idp: output.Idp != null ? deserializeAws_restJson1SAMLIdp(output.Idp, context) : undefined,
|
|
5415
5252
|
RolesKey: __expectString(output.RolesKey),
|
|
5416
5253
|
SessionTimeoutMinutes: __expectInt32(output.SessionTimeoutMinutes),
|
|
5417
5254
|
SubjectKey: __expectString(output.SubjectKey),
|
|
@@ -5421,15 +5258,13 @@ var deserializeAws_restJson1ScheduledAutoTuneDetails = function (output, context
|
|
|
5421
5258
|
return {
|
|
5422
5259
|
Action: __expectString(output.Action),
|
|
5423
5260
|
ActionType: __expectString(output.ActionType),
|
|
5424
|
-
Date: output.Date
|
|
5425
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
|
|
5426
|
-
: undefined,
|
|
5261
|
+
Date: output.Date != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date))) : undefined,
|
|
5427
5262
|
Severity: __expectString(output.Severity),
|
|
5428
5263
|
};
|
|
5429
5264
|
};
|
|
5430
5265
|
var deserializeAws_restJson1ServiceSoftwareOptions = function (output, context) {
|
|
5431
5266
|
return {
|
|
5432
|
-
AutomatedUpdateDate: output.AutomatedUpdateDate
|
|
5267
|
+
AutomatedUpdateDate: output.AutomatedUpdateDate != null
|
|
5433
5268
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AutomatedUpdateDate)))
|
|
5434
5269
|
: undefined,
|
|
5435
5270
|
Cancellable: __expectBoolean(output.Cancellable),
|
|
@@ -5448,18 +5283,14 @@ var deserializeAws_restJson1SnapshotOptions = function (output, context) {
|
|
|
5448
5283
|
};
|
|
5449
5284
|
var deserializeAws_restJson1SnapshotOptionsStatus = function (output, context) {
|
|
5450
5285
|
return {
|
|
5451
|
-
Options: output.Options
|
|
5452
|
-
|
|
5453
|
-
: undefined,
|
|
5454
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
5455
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5456
|
-
: undefined,
|
|
5286
|
+
Options: output.Options != null ? deserializeAws_restJson1SnapshotOptions(output.Options, context) : undefined,
|
|
5287
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5457
5288
|
};
|
|
5458
5289
|
};
|
|
5459
5290
|
var deserializeAws_restJson1StorageType = function (output, context) {
|
|
5460
5291
|
return {
|
|
5461
5292
|
StorageSubTypeName: __expectString(output.StorageSubTypeName),
|
|
5462
|
-
StorageTypeLimits: output.StorageTypeLimits
|
|
5293
|
+
StorageTypeLimits: output.StorageTypeLimits != null
|
|
5463
5294
|
? deserializeAws_restJson1StorageTypeLimitList(output.StorageTypeLimits, context)
|
|
5464
5295
|
: undefined,
|
|
5465
5296
|
StorageTypeName: __expectString(output.StorageTypeName),
|
|
@@ -5468,9 +5299,7 @@ var deserializeAws_restJson1StorageType = function (output, context) {
|
|
|
5468
5299
|
var deserializeAws_restJson1StorageTypeLimit = function (output, context) {
|
|
5469
5300
|
return {
|
|
5470
5301
|
LimitName: __expectString(output.LimitName),
|
|
5471
|
-
LimitValues: output.LimitValues
|
|
5472
|
-
? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
|
|
5473
|
-
: undefined,
|
|
5302
|
+
LimitValues: output.LimitValues != null ? deserializeAws_restJson1LimitValueList(output.LimitValues, context) : undefined,
|
|
5474
5303
|
};
|
|
5475
5304
|
};
|
|
5476
5305
|
var deserializeAws_restJson1StorageTypeLimitList = function (output, context) {
|
|
@@ -5525,12 +5354,10 @@ var deserializeAws_restJson1TagList = function (output, context) {
|
|
|
5525
5354
|
};
|
|
5526
5355
|
var deserializeAws_restJson1UpgradeHistory = function (output, context) {
|
|
5527
5356
|
return {
|
|
5528
|
-
StartTimestamp: output.StartTimestamp
|
|
5357
|
+
StartTimestamp: output.StartTimestamp != null
|
|
5529
5358
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTimestamp)))
|
|
5530
5359
|
: undefined,
|
|
5531
|
-
StepsList: output.StepsList
|
|
5532
|
-
? deserializeAws_restJson1UpgradeStepsList(output.StepsList, context)
|
|
5533
|
-
: undefined,
|
|
5360
|
+
StepsList: output.StepsList != null ? deserializeAws_restJson1UpgradeStepsList(output.StepsList, context) : undefined,
|
|
5534
5361
|
UpgradeName: __expectString(output.UpgradeName),
|
|
5535
5362
|
UpgradeStatus: __expectString(output.UpgradeStatus),
|
|
5536
5363
|
};
|
|
@@ -5548,9 +5375,7 @@ var deserializeAws_restJson1UpgradeHistoryList = function (output, context) {
|
|
|
5548
5375
|
};
|
|
5549
5376
|
var deserializeAws_restJson1UpgradeStepItem = function (output, context) {
|
|
5550
5377
|
return {
|
|
5551
|
-
Issues: output.Issues
|
|
5552
|
-
? deserializeAws_restJson1Issues(output.Issues, context)
|
|
5553
|
-
: undefined,
|
|
5378
|
+
Issues: output.Issues != null ? deserializeAws_restJson1Issues(output.Issues, context) : undefined,
|
|
5554
5379
|
ProgressPercent: __limitedParseDouble(output.ProgressPercent),
|
|
5555
5380
|
UpgradeStep: __expectString(output.UpgradeStep),
|
|
5556
5381
|
UpgradeStepStatus: __expectString(output.UpgradeStepStatus),
|
|
@@ -5581,33 +5406,25 @@ var deserializeAws_restJson1VersionList = function (output, context) {
|
|
|
5581
5406
|
var deserializeAws_restJson1VersionStatus = function (output, context) {
|
|
5582
5407
|
return {
|
|
5583
5408
|
Options: __expectString(output.Options),
|
|
5584
|
-
Status: output.Status
|
|
5585
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5586
|
-
: undefined,
|
|
5409
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5587
5410
|
};
|
|
5588
5411
|
};
|
|
5589
5412
|
var deserializeAws_restJson1VPCDerivedInfo = function (output, context) {
|
|
5590
5413
|
return {
|
|
5591
|
-
AvailabilityZones: output.AvailabilityZones
|
|
5414
|
+
AvailabilityZones: output.AvailabilityZones != null
|
|
5592
5415
|
? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
|
|
5593
5416
|
: undefined,
|
|
5594
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
5417
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
5595
5418
|
? deserializeAws_restJson1StringList(output.SecurityGroupIds, context)
|
|
5596
5419
|
: undefined,
|
|
5597
|
-
SubnetIds: output.SubnetIds
|
|
5598
|
-
? deserializeAws_restJson1StringList(output.SubnetIds, context)
|
|
5599
|
-
: undefined,
|
|
5420
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_restJson1StringList(output.SubnetIds, context) : undefined,
|
|
5600
5421
|
VPCId: __expectString(output.VPCId),
|
|
5601
5422
|
};
|
|
5602
5423
|
};
|
|
5603
5424
|
var deserializeAws_restJson1VPCDerivedInfoStatus = function (output, context) {
|
|
5604
5425
|
return {
|
|
5605
|
-
Options: output.Options
|
|
5606
|
-
|
|
5607
|
-
: undefined,
|
|
5608
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
5609
|
-
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
5610
|
-
: undefined,
|
|
5426
|
+
Options: output.Options != null ? deserializeAws_restJson1VPCDerivedInfo(output.Options, context) : undefined,
|
|
5427
|
+
Status: output.Status != null ? deserializeAws_restJson1OptionStatus(output.Status, context) : undefined,
|
|
5611
5428
|
};
|
|
5612
5429
|
};
|
|
5613
5430
|
var deserializeAws_restJson1ZoneAwarenessConfig = function (output, context) {
|