@aws-sdk/client-cloudsearch-domain 3.130.0 → 3.141.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 CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
18
+
19
+
20
+ ### Features
21
+
22
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-cloudsearch-domain
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
37
 
8
38
 
package/README.md CHANGED
@@ -168,7 +168,7 @@ try {
168
168
  const data = await client.send(command);
169
169
  // process data.
170
170
  } catch (error) {
171
- const { requestId, cfId, extendedRequestId } = error.$metadata;
171
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
172
172
  console.log({ requestId, cfId, extendedRequestId });
173
173
  /**
174
174
  * The keys within exceptions are also parsed.
@@ -20,8 +20,8 @@ class SearchCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.SearchRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.SearchResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.SearchRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SearchResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class SuggestCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.SuggestRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.SuggestResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.SuggestRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SuggestResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class UploadDocumentsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UploadDocumentsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UploadDocumentsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.UploadDocumentsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UploadDocumentsResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UploadDocumentsResponse = exports.DocumentServiceWarning = exports.UploadDocumentsRequest = exports.DocumentServiceException = exports.SuggestResponse = exports.SuggestModel = exports.SuggestionMatch = exports.SuggestStatus = exports.SuggestRequest = exports.SearchResponse = exports.SearchStatus = exports.FieldStats = exports.Hits = exports.Hit = exports.BucketInfo = exports.Bucket = exports.SearchRequest = exports.SearchException = void 0;
3
+ exports.UploadDocumentsResponseFilterSensitiveLog = exports.DocumentServiceWarningFilterSensitiveLog = exports.UploadDocumentsRequestFilterSensitiveLog = exports.SuggestResponseFilterSensitiveLog = exports.SuggestModelFilterSensitiveLog = exports.SuggestionMatchFilterSensitiveLog = exports.SuggestStatusFilterSensitiveLog = exports.SuggestRequestFilterSensitiveLog = exports.SearchResponseFilterSensitiveLog = exports.SearchStatusFilterSensitiveLog = exports.FieldStatsFilterSensitiveLog = exports.HitsFilterSensitiveLog = exports.HitFilterSensitiveLog = exports.BucketInfoFilterSensitiveLog = exports.BucketFilterSensitiveLog = exports.SearchRequestFilterSensitiveLog = exports.DocumentServiceException = exports.SearchException = void 0;
4
4
  const CloudSearchDomainServiceException_1 = require("./CloudSearchDomainServiceException");
5
5
  class SearchException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
6
6
  constructor(opts) {
@@ -15,84 +15,6 @@ class SearchException extends CloudSearchDomainServiceException_1.CloudSearchDom
15
15
  }
16
16
  }
17
17
  exports.SearchException = SearchException;
18
- var SearchRequest;
19
- (function (SearchRequest) {
20
- SearchRequest.filterSensitiveLog = (obj) => ({
21
- ...obj,
22
- });
23
- })(SearchRequest = exports.SearchRequest || (exports.SearchRequest = {}));
24
- var Bucket;
25
- (function (Bucket) {
26
- Bucket.filterSensitiveLog = (obj) => ({
27
- ...obj,
28
- });
29
- })(Bucket = exports.Bucket || (exports.Bucket = {}));
30
- var BucketInfo;
31
- (function (BucketInfo) {
32
- BucketInfo.filterSensitiveLog = (obj) => ({
33
- ...obj,
34
- });
35
- })(BucketInfo = exports.BucketInfo || (exports.BucketInfo = {}));
36
- var Hit;
37
- (function (Hit) {
38
- Hit.filterSensitiveLog = (obj) => ({
39
- ...obj,
40
- });
41
- })(Hit = exports.Hit || (exports.Hit = {}));
42
- var Hits;
43
- (function (Hits) {
44
- Hits.filterSensitiveLog = (obj) => ({
45
- ...obj,
46
- });
47
- })(Hits = exports.Hits || (exports.Hits = {}));
48
- var FieldStats;
49
- (function (FieldStats) {
50
- FieldStats.filterSensitiveLog = (obj) => ({
51
- ...obj,
52
- });
53
- })(FieldStats = exports.FieldStats || (exports.FieldStats = {}));
54
- var SearchStatus;
55
- (function (SearchStatus) {
56
- SearchStatus.filterSensitiveLog = (obj) => ({
57
- ...obj,
58
- });
59
- })(SearchStatus = exports.SearchStatus || (exports.SearchStatus = {}));
60
- var SearchResponse;
61
- (function (SearchResponse) {
62
- SearchResponse.filterSensitiveLog = (obj) => ({
63
- ...obj,
64
- });
65
- })(SearchResponse = exports.SearchResponse || (exports.SearchResponse = {}));
66
- var SuggestRequest;
67
- (function (SuggestRequest) {
68
- SuggestRequest.filterSensitiveLog = (obj) => ({
69
- ...obj,
70
- });
71
- })(SuggestRequest = exports.SuggestRequest || (exports.SuggestRequest = {}));
72
- var SuggestStatus;
73
- (function (SuggestStatus) {
74
- SuggestStatus.filterSensitiveLog = (obj) => ({
75
- ...obj,
76
- });
77
- })(SuggestStatus = exports.SuggestStatus || (exports.SuggestStatus = {}));
78
- var SuggestionMatch;
79
- (function (SuggestionMatch) {
80
- SuggestionMatch.filterSensitiveLog = (obj) => ({
81
- ...obj,
82
- });
83
- })(SuggestionMatch = exports.SuggestionMatch || (exports.SuggestionMatch = {}));
84
- var SuggestModel;
85
- (function (SuggestModel) {
86
- SuggestModel.filterSensitiveLog = (obj) => ({
87
- ...obj,
88
- });
89
- })(SuggestModel = exports.SuggestModel || (exports.SuggestModel = {}));
90
- var SuggestResponse;
91
- (function (SuggestResponse) {
92
- SuggestResponse.filterSensitiveLog = (obj) => ({
93
- ...obj,
94
- });
95
- })(SuggestResponse = exports.SuggestResponse || (exports.SuggestResponse = {}));
96
18
  class DocumentServiceException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
97
19
  constructor(opts) {
98
20
  super({
@@ -107,21 +29,67 @@ class DocumentServiceException extends CloudSearchDomainServiceException_1.Cloud
107
29
  }
108
30
  }
109
31
  exports.DocumentServiceException = DocumentServiceException;
110
- var UploadDocumentsRequest;
111
- (function (UploadDocumentsRequest) {
112
- UploadDocumentsRequest.filterSensitiveLog = (obj) => ({
113
- ...obj,
114
- });
115
- })(UploadDocumentsRequest = exports.UploadDocumentsRequest || (exports.UploadDocumentsRequest = {}));
116
- var DocumentServiceWarning;
117
- (function (DocumentServiceWarning) {
118
- DocumentServiceWarning.filterSensitiveLog = (obj) => ({
119
- ...obj,
120
- });
121
- })(DocumentServiceWarning = exports.DocumentServiceWarning || (exports.DocumentServiceWarning = {}));
122
- var UploadDocumentsResponse;
123
- (function (UploadDocumentsResponse) {
124
- UploadDocumentsResponse.filterSensitiveLog = (obj) => ({
125
- ...obj,
126
- });
127
- })(UploadDocumentsResponse = exports.UploadDocumentsResponse || (exports.UploadDocumentsResponse = {}));
32
+ const SearchRequestFilterSensitiveLog = (obj) => ({
33
+ ...obj,
34
+ });
35
+ exports.SearchRequestFilterSensitiveLog = SearchRequestFilterSensitiveLog;
36
+ const BucketFilterSensitiveLog = (obj) => ({
37
+ ...obj,
38
+ });
39
+ exports.BucketFilterSensitiveLog = BucketFilterSensitiveLog;
40
+ const BucketInfoFilterSensitiveLog = (obj) => ({
41
+ ...obj,
42
+ });
43
+ exports.BucketInfoFilterSensitiveLog = BucketInfoFilterSensitiveLog;
44
+ const HitFilterSensitiveLog = (obj) => ({
45
+ ...obj,
46
+ });
47
+ exports.HitFilterSensitiveLog = HitFilterSensitiveLog;
48
+ const HitsFilterSensitiveLog = (obj) => ({
49
+ ...obj,
50
+ });
51
+ exports.HitsFilterSensitiveLog = HitsFilterSensitiveLog;
52
+ const FieldStatsFilterSensitiveLog = (obj) => ({
53
+ ...obj,
54
+ });
55
+ exports.FieldStatsFilterSensitiveLog = FieldStatsFilterSensitiveLog;
56
+ const SearchStatusFilterSensitiveLog = (obj) => ({
57
+ ...obj,
58
+ });
59
+ exports.SearchStatusFilterSensitiveLog = SearchStatusFilterSensitiveLog;
60
+ const SearchResponseFilterSensitiveLog = (obj) => ({
61
+ ...obj,
62
+ });
63
+ exports.SearchResponseFilterSensitiveLog = SearchResponseFilterSensitiveLog;
64
+ const SuggestRequestFilterSensitiveLog = (obj) => ({
65
+ ...obj,
66
+ });
67
+ exports.SuggestRequestFilterSensitiveLog = SuggestRequestFilterSensitiveLog;
68
+ const SuggestStatusFilterSensitiveLog = (obj) => ({
69
+ ...obj,
70
+ });
71
+ exports.SuggestStatusFilterSensitiveLog = SuggestStatusFilterSensitiveLog;
72
+ const SuggestionMatchFilterSensitiveLog = (obj) => ({
73
+ ...obj,
74
+ });
75
+ exports.SuggestionMatchFilterSensitiveLog = SuggestionMatchFilterSensitiveLog;
76
+ const SuggestModelFilterSensitiveLog = (obj) => ({
77
+ ...obj,
78
+ });
79
+ exports.SuggestModelFilterSensitiveLog = SuggestModelFilterSensitiveLog;
80
+ const SuggestResponseFilterSensitiveLog = (obj) => ({
81
+ ...obj,
82
+ });
83
+ exports.SuggestResponseFilterSensitiveLog = SuggestResponseFilterSensitiveLog;
84
+ const UploadDocumentsRequestFilterSensitiveLog = (obj) => ({
85
+ ...obj,
86
+ });
87
+ exports.UploadDocumentsRequestFilterSensitiveLog = UploadDocumentsRequestFilterSensitiveLog;
88
+ const DocumentServiceWarningFilterSensitiveLog = (obj) => ({
89
+ ...obj,
90
+ });
91
+ exports.DocumentServiceWarningFilterSensitiveLog = DocumentServiceWarningFilterSensitiveLog;
92
+ const UploadDocumentsResponseFilterSensitiveLog = (obj) => ({
93
+ ...obj,
94
+ });
95
+ exports.UploadDocumentsResponseFilterSensitiveLog = UploadDocumentsResponseFilterSensitiveLog;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SearchRequest, SearchResponse } from "../models/models_0";
4
+ import { SearchRequestFilterSensitiveLog, SearchResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1SearchCommand, serializeAws_restJson1SearchCommand } from "../protocols/Aws_restJson1";
6
6
  var SearchCommand = (function (_super) {
7
7
  __extends(SearchCommand, _super);
@@ -20,8 +20,8 @@ var SearchCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SearchRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: SearchResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SearchRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: SearchResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SuggestRequest, SuggestResponse } from "../models/models_0";
4
+ import { SuggestRequestFilterSensitiveLog, SuggestResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1SuggestCommand, serializeAws_restJson1SuggestCommand, } from "../protocols/Aws_restJson1";
6
6
  var SuggestCommand = (function (_super) {
7
7
  __extends(SuggestCommand, _super);
@@ -20,8 +20,8 @@ var SuggestCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SuggestRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: SuggestResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SuggestRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: SuggestResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UploadDocumentsRequest, UploadDocumentsResponse } from "../models/models_0";
4
+ import { UploadDocumentsRequestFilterSensitiveLog, UploadDocumentsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UploadDocumentsCommand, serializeAws_restJson1UploadDocumentsCommand, } from "../protocols/Aws_restJson1";
6
6
  var UploadDocumentsCommand = (function (_super) {
7
7
  __extends(UploadDocumentsCommand, _super);
@@ -20,8 +20,8 @@ var UploadDocumentsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UploadDocumentsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UploadDocumentsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UploadDocumentsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UploadDocumentsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -12,58 +12,6 @@ var SearchException = (function (_super) {
12
12
  return SearchException;
13
13
  }(__BaseException));
14
14
  export { SearchException };
15
- export var SearchRequest;
16
- (function (SearchRequest) {
17
- SearchRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
- })(SearchRequest || (SearchRequest = {}));
19
- export var Bucket;
20
- (function (Bucket) {
21
- Bucket.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
- })(Bucket || (Bucket = {}));
23
- export var BucketInfo;
24
- (function (BucketInfo) {
25
- BucketInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
26
- })(BucketInfo || (BucketInfo = {}));
27
- export var Hit;
28
- (function (Hit) {
29
- Hit.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
- })(Hit || (Hit = {}));
31
- export var Hits;
32
- (function (Hits) {
33
- Hits.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
- })(Hits || (Hits = {}));
35
- export var FieldStats;
36
- (function (FieldStats) {
37
- FieldStats.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
- })(FieldStats || (FieldStats = {}));
39
- export var SearchStatus;
40
- (function (SearchStatus) {
41
- SearchStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
42
- })(SearchStatus || (SearchStatus = {}));
43
- export var SearchResponse;
44
- (function (SearchResponse) {
45
- SearchResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
46
- })(SearchResponse || (SearchResponse = {}));
47
- export var SuggestRequest;
48
- (function (SuggestRequest) {
49
- SuggestRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
- })(SuggestRequest || (SuggestRequest = {}));
51
- export var SuggestStatus;
52
- (function (SuggestStatus) {
53
- SuggestStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
54
- })(SuggestStatus || (SuggestStatus = {}));
55
- export var SuggestionMatch;
56
- (function (SuggestionMatch) {
57
- SuggestionMatch.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
58
- })(SuggestionMatch || (SuggestionMatch = {}));
59
- export var SuggestModel;
60
- (function (SuggestModel) {
61
- SuggestModel.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
62
- })(SuggestModel || (SuggestModel = {}));
63
- export var SuggestResponse;
64
- (function (SuggestResponse) {
65
- SuggestResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
66
- })(SuggestResponse || (SuggestResponse = {}));
67
15
  var DocumentServiceException = (function (_super) {
68
16
  __extends(DocumentServiceException, _super);
69
17
  function DocumentServiceException(opts) {
@@ -77,15 +25,19 @@ var DocumentServiceException = (function (_super) {
77
25
  return DocumentServiceException;
78
26
  }(__BaseException));
79
27
  export { DocumentServiceException };
80
- export var UploadDocumentsRequest;
81
- (function (UploadDocumentsRequest) {
82
- UploadDocumentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
83
- })(UploadDocumentsRequest || (UploadDocumentsRequest = {}));
84
- export var DocumentServiceWarning;
85
- (function (DocumentServiceWarning) {
86
- DocumentServiceWarning.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
- })(DocumentServiceWarning || (DocumentServiceWarning = {}));
88
- export var UploadDocumentsResponse;
89
- (function (UploadDocumentsResponse) {
90
- UploadDocumentsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
- })(UploadDocumentsResponse || (UploadDocumentsResponse = {}));
28
+ export var SearchRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
+ export var BucketFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
+ export var BucketInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
31
+ export var HitFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
32
+ export var HitsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
+ export var FieldStatsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
+ export var SearchStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
35
+ export var SearchResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
+ export var SuggestRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
+ export var SuggestStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
+ export var SuggestionMatchFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
39
+ export var SuggestModelFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
+ export var SuggestResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
+ export var UploadDocumentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
42
+ export var DocumentServiceWarningFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
43
+ export var UploadDocumentsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -286,12 +286,6 @@ export interface SearchRequest {
286
286
  */
287
287
  stats?: string;
288
288
  }
289
- export declare namespace SearchRequest {
290
- /**
291
- * @internal
292
- */
293
- const filterSensitiveLog: (obj: SearchRequest) => any;
294
- }
295
289
  /**
296
290
  * <p>A container for facet information. </p>
297
291
  */
@@ -305,12 +299,6 @@ export interface Bucket {
305
299
  */
306
300
  count?: number;
307
301
  }
308
- export declare namespace Bucket {
309
- /**
310
- * @internal
311
- */
312
- const filterSensitiveLog: (obj: Bucket) => any;
313
- }
314
302
  /**
315
303
  * <p>A container for the calculated facet values and counts.</p>
316
304
  */
@@ -320,12 +308,6 @@ export interface BucketInfo {
320
308
  */
321
309
  buckets?: Bucket[];
322
310
  }
323
- export declare namespace BucketInfo {
324
- /**
325
- * @internal
326
- */
327
- const filterSensitiveLog: (obj: BucketInfo) => any;
328
- }
329
311
  /**
330
312
  * <p>Information about a document that matches the search request.</p>
331
313
  */
@@ -347,12 +329,6 @@ export interface Hit {
347
329
  */
348
330
  highlights?: Record<string, string>;
349
331
  }
350
- export declare namespace Hit {
351
- /**
352
- * @internal
353
- */
354
- const filterSensitiveLog: (obj: Hit) => any;
355
- }
356
332
  /**
357
333
  * <p>The collection of documents that match the search request.</p>
358
334
  */
@@ -374,12 +350,6 @@ export interface Hits {
374
350
  */
375
351
  hit?: Hit[];
376
352
  }
377
- export declare namespace Hits {
378
- /**
379
- * @internal
380
- */
381
- const filterSensitiveLog: (obj: Hits) => any;
382
- }
383
353
  /**
384
354
  * <p>The statistics for a field calculated in the request.</p>
385
355
  */
@@ -420,12 +390,6 @@ export interface FieldStats {
420
390
  */
421
391
  stddev?: number;
422
392
  }
423
- export declare namespace FieldStats {
424
- /**
425
- * @internal
426
- */
427
- const filterSensitiveLog: (obj: FieldStats) => any;
428
- }
429
393
  /**
430
394
  * <p>Contains the resource id (<code>rid</code>) and the time it took to process the request (<code>timems</code>).</p>
431
395
  */
@@ -439,12 +403,6 @@ export interface SearchStatus {
439
403
  */
440
404
  rid?: string;
441
405
  }
442
- export declare namespace SearchStatus {
443
- /**
444
- * @internal
445
- */
446
- const filterSensitiveLog: (obj: SearchStatus) => any;
447
- }
448
406
  /**
449
407
  * <p>The result of a <code>Search</code> request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.</p>
450
408
  */
@@ -466,12 +424,6 @@ export interface SearchResponse {
466
424
  */
467
425
  stats?: Record<string, FieldStats>;
468
426
  }
469
- export declare namespace SearchResponse {
470
- /**
471
- * @internal
472
- */
473
- const filterSensitiveLog: (obj: SearchResponse) => any;
474
- }
475
427
  /**
476
428
  * <p>Container for the parameters to the <code>Suggest</code> request.</p>
477
429
  */
@@ -489,12 +441,6 @@ export interface SuggestRequest {
489
441
  */
490
442
  size?: number;
491
443
  }
492
- export declare namespace SuggestRequest {
493
- /**
494
- * @internal
495
- */
496
- const filterSensitiveLog: (obj: SuggestRequest) => any;
497
- }
498
444
  /**
499
445
  * <p>Contains the resource id (<code>rid</code>) and the time it took to process the request (<code>timems</code>).</p>
500
446
  */
@@ -508,12 +454,6 @@ export interface SuggestStatus {
508
454
  */
509
455
  rid?: string;
510
456
  }
511
- export declare namespace SuggestStatus {
512
- /**
513
- * @internal
514
- */
515
- const filterSensitiveLog: (obj: SuggestStatus) => any;
516
- }
517
457
  /**
518
458
  * <p>An autocomplete suggestion that matches the query string specified in a <code>SuggestRequest</code>. </p>
519
459
  */
@@ -531,12 +471,6 @@ export interface SuggestionMatch {
531
471
  */
532
472
  id?: string;
533
473
  }
534
- export declare namespace SuggestionMatch {
535
- /**
536
- * @internal
537
- */
538
- const filterSensitiveLog: (obj: SuggestionMatch) => any;
539
- }
540
474
  /**
541
475
  * <p>Container for the suggestion information returned in a <code>SuggestResponse</code>.</p>
542
476
  */
@@ -554,12 +488,6 @@ export interface SuggestModel {
554
488
  */
555
489
  suggestions?: SuggestionMatch[];
556
490
  }
557
- export declare namespace SuggestModel {
558
- /**
559
- * @internal
560
- */
561
- const filterSensitiveLog: (obj: SuggestModel) => any;
562
- }
563
491
  /**
564
492
  * <p>Contains the response to a <code>Suggest</code> request.</p>
565
493
  */
@@ -573,12 +501,6 @@ export interface SuggestResponse {
573
501
  */
574
502
  suggest?: SuggestModel;
575
503
  }
576
- export declare namespace SuggestResponse {
577
- /**
578
- * @internal
579
- */
580
- const filterSensitiveLog: (obj: SuggestResponse) => any;
581
- }
582
504
  /**
583
505
  * <p>Information about any problems encountered while processing an upload request.</p>
584
506
  */
@@ -612,12 +534,6 @@ export interface UploadDocumentsRequest {
612
534
  */
613
535
  contentType: ContentType | string | undefined;
614
536
  }
615
- export declare namespace UploadDocumentsRequest {
616
- /**
617
- * @internal
618
- */
619
- const filterSensitiveLog: (obj: UploadDocumentsRequest) => any;
620
- }
621
537
  /**
622
538
  * <p>A warning returned by the document service when an issue is discovered while processing an upload request.</p>
623
539
  */
@@ -627,12 +543,6 @@ export interface DocumentServiceWarning {
627
543
  */
628
544
  message?: string;
629
545
  }
630
- export declare namespace DocumentServiceWarning {
631
- /**
632
- * @internal
633
- */
634
- const filterSensitiveLog: (obj: DocumentServiceWarning) => any;
635
- }
636
546
  /**
637
547
  * <p>Contains the response to an <code>UploadDocuments</code> request.</p>
638
548
  */
@@ -654,9 +564,67 @@ export interface UploadDocumentsResponse {
654
564
  */
655
565
  warnings?: DocumentServiceWarning[];
656
566
  }
657
- export declare namespace UploadDocumentsResponse {
658
- /**
659
- * @internal
660
- */
661
- const filterSensitiveLog: (obj: UploadDocumentsResponse) => any;
662
- }
567
+ /**
568
+ * @internal
569
+ */
570
+ export declare const SearchRequestFilterSensitiveLog: (obj: SearchRequest) => any;
571
+ /**
572
+ * @internal
573
+ */
574
+ export declare const BucketFilterSensitiveLog: (obj: Bucket) => any;
575
+ /**
576
+ * @internal
577
+ */
578
+ export declare const BucketInfoFilterSensitiveLog: (obj: BucketInfo) => any;
579
+ /**
580
+ * @internal
581
+ */
582
+ export declare const HitFilterSensitiveLog: (obj: Hit) => any;
583
+ /**
584
+ * @internal
585
+ */
586
+ export declare const HitsFilterSensitiveLog: (obj: Hits) => any;
587
+ /**
588
+ * @internal
589
+ */
590
+ export declare const FieldStatsFilterSensitiveLog: (obj: FieldStats) => any;
591
+ /**
592
+ * @internal
593
+ */
594
+ export declare const SearchStatusFilterSensitiveLog: (obj: SearchStatus) => any;
595
+ /**
596
+ * @internal
597
+ */
598
+ export declare const SearchResponseFilterSensitiveLog: (obj: SearchResponse) => any;
599
+ /**
600
+ * @internal
601
+ */
602
+ export declare const SuggestRequestFilterSensitiveLog: (obj: SuggestRequest) => any;
603
+ /**
604
+ * @internal
605
+ */
606
+ export declare const SuggestStatusFilterSensitiveLog: (obj: SuggestStatus) => any;
607
+ /**
608
+ * @internal
609
+ */
610
+ export declare const SuggestionMatchFilterSensitiveLog: (obj: SuggestionMatch) => any;
611
+ /**
612
+ * @internal
613
+ */
614
+ export declare const SuggestModelFilterSensitiveLog: (obj: SuggestModel) => any;
615
+ /**
616
+ * @internal
617
+ */
618
+ export declare const SuggestResponseFilterSensitiveLog: (obj: SuggestResponse) => any;
619
+ /**
620
+ * @internal
621
+ */
622
+ export declare const UploadDocumentsRequestFilterSensitiveLog: (obj: UploadDocumentsRequest) => any;
623
+ /**
624
+ * @internal
625
+ */
626
+ export declare const DocumentServiceWarningFilterSensitiveLog: (obj: DocumentServiceWarning) => any;
627
+ /**
628
+ * @internal
629
+ */
630
+ export declare const UploadDocumentsResponseFilterSensitiveLog: (obj: UploadDocumentsResponse) => any;
@@ -41,10 +41,6 @@ export interface SearchRequest {
41
41
 
42
42
  stats?: string;
43
43
  }
44
- export declare namespace SearchRequest {
45
-
46
- const filterSensitiveLog: (obj: SearchRequest) => any;
47
- }
48
44
 
49
45
  export interface Bucket {
50
46
 
@@ -52,19 +48,11 @@ export interface Bucket {
52
48
 
53
49
  count?: number;
54
50
  }
55
- export declare namespace Bucket {
56
-
57
- const filterSensitiveLog: (obj: Bucket) => any;
58
- }
59
51
 
60
52
  export interface BucketInfo {
61
53
 
62
54
  buckets?: Bucket[];
63
55
  }
64
- export declare namespace BucketInfo {
65
-
66
- const filterSensitiveLog: (obj: BucketInfo) => any;
67
- }
68
56
 
69
57
  export interface Hit {
70
58
 
@@ -76,10 +64,6 @@ export interface Hit {
76
64
 
77
65
  highlights?: Record<string, string>;
78
66
  }
79
- export declare namespace Hit {
80
-
81
- const filterSensitiveLog: (obj: Hit) => any;
82
- }
83
67
 
84
68
  export interface Hits {
85
69
 
@@ -91,10 +75,6 @@ export interface Hits {
91
75
 
92
76
  hit?: Hit[];
93
77
  }
94
- export declare namespace Hits {
95
-
96
- const filterSensitiveLog: (obj: Hits) => any;
97
- }
98
78
 
99
79
  export interface FieldStats {
100
80
 
@@ -114,10 +94,6 @@ export interface FieldStats {
114
94
 
115
95
  stddev?: number;
116
96
  }
117
- export declare namespace FieldStats {
118
-
119
- const filterSensitiveLog: (obj: FieldStats) => any;
120
- }
121
97
 
122
98
  export interface SearchStatus {
123
99
 
@@ -125,10 +101,6 @@ export interface SearchStatus {
125
101
 
126
102
  rid?: string;
127
103
  }
128
- export declare namespace SearchStatus {
129
-
130
- const filterSensitiveLog: (obj: SearchStatus) => any;
131
- }
132
104
 
133
105
  export interface SearchResponse {
134
106
 
@@ -140,10 +112,6 @@ export interface SearchResponse {
140
112
 
141
113
  stats?: Record<string, FieldStats>;
142
114
  }
143
- export declare namespace SearchResponse {
144
-
145
- const filterSensitiveLog: (obj: SearchResponse) => any;
146
- }
147
115
 
148
116
  export interface SuggestRequest {
149
117
 
@@ -153,10 +121,6 @@ export interface SuggestRequest {
153
121
 
154
122
  size?: number;
155
123
  }
156
- export declare namespace SuggestRequest {
157
-
158
- const filterSensitiveLog: (obj: SuggestRequest) => any;
159
- }
160
124
 
161
125
  export interface SuggestStatus {
162
126
 
@@ -164,10 +128,6 @@ export interface SuggestStatus {
164
128
 
165
129
  rid?: string;
166
130
  }
167
- export declare namespace SuggestStatus {
168
-
169
- const filterSensitiveLog: (obj: SuggestStatus) => any;
170
- }
171
131
 
172
132
  export interface SuggestionMatch {
173
133
 
@@ -177,10 +137,6 @@ export interface SuggestionMatch {
177
137
 
178
138
  id?: string;
179
139
  }
180
- export declare namespace SuggestionMatch {
181
-
182
- const filterSensitiveLog: (obj: SuggestionMatch) => any;
183
- }
184
140
 
185
141
  export interface SuggestModel {
186
142
 
@@ -190,10 +146,6 @@ export interface SuggestModel {
190
146
 
191
147
  suggestions?: SuggestionMatch[];
192
148
  }
193
- export declare namespace SuggestModel {
194
-
195
- const filterSensitiveLog: (obj: SuggestModel) => any;
196
- }
197
149
 
198
150
  export interface SuggestResponse {
199
151
 
@@ -201,10 +153,6 @@ export interface SuggestResponse {
201
153
 
202
154
  suggest?: SuggestModel;
203
155
  }
204
- export declare namespace SuggestResponse {
205
-
206
- const filterSensitiveLog: (obj: SuggestResponse) => any;
207
- }
208
156
 
209
157
  export declare class DocumentServiceException extends __BaseException {
210
158
  readonly name: "DocumentServiceException";
@@ -222,19 +170,11 @@ export interface UploadDocumentsRequest {
222
170
 
223
171
  contentType: ContentType | string | undefined;
224
172
  }
225
- export declare namespace UploadDocumentsRequest {
226
-
227
- const filterSensitiveLog: (obj: UploadDocumentsRequest) => any;
228
- }
229
173
 
230
174
  export interface DocumentServiceWarning {
231
175
 
232
176
  message?: string;
233
177
  }
234
- export declare namespace DocumentServiceWarning {
235
-
236
- const filterSensitiveLog: (obj: DocumentServiceWarning) => any;
237
- }
238
178
 
239
179
  export interface UploadDocumentsResponse {
240
180
 
@@ -246,7 +186,35 @@ export interface UploadDocumentsResponse {
246
186
 
247
187
  warnings?: DocumentServiceWarning[];
248
188
  }
249
- export declare namespace UploadDocumentsResponse {
250
-
251
- const filterSensitiveLog: (obj: UploadDocumentsResponse) => any;
252
- }
189
+
190
+ export declare const SearchRequestFilterSensitiveLog: (obj: SearchRequest) => any;
191
+
192
+ export declare const BucketFilterSensitiveLog: (obj: Bucket) => any;
193
+
194
+ export declare const BucketInfoFilterSensitiveLog: (obj: BucketInfo) => any;
195
+
196
+ export declare const HitFilterSensitiveLog: (obj: Hit) => any;
197
+
198
+ export declare const HitsFilterSensitiveLog: (obj: Hits) => any;
199
+
200
+ export declare const FieldStatsFilterSensitiveLog: (obj: FieldStats) => any;
201
+
202
+ export declare const SearchStatusFilterSensitiveLog: (obj: SearchStatus) => any;
203
+
204
+ export declare const SearchResponseFilterSensitiveLog: (obj: SearchResponse) => any;
205
+
206
+ export declare const SuggestRequestFilterSensitiveLog: (obj: SuggestRequest) => any;
207
+
208
+ export declare const SuggestStatusFilterSensitiveLog: (obj: SuggestStatus) => any;
209
+
210
+ export declare const SuggestionMatchFilterSensitiveLog: (obj: SuggestionMatch) => any;
211
+
212
+ export declare const SuggestModelFilterSensitiveLog: (obj: SuggestModel) => any;
213
+
214
+ export declare const SuggestResponseFilterSensitiveLog: (obj: SuggestResponse) => any;
215
+
216
+ export declare const UploadDocumentsRequestFilterSensitiveLog: (obj: UploadDocumentsRequest) => any;
217
+
218
+ export declare const DocumentServiceWarningFilterSensitiveLog: (obj: DocumentServiceWarning) => any;
219
+
220
+ export declare const UploadDocumentsResponseFilterSensitiveLog: (obj: UploadDocumentsResponse) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudsearch-domain",
3
3
  "description": "AWS SDK for JavaScript Cloudsearch Domain Client for Node.js, Browser and React Native",
4
- "version": "3.130.0",
4
+ "version": "3.141.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.130.0",
21
+ "@aws-sdk/client-sts": "3.141.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.130.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.141.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.137.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",