@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 type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
3
+ import { BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput } from "./commands/BatchGetCollectionGroupCommand";
3
4
  import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
4
5
  import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "./commands/BatchGetLifecyclePolicyCommand";
5
6
  import { BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput } from "./commands/BatchGetVpcEndpointCommand";
6
7
  import { CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput } from "./commands/CreateAccessPolicyCommand";
7
8
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
9
+ import { CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput } from "./commands/CreateCollectionGroupCommand";
8
10
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
9
11
  import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
10
12
  import { CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput } from "./commands/CreateSecurityConfigCommand";
@@ -12,6 +14,7 @@ import { CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput } f
12
14
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
13
15
  import { DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput } from "./commands/DeleteAccessPolicyCommand";
14
16
  import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./commands/DeleteCollectionCommand";
17
+ import { DeleteCollectionGroupCommandInput, DeleteCollectionGroupCommandOutput } from "./commands/DeleteCollectionGroupCommand";
15
18
  import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
16
19
  import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
17
20
  import { DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput } from "./commands/DeleteSecurityConfigCommand";
@@ -24,6 +27,7 @@ import { GetPoliciesStatsCommandInput, GetPoliciesStatsCommandOutput } from "./c
24
27
  import { GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput } from "./commands/GetSecurityConfigCommand";
25
28
  import { GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput } from "./commands/GetSecurityPolicyCommand";
26
29
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
30
+ import { ListCollectionGroupsCommandInput, ListCollectionGroupsCommandOutput } from "./commands/ListCollectionGroupsCommand";
27
31
  import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./commands/ListCollectionsCommand";
28
32
  import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
29
33
  import { ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput } from "./commands/ListSecurityConfigsCommand";
@@ -35,6 +39,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
35
39
  import { UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput } from "./commands/UpdateAccessPolicyCommand";
36
40
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
37
41
  import { UpdateCollectionCommandInput, UpdateCollectionCommandOutput } from "./commands/UpdateCollectionCommand";
42
+ import { UpdateCollectionGroupCommandInput, UpdateCollectionGroupCommandOutput } from "./commands/UpdateCollectionGroupCommand";
38
43
  import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
39
44
  import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
40
45
  import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } from "./commands/UpdateSecurityConfigCommand";
@@ -49,6 +54,13 @@ export interface OpenSearchServerless {
49
54
  batchGetCollection(args: BatchGetCollectionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCollectionCommandOutput>;
50
55
  batchGetCollection(args: BatchGetCollectionCommandInput, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
51
56
  batchGetCollection(args: BatchGetCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
57
+ /**
58
+ * @see {@link BatchGetCollectionGroupCommand}
59
+ */
60
+ batchGetCollectionGroup(): Promise<BatchGetCollectionGroupCommandOutput>;
61
+ batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCollectionGroupCommandOutput>;
62
+ batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, cb: (err: any, data?: BatchGetCollectionGroupCommandOutput) => void): void;
63
+ batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCollectionGroupCommandOutput) => void): void;
52
64
  /**
53
65
  * @see {@link BatchGetEffectiveLifecyclePolicyCommand}
54
66
  */
@@ -79,6 +91,12 @@ export interface OpenSearchServerless {
79
91
  createCollection(args: CreateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionCommandOutput>;
80
92
  createCollection(args: CreateCollectionCommandInput, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
81
93
  createCollection(args: CreateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
94
+ /**
95
+ * @see {@link CreateCollectionGroupCommand}
96
+ */
97
+ createCollectionGroup(args: CreateCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionGroupCommandOutput>;
98
+ createCollectionGroup(args: CreateCollectionGroupCommandInput, cb: (err: any, data?: CreateCollectionGroupCommandOutput) => void): void;
99
+ createCollectionGroup(args: CreateCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionGroupCommandOutput) => void): void;
82
100
  /**
83
101
  * @see {@link CreateIndexCommand}
84
102
  */
@@ -121,6 +139,12 @@ export interface OpenSearchServerless {
121
139
  deleteCollection(args: DeleteCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollectionCommandOutput>;
122
140
  deleteCollection(args: DeleteCollectionCommandInput, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
123
141
  deleteCollection(args: DeleteCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
142
+ /**
143
+ * @see {@link DeleteCollectionGroupCommand}
144
+ */
145
+ deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollectionGroupCommandOutput>;
146
+ deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, cb: (err: any, data?: DeleteCollectionGroupCommandOutput) => void): void;
147
+ deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollectionGroupCommandOutput) => void): void;
124
148
  /**
125
149
  * @see {@link DeleteIndexCommand}
126
150
  */
@@ -195,6 +219,13 @@ export interface OpenSearchServerless {
195
219
  listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPoliciesCommandOutput>;
196
220
  listAccessPolicies(args: ListAccessPoliciesCommandInput, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
197
221
  listAccessPolicies(args: ListAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
222
+ /**
223
+ * @see {@link ListCollectionGroupsCommand}
224
+ */
225
+ listCollectionGroups(): Promise<ListCollectionGroupsCommandOutput>;
226
+ listCollectionGroups(args: ListCollectionGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectionGroupsCommandOutput>;
227
+ listCollectionGroups(args: ListCollectionGroupsCommandInput, cb: (err: any, data?: ListCollectionGroupsCommandOutput) => void): void;
228
+ listCollectionGroups(args: ListCollectionGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectionGroupsCommandOutput) => void): void;
198
229
  /**
199
230
  * @see {@link ListCollectionsCommand}
200
231
  */
@@ -264,6 +295,12 @@ export interface OpenSearchServerless {
264
295
  updateCollection(args: UpdateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollectionCommandOutput>;
265
296
  updateCollection(args: UpdateCollectionCommandInput, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
266
297
  updateCollection(args: UpdateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
298
+ /**
299
+ * @see {@link UpdateCollectionGroupCommand}
300
+ */
301
+ updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollectionGroupCommandOutput>;
302
+ updateCollectionGroup(args: UpdateCollectionGroupCommandInput, cb: (err: any, data?: UpdateCollectionGroupCommandOutput) => void): void;
303
+ updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollectionGroupCommandOutput) => void): void;
267
304
  /**
268
305
  * @see {@link UpdateIndexCommand}
269
306
  */
@@ -8,11 +8,13 @@ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __Smit
8
8
  import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
11
+ import { BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput } from "./commands/BatchGetCollectionGroupCommand";
11
12
  import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
12
13
  import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "./commands/BatchGetLifecyclePolicyCommand";
13
14
  import { BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput } from "./commands/BatchGetVpcEndpointCommand";
14
15
  import { CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput } from "./commands/CreateAccessPolicyCommand";
15
16
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
17
+ import { CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput } from "./commands/CreateCollectionGroupCommand";
16
18
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
17
19
  import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
18
20
  import { CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput } from "./commands/CreateSecurityConfigCommand";
@@ -20,6 +22,7 @@ import { CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput } f
20
22
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
21
23
  import { DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput } from "./commands/DeleteAccessPolicyCommand";
22
24
  import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./commands/DeleteCollectionCommand";
25
+ import { DeleteCollectionGroupCommandInput, DeleteCollectionGroupCommandOutput } from "./commands/DeleteCollectionGroupCommand";
23
26
  import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
24
27
  import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
25
28
  import { DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput } from "./commands/DeleteSecurityConfigCommand";
@@ -32,6 +35,7 @@ import { GetPoliciesStatsCommandInput, GetPoliciesStatsCommandOutput } from "./c
32
35
  import { GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput } from "./commands/GetSecurityConfigCommand";
33
36
  import { GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput } from "./commands/GetSecurityPolicyCommand";
34
37
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
38
+ import { ListCollectionGroupsCommandInput, ListCollectionGroupsCommandOutput } from "./commands/ListCollectionGroupsCommand";
35
39
  import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./commands/ListCollectionsCommand";
36
40
  import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
37
41
  import { ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput } from "./commands/ListSecurityConfigsCommand";
@@ -43,6 +47,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
43
47
  import { UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput } from "./commands/UpdateAccessPolicyCommand";
44
48
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
45
49
  import { UpdateCollectionCommandInput, UpdateCollectionCommandOutput } from "./commands/UpdateCollectionCommand";
50
+ import { UpdateCollectionGroupCommandInput, UpdateCollectionGroupCommandOutput } from "./commands/UpdateCollectionGroupCommand";
46
51
  import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
47
52
  import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
48
53
  import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } from "./commands/UpdateSecurityConfigCommand";
@@ -54,11 +59,11 @@ export { __Client };
54
59
  /**
55
60
  * @public
56
61
  */
57
- export type ServiceInputTypes = BatchGetCollectionCommandInput | BatchGetEffectiveLifecyclePolicyCommandInput | BatchGetLifecyclePolicyCommandInput | BatchGetVpcEndpointCommandInput | CreateAccessPolicyCommandInput | CreateCollectionCommandInput | CreateIndexCommandInput | CreateLifecyclePolicyCommandInput | CreateSecurityConfigCommandInput | CreateSecurityPolicyCommandInput | CreateVpcEndpointCommandInput | DeleteAccessPolicyCommandInput | DeleteCollectionCommandInput | DeleteIndexCommandInput | DeleteLifecyclePolicyCommandInput | DeleteSecurityConfigCommandInput | DeleteSecurityPolicyCommandInput | DeleteVpcEndpointCommandInput | GetAccessPolicyCommandInput | GetAccountSettingsCommandInput | GetIndexCommandInput | GetPoliciesStatsCommandInput | GetSecurityConfigCommandInput | GetSecurityPolicyCommandInput | ListAccessPoliciesCommandInput | ListCollectionsCommandInput | ListLifecyclePoliciesCommandInput | ListSecurityConfigsCommandInput | ListSecurityPoliciesCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessPolicyCommandInput | UpdateAccountSettingsCommandInput | UpdateCollectionCommandInput | UpdateIndexCommandInput | UpdateLifecyclePolicyCommandInput | UpdateSecurityConfigCommandInput | UpdateSecurityPolicyCommandInput | UpdateVpcEndpointCommandInput;
62
+ export type ServiceInputTypes = BatchGetCollectionCommandInput | BatchGetCollectionGroupCommandInput | BatchGetEffectiveLifecyclePolicyCommandInput | BatchGetLifecyclePolicyCommandInput | BatchGetVpcEndpointCommandInput | CreateAccessPolicyCommandInput | CreateCollectionCommandInput | CreateCollectionGroupCommandInput | CreateIndexCommandInput | CreateLifecyclePolicyCommandInput | CreateSecurityConfigCommandInput | CreateSecurityPolicyCommandInput | CreateVpcEndpointCommandInput | DeleteAccessPolicyCommandInput | DeleteCollectionCommandInput | DeleteCollectionGroupCommandInput | DeleteIndexCommandInput | DeleteLifecyclePolicyCommandInput | DeleteSecurityConfigCommandInput | DeleteSecurityPolicyCommandInput | DeleteVpcEndpointCommandInput | GetAccessPolicyCommandInput | GetAccountSettingsCommandInput | GetIndexCommandInput | GetPoliciesStatsCommandInput | GetSecurityConfigCommandInput | GetSecurityPolicyCommandInput | ListAccessPoliciesCommandInput | ListCollectionGroupsCommandInput | ListCollectionsCommandInput | ListLifecyclePoliciesCommandInput | ListSecurityConfigsCommandInput | ListSecurityPoliciesCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessPolicyCommandInput | UpdateAccountSettingsCommandInput | UpdateCollectionCommandInput | UpdateCollectionGroupCommandInput | UpdateIndexCommandInput | UpdateLifecyclePolicyCommandInput | UpdateSecurityConfigCommandInput | UpdateSecurityPolicyCommandInput | UpdateVpcEndpointCommandInput;
58
63
  /**
59
64
  * @public
60
65
  */
61
- export type ServiceOutputTypes = BatchGetCollectionCommandOutput | BatchGetEffectiveLifecyclePolicyCommandOutput | BatchGetLifecyclePolicyCommandOutput | BatchGetVpcEndpointCommandOutput | CreateAccessPolicyCommandOutput | CreateCollectionCommandOutput | CreateIndexCommandOutput | CreateLifecyclePolicyCommandOutput | CreateSecurityConfigCommandOutput | CreateSecurityPolicyCommandOutput | CreateVpcEndpointCommandOutput | DeleteAccessPolicyCommandOutput | DeleteCollectionCommandOutput | DeleteIndexCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteSecurityConfigCommandOutput | DeleteSecurityPolicyCommandOutput | DeleteVpcEndpointCommandOutput | GetAccessPolicyCommandOutput | GetAccountSettingsCommandOutput | GetIndexCommandOutput | GetPoliciesStatsCommandOutput | GetSecurityConfigCommandOutput | GetSecurityPolicyCommandOutput | ListAccessPoliciesCommandOutput | ListCollectionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListSecurityConfigsCommandOutput | ListSecurityPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessPolicyCommandOutput | UpdateAccountSettingsCommandOutput | UpdateCollectionCommandOutput | UpdateIndexCommandOutput | UpdateLifecyclePolicyCommandOutput | UpdateSecurityConfigCommandOutput | UpdateSecurityPolicyCommandOutput | UpdateVpcEndpointCommandOutput;
66
+ export type ServiceOutputTypes = BatchGetCollectionCommandOutput | BatchGetCollectionGroupCommandOutput | BatchGetEffectiveLifecyclePolicyCommandOutput | BatchGetLifecyclePolicyCommandOutput | BatchGetVpcEndpointCommandOutput | CreateAccessPolicyCommandOutput | CreateCollectionCommandOutput | CreateCollectionGroupCommandOutput | CreateIndexCommandOutput | CreateLifecyclePolicyCommandOutput | CreateSecurityConfigCommandOutput | CreateSecurityPolicyCommandOutput | CreateVpcEndpointCommandOutput | DeleteAccessPolicyCommandOutput | DeleteCollectionCommandOutput | DeleteCollectionGroupCommandOutput | DeleteIndexCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteSecurityConfigCommandOutput | DeleteSecurityPolicyCommandOutput | DeleteVpcEndpointCommandOutput | GetAccessPolicyCommandOutput | GetAccountSettingsCommandOutput | GetIndexCommandOutput | GetPoliciesStatsCommandOutput | GetSecurityConfigCommandOutput | GetSecurityPolicyCommandOutput | ListAccessPoliciesCommandOutput | ListCollectionGroupsCommandOutput | ListCollectionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListSecurityConfigsCommandOutput | ListSecurityPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessPolicyCommandOutput | UpdateAccountSettingsCommandOutput | UpdateCollectionCommandOutput | UpdateCollectionGroupCommandOutput | UpdateIndexCommandOutput | UpdateLifecyclePolicyCommandOutput | UpdateSecurityConfigCommandOutput | UpdateSecurityPolicyCommandOutput | UpdateVpcEndpointCommandOutput;
62
67
  /**
63
68
  * @public
64
69
  */
@@ -70,6 +70,7 @@ declare const BatchGetCollectionCommand_base: {
70
70
  * // },
71
71
  * // failureCode: "STRING_VALUE",
72
72
  * // failureMessage: "STRING_VALUE",
73
+ * // collectionGroupName: "STRING_VALUE",
73
74
  * // },
74
75
  * // ],
75
76
  * // collectionErrorDetails: [ // CollectionErrorDetails
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BatchGetCollectionGroupRequest, BatchGetCollectionGroupResponse } from "../models/models_0";
4
+ import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetCollectionGroupCommand}.
14
+ */
15
+ export interface BatchGetCollectionGroupCommandInput extends BatchGetCollectionGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetCollectionGroupCommand}.
21
+ */
22
+ export interface BatchGetCollectionGroupCommandOutput extends BatchGetCollectionGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchGetCollectionGroupCommand_base: {
25
+ new (input: BatchGetCollectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [BatchGetCollectionGroupCommandInput]): import("@smithy/smithy-client").CommandImpl<BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <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>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchServerlessClient, BatchGetCollectionGroupCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
35
+ * // const { OpenSearchServerlessClient, BatchGetCollectionGroupCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
36
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
37
+ * const config = {}; // type is OpenSearchServerlessClientConfig
38
+ * const client = new OpenSearchServerlessClient(config);
39
+ * const input = { // BatchGetCollectionGroupRequest
40
+ * ids: [ // CollectionGroupIds
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * names: [ // CollectionGroupNames
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
47
+ * const command = new BatchGetCollectionGroupCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // BatchGetCollectionGroupResponse
50
+ * // collectionGroupDetails: [ // CollectionGroupDetails
51
+ * // { // CollectionGroupDetail
52
+ * // id: "STRING_VALUE",
53
+ * // arn: "STRING_VALUE",
54
+ * // name: "STRING_VALUE",
55
+ * // standbyReplicas: "STRING_VALUE",
56
+ * // description: "STRING_VALUE",
57
+ * // tags: [ // Tags
58
+ * // { // Tag
59
+ * // key: "STRING_VALUE", // required
60
+ * // value: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // createdDate: Number("long"),
64
+ * // capacityLimits: { // CollectionGroupCapacityLimits
65
+ * // maxIndexingCapacityInOCU: Number("float"),
66
+ * // maxSearchCapacityInOCU: Number("float"),
67
+ * // minIndexingCapacityInOCU: Number("float"),
68
+ * // minSearchCapacityInOCU: Number("float"),
69
+ * // },
70
+ * // numberOfCollections: Number("int"),
71
+ * // },
72
+ * // ],
73
+ * // collectionGroupErrorDetails: [ // CollectionGroupErrorDetails
74
+ * // { // CollectionGroupErrorDetail
75
+ * // id: "STRING_VALUE",
76
+ * // name: "STRING_VALUE",
77
+ * // errorMessage: "STRING_VALUE",
78
+ * // errorCode: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param BatchGetCollectionGroupCommandInput - {@link BatchGetCollectionGroupCommandInput}
86
+ * @returns {@link BatchGetCollectionGroupCommandOutput}
87
+ * @see {@link BatchGetCollectionGroupCommandInput} for command's `input` shape.
88
+ * @see {@link BatchGetCollectionGroupCommandOutput} for command's `response` shape.
89
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
90
+ *
91
+ * @throws {@link InternalServerException} (server fault)
92
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
96
+ *
97
+ * @throws {@link OpenSearchServerlessServiceException}
98
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
99
+ *
100
+ *
101
+ * @public
102
+ */
103
+ export declare class BatchGetCollectionGroupCommand extends BatchGetCollectionGroupCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: BatchGetCollectionGroupRequest;
108
+ output: BatchGetCollectionGroupResponse;
109
+ };
110
+ sdk: {
111
+ input: BatchGetCollectionGroupCommandInput;
112
+ output: BatchGetCollectionGroupCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -66,7 +66,7 @@ declare const CreateAccessPolicyCommand_base: {
66
66
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
67
67
  *
68
68
  * @throws {@link ConflictException} (client fault)
69
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
69
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
70
70
  *
71
71
  * @throws {@link InternalServerException} (server fault)
72
72
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -50,6 +50,11 @@ declare const CreateCollectionCommand_base: {
50
50
  * vectorOptions: { // VectorOptions
51
51
  * ServerlessVectorAcceleration: "STRING_VALUE", // required
52
52
  * },
53
+ * collectionGroupName: "STRING_VALUE",
54
+ * encryptionConfig: { // EncryptionConfig
55
+ * aWSOwnedKey: true || false,
56
+ * kmsKeyArn: "STRING_VALUE",
57
+ * },
53
58
  * clientToken: "STRING_VALUE",
54
59
  * };
55
60
  * const command = new CreateCollectionCommand(input);
@@ -69,6 +74,7 @@ declare const CreateCollectionCommand_base: {
69
74
  * // },
70
75
  * // createdDate: Number("long"),
71
76
  * // lastModifiedDate: Number("long"),
77
+ * // collectionGroupName: "STRING_VALUE",
72
78
  * // },
73
79
  * // };
74
80
  *
@@ -81,7 +87,7 @@ declare const CreateCollectionCommand_base: {
81
87
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
82
88
  *
83
89
  * @throws {@link ConflictException} (client fault)
84
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
90
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
85
91
  *
86
92
  * @throws {@link InternalServerException} (server fault)
87
93
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateCollectionGroupRequest, CreateCollectionGroupResponse } from "../models/models_0";
4
+ import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateCollectionGroupCommand}.
14
+ */
15
+ export interface CreateCollectionGroupCommandInput extends CreateCollectionGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateCollectionGroupCommand}.
21
+ */
22
+ export interface CreateCollectionGroupCommandOutput extends CreateCollectionGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateCollectionGroupCommand_base: {
25
+ new (input: CreateCollectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateCollectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCollectionGroupCommandInput, CreateCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <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>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchServerlessClient, CreateCollectionGroupCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
35
+ * // const { OpenSearchServerlessClient, CreateCollectionGroupCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
36
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
37
+ * const config = {}; // type is OpenSearchServerlessClientConfig
38
+ * const client = new OpenSearchServerlessClient(config);
39
+ * const input = { // CreateCollectionGroupRequest
40
+ * name: "STRING_VALUE", // required
41
+ * standbyReplicas: "STRING_VALUE", // required
42
+ * description: "STRING_VALUE",
43
+ * tags: [ // Tags
44
+ * { // Tag
45
+ * key: "STRING_VALUE", // required
46
+ * value: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * capacityLimits: { // CollectionGroupCapacityLimits
50
+ * maxIndexingCapacityInOCU: Number("float"),
51
+ * maxSearchCapacityInOCU: Number("float"),
52
+ * minIndexingCapacityInOCU: Number("float"),
53
+ * minSearchCapacityInOCU: Number("float"),
54
+ * },
55
+ * clientToken: "STRING_VALUE",
56
+ * };
57
+ * const command = new CreateCollectionGroupCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // CreateCollectionGroupResponse
60
+ * // createCollectionGroupDetail: { // CreateCollectionGroupDetail
61
+ * // id: "STRING_VALUE",
62
+ * // arn: "STRING_VALUE",
63
+ * // name: "STRING_VALUE",
64
+ * // standbyReplicas: "STRING_VALUE",
65
+ * // description: "STRING_VALUE",
66
+ * // tags: [ // Tags
67
+ * // { // Tag
68
+ * // key: "STRING_VALUE", // required
69
+ * // value: "STRING_VALUE", // required
70
+ * // },
71
+ * // ],
72
+ * // createdDate: Number("long"),
73
+ * // capacityLimits: { // CollectionGroupCapacityLimits
74
+ * // maxIndexingCapacityInOCU: Number("float"),
75
+ * // maxSearchCapacityInOCU: Number("float"),
76
+ * // minIndexingCapacityInOCU: Number("float"),
77
+ * // minSearchCapacityInOCU: Number("float"),
78
+ * // },
79
+ * // },
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param CreateCollectionGroupCommandInput - {@link CreateCollectionGroupCommandInput}
85
+ * @returns {@link CreateCollectionGroupCommandOutput}
86
+ * @see {@link CreateCollectionGroupCommandInput} for command's `input` shape.
87
+ * @see {@link CreateCollectionGroupCommandOutput} for command's `response` shape.
88
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
89
+ *
90
+ * @throws {@link ConflictException} (client fault)
91
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
92
+ *
93
+ * @throws {@link InternalServerException} (server fault)
94
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
95
+ *
96
+ * @throws {@link ServiceQuotaExceededException} (client fault)
97
+ * <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
98
+ *
99
+ * @throws {@link ValidationException} (client fault)
100
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
101
+ *
102
+ * @throws {@link OpenSearchServerlessServiceException}
103
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
104
+ *
105
+ *
106
+ * @public
107
+ */
108
+ export declare class CreateCollectionGroupCommand extends CreateCollectionGroupCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: CreateCollectionGroupRequest;
113
+ output: CreateCollectionGroupResponse;
114
+ };
115
+ sdk: {
116
+ input: CreateCollectionGroupCommandInput;
117
+ output: CreateCollectionGroupCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -54,7 +54,7 @@ declare const CreateIndexCommand_base: {
54
54
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
55
55
  *
56
56
  * @throws {@link ConflictException} (client fault)
57
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
57
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
58
58
  *
59
59
  * @throws {@link InternalServerException} (server fault)
60
60
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -66,7 +66,7 @@ declare const CreateLifecyclePolicyCommand_base: {
66
66
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
67
67
  *
68
68
  * @throws {@link ConflictException} (client fault)
69
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
69
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
70
70
  *
71
71
  * @throws {@link InternalServerException} (server fault)
72
72
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -99,7 +99,7 @@ declare const CreateSecurityConfigCommand_base: {
99
99
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
100
100
  *
101
101
  * @throws {@link ConflictException} (client fault)
102
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
102
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
103
103
  *
104
104
  * @throws {@link InternalServerException} (server fault)
105
105
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -66,7 +66,7 @@ declare const CreateSecurityPolicyCommand_base: {
66
66
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
67
67
  *
68
68
  * @throws {@link ConflictException} (client fault)
69
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
69
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
70
70
  *
71
71
  * @throws {@link InternalServerException} (server fault)
72
72
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -66,7 +66,7 @@ declare const CreateVpcEndpointCommand_base: {
66
66
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
67
67
  *
68
68
  * @throws {@link ConflictException} (client fault)
69
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
69
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
70
70
  *
71
71
  * @throws {@link InternalServerException} (server fault)
72
72
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -54,7 +54,7 @@ declare const DeleteAccessPolicyCommand_base: {
54
54
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
55
55
  *
56
56
  * @throws {@link ConflictException} (client fault)
57
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
57
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
58
58
  *
59
59
  * @throws {@link InternalServerException} (server fault)
60
60
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -59,7 +59,7 @@ declare const DeleteCollectionCommand_base: {
59
59
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
60
60
  *
61
61
  * @throws {@link ConflictException} (client fault)
62
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
62
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
63
63
  *
64
64
  * @throws {@link InternalServerException} (server fault)
65
65
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteCollectionGroupRequest, DeleteCollectionGroupResponse } from "../models/models_0";
4
+ import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteCollectionGroupCommand}.
14
+ */
15
+ export interface DeleteCollectionGroupCommandInput extends DeleteCollectionGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteCollectionGroupCommand}.
21
+ */
22
+ export interface DeleteCollectionGroupCommandOutput extends DeleteCollectionGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteCollectionGroupCommand_base: {
25
+ new (input: DeleteCollectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCollectionGroupCommandInput, DeleteCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteCollectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCollectionGroupCommandInput, DeleteCollectionGroupCommandOutput, OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a collection group. You can only delete empty collection groups that contain no collections. 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>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchServerlessClient, DeleteCollectionGroupCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
35
+ * // const { OpenSearchServerlessClient, DeleteCollectionGroupCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
36
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
37
+ * const config = {}; // type is OpenSearchServerlessClientConfig
38
+ * const client = new OpenSearchServerlessClient(config);
39
+ * const input = { // DeleteCollectionGroupRequest
40
+ * id: "STRING_VALUE", // required
41
+ * clientToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new DeleteCollectionGroupCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteCollectionGroupCommandInput - {@link DeleteCollectionGroupCommandInput}
50
+ * @returns {@link DeleteCollectionGroupCommandOutput}
51
+ * @see {@link DeleteCollectionGroupCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteCollectionGroupCommandOutput} for command's `response` shape.
53
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
66
+ *
67
+ * @throws {@link OpenSearchServerlessServiceException}
68
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class DeleteCollectionGroupCommand extends DeleteCollectionGroupCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: DeleteCollectionGroupRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: DeleteCollectionGroupCommandInput;
82
+ output: DeleteCollectionGroupCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -54,7 +54,7 @@ declare const DeleteLifecyclePolicyCommand_base: {
54
54
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
55
55
  *
56
56
  * @throws {@link ConflictException} (client fault)
57
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
57
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
58
58
  *
59
59
  * @throws {@link InternalServerException} (server fault)
60
60
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>
@@ -53,7 +53,7 @@ declare const DeleteSecurityConfigCommand_base: {
53
53
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
54
54
  *
55
55
  * @throws {@link ConflictException} (client fault)
56
- * <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.</p>
56
+ * <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
57
57
  *
58
58
  * @throws {@link InternalServerException} (server fault)
59
59
  * <p>Thrown when an error internal to the service occurs while processing a request.</p>