@aws-sdk/client-cloudsearch 3.929.0 → 3.931.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 +748 -2576
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CloudSearchClient.js +2 -0
- package/dist-es/commands/BuildSuggestersCommand.js +3 -9
- package/dist-es/commands/CreateDomainCommand.js +3 -9
- package/dist-es/commands/DefineAnalysisSchemeCommand.js +3 -9
- package/dist-es/commands/DefineExpressionCommand.js +3 -9
- package/dist-es/commands/DefineIndexFieldCommand.js +3 -9
- package/dist-es/commands/DefineSuggesterCommand.js +3 -9
- package/dist-es/commands/DeleteAnalysisSchemeCommand.js +3 -9
- package/dist-es/commands/DeleteDomainCommand.js +3 -9
- package/dist-es/commands/DeleteExpressionCommand.js +3 -9
- package/dist-es/commands/DeleteIndexFieldCommand.js +3 -9
- package/dist-es/commands/DeleteSuggesterCommand.js +3 -9
- package/dist-es/commands/DescribeAnalysisSchemesCommand.js +3 -9
- package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +3 -9
- package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +3 -9
- package/dist-es/commands/DescribeDomainsCommand.js +3 -9
- package/dist-es/commands/DescribeExpressionsCommand.js +3 -9
- package/dist-es/commands/DescribeIndexFieldsCommand.js +3 -9
- package/dist-es/commands/DescribeScalingParametersCommand.js +3 -9
- package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeSuggestersCommand.js +3 -9
- package/dist-es/commands/IndexDocumentsCommand.js +3 -9
- package/dist-es/commands/ListDomainNamesCommand.js +3 -9
- package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +3 -9
- package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +3 -9
- package/dist-es/commands/UpdateScalingParametersCommand.js +3 -9
- package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +774 -0
- package/dist-types/CloudSearchClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +129 -0
- package/dist-types/ts3.4/CloudSearchClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_query.js +0 -2473
- package/dist-types/protocols/Aws_query.d.ts +0 -236
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -317
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAvailabilityOptions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAvailabilityOptionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("A9SearchCloudConfigService2013", "UpdateAvailabilityOptions", {})
|
|
17
13
|
.n("CloudSearchClient", "UpdateAvailabilityOptionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAvailabilityOptionsCommand)
|
|
20
|
-
.de(de_UpdateAvailabilityOptionsCommand)
|
|
14
|
+
.sc(UpdateAvailabilityOptions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDomainEndpointOptions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDomainEndpointOptionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("A9SearchCloudConfigService2013", "UpdateDomainEndpointOptions", {})
|
|
17
13
|
.n("CloudSearchClient", "UpdateDomainEndpointOptionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDomainEndpointOptionsCommand)
|
|
20
|
-
.de(de_UpdateDomainEndpointOptionsCommand)
|
|
14
|
+
.sc(UpdateDomainEndpointOptions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateScalingParameters } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateScalingParametersCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("A9SearchCloudConfigService2013", "UpdateScalingParameters", {})
|
|
17
13
|
.n("CloudSearchClient", "UpdateScalingParametersCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateScalingParametersCommand)
|
|
20
|
-
.de(de_UpdateScalingParametersCommand)
|
|
14
|
+
.sc(UpdateScalingParameters)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateServiceAccessPolicies } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateServiceAccessPoliciesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("A9SearchCloudConfigService2013", "UpdateServiceAccessPolicies", {})
|
|
17
13
|
.n("CloudSearchClient", "UpdateServiceAccessPoliciesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateServiceAccessPoliciesCommand)
|
|
20
|
-
.de(de_UpdateServiceAccessPoliciesCommand)
|
|
14
|
+
.sc(UpdateServiceAccessPolicies)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsQueryProtocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudsearch",
|
|
29
|
+
xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
|
30
|
+
version: "2013-01-01",
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "CloudSearch",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|