@aws-sdk/client-opensearchserverless 3.952.0 → 3.954.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 +573 -363
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/BatchGetCollectionCommand.js +2 -2
- package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +2 -2
- package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +2 -2
- package/dist-es/commands/BatchGetVpcEndpointCommand.js +2 -2
- package/dist-es/commands/CreateAccessPolicyCommand.js +2 -2
- package/dist-es/commands/CreateCollectionCommand.js +2 -2
- package/dist-es/commands/CreateIndexCommand.js +2 -2
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +2 -2
- package/dist-es/commands/CreateSecurityConfigCommand.js +2 -2
- package/dist-es/commands/CreateSecurityPolicyCommand.js +2 -2
- package/dist-es/commands/CreateVpcEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteAccessPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteCollectionCommand.js +2 -2
- package/dist-es/commands/DeleteIndexCommand.js +2 -2
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteSecurityConfigCommand.js +2 -2
- package/dist-es/commands/DeleteSecurityPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteVpcEndpointCommand.js +2 -2
- package/dist-es/commands/GetAccessPolicyCommand.js +2 -2
- package/dist-es/commands/GetAccountSettingsCommand.js +2 -2
- package/dist-es/commands/GetIndexCommand.js +2 -2
- package/dist-es/commands/GetPoliciesStatsCommand.js +2 -2
- package/dist-es/commands/GetSecurityConfigCommand.js +2 -2
- package/dist-es/commands/GetSecurityPolicyCommand.js +2 -2
- package/dist-es/commands/ListAccessPoliciesCommand.js +2 -2
- package/dist-es/commands/ListCollectionsCommand.js +2 -2
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +2 -2
- package/dist-es/commands/ListSecurityConfigsCommand.js +2 -2
- package/dist-es/commands/ListSecurityPoliciesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListVpcEndpointsCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAccessPolicyCommand.js +2 -2
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateCollectionCommand.js +2 -2
- package/dist-es/commands/UpdateIndexCommand.js +2 -2
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +2 -2
- package/dist-es/commands/UpdateSecurityConfigCommand.js +2 -2
- package/dist-es/commands/UpdateSecurityPolicyCommand.js +2 -2
- package/dist-es/commands/UpdateVpcEndpointCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +351 -312
- package/dist-types/OpenSearchServerlessClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +172 -197
- package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +171 -197
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateCollection } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateCollection$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateCollectionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateCollectionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("OpenSearchServerless", "UpdateCollection", {})
|
|
13
13
|
.n("OpenSearchServerlessClient", "UpdateCollectionCommand")
|
|
14
|
-
.sc(UpdateCollection)
|
|
14
|
+
.sc(UpdateCollection$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateIndex } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateIndex$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateIndexCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateIndexCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("OpenSearchServerless", "UpdateIndex", {})
|
|
13
13
|
.n("OpenSearchServerlessClient", "UpdateIndexCommand")
|
|
14
|
-
.sc(UpdateIndex)
|
|
14
|
+
.sc(UpdateIndex$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateLifecyclePolicy } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateLifecyclePolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateLifecyclePolicyCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateLifecyclePolicyCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("OpenSearchServerless", "UpdateLifecyclePolicy", {})
|
|
13
13
|
.n("OpenSearchServerlessClient", "UpdateLifecyclePolicyCommand")
|
|
14
|
-
.sc(UpdateLifecyclePolicy)
|
|
14
|
+
.sc(UpdateLifecyclePolicy$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSecurityConfig } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSecurityConfig$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSecurityConfigCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSecurityConfigCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("OpenSearchServerless", "UpdateSecurityConfig", {})
|
|
13
13
|
.n("OpenSearchServerlessClient", "UpdateSecurityConfigCommand")
|
|
14
|
-
.sc(UpdateSecurityConfig)
|
|
14
|
+
.sc(UpdateSecurityConfig$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSecurityPolicy } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSecurityPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSecurityPolicyCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSecurityPolicyCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("OpenSearchServerless", "UpdateSecurityPolicy", {})
|
|
13
13
|
.n("OpenSearchServerlessClient", "UpdateSecurityPolicyCommand")
|
|
14
|
-
.sc(UpdateSecurityPolicy)
|
|
14
|
+
.sc(UpdateSecurityPolicy$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateVpcEndpoint } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateVpcEndpoint$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateVpcEndpointCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateVpcEndpointCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("OpenSearchServerless", "UpdateVpcEndpoint", {})
|
|
13
13
|
.n("OpenSearchServerlessClient", "UpdateVpcEndpointCommand")
|
|
14
|
-
.sc(UpdateVpcEndpoint)
|
|
14
|
+
.sc(UpdateVpcEndpoint$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.opensearchserverless",
|
|
29
|
+
version: "2021-11-01",
|
|
30
|
+
serviceTarget: "OpenSearchServerless",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "OpenSearchServerless",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|