@aws-sdk/client-cloudsearch 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.
@@ -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: "cloudsearch", regionHash: regionHash,
51
- partitionHash: partitionHash }))];
50
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cloudsearch", regionHash: regionHash, partitionHash: partitionHash }))];
52
51
  });
53
52
  }); };
54
53
  //# sourceMappingURL=endpoints.js.map
@@ -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,oCAAoC;KAC/C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,uCAAuC;KAClD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,C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C/C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudsearch",
3
3
  "description": "AWS SDK for JavaScript Cloudsearch Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
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,47 +27,47 @@
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.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
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
  "entities": "2.2.0",
59
59
  "fast-xml-parser": "3.19.0",
60
60
  "tslib": "^2.3.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@aws-sdk/client-documentation-generator": "3.23.0",
63
+ "@aws-sdk/client-documentation-generator": "3.32.0",
64
64
  "@types/node": "^12.7.5",
65
65
  "downlevel-dts": "0.7.0",
66
66
  "jest": "^26.1.0",
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read, __values } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt as __strictParseInt, } from "@aws-sdk/smithy-client";
3
+ import { expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
4
4
  import { decodeHTML } from "entities";
5
5
  import { parse as xmlParse } from "fast-xml-parser";
6
6
  export var serializeAws_queryBuildSuggestersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -3685,10 +3685,10 @@ var deserializeAws_queryDomainStatus = function (output, context) {
3685
3685
  contents.SearchInstanceType = __expectString(output["SearchInstanceType"]);
3686
3686
  }
3687
3687
  if (output["SearchPartitionCount"] !== undefined) {
3688
- contents.SearchPartitionCount = __strictParseInt(output["SearchPartitionCount"]);
3688
+ contents.SearchPartitionCount = __strictParseInt32(output["SearchPartitionCount"]);
3689
3689
  }
3690
3690
  if (output["SearchInstanceCount"] !== undefined) {
3691
- contents.SearchInstanceCount = __strictParseInt(output["SearchInstanceCount"]);
3691
+ contents.SearchInstanceCount = __strictParseInt32(output["SearchInstanceCount"]);
3692
3692
  }
3693
3693
  if (output["Limits"] !== undefined) {
3694
3694
  contents.Limits = deserializeAws_queryLimits(output["Limits"], context);
@@ -3906,7 +3906,7 @@ var deserializeAws_queryIntArrayOptions = function (output, context) {
3906
3906
  ReturnEnabled: undefined,
3907
3907
  };
3908
3908
  if (output["DefaultValue"] !== undefined) {
3909
- contents.DefaultValue = __strictParseInt(output["DefaultValue"]);
3909
+ contents.DefaultValue = __strictParseLong(output["DefaultValue"]);
3910
3910
  }
3911
3911
  if (output["SourceFields"] !== undefined) {
3912
3912
  contents.SourceFields = __expectString(output["SourceFields"]);
@@ -3945,7 +3945,7 @@ var deserializeAws_queryIntOptions = function (output, context) {
3945
3945
  SortEnabled: undefined,
3946
3946
  };
3947
3947
  if (output["DefaultValue"] !== undefined) {
3948
- contents.DefaultValue = __strictParseInt(output["DefaultValue"]);
3948
+ contents.DefaultValue = __strictParseLong(output["DefaultValue"]);
3949
3949
  }
3950
3950
  if (output["SourceField"] !== undefined) {
3951
3951
  contents.SourceField = __expectString(output["SourceField"]);
@@ -4025,10 +4025,10 @@ var deserializeAws_queryLimits = function (output, context) {
4025
4025
  MaximumPartitionCount: undefined,
4026
4026
  };
4027
4027
  if (output["MaximumReplicationCount"] !== undefined) {
4028
- contents.MaximumReplicationCount = __strictParseInt(output["MaximumReplicationCount"]);
4028
+ contents.MaximumReplicationCount = __strictParseInt32(output["MaximumReplicationCount"]);
4029
4029
  }
4030
4030
  if (output["MaximumPartitionCount"] !== undefined) {
4031
- contents.MaximumPartitionCount = __strictParseInt(output["MaximumPartitionCount"]);
4031
+ contents.MaximumPartitionCount = __strictParseInt32(output["MaximumPartitionCount"]);
4032
4032
  }
4033
4033
  return contents;
4034
4034
  };
@@ -4107,13 +4107,13 @@ var deserializeAws_queryOptionStatus = function (output, context) {
4107
4107
  PendingDeletion: undefined,
4108
4108
  };
4109
4109
  if (output["CreationDate"] !== undefined) {
4110
- contents.CreationDate = new Date(output["CreationDate"]);
4110
+ contents.CreationDate = __expectNonNull(__parseRfc3339DateTime(output["CreationDate"]));
4111
4111
  }
4112
4112
  if (output["UpdateDate"] !== undefined) {
4113
- contents.UpdateDate = new Date(output["UpdateDate"]);
4113
+ contents.UpdateDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateDate"]));
4114
4114
  }
4115
4115
  if (output["UpdateVersion"] !== undefined) {
4116
- contents.UpdateVersion = __strictParseInt(output["UpdateVersion"]);
4116
+ contents.UpdateVersion = __strictParseInt32(output["UpdateVersion"]);
4117
4117
  }
4118
4118
  if (output["State"] !== undefined) {
4119
4119
  contents.State = __expectString(output["State"]);
@@ -4159,10 +4159,10 @@ var deserializeAws_queryScalingParameters = function (output, context) {
4159
4159
  contents.DesiredInstanceType = __expectString(output["DesiredInstanceType"]);
4160
4160
  }
4161
4161
  if (output["DesiredReplicationCount"] !== undefined) {
4162
- contents.DesiredReplicationCount = __strictParseInt(output["DesiredReplicationCount"]);
4162
+ contents.DesiredReplicationCount = __strictParseInt32(output["DesiredReplicationCount"]);
4163
4163
  }
4164
4164
  if (output["DesiredPartitionCount"] !== undefined) {
4165
- contents.DesiredPartitionCount = __strictParseInt(output["DesiredPartitionCount"]);
4165
+ contents.DesiredPartitionCount = __strictParseInt32(output["DesiredPartitionCount"]);
4166
4166
  }
4167
4167
  return contents;
4168
4168
  };