@aws-sdk/client-cloudsearch-domain 3.1137.0 → 3.1138.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/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -253,10 +253,10 @@ const _t = "timems";
|
|
|
253
253
|
const _v = "value";
|
|
254
254
|
const _w = "warnings";
|
|
255
255
|
const n0 = "com.amazonaws.cloudsearchdomain";
|
|
256
|
-
const _s_registry = TypeRegistry
|
|
256
|
+
const _s_registry = new TypeRegistry(_s);
|
|
257
257
|
var CloudSearchDomainServiceException$ = [-3, _s, "CloudSearchDomainServiceException", 0, [], []];
|
|
258
258
|
_s_registry.registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
259
|
-
const n0_registry = TypeRegistry
|
|
259
|
+
const n0_registry = new TypeRegistry(n0);
|
|
260
260
|
var DocumentServiceException$ = [-3, n0, _DSE,
|
|
261
261
|
{ [_e]: _c },
|
|
262
262
|
[_st, _m],
|
|
@@ -89,10 +89,10 @@ const n0 = "com.amazonaws.cloudsearchdomain";
|
|
|
89
89
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
90
|
import { CloudSearchDomainServiceException } from "../models/CloudSearchDomainServiceException";
|
|
91
91
|
import { DocumentServiceException, SearchException } from "../models/errors";
|
|
92
|
-
const _s_registry = TypeRegistry
|
|
92
|
+
const _s_registry = new TypeRegistry(_s);
|
|
93
93
|
export var CloudSearchDomainServiceException$ = [-3, _s, "CloudSearchDomainServiceException", 0, [], []];
|
|
94
94
|
_s_registry.registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
95
|
-
const n0_registry = TypeRegistry
|
|
95
|
+
const n0_registry = new TypeRegistry(n0);
|
|
96
96
|
export var DocumentServiceException$ = [-3, n0, _DSE,
|
|
97
97
|
{ [_e]: _c },
|
|
98
98
|
[_st, _m],
|
|
@@ -1,27 +1,33 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { CloudSearchDomainClient } from "./CloudSearchDomainClient";
|
|
3
3
|
import { type SearchCommandInput, type SearchCommandOutput } from "./commands/SearchCommand";
|
|
4
4
|
import { type SuggestCommandInput, type SuggestCommandOutput } from "./commands/SuggestCommand";
|
|
5
5
|
import { type UploadDocumentsCommandInput, type UploadDocumentsCommandOutput } from "./commands/UploadDocumentsCommand";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface CloudSearchDomainRequestOptions extends __HttpHandlerOptions {
|
|
10
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
11
|
+
}
|
|
6
12
|
export interface CloudSearchDomain {
|
|
7
13
|
/**
|
|
8
14
|
* @see {@link SearchCommand}
|
|
9
15
|
*/
|
|
10
|
-
search(args: SearchCommandInput, options?:
|
|
16
|
+
search(args: SearchCommandInput, options?: CloudSearchDomainRequestOptions): Promise<SearchCommandOutput>;
|
|
11
17
|
search(args: SearchCommandInput, cb: (err: any, data?: SearchCommandOutput) => void): void;
|
|
12
|
-
search(args: SearchCommandInput, options:
|
|
18
|
+
search(args: SearchCommandInput, options: CloudSearchDomainRequestOptions, cb: (err: any, data?: SearchCommandOutput) => void): void;
|
|
13
19
|
/**
|
|
14
20
|
* @see {@link SuggestCommand}
|
|
15
21
|
*/
|
|
16
|
-
suggest(args: SuggestCommandInput, options?:
|
|
22
|
+
suggest(args: SuggestCommandInput, options?: CloudSearchDomainRequestOptions): Promise<SuggestCommandOutput>;
|
|
17
23
|
suggest(args: SuggestCommandInput, cb: (err: any, data?: SuggestCommandOutput) => void): void;
|
|
18
|
-
suggest(args: SuggestCommandInput, options:
|
|
24
|
+
suggest(args: SuggestCommandInput, options: CloudSearchDomainRequestOptions, cb: (err: any, data?: SuggestCommandOutput) => void): void;
|
|
19
25
|
/**
|
|
20
26
|
* @see {@link UploadDocumentsCommand}
|
|
21
27
|
*/
|
|
22
|
-
uploadDocuments(args: UploadDocumentsCommandInput, options?:
|
|
28
|
+
uploadDocuments(args: UploadDocumentsCommandInput, options?: CloudSearchDomainRequestOptions): Promise<UploadDocumentsCommandOutput>;
|
|
23
29
|
uploadDocuments(args: UploadDocumentsCommandInput, cb: (err: any, data?: UploadDocumentsCommandOutput) => void): void;
|
|
24
|
-
uploadDocuments(args: UploadDocumentsCommandInput, options:
|
|
30
|
+
uploadDocuments(args: UploadDocumentsCommandInput, options: CloudSearchDomainRequestOptions, cb: (err: any, data?: UploadDocumentsCommandOutput) => void): void;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* <p>You use the AmazonCloudSearch2013 API to upload documents to a search domain and search those documents. </p>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { CloudSearchDomainClient } from "./CloudSearchDomainClient";
|
|
3
6
|
import { SearchCommandInput, SearchCommandOutput } from "./commands/SearchCommand";
|
|
4
7
|
import { SuggestCommandInput, SuggestCommandOutput } from "./commands/SuggestCommand";
|
|
@@ -6,24 +9,33 @@ import {
|
|
|
6
9
|
UploadDocumentsCommandInput,
|
|
7
10
|
UploadDocumentsCommandOutput,
|
|
8
11
|
} from "./commands/UploadDocumentsCommand";
|
|
12
|
+
export interface CloudSearchDomainRequestOptions extends __HttpHandlerOptions {
|
|
13
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
14
|
+
}
|
|
9
15
|
export interface CloudSearchDomain {
|
|
10
|
-
search(
|
|
16
|
+
search(
|
|
17
|
+
args: SearchCommandInput,
|
|
18
|
+
options?: CloudSearchDomainRequestOptions,
|
|
19
|
+
): Promise<SearchCommandOutput>;
|
|
11
20
|
search(args: SearchCommandInput, cb: (err: any, data?: SearchCommandOutput) => void): void;
|
|
12
21
|
search(
|
|
13
22
|
args: SearchCommandInput,
|
|
14
|
-
options:
|
|
23
|
+
options: CloudSearchDomainRequestOptions,
|
|
15
24
|
cb: (err: any, data?: SearchCommandOutput) => void,
|
|
16
25
|
): void;
|
|
17
|
-
suggest(
|
|
26
|
+
suggest(
|
|
27
|
+
args: SuggestCommandInput,
|
|
28
|
+
options?: CloudSearchDomainRequestOptions,
|
|
29
|
+
): Promise<SuggestCommandOutput>;
|
|
18
30
|
suggest(args: SuggestCommandInput, cb: (err: any, data?: SuggestCommandOutput) => void): void;
|
|
19
31
|
suggest(
|
|
20
32
|
args: SuggestCommandInput,
|
|
21
|
-
options:
|
|
33
|
+
options: CloudSearchDomainRequestOptions,
|
|
22
34
|
cb: (err: any, data?: SuggestCommandOutput) => void,
|
|
23
35
|
): void;
|
|
24
36
|
uploadDocuments(
|
|
25
37
|
args: UploadDocumentsCommandInput,
|
|
26
|
-
options?:
|
|
38
|
+
options?: CloudSearchDomainRequestOptions,
|
|
27
39
|
): Promise<UploadDocumentsCommandOutput>;
|
|
28
40
|
uploadDocuments(
|
|
29
41
|
args: UploadDocumentsCommandInput,
|
|
@@ -31,7 +43,7 @@ export interface CloudSearchDomain {
|
|
|
31
43
|
): void;
|
|
32
44
|
uploadDocuments(
|
|
33
45
|
args: UploadDocumentsCommandInput,
|
|
34
|
-
options:
|
|
46
|
+
options: CloudSearchDomainRequestOptions,
|
|
35
47
|
cb: (err: any, data?: UploadDocumentsCommandOutput) => void,
|
|
36
48
|
): void;
|
|
37
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudsearch-domain",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudsearch Domain Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudsearch-domain",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|