@aws-sdk/client-opensearchserverless 3.968.0 → 3.970.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.
Files changed (61) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +296 -56
  3. package/dist-es/OpenSearchServerless.js +10 -0
  4. package/dist-es/commands/BatchGetCollectionGroupCommand.js +16 -0
  5. package/dist-es/commands/CreateCollectionGroupCommand.js +16 -0
  6. package/dist-es/commands/DeleteCollectionGroupCommand.js +16 -0
  7. package/dist-es/commands/ListCollectionGroupsCommand.js +16 -0
  8. package/dist-es/commands/UpdateCollectionGroupCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/pagination/ListCollectionGroupsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +203 -56
  13. package/dist-types/OpenSearchServerless.d.ts +37 -0
  14. package/dist-types/OpenSearchServerlessClient.d.ts +7 -2
  15. package/dist-types/commands/BatchGetCollectionCommand.d.ts +1 -0
  16. package/dist-types/commands/BatchGetCollectionGroupCommand.d.ts +115 -0
  17. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateCollectionCommand.d.ts +7 -1
  19. package/dist-types/commands/CreateCollectionGroupCommand.d.ts +120 -0
  20. package/dist-types/commands/CreateIndexCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateSecurityConfigCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteCollectionGroupCommand.d.ts +85 -0
  28. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/ListCollectionGroupsCommand.d.ts +96 -0
  33. package/dist-types/commands/ListCollectionsCommand.d.ts +3 -0
  34. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateCollectionCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateCollectionGroupCommand.d.ts +107 -0
  39. package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  43. package/dist-types/commands/index.d.ts +5 -0
  44. package/dist-types/models/errors.d.ts +1 -1
  45. package/dist-types/models/models_0.d.ts +445 -8
  46. package/dist-types/pagination/ListCollectionGroupsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/schemas/schemas_0.d.ts +22 -0
  49. package/dist-types/ts3.4/OpenSearchServerless.d.ts +87 -0
  50. package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +30 -0
  51. package/dist-types/ts3.4/commands/BatchGetCollectionGroupCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/CreateCollectionGroupCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/DeleteCollectionGroupCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/ListCollectionGroupsCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/UpdateCollectionGroupCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +105 -3
  58. package/dist-types/ts3.4/pagination/ListCollectionGroupsPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  61. package/package.json +33 -33
@@ -1,10 +1,12 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BatchGetCollectionCommand, } from "./commands/BatchGetCollectionCommand";
3
+ import { BatchGetCollectionGroupCommand, } from "./commands/BatchGetCollectionGroupCommand";
3
4
  import { BatchGetEffectiveLifecyclePolicyCommand, } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
4
5
  import { BatchGetLifecyclePolicyCommand, } from "./commands/BatchGetLifecyclePolicyCommand";
5
6
  import { BatchGetVpcEndpointCommand, } from "./commands/BatchGetVpcEndpointCommand";
6
7
  import { CreateAccessPolicyCommand, } from "./commands/CreateAccessPolicyCommand";
7
8
  import { CreateCollectionCommand, } from "./commands/CreateCollectionCommand";
9
+ import { CreateCollectionGroupCommand, } from "./commands/CreateCollectionGroupCommand";
8
10
  import { CreateIndexCommand } from "./commands/CreateIndexCommand";
9
11
  import { CreateLifecyclePolicyCommand, } from "./commands/CreateLifecyclePolicyCommand";
10
12
  import { CreateSecurityConfigCommand, } from "./commands/CreateSecurityConfigCommand";
@@ -12,6 +14,7 @@ import { CreateSecurityPolicyCommand, } from "./commands/CreateSecurityPolicyCom
12
14
  import { CreateVpcEndpointCommand, } from "./commands/CreateVpcEndpointCommand";
13
15
  import { DeleteAccessPolicyCommand, } from "./commands/DeleteAccessPolicyCommand";
14
16
  import { DeleteCollectionCommand, } from "./commands/DeleteCollectionCommand";
17
+ import { DeleteCollectionGroupCommand, } from "./commands/DeleteCollectionGroupCommand";
15
18
  import { DeleteIndexCommand } from "./commands/DeleteIndexCommand";
16
19
  import { DeleteLifecyclePolicyCommand, } from "./commands/DeleteLifecyclePolicyCommand";
17
20
  import { DeleteSecurityConfigCommand, } from "./commands/DeleteSecurityConfigCommand";
@@ -24,6 +27,7 @@ import { GetPoliciesStatsCommand, } from "./commands/GetPoliciesStatsCommand";
24
27
  import { GetSecurityConfigCommand, } from "./commands/GetSecurityConfigCommand";
25
28
  import { GetSecurityPolicyCommand, } from "./commands/GetSecurityPolicyCommand";
26
29
  import { ListAccessPoliciesCommand, } from "./commands/ListAccessPoliciesCommand";
30
+ import { ListCollectionGroupsCommand, } from "./commands/ListCollectionGroupsCommand";
27
31
  import { ListCollectionsCommand, } from "./commands/ListCollectionsCommand";
28
32
  import { ListLifecyclePoliciesCommand, } from "./commands/ListLifecyclePoliciesCommand";
29
33
  import { ListSecurityConfigsCommand, } from "./commands/ListSecurityConfigsCommand";
@@ -35,6 +39,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
35
39
  import { UpdateAccessPolicyCommand, } from "./commands/UpdateAccessPolicyCommand";
36
40
  import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
37
41
  import { UpdateCollectionCommand, } from "./commands/UpdateCollectionCommand";
42
+ import { UpdateCollectionGroupCommand, } from "./commands/UpdateCollectionGroupCommand";
38
43
  import { UpdateIndexCommand } from "./commands/UpdateIndexCommand";
39
44
  import { UpdateLifecyclePolicyCommand, } from "./commands/UpdateLifecyclePolicyCommand";
40
45
  import { UpdateSecurityConfigCommand, } from "./commands/UpdateSecurityConfigCommand";
@@ -43,11 +48,13 @@ import { UpdateVpcEndpointCommand, } from "./commands/UpdateVpcEndpointCommand";
43
48
  import { OpenSearchServerlessClient } from "./OpenSearchServerlessClient";
44
49
  const commands = {
45
50
  BatchGetCollectionCommand,
51
+ BatchGetCollectionGroupCommand,
46
52
  BatchGetEffectiveLifecyclePolicyCommand,
47
53
  BatchGetLifecyclePolicyCommand,
48
54
  BatchGetVpcEndpointCommand,
49
55
  CreateAccessPolicyCommand,
50
56
  CreateCollectionCommand,
57
+ CreateCollectionGroupCommand,
51
58
  CreateIndexCommand,
52
59
  CreateLifecyclePolicyCommand,
53
60
  CreateSecurityConfigCommand,
@@ -55,6 +62,7 @@ const commands = {
55
62
  CreateVpcEndpointCommand,
56
63
  DeleteAccessPolicyCommand,
57
64
  DeleteCollectionCommand,
65
+ DeleteCollectionGroupCommand,
58
66
  DeleteIndexCommand,
59
67
  DeleteLifecyclePolicyCommand,
60
68
  DeleteSecurityConfigCommand,
@@ -67,6 +75,7 @@ const commands = {
67
75
  GetSecurityConfigCommand,
68
76
  GetSecurityPolicyCommand,
69
77
  ListAccessPoliciesCommand,
78
+ ListCollectionGroupsCommand,
70
79
  ListCollectionsCommand,
71
80
  ListLifecyclePoliciesCommand,
72
81
  ListSecurityConfigsCommand,
@@ -78,6 +87,7 @@ const commands = {
78
87
  UpdateAccessPolicyCommand,
79
88
  UpdateAccountSettingsCommand,
80
89
  UpdateCollectionCommand,
90
+ UpdateCollectionGroupCommand,
81
91
  UpdateIndexCommand,
82
92
  UpdateLifecyclePolicyCommand,
83
93
  UpdateSecurityConfigCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchGetCollectionGroup$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchGetCollectionGroupCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("OpenSearchServerless", "BatchGetCollectionGroup", {})
13
+ .n("OpenSearchServerlessClient", "BatchGetCollectionGroupCommand")
14
+ .sc(BatchGetCollectionGroup$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateCollectionGroup$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateCollectionGroupCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("OpenSearchServerless", "CreateCollectionGroup", {})
13
+ .n("OpenSearchServerlessClient", "CreateCollectionGroupCommand")
14
+ .sc(CreateCollectionGroup$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteCollectionGroup$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteCollectionGroupCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("OpenSearchServerless", "DeleteCollectionGroup", {})
13
+ .n("OpenSearchServerlessClient", "DeleteCollectionGroupCommand")
14
+ .sc(DeleteCollectionGroup$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListCollectionGroups$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListCollectionGroupsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("OpenSearchServerless", "ListCollectionGroups", {})
13
+ .n("OpenSearchServerlessClient", "ListCollectionGroupsCommand")
14
+ .sc(ListCollectionGroups$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateCollectionGroup$ } from "../schemas/schemas_0";
5
+ export { $Command };
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() {
16
+ }
@@ -1,9 +1,11 @@
1
1
  export * from "./BatchGetCollectionCommand";
2
+ export * from "./BatchGetCollectionGroupCommand";
2
3
  export * from "./BatchGetEffectiveLifecyclePolicyCommand";
3
4
  export * from "./BatchGetLifecyclePolicyCommand";
4
5
  export * from "./BatchGetVpcEndpointCommand";
5
6
  export * from "./CreateAccessPolicyCommand";
6
7
  export * from "./CreateCollectionCommand";
8
+ export * from "./CreateCollectionGroupCommand";
7
9
  export * from "./CreateIndexCommand";
8
10
  export * from "./CreateLifecyclePolicyCommand";
9
11
  export * from "./CreateSecurityConfigCommand";
@@ -11,6 +13,7 @@ export * from "./CreateSecurityPolicyCommand";
11
13
  export * from "./CreateVpcEndpointCommand";
12
14
  export * from "./DeleteAccessPolicyCommand";
13
15
  export * from "./DeleteCollectionCommand";
16
+ export * from "./DeleteCollectionGroupCommand";
14
17
  export * from "./DeleteIndexCommand";
15
18
  export * from "./DeleteLifecyclePolicyCommand";
16
19
  export * from "./DeleteSecurityConfigCommand";
@@ -23,6 +26,7 @@ export * from "./GetPoliciesStatsCommand";
23
26
  export * from "./GetSecurityConfigCommand";
24
27
  export * from "./GetSecurityPolicyCommand";
25
28
  export * from "./ListAccessPoliciesCommand";
29
+ export * from "./ListCollectionGroupsCommand";
26
30
  export * from "./ListCollectionsCommand";
27
31
  export * from "./ListLifecyclePoliciesCommand";
28
32
  export * from "./ListSecurityConfigsCommand";
@@ -34,6 +38,7 @@ export * from "./UntagResourceCommand";
34
38
  export * from "./UpdateAccessPolicyCommand";
35
39
  export * from "./UpdateAccountSettingsCommand";
36
40
  export * from "./UpdateCollectionCommand";
41
+ export * from "./UpdateCollectionGroupCommand";
37
42
  export * from "./UpdateIndexCommand";
38
43
  export * from "./UpdateLifecyclePolicyCommand";
39
44
  export * from "./UpdateSecurityConfigCommand";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCollectionGroupsCommand, } from "../commands/ListCollectionGroupsCommand";
3
+ import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
4
+ export const paginateListCollectionGroups = createPaginator(OpenSearchServerlessClient, ListCollectionGroupsCommand, "nextToken", "nextToken", "");
@@ -1,5 +1,6 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAccessPoliciesPaginator";
3
+ export * from "./ListCollectionGroupsPaginator";
3
4
  export * from "./ListCollectionsPaginator";
4
5
  export * from "./ListLifecyclePoliciesPaginator";
5
6
  export * from "./ListSecurityConfigsPaginator";