@aws-sdk/client-opensearchserverless 3.1137.0 → 3.1139.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -558,10 +558,10 @@ const _vES = "vpcEndpointSummaries";
558
558
  const _vI = "vpcId";
559
559
  const _vO = "vectorOptions";
560
560
  const n0 = "com.amazonaws.opensearchserverless";
561
- const _s_registry = TypeRegistry.for(_s);
561
+ const _s_registry = new TypeRegistry(_s);
562
562
  var OpenSearchServerlessServiceException$ = [-3, _s, "OpenSearchServerlessServiceException", 0, [], []];
563
563
  _s_registry.registerError(OpenSearchServerlessServiceException$, OpenSearchServerlessServiceException);
564
- const n0_registry = TypeRegistry.for(n0);
564
+ const n0_registry = new TypeRegistry(n0);
565
565
  var ConflictException$ = [-3, n0, _CE,
566
566
  { [_e]: _c, [_hE]: 409 },
567
567
  [_m],
@@ -340,10 +340,10 @@ const n0 = "com.amazonaws.opensearchserverless";
340
340
  import { TypeRegistry } from "@smithy/core/schema";
341
341
  import { ConflictException, InternalServerException, OcuLimitExceededException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
342
342
  import { OpenSearchServerlessServiceException } from "../models/OpenSearchServerlessServiceException";
343
- const _s_registry = TypeRegistry.for(_s);
343
+ const _s_registry = new TypeRegistry(_s);
344
344
  export var OpenSearchServerlessServiceException$ = [-3, _s, "OpenSearchServerlessServiceException", 0, [], []];
345
345
  _s_registry.registerError(OpenSearchServerlessServiceException$, OpenSearchServerlessServiceException);
346
- const n0_registry = TypeRegistry.for(n0);
346
+ const n0_registry = new TypeRegistry(n0);
347
347
  export var ConflictException$ = [-3, n0, _CE,
348
348
  { [_e]: _c, [_hE]: 409 },
349
349
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type BatchGetCollectionCommandInput, type BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
3
3
  import { type BatchGetCollectionGroupCommandInput, type BatchGetCollectionGroupCommandOutput } from "./commands/BatchGetCollectionGroupCommand";
4
4
  import { type BatchGetEffectiveLifecyclePolicyCommandInput, type BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
@@ -46,291 +46,297 @@ import { type UpdateSecurityConfigCommandInput, type UpdateSecurityConfigCommand
46
46
  import { type UpdateSecurityPolicyCommandInput, type UpdateSecurityPolicyCommandOutput } from "./commands/UpdateSecurityPolicyCommand";
47
47
  import { type UpdateVpcEndpointCommandInput, type UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
48
48
  import { OpenSearchServerlessClient } from "./OpenSearchServerlessClient";
49
+ /**
50
+ * @public
51
+ */
52
+ export interface OpenSearchServerlessRequestOptions extends __HttpHandlerOptions {
53
+ metricsRecorder?: __MetricsRecorder<unknown>;
54
+ }
49
55
  export interface OpenSearchServerless {
50
56
  /**
51
57
  * @see {@link BatchGetCollectionCommand}
52
58
  */
53
59
  batchGetCollection(): Promise<BatchGetCollectionCommandOutput>;
54
- batchGetCollection(args: BatchGetCollectionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCollectionCommandOutput>;
60
+ batchGetCollection(args: BatchGetCollectionCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<BatchGetCollectionCommandOutput>;
55
61
  batchGetCollection(args: BatchGetCollectionCommandInput, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
56
- batchGetCollection(args: BatchGetCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
62
+ batchGetCollection(args: BatchGetCollectionCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link BatchGetCollectionGroupCommand}
59
65
  */
60
66
  batchGetCollectionGroup(): Promise<BatchGetCollectionGroupCommandOutput>;
61
- batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCollectionGroupCommandOutput>;
67
+ batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<BatchGetCollectionGroupCommandOutput>;
62
68
  batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, cb: (err: any, data?: BatchGetCollectionGroupCommandOutput) => void): void;
63
- batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCollectionGroupCommandOutput) => void): void;
69
+ batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: BatchGetCollectionGroupCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link BatchGetEffectiveLifecyclePolicyCommand}
66
72
  */
67
- batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetEffectiveLifecyclePolicyCommandOutput>;
73
+ batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<BatchGetEffectiveLifecyclePolicyCommandOutput>;
68
74
  batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, cb: (err: any, data?: BatchGetEffectiveLifecyclePolicyCommandOutput) => void): void;
69
- batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetEffectiveLifecyclePolicyCommandOutput) => void): void;
75
+ batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: BatchGetEffectiveLifecyclePolicyCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link BatchGetLifecyclePolicyCommand}
72
78
  */
73
- batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetLifecyclePolicyCommandOutput>;
79
+ batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<BatchGetLifecyclePolicyCommandOutput>;
74
80
  batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, cb: (err: any, data?: BatchGetLifecyclePolicyCommandOutput) => void): void;
75
- batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetLifecyclePolicyCommandOutput) => void): void;
81
+ batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: BatchGetLifecyclePolicyCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link BatchGetVpcEndpointCommand}
78
84
  */
79
- batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetVpcEndpointCommandOutput>;
85
+ batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<BatchGetVpcEndpointCommandOutput>;
80
86
  batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void): void;
81
- batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void): void;
87
+ batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link CreateAccessPolicyCommand}
84
90
  */
85
- createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPolicyCommandOutput>;
91
+ createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateAccessPolicyCommandOutput>;
86
92
  createAccessPolicy(args: CreateAccessPolicyCommandInput, cb: (err: any, data?: CreateAccessPolicyCommandOutput) => void): void;
87
- createAccessPolicy(args: CreateAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPolicyCommandOutput) => void): void;
93
+ createAccessPolicy(args: CreateAccessPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateAccessPolicyCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link CreateCollectionCommand}
90
96
  */
91
- createCollection(args: CreateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionCommandOutput>;
97
+ createCollection(args: CreateCollectionCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateCollectionCommandOutput>;
92
98
  createCollection(args: CreateCollectionCommandInput, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
93
- createCollection(args: CreateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
99
+ createCollection(args: CreateCollectionCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link CreateCollectionGroupCommand}
96
102
  */
97
- createCollectionGroup(args: CreateCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionGroupCommandOutput>;
103
+ createCollectionGroup(args: CreateCollectionGroupCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateCollectionGroupCommandOutput>;
98
104
  createCollectionGroup(args: CreateCollectionGroupCommandInput, cb: (err: any, data?: CreateCollectionGroupCommandOutput) => void): void;
99
- createCollectionGroup(args: CreateCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionGroupCommandOutput) => void): void;
105
+ createCollectionGroup(args: CreateCollectionGroupCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateCollectionGroupCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link CreateIndexCommand}
102
108
  */
103
- createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
109
+ createIndex(args: CreateIndexCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateIndexCommandOutput>;
104
110
  createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
105
- createIndex(args: CreateIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
111
+ createIndex(args: CreateIndexCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link CreateLifecyclePolicyCommand}
108
114
  */
109
- createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLifecyclePolicyCommandOutput>;
115
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateLifecyclePolicyCommandOutput>;
110
116
  createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
111
- createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
117
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link CreateSecurityConfigCommand}
114
120
  */
115
- createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityConfigCommandOutput>;
121
+ createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateSecurityConfigCommandOutput>;
116
122
  createSecurityConfig(args: CreateSecurityConfigCommandInput, cb: (err: any, data?: CreateSecurityConfigCommandOutput) => void): void;
117
- createSecurityConfig(args: CreateSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecurityConfigCommandOutput) => void): void;
123
+ createSecurityConfig(args: CreateSecurityConfigCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateSecurityConfigCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link CreateSecurityPolicyCommand}
120
126
  */
121
- createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityPolicyCommandOutput>;
127
+ createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateSecurityPolicyCommandOutput>;
122
128
  createSecurityPolicy(args: CreateSecurityPolicyCommandInput, cb: (err: any, data?: CreateSecurityPolicyCommandOutput) => void): void;
123
- createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecurityPolicyCommandOutput) => void): void;
129
+ createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateSecurityPolicyCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link CreateVpcEndpointCommand}
126
132
  */
127
- createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointCommandOutput>;
133
+ createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<CreateVpcEndpointCommandOutput>;
128
134
  createVpcEndpoint(args: CreateVpcEndpointCommandInput, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
129
- createVpcEndpoint(args: CreateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
135
+ createVpcEndpoint(args: CreateVpcEndpointCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
130
136
  /**
131
137
  * @see {@link DeleteAccessPolicyCommand}
132
138
  */
133
- deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessPolicyCommandOutput>;
139
+ deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteAccessPolicyCommandOutput>;
134
140
  deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, cb: (err: any, data?: DeleteAccessPolicyCommandOutput) => void): void;
135
- deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessPolicyCommandOutput) => void): void;
141
+ deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteAccessPolicyCommandOutput) => void): void;
136
142
  /**
137
143
  * @see {@link DeleteCollectionCommand}
138
144
  */
139
- deleteCollection(args: DeleteCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollectionCommandOutput>;
145
+ deleteCollection(args: DeleteCollectionCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteCollectionCommandOutput>;
140
146
  deleteCollection(args: DeleteCollectionCommandInput, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
141
- deleteCollection(args: DeleteCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
147
+ deleteCollection(args: DeleteCollectionCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
142
148
  /**
143
149
  * @see {@link DeleteCollectionGroupCommand}
144
150
  */
145
- deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollectionGroupCommandOutput>;
151
+ deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteCollectionGroupCommandOutput>;
146
152
  deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, cb: (err: any, data?: DeleteCollectionGroupCommandOutput) => void): void;
147
- deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollectionGroupCommandOutput) => void): void;
153
+ deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteCollectionGroupCommandOutput) => void): void;
148
154
  /**
149
155
  * @see {@link DeleteIndexCommand}
150
156
  */
151
- deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
157
+ deleteIndex(args: DeleteIndexCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteIndexCommandOutput>;
152
158
  deleteIndex(args: DeleteIndexCommandInput, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
153
- deleteIndex(args: DeleteIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
159
+ deleteIndex(args: DeleteIndexCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
154
160
  /**
155
161
  * @see {@link DeleteLifecyclePolicyCommand}
156
162
  */
157
- deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
163
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
158
164
  deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
159
- deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
165
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
160
166
  /**
161
167
  * @see {@link DeleteSecurityConfigCommand}
162
168
  */
163
- deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityConfigCommandOutput>;
169
+ deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteSecurityConfigCommandOutput>;
164
170
  deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, cb: (err: any, data?: DeleteSecurityConfigCommandOutput) => void): void;
165
- deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecurityConfigCommandOutput) => void): void;
171
+ deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteSecurityConfigCommandOutput) => void): void;
166
172
  /**
167
173
  * @see {@link DeleteSecurityPolicyCommand}
168
174
  */
169
- deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityPolicyCommandOutput>;
175
+ deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteSecurityPolicyCommandOutput>;
170
176
  deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, cb: (err: any, data?: DeleteSecurityPolicyCommandOutput) => void): void;
171
- deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecurityPolicyCommandOutput) => void): void;
177
+ deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteSecurityPolicyCommandOutput) => void): void;
172
178
  /**
173
179
  * @see {@link DeleteVpcEndpointCommand}
174
180
  */
175
- deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcEndpointCommandOutput>;
181
+ deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<DeleteVpcEndpointCommandOutput>;
176
182
  deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
177
- deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
183
+ deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
178
184
  /**
179
185
  * @see {@link GetAccessPolicyCommand}
180
186
  */
181
- getAccessPolicy(args: GetAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessPolicyCommandOutput>;
187
+ getAccessPolicy(args: GetAccessPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<GetAccessPolicyCommandOutput>;
182
188
  getAccessPolicy(args: GetAccessPolicyCommandInput, cb: (err: any, data?: GetAccessPolicyCommandOutput) => void): void;
183
- getAccessPolicy(args: GetAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessPolicyCommandOutput) => void): void;
189
+ getAccessPolicy(args: GetAccessPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: GetAccessPolicyCommandOutput) => void): void;
184
190
  /**
185
191
  * @see {@link GetAccountSettingsCommand}
186
192
  */
187
193
  getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
188
- getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
194
+ getAccountSettings(args: GetAccountSettingsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<GetAccountSettingsCommandOutput>;
189
195
  getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
190
- getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
196
+ getAccountSettings(args: GetAccountSettingsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
191
197
  /**
192
198
  * @see {@link GetIndexCommand}
193
199
  */
194
- getIndex(args: GetIndexCommandInput, options?: __HttpHandlerOptions): Promise<GetIndexCommandOutput>;
200
+ getIndex(args: GetIndexCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<GetIndexCommandOutput>;
195
201
  getIndex(args: GetIndexCommandInput, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
196
- getIndex(args: GetIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
202
+ getIndex(args: GetIndexCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
197
203
  /**
198
204
  * @see {@link GetPoliciesStatsCommand}
199
205
  */
200
206
  getPoliciesStats(): Promise<GetPoliciesStatsCommandOutput>;
201
- getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: __HttpHandlerOptions): Promise<GetPoliciesStatsCommandOutput>;
207
+ getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<GetPoliciesStatsCommandOutput>;
202
208
  getPoliciesStats(args: GetPoliciesStatsCommandInput, cb: (err: any, data?: GetPoliciesStatsCommandOutput) => void): void;
203
- getPoliciesStats(args: GetPoliciesStatsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPoliciesStatsCommandOutput) => void): void;
209
+ getPoliciesStats(args: GetPoliciesStatsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: GetPoliciesStatsCommandOutput) => void): void;
204
210
  /**
205
211
  * @see {@link GetSecurityConfigCommand}
206
212
  */
207
- getSecurityConfig(args: GetSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetSecurityConfigCommandOutput>;
213
+ getSecurityConfig(args: GetSecurityConfigCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<GetSecurityConfigCommandOutput>;
208
214
  getSecurityConfig(args: GetSecurityConfigCommandInput, cb: (err: any, data?: GetSecurityConfigCommandOutput) => void): void;
209
- getSecurityConfig(args: GetSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSecurityConfigCommandOutput) => void): void;
215
+ getSecurityConfig(args: GetSecurityConfigCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: GetSecurityConfigCommandOutput) => void): void;
210
216
  /**
211
217
  * @see {@link GetSecurityPolicyCommand}
212
218
  */
213
- getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetSecurityPolicyCommandOutput>;
219
+ getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<GetSecurityPolicyCommandOutput>;
214
220
  getSecurityPolicy(args: GetSecurityPolicyCommandInput, cb: (err: any, data?: GetSecurityPolicyCommandOutput) => void): void;
215
- getSecurityPolicy(args: GetSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSecurityPolicyCommandOutput) => void): void;
221
+ getSecurityPolicy(args: GetSecurityPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: GetSecurityPolicyCommandOutput) => void): void;
216
222
  /**
217
223
  * @see {@link ListAccessPoliciesCommand}
218
224
  */
219
- listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPoliciesCommandOutput>;
225
+ listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListAccessPoliciesCommandOutput>;
220
226
  listAccessPolicies(args: ListAccessPoliciesCommandInput, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
221
- listAccessPolicies(args: ListAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
227
+ listAccessPolicies(args: ListAccessPoliciesCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
222
228
  /**
223
229
  * @see {@link ListCollectionGroupsCommand}
224
230
  */
225
231
  listCollectionGroups(): Promise<ListCollectionGroupsCommandOutput>;
226
- listCollectionGroups(args: ListCollectionGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectionGroupsCommandOutput>;
232
+ listCollectionGroups(args: ListCollectionGroupsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListCollectionGroupsCommandOutput>;
227
233
  listCollectionGroups(args: ListCollectionGroupsCommandInput, cb: (err: any, data?: ListCollectionGroupsCommandOutput) => void): void;
228
- listCollectionGroups(args: ListCollectionGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectionGroupsCommandOutput) => void): void;
234
+ listCollectionGroups(args: ListCollectionGroupsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListCollectionGroupsCommandOutput) => void): void;
229
235
  /**
230
236
  * @see {@link ListCollectionsCommand}
231
237
  */
232
238
  listCollections(): Promise<ListCollectionsCommandOutput>;
233
- listCollections(args: ListCollectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectionsCommandOutput>;
239
+ listCollections(args: ListCollectionsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListCollectionsCommandOutput>;
234
240
  listCollections(args: ListCollectionsCommandInput, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
235
- listCollections(args: ListCollectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
241
+ listCollections(args: ListCollectionsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
236
242
  /**
237
243
  * @see {@link ListLifecyclePoliciesCommand}
238
244
  */
239
- listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListLifecyclePoliciesCommandOutput>;
245
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListLifecyclePoliciesCommandOutput>;
240
246
  listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
241
- listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
247
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
242
248
  /**
243
249
  * @see {@link ListSecurityConfigsCommand}
244
250
  */
245
- listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListSecurityConfigsCommandOutput>;
251
+ listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListSecurityConfigsCommandOutput>;
246
252
  listSecurityConfigs(args: ListSecurityConfigsCommandInput, cb: (err: any, data?: ListSecurityConfigsCommandOutput) => void): void;
247
- listSecurityConfigs(args: ListSecurityConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSecurityConfigsCommandOutput) => void): void;
253
+ listSecurityConfigs(args: ListSecurityConfigsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListSecurityConfigsCommandOutput) => void): void;
248
254
  /**
249
255
  * @see {@link ListSecurityPoliciesCommand}
250
256
  */
251
- listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSecurityPoliciesCommandOutput>;
257
+ listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListSecurityPoliciesCommandOutput>;
252
258
  listSecurityPolicies(args: ListSecurityPoliciesCommandInput, cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void): void;
253
- listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void): void;
259
+ listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void): void;
254
260
  /**
255
261
  * @see {@link ListTagsForResourceCommand}
256
262
  */
257
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
263
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListTagsForResourceCommandOutput>;
258
264
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
259
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
265
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
260
266
  /**
261
267
  * @see {@link ListVpcEndpointsCommand}
262
268
  */
263
269
  listVpcEndpoints(): Promise<ListVpcEndpointsCommandOutput>;
264
- listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcEndpointsCommandOutput>;
270
+ listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<ListVpcEndpointsCommandOutput>;
265
271
  listVpcEndpoints(args: ListVpcEndpointsCommandInput, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
266
- listVpcEndpoints(args: ListVpcEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
272
+ listVpcEndpoints(args: ListVpcEndpointsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
267
273
  /**
268
274
  * @see {@link TagResourceCommand}
269
275
  */
270
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
276
+ tagResource(args: TagResourceCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<TagResourceCommandOutput>;
271
277
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
272
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
278
+ tagResource(args: TagResourceCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
273
279
  /**
274
280
  * @see {@link UntagResourceCommand}
275
281
  */
276
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
282
+ untagResource(args: UntagResourceCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UntagResourceCommandOutput>;
277
283
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
278
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
284
+ untagResource(args: UntagResourceCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
279
285
  /**
280
286
  * @see {@link UpdateAccessPolicyCommand}
281
287
  */
282
- updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccessPolicyCommandOutput>;
288
+ updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateAccessPolicyCommandOutput>;
283
289
  updateAccessPolicy(args: UpdateAccessPolicyCommandInput, cb: (err: any, data?: UpdateAccessPolicyCommandOutput) => void): void;
284
- updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccessPolicyCommandOutput) => void): void;
290
+ updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateAccessPolicyCommandOutput) => void): void;
285
291
  /**
286
292
  * @see {@link UpdateAccountSettingsCommand}
287
293
  */
288
294
  updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
289
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
295
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateAccountSettingsCommandOutput>;
290
296
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
291
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
297
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
292
298
  /**
293
299
  * @see {@link UpdateCollectionCommand}
294
300
  */
295
- updateCollection(args: UpdateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollectionCommandOutput>;
301
+ updateCollection(args: UpdateCollectionCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateCollectionCommandOutput>;
296
302
  updateCollection(args: UpdateCollectionCommandInput, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
297
- updateCollection(args: UpdateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
303
+ updateCollection(args: UpdateCollectionCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
298
304
  /**
299
305
  * @see {@link UpdateCollectionGroupCommand}
300
306
  */
301
- updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollectionGroupCommandOutput>;
307
+ updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateCollectionGroupCommandOutput>;
302
308
  updateCollectionGroup(args: UpdateCollectionGroupCommandInput, cb: (err: any, data?: UpdateCollectionGroupCommandOutput) => void): void;
303
- updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollectionGroupCommandOutput) => void): void;
309
+ updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateCollectionGroupCommandOutput) => void): void;
304
310
  /**
305
311
  * @see {@link UpdateIndexCommand}
306
312
  */
307
- updateIndex(args: UpdateIndexCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIndexCommandOutput>;
313
+ updateIndex(args: UpdateIndexCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateIndexCommandOutput>;
308
314
  updateIndex(args: UpdateIndexCommandInput, cb: (err: any, data?: UpdateIndexCommandOutput) => void): void;
309
- updateIndex(args: UpdateIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIndexCommandOutput) => void): void;
315
+ updateIndex(args: UpdateIndexCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateIndexCommandOutput) => void): void;
310
316
  /**
311
317
  * @see {@link UpdateLifecyclePolicyCommand}
312
318
  */
313
- updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLifecyclePolicyCommandOutput>;
319
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateLifecyclePolicyCommandOutput>;
314
320
  updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
315
- updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
321
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
316
322
  /**
317
323
  * @see {@link UpdateSecurityConfigCommand}
318
324
  */
319
- updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityConfigCommandOutput>;
325
+ updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateSecurityConfigCommandOutput>;
320
326
  updateSecurityConfig(args: UpdateSecurityConfigCommandInput, cb: (err: any, data?: UpdateSecurityConfigCommandOutput) => void): void;
321
- updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityConfigCommandOutput) => void): void;
327
+ updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateSecurityConfigCommandOutput) => void): void;
322
328
  /**
323
329
  * @see {@link UpdateSecurityPolicyCommand}
324
330
  */
325
- updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityPolicyCommandOutput>;
331
+ updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateSecurityPolicyCommandOutput>;
326
332
  updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, cb: (err: any, data?: UpdateSecurityPolicyCommandOutput) => void): void;
327
- updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityPolicyCommandOutput) => void): void;
333
+ updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateSecurityPolicyCommandOutput) => void): void;
328
334
  /**
329
335
  * @see {@link UpdateVpcEndpointCommand}
330
336
  */
331
- updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVpcEndpointCommandOutput>;
337
+ updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: OpenSearchServerlessRequestOptions): Promise<UpdateVpcEndpointCommandOutput>;
332
338
  updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
333
- updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
339
+ updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options: OpenSearchServerlessRequestOptions, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
334
340
  /**
335
341
  * @see {@link ListAccessPoliciesCommand}
336
342
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -173,11 +174,14 @@ import {
173
174
  UpdateVpcEndpointCommandOutput,
174
175
  } from "./commands/UpdateVpcEndpointCommand";
175
176
  import { OpenSearchServerlessClient } from "./OpenSearchServerlessClient";
177
+ export interface OpenSearchServerlessRequestOptions extends __HttpHandlerOptions {
178
+ metricsRecorder?: __MetricsRecorder<unknown>;
179
+ }
176
180
  export interface OpenSearchServerless {
177
181
  batchGetCollection(): Promise<BatchGetCollectionCommandOutput>;
178
182
  batchGetCollection(
179
183
  args: BatchGetCollectionCommandInput,
180
- options?: __HttpHandlerOptions,
184
+ options?: OpenSearchServerlessRequestOptions,
181
185
  ): Promise<BatchGetCollectionCommandOutput>;
182
186
  batchGetCollection(
183
187
  args: BatchGetCollectionCommandInput,
@@ -185,13 +189,13 @@ export interface OpenSearchServerless {
185
189
  ): void;
186
190
  batchGetCollection(
187
191
  args: BatchGetCollectionCommandInput,
188
- options: __HttpHandlerOptions,
192
+ options: OpenSearchServerlessRequestOptions,
189
193
  cb: (err: any, data?: BatchGetCollectionCommandOutput) => void,
190
194
  ): void;
191
195
  batchGetCollectionGroup(): Promise<BatchGetCollectionGroupCommandOutput>;
192
196
  batchGetCollectionGroup(
193
197
  args: BatchGetCollectionGroupCommandInput,
194
- options?: __HttpHandlerOptions,
198
+ options?: OpenSearchServerlessRequestOptions,
195
199
  ): Promise<BatchGetCollectionGroupCommandOutput>;
196
200
  batchGetCollectionGroup(
197
201
  args: BatchGetCollectionGroupCommandInput,
@@ -199,12 +203,12 @@ export interface OpenSearchServerless {
199
203
  ): void;
200
204
  batchGetCollectionGroup(
201
205
  args: BatchGetCollectionGroupCommandInput,
202
- options: __HttpHandlerOptions,
206
+ options: OpenSearchServerlessRequestOptions,
203
207
  cb: (err: any, data?: BatchGetCollectionGroupCommandOutput) => void,
204
208
  ): void;
205
209
  batchGetEffectiveLifecyclePolicy(
206
210
  args: BatchGetEffectiveLifecyclePolicyCommandInput,
207
- options?: __HttpHandlerOptions,
211
+ options?: OpenSearchServerlessRequestOptions,
208
212
  ): Promise<BatchGetEffectiveLifecyclePolicyCommandOutput>;
209
213
  batchGetEffectiveLifecyclePolicy(
210
214
  args: BatchGetEffectiveLifecyclePolicyCommandInput,
@@ -212,12 +216,12 @@ export interface OpenSearchServerless {
212
216
  ): void;
213
217
  batchGetEffectiveLifecyclePolicy(
214
218
  args: BatchGetEffectiveLifecyclePolicyCommandInput,
215
- options: __HttpHandlerOptions,
219
+ options: OpenSearchServerlessRequestOptions,
216
220
  cb: (err: any, data?: BatchGetEffectiveLifecyclePolicyCommandOutput) => void,
217
221
  ): void;
218
222
  batchGetLifecyclePolicy(
219
223
  args: BatchGetLifecyclePolicyCommandInput,
220
- options?: __HttpHandlerOptions,
224
+ options?: OpenSearchServerlessRequestOptions,
221
225
  ): Promise<BatchGetLifecyclePolicyCommandOutput>;
222
226
  batchGetLifecyclePolicy(
223
227
  args: BatchGetLifecyclePolicyCommandInput,
@@ -225,12 +229,12 @@ export interface OpenSearchServerless {
225
229
  ): void;
226
230
  batchGetLifecyclePolicy(
227
231
  args: BatchGetLifecyclePolicyCommandInput,
228
- options: __HttpHandlerOptions,
232
+ options: OpenSearchServerlessRequestOptions,
229
233
  cb: (err: any, data?: BatchGetLifecyclePolicyCommandOutput) => void,
230
234
  ): void;
231
235
  batchGetVpcEndpoint(
232
236
  args: BatchGetVpcEndpointCommandInput,
233
- options?: __HttpHandlerOptions,
237
+ options?: OpenSearchServerlessRequestOptions,
234
238
  ): Promise<BatchGetVpcEndpointCommandOutput>;
235
239
  batchGetVpcEndpoint(
236
240
  args: BatchGetVpcEndpointCommandInput,
@@ -238,12 +242,12 @@ export interface OpenSearchServerless {
238
242
  ): void;
239
243
  batchGetVpcEndpoint(
240
244
  args: BatchGetVpcEndpointCommandInput,
241
- options: __HttpHandlerOptions,
245
+ options: OpenSearchServerlessRequestOptions,
242
246
  cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void,
243
247
  ): void;
244
248
  createAccessPolicy(
245
249
  args: CreateAccessPolicyCommandInput,
246
- options?: __HttpHandlerOptions,
250
+ options?: OpenSearchServerlessRequestOptions,
247
251
  ): Promise<CreateAccessPolicyCommandOutput>;
248
252
  createAccessPolicy(
249
253
  args: CreateAccessPolicyCommandInput,
@@ -251,12 +255,12 @@ export interface OpenSearchServerless {
251
255
  ): void;
252
256
  createAccessPolicy(
253
257
  args: CreateAccessPolicyCommandInput,
254
- options: __HttpHandlerOptions,
258
+ options: OpenSearchServerlessRequestOptions,
255
259
  cb: (err: any, data?: CreateAccessPolicyCommandOutput) => void,
256
260
  ): void;
257
261
  createCollection(
258
262
  args: CreateCollectionCommandInput,
259
- options?: __HttpHandlerOptions,
263
+ options?: OpenSearchServerlessRequestOptions,
260
264
  ): Promise<CreateCollectionCommandOutput>;
261
265
  createCollection(
262
266
  args: CreateCollectionCommandInput,
@@ -264,12 +268,12 @@ export interface OpenSearchServerless {
264
268
  ): void;
265
269
  createCollection(
266
270
  args: CreateCollectionCommandInput,
267
- options: __HttpHandlerOptions,
271
+ options: OpenSearchServerlessRequestOptions,
268
272
  cb: (err: any, data?: CreateCollectionCommandOutput) => void,
269
273
  ): void;
270
274
  createCollectionGroup(
271
275
  args: CreateCollectionGroupCommandInput,
272
- options?: __HttpHandlerOptions,
276
+ options?: OpenSearchServerlessRequestOptions,
273
277
  ): Promise<CreateCollectionGroupCommandOutput>;
274
278
  createCollectionGroup(
275
279
  args: CreateCollectionGroupCommandInput,
@@ -277,12 +281,12 @@ export interface OpenSearchServerless {
277
281
  ): void;
278
282
  createCollectionGroup(
279
283
  args: CreateCollectionGroupCommandInput,
280
- options: __HttpHandlerOptions,
284
+ options: OpenSearchServerlessRequestOptions,
281
285
  cb: (err: any, data?: CreateCollectionGroupCommandOutput) => void,
282
286
  ): void;
283
287
  createIndex(
284
288
  args: CreateIndexCommandInput,
285
- options?: __HttpHandlerOptions,
289
+ options?: OpenSearchServerlessRequestOptions,
286
290
  ): Promise<CreateIndexCommandOutput>;
287
291
  createIndex(
288
292
  args: CreateIndexCommandInput,
@@ -290,12 +294,12 @@ export interface OpenSearchServerless {
290
294
  ): void;
291
295
  createIndex(
292
296
  args: CreateIndexCommandInput,
293
- options: __HttpHandlerOptions,
297
+ options: OpenSearchServerlessRequestOptions,
294
298
  cb: (err: any, data?: CreateIndexCommandOutput) => void,
295
299
  ): void;
296
300
  createLifecyclePolicy(
297
301
  args: CreateLifecyclePolicyCommandInput,
298
- options?: __HttpHandlerOptions,
302
+ options?: OpenSearchServerlessRequestOptions,
299
303
  ): Promise<CreateLifecyclePolicyCommandOutput>;
300
304
  createLifecyclePolicy(
301
305
  args: CreateLifecyclePolicyCommandInput,
@@ -303,12 +307,12 @@ export interface OpenSearchServerless {
303
307
  ): void;
304
308
  createLifecyclePolicy(
305
309
  args: CreateLifecyclePolicyCommandInput,
306
- options: __HttpHandlerOptions,
310
+ options: OpenSearchServerlessRequestOptions,
307
311
  cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void,
308
312
  ): void;
309
313
  createSecurityConfig(
310
314
  args: CreateSecurityConfigCommandInput,
311
- options?: __HttpHandlerOptions,
315
+ options?: OpenSearchServerlessRequestOptions,
312
316
  ): Promise<CreateSecurityConfigCommandOutput>;
313
317
  createSecurityConfig(
314
318
  args: CreateSecurityConfigCommandInput,
@@ -316,12 +320,12 @@ export interface OpenSearchServerless {
316
320
  ): void;
317
321
  createSecurityConfig(
318
322
  args: CreateSecurityConfigCommandInput,
319
- options: __HttpHandlerOptions,
323
+ options: OpenSearchServerlessRequestOptions,
320
324
  cb: (err: any, data?: CreateSecurityConfigCommandOutput) => void,
321
325
  ): void;
322
326
  createSecurityPolicy(
323
327
  args: CreateSecurityPolicyCommandInput,
324
- options?: __HttpHandlerOptions,
328
+ options?: OpenSearchServerlessRequestOptions,
325
329
  ): Promise<CreateSecurityPolicyCommandOutput>;
326
330
  createSecurityPolicy(
327
331
  args: CreateSecurityPolicyCommandInput,
@@ -329,12 +333,12 @@ export interface OpenSearchServerless {
329
333
  ): void;
330
334
  createSecurityPolicy(
331
335
  args: CreateSecurityPolicyCommandInput,
332
- options: __HttpHandlerOptions,
336
+ options: OpenSearchServerlessRequestOptions,
333
337
  cb: (err: any, data?: CreateSecurityPolicyCommandOutput) => void,
334
338
  ): void;
335
339
  createVpcEndpoint(
336
340
  args: CreateVpcEndpointCommandInput,
337
- options?: __HttpHandlerOptions,
341
+ options?: OpenSearchServerlessRequestOptions,
338
342
  ): Promise<CreateVpcEndpointCommandOutput>;
339
343
  createVpcEndpoint(
340
344
  args: CreateVpcEndpointCommandInput,
@@ -342,12 +346,12 @@ export interface OpenSearchServerless {
342
346
  ): void;
343
347
  createVpcEndpoint(
344
348
  args: CreateVpcEndpointCommandInput,
345
- options: __HttpHandlerOptions,
349
+ options: OpenSearchServerlessRequestOptions,
346
350
  cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void,
347
351
  ): void;
348
352
  deleteAccessPolicy(
349
353
  args: DeleteAccessPolicyCommandInput,
350
- options?: __HttpHandlerOptions,
354
+ options?: OpenSearchServerlessRequestOptions,
351
355
  ): Promise<DeleteAccessPolicyCommandOutput>;
352
356
  deleteAccessPolicy(
353
357
  args: DeleteAccessPolicyCommandInput,
@@ -355,12 +359,12 @@ export interface OpenSearchServerless {
355
359
  ): void;
356
360
  deleteAccessPolicy(
357
361
  args: DeleteAccessPolicyCommandInput,
358
- options: __HttpHandlerOptions,
362
+ options: OpenSearchServerlessRequestOptions,
359
363
  cb: (err: any, data?: DeleteAccessPolicyCommandOutput) => void,
360
364
  ): void;
361
365
  deleteCollection(
362
366
  args: DeleteCollectionCommandInput,
363
- options?: __HttpHandlerOptions,
367
+ options?: OpenSearchServerlessRequestOptions,
364
368
  ): Promise<DeleteCollectionCommandOutput>;
365
369
  deleteCollection(
366
370
  args: DeleteCollectionCommandInput,
@@ -368,12 +372,12 @@ export interface OpenSearchServerless {
368
372
  ): void;
369
373
  deleteCollection(
370
374
  args: DeleteCollectionCommandInput,
371
- options: __HttpHandlerOptions,
375
+ options: OpenSearchServerlessRequestOptions,
372
376
  cb: (err: any, data?: DeleteCollectionCommandOutput) => void,
373
377
  ): void;
374
378
  deleteCollectionGroup(
375
379
  args: DeleteCollectionGroupCommandInput,
376
- options?: __HttpHandlerOptions,
380
+ options?: OpenSearchServerlessRequestOptions,
377
381
  ): Promise<DeleteCollectionGroupCommandOutput>;
378
382
  deleteCollectionGroup(
379
383
  args: DeleteCollectionGroupCommandInput,
@@ -381,12 +385,12 @@ export interface OpenSearchServerless {
381
385
  ): void;
382
386
  deleteCollectionGroup(
383
387
  args: DeleteCollectionGroupCommandInput,
384
- options: __HttpHandlerOptions,
388
+ options: OpenSearchServerlessRequestOptions,
385
389
  cb: (err: any, data?: DeleteCollectionGroupCommandOutput) => void,
386
390
  ): void;
387
391
  deleteIndex(
388
392
  args: DeleteIndexCommandInput,
389
- options?: __HttpHandlerOptions,
393
+ options?: OpenSearchServerlessRequestOptions,
390
394
  ): Promise<DeleteIndexCommandOutput>;
391
395
  deleteIndex(
392
396
  args: DeleteIndexCommandInput,
@@ -394,12 +398,12 @@ export interface OpenSearchServerless {
394
398
  ): void;
395
399
  deleteIndex(
396
400
  args: DeleteIndexCommandInput,
397
- options: __HttpHandlerOptions,
401
+ options: OpenSearchServerlessRequestOptions,
398
402
  cb: (err: any, data?: DeleteIndexCommandOutput) => void,
399
403
  ): void;
400
404
  deleteLifecyclePolicy(
401
405
  args: DeleteLifecyclePolicyCommandInput,
402
- options?: __HttpHandlerOptions,
406
+ options?: OpenSearchServerlessRequestOptions,
403
407
  ): Promise<DeleteLifecyclePolicyCommandOutput>;
404
408
  deleteLifecyclePolicy(
405
409
  args: DeleteLifecyclePolicyCommandInput,
@@ -407,12 +411,12 @@ export interface OpenSearchServerless {
407
411
  ): void;
408
412
  deleteLifecyclePolicy(
409
413
  args: DeleteLifecyclePolicyCommandInput,
410
- options: __HttpHandlerOptions,
414
+ options: OpenSearchServerlessRequestOptions,
411
415
  cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void,
412
416
  ): void;
413
417
  deleteSecurityConfig(
414
418
  args: DeleteSecurityConfigCommandInput,
415
- options?: __HttpHandlerOptions,
419
+ options?: OpenSearchServerlessRequestOptions,
416
420
  ): Promise<DeleteSecurityConfigCommandOutput>;
417
421
  deleteSecurityConfig(
418
422
  args: DeleteSecurityConfigCommandInput,
@@ -420,12 +424,12 @@ export interface OpenSearchServerless {
420
424
  ): void;
421
425
  deleteSecurityConfig(
422
426
  args: DeleteSecurityConfigCommandInput,
423
- options: __HttpHandlerOptions,
427
+ options: OpenSearchServerlessRequestOptions,
424
428
  cb: (err: any, data?: DeleteSecurityConfigCommandOutput) => void,
425
429
  ): void;
426
430
  deleteSecurityPolicy(
427
431
  args: DeleteSecurityPolicyCommandInput,
428
- options?: __HttpHandlerOptions,
432
+ options?: OpenSearchServerlessRequestOptions,
429
433
  ): Promise<DeleteSecurityPolicyCommandOutput>;
430
434
  deleteSecurityPolicy(
431
435
  args: DeleteSecurityPolicyCommandInput,
@@ -433,12 +437,12 @@ export interface OpenSearchServerless {
433
437
  ): void;
434
438
  deleteSecurityPolicy(
435
439
  args: DeleteSecurityPolicyCommandInput,
436
- options: __HttpHandlerOptions,
440
+ options: OpenSearchServerlessRequestOptions,
437
441
  cb: (err: any, data?: DeleteSecurityPolicyCommandOutput) => void,
438
442
  ): void;
439
443
  deleteVpcEndpoint(
440
444
  args: DeleteVpcEndpointCommandInput,
441
- options?: __HttpHandlerOptions,
445
+ options?: OpenSearchServerlessRequestOptions,
442
446
  ): Promise<DeleteVpcEndpointCommandOutput>;
443
447
  deleteVpcEndpoint(
444
448
  args: DeleteVpcEndpointCommandInput,
@@ -446,12 +450,12 @@ export interface OpenSearchServerless {
446
450
  ): void;
447
451
  deleteVpcEndpoint(
448
452
  args: DeleteVpcEndpointCommandInput,
449
- options: __HttpHandlerOptions,
453
+ options: OpenSearchServerlessRequestOptions,
450
454
  cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void,
451
455
  ): void;
452
456
  getAccessPolicy(
453
457
  args: GetAccessPolicyCommandInput,
454
- options?: __HttpHandlerOptions,
458
+ options?: OpenSearchServerlessRequestOptions,
455
459
  ): Promise<GetAccessPolicyCommandOutput>;
456
460
  getAccessPolicy(
457
461
  args: GetAccessPolicyCommandInput,
@@ -459,13 +463,13 @@ export interface OpenSearchServerless {
459
463
  ): void;
460
464
  getAccessPolicy(
461
465
  args: GetAccessPolicyCommandInput,
462
- options: __HttpHandlerOptions,
466
+ options: OpenSearchServerlessRequestOptions,
463
467
  cb: (err: any, data?: GetAccessPolicyCommandOutput) => void,
464
468
  ): void;
465
469
  getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
466
470
  getAccountSettings(
467
471
  args: GetAccountSettingsCommandInput,
468
- options?: __HttpHandlerOptions,
472
+ options?: OpenSearchServerlessRequestOptions,
469
473
  ): Promise<GetAccountSettingsCommandOutput>;
470
474
  getAccountSettings(
471
475
  args: GetAccountSettingsCommandInput,
@@ -473,23 +477,23 @@ export interface OpenSearchServerless {
473
477
  ): void;
474
478
  getAccountSettings(
475
479
  args: GetAccountSettingsCommandInput,
476
- options: __HttpHandlerOptions,
480
+ options: OpenSearchServerlessRequestOptions,
477
481
  cb: (err: any, data?: GetAccountSettingsCommandOutput) => void,
478
482
  ): void;
479
483
  getIndex(
480
484
  args: GetIndexCommandInput,
481
- options?: __HttpHandlerOptions,
485
+ options?: OpenSearchServerlessRequestOptions,
482
486
  ): Promise<GetIndexCommandOutput>;
483
487
  getIndex(args: GetIndexCommandInput, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
484
488
  getIndex(
485
489
  args: GetIndexCommandInput,
486
- options: __HttpHandlerOptions,
490
+ options: OpenSearchServerlessRequestOptions,
487
491
  cb: (err: any, data?: GetIndexCommandOutput) => void,
488
492
  ): void;
489
493
  getPoliciesStats(): Promise<GetPoliciesStatsCommandOutput>;
490
494
  getPoliciesStats(
491
495
  args: GetPoliciesStatsCommandInput,
492
- options?: __HttpHandlerOptions,
496
+ options?: OpenSearchServerlessRequestOptions,
493
497
  ): Promise<GetPoliciesStatsCommandOutput>;
494
498
  getPoliciesStats(
495
499
  args: GetPoliciesStatsCommandInput,
@@ -497,12 +501,12 @@ export interface OpenSearchServerless {
497
501
  ): void;
498
502
  getPoliciesStats(
499
503
  args: GetPoliciesStatsCommandInput,
500
- options: __HttpHandlerOptions,
504
+ options: OpenSearchServerlessRequestOptions,
501
505
  cb: (err: any, data?: GetPoliciesStatsCommandOutput) => void,
502
506
  ): void;
503
507
  getSecurityConfig(
504
508
  args: GetSecurityConfigCommandInput,
505
- options?: __HttpHandlerOptions,
509
+ options?: OpenSearchServerlessRequestOptions,
506
510
  ): Promise<GetSecurityConfigCommandOutput>;
507
511
  getSecurityConfig(
508
512
  args: GetSecurityConfigCommandInput,
@@ -510,12 +514,12 @@ export interface OpenSearchServerless {
510
514
  ): void;
511
515
  getSecurityConfig(
512
516
  args: GetSecurityConfigCommandInput,
513
- options: __HttpHandlerOptions,
517
+ options: OpenSearchServerlessRequestOptions,
514
518
  cb: (err: any, data?: GetSecurityConfigCommandOutput) => void,
515
519
  ): void;
516
520
  getSecurityPolicy(
517
521
  args: GetSecurityPolicyCommandInput,
518
- options?: __HttpHandlerOptions,
522
+ options?: OpenSearchServerlessRequestOptions,
519
523
  ): Promise<GetSecurityPolicyCommandOutput>;
520
524
  getSecurityPolicy(
521
525
  args: GetSecurityPolicyCommandInput,
@@ -523,12 +527,12 @@ export interface OpenSearchServerless {
523
527
  ): void;
524
528
  getSecurityPolicy(
525
529
  args: GetSecurityPolicyCommandInput,
526
- options: __HttpHandlerOptions,
530
+ options: OpenSearchServerlessRequestOptions,
527
531
  cb: (err: any, data?: GetSecurityPolicyCommandOutput) => void,
528
532
  ): void;
529
533
  listAccessPolicies(
530
534
  args: ListAccessPoliciesCommandInput,
531
- options?: __HttpHandlerOptions,
535
+ options?: OpenSearchServerlessRequestOptions,
532
536
  ): Promise<ListAccessPoliciesCommandOutput>;
533
537
  listAccessPolicies(
534
538
  args: ListAccessPoliciesCommandInput,
@@ -536,13 +540,13 @@ export interface OpenSearchServerless {
536
540
  ): void;
537
541
  listAccessPolicies(
538
542
  args: ListAccessPoliciesCommandInput,
539
- options: __HttpHandlerOptions,
543
+ options: OpenSearchServerlessRequestOptions,
540
544
  cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void,
541
545
  ): void;
542
546
  listCollectionGroups(): Promise<ListCollectionGroupsCommandOutput>;
543
547
  listCollectionGroups(
544
548
  args: ListCollectionGroupsCommandInput,
545
- options?: __HttpHandlerOptions,
549
+ options?: OpenSearchServerlessRequestOptions,
546
550
  ): Promise<ListCollectionGroupsCommandOutput>;
547
551
  listCollectionGroups(
548
552
  args: ListCollectionGroupsCommandInput,
@@ -550,13 +554,13 @@ export interface OpenSearchServerless {
550
554
  ): void;
551
555
  listCollectionGroups(
552
556
  args: ListCollectionGroupsCommandInput,
553
- options: __HttpHandlerOptions,
557
+ options: OpenSearchServerlessRequestOptions,
554
558
  cb: (err: any, data?: ListCollectionGroupsCommandOutput) => void,
555
559
  ): void;
556
560
  listCollections(): Promise<ListCollectionsCommandOutput>;
557
561
  listCollections(
558
562
  args: ListCollectionsCommandInput,
559
- options?: __HttpHandlerOptions,
563
+ options?: OpenSearchServerlessRequestOptions,
560
564
  ): Promise<ListCollectionsCommandOutput>;
561
565
  listCollections(
562
566
  args: ListCollectionsCommandInput,
@@ -564,12 +568,12 @@ export interface OpenSearchServerless {
564
568
  ): void;
565
569
  listCollections(
566
570
  args: ListCollectionsCommandInput,
567
- options: __HttpHandlerOptions,
571
+ options: OpenSearchServerlessRequestOptions,
568
572
  cb: (err: any, data?: ListCollectionsCommandOutput) => void,
569
573
  ): void;
570
574
  listLifecyclePolicies(
571
575
  args: ListLifecyclePoliciesCommandInput,
572
- options?: __HttpHandlerOptions,
576
+ options?: OpenSearchServerlessRequestOptions,
573
577
  ): Promise<ListLifecyclePoliciesCommandOutput>;
574
578
  listLifecyclePolicies(
575
579
  args: ListLifecyclePoliciesCommandInput,
@@ -577,12 +581,12 @@ export interface OpenSearchServerless {
577
581
  ): void;
578
582
  listLifecyclePolicies(
579
583
  args: ListLifecyclePoliciesCommandInput,
580
- options: __HttpHandlerOptions,
584
+ options: OpenSearchServerlessRequestOptions,
581
585
  cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void,
582
586
  ): void;
583
587
  listSecurityConfigs(
584
588
  args: ListSecurityConfigsCommandInput,
585
- options?: __HttpHandlerOptions,
589
+ options?: OpenSearchServerlessRequestOptions,
586
590
  ): Promise<ListSecurityConfigsCommandOutput>;
587
591
  listSecurityConfigs(
588
592
  args: ListSecurityConfigsCommandInput,
@@ -590,12 +594,12 @@ export interface OpenSearchServerless {
590
594
  ): void;
591
595
  listSecurityConfigs(
592
596
  args: ListSecurityConfigsCommandInput,
593
- options: __HttpHandlerOptions,
597
+ options: OpenSearchServerlessRequestOptions,
594
598
  cb: (err: any, data?: ListSecurityConfigsCommandOutput) => void,
595
599
  ): void;
596
600
  listSecurityPolicies(
597
601
  args: ListSecurityPoliciesCommandInput,
598
- options?: __HttpHandlerOptions,
602
+ options?: OpenSearchServerlessRequestOptions,
599
603
  ): Promise<ListSecurityPoliciesCommandOutput>;
600
604
  listSecurityPolicies(
601
605
  args: ListSecurityPoliciesCommandInput,
@@ -603,12 +607,12 @@ export interface OpenSearchServerless {
603
607
  ): void;
604
608
  listSecurityPolicies(
605
609
  args: ListSecurityPoliciesCommandInput,
606
- options: __HttpHandlerOptions,
610
+ options: OpenSearchServerlessRequestOptions,
607
611
  cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void,
608
612
  ): void;
609
613
  listTagsForResource(
610
614
  args: ListTagsForResourceCommandInput,
611
- options?: __HttpHandlerOptions,
615
+ options?: OpenSearchServerlessRequestOptions,
612
616
  ): Promise<ListTagsForResourceCommandOutput>;
613
617
  listTagsForResource(
614
618
  args: ListTagsForResourceCommandInput,
@@ -616,13 +620,13 @@ export interface OpenSearchServerless {
616
620
  ): void;
617
621
  listTagsForResource(
618
622
  args: ListTagsForResourceCommandInput,
619
- options: __HttpHandlerOptions,
623
+ options: OpenSearchServerlessRequestOptions,
620
624
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
621
625
  ): void;
622
626
  listVpcEndpoints(): Promise<ListVpcEndpointsCommandOutput>;
623
627
  listVpcEndpoints(
624
628
  args: ListVpcEndpointsCommandInput,
625
- options?: __HttpHandlerOptions,
629
+ options?: OpenSearchServerlessRequestOptions,
626
630
  ): Promise<ListVpcEndpointsCommandOutput>;
627
631
  listVpcEndpoints(
628
632
  args: ListVpcEndpointsCommandInput,
@@ -630,12 +634,12 @@ export interface OpenSearchServerless {
630
634
  ): void;
631
635
  listVpcEndpoints(
632
636
  args: ListVpcEndpointsCommandInput,
633
- options: __HttpHandlerOptions,
637
+ options: OpenSearchServerlessRequestOptions,
634
638
  cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void,
635
639
  ): void;
636
640
  tagResource(
637
641
  args: TagResourceCommandInput,
638
- options?: __HttpHandlerOptions,
642
+ options?: OpenSearchServerlessRequestOptions,
639
643
  ): Promise<TagResourceCommandOutput>;
640
644
  tagResource(
641
645
  args: TagResourceCommandInput,
@@ -643,12 +647,12 @@ export interface OpenSearchServerless {
643
647
  ): void;
644
648
  tagResource(
645
649
  args: TagResourceCommandInput,
646
- options: __HttpHandlerOptions,
650
+ options: OpenSearchServerlessRequestOptions,
647
651
  cb: (err: any, data?: TagResourceCommandOutput) => void,
648
652
  ): void;
649
653
  untagResource(
650
654
  args: UntagResourceCommandInput,
651
- options?: __HttpHandlerOptions,
655
+ options?: OpenSearchServerlessRequestOptions,
652
656
  ): Promise<UntagResourceCommandOutput>;
653
657
  untagResource(
654
658
  args: UntagResourceCommandInput,
@@ -656,12 +660,12 @@ export interface OpenSearchServerless {
656
660
  ): void;
657
661
  untagResource(
658
662
  args: UntagResourceCommandInput,
659
- options: __HttpHandlerOptions,
663
+ options: OpenSearchServerlessRequestOptions,
660
664
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
661
665
  ): void;
662
666
  updateAccessPolicy(
663
667
  args: UpdateAccessPolicyCommandInput,
664
- options?: __HttpHandlerOptions,
668
+ options?: OpenSearchServerlessRequestOptions,
665
669
  ): Promise<UpdateAccessPolicyCommandOutput>;
666
670
  updateAccessPolicy(
667
671
  args: UpdateAccessPolicyCommandInput,
@@ -669,13 +673,13 @@ export interface OpenSearchServerless {
669
673
  ): void;
670
674
  updateAccessPolicy(
671
675
  args: UpdateAccessPolicyCommandInput,
672
- options: __HttpHandlerOptions,
676
+ options: OpenSearchServerlessRequestOptions,
673
677
  cb: (err: any, data?: UpdateAccessPolicyCommandOutput) => void,
674
678
  ): void;
675
679
  updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
676
680
  updateAccountSettings(
677
681
  args: UpdateAccountSettingsCommandInput,
678
- options?: __HttpHandlerOptions,
682
+ options?: OpenSearchServerlessRequestOptions,
679
683
  ): Promise<UpdateAccountSettingsCommandOutput>;
680
684
  updateAccountSettings(
681
685
  args: UpdateAccountSettingsCommandInput,
@@ -683,12 +687,12 @@ export interface OpenSearchServerless {
683
687
  ): void;
684
688
  updateAccountSettings(
685
689
  args: UpdateAccountSettingsCommandInput,
686
- options: __HttpHandlerOptions,
690
+ options: OpenSearchServerlessRequestOptions,
687
691
  cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void,
688
692
  ): void;
689
693
  updateCollection(
690
694
  args: UpdateCollectionCommandInput,
691
- options?: __HttpHandlerOptions,
695
+ options?: OpenSearchServerlessRequestOptions,
692
696
  ): Promise<UpdateCollectionCommandOutput>;
693
697
  updateCollection(
694
698
  args: UpdateCollectionCommandInput,
@@ -696,12 +700,12 @@ export interface OpenSearchServerless {
696
700
  ): void;
697
701
  updateCollection(
698
702
  args: UpdateCollectionCommandInput,
699
- options: __HttpHandlerOptions,
703
+ options: OpenSearchServerlessRequestOptions,
700
704
  cb: (err: any, data?: UpdateCollectionCommandOutput) => void,
701
705
  ): void;
702
706
  updateCollectionGroup(
703
707
  args: UpdateCollectionGroupCommandInput,
704
- options?: __HttpHandlerOptions,
708
+ options?: OpenSearchServerlessRequestOptions,
705
709
  ): Promise<UpdateCollectionGroupCommandOutput>;
706
710
  updateCollectionGroup(
707
711
  args: UpdateCollectionGroupCommandInput,
@@ -709,12 +713,12 @@ export interface OpenSearchServerless {
709
713
  ): void;
710
714
  updateCollectionGroup(
711
715
  args: UpdateCollectionGroupCommandInput,
712
- options: __HttpHandlerOptions,
716
+ options: OpenSearchServerlessRequestOptions,
713
717
  cb: (err: any, data?: UpdateCollectionGroupCommandOutput) => void,
714
718
  ): void;
715
719
  updateIndex(
716
720
  args: UpdateIndexCommandInput,
717
- options?: __HttpHandlerOptions,
721
+ options?: OpenSearchServerlessRequestOptions,
718
722
  ): Promise<UpdateIndexCommandOutput>;
719
723
  updateIndex(
720
724
  args: UpdateIndexCommandInput,
@@ -722,12 +726,12 @@ export interface OpenSearchServerless {
722
726
  ): void;
723
727
  updateIndex(
724
728
  args: UpdateIndexCommandInput,
725
- options: __HttpHandlerOptions,
729
+ options: OpenSearchServerlessRequestOptions,
726
730
  cb: (err: any, data?: UpdateIndexCommandOutput) => void,
727
731
  ): void;
728
732
  updateLifecyclePolicy(
729
733
  args: UpdateLifecyclePolicyCommandInput,
730
- options?: __HttpHandlerOptions,
734
+ options?: OpenSearchServerlessRequestOptions,
731
735
  ): Promise<UpdateLifecyclePolicyCommandOutput>;
732
736
  updateLifecyclePolicy(
733
737
  args: UpdateLifecyclePolicyCommandInput,
@@ -735,12 +739,12 @@ export interface OpenSearchServerless {
735
739
  ): void;
736
740
  updateLifecyclePolicy(
737
741
  args: UpdateLifecyclePolicyCommandInput,
738
- options: __HttpHandlerOptions,
742
+ options: OpenSearchServerlessRequestOptions,
739
743
  cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void,
740
744
  ): void;
741
745
  updateSecurityConfig(
742
746
  args: UpdateSecurityConfigCommandInput,
743
- options?: __HttpHandlerOptions,
747
+ options?: OpenSearchServerlessRequestOptions,
744
748
  ): Promise<UpdateSecurityConfigCommandOutput>;
745
749
  updateSecurityConfig(
746
750
  args: UpdateSecurityConfigCommandInput,
@@ -748,12 +752,12 @@ export interface OpenSearchServerless {
748
752
  ): void;
749
753
  updateSecurityConfig(
750
754
  args: UpdateSecurityConfigCommandInput,
751
- options: __HttpHandlerOptions,
755
+ options: OpenSearchServerlessRequestOptions,
752
756
  cb: (err: any, data?: UpdateSecurityConfigCommandOutput) => void,
753
757
  ): void;
754
758
  updateSecurityPolicy(
755
759
  args: UpdateSecurityPolicyCommandInput,
756
- options?: __HttpHandlerOptions,
760
+ options?: OpenSearchServerlessRequestOptions,
757
761
  ): Promise<UpdateSecurityPolicyCommandOutput>;
758
762
  updateSecurityPolicy(
759
763
  args: UpdateSecurityPolicyCommandInput,
@@ -761,12 +765,12 @@ export interface OpenSearchServerless {
761
765
  ): void;
762
766
  updateSecurityPolicy(
763
767
  args: UpdateSecurityPolicyCommandInput,
764
- options: __HttpHandlerOptions,
768
+ options: OpenSearchServerlessRequestOptions,
765
769
  cb: (err: any, data?: UpdateSecurityPolicyCommandOutput) => void,
766
770
  ): void;
767
771
  updateVpcEndpoint(
768
772
  args: UpdateVpcEndpointCommandInput,
769
- options?: __HttpHandlerOptions,
773
+ options?: OpenSearchServerlessRequestOptions,
770
774
  ): Promise<UpdateVpcEndpointCommandOutput>;
771
775
  updateVpcEndpoint(
772
776
  args: UpdateVpcEndpointCommandInput,
@@ -774,7 +778,7 @@ export interface OpenSearchServerless {
774
778
  ): void;
775
779
  updateVpcEndpoint(
776
780
  args: UpdateVpcEndpointCommandInput,
777
- options: __HttpHandlerOptions,
781
+ options: OpenSearchServerlessRequestOptions,
778
782
  cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void,
779
783
  ): void;
780
784
  paginateListAccessPolicies(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchserverless",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearchserverless",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {