@aws-sdk/client-kendra 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +65 -63
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +66 -64
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +72 -65
package/dist/es/endpoints.js
CHANGED
|
@@ -47,8 +47,7 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "kendra", regionHash: regionHash,
|
|
51
|
-
partitionHash: partitionHash }))];
|
|
50
|
+
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "kendra", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
52
51
|
});
|
|
53
52
|
}); };
|
|
54
53
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,+BAA+B;KAC1C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,kCAAkC;KAC7C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,4BAA4B;KACvC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,+BAA+B;KAC1C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,+BAA+B;KAC1C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,QAAQ,EACxB,UAAU,YAAA
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,+BAA+B;KAC1C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,kCAAkC;KAC7C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,4BAA4B;KACvC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,+BAA+B;KAC1C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,+BAA+B;KAC1C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,QAAQ,EACxB,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
package/dist/es/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|
|
65
65
|
"downlevel-dts": "0.7.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"rimraf": "^3.0.0",
|
|
68
68
|
"ts-jest": "^26.4.1",
|
|
69
69
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.3.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { DocumentAttributeValue, } from "../models/models_0";
|
|
3
3
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { expectBoolean as __expectBoolean,
|
|
4
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
6
6
|
export var serializeAws_json1_1BatchDeleteDocumentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7
7
|
var headers, body;
|
|
@@ -5964,7 +5964,7 @@ var deserializeAws_json1_1BasicAuthenticationConfiguration = function (output, c
|
|
|
5964
5964
|
return {
|
|
5965
5965
|
Credentials: __expectString(output.Credentials),
|
|
5966
5966
|
Host: __expectString(output.Host),
|
|
5967
|
-
Port:
|
|
5967
|
+
Port: __expectInt32(output.Port),
|
|
5968
5968
|
};
|
|
5969
5969
|
};
|
|
5970
5970
|
var deserializeAws_json1_1BasicAuthenticationConfigurationList = function (output, context) {
|
|
@@ -6054,8 +6054,8 @@ var deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = function (ou
|
|
|
6054
6054
|
};
|
|
6055
6055
|
var deserializeAws_json1_1CapacityUnitsConfiguration = function (output, context) {
|
|
6056
6056
|
return {
|
|
6057
|
-
QueryCapacityUnits:
|
|
6058
|
-
StorageCapacityUnits:
|
|
6057
|
+
QueryCapacityUnits: __expectInt32(output.QueryCapacityUnits),
|
|
6058
|
+
StorageCapacityUnits: __expectInt32(output.StorageCapacityUnits),
|
|
6059
6059
|
};
|
|
6060
6060
|
};
|
|
6061
6061
|
var deserializeAws_json1_1ChangeDetectingColumns = function (output, context) {
|
|
@@ -6233,7 +6233,7 @@ var deserializeAws_json1_1ConnectionConfiguration = function (output, context) {
|
|
|
6233
6233
|
return {
|
|
6234
6234
|
DatabaseHost: __expectString(output.DatabaseHost),
|
|
6235
6235
|
DatabaseName: __expectString(output.DatabaseName),
|
|
6236
|
-
DatabasePort:
|
|
6236
|
+
DatabasePort: __expectInt32(output.DatabasePort),
|
|
6237
6237
|
SecretArn: __expectString(output.SecretArn),
|
|
6238
6238
|
TableName: __expectString(output.TableName),
|
|
6239
6239
|
};
|
|
@@ -6330,14 +6330,14 @@ var deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = function (outp
|
|
|
6330
6330
|
var deserializeAws_json1_1DataSourceSummary = function (output, context) {
|
|
6331
6331
|
return {
|
|
6332
6332
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6333
|
-
?
|
|
6333
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6334
6334
|
: undefined,
|
|
6335
6335
|
Id: __expectString(output.Id),
|
|
6336
6336
|
Name: __expectString(output.Name),
|
|
6337
6337
|
Status: __expectString(output.Status),
|
|
6338
6338
|
Type: __expectString(output.Type),
|
|
6339
6339
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6340
|
-
?
|
|
6340
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6341
6341
|
: undefined,
|
|
6342
6342
|
};
|
|
6343
6343
|
};
|
|
@@ -6354,7 +6354,9 @@ var deserializeAws_json1_1DataSourceSummaryList = function (output, context) {
|
|
|
6354
6354
|
var deserializeAws_json1_1DataSourceSyncJob = function (output, context) {
|
|
6355
6355
|
return {
|
|
6356
6356
|
DataSourceErrorCode: __expectString(output.DataSourceErrorCode),
|
|
6357
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6357
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6358
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
6359
|
+
: undefined,
|
|
6358
6360
|
ErrorCode: __expectString(output.ErrorCode),
|
|
6359
6361
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6360
6362
|
ExecutionId: __expectString(output.ExecutionId),
|
|
@@ -6362,7 +6364,7 @@ var deserializeAws_json1_1DataSourceSyncJob = function (output, context) {
|
|
|
6362
6364
|
? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context)
|
|
6363
6365
|
: undefined,
|
|
6364
6366
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6365
|
-
?
|
|
6367
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
6366
6368
|
: undefined,
|
|
6367
6369
|
Status: __expectString(output.Status),
|
|
6368
6370
|
};
|
|
@@ -6419,7 +6421,7 @@ var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context
|
|
|
6419
6421
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
6420
6422
|
: undefined,
|
|
6421
6423
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6422
|
-
?
|
|
6424
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6423
6425
|
: undefined,
|
|
6424
6426
|
Description: __expectString(output.Description),
|
|
6425
6427
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
@@ -6431,14 +6433,14 @@ var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context
|
|
|
6431
6433
|
Status: __expectString(output.Status),
|
|
6432
6434
|
Type: __expectString(output.Type),
|
|
6433
6435
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6434
|
-
?
|
|
6436
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6435
6437
|
: undefined,
|
|
6436
6438
|
};
|
|
6437
6439
|
};
|
|
6438
6440
|
var deserializeAws_json1_1DescribeFaqResponse = function (output, context) {
|
|
6439
6441
|
return {
|
|
6440
6442
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6441
|
-
?
|
|
6443
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6442
6444
|
: undefined,
|
|
6443
6445
|
Description: __expectString(output.Description),
|
|
6444
6446
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
@@ -6452,7 +6454,7 @@ var deserializeAws_json1_1DescribeFaqResponse = function (output, context) {
|
|
|
6452
6454
|
: undefined,
|
|
6453
6455
|
Status: __expectString(output.Status),
|
|
6454
6456
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6455
|
-
?
|
|
6457
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6456
6458
|
: undefined,
|
|
6457
6459
|
};
|
|
6458
6460
|
};
|
|
@@ -6462,7 +6464,7 @@ var deserializeAws_json1_1DescribeIndexResponse = function (output, context) {
|
|
|
6462
6464
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
6463
6465
|
: undefined,
|
|
6464
6466
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6465
|
-
?
|
|
6467
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6466
6468
|
: undefined,
|
|
6467
6469
|
Description: __expectString(output.Description),
|
|
6468
6470
|
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations !== undefined && output.DocumentMetadataConfigurations !== null
|
|
@@ -6481,7 +6483,7 @@ var deserializeAws_json1_1DescribeIndexResponse = function (output, context) {
|
|
|
6481
6483
|
: undefined,
|
|
6482
6484
|
Status: __expectString(output.Status),
|
|
6483
6485
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6484
|
-
?
|
|
6486
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6485
6487
|
: undefined,
|
|
6486
6488
|
UserContextPolicy: __expectString(output.UserContextPolicy),
|
|
6487
6489
|
UserTokenConfigurations: output.UserTokenConfigurations !== undefined && output.UserTokenConfigurations !== null
|
|
@@ -6502,14 +6504,14 @@ var deserializeAws_json1_1DescribePrincipalMappingResponse = function (output, c
|
|
|
6502
6504
|
var deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = function (output, context) {
|
|
6503
6505
|
return {
|
|
6504
6506
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6505
|
-
?
|
|
6507
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6506
6508
|
: undefined,
|
|
6507
6509
|
Description: __expectString(output.Description),
|
|
6508
6510
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6509
|
-
FileSizeBytes:
|
|
6511
|
+
FileSizeBytes: __expectLong(output.FileSizeBytes),
|
|
6510
6512
|
Id: __expectString(output.Id),
|
|
6511
6513
|
IndexId: __expectString(output.IndexId),
|
|
6512
|
-
ItemCount:
|
|
6514
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
6513
6515
|
Name: __expectString(output.Name),
|
|
6514
6516
|
RoleArn: __expectString(output.RoleArn),
|
|
6515
6517
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
@@ -6517,7 +6519,7 @@ var deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = function (
|
|
|
6517
6519
|
: undefined,
|
|
6518
6520
|
Status: __expectString(output.Status),
|
|
6519
6521
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6520
|
-
?
|
|
6522
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6521
6523
|
: undefined,
|
|
6522
6524
|
};
|
|
6523
6525
|
};
|
|
@@ -6525,27 +6527,27 @@ var deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = function (out
|
|
|
6525
6527
|
return {
|
|
6526
6528
|
IncludeQueriesWithoutUserInformation: __expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
6527
6529
|
LastClearTime: output.LastClearTime !== undefined && output.LastClearTime !== null
|
|
6528
|
-
?
|
|
6530
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastClearTime)))
|
|
6529
6531
|
: undefined,
|
|
6530
6532
|
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime !== undefined && output.LastSuggestionsBuildTime !== null
|
|
6531
|
-
?
|
|
6533
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuggestionsBuildTime)))
|
|
6532
6534
|
: undefined,
|
|
6533
|
-
MinimumNumberOfQueryingUsers:
|
|
6534
|
-
MinimumQueryCount:
|
|
6535
|
+
MinimumNumberOfQueryingUsers: __expectInt32(output.MinimumNumberOfQueryingUsers),
|
|
6536
|
+
MinimumQueryCount: __expectInt32(output.MinimumQueryCount),
|
|
6535
6537
|
Mode: __expectString(output.Mode),
|
|
6536
|
-
QueryLogLookBackWindowInDays:
|
|
6538
|
+
QueryLogLookBackWindowInDays: __expectInt32(output.QueryLogLookBackWindowInDays),
|
|
6537
6539
|
Status: __expectString(output.Status),
|
|
6538
|
-
TotalSuggestionsCount:
|
|
6540
|
+
TotalSuggestionsCount: __expectInt32(output.TotalSuggestionsCount),
|
|
6539
6541
|
};
|
|
6540
6542
|
};
|
|
6541
6543
|
var deserializeAws_json1_1DescribeThesaurusResponse = function (output, context) {
|
|
6542
6544
|
return {
|
|
6543
6545
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6544
|
-
?
|
|
6546
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6545
6547
|
: undefined,
|
|
6546
6548
|
Description: __expectString(output.Description),
|
|
6547
6549
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6548
|
-
FileSizeBytes:
|
|
6550
|
+
FileSizeBytes: __expectLong(output.FileSizeBytes),
|
|
6549
6551
|
Id: __expectString(output.Id),
|
|
6550
6552
|
IndexId: __expectString(output.IndexId),
|
|
6551
6553
|
Name: __expectString(output.Name),
|
|
@@ -6554,10 +6556,10 @@ var deserializeAws_json1_1DescribeThesaurusResponse = function (output, context)
|
|
|
6554
6556
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6555
6557
|
: undefined,
|
|
6556
6558
|
Status: __expectString(output.Status),
|
|
6557
|
-
SynonymRuleCount:
|
|
6558
|
-
TermCount:
|
|
6559
|
+
SynonymRuleCount: __expectLong(output.SynonymRuleCount),
|
|
6560
|
+
TermCount: __expectLong(output.TermCount),
|
|
6559
6561
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6560
|
-
?
|
|
6562
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6561
6563
|
: undefined,
|
|
6562
6564
|
};
|
|
6563
6565
|
};
|
|
@@ -6565,7 +6567,7 @@ var deserializeAws_json1_1DocumentAttribute = function (output, context) {
|
|
|
6565
6567
|
return {
|
|
6566
6568
|
Key: __expectString(output.Key),
|
|
6567
6569
|
Value: output.Value !== undefined && output.Value !== null
|
|
6568
|
-
? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
|
|
6570
|
+
? deserializeAws_json1_1DocumentAttributeValue(__expectUnion(output.Value), context)
|
|
6569
6571
|
: undefined,
|
|
6570
6572
|
};
|
|
6571
6573
|
};
|
|
@@ -6592,11 +6594,11 @@ var deserializeAws_json1_1DocumentAttributeStringListValue = function (output, c
|
|
|
6592
6594
|
var deserializeAws_json1_1DocumentAttributeValue = function (output, context) {
|
|
6593
6595
|
if (output.DateValue !== undefined && output.DateValue !== null) {
|
|
6594
6596
|
return {
|
|
6595
|
-
DateValue:
|
|
6597
|
+
DateValue: __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateValue))),
|
|
6596
6598
|
};
|
|
6597
6599
|
}
|
|
6598
|
-
if (
|
|
6599
|
-
return { LongValue:
|
|
6600
|
+
if (__expectLong(output.LongValue) !== undefined) {
|
|
6601
|
+
return { LongValue: __expectLong(output.LongValue) };
|
|
6600
6602
|
}
|
|
6601
6603
|
if (output.StringListValue !== undefined && output.StringListValue !== null) {
|
|
6602
6604
|
return {
|
|
@@ -6610,9 +6612,9 @@ var deserializeAws_json1_1DocumentAttributeValue = function (output, context) {
|
|
|
6610
6612
|
};
|
|
6611
6613
|
var deserializeAws_json1_1DocumentAttributeValueCountPair = function (output, context) {
|
|
6612
6614
|
return {
|
|
6613
|
-
Count:
|
|
6615
|
+
Count: __expectInt32(output.Count),
|
|
6614
6616
|
DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
|
|
6615
|
-
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
6617
|
+
? deserializeAws_json1_1DocumentAttributeValue(__expectUnion(output.DocumentAttributeValue), context)
|
|
6616
6618
|
: undefined,
|
|
6617
6619
|
};
|
|
6618
6620
|
};
|
|
@@ -6714,20 +6716,20 @@ var deserializeAws_json1_1FacetResultList = function (output, context) {
|
|
|
6714
6716
|
};
|
|
6715
6717
|
var deserializeAws_json1_1FaqStatistics = function (output, context) {
|
|
6716
6718
|
return {
|
|
6717
|
-
IndexedQuestionAnswersCount:
|
|
6719
|
+
IndexedQuestionAnswersCount: __expectInt32(output.IndexedQuestionAnswersCount),
|
|
6718
6720
|
};
|
|
6719
6721
|
};
|
|
6720
6722
|
var deserializeAws_json1_1FaqSummary = function (output, context) {
|
|
6721
6723
|
return {
|
|
6722
6724
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6723
|
-
?
|
|
6725
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6724
6726
|
: undefined,
|
|
6725
6727
|
FileFormat: __expectString(output.FileFormat),
|
|
6726
6728
|
Id: __expectString(output.Id),
|
|
6727
6729
|
Name: __expectString(output.Name),
|
|
6728
6730
|
Status: __expectString(output.Status),
|
|
6729
6731
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6730
|
-
?
|
|
6732
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6731
6733
|
: undefined,
|
|
6732
6734
|
};
|
|
6733
6735
|
};
|
|
@@ -6786,11 +6788,11 @@ var deserializeAws_json1_1GroupOrderingIdSummary = function (output, context) {
|
|
|
6786
6788
|
return {
|
|
6787
6789
|
FailureReason: __expectString(output.FailureReason),
|
|
6788
6790
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
6789
|
-
?
|
|
6791
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
6790
6792
|
: undefined,
|
|
6791
|
-
OrderingId:
|
|
6793
|
+
OrderingId: __expectLong(output.OrderingId),
|
|
6792
6794
|
ReceivedAt: output.ReceivedAt !== undefined && output.ReceivedAt !== null
|
|
6793
|
-
?
|
|
6795
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReceivedAt)))
|
|
6794
6796
|
: undefined,
|
|
6795
6797
|
Status: __expectString(output.Status),
|
|
6796
6798
|
};
|
|
@@ -6798,13 +6800,13 @@ var deserializeAws_json1_1GroupOrderingIdSummary = function (output, context) {
|
|
|
6798
6800
|
var deserializeAws_json1_1GroupSummary = function (output, context) {
|
|
6799
6801
|
return {
|
|
6800
6802
|
GroupId: __expectString(output.GroupId),
|
|
6801
|
-
OrderingId:
|
|
6803
|
+
OrderingId: __expectLong(output.OrderingId),
|
|
6802
6804
|
};
|
|
6803
6805
|
};
|
|
6804
6806
|
var deserializeAws_json1_1Highlight = function (output, context) {
|
|
6805
6807
|
return {
|
|
6806
|
-
BeginOffset:
|
|
6807
|
-
EndOffset:
|
|
6808
|
+
BeginOffset: __expectInt32(output.BeginOffset),
|
|
6809
|
+
EndOffset: __expectInt32(output.EndOffset),
|
|
6808
6810
|
TopAnswer: __expectBoolean(output.TopAnswer),
|
|
6809
6811
|
Type: __expectString(output.Type),
|
|
6810
6812
|
};
|
|
@@ -6822,14 +6824,14 @@ var deserializeAws_json1_1HighlightList = function (output, context) {
|
|
|
6822
6824
|
var deserializeAws_json1_1IndexConfigurationSummary = function (output, context) {
|
|
6823
6825
|
return {
|
|
6824
6826
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6825
|
-
?
|
|
6827
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
6826
6828
|
: undefined,
|
|
6827
6829
|
Edition: __expectString(output.Edition),
|
|
6828
6830
|
Id: __expectString(output.Id),
|
|
6829
6831
|
Name: __expectString(output.Name),
|
|
6830
6832
|
Status: __expectString(output.Status),
|
|
6831
6833
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6832
|
-
?
|
|
6834
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
6833
6835
|
: undefined,
|
|
6834
6836
|
};
|
|
6835
6837
|
};
|
|
@@ -6991,7 +6993,7 @@ var deserializeAws_json1_1ProxyConfiguration = function (output, context) {
|
|
|
6991
6993
|
return {
|
|
6992
6994
|
Credentials: __expectString(output.Credentials),
|
|
6993
6995
|
Host: __expectString(output.Host),
|
|
6994
|
-
Port:
|
|
6996
|
+
Port: __expectInt32(output.Port),
|
|
6995
6997
|
};
|
|
6996
6998
|
};
|
|
6997
6999
|
var deserializeAws_json1_1QueryResult = function (output, context) {
|
|
@@ -7003,7 +7005,7 @@ var deserializeAws_json1_1QueryResult = function (output, context) {
|
|
|
7003
7005
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
7004
7006
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
7005
7007
|
: undefined,
|
|
7006
|
-
TotalNumberOfResults:
|
|
7008
|
+
TotalNumberOfResults: __expectInt32(output.TotalNumberOfResults),
|
|
7007
7009
|
};
|
|
7008
7010
|
};
|
|
7009
7011
|
var deserializeAws_json1_1QueryResultItem = function (output, context) {
|
|
@@ -7043,14 +7045,14 @@ var deserializeAws_json1_1QueryResultItemList = function (output, context) {
|
|
|
7043
7045
|
var deserializeAws_json1_1QuerySuggestionsBlockListSummary = function (output, context) {
|
|
7044
7046
|
return {
|
|
7045
7047
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7046
|
-
?
|
|
7048
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7047
7049
|
: undefined,
|
|
7048
7050
|
Id: __expectString(output.Id),
|
|
7049
|
-
ItemCount:
|
|
7051
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
7050
7052
|
Name: __expectString(output.Name),
|
|
7051
7053
|
Status: __expectString(output.Status),
|
|
7052
7054
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7053
|
-
?
|
|
7055
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7054
7056
|
: undefined,
|
|
7055
7057
|
};
|
|
7056
7058
|
};
|
|
@@ -7068,7 +7070,7 @@ var deserializeAws_json1_1Relevance = function (output, context) {
|
|
|
7068
7070
|
return {
|
|
7069
7071
|
Duration: __expectString(output.Duration),
|
|
7070
7072
|
Freshness: __expectBoolean(output.Freshness),
|
|
7071
|
-
Importance:
|
|
7073
|
+
Importance: __expectInt32(output.Importance),
|
|
7072
7074
|
RankOrder: __expectString(output.RankOrder),
|
|
7073
7075
|
ValueImportanceMap: output.ValueImportanceMap !== undefined && output.ValueImportanceMap !== null
|
|
7074
7076
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
@@ -7442,8 +7444,8 @@ var deserializeAws_json1_1Suggestion = function (output, context) {
|
|
|
7442
7444
|
};
|
|
7443
7445
|
var deserializeAws_json1_1SuggestionHighlight = function (output, context) {
|
|
7444
7446
|
return {
|
|
7445
|
-
BeginOffset:
|
|
7446
|
-
EndOffset:
|
|
7447
|
+
BeginOffset: __expectInt32(output.BeginOffset),
|
|
7448
|
+
EndOffset: __expectInt32(output.EndOffset),
|
|
7447
7449
|
};
|
|
7448
7450
|
};
|
|
7449
7451
|
var deserializeAws_json1_1SuggestionHighlightList = function (output, context) {
|
|
@@ -7502,8 +7504,8 @@ var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
|
7502
7504
|
};
|
|
7503
7505
|
var deserializeAws_json1_1TextDocumentStatistics = function (output, context) {
|
|
7504
7506
|
return {
|
|
7505
|
-
IndexedTextBytes:
|
|
7506
|
-
IndexedTextDocumentsCount:
|
|
7507
|
+
IndexedTextBytes: __expectLong(output.IndexedTextBytes),
|
|
7508
|
+
IndexedTextDocumentsCount: __expectInt32(output.IndexedTextDocumentsCount),
|
|
7507
7509
|
};
|
|
7508
7510
|
};
|
|
7509
7511
|
var deserializeAws_json1_1TextWithHighlights = function (output, context) {
|
|
@@ -7517,13 +7519,13 @@ var deserializeAws_json1_1TextWithHighlights = function (output, context) {
|
|
|
7517
7519
|
var deserializeAws_json1_1ThesaurusSummary = function (output, context) {
|
|
7518
7520
|
return {
|
|
7519
7521
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7520
|
-
?
|
|
7522
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7521
7523
|
: undefined,
|
|
7522
7524
|
Id: __expectString(output.Id),
|
|
7523
7525
|
Name: __expectString(output.Name),
|
|
7524
7526
|
Status: __expectString(output.Status),
|
|
7525
7527
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7526
|
-
?
|
|
7528
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7527
7529
|
: undefined,
|
|
7528
7530
|
};
|
|
7529
7531
|
};
|
|
@@ -7587,7 +7589,7 @@ var deserializeAws_json1_1ValueImportanceMap = function (output, context) {
|
|
|
7587
7589
|
if (value === null) {
|
|
7588
7590
|
return acc;
|
|
7589
7591
|
}
|
|
7590
|
-
return __assign(__assign({}, acc), (_b = {}, _b[key] =
|
|
7592
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
|
|
7591
7593
|
}, {});
|
|
7592
7594
|
};
|
|
7593
7595
|
var deserializeAws_json1_1WebCrawlerConfiguration = function (output, context) {
|
|
@@ -7595,10 +7597,10 @@ var deserializeAws_json1_1WebCrawlerConfiguration = function (output, context) {
|
|
|
7595
7597
|
AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
|
|
7596
7598
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
7597
7599
|
: undefined,
|
|
7598
|
-
CrawlDepth:
|
|
7599
|
-
MaxContentSizePerPageInMegaBytes:
|
|
7600
|
-
MaxLinksPerPage:
|
|
7601
|
-
MaxUrlsPerMinuteCrawlRate:
|
|
7600
|
+
CrawlDepth: __expectInt32(output.CrawlDepth),
|
|
7601
|
+
MaxContentSizePerPageInMegaBytes: __limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
|
|
7602
|
+
MaxLinksPerPage: __expectInt32(output.MaxLinksPerPage),
|
|
7603
|
+
MaxUrlsPerMinuteCrawlRate: __expectInt32(output.MaxUrlsPerMinuteCrawlRate),
|
|
7602
7604
|
ProxyConfiguration: output.ProxyConfiguration !== undefined && output.ProxyConfiguration !== null
|
|
7603
7605
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
7604
7606
|
: undefined,
|