@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.
package/package.json CHANGED
@@ -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"
@@ -157,14 +157,17 @@ import {
157
157
  } from "../models/models_0";
158
158
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
159
159
  import {
160
+ expectNonNull as __expectNonNull,
160
161
  expectString as __expectString,
161
162
  extendedEncodeURIComponent as __extendedEncodeURIComponent,
162
163
  getArrayIfSingleItem as __getArrayIfSingleItem,
163
164
  getValueFromTextNode as __getValueFromTextNode,
164
165
  parseBoolean as __parseBoolean,
166
+ parseRfc3339DateTime as __parseRfc3339DateTime,
165
167
  serializeFloat as __serializeFloat,
166
168
  strictParseFloat as __strictParseFloat,
167
- strictParseInt as __strictParseInt,
169
+ strictParseInt32 as __strictParseInt32,
170
+ strictParseLong as __strictParseLong,
168
171
  } from "@aws-sdk/smithy-client";
169
172
  import {
170
173
  Endpoint as __Endpoint,
@@ -4158,10 +4161,10 @@ const deserializeAws_queryDomainStatus = (output: any, context: __SerdeContext):
4158
4161
  contents.SearchInstanceType = __expectString(output["SearchInstanceType"]);
4159
4162
  }
4160
4163
  if (output["SearchPartitionCount"] !== undefined) {
4161
- contents.SearchPartitionCount = __strictParseInt(output["SearchPartitionCount"]) as number;
4164
+ contents.SearchPartitionCount = __strictParseInt32(output["SearchPartitionCount"]) as number;
4162
4165
  }
4163
4166
  if (output["SearchInstanceCount"] !== undefined) {
4164
- contents.SearchInstanceCount = __strictParseInt(output["SearchInstanceCount"]) as number;
4167
+ contents.SearchInstanceCount = __strictParseInt32(output["SearchInstanceCount"]) as number;
4165
4168
  }
4166
4169
  if (output["Limits"] !== undefined) {
4167
4170
  contents.Limits = deserializeAws_queryLimits(output["Limits"], context);
@@ -4394,7 +4397,7 @@ const deserializeAws_queryIntArrayOptions = (output: any, context: __SerdeContex
4394
4397
  ReturnEnabled: undefined,
4395
4398
  };
4396
4399
  if (output["DefaultValue"] !== undefined) {
4397
- contents.DefaultValue = __strictParseInt(output["DefaultValue"]) as number;
4400
+ contents.DefaultValue = __strictParseLong(output["DefaultValue"]) as number;
4398
4401
  }
4399
4402
  if (output["SourceFields"] !== undefined) {
4400
4403
  contents.SourceFields = __expectString(output["SourceFields"]);
@@ -4435,7 +4438,7 @@ const deserializeAws_queryIntOptions = (output: any, context: __SerdeContext): I
4435
4438
  SortEnabled: undefined,
4436
4439
  };
4437
4440
  if (output["DefaultValue"] !== undefined) {
4438
- contents.DefaultValue = __strictParseInt(output["DefaultValue"]) as number;
4441
+ contents.DefaultValue = __strictParseLong(output["DefaultValue"]) as number;
4439
4442
  }
4440
4443
  if (output["SourceField"] !== undefined) {
4441
4444
  contents.SourceField = __expectString(output["SourceField"]);
@@ -4519,10 +4522,10 @@ const deserializeAws_queryLimits = (output: any, context: __SerdeContext): Limit
4519
4522
  MaximumPartitionCount: undefined,
4520
4523
  };
4521
4524
  if (output["MaximumReplicationCount"] !== undefined) {
4522
- contents.MaximumReplicationCount = __strictParseInt(output["MaximumReplicationCount"]) as number;
4525
+ contents.MaximumReplicationCount = __strictParseInt32(output["MaximumReplicationCount"]) as number;
4523
4526
  }
4524
4527
  if (output["MaximumPartitionCount"] !== undefined) {
4525
- contents.MaximumPartitionCount = __strictParseInt(output["MaximumPartitionCount"]) as number;
4528
+ contents.MaximumPartitionCount = __strictParseInt32(output["MaximumPartitionCount"]) as number;
4526
4529
  }
4527
4530
  return contents;
4528
4531
  };
@@ -4608,13 +4611,13 @@ const deserializeAws_queryOptionStatus = (output: any, context: __SerdeContext):
4608
4611
  PendingDeletion: undefined,
4609
4612
  };
4610
4613
  if (output["CreationDate"] !== undefined) {
4611
- contents.CreationDate = new Date(output["CreationDate"]);
4614
+ contents.CreationDate = __expectNonNull(__parseRfc3339DateTime(output["CreationDate"]));
4612
4615
  }
4613
4616
  if (output["UpdateDate"] !== undefined) {
4614
- contents.UpdateDate = new Date(output["UpdateDate"]);
4617
+ contents.UpdateDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateDate"]));
4615
4618
  }
4616
4619
  if (output["UpdateVersion"] !== undefined) {
4617
- contents.UpdateVersion = __strictParseInt(output["UpdateVersion"]) as number;
4620
+ contents.UpdateVersion = __strictParseInt32(output["UpdateVersion"]) as number;
4618
4621
  }
4619
4622
  if (output["State"] !== undefined) {
4620
4623
  contents.State = __expectString(output["State"]);
@@ -4669,10 +4672,10 @@ const deserializeAws_queryScalingParameters = (output: any, context: __SerdeCont
4669
4672
  contents.DesiredInstanceType = __expectString(output["DesiredInstanceType"]);
4670
4673
  }
4671
4674
  if (output["DesiredReplicationCount"] !== undefined) {
4672
- contents.DesiredReplicationCount = __strictParseInt(output["DesiredReplicationCount"]) as number;
4675
+ contents.DesiredReplicationCount = __strictParseInt32(output["DesiredReplicationCount"]) as number;
4673
4676
  }
4674
4677
  if (output["DesiredPartitionCount"] !== undefined) {
4675
- contents.DesiredPartitionCount = __strictParseInt(output["DesiredPartitionCount"]) as number;
4678
+ contents.DesiredPartitionCount = __strictParseInt32(output["DesiredPartitionCount"]) as number;
4676
4679
  }
4677
4680
  return contents;
4678
4681
  };