@aws-sdk/client-cloudsearch 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/CloudSearchClient.js +13 -13
- package/dist-cjs/commands/BuildSuggestersCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/DefineAnalysisSchemeCommand.js +3 -3
- package/dist-cjs/commands/DefineExpressionCommand.js +3 -3
- package/dist-cjs/commands/DefineIndexFieldCommand.js +3 -3
- package/dist-cjs/commands/DefineSuggesterCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnalysisSchemeCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteExpressionCommand.js +3 -3
- package/dist-cjs/commands/DeleteIndexFieldCommand.js +3 -3
- package/dist-cjs/commands/DeleteSuggesterCommand.js +3 -3
- package/dist-cjs/commands/DescribeAnalysisSchemesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAvailabilityOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainEndpointOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainsCommand.js +3 -3
- package/dist-cjs/commands/DescribeExpressionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeIndexFieldsCommand.js +3 -3
- package/dist-cjs/commands/DescribeScalingParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeServiceAccessPoliciesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSuggestersCommand.js +3 -3
- package/dist-cjs/commands/IndexDocumentsCommand.js +3 -3
- package/dist-cjs/commands/ListDomainNamesCommand.js +3 -3
- package/dist-cjs/commands/UpdateAvailabilityOptionsCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainEndpointOptionsCommand.js +3 -3
- package/dist-cjs/commands/UpdateScalingParametersCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceAccessPoliciesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +167 -167
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CloudSearch.js +26 -26
- package/dist-es/protocols/Aws_query.js +27 -27
- package/dist-types/CloudSearchClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudSearchClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -386,7 +386,7 @@ const deserializeAws_queryBuildSuggestersCommandError = async (output, context)
|
|
|
386
386
|
$fault: "client",
|
|
387
387
|
$metadata: deserializeMetadata(output),
|
|
388
388
|
});
|
|
389
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
389
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
392
|
const deserializeAws_queryCreateDomainCommand = async (output, context) => {
|
|
@@ -434,7 +434,7 @@ const deserializeAws_queryCreateDomainCommandError = async (output, context) =>
|
|
|
434
434
|
$fault: "client",
|
|
435
435
|
$metadata: deserializeMetadata(output),
|
|
436
436
|
});
|
|
437
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
437
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
const deserializeAws_queryDefineAnalysisSchemeCommand = async (output, context) => {
|
|
@@ -485,7 +485,7 @@ const deserializeAws_queryDefineAnalysisSchemeCommandError = async (output, cont
|
|
|
485
485
|
$fault: "client",
|
|
486
486
|
$metadata: deserializeMetadata(output),
|
|
487
487
|
});
|
|
488
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
488
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
489
489
|
}
|
|
490
490
|
};
|
|
491
491
|
const deserializeAws_queryDefineExpressionCommand = async (output, context) => {
|
|
@@ -536,7 +536,7 @@ const deserializeAws_queryDefineExpressionCommandError = async (output, context)
|
|
|
536
536
|
$fault: "client",
|
|
537
537
|
$metadata: deserializeMetadata(output),
|
|
538
538
|
});
|
|
539
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
539
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
540
540
|
}
|
|
541
541
|
};
|
|
542
542
|
const deserializeAws_queryDefineIndexFieldCommand = async (output, context) => {
|
|
@@ -587,7 +587,7 @@ const deserializeAws_queryDefineIndexFieldCommandError = async (output, context)
|
|
|
587
587
|
$fault: "client",
|
|
588
588
|
$metadata: deserializeMetadata(output),
|
|
589
589
|
});
|
|
590
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
590
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
591
591
|
}
|
|
592
592
|
};
|
|
593
593
|
const deserializeAws_queryDefineSuggesterCommand = async (output, context) => {
|
|
@@ -638,7 +638,7 @@ const deserializeAws_queryDefineSuggesterCommandError = async (output, context)
|
|
|
638
638
|
$fault: "client",
|
|
639
639
|
$metadata: deserializeMetadata(output),
|
|
640
640
|
});
|
|
641
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
641
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
642
642
|
}
|
|
643
643
|
};
|
|
644
644
|
const deserializeAws_queryDeleteAnalysisSchemeCommand = async (output, context) => {
|
|
@@ -686,7 +686,7 @@ const deserializeAws_queryDeleteAnalysisSchemeCommandError = async (output, cont
|
|
|
686
686
|
$fault: "client",
|
|
687
687
|
$metadata: deserializeMetadata(output),
|
|
688
688
|
});
|
|
689
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
689
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
690
690
|
}
|
|
691
691
|
};
|
|
692
692
|
const deserializeAws_queryDeleteDomainCommand = async (output, context) => {
|
|
@@ -725,7 +725,7 @@ const deserializeAws_queryDeleteDomainCommandError = async (output, context) =>
|
|
|
725
725
|
$fault: "client",
|
|
726
726
|
$metadata: deserializeMetadata(output),
|
|
727
727
|
});
|
|
728
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
728
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
729
729
|
}
|
|
730
730
|
};
|
|
731
731
|
const deserializeAws_queryDeleteExpressionCommand = async (output, context) => {
|
|
@@ -773,7 +773,7 @@ const deserializeAws_queryDeleteExpressionCommandError = async (output, context)
|
|
|
773
773
|
$fault: "client",
|
|
774
774
|
$metadata: deserializeMetadata(output),
|
|
775
775
|
});
|
|
776
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
776
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
779
|
const deserializeAws_queryDeleteIndexFieldCommand = async (output, context) => {
|
|
@@ -821,7 +821,7 @@ const deserializeAws_queryDeleteIndexFieldCommandError = async (output, context)
|
|
|
821
821
|
$fault: "client",
|
|
822
822
|
$metadata: deserializeMetadata(output),
|
|
823
823
|
});
|
|
824
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
824
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
827
|
const deserializeAws_queryDeleteSuggesterCommand = async (output, context) => {
|
|
@@ -869,7 +869,7 @@ const deserializeAws_queryDeleteSuggesterCommandError = async (output, context)
|
|
|
869
869
|
$fault: "client",
|
|
870
870
|
$metadata: deserializeMetadata(output),
|
|
871
871
|
});
|
|
872
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
872
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
const deserializeAws_queryDescribeAnalysisSchemesCommand = async (output, context) => {
|
|
@@ -911,7 +911,7 @@ const deserializeAws_queryDescribeAnalysisSchemesCommandError = async (output, c
|
|
|
911
911
|
$fault: "client",
|
|
912
912
|
$metadata: deserializeMetadata(output),
|
|
913
913
|
});
|
|
914
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
914
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
917
|
const deserializeAws_queryDescribeAvailabilityOptionsCommand = async (output, context) => {
|
|
@@ -962,7 +962,7 @@ const deserializeAws_queryDescribeAvailabilityOptionsCommandError = async (outpu
|
|
|
962
962
|
$fault: "client",
|
|
963
963
|
$metadata: deserializeMetadata(output),
|
|
964
964
|
});
|
|
965
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
965
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
968
|
const deserializeAws_queryDescribeDomainEndpointOptionsCommand = async (output, context) => {
|
|
@@ -1010,7 +1010,7 @@ const deserializeAws_queryDescribeDomainEndpointOptionsCommandError = async (out
|
|
|
1010
1010
|
$fault: "client",
|
|
1011
1011
|
$metadata: deserializeMetadata(output),
|
|
1012
1012
|
});
|
|
1013
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1013
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
1016
|
const deserializeAws_queryDescribeDomainsCommand = async (output, context) => {
|
|
@@ -1049,7 +1049,7 @@ const deserializeAws_queryDescribeDomainsCommandError = async (output, context)
|
|
|
1049
1049
|
$fault: "client",
|
|
1050
1050
|
$metadata: deserializeMetadata(output),
|
|
1051
1051
|
});
|
|
1052
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1052
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1053
1053
|
}
|
|
1054
1054
|
};
|
|
1055
1055
|
const deserializeAws_queryDescribeExpressionsCommand = async (output, context) => {
|
|
@@ -1091,7 +1091,7 @@ const deserializeAws_queryDescribeExpressionsCommandError = async (output, conte
|
|
|
1091
1091
|
$fault: "client",
|
|
1092
1092
|
$metadata: deserializeMetadata(output),
|
|
1093
1093
|
});
|
|
1094
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1094
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
1097
|
const deserializeAws_queryDescribeIndexFieldsCommand = async (output, context) => {
|
|
@@ -1133,7 +1133,7 @@ const deserializeAws_queryDescribeIndexFieldsCommandError = async (output, conte
|
|
|
1133
1133
|
$fault: "client",
|
|
1134
1134
|
$metadata: deserializeMetadata(output),
|
|
1135
1135
|
});
|
|
1136
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1136
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1137
1137
|
}
|
|
1138
1138
|
};
|
|
1139
1139
|
const deserializeAws_queryDescribeScalingParametersCommand = async (output, context) => {
|
|
@@ -1175,7 +1175,7 @@ const deserializeAws_queryDescribeScalingParametersCommandError = async (output,
|
|
|
1175
1175
|
$fault: "client",
|
|
1176
1176
|
$metadata: deserializeMetadata(output),
|
|
1177
1177
|
});
|
|
1178
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1178
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1179
1179
|
}
|
|
1180
1180
|
};
|
|
1181
1181
|
const deserializeAws_queryDescribeServiceAccessPoliciesCommand = async (output, context) => {
|
|
@@ -1217,7 +1217,7 @@ const deserializeAws_queryDescribeServiceAccessPoliciesCommandError = async (out
|
|
|
1217
1217
|
$fault: "client",
|
|
1218
1218
|
$metadata: deserializeMetadata(output),
|
|
1219
1219
|
});
|
|
1220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
1223
|
const deserializeAws_queryDescribeSuggestersCommand = async (output, context) => {
|
|
@@ -1259,7 +1259,7 @@ const deserializeAws_queryDescribeSuggestersCommandError = async (output, contex
|
|
|
1259
1259
|
$fault: "client",
|
|
1260
1260
|
$metadata: deserializeMetadata(output),
|
|
1261
1261
|
});
|
|
1262
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1262
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
1265
|
const deserializeAws_queryIndexDocumentsCommand = async (output, context) => {
|
|
@@ -1304,7 +1304,7 @@ const deserializeAws_queryIndexDocumentsCommandError = async (output, context) =
|
|
|
1304
1304
|
$fault: "client",
|
|
1305
1305
|
$metadata: deserializeMetadata(output),
|
|
1306
1306
|
});
|
|
1307
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1307
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
1310
|
const deserializeAws_queryListDomainNamesCommand = async (output, context) => {
|
|
@@ -1340,7 +1340,7 @@ const deserializeAws_queryListDomainNamesCommandError = async (output, context)
|
|
|
1340
1340
|
$fault: "client",
|
|
1341
1341
|
$metadata: deserializeMetadata(output),
|
|
1342
1342
|
});
|
|
1343
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1343
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1344
1344
|
}
|
|
1345
1345
|
};
|
|
1346
1346
|
const deserializeAws_queryUpdateAvailabilityOptionsCommand = async (output, context) => {
|
|
@@ -1394,7 +1394,7 @@ const deserializeAws_queryUpdateAvailabilityOptionsCommandError = async (output,
|
|
|
1394
1394
|
$fault: "client",
|
|
1395
1395
|
$metadata: deserializeMetadata(output),
|
|
1396
1396
|
});
|
|
1397
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1397
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1398
1398
|
}
|
|
1399
1399
|
};
|
|
1400
1400
|
const deserializeAws_queryUpdateDomainEndpointOptionsCommand = async (output, context) => {
|
|
@@ -1448,7 +1448,7 @@ const deserializeAws_queryUpdateDomainEndpointOptionsCommandError = async (outpu
|
|
|
1448
1448
|
$fault: "client",
|
|
1449
1449
|
$metadata: deserializeMetadata(output),
|
|
1450
1450
|
});
|
|
1451
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1451
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1452
1452
|
}
|
|
1453
1453
|
};
|
|
1454
1454
|
const deserializeAws_queryUpdateScalingParametersCommand = async (output, context) => {
|
|
@@ -1499,7 +1499,7 @@ const deserializeAws_queryUpdateScalingParametersCommandError = async (output, c
|
|
|
1499
1499
|
$fault: "client",
|
|
1500
1500
|
$metadata: deserializeMetadata(output),
|
|
1501
1501
|
});
|
|
1502
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1502
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1503
1503
|
}
|
|
1504
1504
|
};
|
|
1505
1505
|
const deserializeAws_queryUpdateServiceAccessPoliciesCommand = async (output, context) => {
|
|
@@ -1550,7 +1550,7 @@ const deserializeAws_queryUpdateServiceAccessPoliciesCommandError = async (outpu
|
|
|
1550
1550
|
$fault: "client",
|
|
1551
1551
|
$metadata: deserializeMetadata(output),
|
|
1552
1552
|
});
|
|
1553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
1556
|
const deserializeAws_queryBaseExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1560,7 +1560,7 @@ const deserializeAws_queryBaseExceptionResponse = async (parsedOutput, context)
|
|
|
1560
1560
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1561
1561
|
...deserialized,
|
|
1562
1562
|
});
|
|
1563
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1563
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1564
1564
|
};
|
|
1565
1565
|
const deserializeAws_queryDisabledOperationExceptionResponse = async (parsedOutput, context) => {
|
|
1566
1566
|
const body = parsedOutput.body;
|
|
@@ -1569,7 +1569,7 @@ const deserializeAws_queryDisabledOperationExceptionResponse = async (parsedOutp
|
|
|
1569
1569
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1570
1570
|
...deserialized,
|
|
1571
1571
|
});
|
|
1572
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1572
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1573
1573
|
};
|
|
1574
1574
|
const deserializeAws_queryInternalExceptionResponse = async (parsedOutput, context) => {
|
|
1575
1575
|
const body = parsedOutput.body;
|
|
@@ -1578,7 +1578,7 @@ const deserializeAws_queryInternalExceptionResponse = async (parsedOutput, conte
|
|
|
1578
1578
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1579
1579
|
...deserialized,
|
|
1580
1580
|
});
|
|
1581
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1581
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1582
1582
|
};
|
|
1583
1583
|
const deserializeAws_queryInvalidTypeExceptionResponse = async (parsedOutput, context) => {
|
|
1584
1584
|
const body = parsedOutput.body;
|
|
@@ -1587,7 +1587,7 @@ const deserializeAws_queryInvalidTypeExceptionResponse = async (parsedOutput, co
|
|
|
1587
1587
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1588
1588
|
...deserialized,
|
|
1589
1589
|
});
|
|
1590
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1590
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1591
1591
|
};
|
|
1592
1592
|
const deserializeAws_queryLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1593
1593
|
const body = parsedOutput.body;
|
|
@@ -1596,7 +1596,7 @@ const deserializeAws_queryLimitExceededExceptionResponse = async (parsedOutput,
|
|
|
1596
1596
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1597
1597
|
...deserialized,
|
|
1598
1598
|
});
|
|
1599
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1599
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1600
1600
|
};
|
|
1601
1601
|
const deserializeAws_queryResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1602
1602
|
const body = parsedOutput.body;
|
|
@@ -1605,7 +1605,7 @@ const deserializeAws_queryResourceAlreadyExistsExceptionResponse = async (parsed
|
|
|
1605
1605
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1606
1606
|
...deserialized,
|
|
1607
1607
|
});
|
|
1608
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1608
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1609
1609
|
};
|
|
1610
1610
|
const deserializeAws_queryResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1611
1611
|
const body = parsedOutput.body;
|
|
@@ -1614,7 +1614,7 @@ const deserializeAws_queryResourceNotFoundExceptionResponse = async (parsedOutpu
|
|
|
1614
1614
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1615
1615
|
...deserialized,
|
|
1616
1616
|
});
|
|
1617
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1617
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1618
1618
|
};
|
|
1619
1619
|
const deserializeAws_queryValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1620
1620
|
const body = parsedOutput.body;
|
|
@@ -1623,7 +1623,7 @@ const deserializeAws_queryValidationExceptionResponse = async (parsedOutput, con
|
|
|
1623
1623
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1624
1624
|
...deserialized,
|
|
1625
1625
|
});
|
|
1626
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1626
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1627
1627
|
};
|
|
1628
1628
|
const serializeAws_queryAnalysisOptions = (input, context) => {
|
|
1629
1629
|
const entries = {};
|
|
@@ -1973,7 +1973,7 @@ const serializeAws_queryDomainNameList = (input, context) => {
|
|
|
1973
1973
|
const serializeAws_queryDoubleArrayOptions = (input, context) => {
|
|
1974
1974
|
const entries = {};
|
|
1975
1975
|
if (input.DefaultValue !== undefined && input.DefaultValue !== null) {
|
|
1976
|
-
entries["DefaultValue"] = smithy_client_1.serializeFloat(input.DefaultValue);
|
|
1976
|
+
entries["DefaultValue"] = (0, smithy_client_1.serializeFloat)(input.DefaultValue);
|
|
1977
1977
|
}
|
|
1978
1978
|
if (input.SourceFields !== undefined && input.SourceFields !== null) {
|
|
1979
1979
|
entries["SourceFields"] = input.SourceFields;
|
|
@@ -1992,7 +1992,7 @@ const serializeAws_queryDoubleArrayOptions = (input, context) => {
|
|
|
1992
1992
|
const serializeAws_queryDoubleOptions = (input, context) => {
|
|
1993
1993
|
const entries = {};
|
|
1994
1994
|
if (input.DefaultValue !== undefined && input.DefaultValue !== null) {
|
|
1995
|
-
entries["DefaultValue"] = smithy_client_1.serializeFloat(input.DefaultValue);
|
|
1995
|
+
entries["DefaultValue"] = (0, smithy_client_1.serializeFloat)(input.DefaultValue);
|
|
1996
1996
|
}
|
|
1997
1997
|
if (input.SourceField !== undefined && input.SourceField !== null) {
|
|
1998
1998
|
entries["SourceField"] = input.SourceField;
|
|
@@ -2365,7 +2365,7 @@ const deserializeAws_queryAccessPoliciesStatus = (output, context) => {
|
|
|
2365
2365
|
Status: undefined,
|
|
2366
2366
|
};
|
|
2367
2367
|
if (output["Options"] !== undefined) {
|
|
2368
|
-
contents.Options = smithy_client_1.expectString(output["Options"]);
|
|
2368
|
+
contents.Options = (0, smithy_client_1.expectString)(output["Options"]);
|
|
2369
2369
|
}
|
|
2370
2370
|
if (output["Status"] !== undefined) {
|
|
2371
2371
|
contents.Status = deserializeAws_queryOptionStatus(output["Status"], context);
|
|
@@ -2381,19 +2381,19 @@ const deserializeAws_queryAnalysisOptions = (output, context) => {
|
|
|
2381
2381
|
AlgorithmicStemming: undefined,
|
|
2382
2382
|
};
|
|
2383
2383
|
if (output["Synonyms"] !== undefined) {
|
|
2384
|
-
contents.Synonyms = smithy_client_1.expectString(output["Synonyms"]);
|
|
2384
|
+
contents.Synonyms = (0, smithy_client_1.expectString)(output["Synonyms"]);
|
|
2385
2385
|
}
|
|
2386
2386
|
if (output["Stopwords"] !== undefined) {
|
|
2387
|
-
contents.Stopwords = smithy_client_1.expectString(output["Stopwords"]);
|
|
2387
|
+
contents.Stopwords = (0, smithy_client_1.expectString)(output["Stopwords"]);
|
|
2388
2388
|
}
|
|
2389
2389
|
if (output["StemmingDictionary"] !== undefined) {
|
|
2390
|
-
contents.StemmingDictionary = smithy_client_1.expectString(output["StemmingDictionary"]);
|
|
2390
|
+
contents.StemmingDictionary = (0, smithy_client_1.expectString)(output["StemmingDictionary"]);
|
|
2391
2391
|
}
|
|
2392
2392
|
if (output["JapaneseTokenizationDictionary"] !== undefined) {
|
|
2393
|
-
contents.JapaneseTokenizationDictionary = smithy_client_1.expectString(output["JapaneseTokenizationDictionary"]);
|
|
2393
|
+
contents.JapaneseTokenizationDictionary = (0, smithy_client_1.expectString)(output["JapaneseTokenizationDictionary"]);
|
|
2394
2394
|
}
|
|
2395
2395
|
if (output["AlgorithmicStemming"] !== undefined) {
|
|
2396
|
-
contents.AlgorithmicStemming = smithy_client_1.expectString(output["AlgorithmicStemming"]);
|
|
2396
|
+
contents.AlgorithmicStemming = (0, smithy_client_1.expectString)(output["AlgorithmicStemming"]);
|
|
2397
2397
|
}
|
|
2398
2398
|
return contents;
|
|
2399
2399
|
};
|
|
@@ -2404,10 +2404,10 @@ const deserializeAws_queryAnalysisScheme = (output, context) => {
|
|
|
2404
2404
|
AnalysisOptions: undefined,
|
|
2405
2405
|
};
|
|
2406
2406
|
if (output["AnalysisSchemeName"] !== undefined) {
|
|
2407
|
-
contents.AnalysisSchemeName = smithy_client_1.expectString(output["AnalysisSchemeName"]);
|
|
2407
|
+
contents.AnalysisSchemeName = (0, smithy_client_1.expectString)(output["AnalysisSchemeName"]);
|
|
2408
2408
|
}
|
|
2409
2409
|
if (output["AnalysisSchemeLanguage"] !== undefined) {
|
|
2410
|
-
contents.AnalysisSchemeLanguage = smithy_client_1.expectString(output["AnalysisSchemeLanguage"]);
|
|
2410
|
+
contents.AnalysisSchemeLanguage = (0, smithy_client_1.expectString)(output["AnalysisSchemeLanguage"]);
|
|
2411
2411
|
}
|
|
2412
2412
|
if (output["AnalysisOptions"] !== undefined) {
|
|
2413
2413
|
contents.AnalysisOptions = deserializeAws_queryAnalysisOptions(output["AnalysisOptions"], context);
|
|
@@ -2443,7 +2443,7 @@ const deserializeAws_queryAvailabilityOptionsStatus = (output, context) => {
|
|
|
2443
2443
|
Status: undefined,
|
|
2444
2444
|
};
|
|
2445
2445
|
if (output["Options"] !== undefined) {
|
|
2446
|
-
contents.Options = smithy_client_1.parseBoolean(output["Options"]);
|
|
2446
|
+
contents.Options = (0, smithy_client_1.parseBoolean)(output["Options"]);
|
|
2447
2447
|
}
|
|
2448
2448
|
if (output["Status"] !== undefined) {
|
|
2449
2449
|
contents.Status = deserializeAws_queryOptionStatus(output["Status"], context);
|
|
@@ -2456,10 +2456,10 @@ const deserializeAws_queryBaseException = (output, context) => {
|
|
|
2456
2456
|
Message: undefined,
|
|
2457
2457
|
};
|
|
2458
2458
|
if (output["Code"] !== undefined) {
|
|
2459
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
2459
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
2460
2460
|
}
|
|
2461
2461
|
if (output["Message"] !== undefined) {
|
|
2462
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
2462
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2463
2463
|
}
|
|
2464
2464
|
return contents;
|
|
2465
2465
|
};
|
|
@@ -2471,7 +2471,7 @@ const deserializeAws_queryBuildSuggestersResponse = (output, context) => {
|
|
|
2471
2471
|
contents.FieldNames = [];
|
|
2472
2472
|
}
|
|
2473
2473
|
if (output["FieldNames"] !== undefined && output["FieldNames"]["member"] !== undefined) {
|
|
2474
|
-
contents.FieldNames = deserializeAws_queryFieldNameList(smithy_client_1.getArrayIfSingleItem(output["FieldNames"]["member"]), context);
|
|
2474
|
+
contents.FieldNames = deserializeAws_queryFieldNameList((0, smithy_client_1.getArrayIfSingleItem)(output["FieldNames"]["member"]), context);
|
|
2475
2475
|
}
|
|
2476
2476
|
return contents;
|
|
2477
2477
|
};
|
|
@@ -2493,19 +2493,19 @@ const deserializeAws_queryDateArrayOptions = (output, context) => {
|
|
|
2493
2493
|
ReturnEnabled: undefined,
|
|
2494
2494
|
};
|
|
2495
2495
|
if (output["DefaultValue"] !== undefined) {
|
|
2496
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
2496
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
2497
2497
|
}
|
|
2498
2498
|
if (output["SourceFields"] !== undefined) {
|
|
2499
|
-
contents.SourceFields = smithy_client_1.expectString(output["SourceFields"]);
|
|
2499
|
+
contents.SourceFields = (0, smithy_client_1.expectString)(output["SourceFields"]);
|
|
2500
2500
|
}
|
|
2501
2501
|
if (output["FacetEnabled"] !== undefined) {
|
|
2502
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
2502
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
2503
2503
|
}
|
|
2504
2504
|
if (output["SearchEnabled"] !== undefined) {
|
|
2505
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
2505
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
2506
2506
|
}
|
|
2507
2507
|
if (output["ReturnEnabled"] !== undefined) {
|
|
2508
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
2508
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
2509
2509
|
}
|
|
2510
2510
|
return contents;
|
|
2511
2511
|
};
|
|
@@ -2519,22 +2519,22 @@ const deserializeAws_queryDateOptions = (output, context) => {
|
|
|
2519
2519
|
SortEnabled: undefined,
|
|
2520
2520
|
};
|
|
2521
2521
|
if (output["DefaultValue"] !== undefined) {
|
|
2522
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
2522
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
2523
2523
|
}
|
|
2524
2524
|
if (output["SourceField"] !== undefined) {
|
|
2525
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
2525
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
2526
2526
|
}
|
|
2527
2527
|
if (output["FacetEnabled"] !== undefined) {
|
|
2528
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
2528
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
2529
2529
|
}
|
|
2530
2530
|
if (output["SearchEnabled"] !== undefined) {
|
|
2531
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
2531
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
2532
2532
|
}
|
|
2533
2533
|
if (output["ReturnEnabled"] !== undefined) {
|
|
2534
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
2534
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
2535
2535
|
}
|
|
2536
2536
|
if (output["SortEnabled"] !== undefined) {
|
|
2537
|
-
contents.SortEnabled = smithy_client_1.parseBoolean(output["SortEnabled"]);
|
|
2537
|
+
contents.SortEnabled = (0, smithy_client_1.parseBoolean)(output["SortEnabled"]);
|
|
2538
2538
|
}
|
|
2539
2539
|
return contents;
|
|
2540
2540
|
};
|
|
@@ -2627,7 +2627,7 @@ const deserializeAws_queryDescribeAnalysisSchemesResponse = (output, context) =>
|
|
|
2627
2627
|
contents.AnalysisSchemes = [];
|
|
2628
2628
|
}
|
|
2629
2629
|
if (output["AnalysisSchemes"] !== undefined && output["AnalysisSchemes"]["member"] !== undefined) {
|
|
2630
|
-
contents.AnalysisSchemes = deserializeAws_queryAnalysisSchemeStatusList(smithy_client_1.getArrayIfSingleItem(output["AnalysisSchemes"]["member"]), context);
|
|
2630
|
+
contents.AnalysisSchemes = deserializeAws_queryAnalysisSchemeStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["AnalysisSchemes"]["member"]), context);
|
|
2631
2631
|
}
|
|
2632
2632
|
return contents;
|
|
2633
2633
|
};
|
|
@@ -2657,7 +2657,7 @@ const deserializeAws_queryDescribeDomainsResponse = (output, context) => {
|
|
|
2657
2657
|
contents.DomainStatusList = [];
|
|
2658
2658
|
}
|
|
2659
2659
|
if (output["DomainStatusList"] !== undefined && output["DomainStatusList"]["member"] !== undefined) {
|
|
2660
|
-
contents.DomainStatusList = deserializeAws_queryDomainStatusList(smithy_client_1.getArrayIfSingleItem(output["DomainStatusList"]["member"]), context);
|
|
2660
|
+
contents.DomainStatusList = deserializeAws_queryDomainStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["DomainStatusList"]["member"]), context);
|
|
2661
2661
|
}
|
|
2662
2662
|
return contents;
|
|
2663
2663
|
};
|
|
@@ -2669,7 +2669,7 @@ const deserializeAws_queryDescribeExpressionsResponse = (output, context) => {
|
|
|
2669
2669
|
contents.Expressions = [];
|
|
2670
2670
|
}
|
|
2671
2671
|
if (output["Expressions"] !== undefined && output["Expressions"]["member"] !== undefined) {
|
|
2672
|
-
contents.Expressions = deserializeAws_queryExpressionStatusList(smithy_client_1.getArrayIfSingleItem(output["Expressions"]["member"]), context);
|
|
2672
|
+
contents.Expressions = deserializeAws_queryExpressionStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["Expressions"]["member"]), context);
|
|
2673
2673
|
}
|
|
2674
2674
|
return contents;
|
|
2675
2675
|
};
|
|
@@ -2681,7 +2681,7 @@ const deserializeAws_queryDescribeIndexFieldsResponse = (output, context) => {
|
|
|
2681
2681
|
contents.IndexFields = [];
|
|
2682
2682
|
}
|
|
2683
2683
|
if (output["IndexFields"] !== undefined && output["IndexFields"]["member"] !== undefined) {
|
|
2684
|
-
contents.IndexFields = deserializeAws_queryIndexFieldStatusList(smithy_client_1.getArrayIfSingleItem(output["IndexFields"]["member"]), context);
|
|
2684
|
+
contents.IndexFields = deserializeAws_queryIndexFieldStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["IndexFields"]["member"]), context);
|
|
2685
2685
|
}
|
|
2686
2686
|
return contents;
|
|
2687
2687
|
};
|
|
@@ -2711,7 +2711,7 @@ const deserializeAws_queryDescribeSuggestersResponse = (output, context) => {
|
|
|
2711
2711
|
contents.Suggesters = [];
|
|
2712
2712
|
}
|
|
2713
2713
|
if (output["Suggesters"] !== undefined && output["Suggesters"]["member"] !== undefined) {
|
|
2714
|
-
contents.Suggesters = deserializeAws_querySuggesterStatusList(smithy_client_1.getArrayIfSingleItem(output["Suggesters"]["member"]), context);
|
|
2714
|
+
contents.Suggesters = deserializeAws_querySuggesterStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["Suggesters"]["member"]), context);
|
|
2715
2715
|
}
|
|
2716
2716
|
return contents;
|
|
2717
2717
|
};
|
|
@@ -2721,10 +2721,10 @@ const deserializeAws_queryDisabledOperationException = (output, context) => {
|
|
|
2721
2721
|
Message: undefined,
|
|
2722
2722
|
};
|
|
2723
2723
|
if (output["Code"] !== undefined) {
|
|
2724
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
2724
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
2725
2725
|
}
|
|
2726
2726
|
if (output["Message"] !== undefined) {
|
|
2727
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
2727
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2728
2728
|
}
|
|
2729
2729
|
return contents;
|
|
2730
2730
|
};
|
|
@@ -2735,13 +2735,13 @@ const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
|
|
|
2735
2735
|
SortExpression: undefined,
|
|
2736
2736
|
};
|
|
2737
2737
|
if (output["SourceField"] !== undefined) {
|
|
2738
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
2738
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
2739
2739
|
}
|
|
2740
2740
|
if (output["FuzzyMatching"] !== undefined) {
|
|
2741
|
-
contents.FuzzyMatching = smithy_client_1.expectString(output["FuzzyMatching"]);
|
|
2741
|
+
contents.FuzzyMatching = (0, smithy_client_1.expectString)(output["FuzzyMatching"]);
|
|
2742
2742
|
}
|
|
2743
2743
|
if (output["SortExpression"] !== undefined) {
|
|
2744
|
-
contents.SortExpression = smithy_client_1.expectString(output["SortExpression"]);
|
|
2744
|
+
contents.SortExpression = (0, smithy_client_1.expectString)(output["SortExpression"]);
|
|
2745
2745
|
}
|
|
2746
2746
|
return contents;
|
|
2747
2747
|
};
|
|
@@ -2751,10 +2751,10 @@ const deserializeAws_queryDomainEndpointOptions = (output, context) => {
|
|
|
2751
2751
|
TLSSecurityPolicy: undefined,
|
|
2752
2752
|
};
|
|
2753
2753
|
if (output["EnforceHTTPS"] !== undefined) {
|
|
2754
|
-
contents.EnforceHTTPS = smithy_client_1.parseBoolean(output["EnforceHTTPS"]);
|
|
2754
|
+
contents.EnforceHTTPS = (0, smithy_client_1.parseBoolean)(output["EnforceHTTPS"]);
|
|
2755
2755
|
}
|
|
2756
2756
|
if (output["TLSSecurityPolicy"] !== undefined) {
|
|
2757
|
-
contents.TLSSecurityPolicy = smithy_client_1.expectString(output["TLSSecurityPolicy"]);
|
|
2757
|
+
contents.TLSSecurityPolicy = (0, smithy_client_1.expectString)(output["TLSSecurityPolicy"]);
|
|
2758
2758
|
}
|
|
2759
2759
|
return contents;
|
|
2760
2760
|
};
|
|
@@ -2778,7 +2778,7 @@ const deserializeAws_queryDomainNameMap = (output, context) => {
|
|
|
2778
2778
|
}
|
|
2779
2779
|
return {
|
|
2780
2780
|
...acc,
|
|
2781
|
-
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
2781
|
+
[pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
|
|
2782
2782
|
};
|
|
2783
2783
|
}, {});
|
|
2784
2784
|
};
|
|
@@ -2799,19 +2799,19 @@ const deserializeAws_queryDomainStatus = (output, context) => {
|
|
|
2799
2799
|
Limits: undefined,
|
|
2800
2800
|
};
|
|
2801
2801
|
if (output["DomainId"] !== undefined) {
|
|
2802
|
-
contents.DomainId = smithy_client_1.expectString(output["DomainId"]);
|
|
2802
|
+
contents.DomainId = (0, smithy_client_1.expectString)(output["DomainId"]);
|
|
2803
2803
|
}
|
|
2804
2804
|
if (output["DomainName"] !== undefined) {
|
|
2805
|
-
contents.DomainName = smithy_client_1.expectString(output["DomainName"]);
|
|
2805
|
+
contents.DomainName = (0, smithy_client_1.expectString)(output["DomainName"]);
|
|
2806
2806
|
}
|
|
2807
2807
|
if (output["ARN"] !== undefined) {
|
|
2808
|
-
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
2808
|
+
contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
|
|
2809
2809
|
}
|
|
2810
2810
|
if (output["Created"] !== undefined) {
|
|
2811
|
-
contents.Created = smithy_client_1.parseBoolean(output["Created"]);
|
|
2811
|
+
contents.Created = (0, smithy_client_1.parseBoolean)(output["Created"]);
|
|
2812
2812
|
}
|
|
2813
2813
|
if (output["Deleted"] !== undefined) {
|
|
2814
|
-
contents.Deleted = smithy_client_1.parseBoolean(output["Deleted"]);
|
|
2814
|
+
contents.Deleted = (0, smithy_client_1.parseBoolean)(output["Deleted"]);
|
|
2815
2815
|
}
|
|
2816
2816
|
if (output["DocService"] !== undefined) {
|
|
2817
2817
|
contents.DocService = deserializeAws_queryServiceEndpoint(output["DocService"], context);
|
|
@@ -2820,19 +2820,19 @@ const deserializeAws_queryDomainStatus = (output, context) => {
|
|
|
2820
2820
|
contents.SearchService = deserializeAws_queryServiceEndpoint(output["SearchService"], context);
|
|
2821
2821
|
}
|
|
2822
2822
|
if (output["RequiresIndexDocuments"] !== undefined) {
|
|
2823
|
-
contents.RequiresIndexDocuments = smithy_client_1.parseBoolean(output["RequiresIndexDocuments"]);
|
|
2823
|
+
contents.RequiresIndexDocuments = (0, smithy_client_1.parseBoolean)(output["RequiresIndexDocuments"]);
|
|
2824
2824
|
}
|
|
2825
2825
|
if (output["Processing"] !== undefined) {
|
|
2826
|
-
contents.Processing = smithy_client_1.parseBoolean(output["Processing"]);
|
|
2826
|
+
contents.Processing = (0, smithy_client_1.parseBoolean)(output["Processing"]);
|
|
2827
2827
|
}
|
|
2828
2828
|
if (output["SearchInstanceType"] !== undefined) {
|
|
2829
|
-
contents.SearchInstanceType = smithy_client_1.expectString(output["SearchInstanceType"]);
|
|
2829
|
+
contents.SearchInstanceType = (0, smithy_client_1.expectString)(output["SearchInstanceType"]);
|
|
2830
2830
|
}
|
|
2831
2831
|
if (output["SearchPartitionCount"] !== undefined) {
|
|
2832
|
-
contents.SearchPartitionCount = smithy_client_1.strictParseInt32(output["SearchPartitionCount"]);
|
|
2832
|
+
contents.SearchPartitionCount = (0, smithy_client_1.strictParseInt32)(output["SearchPartitionCount"]);
|
|
2833
2833
|
}
|
|
2834
2834
|
if (output["SearchInstanceCount"] !== undefined) {
|
|
2835
|
-
contents.SearchInstanceCount = smithy_client_1.strictParseInt32(output["SearchInstanceCount"]);
|
|
2835
|
+
contents.SearchInstanceCount = (0, smithy_client_1.strictParseInt32)(output["SearchInstanceCount"]);
|
|
2836
2836
|
}
|
|
2837
2837
|
if (output["Limits"] !== undefined) {
|
|
2838
2838
|
contents.Limits = deserializeAws_queryLimits(output["Limits"], context);
|
|
@@ -2858,19 +2858,19 @@ const deserializeAws_queryDoubleArrayOptions = (output, context) => {
|
|
|
2858
2858
|
ReturnEnabled: undefined,
|
|
2859
2859
|
};
|
|
2860
2860
|
if (output["DefaultValue"] !== undefined) {
|
|
2861
|
-
contents.DefaultValue = smithy_client_1.strictParseFloat(output["DefaultValue"]);
|
|
2861
|
+
contents.DefaultValue = (0, smithy_client_1.strictParseFloat)(output["DefaultValue"]);
|
|
2862
2862
|
}
|
|
2863
2863
|
if (output["SourceFields"] !== undefined) {
|
|
2864
|
-
contents.SourceFields = smithy_client_1.expectString(output["SourceFields"]);
|
|
2864
|
+
contents.SourceFields = (0, smithy_client_1.expectString)(output["SourceFields"]);
|
|
2865
2865
|
}
|
|
2866
2866
|
if (output["FacetEnabled"] !== undefined) {
|
|
2867
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
2867
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
2868
2868
|
}
|
|
2869
2869
|
if (output["SearchEnabled"] !== undefined) {
|
|
2870
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
2870
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
2871
2871
|
}
|
|
2872
2872
|
if (output["ReturnEnabled"] !== undefined) {
|
|
2873
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
2873
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
2874
2874
|
}
|
|
2875
2875
|
return contents;
|
|
2876
2876
|
};
|
|
@@ -2884,22 +2884,22 @@ const deserializeAws_queryDoubleOptions = (output, context) => {
|
|
|
2884
2884
|
SortEnabled: undefined,
|
|
2885
2885
|
};
|
|
2886
2886
|
if (output["DefaultValue"] !== undefined) {
|
|
2887
|
-
contents.DefaultValue = smithy_client_1.strictParseFloat(output["DefaultValue"]);
|
|
2887
|
+
contents.DefaultValue = (0, smithy_client_1.strictParseFloat)(output["DefaultValue"]);
|
|
2888
2888
|
}
|
|
2889
2889
|
if (output["SourceField"] !== undefined) {
|
|
2890
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
2890
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
2891
2891
|
}
|
|
2892
2892
|
if (output["FacetEnabled"] !== undefined) {
|
|
2893
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
2893
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
2894
2894
|
}
|
|
2895
2895
|
if (output["SearchEnabled"] !== undefined) {
|
|
2896
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
2896
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
2897
2897
|
}
|
|
2898
2898
|
if (output["ReturnEnabled"] !== undefined) {
|
|
2899
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
2899
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
2900
2900
|
}
|
|
2901
2901
|
if (output["SortEnabled"] !== undefined) {
|
|
2902
|
-
contents.SortEnabled = smithy_client_1.parseBoolean(output["SortEnabled"]);
|
|
2902
|
+
contents.SortEnabled = (0, smithy_client_1.parseBoolean)(output["SortEnabled"]);
|
|
2903
2903
|
}
|
|
2904
2904
|
return contents;
|
|
2905
2905
|
};
|
|
@@ -2909,10 +2909,10 @@ const deserializeAws_queryExpression = (output, context) => {
|
|
|
2909
2909
|
ExpressionValue: undefined,
|
|
2910
2910
|
};
|
|
2911
2911
|
if (output["ExpressionName"] !== undefined) {
|
|
2912
|
-
contents.ExpressionName = smithy_client_1.expectString(output["ExpressionName"]);
|
|
2912
|
+
contents.ExpressionName = (0, smithy_client_1.expectString)(output["ExpressionName"]);
|
|
2913
2913
|
}
|
|
2914
2914
|
if (output["ExpressionValue"] !== undefined) {
|
|
2915
|
-
contents.ExpressionValue = smithy_client_1.expectString(output["ExpressionValue"]);
|
|
2915
|
+
contents.ExpressionValue = (0, smithy_client_1.expectString)(output["ExpressionValue"]);
|
|
2916
2916
|
}
|
|
2917
2917
|
return contents;
|
|
2918
2918
|
};
|
|
@@ -2946,7 +2946,7 @@ const deserializeAws_queryFieldNameList = (output, context) => {
|
|
|
2946
2946
|
if (entry === null) {
|
|
2947
2947
|
return null;
|
|
2948
2948
|
}
|
|
2949
|
-
return smithy_client_1.expectString(entry);
|
|
2949
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2950
2950
|
});
|
|
2951
2951
|
};
|
|
2952
2952
|
const deserializeAws_queryIndexDocumentsResponse = (output, context) => {
|
|
@@ -2957,7 +2957,7 @@ const deserializeAws_queryIndexDocumentsResponse = (output, context) => {
|
|
|
2957
2957
|
contents.FieldNames = [];
|
|
2958
2958
|
}
|
|
2959
2959
|
if (output["FieldNames"] !== undefined && output["FieldNames"]["member"] !== undefined) {
|
|
2960
|
-
contents.FieldNames = deserializeAws_queryFieldNameList(smithy_client_1.getArrayIfSingleItem(output["FieldNames"]["member"]), context);
|
|
2960
|
+
contents.FieldNames = deserializeAws_queryFieldNameList((0, smithy_client_1.getArrayIfSingleItem)(output["FieldNames"]["member"]), context);
|
|
2961
2961
|
}
|
|
2962
2962
|
return contents;
|
|
2963
2963
|
};
|
|
@@ -2978,10 +2978,10 @@ const deserializeAws_queryIndexField = (output, context) => {
|
|
|
2978
2978
|
DateArrayOptions: undefined,
|
|
2979
2979
|
};
|
|
2980
2980
|
if (output["IndexFieldName"] !== undefined) {
|
|
2981
|
-
contents.IndexFieldName = smithy_client_1.expectString(output["IndexFieldName"]);
|
|
2981
|
+
contents.IndexFieldName = (0, smithy_client_1.expectString)(output["IndexFieldName"]);
|
|
2982
2982
|
}
|
|
2983
2983
|
if (output["IndexFieldType"] !== undefined) {
|
|
2984
|
-
contents.IndexFieldType = smithy_client_1.expectString(output["IndexFieldType"]);
|
|
2984
|
+
contents.IndexFieldType = (0, smithy_client_1.expectString)(output["IndexFieldType"]);
|
|
2985
2985
|
}
|
|
2986
2986
|
if (output["IntOptions"] !== undefined) {
|
|
2987
2987
|
contents.IntOptions = deserializeAws_queryIntOptions(output["IntOptions"], context);
|
|
@@ -3050,19 +3050,19 @@ const deserializeAws_queryIntArrayOptions = (output, context) => {
|
|
|
3050
3050
|
ReturnEnabled: undefined,
|
|
3051
3051
|
};
|
|
3052
3052
|
if (output["DefaultValue"] !== undefined) {
|
|
3053
|
-
contents.DefaultValue = smithy_client_1.strictParseLong(output["DefaultValue"]);
|
|
3053
|
+
contents.DefaultValue = (0, smithy_client_1.strictParseLong)(output["DefaultValue"]);
|
|
3054
3054
|
}
|
|
3055
3055
|
if (output["SourceFields"] !== undefined) {
|
|
3056
|
-
contents.SourceFields = smithy_client_1.expectString(output["SourceFields"]);
|
|
3056
|
+
contents.SourceFields = (0, smithy_client_1.expectString)(output["SourceFields"]);
|
|
3057
3057
|
}
|
|
3058
3058
|
if (output["FacetEnabled"] !== undefined) {
|
|
3059
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
3059
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
3060
3060
|
}
|
|
3061
3061
|
if (output["SearchEnabled"] !== undefined) {
|
|
3062
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
3062
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
3063
3063
|
}
|
|
3064
3064
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3065
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3065
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3066
3066
|
}
|
|
3067
3067
|
return contents;
|
|
3068
3068
|
};
|
|
@@ -3072,10 +3072,10 @@ const deserializeAws_queryInternalException = (output, context) => {
|
|
|
3072
3072
|
Message: undefined,
|
|
3073
3073
|
};
|
|
3074
3074
|
if (output["Code"] !== undefined) {
|
|
3075
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
3075
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
3076
3076
|
}
|
|
3077
3077
|
if (output["Message"] !== undefined) {
|
|
3078
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3078
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3079
3079
|
}
|
|
3080
3080
|
return contents;
|
|
3081
3081
|
};
|
|
@@ -3089,22 +3089,22 @@ const deserializeAws_queryIntOptions = (output, context) => {
|
|
|
3089
3089
|
SortEnabled: undefined,
|
|
3090
3090
|
};
|
|
3091
3091
|
if (output["DefaultValue"] !== undefined) {
|
|
3092
|
-
contents.DefaultValue = smithy_client_1.strictParseLong(output["DefaultValue"]);
|
|
3092
|
+
contents.DefaultValue = (0, smithy_client_1.strictParseLong)(output["DefaultValue"]);
|
|
3093
3093
|
}
|
|
3094
3094
|
if (output["SourceField"] !== undefined) {
|
|
3095
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
3095
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
3096
3096
|
}
|
|
3097
3097
|
if (output["FacetEnabled"] !== undefined) {
|
|
3098
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
3098
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
3099
3099
|
}
|
|
3100
3100
|
if (output["SearchEnabled"] !== undefined) {
|
|
3101
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
3101
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
3102
3102
|
}
|
|
3103
3103
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3104
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3104
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3105
3105
|
}
|
|
3106
3106
|
if (output["SortEnabled"] !== undefined) {
|
|
3107
|
-
contents.SortEnabled = smithy_client_1.parseBoolean(output["SortEnabled"]);
|
|
3107
|
+
contents.SortEnabled = (0, smithy_client_1.parseBoolean)(output["SortEnabled"]);
|
|
3108
3108
|
}
|
|
3109
3109
|
return contents;
|
|
3110
3110
|
};
|
|
@@ -3114,10 +3114,10 @@ const deserializeAws_queryInvalidTypeException = (output, context) => {
|
|
|
3114
3114
|
Message: undefined,
|
|
3115
3115
|
};
|
|
3116
3116
|
if (output["Code"] !== undefined) {
|
|
3117
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
3117
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
3118
3118
|
}
|
|
3119
3119
|
if (output["Message"] !== undefined) {
|
|
3120
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3120
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3121
3121
|
}
|
|
3122
3122
|
return contents;
|
|
3123
3123
|
};
|
|
@@ -3131,22 +3131,22 @@ const deserializeAws_queryLatLonOptions = (output, context) => {
|
|
|
3131
3131
|
SortEnabled: undefined,
|
|
3132
3132
|
};
|
|
3133
3133
|
if (output["DefaultValue"] !== undefined) {
|
|
3134
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
3134
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
3135
3135
|
}
|
|
3136
3136
|
if (output["SourceField"] !== undefined) {
|
|
3137
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
3137
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
3138
3138
|
}
|
|
3139
3139
|
if (output["FacetEnabled"] !== undefined) {
|
|
3140
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
3140
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
3141
3141
|
}
|
|
3142
3142
|
if (output["SearchEnabled"] !== undefined) {
|
|
3143
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
3143
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
3144
3144
|
}
|
|
3145
3145
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3146
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3146
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3147
3147
|
}
|
|
3148
3148
|
if (output["SortEnabled"] !== undefined) {
|
|
3149
|
-
contents.SortEnabled = smithy_client_1.parseBoolean(output["SortEnabled"]);
|
|
3149
|
+
contents.SortEnabled = (0, smithy_client_1.parseBoolean)(output["SortEnabled"]);
|
|
3150
3150
|
}
|
|
3151
3151
|
return contents;
|
|
3152
3152
|
};
|
|
@@ -3156,10 +3156,10 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
3156
3156
|
Message: undefined,
|
|
3157
3157
|
};
|
|
3158
3158
|
if (output["Code"] !== undefined) {
|
|
3159
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
3159
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
3160
3160
|
}
|
|
3161
3161
|
if (output["Message"] !== undefined) {
|
|
3162
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3162
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3163
3163
|
}
|
|
3164
3164
|
return contents;
|
|
3165
3165
|
};
|
|
@@ -3169,10 +3169,10 @@ const deserializeAws_queryLimits = (output, context) => {
|
|
|
3169
3169
|
MaximumPartitionCount: undefined,
|
|
3170
3170
|
};
|
|
3171
3171
|
if (output["MaximumReplicationCount"] !== undefined) {
|
|
3172
|
-
contents.MaximumReplicationCount = smithy_client_1.strictParseInt32(output["MaximumReplicationCount"]);
|
|
3172
|
+
contents.MaximumReplicationCount = (0, smithy_client_1.strictParseInt32)(output["MaximumReplicationCount"]);
|
|
3173
3173
|
}
|
|
3174
3174
|
if (output["MaximumPartitionCount"] !== undefined) {
|
|
3175
|
-
contents.MaximumPartitionCount = smithy_client_1.strictParseInt32(output["MaximumPartitionCount"]);
|
|
3175
|
+
contents.MaximumPartitionCount = (0, smithy_client_1.strictParseInt32)(output["MaximumPartitionCount"]);
|
|
3176
3176
|
}
|
|
3177
3177
|
return contents;
|
|
3178
3178
|
};
|
|
@@ -3184,7 +3184,7 @@ const deserializeAws_queryListDomainNamesResponse = (output, context) => {
|
|
|
3184
3184
|
contents.DomainNames = {};
|
|
3185
3185
|
}
|
|
3186
3186
|
if (output["DomainNames"] !== undefined && output["DomainNames"]["entry"] !== undefined) {
|
|
3187
|
-
contents.DomainNames = deserializeAws_queryDomainNameMap(smithy_client_1.getArrayIfSingleItem(output["DomainNames"]["entry"]), context);
|
|
3187
|
+
contents.DomainNames = deserializeAws_queryDomainNameMap((0, smithy_client_1.getArrayIfSingleItem)(output["DomainNames"]["entry"]), context);
|
|
3188
3188
|
}
|
|
3189
3189
|
return contents;
|
|
3190
3190
|
};
|
|
@@ -3197,19 +3197,19 @@ const deserializeAws_queryLiteralArrayOptions = (output, context) => {
|
|
|
3197
3197
|
ReturnEnabled: undefined,
|
|
3198
3198
|
};
|
|
3199
3199
|
if (output["DefaultValue"] !== undefined) {
|
|
3200
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
3200
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
3201
3201
|
}
|
|
3202
3202
|
if (output["SourceFields"] !== undefined) {
|
|
3203
|
-
contents.SourceFields = smithy_client_1.expectString(output["SourceFields"]);
|
|
3203
|
+
contents.SourceFields = (0, smithy_client_1.expectString)(output["SourceFields"]);
|
|
3204
3204
|
}
|
|
3205
3205
|
if (output["FacetEnabled"] !== undefined) {
|
|
3206
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
3206
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
3207
3207
|
}
|
|
3208
3208
|
if (output["SearchEnabled"] !== undefined) {
|
|
3209
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
3209
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
3210
3210
|
}
|
|
3211
3211
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3212
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3212
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3213
3213
|
}
|
|
3214
3214
|
return contents;
|
|
3215
3215
|
};
|
|
@@ -3223,22 +3223,22 @@ const deserializeAws_queryLiteralOptions = (output, context) => {
|
|
|
3223
3223
|
SortEnabled: undefined,
|
|
3224
3224
|
};
|
|
3225
3225
|
if (output["DefaultValue"] !== undefined) {
|
|
3226
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
3226
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
3227
3227
|
}
|
|
3228
3228
|
if (output["SourceField"] !== undefined) {
|
|
3229
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
3229
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
3230
3230
|
}
|
|
3231
3231
|
if (output["FacetEnabled"] !== undefined) {
|
|
3232
|
-
contents.FacetEnabled = smithy_client_1.parseBoolean(output["FacetEnabled"]);
|
|
3232
|
+
contents.FacetEnabled = (0, smithy_client_1.parseBoolean)(output["FacetEnabled"]);
|
|
3233
3233
|
}
|
|
3234
3234
|
if (output["SearchEnabled"] !== undefined) {
|
|
3235
|
-
contents.SearchEnabled = smithy_client_1.parseBoolean(output["SearchEnabled"]);
|
|
3235
|
+
contents.SearchEnabled = (0, smithy_client_1.parseBoolean)(output["SearchEnabled"]);
|
|
3236
3236
|
}
|
|
3237
3237
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3238
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3238
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3239
3239
|
}
|
|
3240
3240
|
if (output["SortEnabled"] !== undefined) {
|
|
3241
|
-
contents.SortEnabled = smithy_client_1.parseBoolean(output["SortEnabled"]);
|
|
3241
|
+
contents.SortEnabled = (0, smithy_client_1.parseBoolean)(output["SortEnabled"]);
|
|
3242
3242
|
}
|
|
3243
3243
|
return contents;
|
|
3244
3244
|
};
|
|
@@ -3251,19 +3251,19 @@ const deserializeAws_queryOptionStatus = (output, context) => {
|
|
|
3251
3251
|
PendingDeletion: undefined,
|
|
3252
3252
|
};
|
|
3253
3253
|
if (output["CreationDate"] !== undefined) {
|
|
3254
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
|
|
3254
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationDate"]));
|
|
3255
3255
|
}
|
|
3256
3256
|
if (output["UpdateDate"] !== undefined) {
|
|
3257
|
-
contents.UpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateDate"]));
|
|
3257
|
+
contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateDate"]));
|
|
3258
3258
|
}
|
|
3259
3259
|
if (output["UpdateVersion"] !== undefined) {
|
|
3260
|
-
contents.UpdateVersion = smithy_client_1.strictParseInt32(output["UpdateVersion"]);
|
|
3260
|
+
contents.UpdateVersion = (0, smithy_client_1.strictParseInt32)(output["UpdateVersion"]);
|
|
3261
3261
|
}
|
|
3262
3262
|
if (output["State"] !== undefined) {
|
|
3263
|
-
contents.State = smithy_client_1.expectString(output["State"]);
|
|
3263
|
+
contents.State = (0, smithy_client_1.expectString)(output["State"]);
|
|
3264
3264
|
}
|
|
3265
3265
|
if (output["PendingDeletion"] !== undefined) {
|
|
3266
|
-
contents.PendingDeletion = smithy_client_1.parseBoolean(output["PendingDeletion"]);
|
|
3266
|
+
contents.PendingDeletion = (0, smithy_client_1.parseBoolean)(output["PendingDeletion"]);
|
|
3267
3267
|
}
|
|
3268
3268
|
return contents;
|
|
3269
3269
|
};
|
|
@@ -3273,10 +3273,10 @@ const deserializeAws_queryResourceAlreadyExistsException = (output, context) =>
|
|
|
3273
3273
|
Message: undefined,
|
|
3274
3274
|
};
|
|
3275
3275
|
if (output["Code"] !== undefined) {
|
|
3276
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
3276
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
3277
3277
|
}
|
|
3278
3278
|
if (output["Message"] !== undefined) {
|
|
3279
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3279
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3280
3280
|
}
|
|
3281
3281
|
return contents;
|
|
3282
3282
|
};
|
|
@@ -3286,10 +3286,10 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
3286
3286
|
Message: undefined,
|
|
3287
3287
|
};
|
|
3288
3288
|
if (output["Code"] !== undefined) {
|
|
3289
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
3289
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
3290
3290
|
}
|
|
3291
3291
|
if (output["Message"] !== undefined) {
|
|
3292
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3292
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3293
3293
|
}
|
|
3294
3294
|
return contents;
|
|
3295
3295
|
};
|
|
@@ -3300,13 +3300,13 @@ const deserializeAws_queryScalingParameters = (output, context) => {
|
|
|
3300
3300
|
DesiredPartitionCount: undefined,
|
|
3301
3301
|
};
|
|
3302
3302
|
if (output["DesiredInstanceType"] !== undefined) {
|
|
3303
|
-
contents.DesiredInstanceType = smithy_client_1.expectString(output["DesiredInstanceType"]);
|
|
3303
|
+
contents.DesiredInstanceType = (0, smithy_client_1.expectString)(output["DesiredInstanceType"]);
|
|
3304
3304
|
}
|
|
3305
3305
|
if (output["DesiredReplicationCount"] !== undefined) {
|
|
3306
|
-
contents.DesiredReplicationCount = smithy_client_1.strictParseInt32(output["DesiredReplicationCount"]);
|
|
3306
|
+
contents.DesiredReplicationCount = (0, smithy_client_1.strictParseInt32)(output["DesiredReplicationCount"]);
|
|
3307
3307
|
}
|
|
3308
3308
|
if (output["DesiredPartitionCount"] !== undefined) {
|
|
3309
|
-
contents.DesiredPartitionCount = smithy_client_1.strictParseInt32(output["DesiredPartitionCount"]);
|
|
3309
|
+
contents.DesiredPartitionCount = (0, smithy_client_1.strictParseInt32)(output["DesiredPartitionCount"]);
|
|
3310
3310
|
}
|
|
3311
3311
|
return contents;
|
|
3312
3312
|
};
|
|
@@ -3328,7 +3328,7 @@ const deserializeAws_queryServiceEndpoint = (output, context) => {
|
|
|
3328
3328
|
Endpoint: undefined,
|
|
3329
3329
|
};
|
|
3330
3330
|
if (output["Endpoint"] !== undefined) {
|
|
3331
|
-
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
3331
|
+
contents.Endpoint = (0, smithy_client_1.expectString)(output["Endpoint"]);
|
|
3332
3332
|
}
|
|
3333
3333
|
return contents;
|
|
3334
3334
|
};
|
|
@@ -3338,7 +3338,7 @@ const deserializeAws_querySuggester = (output, context) => {
|
|
|
3338
3338
|
DocumentSuggesterOptions: undefined,
|
|
3339
3339
|
};
|
|
3340
3340
|
if (output["SuggesterName"] !== undefined) {
|
|
3341
|
-
contents.SuggesterName = smithy_client_1.expectString(output["SuggesterName"]);
|
|
3341
|
+
contents.SuggesterName = (0, smithy_client_1.expectString)(output["SuggesterName"]);
|
|
3342
3342
|
}
|
|
3343
3343
|
if (output["DocumentSuggesterOptions"] !== undefined) {
|
|
3344
3344
|
contents.DocumentSuggesterOptions = deserializeAws_queryDocumentSuggesterOptions(output["DocumentSuggesterOptions"], context);
|
|
@@ -3377,19 +3377,19 @@ const deserializeAws_queryTextArrayOptions = (output, context) => {
|
|
|
3377
3377
|
AnalysisScheme: undefined,
|
|
3378
3378
|
};
|
|
3379
3379
|
if (output["DefaultValue"] !== undefined) {
|
|
3380
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
3380
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
3381
3381
|
}
|
|
3382
3382
|
if (output["SourceFields"] !== undefined) {
|
|
3383
|
-
contents.SourceFields = smithy_client_1.expectString(output["SourceFields"]);
|
|
3383
|
+
contents.SourceFields = (0, smithy_client_1.expectString)(output["SourceFields"]);
|
|
3384
3384
|
}
|
|
3385
3385
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3386
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3386
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3387
3387
|
}
|
|
3388
3388
|
if (output["HighlightEnabled"] !== undefined) {
|
|
3389
|
-
contents.HighlightEnabled = smithy_client_1.parseBoolean(output["HighlightEnabled"]);
|
|
3389
|
+
contents.HighlightEnabled = (0, smithy_client_1.parseBoolean)(output["HighlightEnabled"]);
|
|
3390
3390
|
}
|
|
3391
3391
|
if (output["AnalysisScheme"] !== undefined) {
|
|
3392
|
-
contents.AnalysisScheme = smithy_client_1.expectString(output["AnalysisScheme"]);
|
|
3392
|
+
contents.AnalysisScheme = (0, smithy_client_1.expectString)(output["AnalysisScheme"]);
|
|
3393
3393
|
}
|
|
3394
3394
|
return contents;
|
|
3395
3395
|
};
|
|
@@ -3403,22 +3403,22 @@ const deserializeAws_queryTextOptions = (output, context) => {
|
|
|
3403
3403
|
AnalysisScheme: undefined,
|
|
3404
3404
|
};
|
|
3405
3405
|
if (output["DefaultValue"] !== undefined) {
|
|
3406
|
-
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
3406
|
+
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
3407
3407
|
}
|
|
3408
3408
|
if (output["SourceField"] !== undefined) {
|
|
3409
|
-
contents.SourceField = smithy_client_1.expectString(output["SourceField"]);
|
|
3409
|
+
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
3410
3410
|
}
|
|
3411
3411
|
if (output["ReturnEnabled"] !== undefined) {
|
|
3412
|
-
contents.ReturnEnabled = smithy_client_1.parseBoolean(output["ReturnEnabled"]);
|
|
3412
|
+
contents.ReturnEnabled = (0, smithy_client_1.parseBoolean)(output["ReturnEnabled"]);
|
|
3413
3413
|
}
|
|
3414
3414
|
if (output["SortEnabled"] !== undefined) {
|
|
3415
|
-
contents.SortEnabled = smithy_client_1.parseBoolean(output["SortEnabled"]);
|
|
3415
|
+
contents.SortEnabled = (0, smithy_client_1.parseBoolean)(output["SortEnabled"]);
|
|
3416
3416
|
}
|
|
3417
3417
|
if (output["HighlightEnabled"] !== undefined) {
|
|
3418
|
-
contents.HighlightEnabled = smithy_client_1.parseBoolean(output["HighlightEnabled"]);
|
|
3418
|
+
contents.HighlightEnabled = (0, smithy_client_1.parseBoolean)(output["HighlightEnabled"]);
|
|
3419
3419
|
}
|
|
3420
3420
|
if (output["AnalysisScheme"] !== undefined) {
|
|
3421
|
-
contents.AnalysisScheme = smithy_client_1.expectString(output["AnalysisScheme"]);
|
|
3421
|
+
contents.AnalysisScheme = (0, smithy_client_1.expectString)(output["AnalysisScheme"]);
|
|
3422
3422
|
}
|
|
3423
3423
|
return contents;
|
|
3424
3424
|
};
|
|
@@ -3464,10 +3464,10 @@ const deserializeAws_queryValidationException = (output, context) => {
|
|
|
3464
3464
|
Message: undefined,
|
|
3465
3465
|
};
|
|
3466
3466
|
if (output["Code"] !== undefined) {
|
|
3467
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
3467
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
3468
3468
|
}
|
|
3469
3469
|
if (output["Message"] !== undefined) {
|
|
3470
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3470
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3471
3471
|
}
|
|
3472
3472
|
return contents;
|
|
3473
3473
|
};
|
|
@@ -3507,12 +3507,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
3507
3507
|
};
|
|
3508
3508
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3509
3509
|
if (encoded.length) {
|
|
3510
|
-
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
3510
|
+
const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
|
|
3511
3511
|
attributeNamePrefix: "",
|
|
3512
3512
|
ignoreAttributes: false,
|
|
3513
3513
|
parseNodeValue: false,
|
|
3514
3514
|
trimValues: false,
|
|
3515
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
3515
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
|
|
3516
3516
|
});
|
|
3517
3517
|
const textNodeName = "#text";
|
|
3518
3518
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -3521,12 +3521,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3521
3521
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
3522
3522
|
delete parsedObjToReturn[textNodeName];
|
|
3523
3523
|
}
|
|
3524
|
-
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
3524
|
+
return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
|
|
3525
3525
|
}
|
|
3526
3526
|
return {};
|
|
3527
3527
|
});
|
|
3528
3528
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
3529
|
-
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
3529
|
+
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
3530
3530
|
.join("&");
|
|
3531
3531
|
const loadQueryErrorCode = (output, data) => {
|
|
3532
3532
|
if (data.Error.Code !== undefined) {
|