@aws-sdk/client-opensearchserverless 3.1076.0 → 3.1078.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 +57 -465
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchGetCollectionCommand.js +2 -14
- package/dist-es/commands/BatchGetCollectionGroupCommand.js +2 -14
- package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/BatchGetVpcEndpointCommand.js +2 -14
- package/dist-es/commands/CreateAccessPolicyCommand.js +2 -14
- package/dist-es/commands/CreateCollectionCommand.js +2 -14
- package/dist-es/commands/CreateCollectionGroupCommand.js +2 -14
- package/dist-es/commands/CreateIndexCommand.js +2 -14
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/CreateSecurityConfigCommand.js +2 -14
- package/dist-es/commands/CreateSecurityPolicyCommand.js +2 -14
- package/dist-es/commands/CreateVpcEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteAccessPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteCollectionCommand.js +2 -14
- package/dist-es/commands/DeleteCollectionGroupCommand.js +2 -14
- package/dist-es/commands/DeleteIndexCommand.js +2 -14
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/DeleteSecurityConfigCommand.js +2 -14
- package/dist-es/commands/DeleteSecurityPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteVpcEndpointCommand.js +2 -14
- package/dist-es/commands/GetAccessPolicyCommand.js +2 -14
- package/dist-es/commands/GetAccountSettingsCommand.js +2 -14
- package/dist-es/commands/GetIndexCommand.js +2 -14
- package/dist-es/commands/GetPoliciesStatsCommand.js +2 -14
- package/dist-es/commands/GetSecurityConfigCommand.js +2 -14
- package/dist-es/commands/GetSecurityPolicyCommand.js +2 -14
- package/dist-es/commands/ListAccessPoliciesCommand.js +2 -14
- package/dist-es/commands/ListCollectionGroupsCommand.js +2 -14
- package/dist-es/commands/ListCollectionsCommand.js +2 -14
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +2 -14
- package/dist-es/commands/ListSecurityConfigsCommand.js +2 -14
- package/dist-es/commands/ListSecurityPoliciesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListVpcEndpointsCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAccessPolicyCommand.js +2 -14
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -14
- package/dist-es/commands/UpdateCollectionCommand.js +2 -14
- package/dist-es/commands/UpdateCollectionGroupCommand.js +2 -14
- package/dist-es/commands/UpdateIndexCommand.js +2 -14
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/UpdateSecurityConfigCommand.js +2 -14
- package/dist-es/commands/UpdateSecurityPolicyCommand.js +2 -14
- package/dist-es/commands/UpdateVpcEndpointCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchGetCollectionCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetCollectionGroupCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +3 -8
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +3 -8
- package/dist-types/commands/CreateCollectionCommand.d.ts +3 -8
- package/dist-types/commands/CreateCollectionGroupCommand.d.ts +3 -8
- package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/CreateSecurityConfigCommand.d.ts +3 -8
- package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +3 -8
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCollectionGroupCommand.d.ts +3 -8
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +3 -8
- package/dist-types/commands/GetAccessPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -8
- package/dist-types/commands/GetIndexCommand.d.ts +3 -8
- package/dist-types/commands/GetPoliciesStatsCommand.d.ts +3 -8
- package/dist-types/commands/GetSecurityConfigCommand.d.ts +3 -8
- package/dist-types/commands/GetSecurityPolicyCommand.d.ts +3 -8
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +3 -8
- package/dist-types/commands/ListCollectionGroupsCommand.d.ts +3 -8
- package/dist-types/commands/ListCollectionsCommand.d.ts +3 -8
- package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +3 -8
- package/dist-types/commands/ListSecurityConfigsCommand.d.ts +3 -8
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCollectionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCollectionGroupCommand.d.ts +3 -8
- package/dist-types/commands/UpdateIndexCommand.d.ts +3 -8
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +3 -8
- package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +3 -8
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/BatchGetCollectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetCollectionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCollectionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSecurityConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSecurityPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCollectionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSecurityConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSecurityPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAccessPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPoliciesStatsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSecurityConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSecurityPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListCollectionGroupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSecurityConfigsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCollectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCollectionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateSecurityConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateSecurityPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListSecurityPolicies$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListSecurityPoliciesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "ListSecurityPolicies", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "ListSecurityPoliciesCommand")
|
|
14
|
-
.sc(ListSecurityPolicies$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListSecurityPoliciesCommand extends command(_ep0, _mw0, "ListSecurityPolicies", ListSecurityPolicies$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "ListTagsForResource", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListVpcEndpoints$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListVpcEndpointsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "ListVpcEndpoints", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "ListVpcEndpointsCommand")
|
|
14
|
-
.sc(ListVpcEndpoints$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListVpcEndpointsCommand extends command(_ep0, _mw0, "ListVpcEndpoints", ListVpcEndpoints$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "TagResource", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UntagResource", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAccessPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAccessPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateAccessPolicy", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateAccessPolicyCommand")
|
|
14
|
-
.sc(UpdateAccessPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAccessPolicyCommand extends command(_ep0, _mw0, "UpdateAccessPolicy", UpdateAccessPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAccountSettings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAccountSettingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateAccountSettings", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateAccountSettingsCommand")
|
|
14
|
-
.sc(UpdateAccountSettings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAccountSettingsCommand extends command(_ep0, _mw0, "UpdateAccountSettings", UpdateAccountSettings$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateCollection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateCollectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateCollection", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateCollectionCommand")
|
|
14
|
-
.sc(UpdateCollection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateCollectionCommand extends command(_ep0, _mw0, "UpdateCollection", UpdateCollection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateCollectionGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateCollectionGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateCollectionGroup", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateCollectionGroupCommand")
|
|
14
|
-
.sc(UpdateCollectionGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateCollectionGroupCommand extends command(_ep0, _mw0, "UpdateCollectionGroup", UpdateCollectionGroup$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateIndex$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateIndexCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateIndex", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateIndexCommand")
|
|
14
|
-
.sc(UpdateIndex$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateIndexCommand extends command(_ep0, _mw0, "UpdateIndex", UpdateIndex$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateLifecyclePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateLifecyclePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateLifecyclePolicy", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateLifecyclePolicyCommand")
|
|
14
|
-
.sc(UpdateLifecyclePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateLifecyclePolicyCommand extends command(_ep0, _mw0, "UpdateLifecyclePolicy", UpdateLifecyclePolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateSecurityConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateSecurityConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateSecurityConfig", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateSecurityConfigCommand")
|
|
14
|
-
.sc(UpdateSecurityConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateSecurityConfigCommand extends command(_ep0, _mw0, "UpdateSecurityConfig", UpdateSecurityConfig$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateSecurityPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateSecurityPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateSecurityPolicy", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateSecurityPolicyCommand")
|
|
14
|
-
.sc(UpdateSecurityPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateSecurityPolicyCommand extends command(_ep0, _mw0, "UpdateSecurityPolicy", UpdateSecurityPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateVpcEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateVpcEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("OpenSearchServerless", "UpdateVpcEndpoint", {})
|
|
13
|
-
.n("OpenSearchServerlessClient", "UpdateVpcEndpointCommand")
|
|
14
|
-
.sc(UpdateVpcEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateVpcEndpointCommand extends command(_ep0, _mw0, "UpdateVpcEndpoint", UpdateVpcEndpoint$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./OpenSearchServerlessClient";
|
|
2
2
|
export * from "./OpenSearchServerless";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "OpenSearchServerless",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "OpenSearchServerless",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./OpenSearchServerlessClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchGetCollectionRequest, BatchGetCollectionResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetCollectionCommandInput extends BatchGetCollectionReques
|
|
|
22
19
|
export interface BatchGetCollectionCommandOutput extends BatchGetCollectionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetCollectionCommand_base: {
|
|
25
|
-
new (input: BatchGetCollectionCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [BatchGetCollectionCommandInput]): import("@smithy/core/client").CommandImpl<BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetCollectionCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [BatchGetCollectionCommandInput]): import("@smithy/core/client").CommandImpl<BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns attributes for one or more collections, including the collection endpoint, the OpenSearch Dashboards endpoint, and FIPS-compliant endpoints. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchGetCollectionGroupRequest, BatchGetCollectionGroupResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetCollectionGroupCommandInput extends BatchGetCollectionG
|
|
|
22
19
|
export interface BatchGetCollectionGroupCommandOutput extends BatchGetCollectionGroupResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetCollectionGroupCommand_base: {
|
|
25
|
-
new (input: BatchGetCollectionGroupCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [BatchGetCollectionGroupCommandInput]): import("@smithy/core/client").CommandImpl<BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetCollectionGroupCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [BatchGetCollectionGroupCommandInput]): import("@smithy/core/client").CommandImpl<BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns attributes for one or more collection groups, including capacity limits and the number of collections in each group. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchGetEffectiveLifecyclePolicyRequest, BatchGetEffectiveLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetEffectiveLifecyclePolicyCommandInput extends BatchGetEf
|
|
|
22
19
|
export interface BatchGetEffectiveLifecyclePolicyCommandOutput extends BatchGetEffectiveLifecyclePolicyResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetEffectiveLifecyclePolicyCommand_base: {
|
|
25
|
-
new (input: BatchGetEffectiveLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetEffectiveLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetEffectiveLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetEffectiveLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-lifecycle.html#serverless-lifecycle-list">Viewing data lifecycle policies</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchGetLifecyclePolicyRequest, BatchGetLifecyclePolicyResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetLifecyclePolicyCommandInput extends BatchGetLifecyclePo
|
|
|
22
19
|
export interface BatchGetLifecyclePolicyCommandOutput extends BatchGetLifecyclePolicyResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetLifecyclePolicyCommand_base: {
|
|
25
|
-
new (input: BatchGetLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetLifecyclePolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-lifecycle.html#serverless-lifecycle-list">Viewing data lifecycle policies</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchGetVpcEndpointRequest, BatchGetVpcEndpointResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetVpcEndpointCommandInput extends BatchGetVpcEndpointRequ
|
|
|
22
19
|
export interface BatchGetVpcEndpointCommandOutput extends BatchGetVpcEndpointResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetVpcEndpointCommand_base: {
|
|
25
|
-
new (input: BatchGetVpcEndpointCommandInput): import("@smithy/core/client").CommandImpl<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetVpcEndpointCommandInput): import("@smithy/core/client").CommandImpl<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetVpcEndpointCommandInput): import("@smithy/core/client").CommandImpl<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetVpcEndpointCommandInput): import("@smithy/core/client").CommandImpl<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns attributes for one or more VPC endpoints associated with the current account. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateAccessPolicyRequest, CreateAccessPolicyResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAccessPolicyCommandInput extends CreateAccessPolicyReques
|
|
|
22
19
|
export interface CreateAccessPolicyCommandOutput extends CreateAccessPolicyResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAccessPolicyCommand_base: {
|
|
25
|
-
new (input: CreateAccessPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAccessPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAccessPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAccessPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data access control for Amazon OpenSearch Serverless</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateCollectionRequest, CreateCollectionResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateCollectionCommandInput extends CreateCollectionRequest {
|
|
|
22
19
|
export interface CreateCollectionCommandOutput extends CreateCollectionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateCollectionCommand_base: {
|
|
25
|
-
new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new OpenSearch Serverless collection. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateCollectionGroupRequest, CreateCollectionGroupResponse } from "../models/models_0";
|
|
4
|
-
import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateCollectionGroupCommandInput extends CreateCollectionGroup
|
|
|
22
19
|
export interface CreateCollectionGroupCommandOutput extends CreateCollectionGroupResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateCollectionGroupCommand_base: {
|
|
25
|
-
new (input: CreateCollectionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateCollectionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateCollectionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCollectionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a collection group within OpenSearch Serverless. Collection groups let you manage OpenSearch Compute Units (OCUs) at a group level, with multiple collections sharing the group's capacity limits.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-collection-groups.html">Managing collection groups</a>.</p>
|