@aws-sdk/client-opensearchserverless 3.926.0 → 3.928.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 (62) hide show
  1. package/dist-cjs/index.js +1329 -1475
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/OpenSearchServerlessClient.js +2 -0
  4. package/dist-es/commands/BatchGetCollectionCommand.js +3 -9
  5. package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +3 -9
  6. package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +3 -9
  7. package/dist-es/commands/BatchGetVpcEndpointCommand.js +3 -9
  8. package/dist-es/commands/CreateAccessPolicyCommand.js +3 -9
  9. package/dist-es/commands/CreateCollectionCommand.js +3 -9
  10. package/dist-es/commands/CreateIndexCommand.js +3 -9
  11. package/dist-es/commands/CreateLifecyclePolicyCommand.js +3 -9
  12. package/dist-es/commands/CreateSecurityConfigCommand.js +3 -9
  13. package/dist-es/commands/CreateSecurityPolicyCommand.js +3 -9
  14. package/dist-es/commands/CreateVpcEndpointCommand.js +3 -9
  15. package/dist-es/commands/DeleteAccessPolicyCommand.js +3 -9
  16. package/dist-es/commands/DeleteCollectionCommand.js +3 -9
  17. package/dist-es/commands/DeleteIndexCommand.js +3 -9
  18. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +3 -9
  19. package/dist-es/commands/DeleteSecurityConfigCommand.js +3 -9
  20. package/dist-es/commands/DeleteSecurityPolicyCommand.js +3 -9
  21. package/dist-es/commands/DeleteVpcEndpointCommand.js +3 -9
  22. package/dist-es/commands/GetAccessPolicyCommand.js +3 -9
  23. package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
  24. package/dist-es/commands/GetIndexCommand.js +3 -9
  25. package/dist-es/commands/GetPoliciesStatsCommand.js +3 -9
  26. package/dist-es/commands/GetSecurityConfigCommand.js +3 -9
  27. package/dist-es/commands/GetSecurityPolicyCommand.js +3 -9
  28. package/dist-es/commands/ListAccessPoliciesCommand.js +3 -9
  29. package/dist-es/commands/ListCollectionsCommand.js +3 -9
  30. package/dist-es/commands/ListLifecyclePoliciesCommand.js +3 -9
  31. package/dist-es/commands/ListSecurityConfigsCommand.js +3 -9
  32. package/dist-es/commands/ListSecurityPoliciesCommand.js +3 -9
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  34. package/dist-es/commands/ListVpcEndpointsCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateAccessPolicyCommand.js +3 -9
  38. package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
  39. package/dist-es/commands/UpdateCollectionCommand.js +3 -9
  40. package/dist-es/commands/UpdateIndexCommand.js +3 -9
  41. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +3 -9
  42. package/dist-es/commands/UpdateSecurityConfigCommand.js +3 -9
  43. package/dist-es/commands/UpdateSecurityPolicyCommand.js +3 -9
  44. package/dist-es/commands/UpdateVpcEndpointCommand.js +3 -9
  45. package/dist-es/runtimeConfig.shared.js +7 -0
  46. package/dist-es/schemas/schemas_0.js +1235 -0
  47. package/dist-types/OpenSearchServerlessClient.d.ts +10 -1
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  49. package/dist-types/runtimeConfig.d.ts +1 -0
  50. package/dist-types/runtimeConfig.native.d.ts +1 -0
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/schemas/schemas_0.d.ts +196 -0
  53. package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +201 -0
  59. package/package.json +5 -6
  60. package/dist-es/protocols/Aws_json1_0.js +0 -1174
  61. package/dist-types/protocols/Aws_json1_0.d.ts +0 -371
  62. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -497
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class OpenSearchServerlessClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,17 +110,17 @@ class OpenSearchServerlessClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class OpenSearchServerlessServiceException extends smithyClient.ServiceException {
113
+ let OpenSearchServerlessServiceException$1 = class OpenSearchServerlessServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, OpenSearchServerlessServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
120
  const AccessPolicyType = {
122
121
  data: "data",
123
122
  };
124
- class ConflictException extends OpenSearchServerlessServiceException {
123
+ let ConflictException$1 = class ConflictException extends OpenSearchServerlessServiceException$1 {
125
124
  name = "ConflictException";
126
125
  $fault = "client";
127
126
  constructor(opts) {
@@ -132,8 +131,8 @@ class ConflictException extends OpenSearchServerlessServiceException {
132
131
  });
133
132
  Object.setPrototypeOf(this, ConflictException.prototype);
134
133
  }
135
- }
136
- class InternalServerException extends OpenSearchServerlessServiceException {
134
+ };
135
+ let InternalServerException$1 = class InternalServerException extends OpenSearchServerlessServiceException$1 {
137
136
  name = "InternalServerException";
138
137
  $fault = "server";
139
138
  constructor(opts) {
@@ -144,8 +143,8 @@ class InternalServerException extends OpenSearchServerlessServiceException {
144
143
  });
145
144
  Object.setPrototypeOf(this, InternalServerException.prototype);
146
145
  }
147
- }
148
- class ServiceQuotaExceededException extends OpenSearchServerlessServiceException {
146
+ };
147
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends OpenSearchServerlessServiceException$1 {
149
148
  name = "ServiceQuotaExceededException";
150
149
  $fault = "client";
151
150
  resourceId;
@@ -164,8 +163,8 @@ class ServiceQuotaExceededException extends OpenSearchServerlessServiceException
164
163
  this.serviceCode = opts.serviceCode;
165
164
  this.quotaCode = opts.quotaCode;
166
165
  }
167
- }
168
- class ValidationException extends OpenSearchServerlessServiceException {
166
+ };
167
+ let ValidationException$1 = class ValidationException extends OpenSearchServerlessServiceException$1 {
169
168
  name = "ValidationException";
170
169
  $fault = "client";
171
170
  constructor(opts) {
@@ -176,8 +175,8 @@ class ValidationException extends OpenSearchServerlessServiceException {
176
175
  });
177
176
  Object.setPrototypeOf(this, ValidationException.prototype);
178
177
  }
179
- }
180
- class ResourceNotFoundException extends OpenSearchServerlessServiceException {
178
+ };
179
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends OpenSearchServerlessServiceException$1 {
181
180
  name = "ResourceNotFoundException";
182
181
  $fault = "client";
183
182
  constructor(opts) {
@@ -188,7 +187,7 @@ class ResourceNotFoundException extends OpenSearchServerlessServiceException {
188
187
  });
189
188
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
190
189
  }
191
- }
190
+ };
192
191
  const StandbyReplicas = {
193
192
  DISABLED: "DISABLED",
194
193
  ENABLED: "ENABLED",
@@ -216,7 +215,7 @@ const VpcEndpointStatus = {
216
215
  FAILED: "FAILED",
217
216
  PENDING: "PENDING",
218
217
  };
219
- class OcuLimitExceededException extends OpenSearchServerlessServiceException {
218
+ let OcuLimitExceededException$1 = class OcuLimitExceededException extends OpenSearchServerlessServiceException$1 {
220
219
  name = "OcuLimitExceededException";
221
220
  $fault = "client";
222
221
  constructor(opts) {
@@ -227,7 +226,7 @@ class OcuLimitExceededException extends OpenSearchServerlessServiceException {
227
226
  });
228
227
  Object.setPrototypeOf(this, OcuLimitExceededException.prototype);
229
228
  }
230
- }
229
+ };
231
230
  const IamIdentityCenterGroupAttribute = {
232
231
  GroupId: "GroupId",
233
232
  GroupName: "GroupName",
@@ -247,1185 +246,1240 @@ const SecurityPolicyType = {
247
246
  network: "network",
248
247
  };
249
248
 
250
- const se_BatchGetCollectionCommand = async (input, context) => {
251
- const headers = sharedHeaders("BatchGetCollection");
252
- let body;
253
- body = JSON.stringify(smithyClient._json(input));
254
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
255
- };
256
- const se_BatchGetEffectiveLifecyclePolicyCommand = async (input, context) => {
257
- const headers = sharedHeaders("BatchGetEffectiveLifecyclePolicy");
258
- let body;
259
- body = JSON.stringify(smithyClient._json(input));
260
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
261
- };
262
- const se_BatchGetLifecyclePolicyCommand = async (input, context) => {
263
- const headers = sharedHeaders("BatchGetLifecyclePolicy");
264
- let body;
265
- body = JSON.stringify(smithyClient._json(input));
266
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
267
- };
268
- const se_BatchGetVpcEndpointCommand = async (input, context) => {
269
- const headers = sharedHeaders("BatchGetVpcEndpoint");
270
- let body;
271
- body = JSON.stringify(smithyClient._json(input));
272
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
273
- };
274
- const se_CreateAccessPolicyCommand = async (input, context) => {
275
- const headers = sharedHeaders("CreateAccessPolicy");
276
- let body;
277
- body = JSON.stringify(se_CreateAccessPolicyRequest(input));
278
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
279
- };
280
- const se_CreateCollectionCommand = async (input, context) => {
281
- const headers = sharedHeaders("CreateCollection");
282
- let body;
283
- body = JSON.stringify(se_CreateCollectionRequest(input));
284
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
285
- };
286
- const se_CreateIndexCommand = async (input, context) => {
287
- const headers = sharedHeaders("CreateIndex");
288
- let body;
289
- body = JSON.stringify(se_CreateIndexRequest(input));
290
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
291
- };
292
- const se_CreateLifecyclePolicyCommand = async (input, context) => {
293
- const headers = sharedHeaders("CreateLifecyclePolicy");
294
- let body;
295
- body = JSON.stringify(se_CreateLifecyclePolicyRequest(input));
296
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
297
- };
298
- const se_CreateSecurityConfigCommand = async (input, context) => {
299
- const headers = sharedHeaders("CreateSecurityConfig");
300
- let body;
301
- body = JSON.stringify(se_CreateSecurityConfigRequest(input));
302
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
303
- };
304
- const se_CreateSecurityPolicyCommand = async (input, context) => {
305
- const headers = sharedHeaders("CreateSecurityPolicy");
306
- let body;
307
- body = JSON.stringify(se_CreateSecurityPolicyRequest(input));
308
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
309
- };
310
- const se_CreateVpcEndpointCommand = async (input, context) => {
311
- const headers = sharedHeaders("CreateVpcEndpoint");
312
- let body;
313
- body = JSON.stringify(se_CreateVpcEndpointRequest(input));
314
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
315
- };
316
- const se_DeleteAccessPolicyCommand = async (input, context) => {
317
- const headers = sharedHeaders("DeleteAccessPolicy");
318
- let body;
319
- body = JSON.stringify(se_DeleteAccessPolicyRequest(input));
320
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
321
- };
322
- const se_DeleteCollectionCommand = async (input, context) => {
323
- const headers = sharedHeaders("DeleteCollection");
324
- let body;
325
- body = JSON.stringify(se_DeleteCollectionRequest(input));
326
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
327
- };
328
- const se_DeleteIndexCommand = async (input, context) => {
329
- const headers = sharedHeaders("DeleteIndex");
330
- let body;
331
- body = JSON.stringify(smithyClient._json(input));
332
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
333
- };
334
- const se_DeleteLifecyclePolicyCommand = async (input, context) => {
335
- const headers = sharedHeaders("DeleteLifecyclePolicy");
336
- let body;
337
- body = JSON.stringify(se_DeleteLifecyclePolicyRequest(input));
338
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
339
- };
340
- const se_DeleteSecurityConfigCommand = async (input, context) => {
341
- const headers = sharedHeaders("DeleteSecurityConfig");
342
- let body;
343
- body = JSON.stringify(se_DeleteSecurityConfigRequest(input));
344
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
345
- };
346
- const se_DeleteSecurityPolicyCommand = async (input, context) => {
347
- const headers = sharedHeaders("DeleteSecurityPolicy");
348
- let body;
349
- body = JSON.stringify(se_DeleteSecurityPolicyRequest(input));
350
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
351
- };
352
- const se_DeleteVpcEndpointCommand = async (input, context) => {
353
- const headers = sharedHeaders("DeleteVpcEndpoint");
354
- let body;
355
- body = JSON.stringify(se_DeleteVpcEndpointRequest(input));
356
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
357
- };
358
- const se_GetAccessPolicyCommand = async (input, context) => {
359
- const headers = sharedHeaders("GetAccessPolicy");
360
- let body;
361
- body = JSON.stringify(smithyClient._json(input));
362
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
363
- };
364
- const se_GetAccountSettingsCommand = async (input, context) => {
365
- const headers = sharedHeaders("GetAccountSettings");
366
- let body;
367
- body = JSON.stringify(smithyClient._json(input));
368
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
369
- };
370
- const se_GetIndexCommand = async (input, context) => {
371
- const headers = sharedHeaders("GetIndex");
372
- let body;
373
- body = JSON.stringify(smithyClient._json(input));
374
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
375
- };
376
- const se_GetPoliciesStatsCommand = async (input, context) => {
377
- const headers = sharedHeaders("GetPoliciesStats");
378
- let body;
379
- body = JSON.stringify(smithyClient._json(input));
380
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
381
- };
382
- const se_GetSecurityConfigCommand = async (input, context) => {
383
- const headers = sharedHeaders("GetSecurityConfig");
384
- let body;
385
- body = JSON.stringify(smithyClient._json(input));
386
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
387
- };
388
- const se_GetSecurityPolicyCommand = async (input, context) => {
389
- const headers = sharedHeaders("GetSecurityPolicy");
390
- let body;
391
- body = JSON.stringify(smithyClient._json(input));
392
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
393
- };
394
- const se_ListAccessPoliciesCommand = async (input, context) => {
395
- const headers = sharedHeaders("ListAccessPolicies");
396
- let body;
397
- body = JSON.stringify(smithyClient._json(input));
398
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
399
- };
400
- const se_ListCollectionsCommand = async (input, context) => {
401
- const headers = sharedHeaders("ListCollections");
402
- let body;
403
- body = JSON.stringify(smithyClient._json(input));
404
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
405
- };
406
- const se_ListLifecyclePoliciesCommand = async (input, context) => {
407
- const headers = sharedHeaders("ListLifecyclePolicies");
408
- let body;
409
- body = JSON.stringify(smithyClient._json(input));
410
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
411
- };
412
- const se_ListSecurityConfigsCommand = async (input, context) => {
413
- const headers = sharedHeaders("ListSecurityConfigs");
414
- let body;
415
- body = JSON.stringify(smithyClient._json(input));
416
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
417
- };
418
- const se_ListSecurityPoliciesCommand = async (input, context) => {
419
- const headers = sharedHeaders("ListSecurityPolicies");
420
- let body;
421
- body = JSON.stringify(smithyClient._json(input));
422
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
423
- };
424
- const se_ListTagsForResourceCommand = async (input, context) => {
425
- const headers = sharedHeaders("ListTagsForResource");
426
- let body;
427
- body = JSON.stringify(smithyClient._json(input));
428
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
429
- };
430
- const se_ListVpcEndpointsCommand = async (input, context) => {
431
- const headers = sharedHeaders("ListVpcEndpoints");
432
- let body;
433
- body = JSON.stringify(smithyClient._json(input));
434
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
435
- };
436
- const se_TagResourceCommand = async (input, context) => {
437
- const headers = sharedHeaders("TagResource");
438
- let body;
439
- body = JSON.stringify(smithyClient._json(input));
440
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
441
- };
442
- const se_UntagResourceCommand = async (input, context) => {
443
- const headers = sharedHeaders("UntagResource");
444
- let body;
445
- body = JSON.stringify(smithyClient._json(input));
446
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
447
- };
448
- const se_UpdateAccessPolicyCommand = async (input, context) => {
449
- const headers = sharedHeaders("UpdateAccessPolicy");
450
- let body;
451
- body = JSON.stringify(se_UpdateAccessPolicyRequest(input));
452
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
453
- };
454
- const se_UpdateAccountSettingsCommand = async (input, context) => {
455
- const headers = sharedHeaders("UpdateAccountSettings");
456
- let body;
457
- body = JSON.stringify(smithyClient._json(input));
458
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
459
- };
460
- const se_UpdateCollectionCommand = async (input, context) => {
461
- const headers = sharedHeaders("UpdateCollection");
462
- let body;
463
- body = JSON.stringify(se_UpdateCollectionRequest(input));
464
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
465
- };
466
- const se_UpdateIndexCommand = async (input, context) => {
467
- const headers = sharedHeaders("UpdateIndex");
468
- let body;
469
- body = JSON.stringify(se_UpdateIndexRequest(input));
470
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
471
- };
472
- const se_UpdateLifecyclePolicyCommand = async (input, context) => {
473
- const headers = sharedHeaders("UpdateLifecyclePolicy");
474
- let body;
475
- body = JSON.stringify(se_UpdateLifecyclePolicyRequest(input));
476
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
477
- };
478
- const se_UpdateSecurityConfigCommand = async (input, context) => {
479
- const headers = sharedHeaders("UpdateSecurityConfig");
480
- let body;
481
- body = JSON.stringify(se_UpdateSecurityConfigRequest(input));
482
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
483
- };
484
- const se_UpdateSecurityPolicyCommand = async (input, context) => {
485
- const headers = sharedHeaders("UpdateSecurityPolicy");
486
- let body;
487
- body = JSON.stringify(se_UpdateSecurityPolicyRequest(input));
488
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
489
- };
490
- const se_UpdateVpcEndpointCommand = async (input, context) => {
491
- const headers = sharedHeaders("UpdateVpcEndpoint");
492
- let body;
493
- body = JSON.stringify(se_UpdateVpcEndpointRequest(input));
494
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
495
- };
496
- const de_BatchGetCollectionCommand = async (output, context) => {
497
- if (output.statusCode >= 300) {
498
- return de_CommandError(output, context);
499
- }
500
- const data = await core$1.parseJsonBody(output.body, context);
501
- let contents = {};
502
- contents = smithyClient._json(data);
503
- const response = {
504
- $metadata: deserializeMetadata(output),
505
- ...contents,
506
- };
507
- return response;
508
- };
509
- const de_BatchGetEffectiveLifecyclePolicyCommand = async (output, context) => {
510
- if (output.statusCode >= 300) {
511
- return de_CommandError(output, context);
512
- }
513
- const data = await core$1.parseJsonBody(output.body, context);
514
- let contents = {};
515
- contents = smithyClient._json(data);
516
- const response = {
517
- $metadata: deserializeMetadata(output),
518
- ...contents,
519
- };
520
- return response;
521
- };
522
- const de_BatchGetLifecyclePolicyCommand = async (output, context) => {
523
- if (output.statusCode >= 300) {
524
- return de_CommandError(output, context);
525
- }
526
- const data = await core$1.parseJsonBody(output.body, context);
527
- let contents = {};
528
- contents = de_BatchGetLifecyclePolicyResponse(data);
529
- const response = {
530
- $metadata: deserializeMetadata(output),
531
- ...contents,
532
- };
533
- return response;
534
- };
535
- const de_BatchGetVpcEndpointCommand = async (output, context) => {
536
- if (output.statusCode >= 300) {
537
- return de_CommandError(output, context);
538
- }
539
- const data = await core$1.parseJsonBody(output.body, context);
540
- let contents = {};
541
- contents = smithyClient._json(data);
542
- const response = {
543
- $metadata: deserializeMetadata(output),
544
- ...contents,
545
- };
546
- return response;
547
- };
548
- const de_CreateAccessPolicyCommand = async (output, context) => {
549
- if (output.statusCode >= 300) {
550
- return de_CommandError(output, context);
551
- }
552
- const data = await core$1.parseJsonBody(output.body, context);
553
- let contents = {};
554
- contents = de_CreateAccessPolicyResponse(data);
555
- const response = {
556
- $metadata: deserializeMetadata(output),
557
- ...contents,
558
- };
559
- return response;
560
- };
561
- const de_CreateCollectionCommand = async (output, context) => {
562
- if (output.statusCode >= 300) {
563
- return de_CommandError(output, context);
564
- }
565
- const data = await core$1.parseJsonBody(output.body, context);
566
- let contents = {};
567
- contents = smithyClient._json(data);
568
- const response = {
569
- $metadata: deserializeMetadata(output),
570
- ...contents,
571
- };
572
- return response;
573
- };
574
- const de_CreateIndexCommand = async (output, context) => {
575
- if (output.statusCode >= 300) {
576
- return de_CommandError(output, context);
577
- }
578
- const data = await core$1.parseJsonBody(output.body, context);
579
- let contents = {};
580
- contents = smithyClient._json(data);
581
- const response = {
582
- $metadata: deserializeMetadata(output),
583
- ...contents,
584
- };
585
- return response;
586
- };
587
- const de_CreateLifecyclePolicyCommand = async (output, context) => {
588
- if (output.statusCode >= 300) {
589
- return de_CommandError(output, context);
590
- }
591
- const data = await core$1.parseJsonBody(output.body, context);
592
- let contents = {};
593
- contents = de_CreateLifecyclePolicyResponse(data);
594
- const response = {
595
- $metadata: deserializeMetadata(output),
596
- ...contents,
597
- };
598
- return response;
599
- };
600
- const de_CreateSecurityConfigCommand = async (output, context) => {
601
- if (output.statusCode >= 300) {
602
- return de_CommandError(output, context);
603
- }
604
- const data = await core$1.parseJsonBody(output.body, context);
605
- let contents = {};
606
- contents = smithyClient._json(data);
607
- const response = {
608
- $metadata: deserializeMetadata(output),
609
- ...contents,
610
- };
611
- return response;
612
- };
613
- const de_CreateSecurityPolicyCommand = async (output, context) => {
614
- if (output.statusCode >= 300) {
615
- return de_CommandError(output, context);
616
- }
617
- const data = await core$1.parseJsonBody(output.body, context);
618
- let contents = {};
619
- contents = de_CreateSecurityPolicyResponse(data);
620
- const response = {
621
- $metadata: deserializeMetadata(output),
622
- ...contents,
623
- };
624
- return response;
625
- };
626
- const de_CreateVpcEndpointCommand = async (output, context) => {
627
- if (output.statusCode >= 300) {
628
- return de_CommandError(output, context);
629
- }
630
- const data = await core$1.parseJsonBody(output.body, context);
631
- let contents = {};
632
- contents = smithyClient._json(data);
633
- const response = {
634
- $metadata: deserializeMetadata(output),
635
- ...contents,
636
- };
637
- return response;
638
- };
639
- const de_DeleteAccessPolicyCommand = async (output, context) => {
640
- if (output.statusCode >= 300) {
641
- return de_CommandError(output, context);
642
- }
643
- const data = await core$1.parseJsonBody(output.body, context);
644
- let contents = {};
645
- contents = smithyClient._json(data);
646
- const response = {
647
- $metadata: deserializeMetadata(output),
648
- ...contents,
649
- };
650
- return response;
651
- };
652
- const de_DeleteCollectionCommand = async (output, context) => {
653
- if (output.statusCode >= 300) {
654
- return de_CommandError(output, context);
655
- }
656
- const data = await core$1.parseJsonBody(output.body, context);
657
- let contents = {};
658
- contents = smithyClient._json(data);
659
- const response = {
660
- $metadata: deserializeMetadata(output),
661
- ...contents,
662
- };
663
- return response;
664
- };
665
- const de_DeleteIndexCommand = async (output, context) => {
666
- if (output.statusCode >= 300) {
667
- return de_CommandError(output, context);
668
- }
669
- const data = await core$1.parseJsonBody(output.body, context);
670
- let contents = {};
671
- contents = smithyClient._json(data);
672
- const response = {
673
- $metadata: deserializeMetadata(output),
674
- ...contents,
675
- };
676
- return response;
677
- };
678
- const de_DeleteLifecyclePolicyCommand = async (output, context) => {
679
- if (output.statusCode >= 300) {
680
- return de_CommandError(output, context);
681
- }
682
- const data = await core$1.parseJsonBody(output.body, context);
683
- let contents = {};
684
- contents = smithyClient._json(data);
685
- const response = {
686
- $metadata: deserializeMetadata(output),
687
- ...contents,
688
- };
689
- return response;
690
- };
691
- const de_DeleteSecurityConfigCommand = async (output, context) => {
692
- if (output.statusCode >= 300) {
693
- return de_CommandError(output, context);
694
- }
695
- const data = await core$1.parseJsonBody(output.body, context);
696
- let contents = {};
697
- contents = smithyClient._json(data);
698
- const response = {
699
- $metadata: deserializeMetadata(output),
700
- ...contents,
701
- };
702
- return response;
703
- };
704
- const de_DeleteSecurityPolicyCommand = async (output, context) => {
705
- if (output.statusCode >= 300) {
706
- return de_CommandError(output, context);
707
- }
708
- const data = await core$1.parseJsonBody(output.body, context);
709
- let contents = {};
710
- contents = smithyClient._json(data);
711
- const response = {
712
- $metadata: deserializeMetadata(output),
713
- ...contents,
714
- };
715
- return response;
716
- };
717
- const de_DeleteVpcEndpointCommand = async (output, context) => {
718
- if (output.statusCode >= 300) {
719
- return de_CommandError(output, context);
720
- }
721
- const data = await core$1.parseJsonBody(output.body, context);
722
- let contents = {};
723
- contents = smithyClient._json(data);
724
- const response = {
725
- $metadata: deserializeMetadata(output),
726
- ...contents,
727
- };
728
- return response;
729
- };
730
- const de_GetAccessPolicyCommand = async (output, context) => {
731
- if (output.statusCode >= 300) {
732
- return de_CommandError(output, context);
733
- }
734
- const data = await core$1.parseJsonBody(output.body, context);
735
- let contents = {};
736
- contents = de_GetAccessPolicyResponse(data);
737
- const response = {
738
- $metadata: deserializeMetadata(output),
739
- ...contents,
740
- };
741
- return response;
742
- };
743
- const de_GetAccountSettingsCommand = async (output, context) => {
744
- if (output.statusCode >= 300) {
745
- return de_CommandError(output, context);
746
- }
747
- const data = await core$1.parseJsonBody(output.body, context);
748
- let contents = {};
749
- contents = smithyClient._json(data);
750
- const response = {
751
- $metadata: deserializeMetadata(output),
752
- ...contents,
753
- };
754
- return response;
755
- };
756
- const de_GetIndexCommand = async (output, context) => {
757
- if (output.statusCode >= 300) {
758
- return de_CommandError(output, context);
759
- }
760
- const data = await core$1.parseJsonBody(output.body, context);
761
- let contents = {};
762
- contents = de_GetIndexResponse(data);
763
- const response = {
764
- $metadata: deserializeMetadata(output),
765
- ...contents,
766
- };
767
- return response;
768
- };
769
- const de_GetPoliciesStatsCommand = async (output, context) => {
770
- if (output.statusCode >= 300) {
771
- return de_CommandError(output, context);
772
- }
773
- const data = await core$1.parseJsonBody(output.body, context);
774
- let contents = {};
775
- contents = smithyClient._json(data);
776
- const response = {
777
- $metadata: deserializeMetadata(output),
778
- ...contents,
779
- };
780
- return response;
781
- };
782
- const de_GetSecurityConfigCommand = async (output, context) => {
783
- if (output.statusCode >= 300) {
784
- return de_CommandError(output, context);
785
- }
786
- const data = await core$1.parseJsonBody(output.body, context);
787
- let contents = {};
788
- contents = smithyClient._json(data);
789
- const response = {
790
- $metadata: deserializeMetadata(output),
791
- ...contents,
792
- };
793
- return response;
794
- };
795
- const de_GetSecurityPolicyCommand = async (output, context) => {
796
- if (output.statusCode >= 300) {
797
- return de_CommandError(output, context);
798
- }
799
- const data = await core$1.parseJsonBody(output.body, context);
800
- let contents = {};
801
- contents = de_GetSecurityPolicyResponse(data);
802
- const response = {
803
- $metadata: deserializeMetadata(output),
804
- ...contents,
805
- };
806
- return response;
807
- };
808
- const de_ListAccessPoliciesCommand = async (output, context) => {
809
- if (output.statusCode >= 300) {
810
- return de_CommandError(output, context);
811
- }
812
- const data = await core$1.parseJsonBody(output.body, context);
813
- let contents = {};
814
- contents = smithyClient._json(data);
815
- const response = {
816
- $metadata: deserializeMetadata(output),
817
- ...contents,
818
- };
819
- return response;
820
- };
821
- const de_ListCollectionsCommand = async (output, context) => {
822
- if (output.statusCode >= 300) {
823
- return de_CommandError(output, context);
824
- }
825
- const data = await core$1.parseJsonBody(output.body, context);
826
- let contents = {};
827
- contents = smithyClient._json(data);
828
- const response = {
829
- $metadata: deserializeMetadata(output),
830
- ...contents,
831
- };
832
- return response;
833
- };
834
- const de_ListLifecyclePoliciesCommand = async (output, context) => {
835
- if (output.statusCode >= 300) {
836
- return de_CommandError(output, context);
837
- }
838
- const data = await core$1.parseJsonBody(output.body, context);
839
- let contents = {};
840
- contents = smithyClient._json(data);
841
- const response = {
842
- $metadata: deserializeMetadata(output),
843
- ...contents,
844
- };
845
- return response;
846
- };
847
- const de_ListSecurityConfigsCommand = async (output, context) => {
848
- if (output.statusCode >= 300) {
849
- return de_CommandError(output, context);
850
- }
851
- const data = await core$1.parseJsonBody(output.body, context);
852
- let contents = {};
853
- contents = smithyClient._json(data);
854
- const response = {
855
- $metadata: deserializeMetadata(output),
856
- ...contents,
857
- };
858
- return response;
859
- };
860
- const de_ListSecurityPoliciesCommand = async (output, context) => {
861
- if (output.statusCode >= 300) {
862
- return de_CommandError(output, context);
863
- }
864
- const data = await core$1.parseJsonBody(output.body, context);
865
- let contents = {};
866
- contents = smithyClient._json(data);
867
- const response = {
868
- $metadata: deserializeMetadata(output),
869
- ...contents,
870
- };
871
- return response;
872
- };
873
- const de_ListTagsForResourceCommand = async (output, context) => {
874
- if (output.statusCode >= 300) {
875
- return de_CommandError(output, context);
876
- }
877
- const data = await core$1.parseJsonBody(output.body, context);
878
- let contents = {};
879
- contents = smithyClient._json(data);
880
- const response = {
881
- $metadata: deserializeMetadata(output),
882
- ...contents,
883
- };
884
- return response;
885
- };
886
- const de_ListVpcEndpointsCommand = async (output, context) => {
887
- if (output.statusCode >= 300) {
888
- return de_CommandError(output, context);
889
- }
890
- const data = await core$1.parseJsonBody(output.body, context);
891
- let contents = {};
892
- contents = smithyClient._json(data);
893
- const response = {
894
- $metadata: deserializeMetadata(output),
895
- ...contents,
896
- };
897
- return response;
898
- };
899
- const de_TagResourceCommand = async (output, context) => {
900
- if (output.statusCode >= 300) {
901
- return de_CommandError(output, context);
902
- }
903
- const data = await core$1.parseJsonBody(output.body, context);
904
- let contents = {};
905
- contents = smithyClient._json(data);
906
- const response = {
907
- $metadata: deserializeMetadata(output),
908
- ...contents,
909
- };
910
- return response;
911
- };
912
- const de_UntagResourceCommand = async (output, context) => {
913
- if (output.statusCode >= 300) {
914
- return de_CommandError(output, context);
915
- }
916
- const data = await core$1.parseJsonBody(output.body, context);
917
- let contents = {};
918
- contents = smithyClient._json(data);
919
- const response = {
920
- $metadata: deserializeMetadata(output),
921
- ...contents,
922
- };
923
- return response;
924
- };
925
- const de_UpdateAccessPolicyCommand = async (output, context) => {
926
- if (output.statusCode >= 300) {
927
- return de_CommandError(output, context);
928
- }
929
- const data = await core$1.parseJsonBody(output.body, context);
930
- let contents = {};
931
- contents = de_UpdateAccessPolicyResponse(data);
932
- const response = {
933
- $metadata: deserializeMetadata(output),
934
- ...contents,
935
- };
936
- return response;
937
- };
938
- const de_UpdateAccountSettingsCommand = async (output, context) => {
939
- if (output.statusCode >= 300) {
940
- return de_CommandError(output, context);
941
- }
942
- const data = await core$1.parseJsonBody(output.body, context);
943
- let contents = {};
944
- contents = smithyClient._json(data);
945
- const response = {
946
- $metadata: deserializeMetadata(output),
947
- ...contents,
948
- };
949
- return response;
950
- };
951
- const de_UpdateCollectionCommand = async (output, context) => {
952
- if (output.statusCode >= 300) {
953
- return de_CommandError(output, context);
954
- }
955
- const data = await core$1.parseJsonBody(output.body, context);
956
- let contents = {};
957
- contents = smithyClient._json(data);
958
- const response = {
959
- $metadata: deserializeMetadata(output),
960
- ...contents,
961
- };
962
- return response;
963
- };
964
- const de_UpdateIndexCommand = async (output, context) => {
965
- if (output.statusCode >= 300) {
966
- return de_CommandError(output, context);
967
- }
968
- const data = await core$1.parseJsonBody(output.body, context);
969
- let contents = {};
970
- contents = smithyClient._json(data);
971
- const response = {
972
- $metadata: deserializeMetadata(output),
973
- ...contents,
974
- };
975
- return response;
976
- };
977
- const de_UpdateLifecyclePolicyCommand = async (output, context) => {
978
- if (output.statusCode >= 300) {
979
- return de_CommandError(output, context);
980
- }
981
- const data = await core$1.parseJsonBody(output.body, context);
982
- let contents = {};
983
- contents = de_UpdateLifecyclePolicyResponse(data);
984
- const response = {
985
- $metadata: deserializeMetadata(output),
986
- ...contents,
987
- };
988
- return response;
989
- };
990
- const de_UpdateSecurityConfigCommand = async (output, context) => {
991
- if (output.statusCode >= 300) {
992
- return de_CommandError(output, context);
993
- }
994
- const data = await core$1.parseJsonBody(output.body, context);
995
- let contents = {};
996
- contents = smithyClient._json(data);
997
- const response = {
998
- $metadata: deserializeMetadata(output),
999
- ...contents,
1000
- };
1001
- return response;
1002
- };
1003
- const de_UpdateSecurityPolicyCommand = async (output, context) => {
1004
- if (output.statusCode >= 300) {
1005
- return de_CommandError(output, context);
1006
- }
1007
- const data = await core$1.parseJsonBody(output.body, context);
1008
- let contents = {};
1009
- contents = de_UpdateSecurityPolicyResponse(data);
1010
- const response = {
1011
- $metadata: deserializeMetadata(output),
1012
- ...contents,
1013
- };
1014
- return response;
1015
- };
1016
- const de_UpdateVpcEndpointCommand = async (output, context) => {
1017
- if (output.statusCode >= 300) {
1018
- return de_CommandError(output, context);
1019
- }
1020
- const data = await core$1.parseJsonBody(output.body, context);
1021
- let contents = {};
1022
- contents = smithyClient._json(data);
1023
- const response = {
1024
- $metadata: deserializeMetadata(output),
1025
- ...contents,
1026
- };
1027
- return response;
1028
- };
1029
- const de_CommandError = async (output, context) => {
1030
- const parsedOutput = {
1031
- ...output,
1032
- body: await core$1.parseJsonErrorBody(output.body, context),
1033
- };
1034
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1035
- switch (errorCode) {
1036
- case "InternalServerException":
1037
- case "com.amazonaws.opensearchserverless#InternalServerException":
1038
- throw await de_InternalServerExceptionRes(parsedOutput);
1039
- case "ValidationException":
1040
- case "com.amazonaws.opensearchserverless#ValidationException":
1041
- throw await de_ValidationExceptionRes(parsedOutput);
1042
- case "ConflictException":
1043
- case "com.amazonaws.opensearchserverless#ConflictException":
1044
- throw await de_ConflictExceptionRes(parsedOutput);
1045
- case "ServiceQuotaExceededException":
1046
- case "com.amazonaws.opensearchserverless#ServiceQuotaExceededException":
1047
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1048
- case "OcuLimitExceededException":
1049
- case "com.amazonaws.opensearchserverless#OcuLimitExceededException":
1050
- throw await de_OcuLimitExceededExceptionRes(parsedOutput);
1051
- case "ResourceNotFoundException":
1052
- case "com.amazonaws.opensearchserverless#ResourceNotFoundException":
1053
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1054
- default:
1055
- const parsedBody = parsedOutput.body;
1056
- return throwDefaultError({
1057
- output,
1058
- parsedBody,
1059
- errorCode,
1060
- });
1061
- }
1062
- };
1063
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1064
- const body = parsedOutput.body;
1065
- const deserialized = smithyClient._json(body);
1066
- const exception = new ConflictException({
1067
- $metadata: deserializeMetadata(parsedOutput),
1068
- ...deserialized,
1069
- });
1070
- return smithyClient.decorateServiceException(exception, body);
1071
- };
1072
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1073
- const body = parsedOutput.body;
1074
- const deserialized = smithyClient._json(body);
1075
- const exception = new InternalServerException({
1076
- $metadata: deserializeMetadata(parsedOutput),
1077
- ...deserialized,
1078
- });
1079
- return smithyClient.decorateServiceException(exception, body);
1080
- };
1081
- const de_OcuLimitExceededExceptionRes = async (parsedOutput, context) => {
1082
- const body = parsedOutput.body;
1083
- const deserialized = smithyClient._json(body);
1084
- const exception = new OcuLimitExceededException({
1085
- $metadata: deserializeMetadata(parsedOutput),
1086
- ...deserialized,
1087
- });
1088
- return smithyClient.decorateServiceException(exception, body);
1089
- };
1090
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1091
- const body = parsedOutput.body;
1092
- const deserialized = smithyClient._json(body);
1093
- const exception = new ResourceNotFoundException({
1094
- $metadata: deserializeMetadata(parsedOutput),
1095
- ...deserialized,
1096
- });
1097
- return smithyClient.decorateServiceException(exception, body);
1098
- };
1099
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1100
- const body = parsedOutput.body;
1101
- const deserialized = smithyClient._json(body);
1102
- const exception = new ServiceQuotaExceededException({
1103
- $metadata: deserializeMetadata(parsedOutput),
1104
- ...deserialized,
1105
- });
1106
- return smithyClient.decorateServiceException(exception, body);
1107
- };
1108
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1109
- const body = parsedOutput.body;
1110
- const deserialized = smithyClient._json(body);
1111
- const exception = new ValidationException({
1112
- $metadata: deserializeMetadata(parsedOutput),
1113
- ...deserialized,
1114
- });
1115
- return smithyClient.decorateServiceException(exception, body);
1116
- };
1117
- const se_CreateAccessPolicyRequest = (input, context) => {
1118
- return smithyClient.take(input, {
1119
- clientToken: [true, (_) => _ ?? uuid.v4()],
1120
- description: [],
1121
- name: [],
1122
- policy: [],
1123
- type: [],
1124
- });
1125
- };
1126
- const se_CreateCollectionRequest = (input, context) => {
1127
- return smithyClient.take(input, {
1128
- clientToken: [true, (_) => _ ?? uuid.v4()],
1129
- description: [],
1130
- name: [],
1131
- standbyReplicas: [],
1132
- tags: smithyClient._json,
1133
- type: [],
1134
- });
1135
- };
1136
- const se_CreateIndexRequest = (input, context) => {
1137
- return smithyClient.take(input, {
1138
- id: [],
1139
- indexName: [],
1140
- indexSchema: (_) => se_IndexSchema(_),
1141
- });
1142
- };
1143
- const se_CreateLifecyclePolicyRequest = (input, context) => {
1144
- return smithyClient.take(input, {
1145
- clientToken: [true, (_) => _ ?? uuid.v4()],
1146
- description: [],
1147
- name: [],
1148
- policy: [],
1149
- type: [],
1150
- });
1151
- };
1152
- const se_CreateSecurityConfigRequest = (input, context) => {
1153
- return smithyClient.take(input, {
1154
- clientToken: [true, (_) => _ ?? uuid.v4()],
1155
- description: [],
1156
- iamFederationOptions: smithyClient._json,
1157
- iamIdentityCenterOptions: smithyClient._json,
1158
- name: [],
1159
- samlOptions: smithyClient._json,
1160
- type: [],
1161
- });
1162
- };
1163
- const se_CreateSecurityPolicyRequest = (input, context) => {
1164
- return smithyClient.take(input, {
1165
- clientToken: [true, (_) => _ ?? uuid.v4()],
1166
- description: [],
1167
- name: [],
1168
- policy: [],
1169
- type: [],
1170
- });
1171
- };
1172
- const se_CreateVpcEndpointRequest = (input, context) => {
1173
- return smithyClient.take(input, {
1174
- clientToken: [true, (_) => _ ?? uuid.v4()],
1175
- name: [],
1176
- securityGroupIds: smithyClient._json,
1177
- subnetIds: smithyClient._json,
1178
- vpcId: [],
1179
- });
1180
- };
1181
- const se_DeleteAccessPolicyRequest = (input, context) => {
1182
- return smithyClient.take(input, {
1183
- clientToken: [true, (_) => _ ?? uuid.v4()],
1184
- name: [],
1185
- type: [],
1186
- });
1187
- };
1188
- const se_DeleteCollectionRequest = (input, context) => {
1189
- return smithyClient.take(input, {
1190
- clientToken: [true, (_) => _ ?? uuid.v4()],
1191
- id: [],
1192
- });
1193
- };
1194
- const se_DeleteLifecyclePolicyRequest = (input, context) => {
1195
- return smithyClient.take(input, {
1196
- clientToken: [true, (_) => _ ?? uuid.v4()],
1197
- name: [],
1198
- type: [],
1199
- });
1200
- };
1201
- const se_DeleteSecurityConfigRequest = (input, context) => {
1202
- return smithyClient.take(input, {
1203
- clientToken: [true, (_) => _ ?? uuid.v4()],
1204
- id: [],
1205
- });
1206
- };
1207
- const se_DeleteSecurityPolicyRequest = (input, context) => {
1208
- return smithyClient.take(input, {
1209
- clientToken: [true, (_) => _ ?? uuid.v4()],
1210
- name: [],
1211
- type: [],
1212
- });
1213
- };
1214
- const se_DeleteVpcEndpointRequest = (input, context) => {
1215
- return smithyClient.take(input, {
1216
- clientToken: [true, (_) => _ ?? uuid.v4()],
1217
- id: [],
1218
- });
1219
- };
1220
- const se_IndexSchema = (input, context) => {
1221
- return input;
1222
- };
1223
- const se_UpdateAccessPolicyRequest = (input, context) => {
1224
- return smithyClient.take(input, {
1225
- clientToken: [true, (_) => _ ?? uuid.v4()],
1226
- description: [],
1227
- name: [],
1228
- policy: [],
1229
- policyVersion: [],
1230
- type: [],
1231
- });
1232
- };
1233
- const se_UpdateCollectionRequest = (input, context) => {
1234
- return smithyClient.take(input, {
1235
- clientToken: [true, (_) => _ ?? uuid.v4()],
1236
- description: [],
1237
- id: [],
1238
- });
1239
- };
1240
- const se_UpdateIndexRequest = (input, context) => {
1241
- return smithyClient.take(input, {
1242
- id: [],
1243
- indexName: [],
1244
- indexSchema: (_) => se_IndexSchema(_),
1245
- });
1246
- };
1247
- const se_UpdateLifecyclePolicyRequest = (input, context) => {
1248
- return smithyClient.take(input, {
1249
- clientToken: [true, (_) => _ ?? uuid.v4()],
1250
- description: [],
1251
- name: [],
1252
- policy: [],
1253
- policyVersion: [],
1254
- type: [],
1255
- });
1256
- };
1257
- const se_UpdateSecurityConfigRequest = (input, context) => {
1258
- return smithyClient.take(input, {
1259
- clientToken: [true, (_) => _ ?? uuid.v4()],
1260
- configVersion: [],
1261
- description: [],
1262
- iamFederationOptions: smithyClient._json,
1263
- iamIdentityCenterOptionsUpdates: smithyClient._json,
1264
- id: [],
1265
- samlOptions: smithyClient._json,
1266
- });
1267
- };
1268
- const se_UpdateSecurityPolicyRequest = (input, context) => {
1269
- return smithyClient.take(input, {
1270
- clientToken: [true, (_) => _ ?? uuid.v4()],
1271
- description: [],
1272
- name: [],
1273
- policy: [],
1274
- policyVersion: [],
1275
- type: [],
1276
- });
1277
- };
1278
- const se_UpdateVpcEndpointRequest = (input, context) => {
1279
- return smithyClient.take(input, {
1280
- addSecurityGroupIds: smithyClient._json,
1281
- addSubnetIds: smithyClient._json,
1282
- clientToken: [true, (_) => _ ?? uuid.v4()],
1283
- id: [],
1284
- removeSecurityGroupIds: smithyClient._json,
1285
- removeSubnetIds: smithyClient._json,
1286
- });
1287
- };
1288
- const de_AccessPolicyDetail = (output, context) => {
1289
- return smithyClient.take(output, {
1290
- createdDate: smithyClient.expectLong,
1291
- description: smithyClient.expectString,
1292
- lastModifiedDate: smithyClient.expectLong,
1293
- name: smithyClient.expectString,
1294
- policy: (_) => de_Document(_),
1295
- policyVersion: smithyClient.expectString,
1296
- type: smithyClient.expectString,
1297
- });
1298
- };
1299
- const de_BatchGetLifecyclePolicyResponse = (output, context) => {
1300
- return smithyClient.take(output, {
1301
- lifecyclePolicyDetails: (_) => de_LifecyclePolicyDetails(_),
1302
- lifecyclePolicyErrorDetails: smithyClient._json,
1303
- });
1304
- };
1305
- const de_CreateAccessPolicyResponse = (output, context) => {
1306
- return smithyClient.take(output, {
1307
- accessPolicyDetail: (_) => de_AccessPolicyDetail(_),
1308
- });
1309
- };
1310
- const de_CreateLifecyclePolicyResponse = (output, context) => {
1311
- return smithyClient.take(output, {
1312
- lifecyclePolicyDetail: (_) => de_LifecyclePolicyDetail(_),
1313
- });
1314
- };
1315
- const de_CreateSecurityPolicyResponse = (output, context) => {
1316
- return smithyClient.take(output, {
1317
- securityPolicyDetail: (_) => de_SecurityPolicyDetail(_),
1318
- });
1319
- };
1320
- const de_GetAccessPolicyResponse = (output, context) => {
1321
- return smithyClient.take(output, {
1322
- accessPolicyDetail: (_) => de_AccessPolicyDetail(_),
1323
- });
1324
- };
1325
- const de_GetIndexResponse = (output, context) => {
1326
- return smithyClient.take(output, {
1327
- indexSchema: (_) => de_IndexSchema(_),
1328
- });
1329
- };
1330
- const de_GetSecurityPolicyResponse = (output, context) => {
1331
- return smithyClient.take(output, {
1332
- securityPolicyDetail: (_) => de_SecurityPolicyDetail(_),
1333
- });
1334
- };
1335
- const de_IndexSchema = (output, context) => {
1336
- return output;
1337
- };
1338
- const de_LifecyclePolicyDetail = (output, context) => {
1339
- return smithyClient.take(output, {
1340
- createdDate: smithyClient.expectLong,
1341
- description: smithyClient.expectString,
1342
- lastModifiedDate: smithyClient.expectLong,
1343
- name: smithyClient.expectString,
1344
- policy: (_) => de_Document(_),
1345
- policyVersion: smithyClient.expectString,
1346
- type: smithyClient.expectString,
1347
- });
1348
- };
1349
- const de_LifecyclePolicyDetails = (output, context) => {
1350
- const retVal = (output || [])
1351
- .filter((e) => e != null)
1352
- .map((entry) => {
1353
- return de_LifecyclePolicyDetail(entry);
1354
- });
1355
- return retVal;
1356
- };
1357
- const de_SecurityPolicyDetail = (output, context) => {
1358
- return smithyClient.take(output, {
1359
- createdDate: smithyClient.expectLong,
1360
- description: smithyClient.expectString,
1361
- lastModifiedDate: smithyClient.expectLong,
1362
- name: smithyClient.expectString,
1363
- policy: (_) => de_Document(_),
1364
- policyVersion: smithyClient.expectString,
1365
- type: smithyClient.expectString,
1366
- });
1367
- };
1368
- const de_UpdateAccessPolicyResponse = (output, context) => {
1369
- return smithyClient.take(output, {
1370
- accessPolicyDetail: (_) => de_AccessPolicyDetail(_),
1371
- });
1372
- };
1373
- const de_UpdateLifecyclePolicyResponse = (output, context) => {
1374
- return smithyClient.take(output, {
1375
- lifecyclePolicyDetail: (_) => de_LifecyclePolicyDetail(_),
1376
- });
1377
- };
1378
- const de_UpdateSecurityPolicyResponse = (output, context) => {
1379
- return smithyClient.take(output, {
1380
- securityPolicyDetail: (_) => de_SecurityPolicyDetail(_),
1381
- });
1382
- };
1383
- const de_Document = (output, context) => {
1384
- return output;
1385
- };
1386
- const deserializeMetadata = (output) => ({
1387
- httpStatusCode: output.statusCode,
1388
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1389
- extendedRequestId: output.headers["x-amz-id-2"],
1390
- cfId: output.headers["x-amz-cf-id"],
1391
- });
1392
- const throwDefaultError = smithyClient.withBaseException(OpenSearchServerlessServiceException);
1393
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1394
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1395
- const contents = {
1396
- protocol,
1397
- hostname,
1398
- port,
1399
- method: "POST",
1400
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1401
- headers,
1402
- };
1403
- if (body !== undefined) {
1404
- contents.body = body;
1405
- }
1406
- return new protocolHttp.HttpRequest(contents);
1407
- };
1408
- function sharedHeaders(operation) {
1409
- return {
1410
- "content-type": "application/x-amz-json-1.0",
1411
- "x-amz-target": `OpenSearchServerless.${operation}`,
1412
- };
1413
- }
249
+ const _APD = "AccessPolicyDetail";
250
+ const _APS = "AccessPolicyStats";
251
+ const _APSc = "AccessPolicySummary";
252
+ const _APScc = "AccessPolicySummaries";
253
+ const _ASD = "AccountSettingsDetail";
254
+ const _BGC = "BatchGetCollection";
255
+ const _BGCR = "BatchGetCollectionRequest";
256
+ const _BGCRa = "BatchGetCollectionResponse";
257
+ const _BGELP = "BatchGetEffectiveLifecyclePolicy";
258
+ const _BGELPR = "BatchGetEffectiveLifecyclePolicyRequest";
259
+ const _BGELPRa = "BatchGetEffectiveLifecyclePolicyResponse";
260
+ const _BGLP = "BatchGetLifecyclePolicy";
261
+ const _BGLPR = "BatchGetLifecyclePolicyRequest";
262
+ const _BGLPRa = "BatchGetLifecyclePolicyResponse";
263
+ const _BGVE = "BatchGetVpcEndpoint";
264
+ const _BGVER = "BatchGetVpcEndpointRequest";
265
+ const _BGVERa = "BatchGetVpcEndpointResponse";
266
+ const _CAP = "CreateAccessPolicy";
267
+ const _CAPR = "CreateAccessPolicyRequest";
268
+ const _CAPRr = "CreateAccessPolicyResponse";
269
+ const _CC = "CreateCollection";
270
+ const _CCD = "CreateCollectionDetail";
271
+ const _CCR = "CreateCollectionRequest";
272
+ const _CCRr = "CreateCollectionResponse";
273
+ const _CD = "CollectionDetail";
274
+ const _CDo = "CollectionDetails";
275
+ const _CE = "ConflictException";
276
+ const _CED = "CollectionErrorDetail";
277
+ const _CEDo = "CollectionErrorDetails";
278
+ const _CF = "CollectionFilters";
279
+ const _CI = "CreateIndex";
280
+ const _CIICCO = "CreateIamIdentityCenterConfigOptions";
281
+ const _CIR = "CreateIndexRequest";
282
+ const _CIRr = "CreateIndexResponse";
283
+ const _CL = "CapacityLimits";
284
+ const _CLP = "CreateLifecyclePolicy";
285
+ const _CLPR = "CreateLifecyclePolicyRequest";
286
+ const _CLPRr = "CreateLifecyclePolicyResponse";
287
+ const _CS = "CollectionSummary";
288
+ const _CSC = "CreateSecurityConfig";
289
+ const _CSCR = "CreateSecurityConfigRequest";
290
+ const _CSCRr = "CreateSecurityConfigResponse";
291
+ const _CSP = "CreateSecurityPolicy";
292
+ const _CSPR = "CreateSecurityPolicyRequest";
293
+ const _CSPRr = "CreateSecurityPolicyResponse";
294
+ const _CSo = "CollectionSummaries";
295
+ const _CVE = "CreateVpcEndpoint";
296
+ const _CVED = "CreateVpcEndpointDetail";
297
+ const _CVER = "CreateVpcEndpointRequest";
298
+ const _CVERr = "CreateVpcEndpointResponse";
299
+ const _DAP = "DeleteAccessPolicy";
300
+ const _DAPR = "DeleteAccessPolicyRequest";
301
+ const _DAPRe = "DeleteAccessPolicyResponse";
302
+ const _DC = "DeleteCollection";
303
+ const _DCD = "DeleteCollectionDetail";
304
+ const _DCR = "DeleteCollectionRequest";
305
+ const _DCRe = "DeleteCollectionResponse";
306
+ const _DI = "DeleteIndex";
307
+ const _DIR = "DeleteIndexRequest";
308
+ const _DIRe = "DeleteIndexResponse";
309
+ const _DLP = "DeleteLifecyclePolicy";
310
+ const _DLPR = "DeleteLifecyclePolicyRequest";
311
+ const _DLPRe = "DeleteLifecyclePolicyResponse";
312
+ const _DPC = "DataPolicyCount";
313
+ const _DSC = "DeleteSecurityConfig";
314
+ const _DSCR = "DeleteSecurityConfigRequest";
315
+ const _DSCRe = "DeleteSecurityConfigResponse";
316
+ const _DSP = "DeleteSecurityPolicy";
317
+ const _DSPR = "DeleteSecurityPolicyRequest";
318
+ const _DSPRe = "DeleteSecurityPolicyResponse";
319
+ const _DVE = "DeleteVpcEndpoint";
320
+ const _DVED = "DeleteVpcEndpointDetail";
321
+ const _DVER = "DeleteVpcEndpointRequest";
322
+ const _DVERe = "DeleteVpcEndpointResponse";
323
+ const _ELPD = "EffectiveLifecyclePolicyDetail";
324
+ const _ELPDf = "EffectiveLifecyclePolicyDetails";
325
+ const _ELPED = "EffectiveLifecyclePolicyErrorDetail";
326
+ const _ELPEDf = "EffectiveLifecyclePolicyErrorDetails";
327
+ const _EPC = "EncryptionPolicyCount";
328
+ const _FE = "FipsEndpoints";
329
+ const _GAP = "GetAccessPolicy";
330
+ const _GAPR = "GetAccessPolicyRequest";
331
+ const _GAPRe = "GetAccessPolicyResponse";
332
+ const _GAS = "GetAccountSettings";
333
+ const _GASR = "GetAccountSettingsRequest";
334
+ const _GASRe = "GetAccountSettingsResponse";
335
+ const _GI = "GetIndex";
336
+ const _GIR = "GetIndexRequest";
337
+ const _GIRe = "GetIndexResponse";
338
+ const _GPS = "GetPoliciesStats";
339
+ const _GPSR = "GetPoliciesStatsRequest";
340
+ const _GPSRe = "GetPoliciesStatsResponse";
341
+ const _GSC = "GetSecurityConfig";
342
+ const _GSCR = "GetSecurityConfigRequest";
343
+ const _GSCRe = "GetSecurityConfigResponse";
344
+ const _GSP = "GetSecurityPolicy";
345
+ const _GSPR = "GetSecurityPolicyRequest";
346
+ const _GSPRe = "GetSecurityPolicyResponse";
347
+ const _IFCO = "IamFederationConfigOptions";
348
+ const _IICCO = "IamIdentityCenterConfigOptions";
349
+ const _ISE = "InternalServerException";
350
+ const _LAP = "ListAccessPolicies";
351
+ const _LAPR = "ListAccessPoliciesRequest";
352
+ const _LAPRi = "ListAccessPoliciesResponse";
353
+ const _LC = "ListCollections";
354
+ const _LCR = "ListCollectionsRequest";
355
+ const _LCRi = "ListCollectionsResponse";
356
+ const _LLP = "ListLifecyclePolicies";
357
+ const _LLPR = "ListLifecyclePoliciesRequest";
358
+ const _LLPRi = "ListLifecyclePoliciesResponse";
359
+ const _LPD = "LifecyclePolicyDetail";
360
+ const _LPDi = "LifecyclePolicyDetails";
361
+ const _LPED = "LifecyclePolicyErrorDetail";
362
+ const _LPEDi = "LifecyclePolicyErrorDetails";
363
+ const _LPI = "LifecyclePolicyIdentifier";
364
+ const _LPIi = "LifecyclePolicyIdentifiers";
365
+ const _LPRI = "LifecyclePolicyResourceIdentifier";
366
+ const _LPRIi = "LifecyclePolicyResourceIdentifiers";
367
+ const _LPS = "LifecyclePolicyStats";
368
+ const _LPSi = "LifecyclePolicySummary";
369
+ const _LPSif = "LifecyclePolicySummaries";
370
+ const _LSC = "ListSecurityConfigs";
371
+ const _LSCR = "ListSecurityConfigsRequest";
372
+ const _LSCRi = "ListSecurityConfigsResponse";
373
+ const _LSP = "ListSecurityPolicies";
374
+ const _LSPR = "ListSecurityPoliciesRequest";
375
+ const _LSPRi = "ListSecurityPoliciesResponse";
376
+ const _LTFR = "ListTagsForResource";
377
+ const _LTFRR = "ListTagsForResourceRequest";
378
+ const _LTFRRi = "ListTagsForResourceResponse";
379
+ const _LVE = "ListVpcEndpoints";
380
+ const _LVER = "ListVpcEndpointsRequest";
381
+ const _LVERi = "ListVpcEndpointsResponse";
382
+ const _NPC = "NetworkPolicyCount";
383
+ const _OLEE = "OcuLimitExceededException";
384
+ const _RNFE = "ResourceNotFoundException";
385
+ const _RPC = "RetentionPolicyCount";
386
+ const _SCC = "SamlConfigCount";
387
+ const _SCD = "SecurityConfigDetail";
388
+ const _SCO = "SamlConfigOptions";
389
+ const _SCS = "SecurityConfigStats";
390
+ const _SCSe = "SecurityConfigSummary";
391
+ const _SCSec = "SecurityConfigSummaries";
392
+ const _SPD = "SecurityPolicyDetail";
393
+ const _SPS = "SecurityPolicyStats";
394
+ const _SPSe = "SecurityPolicySummary";
395
+ const _SPSec = "SecurityPolicySummaries";
396
+ const _SQEE = "ServiceQuotaExceededException";
397
+ const _T = "Tag";
398
+ const _TPC = "TotalPolicyCount";
399
+ const _TR = "TagResource";
400
+ const _TRR = "TagResourceRequest";
401
+ const _TRRa = "TagResourceResponse";
402
+ const _Ta = "Tags";
403
+ const _UAP = "UpdateAccessPolicy";
404
+ const _UAPR = "UpdateAccessPolicyRequest";
405
+ const _UAPRp = "UpdateAccessPolicyResponse";
406
+ const _UAS = "UpdateAccountSettings";
407
+ const _UASR = "UpdateAccountSettingsRequest";
408
+ const _UASRp = "UpdateAccountSettingsResponse";
409
+ const _UC = "UpdateCollection";
410
+ const _UCD = "UpdateCollectionDetail";
411
+ const _UCR = "UpdateCollectionRequest";
412
+ const _UCRp = "UpdateCollectionResponse";
413
+ const _UI = "UpdateIndex";
414
+ const _UIICCO = "UpdateIamIdentityCenterConfigOptions";
415
+ const _UIR = "UpdateIndexRequest";
416
+ const _UIRp = "UpdateIndexResponse";
417
+ const _ULP = "UpdateLifecyclePolicy";
418
+ const _ULPR = "UpdateLifecyclePolicyRequest";
419
+ const _ULPRp = "UpdateLifecyclePolicyResponse";
420
+ const _UR = "UntagResource";
421
+ const _URR = "UntagResourceRequest";
422
+ const _URRn = "UntagResourceResponse";
423
+ const _USC = "UpdateSecurityConfig";
424
+ const _USCR = "UpdateSecurityConfigRequest";
425
+ const _USCRp = "UpdateSecurityConfigResponse";
426
+ const _USP = "UpdateSecurityPolicy";
427
+ const _USPR = "UpdateSecurityPolicyRequest";
428
+ const _USPRp = "UpdateSecurityPolicyResponse";
429
+ const _UVE = "UpdateVpcEndpoint";
430
+ const _UVED = "UpdateVpcEndpointDetail";
431
+ const _UVER = "UpdateVpcEndpointRequest";
432
+ const _UVERp = "UpdateVpcEndpointResponse";
433
+ const _VE = "ValidationException";
434
+ const _VED = "VpcEndpointDetail";
435
+ const _VEDp = "VpcEndpointDetails";
436
+ const _VEED = "VpcEndpointErrorDetail";
437
+ const _VEEDp = "VpcEndpointErrorDetails";
438
+ const _VEF = "VpcEndpointFilters";
439
+ const _VES = "VpcEndpointSummary";
440
+ const _VESp = "VpcEndpointSummaries";
441
+ const _a = "arn";
442
+ const _aA = "applicationArn";
443
+ const _aD = "applicationDescription";
444
+ const _aN = "applicationName";
445
+ const _aPD = "accessPolicyDetail";
446
+ const _aPS = "accessPolicySummaries";
447
+ const _aSD = "accountSettingsDetail";
448
+ const _aSGI = "addSecurityGroupIds";
449
+ const _aSI = "addSubnetIds";
450
+ const _c = "client";
451
+ const _cCD = "createCollectionDetail";
452
+ const _cD = "createdDate";
453
+ const _cDo = "collectionDetails";
454
+ const _cE = "collectionEndpoint";
455
+ const _cED = "collectionErrorDetails";
456
+ const _cF = "collectionFilters";
457
+ const _cL = "capacityLimits";
458
+ const _cS = "collectionSummaries";
459
+ const _cT = "clientToken";
460
+ const _cV = "configVersion";
461
+ const _cVED = "createVpcEndpointDetail";
462
+ const _d = "description";
463
+ const _dCD = "deleteCollectionDetail";
464
+ const _dE = "dashboardEndpoint";
465
+ const _dVED = "deleteVpcEndpointDetail";
466
+ const _e = "error";
467
+ const _eC = "errorCode";
468
+ const _eLPD = "effectiveLifecyclePolicyDetails";
469
+ const _eLPED = "effectiveLifecyclePolicyErrorDetails";
470
+ const _eM = "errorMessage";
471
+ const _fC = "failureCode";
472
+ const _fE = "fipsEndpoints";
473
+ const _fM = "failureMessage";
474
+ const _gA = "groupAttribute";
475
+ const _hE = "httpError";
476
+ const _i = "ids";
477
+ const _iA = "instanceArn";
478
+ const _iFO = "iamFederationOptions";
479
+ const _iICO = "iamIdentityCenterOptions";
480
+ const _iICOU = "iamIdentityCenterOptionsUpdates";
481
+ const _iN = "indexName";
482
+ const _iS = "indexSchema";
483
+ const _id = "identifiers";
484
+ const _id_ = "id";
485
+ const _k = "key";
486
+ const _kKA = "kmsKeyArn";
487
+ const _lMD = "lastModifiedDate";
488
+ const _lPD = "lifecyclePolicyDetails";
489
+ const _lPDi = "lifecyclePolicyDetail";
490
+ const _lPED = "lifecyclePolicyErrorDetails";
491
+ const _lPS = "lifecyclePolicySummaries";
492
+ const _m = "message";
493
+ const _mICIOCU = "maxIndexingCapacityInOCU";
494
+ const _mR = "maxResults";
495
+ const _mSCIOCU = "maxSearchCapacityInOCU";
496
+ const _me = "metadata";
497
+ const _n = "name";
498
+ const _nMRP = "noMinRetentionPeriod";
499
+ const _nT = "nextToken";
500
+ const _na = "names";
501
+ const _oSSEI = "openSearchServerlessEntityId";
502
+ const _p = "policy";
503
+ const _pN = "policyName";
504
+ const _pV = "policyVersion";
505
+ const _qC = "quotaCode";
506
+ const _r = "resource";
507
+ const _rA = "resourceArn";
508
+ const _rI = "resourceIdentifiers";
509
+ const _rIe = "resourceId";
510
+ const _rP = "retentionPeriod";
511
+ const _rSGI = "removeSecurityGroupIds";
512
+ const _rSI = "removeSubnetIds";
513
+ const _rT = "resourceType";
514
+ const _re = "resources";
515
+ const _s = "status";
516
+ const _sC = "serviceCode";
517
+ const _sCD = "securityConfigDetail";
518
+ const _sCS = "securityConfigSummaries";
519
+ const _sGI = "securityGroupIds";
520
+ const _sI = "subnetIds";
521
+ const _sO = "samlOptions";
522
+ const _sPD = "securityPolicyDetail";
523
+ const _sPS = "securityPolicySummaries";
524
+ const _sR = "standbyReplicas";
525
+ const _sT = "sessionTimeout";
526
+ const _se = "server";
527
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.opensearchserverless";
528
+ const _t = "type";
529
+ const _tK = "tagKeys";
530
+ const _ta = "tags";
531
+ const _uA = "userAttribute";
532
+ const _uCD = "updateCollectionDetail";
533
+ const _v = "value";
534
+ const _vED = "vpcEndpointDetails";
535
+ const _vEED = "vpcEndpointErrorDetails";
536
+ const _vEF = "vpcEndpointFilters";
537
+ const _vES = "vpcEndpointSummaries";
538
+ const _vI = "vpcId";
539
+ const n0 = "com.amazonaws.opensearchserverless";
540
+ var AccessPolicyDetail = [
541
+ 3,
542
+ n0,
543
+ _APD,
544
+ 0,
545
+ [_t, _n, _pV, _d, _p, _cD, _lMD],
546
+ [0, 0, 0, 0, 15, 1, 1],
547
+ ];
548
+ var AccessPolicyStats = [3, n0, _APS, 0, [_DPC], [1]];
549
+ var AccessPolicySummary = [
550
+ 3,
551
+ n0,
552
+ _APSc,
553
+ 0,
554
+ [_t, _n, _pV, _d, _cD, _lMD],
555
+ [0, 0, 0, 0, 1, 1],
556
+ ];
557
+ var AccountSettingsDetail = [3, n0, _ASD, 0, [_cL], [() => CapacityLimits]];
558
+ var BatchGetCollectionRequest = [3, n0, _BGCR, 0, [_i, _na], [64 | 0, 64 | 0]];
559
+ var BatchGetCollectionResponse = [
560
+ 3,
561
+ n0,
562
+ _BGCRa,
563
+ 0,
564
+ [_cDo, _cED],
565
+ [() => CollectionDetails, () => CollectionErrorDetails],
566
+ ];
567
+ var BatchGetEffectiveLifecyclePolicyRequest = [
568
+ 3,
569
+ n0,
570
+ _BGELPR,
571
+ 0,
572
+ [_rI],
573
+ [() => LifecyclePolicyResourceIdentifiers],
574
+ ];
575
+ var BatchGetEffectiveLifecyclePolicyResponse = [
576
+ 3,
577
+ n0,
578
+ _BGELPRa,
579
+ 0,
580
+ [_eLPD, _eLPED],
581
+ [() => EffectiveLifecyclePolicyDetails, () => EffectiveLifecyclePolicyErrorDetails],
582
+ ];
583
+ var BatchGetLifecyclePolicyRequest = [
584
+ 3,
585
+ n0,
586
+ _BGLPR,
587
+ 0,
588
+ [_id],
589
+ [() => LifecyclePolicyIdentifiers],
590
+ ];
591
+ var BatchGetLifecyclePolicyResponse = [
592
+ 3,
593
+ n0,
594
+ _BGLPRa,
595
+ 0,
596
+ [_lPD, _lPED],
597
+ [() => LifecyclePolicyDetails, () => LifecyclePolicyErrorDetails],
598
+ ];
599
+ var BatchGetVpcEndpointRequest = [3, n0, _BGVER, 0, [_i], [64 | 0]];
600
+ var BatchGetVpcEndpointResponse = [
601
+ 3,
602
+ n0,
603
+ _BGVERa,
604
+ 0,
605
+ [_vED, _vEED],
606
+ [() => VpcEndpointDetails, () => VpcEndpointErrorDetails],
607
+ ];
608
+ var CapacityLimits = [3, n0, _CL, 0, [_mICIOCU, _mSCIOCU], [1, 1]];
609
+ var CollectionDetail = [
610
+ 3,
611
+ n0,
612
+ _CD,
613
+ 0,
614
+ [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD, _cE, _dE, _fE, _fC, _fM],
615
+ [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, () => FipsEndpoints, 0, 0],
616
+ ];
617
+ var CollectionErrorDetail = [3, n0, _CED, 0, [_id_, _n, _eM, _eC], [0, 0, 0, 0]];
618
+ var CollectionFilters = [3, n0, _CF, 0, [_n, _s], [0, 0]];
619
+ var CollectionSummary = [3, n0, _CS, 0, [_id_, _n, _s, _a], [0, 0, 0, 0]];
620
+ var ConflictException = [
621
+ -3,
622
+ n0,
623
+ _CE,
624
+ {
625
+ [_e]: _c,
626
+ [_hE]: 409,
627
+ },
628
+ [_m],
629
+ [0],
630
+ ];
631
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
632
+ var CreateAccessPolicyRequest = [
633
+ 3,
634
+ n0,
635
+ _CAPR,
636
+ 0,
637
+ [_t, _n, _d, _p, _cT],
638
+ [0, 0, 0, 0, [0, 4]],
639
+ ];
640
+ var CreateAccessPolicyResponse = [3, n0, _CAPRr, 0, [_aPD], [() => AccessPolicyDetail]];
641
+ var CreateCollectionDetail = [
642
+ 3,
643
+ n0,
644
+ _CCD,
645
+ 0,
646
+ [_id_, _n, _s, _t, _d, _a, _kKA, _sR, _cD, _lMD],
647
+ [0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
648
+ ];
649
+ var CreateCollectionRequest = [
650
+ 3,
651
+ n0,
652
+ _CCR,
653
+ 0,
654
+ [_n, _t, _d, _ta, _sR, _cT],
655
+ [0, 0, 0, () => Tags, 0, [0, 4]],
656
+ ];
657
+ var CreateCollectionResponse = [3, n0, _CCRr, 0, [_cCD], [() => CreateCollectionDetail]];
658
+ var CreateIamIdentityCenterConfigOptions = [
659
+ 3,
660
+ n0,
661
+ _CIICCO,
662
+ 0,
663
+ [_iA, _uA, _gA],
664
+ [0, 0, 0],
665
+ ];
666
+ var CreateIndexRequest = [3, n0, _CIR, 0, [_id_, _iN, _iS], [0, 0, 15]];
667
+ var CreateIndexResponse = [3, n0, _CIRr, 0, [], []];
668
+ var CreateLifecyclePolicyRequest = [
669
+ 3,
670
+ n0,
671
+ _CLPR,
672
+ 0,
673
+ [_t, _n, _d, _p, _cT],
674
+ [0, 0, 0, 0, [0, 4]],
675
+ ];
676
+ var CreateLifecyclePolicyResponse = [
677
+ 3,
678
+ n0,
679
+ _CLPRr,
680
+ 0,
681
+ [_lPDi],
682
+ [() => LifecyclePolicyDetail],
683
+ ];
684
+ var CreateSecurityConfigRequest = [
685
+ 3,
686
+ n0,
687
+ _CSCR,
688
+ 0,
689
+ [_t, _n, _d, _sO, _iICO, _iFO, _cT],
690
+ [
691
+ 0,
692
+ 0,
693
+ 0,
694
+ () => SamlConfigOptions,
695
+ () => CreateIamIdentityCenterConfigOptions,
696
+ () => IamFederationConfigOptions,
697
+ [0, 4],
698
+ ],
699
+ ];
700
+ var CreateSecurityConfigResponse = [
701
+ 3,
702
+ n0,
703
+ _CSCRr,
704
+ 0,
705
+ [_sCD],
706
+ [() => SecurityConfigDetail],
707
+ ];
708
+ var CreateSecurityPolicyRequest = [
709
+ 3,
710
+ n0,
711
+ _CSPR,
712
+ 0,
713
+ [_t, _n, _d, _p, _cT],
714
+ [0, 0, 0, 0, [0, 4]],
715
+ ];
716
+ var CreateSecurityPolicyResponse = [
717
+ 3,
718
+ n0,
719
+ _CSPRr,
720
+ 0,
721
+ [_sPD],
722
+ [() => SecurityPolicyDetail],
723
+ ];
724
+ var CreateVpcEndpointDetail = [3, n0, _CVED, 0, [_id_, _n, _s], [0, 0, 0]];
725
+ var CreateVpcEndpointRequest = [
726
+ 3,
727
+ n0,
728
+ _CVER,
729
+ 0,
730
+ [_n, _vI, _sI, _sGI, _cT],
731
+ [0, 0, 64 | 0, 64 | 0, [0, 4]],
732
+ ];
733
+ var CreateVpcEndpointResponse = [
734
+ 3,
735
+ n0,
736
+ _CVERr,
737
+ 0,
738
+ [_cVED],
739
+ [() => CreateVpcEndpointDetail],
740
+ ];
741
+ var DeleteAccessPolicyRequest = [3, n0, _DAPR, 0, [_t, _n, _cT], [0, 0, [0, 4]]];
742
+ var DeleteAccessPolicyResponse = [3, n0, _DAPRe, 0, [], []];
743
+ var DeleteCollectionDetail = [3, n0, _DCD, 0, [_id_, _n, _s], [0, 0, 0]];
744
+ var DeleteCollectionRequest = [3, n0, _DCR, 0, [_id_, _cT], [0, [0, 4]]];
745
+ var DeleteCollectionResponse = [3, n0, _DCRe, 0, [_dCD], [() => DeleteCollectionDetail]];
746
+ var DeleteIndexRequest = [3, n0, _DIR, 0, [_id_, _iN], [0, 0]];
747
+ var DeleteIndexResponse = [3, n0, _DIRe, 0, [], []];
748
+ var DeleteLifecyclePolicyRequest = [3, n0, _DLPR, 0, [_t, _n, _cT], [0, 0, [0, 4]]];
749
+ var DeleteLifecyclePolicyResponse = [3, n0, _DLPRe, 0, [], []];
750
+ var DeleteSecurityConfigRequest = [3, n0, _DSCR, 0, [_id_, _cT], [0, [0, 4]]];
751
+ var DeleteSecurityConfigResponse = [3, n0, _DSCRe, 0, [], []];
752
+ var DeleteSecurityPolicyRequest = [3, n0, _DSPR, 0, [_t, _n, _cT], [0, 0, [0, 4]]];
753
+ var DeleteSecurityPolicyResponse = [3, n0, _DSPRe, 0, [], []];
754
+ var DeleteVpcEndpointDetail = [3, n0, _DVED, 0, [_id_, _n, _s], [0, 0, 0]];
755
+ var DeleteVpcEndpointRequest = [3, n0, _DVER, 0, [_id_, _cT], [0, [0, 4]]];
756
+ var DeleteVpcEndpointResponse = [
757
+ 3,
758
+ n0,
759
+ _DVERe,
760
+ 0,
761
+ [_dVED],
762
+ [() => DeleteVpcEndpointDetail],
763
+ ];
764
+ var EffectiveLifecyclePolicyDetail = [
765
+ 3,
766
+ n0,
767
+ _ELPD,
768
+ 0,
769
+ [_t, _r, _pN, _rT, _rP, _nMRP],
770
+ [0, 0, 0, 0, 0, 2],
771
+ ];
772
+ var EffectiveLifecyclePolicyErrorDetail = [
773
+ 3,
774
+ n0,
775
+ _ELPED,
776
+ 0,
777
+ [_t, _r, _eM, _eC],
778
+ [0, 0, 0, 0],
779
+ ];
780
+ var FipsEndpoints = [3, n0, _FE, 0, [_cE, _dE], [0, 0]];
781
+ var GetAccessPolicyRequest = [3, n0, _GAPR, 0, [_t, _n], [0, 0]];
782
+ var GetAccessPolicyResponse = [3, n0, _GAPRe, 0, [_aPD], [() => AccessPolicyDetail]];
783
+ var GetAccountSettingsRequest = [3, n0, _GASR, 0, [], []];
784
+ var GetAccountSettingsResponse = [
785
+ 3,
786
+ n0,
787
+ _GASRe,
788
+ 0,
789
+ [_aSD],
790
+ [() => AccountSettingsDetail],
791
+ ];
792
+ var GetIndexRequest = [3, n0, _GIR, 0, [_id_, _iN], [0, 0]];
793
+ var GetIndexResponse = [3, n0, _GIRe, 0, [_iS], [15]];
794
+ var GetPoliciesStatsRequest = [3, n0, _GPSR, 0, [], []];
795
+ var GetPoliciesStatsResponse = [
796
+ 3,
797
+ n0,
798
+ _GPSRe,
799
+ 0,
800
+ [_APS, _SPS, _SCS, _LPS, _TPC],
801
+ [() => AccessPolicyStats, () => SecurityPolicyStats, () => SecurityConfigStats, () => LifecyclePolicyStats, 1],
802
+ ];
803
+ var GetSecurityConfigRequest = [3, n0, _GSCR, 0, [_id_], [0]];
804
+ var GetSecurityConfigResponse = [3, n0, _GSCRe, 0, [_sCD], [() => SecurityConfigDetail]];
805
+ var GetSecurityPolicyRequest = [3, n0, _GSPR, 0, [_t, _n], [0, 0]];
806
+ var GetSecurityPolicyResponse = [3, n0, _GSPRe, 0, [_sPD], [() => SecurityPolicyDetail]];
807
+ var IamFederationConfigOptions = [3, n0, _IFCO, 0, [_gA, _uA], [0, 0]];
808
+ var IamIdentityCenterConfigOptions = [
809
+ 3,
810
+ n0,
811
+ _IICCO,
812
+ 0,
813
+ [_iA, _aA, _aN, _aD, _uA, _gA],
814
+ [0, 0, 0, 0, 0, 0],
815
+ ];
816
+ var InternalServerException = [
817
+ -3,
818
+ n0,
819
+ _ISE,
820
+ {
821
+ [_e]: _se,
822
+ [_hE]: 500,
823
+ },
824
+ [_m],
825
+ [0],
826
+ ];
827
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
828
+ var LifecyclePolicyDetail = [
829
+ 3,
830
+ n0,
831
+ _LPD,
832
+ 0,
833
+ [_t, _n, _pV, _d, _p, _cD, _lMD],
834
+ [0, 0, 0, 0, 15, 1, 1],
835
+ ];
836
+ var LifecyclePolicyErrorDetail = [3, n0, _LPED, 0, [_t, _n, _eM, _eC], [0, 0, 0, 0]];
837
+ var LifecyclePolicyIdentifier = [3, n0, _LPI, 0, [_t, _n], [0, 0]];
838
+ var LifecyclePolicyResourceIdentifier = [3, n0, _LPRI, 0, [_t, _r], [0, 0]];
839
+ var LifecyclePolicyStats = [3, n0, _LPS, 0, [_RPC], [1]];
840
+ var LifecyclePolicySummary = [
841
+ 3,
842
+ n0,
843
+ _LPSi,
844
+ 0,
845
+ [_t, _n, _pV, _d, _cD, _lMD],
846
+ [0, 0, 0, 0, 1, 1],
847
+ ];
848
+ var ListAccessPoliciesRequest = [3, n0, _LAPR, 0, [_t, _r, _nT, _mR], [0, 64 | 0, 0, 1]];
849
+ var ListAccessPoliciesResponse = [
850
+ 3,
851
+ n0,
852
+ _LAPRi,
853
+ 0,
854
+ [_aPS, _nT],
855
+ [() => AccessPolicySummaries, 0],
856
+ ];
857
+ var ListCollectionsRequest = [
858
+ 3,
859
+ n0,
860
+ _LCR,
861
+ 0,
862
+ [_cF, _nT, _mR],
863
+ [() => CollectionFilters, 0, 1],
864
+ ];
865
+ var ListCollectionsResponse = [
866
+ 3,
867
+ n0,
868
+ _LCRi,
869
+ 0,
870
+ [_cS, _nT],
871
+ [() => CollectionSummaries, 0],
872
+ ];
873
+ var ListLifecyclePoliciesRequest = [
874
+ 3,
875
+ n0,
876
+ _LLPR,
877
+ 0,
878
+ [_t, _re, _nT, _mR],
879
+ [0, 64 | 0, 0, 1],
880
+ ];
881
+ var ListLifecyclePoliciesResponse = [
882
+ 3,
883
+ n0,
884
+ _LLPRi,
885
+ 0,
886
+ [_lPS, _nT],
887
+ [() => LifecyclePolicySummaries, 0],
888
+ ];
889
+ var ListSecurityConfigsRequest = [3, n0, _LSCR, 0, [_t, _nT, _mR], [0, 0, 1]];
890
+ var ListSecurityConfigsResponse = [
891
+ 3,
892
+ n0,
893
+ _LSCRi,
894
+ 0,
895
+ [_sCS, _nT],
896
+ [() => SecurityConfigSummaries, 0],
897
+ ];
898
+ var ListSecurityPoliciesRequest = [
899
+ 3,
900
+ n0,
901
+ _LSPR,
902
+ 0,
903
+ [_t, _r, _nT, _mR],
904
+ [0, 64 | 0, 0, 1],
905
+ ];
906
+ var ListSecurityPoliciesResponse = [
907
+ 3,
908
+ n0,
909
+ _LSPRi,
910
+ 0,
911
+ [_sPS, _nT],
912
+ [() => SecurityPolicySummaries, 0],
913
+ ];
914
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
915
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [() => Tags]];
916
+ var ListVpcEndpointsRequest = [
917
+ 3,
918
+ n0,
919
+ _LVER,
920
+ 0,
921
+ [_vEF, _nT, _mR],
922
+ [() => VpcEndpointFilters, 0, 1],
923
+ ];
924
+ var ListVpcEndpointsResponse = [
925
+ 3,
926
+ n0,
927
+ _LVERi,
928
+ 0,
929
+ [_vES, _nT],
930
+ [() => VpcEndpointSummaries, 0],
931
+ ];
932
+ var OcuLimitExceededException = [
933
+ -3,
934
+ n0,
935
+ _OLEE,
936
+ {
937
+ [_e]: _c,
938
+ [_hE]: 402,
939
+ },
940
+ [_m],
941
+ [0],
942
+ ];
943
+ schema.TypeRegistry.for(n0).registerError(OcuLimitExceededException, OcuLimitExceededException$1);
944
+ var ResourceNotFoundException = [
945
+ -3,
946
+ n0,
947
+ _RNFE,
948
+ {
949
+ [_e]: _c,
950
+ [_hE]: 404,
951
+ },
952
+ [_m],
953
+ [0],
954
+ ];
955
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
956
+ var SamlConfigOptions = [3, n0, _SCO, 0, [_me, _uA, _gA, _oSSEI, _sT], [0, 0, 0, 0, 1]];
957
+ var SecurityConfigDetail = [
958
+ 3,
959
+ n0,
960
+ _SCD,
961
+ 0,
962
+ [_id_, _t, _cV, _d, _sO, _iICO, _iFO, _cD, _lMD],
963
+ [0, 0, 0, 0, () => SamlConfigOptions, () => IamIdentityCenterConfigOptions, () => IamFederationConfigOptions, 1, 1],
964
+ ];
965
+ var SecurityConfigStats = [3, n0, _SCS, 0, [_SCC], [1]];
966
+ var SecurityConfigSummary = [
967
+ 3,
968
+ n0,
969
+ _SCSe,
970
+ 0,
971
+ [_id_, _t, _cV, _d, _cD, _lMD],
972
+ [0, 0, 0, 0, 1, 1],
973
+ ];
974
+ var SecurityPolicyDetail = [
975
+ 3,
976
+ n0,
977
+ _SPD,
978
+ 0,
979
+ [_t, _n, _pV, _d, _p, _cD, _lMD],
980
+ [0, 0, 0, 0, 15, 1, 1],
981
+ ];
982
+ var SecurityPolicyStats = [3, n0, _SPS, 0, [_EPC, _NPC], [1, 1]];
983
+ var SecurityPolicySummary = [
984
+ 3,
985
+ n0,
986
+ _SPSe,
987
+ 0,
988
+ [_t, _n, _pV, _d, _cD, _lMD],
989
+ [0, 0, 0, 0, 1, 1],
990
+ ];
991
+ var ServiceQuotaExceededException = [
992
+ -3,
993
+ n0,
994
+ _SQEE,
995
+ {
996
+ [_e]: _c,
997
+ [_hE]: 402,
998
+ },
999
+ [_m, _rIe, _rT, _sC, _qC],
1000
+ [0, 0, 0, 0, 0],
1001
+ ];
1002
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1003
+ var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
1004
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _ta], [0, () => Tags]];
1005
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1006
+ var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
1007
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1008
+ var UpdateAccessPolicyRequest = [
1009
+ 3,
1010
+ n0,
1011
+ _UAPR,
1012
+ 0,
1013
+ [_t, _n, _pV, _d, _p, _cT],
1014
+ [0, 0, 0, 0, 0, [0, 4]],
1015
+ ];
1016
+ var UpdateAccessPolicyResponse = [3, n0, _UAPRp, 0, [_aPD], [() => AccessPolicyDetail]];
1017
+ var UpdateAccountSettingsRequest = [3, n0, _UASR, 0, [_cL], [() => CapacityLimits]];
1018
+ var UpdateAccountSettingsResponse = [
1019
+ 3,
1020
+ n0,
1021
+ _UASRp,
1022
+ 0,
1023
+ [_aSD],
1024
+ [() => AccountSettingsDetail],
1025
+ ];
1026
+ var UpdateCollectionDetail = [
1027
+ 3,
1028
+ n0,
1029
+ _UCD,
1030
+ 0,
1031
+ [_id_, _n, _s, _t, _d, _a, _cD, _lMD],
1032
+ [0, 0, 0, 0, 0, 0, 1, 1],
1033
+ ];
1034
+ var UpdateCollectionRequest = [3, n0, _UCR, 0, [_id_, _d, _cT], [0, 0, [0, 4]]];
1035
+ var UpdateCollectionResponse = [3, n0, _UCRp, 0, [_uCD], [() => UpdateCollectionDetail]];
1036
+ var UpdateIamIdentityCenterConfigOptions = [3, n0, _UIICCO, 0, [_uA, _gA], [0, 0]];
1037
+ var UpdateIndexRequest = [3, n0, _UIR, 0, [_id_, _iN, _iS], [0, 0, 15]];
1038
+ var UpdateIndexResponse = [3, n0, _UIRp, 0, [], []];
1039
+ var UpdateLifecyclePolicyRequest = [
1040
+ 3,
1041
+ n0,
1042
+ _ULPR,
1043
+ 0,
1044
+ [_t, _n, _pV, _d, _p, _cT],
1045
+ [0, 0, 0, 0, 0, [0, 4]],
1046
+ ];
1047
+ var UpdateLifecyclePolicyResponse = [
1048
+ 3,
1049
+ n0,
1050
+ _ULPRp,
1051
+ 0,
1052
+ [_lPDi],
1053
+ [() => LifecyclePolicyDetail],
1054
+ ];
1055
+ var UpdateSecurityConfigRequest = [
1056
+ 3,
1057
+ n0,
1058
+ _USCR,
1059
+ 0,
1060
+ [_id_, _cV, _d, _sO, _iICOU, _iFO, _cT],
1061
+ [
1062
+ 0,
1063
+ 0,
1064
+ 0,
1065
+ () => SamlConfigOptions,
1066
+ () => UpdateIamIdentityCenterConfigOptions,
1067
+ () => IamFederationConfigOptions,
1068
+ [0, 4],
1069
+ ],
1070
+ ];
1071
+ var UpdateSecurityConfigResponse = [
1072
+ 3,
1073
+ n0,
1074
+ _USCRp,
1075
+ 0,
1076
+ [_sCD],
1077
+ [() => SecurityConfigDetail],
1078
+ ];
1079
+ var UpdateSecurityPolicyRequest = [
1080
+ 3,
1081
+ n0,
1082
+ _USPR,
1083
+ 0,
1084
+ [_t, _n, _pV, _d, _p, _cT],
1085
+ [0, 0, 0, 0, 0, [0, 4]],
1086
+ ];
1087
+ var UpdateSecurityPolicyResponse = [
1088
+ 3,
1089
+ n0,
1090
+ _USPRp,
1091
+ 0,
1092
+ [_sPD],
1093
+ [() => SecurityPolicyDetail],
1094
+ ];
1095
+ var UpdateVpcEndpointDetail = [
1096
+ 3,
1097
+ n0,
1098
+ _UVED,
1099
+ 0,
1100
+ [_id_, _n, _s, _sI, _sGI, _lMD],
1101
+ [0, 0, 0, 64 | 0, 64 | 0, 1],
1102
+ ];
1103
+ var UpdateVpcEndpointRequest = [
1104
+ 3,
1105
+ n0,
1106
+ _UVER,
1107
+ 0,
1108
+ [_id_, _aSI, _rSI, _aSGI, _rSGI, _cT],
1109
+ [0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, [0, 4]],
1110
+ ];
1111
+ var UpdateVpcEndpointResponse = [
1112
+ 3,
1113
+ n0,
1114
+ _UVERp,
1115
+ 0,
1116
+ [_UVED],
1117
+ [() => UpdateVpcEndpointDetail],
1118
+ ];
1119
+ var ValidationException = [
1120
+ -3,
1121
+ n0,
1122
+ _VE,
1123
+ {
1124
+ [_e]: _c,
1125
+ [_hE]: 400,
1126
+ },
1127
+ [_m],
1128
+ [0],
1129
+ ];
1130
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1131
+ var VpcEndpointDetail = [
1132
+ 3,
1133
+ n0,
1134
+ _VED,
1135
+ 0,
1136
+ [_id_, _n, _vI, _sI, _sGI, _s, _cD, _fC, _fM],
1137
+ [0, 0, 0, 64 | 0, 64 | 0, 0, 1, 0, 0],
1138
+ ];
1139
+ var VpcEndpointErrorDetail = [3, n0, _VEED, 0, [_id_, _eM, _eC], [0, 0, 0]];
1140
+ var VpcEndpointFilters = [3, n0, _VEF, 0, [_s], [0]];
1141
+ var VpcEndpointSummary = [3, n0, _VES, 0, [_id_, _n, _s], [0, 0, 0]];
1142
+ var OpenSearchServerlessServiceException = [
1143
+ -3,
1144
+ _sm,
1145
+ "OpenSearchServerlessServiceException",
1146
+ 0,
1147
+ [],
1148
+ [],
1149
+ ];
1150
+ schema.TypeRegistry.for(_sm).registerError(OpenSearchServerlessServiceException, OpenSearchServerlessServiceException$1);
1151
+ var AccessPolicySummaries = [1, n0, _APScc, 0, () => AccessPolicySummary];
1152
+ var CollectionDetails = [1, n0, _CDo, 0, () => CollectionDetail];
1153
+ var CollectionErrorDetails = [1, n0, _CEDo, 0, () => CollectionErrorDetail];
1154
+ var CollectionSummaries = [1, n0, _CSo, 0, () => CollectionSummary];
1155
+ var EffectiveLifecyclePolicyDetails = [1, n0, _ELPDf, 0, () => EffectiveLifecyclePolicyDetail];
1156
+ var EffectiveLifecyclePolicyErrorDetails = [
1157
+ 1,
1158
+ n0,
1159
+ _ELPEDf,
1160
+ 0,
1161
+ () => EffectiveLifecyclePolicyErrorDetail,
1162
+ ];
1163
+ var LifecyclePolicyDetails = [1, n0, _LPDi, 0, () => LifecyclePolicyDetail];
1164
+ var LifecyclePolicyErrorDetails = [1, n0, _LPEDi, 0, () => LifecyclePolicyErrorDetail];
1165
+ var LifecyclePolicyIdentifiers = [1, n0, _LPIi, 0, () => LifecyclePolicyIdentifier];
1166
+ var LifecyclePolicyResourceIdentifiers = [
1167
+ 1,
1168
+ n0,
1169
+ _LPRIi,
1170
+ 0,
1171
+ () => LifecyclePolicyResourceIdentifier,
1172
+ ];
1173
+ var LifecyclePolicySummaries = [1, n0, _LPSif, 0, () => LifecyclePolicySummary];
1174
+ var SecurityConfigSummaries = [1, n0, _SCSec, 0, () => SecurityConfigSummary];
1175
+ var SecurityPolicySummaries = [1, n0, _SPSec, 0, () => SecurityPolicySummary];
1176
+ var Tags = [1, n0, _Ta, 0, () => Tag];
1177
+ var VpcEndpointDetails = [1, n0, _VEDp, 0, () => VpcEndpointDetail];
1178
+ var VpcEndpointErrorDetails = [1, n0, _VEEDp, 0, () => VpcEndpointErrorDetail];
1179
+ var VpcEndpointSummaries = [1, n0, _VESp, 0, () => VpcEndpointSummary];
1180
+ var BatchGetCollection = [
1181
+ 9,
1182
+ n0,
1183
+ _BGC,
1184
+ 0,
1185
+ () => BatchGetCollectionRequest,
1186
+ () => BatchGetCollectionResponse,
1187
+ ];
1188
+ var BatchGetEffectiveLifecyclePolicy = [
1189
+ 9,
1190
+ n0,
1191
+ _BGELP,
1192
+ 0,
1193
+ () => BatchGetEffectiveLifecyclePolicyRequest,
1194
+ () => BatchGetEffectiveLifecyclePolicyResponse,
1195
+ ];
1196
+ var BatchGetLifecyclePolicy = [
1197
+ 9,
1198
+ n0,
1199
+ _BGLP,
1200
+ 0,
1201
+ () => BatchGetLifecyclePolicyRequest,
1202
+ () => BatchGetLifecyclePolicyResponse,
1203
+ ];
1204
+ var BatchGetVpcEndpoint = [
1205
+ 9,
1206
+ n0,
1207
+ _BGVE,
1208
+ 0,
1209
+ () => BatchGetVpcEndpointRequest,
1210
+ () => BatchGetVpcEndpointResponse,
1211
+ ];
1212
+ var CreateAccessPolicy = [
1213
+ 9,
1214
+ n0,
1215
+ _CAP,
1216
+ 2,
1217
+ () => CreateAccessPolicyRequest,
1218
+ () => CreateAccessPolicyResponse,
1219
+ ];
1220
+ var CreateCollection = [
1221
+ 9,
1222
+ n0,
1223
+ _CC,
1224
+ 2,
1225
+ () => CreateCollectionRequest,
1226
+ () => CreateCollectionResponse,
1227
+ ];
1228
+ var CreateIndex = [9, n0, _CI, 2, () => CreateIndexRequest, () => CreateIndexResponse];
1229
+ var CreateLifecyclePolicy = [
1230
+ 9,
1231
+ n0,
1232
+ _CLP,
1233
+ 2,
1234
+ () => CreateLifecyclePolicyRequest,
1235
+ () => CreateLifecyclePolicyResponse,
1236
+ ];
1237
+ var CreateSecurityConfig = [
1238
+ 9,
1239
+ n0,
1240
+ _CSC,
1241
+ 2,
1242
+ () => CreateSecurityConfigRequest,
1243
+ () => CreateSecurityConfigResponse,
1244
+ ];
1245
+ var CreateSecurityPolicy = [
1246
+ 9,
1247
+ n0,
1248
+ _CSP,
1249
+ 2,
1250
+ () => CreateSecurityPolicyRequest,
1251
+ () => CreateSecurityPolicyResponse,
1252
+ ];
1253
+ var CreateVpcEndpoint = [
1254
+ 9,
1255
+ n0,
1256
+ _CVE,
1257
+ 2,
1258
+ () => CreateVpcEndpointRequest,
1259
+ () => CreateVpcEndpointResponse,
1260
+ ];
1261
+ var DeleteAccessPolicy = [
1262
+ 9,
1263
+ n0,
1264
+ _DAP,
1265
+ 2,
1266
+ () => DeleteAccessPolicyRequest,
1267
+ () => DeleteAccessPolicyResponse,
1268
+ ];
1269
+ var DeleteCollection = [
1270
+ 9,
1271
+ n0,
1272
+ _DC,
1273
+ 2,
1274
+ () => DeleteCollectionRequest,
1275
+ () => DeleteCollectionResponse,
1276
+ ];
1277
+ var DeleteIndex = [9, n0, _DI, 2, () => DeleteIndexRequest, () => DeleteIndexResponse];
1278
+ var DeleteLifecyclePolicy = [
1279
+ 9,
1280
+ n0,
1281
+ _DLP,
1282
+ 2,
1283
+ () => DeleteLifecyclePolicyRequest,
1284
+ () => DeleteLifecyclePolicyResponse,
1285
+ ];
1286
+ var DeleteSecurityConfig = [
1287
+ 9,
1288
+ n0,
1289
+ _DSC,
1290
+ 2,
1291
+ () => DeleteSecurityConfigRequest,
1292
+ () => DeleteSecurityConfigResponse,
1293
+ ];
1294
+ var DeleteSecurityPolicy = [
1295
+ 9,
1296
+ n0,
1297
+ _DSP,
1298
+ 2,
1299
+ () => DeleteSecurityPolicyRequest,
1300
+ () => DeleteSecurityPolicyResponse,
1301
+ ];
1302
+ var DeleteVpcEndpoint = [
1303
+ 9,
1304
+ n0,
1305
+ _DVE,
1306
+ 2,
1307
+ () => DeleteVpcEndpointRequest,
1308
+ () => DeleteVpcEndpointResponse,
1309
+ ];
1310
+ var GetAccessPolicy = [
1311
+ 9,
1312
+ n0,
1313
+ _GAP,
1314
+ 0,
1315
+ () => GetAccessPolicyRequest,
1316
+ () => GetAccessPolicyResponse,
1317
+ ];
1318
+ var GetAccountSettings = [
1319
+ 9,
1320
+ n0,
1321
+ _GAS,
1322
+ 0,
1323
+ () => GetAccountSettingsRequest,
1324
+ () => GetAccountSettingsResponse,
1325
+ ];
1326
+ var GetIndex = [9, n0, _GI, 0, () => GetIndexRequest, () => GetIndexResponse];
1327
+ var GetPoliciesStats = [
1328
+ 9,
1329
+ n0,
1330
+ _GPS,
1331
+ 0,
1332
+ () => GetPoliciesStatsRequest,
1333
+ () => GetPoliciesStatsResponse,
1334
+ ];
1335
+ var GetSecurityConfig = [
1336
+ 9,
1337
+ n0,
1338
+ _GSC,
1339
+ 0,
1340
+ () => GetSecurityConfigRequest,
1341
+ () => GetSecurityConfigResponse,
1342
+ ];
1343
+ var GetSecurityPolicy = [
1344
+ 9,
1345
+ n0,
1346
+ _GSP,
1347
+ 0,
1348
+ () => GetSecurityPolicyRequest,
1349
+ () => GetSecurityPolicyResponse,
1350
+ ];
1351
+ var ListAccessPolicies = [
1352
+ 9,
1353
+ n0,
1354
+ _LAP,
1355
+ 0,
1356
+ () => ListAccessPoliciesRequest,
1357
+ () => ListAccessPoliciesResponse,
1358
+ ];
1359
+ var ListCollections = [
1360
+ 9,
1361
+ n0,
1362
+ _LC,
1363
+ 0,
1364
+ () => ListCollectionsRequest,
1365
+ () => ListCollectionsResponse,
1366
+ ];
1367
+ var ListLifecyclePolicies = [
1368
+ 9,
1369
+ n0,
1370
+ _LLP,
1371
+ 0,
1372
+ () => ListLifecyclePoliciesRequest,
1373
+ () => ListLifecyclePoliciesResponse,
1374
+ ];
1375
+ var ListSecurityConfigs = [
1376
+ 9,
1377
+ n0,
1378
+ _LSC,
1379
+ 0,
1380
+ () => ListSecurityConfigsRequest,
1381
+ () => ListSecurityConfigsResponse,
1382
+ ];
1383
+ var ListSecurityPolicies = [
1384
+ 9,
1385
+ n0,
1386
+ _LSP,
1387
+ 0,
1388
+ () => ListSecurityPoliciesRequest,
1389
+ () => ListSecurityPoliciesResponse,
1390
+ ];
1391
+ var ListTagsForResource = [
1392
+ 9,
1393
+ n0,
1394
+ _LTFR,
1395
+ 0,
1396
+ () => ListTagsForResourceRequest,
1397
+ () => ListTagsForResourceResponse,
1398
+ ];
1399
+ var ListVpcEndpoints = [
1400
+ 9,
1401
+ n0,
1402
+ _LVE,
1403
+ 0,
1404
+ () => ListVpcEndpointsRequest,
1405
+ () => ListVpcEndpointsResponse,
1406
+ ];
1407
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1408
+ var UntagResource = [
1409
+ 9,
1410
+ n0,
1411
+ _UR,
1412
+ 0,
1413
+ () => UntagResourceRequest,
1414
+ () => UntagResourceResponse,
1415
+ ];
1416
+ var UpdateAccessPolicy = [
1417
+ 9,
1418
+ n0,
1419
+ _UAP,
1420
+ 2,
1421
+ () => UpdateAccessPolicyRequest,
1422
+ () => UpdateAccessPolicyResponse,
1423
+ ];
1424
+ var UpdateAccountSettings = [
1425
+ 9,
1426
+ n0,
1427
+ _UAS,
1428
+ 0,
1429
+ () => UpdateAccountSettingsRequest,
1430
+ () => UpdateAccountSettingsResponse,
1431
+ ];
1432
+ var UpdateCollection = [
1433
+ 9,
1434
+ n0,
1435
+ _UC,
1436
+ 2,
1437
+ () => UpdateCollectionRequest,
1438
+ () => UpdateCollectionResponse,
1439
+ ];
1440
+ var UpdateIndex = [9, n0, _UI, 2, () => UpdateIndexRequest, () => UpdateIndexResponse];
1441
+ var UpdateLifecyclePolicy = [
1442
+ 9,
1443
+ n0,
1444
+ _ULP,
1445
+ 2,
1446
+ () => UpdateLifecyclePolicyRequest,
1447
+ () => UpdateLifecyclePolicyResponse,
1448
+ ];
1449
+ var UpdateSecurityConfig = [
1450
+ 9,
1451
+ n0,
1452
+ _USC,
1453
+ 2,
1454
+ () => UpdateSecurityConfigRequest,
1455
+ () => UpdateSecurityConfigResponse,
1456
+ ];
1457
+ var UpdateSecurityPolicy = [
1458
+ 9,
1459
+ n0,
1460
+ _USP,
1461
+ 2,
1462
+ () => UpdateSecurityPolicyRequest,
1463
+ () => UpdateSecurityPolicyResponse,
1464
+ ];
1465
+ var UpdateVpcEndpoint = [
1466
+ 9,
1467
+ n0,
1468
+ _UVE,
1469
+ 2,
1470
+ () => UpdateVpcEndpointRequest,
1471
+ () => UpdateVpcEndpointResponse,
1472
+ ];
1414
1473
 
1415
1474
  class BatchGetCollectionCommand extends smithyClient.Command
1416
1475
  .classBuilder()
1417
1476
  .ep(commonParams)
1418
1477
  .m(function (Command, cs, config, o) {
1419
- return [
1420
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1421
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1422
- ];
1478
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
1479
  })
1424
1480
  .s("OpenSearchServerless", "BatchGetCollection", {})
1425
1481
  .n("OpenSearchServerlessClient", "BatchGetCollectionCommand")
1426
- .f(void 0, void 0)
1427
- .ser(se_BatchGetCollectionCommand)
1428
- .de(de_BatchGetCollectionCommand)
1482
+ .sc(BatchGetCollection)
1429
1483
  .build() {
1430
1484
  }
1431
1485
 
@@ -1433,16 +1487,11 @@ class BatchGetEffectiveLifecyclePolicyCommand extends smithyClient.Command
1433
1487
  .classBuilder()
1434
1488
  .ep(commonParams)
1435
1489
  .m(function (Command, cs, config, o) {
1436
- return [
1437
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1438
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1439
- ];
1490
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
1491
  })
1441
1492
  .s("OpenSearchServerless", "BatchGetEffectiveLifecyclePolicy", {})
1442
1493
  .n("OpenSearchServerlessClient", "BatchGetEffectiveLifecyclePolicyCommand")
1443
- .f(void 0, void 0)
1444
- .ser(se_BatchGetEffectiveLifecyclePolicyCommand)
1445
- .de(de_BatchGetEffectiveLifecyclePolicyCommand)
1494
+ .sc(BatchGetEffectiveLifecyclePolicy)
1446
1495
  .build() {
1447
1496
  }
1448
1497
 
@@ -1450,16 +1499,11 @@ class BatchGetLifecyclePolicyCommand extends smithyClient.Command
1450
1499
  .classBuilder()
1451
1500
  .ep(commonParams)
1452
1501
  .m(function (Command, cs, config, o) {
1453
- return [
1454
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1455
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1456
- ];
1502
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
1503
  })
1458
1504
  .s("OpenSearchServerless", "BatchGetLifecyclePolicy", {})
1459
1505
  .n("OpenSearchServerlessClient", "BatchGetLifecyclePolicyCommand")
1460
- .f(void 0, void 0)
1461
- .ser(se_BatchGetLifecyclePolicyCommand)
1462
- .de(de_BatchGetLifecyclePolicyCommand)
1506
+ .sc(BatchGetLifecyclePolicy)
1463
1507
  .build() {
1464
1508
  }
1465
1509
 
@@ -1467,16 +1511,11 @@ class BatchGetVpcEndpointCommand extends smithyClient.Command
1467
1511
  .classBuilder()
1468
1512
  .ep(commonParams)
1469
1513
  .m(function (Command, cs, config, o) {
1470
- return [
1471
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1472
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1473
- ];
1514
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
1515
  })
1475
1516
  .s("OpenSearchServerless", "BatchGetVpcEndpoint", {})
1476
1517
  .n("OpenSearchServerlessClient", "BatchGetVpcEndpointCommand")
1477
- .f(void 0, void 0)
1478
- .ser(se_BatchGetVpcEndpointCommand)
1479
- .de(de_BatchGetVpcEndpointCommand)
1518
+ .sc(BatchGetVpcEndpoint)
1480
1519
  .build() {
1481
1520
  }
1482
1521
 
@@ -1484,16 +1523,11 @@ class CreateAccessPolicyCommand extends smithyClient.Command
1484
1523
  .classBuilder()
1485
1524
  .ep(commonParams)
1486
1525
  .m(function (Command, cs, config, o) {
1487
- return [
1488
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1489
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1490
- ];
1526
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
1527
  })
1492
1528
  .s("OpenSearchServerless", "CreateAccessPolicy", {})
1493
1529
  .n("OpenSearchServerlessClient", "CreateAccessPolicyCommand")
1494
- .f(void 0, void 0)
1495
- .ser(se_CreateAccessPolicyCommand)
1496
- .de(de_CreateAccessPolicyCommand)
1530
+ .sc(CreateAccessPolicy)
1497
1531
  .build() {
1498
1532
  }
1499
1533
 
@@ -1501,16 +1535,11 @@ class CreateCollectionCommand extends smithyClient.Command
1501
1535
  .classBuilder()
1502
1536
  .ep(commonParams)
1503
1537
  .m(function (Command, cs, config, o) {
1504
- return [
1505
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1506
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1507
- ];
1538
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
1539
  })
1509
1540
  .s("OpenSearchServerless", "CreateCollection", {})
1510
1541
  .n("OpenSearchServerlessClient", "CreateCollectionCommand")
1511
- .f(void 0, void 0)
1512
- .ser(se_CreateCollectionCommand)
1513
- .de(de_CreateCollectionCommand)
1542
+ .sc(CreateCollection)
1514
1543
  .build() {
1515
1544
  }
1516
1545
 
@@ -1518,16 +1547,11 @@ class CreateIndexCommand extends smithyClient.Command
1518
1547
  .classBuilder()
1519
1548
  .ep(commonParams)
1520
1549
  .m(function (Command, cs, config, o) {
1521
- return [
1522
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1523
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1524
- ];
1550
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1525
1551
  })
1526
1552
  .s("OpenSearchServerless", "CreateIndex", {})
1527
1553
  .n("OpenSearchServerlessClient", "CreateIndexCommand")
1528
- .f(void 0, void 0)
1529
- .ser(se_CreateIndexCommand)
1530
- .de(de_CreateIndexCommand)
1554
+ .sc(CreateIndex)
1531
1555
  .build() {
1532
1556
  }
1533
1557
 
@@ -1535,16 +1559,11 @@ class CreateLifecyclePolicyCommand extends smithyClient.Command
1535
1559
  .classBuilder()
1536
1560
  .ep(commonParams)
1537
1561
  .m(function (Command, cs, config, o) {
1538
- return [
1539
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1540
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1541
- ];
1562
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1542
1563
  })
1543
1564
  .s("OpenSearchServerless", "CreateLifecyclePolicy", {})
1544
1565
  .n("OpenSearchServerlessClient", "CreateLifecyclePolicyCommand")
1545
- .f(void 0, void 0)
1546
- .ser(se_CreateLifecyclePolicyCommand)
1547
- .de(de_CreateLifecyclePolicyCommand)
1566
+ .sc(CreateLifecyclePolicy)
1548
1567
  .build() {
1549
1568
  }
1550
1569
 
@@ -1552,16 +1571,11 @@ class CreateSecurityConfigCommand extends smithyClient.Command
1552
1571
  .classBuilder()
1553
1572
  .ep(commonParams)
1554
1573
  .m(function (Command, cs, config, o) {
1555
- return [
1556
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1557
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1558
- ];
1574
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
1575
  })
1560
1576
  .s("OpenSearchServerless", "CreateSecurityConfig", {})
1561
1577
  .n("OpenSearchServerlessClient", "CreateSecurityConfigCommand")
1562
- .f(void 0, void 0)
1563
- .ser(se_CreateSecurityConfigCommand)
1564
- .de(de_CreateSecurityConfigCommand)
1578
+ .sc(CreateSecurityConfig)
1565
1579
  .build() {
1566
1580
  }
1567
1581
 
@@ -1569,16 +1583,11 @@ class CreateSecurityPolicyCommand extends smithyClient.Command
1569
1583
  .classBuilder()
1570
1584
  .ep(commonParams)
1571
1585
  .m(function (Command, cs, config, o) {
1572
- return [
1573
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1574
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1575
- ];
1586
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1576
1587
  })
1577
1588
  .s("OpenSearchServerless", "CreateSecurityPolicy", {})
1578
1589
  .n("OpenSearchServerlessClient", "CreateSecurityPolicyCommand")
1579
- .f(void 0, void 0)
1580
- .ser(se_CreateSecurityPolicyCommand)
1581
- .de(de_CreateSecurityPolicyCommand)
1590
+ .sc(CreateSecurityPolicy)
1582
1591
  .build() {
1583
1592
  }
1584
1593
 
@@ -1586,16 +1595,11 @@ class CreateVpcEndpointCommand extends smithyClient.Command
1586
1595
  .classBuilder()
1587
1596
  .ep(commonParams)
1588
1597
  .m(function (Command, cs, config, o) {
1589
- return [
1590
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1591
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1592
- ];
1598
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
1599
  })
1594
1600
  .s("OpenSearchServerless", "CreateVpcEndpoint", {})
1595
1601
  .n("OpenSearchServerlessClient", "CreateVpcEndpointCommand")
1596
- .f(void 0, void 0)
1597
- .ser(se_CreateVpcEndpointCommand)
1598
- .de(de_CreateVpcEndpointCommand)
1602
+ .sc(CreateVpcEndpoint)
1599
1603
  .build() {
1600
1604
  }
1601
1605
 
@@ -1603,16 +1607,11 @@ class DeleteAccessPolicyCommand extends smithyClient.Command
1603
1607
  .classBuilder()
1604
1608
  .ep(commonParams)
1605
1609
  .m(function (Command, cs, config, o) {
1606
- return [
1607
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1608
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1609
- ];
1610
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
1611
  })
1611
1612
  .s("OpenSearchServerless", "DeleteAccessPolicy", {})
1612
1613
  .n("OpenSearchServerlessClient", "DeleteAccessPolicyCommand")
1613
- .f(void 0, void 0)
1614
- .ser(se_DeleteAccessPolicyCommand)
1615
- .de(de_DeleteAccessPolicyCommand)
1614
+ .sc(DeleteAccessPolicy)
1616
1615
  .build() {
1617
1616
  }
1618
1617
 
@@ -1620,16 +1619,11 @@ class DeleteCollectionCommand extends smithyClient.Command
1620
1619
  .classBuilder()
1621
1620
  .ep(commonParams)
1622
1621
  .m(function (Command, cs, config, o) {
1623
- return [
1624
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1625
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1626
- ];
1622
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
1623
  })
1628
1624
  .s("OpenSearchServerless", "DeleteCollection", {})
1629
1625
  .n("OpenSearchServerlessClient", "DeleteCollectionCommand")
1630
- .f(void 0, void 0)
1631
- .ser(se_DeleteCollectionCommand)
1632
- .de(de_DeleteCollectionCommand)
1626
+ .sc(DeleteCollection)
1633
1627
  .build() {
1634
1628
  }
1635
1629
 
@@ -1637,16 +1631,11 @@ class DeleteIndexCommand extends smithyClient.Command
1637
1631
  .classBuilder()
1638
1632
  .ep(commonParams)
1639
1633
  .m(function (Command, cs, config, o) {
1640
- return [
1641
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1642
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1643
- ];
1634
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
1635
  })
1645
1636
  .s("OpenSearchServerless", "DeleteIndex", {})
1646
1637
  .n("OpenSearchServerlessClient", "DeleteIndexCommand")
1647
- .f(void 0, void 0)
1648
- .ser(se_DeleteIndexCommand)
1649
- .de(de_DeleteIndexCommand)
1638
+ .sc(DeleteIndex)
1650
1639
  .build() {
1651
1640
  }
1652
1641
 
@@ -1654,16 +1643,11 @@ class DeleteLifecyclePolicyCommand extends smithyClient.Command
1654
1643
  .classBuilder()
1655
1644
  .ep(commonParams)
1656
1645
  .m(function (Command, cs, config, o) {
1657
- return [
1658
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1659
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1660
- ];
1646
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1661
1647
  })
1662
1648
  .s("OpenSearchServerless", "DeleteLifecyclePolicy", {})
1663
1649
  .n("OpenSearchServerlessClient", "DeleteLifecyclePolicyCommand")
1664
- .f(void 0, void 0)
1665
- .ser(se_DeleteLifecyclePolicyCommand)
1666
- .de(de_DeleteLifecyclePolicyCommand)
1650
+ .sc(DeleteLifecyclePolicy)
1667
1651
  .build() {
1668
1652
  }
1669
1653
 
@@ -1671,16 +1655,11 @@ class DeleteSecurityConfigCommand extends smithyClient.Command
1671
1655
  .classBuilder()
1672
1656
  .ep(commonParams)
1673
1657
  .m(function (Command, cs, config, o) {
1674
- return [
1675
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1676
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1677
- ];
1658
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
1659
  })
1679
1660
  .s("OpenSearchServerless", "DeleteSecurityConfig", {})
1680
1661
  .n("OpenSearchServerlessClient", "DeleteSecurityConfigCommand")
1681
- .f(void 0, void 0)
1682
- .ser(se_DeleteSecurityConfigCommand)
1683
- .de(de_DeleteSecurityConfigCommand)
1662
+ .sc(DeleteSecurityConfig)
1684
1663
  .build() {
1685
1664
  }
1686
1665
 
@@ -1688,16 +1667,11 @@ class DeleteSecurityPolicyCommand extends smithyClient.Command
1688
1667
  .classBuilder()
1689
1668
  .ep(commonParams)
1690
1669
  .m(function (Command, cs, config, o) {
1691
- return [
1692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1694
- ];
1670
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1695
1671
  })
1696
1672
  .s("OpenSearchServerless", "DeleteSecurityPolicy", {})
1697
1673
  .n("OpenSearchServerlessClient", "DeleteSecurityPolicyCommand")
1698
- .f(void 0, void 0)
1699
- .ser(se_DeleteSecurityPolicyCommand)
1700
- .de(de_DeleteSecurityPolicyCommand)
1674
+ .sc(DeleteSecurityPolicy)
1701
1675
  .build() {
1702
1676
  }
1703
1677
 
@@ -1705,16 +1679,11 @@ class DeleteVpcEndpointCommand extends smithyClient.Command
1705
1679
  .classBuilder()
1706
1680
  .ep(commonParams)
1707
1681
  .m(function (Command, cs, config, o) {
1708
- return [
1709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1711
- ];
1682
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
1683
  })
1713
1684
  .s("OpenSearchServerless", "DeleteVpcEndpoint", {})
1714
1685
  .n("OpenSearchServerlessClient", "DeleteVpcEndpointCommand")
1715
- .f(void 0, void 0)
1716
- .ser(se_DeleteVpcEndpointCommand)
1717
- .de(de_DeleteVpcEndpointCommand)
1686
+ .sc(DeleteVpcEndpoint)
1718
1687
  .build() {
1719
1688
  }
1720
1689
 
@@ -1722,16 +1691,11 @@ class GetAccessPolicyCommand extends smithyClient.Command
1722
1691
  .classBuilder()
1723
1692
  .ep(commonParams)
1724
1693
  .m(function (Command, cs, config, o) {
1725
- return [
1726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1728
- ];
1694
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
1695
  })
1730
1696
  .s("OpenSearchServerless", "GetAccessPolicy", {})
1731
1697
  .n("OpenSearchServerlessClient", "GetAccessPolicyCommand")
1732
- .f(void 0, void 0)
1733
- .ser(se_GetAccessPolicyCommand)
1734
- .de(de_GetAccessPolicyCommand)
1698
+ .sc(GetAccessPolicy)
1735
1699
  .build() {
1736
1700
  }
1737
1701
 
@@ -1739,16 +1703,11 @@ class GetAccountSettingsCommand extends smithyClient.Command
1739
1703
  .classBuilder()
1740
1704
  .ep(commonParams)
1741
1705
  .m(function (Command, cs, config, o) {
1742
- return [
1743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1745
- ];
1706
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
1707
  })
1747
1708
  .s("OpenSearchServerless", "GetAccountSettings", {})
1748
1709
  .n("OpenSearchServerlessClient", "GetAccountSettingsCommand")
1749
- .f(void 0, void 0)
1750
- .ser(se_GetAccountSettingsCommand)
1751
- .de(de_GetAccountSettingsCommand)
1710
+ .sc(GetAccountSettings)
1752
1711
  .build() {
1753
1712
  }
1754
1713
 
@@ -1756,16 +1715,11 @@ class GetIndexCommand extends smithyClient.Command
1756
1715
  .classBuilder()
1757
1716
  .ep(commonParams)
1758
1717
  .m(function (Command, cs, config, o) {
1759
- return [
1760
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1761
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1762
- ];
1718
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
1719
  })
1764
1720
  .s("OpenSearchServerless", "GetIndex", {})
1765
1721
  .n("OpenSearchServerlessClient", "GetIndexCommand")
1766
- .f(void 0, void 0)
1767
- .ser(se_GetIndexCommand)
1768
- .de(de_GetIndexCommand)
1722
+ .sc(GetIndex)
1769
1723
  .build() {
1770
1724
  }
1771
1725
 
@@ -1773,16 +1727,11 @@ class GetPoliciesStatsCommand extends smithyClient.Command
1773
1727
  .classBuilder()
1774
1728
  .ep(commonParams)
1775
1729
  .m(function (Command, cs, config, o) {
1776
- return [
1777
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1778
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1779
- ];
1730
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1780
1731
  })
1781
1732
  .s("OpenSearchServerless", "GetPoliciesStats", {})
1782
1733
  .n("OpenSearchServerlessClient", "GetPoliciesStatsCommand")
1783
- .f(void 0, void 0)
1784
- .ser(se_GetPoliciesStatsCommand)
1785
- .de(de_GetPoliciesStatsCommand)
1734
+ .sc(GetPoliciesStats)
1786
1735
  .build() {
1787
1736
  }
1788
1737
 
@@ -1790,16 +1739,11 @@ class GetSecurityConfigCommand extends smithyClient.Command
1790
1739
  .classBuilder()
1791
1740
  .ep(commonParams)
1792
1741
  .m(function (Command, cs, config, o) {
1793
- return [
1794
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1795
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1796
- ];
1742
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
1743
  })
1798
1744
  .s("OpenSearchServerless", "GetSecurityConfig", {})
1799
1745
  .n("OpenSearchServerlessClient", "GetSecurityConfigCommand")
1800
- .f(void 0, void 0)
1801
- .ser(se_GetSecurityConfigCommand)
1802
- .de(de_GetSecurityConfigCommand)
1746
+ .sc(GetSecurityConfig)
1803
1747
  .build() {
1804
1748
  }
1805
1749
 
@@ -1807,16 +1751,11 @@ class GetSecurityPolicyCommand extends smithyClient.Command
1807
1751
  .classBuilder()
1808
1752
  .ep(commonParams)
1809
1753
  .m(function (Command, cs, config, o) {
1810
- return [
1811
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1812
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1813
- ];
1754
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1814
1755
  })
1815
1756
  .s("OpenSearchServerless", "GetSecurityPolicy", {})
1816
1757
  .n("OpenSearchServerlessClient", "GetSecurityPolicyCommand")
1817
- .f(void 0, void 0)
1818
- .ser(se_GetSecurityPolicyCommand)
1819
- .de(de_GetSecurityPolicyCommand)
1758
+ .sc(GetSecurityPolicy)
1820
1759
  .build() {
1821
1760
  }
1822
1761
 
@@ -1824,16 +1763,11 @@ class ListAccessPoliciesCommand extends smithyClient.Command
1824
1763
  .classBuilder()
1825
1764
  .ep(commonParams)
1826
1765
  .m(function (Command, cs, config, o) {
1827
- return [
1828
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1829
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1830
- ];
1766
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1831
1767
  })
1832
1768
  .s("OpenSearchServerless", "ListAccessPolicies", {})
1833
1769
  .n("OpenSearchServerlessClient", "ListAccessPoliciesCommand")
1834
- .f(void 0, void 0)
1835
- .ser(se_ListAccessPoliciesCommand)
1836
- .de(de_ListAccessPoliciesCommand)
1770
+ .sc(ListAccessPolicies)
1837
1771
  .build() {
1838
1772
  }
1839
1773
 
@@ -1841,16 +1775,11 @@ class ListCollectionsCommand extends smithyClient.Command
1841
1775
  .classBuilder()
1842
1776
  .ep(commonParams)
1843
1777
  .m(function (Command, cs, config, o) {
1844
- return [
1845
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1846
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1847
- ];
1778
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1848
1779
  })
1849
1780
  .s("OpenSearchServerless", "ListCollections", {})
1850
1781
  .n("OpenSearchServerlessClient", "ListCollectionsCommand")
1851
- .f(void 0, void 0)
1852
- .ser(se_ListCollectionsCommand)
1853
- .de(de_ListCollectionsCommand)
1782
+ .sc(ListCollections)
1854
1783
  .build() {
1855
1784
  }
1856
1785
 
@@ -1858,16 +1787,11 @@ class ListLifecyclePoliciesCommand extends smithyClient.Command
1858
1787
  .classBuilder()
1859
1788
  .ep(commonParams)
1860
1789
  .m(function (Command, cs, config, o) {
1861
- return [
1862
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1863
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1864
- ];
1790
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1865
1791
  })
1866
1792
  .s("OpenSearchServerless", "ListLifecyclePolicies", {})
1867
1793
  .n("OpenSearchServerlessClient", "ListLifecyclePoliciesCommand")
1868
- .f(void 0, void 0)
1869
- .ser(se_ListLifecyclePoliciesCommand)
1870
- .de(de_ListLifecyclePoliciesCommand)
1794
+ .sc(ListLifecyclePolicies)
1871
1795
  .build() {
1872
1796
  }
1873
1797
 
@@ -1875,16 +1799,11 @@ class ListSecurityConfigsCommand extends smithyClient.Command
1875
1799
  .classBuilder()
1876
1800
  .ep(commonParams)
1877
1801
  .m(function (Command, cs, config, o) {
1878
- return [
1879
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1880
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1881
- ];
1802
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1882
1803
  })
1883
1804
  .s("OpenSearchServerless", "ListSecurityConfigs", {})
1884
1805
  .n("OpenSearchServerlessClient", "ListSecurityConfigsCommand")
1885
- .f(void 0, void 0)
1886
- .ser(se_ListSecurityConfigsCommand)
1887
- .de(de_ListSecurityConfigsCommand)
1806
+ .sc(ListSecurityConfigs)
1888
1807
  .build() {
1889
1808
  }
1890
1809
 
@@ -1892,16 +1811,11 @@ class ListSecurityPoliciesCommand extends smithyClient.Command
1892
1811
  .classBuilder()
1893
1812
  .ep(commonParams)
1894
1813
  .m(function (Command, cs, config, o) {
1895
- return [
1896
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1897
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1898
- ];
1814
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1899
1815
  })
1900
1816
  .s("OpenSearchServerless", "ListSecurityPolicies", {})
1901
1817
  .n("OpenSearchServerlessClient", "ListSecurityPoliciesCommand")
1902
- .f(void 0, void 0)
1903
- .ser(se_ListSecurityPoliciesCommand)
1904
- .de(de_ListSecurityPoliciesCommand)
1818
+ .sc(ListSecurityPolicies)
1905
1819
  .build() {
1906
1820
  }
1907
1821
 
@@ -1909,16 +1823,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1909
1823
  .classBuilder()
1910
1824
  .ep(commonParams)
1911
1825
  .m(function (Command, cs, config, o) {
1912
- return [
1913
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1914
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1915
- ];
1826
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1916
1827
  })
1917
1828
  .s("OpenSearchServerless", "ListTagsForResource", {})
1918
1829
  .n("OpenSearchServerlessClient", "ListTagsForResourceCommand")
1919
- .f(void 0, void 0)
1920
- .ser(se_ListTagsForResourceCommand)
1921
- .de(de_ListTagsForResourceCommand)
1830
+ .sc(ListTagsForResource)
1922
1831
  .build() {
1923
1832
  }
1924
1833
 
@@ -1926,16 +1835,11 @@ class ListVpcEndpointsCommand extends smithyClient.Command
1926
1835
  .classBuilder()
1927
1836
  .ep(commonParams)
1928
1837
  .m(function (Command, cs, config, o) {
1929
- return [
1930
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1931
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1932
- ];
1838
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1933
1839
  })
1934
1840
  .s("OpenSearchServerless", "ListVpcEndpoints", {})
1935
1841
  .n("OpenSearchServerlessClient", "ListVpcEndpointsCommand")
1936
- .f(void 0, void 0)
1937
- .ser(se_ListVpcEndpointsCommand)
1938
- .de(de_ListVpcEndpointsCommand)
1842
+ .sc(ListVpcEndpoints)
1939
1843
  .build() {
1940
1844
  }
1941
1845
 
@@ -1943,16 +1847,11 @@ class TagResourceCommand extends smithyClient.Command
1943
1847
  .classBuilder()
1944
1848
  .ep(commonParams)
1945
1849
  .m(function (Command, cs, config, o) {
1946
- return [
1947
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1948
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1949
- ];
1850
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1950
1851
  })
1951
1852
  .s("OpenSearchServerless", "TagResource", {})
1952
1853
  .n("OpenSearchServerlessClient", "TagResourceCommand")
1953
- .f(void 0, void 0)
1954
- .ser(se_TagResourceCommand)
1955
- .de(de_TagResourceCommand)
1854
+ .sc(TagResource)
1956
1855
  .build() {
1957
1856
  }
1958
1857
 
@@ -1960,16 +1859,11 @@ class UntagResourceCommand extends smithyClient.Command
1960
1859
  .classBuilder()
1961
1860
  .ep(commonParams)
1962
1861
  .m(function (Command, cs, config, o) {
1963
- return [
1964
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1965
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1966
- ];
1862
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1967
1863
  })
1968
1864
  .s("OpenSearchServerless", "UntagResource", {})
1969
1865
  .n("OpenSearchServerlessClient", "UntagResourceCommand")
1970
- .f(void 0, void 0)
1971
- .ser(se_UntagResourceCommand)
1972
- .de(de_UntagResourceCommand)
1866
+ .sc(UntagResource)
1973
1867
  .build() {
1974
1868
  }
1975
1869
 
@@ -1977,16 +1871,11 @@ class UpdateAccessPolicyCommand extends smithyClient.Command
1977
1871
  .classBuilder()
1978
1872
  .ep(commonParams)
1979
1873
  .m(function (Command, cs, config, o) {
1980
- return [
1981
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1982
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1983
- ];
1874
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1984
1875
  })
1985
1876
  .s("OpenSearchServerless", "UpdateAccessPolicy", {})
1986
1877
  .n("OpenSearchServerlessClient", "UpdateAccessPolicyCommand")
1987
- .f(void 0, void 0)
1988
- .ser(se_UpdateAccessPolicyCommand)
1989
- .de(de_UpdateAccessPolicyCommand)
1878
+ .sc(UpdateAccessPolicy)
1990
1879
  .build() {
1991
1880
  }
1992
1881
 
@@ -1994,16 +1883,11 @@ class UpdateAccountSettingsCommand extends smithyClient.Command
1994
1883
  .classBuilder()
1995
1884
  .ep(commonParams)
1996
1885
  .m(function (Command, cs, config, o) {
1997
- return [
1998
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1999
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2000
- ];
1886
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2001
1887
  })
2002
1888
  .s("OpenSearchServerless", "UpdateAccountSettings", {})
2003
1889
  .n("OpenSearchServerlessClient", "UpdateAccountSettingsCommand")
2004
- .f(void 0, void 0)
2005
- .ser(se_UpdateAccountSettingsCommand)
2006
- .de(de_UpdateAccountSettingsCommand)
1890
+ .sc(UpdateAccountSettings)
2007
1891
  .build() {
2008
1892
  }
2009
1893
 
@@ -2011,16 +1895,11 @@ class UpdateCollectionCommand extends smithyClient.Command
2011
1895
  .classBuilder()
2012
1896
  .ep(commonParams)
2013
1897
  .m(function (Command, cs, config, o) {
2014
- return [
2015
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2016
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2017
- ];
1898
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2018
1899
  })
2019
1900
  .s("OpenSearchServerless", "UpdateCollection", {})
2020
1901
  .n("OpenSearchServerlessClient", "UpdateCollectionCommand")
2021
- .f(void 0, void 0)
2022
- .ser(se_UpdateCollectionCommand)
2023
- .de(de_UpdateCollectionCommand)
1902
+ .sc(UpdateCollection)
2024
1903
  .build() {
2025
1904
  }
2026
1905
 
@@ -2028,16 +1907,11 @@ class UpdateIndexCommand extends smithyClient.Command
2028
1907
  .classBuilder()
2029
1908
  .ep(commonParams)
2030
1909
  .m(function (Command, cs, config, o) {
2031
- return [
2032
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2033
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2034
- ];
1910
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2035
1911
  })
2036
1912
  .s("OpenSearchServerless", "UpdateIndex", {})
2037
1913
  .n("OpenSearchServerlessClient", "UpdateIndexCommand")
2038
- .f(void 0, void 0)
2039
- .ser(se_UpdateIndexCommand)
2040
- .de(de_UpdateIndexCommand)
1914
+ .sc(UpdateIndex)
2041
1915
  .build() {
2042
1916
  }
2043
1917
 
@@ -2045,16 +1919,11 @@ class UpdateLifecyclePolicyCommand extends smithyClient.Command
2045
1919
  .classBuilder()
2046
1920
  .ep(commonParams)
2047
1921
  .m(function (Command, cs, config, o) {
2048
- return [
2049
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2050
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2051
- ];
1922
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2052
1923
  })
2053
1924
  .s("OpenSearchServerless", "UpdateLifecyclePolicy", {})
2054
1925
  .n("OpenSearchServerlessClient", "UpdateLifecyclePolicyCommand")
2055
- .f(void 0, void 0)
2056
- .ser(se_UpdateLifecyclePolicyCommand)
2057
- .de(de_UpdateLifecyclePolicyCommand)
1926
+ .sc(UpdateLifecyclePolicy)
2058
1927
  .build() {
2059
1928
  }
2060
1929
 
@@ -2062,16 +1931,11 @@ class UpdateSecurityConfigCommand extends smithyClient.Command
2062
1931
  .classBuilder()
2063
1932
  .ep(commonParams)
2064
1933
  .m(function (Command, cs, config, o) {
2065
- return [
2066
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2067
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2068
- ];
1934
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2069
1935
  })
2070
1936
  .s("OpenSearchServerless", "UpdateSecurityConfig", {})
2071
1937
  .n("OpenSearchServerlessClient", "UpdateSecurityConfigCommand")
2072
- .f(void 0, void 0)
2073
- .ser(se_UpdateSecurityConfigCommand)
2074
- .de(de_UpdateSecurityConfigCommand)
1938
+ .sc(UpdateSecurityConfig)
2075
1939
  .build() {
2076
1940
  }
2077
1941
 
@@ -2079,16 +1943,11 @@ class UpdateSecurityPolicyCommand extends smithyClient.Command
2079
1943
  .classBuilder()
2080
1944
  .ep(commonParams)
2081
1945
  .m(function (Command, cs, config, o) {
2082
- return [
2083
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2084
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2085
- ];
1946
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2086
1947
  })
2087
1948
  .s("OpenSearchServerless", "UpdateSecurityPolicy", {})
2088
1949
  .n("OpenSearchServerlessClient", "UpdateSecurityPolicyCommand")
2089
- .f(void 0, void 0)
2090
- .ser(se_UpdateSecurityPolicyCommand)
2091
- .de(de_UpdateSecurityPolicyCommand)
1950
+ .sc(UpdateSecurityPolicy)
2092
1951
  .build() {
2093
1952
  }
2094
1953
 
@@ -2096,16 +1955,11 @@ class UpdateVpcEndpointCommand extends smithyClient.Command
2096
1955
  .classBuilder()
2097
1956
  .ep(commonParams)
2098
1957
  .m(function (Command, cs, config, o) {
2099
- return [
2100
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2101
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2102
- ];
1958
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2103
1959
  })
2104
1960
  .s("OpenSearchServerless", "UpdateVpcEndpoint", {})
2105
1961
  .n("OpenSearchServerlessClient", "UpdateVpcEndpointCommand")
2106
- .f(void 0, void 0)
2107
- .ser(se_UpdateVpcEndpointCommand)
2108
- .de(de_UpdateVpcEndpointCommand)
1962
+ .sc(UpdateVpcEndpoint)
2109
1963
  .build() {
2110
1964
  }
2111
1965
 
@@ -2183,7 +2037,7 @@ exports.BatchGetLifecyclePolicyCommand = BatchGetLifecyclePolicyCommand;
2183
2037
  exports.BatchGetVpcEndpointCommand = BatchGetVpcEndpointCommand;
2184
2038
  exports.CollectionStatus = CollectionStatus;
2185
2039
  exports.CollectionType = CollectionType;
2186
- exports.ConflictException = ConflictException;
2040
+ exports.ConflictException = ConflictException$1;
2187
2041
  exports.CreateAccessPolicyCommand = CreateAccessPolicyCommand;
2188
2042
  exports.CreateCollectionCommand = CreateCollectionCommand;
2189
2043
  exports.CreateIndexCommand = CreateIndexCommand;
@@ -2206,7 +2060,7 @@ exports.GetSecurityConfigCommand = GetSecurityConfigCommand;
2206
2060
  exports.GetSecurityPolicyCommand = GetSecurityPolicyCommand;
2207
2061
  exports.IamIdentityCenterGroupAttribute = IamIdentityCenterGroupAttribute;
2208
2062
  exports.IamIdentityCenterUserAttribute = IamIdentityCenterUserAttribute;
2209
- exports.InternalServerException = InternalServerException;
2063
+ exports.InternalServerException = InternalServerException$1;
2210
2064
  exports.LifecyclePolicyType = LifecyclePolicyType;
2211
2065
  exports.ListAccessPoliciesCommand = ListAccessPoliciesCommand;
2212
2066
  exports.ListCollectionsCommand = ListCollectionsCommand;
@@ -2215,15 +2069,15 @@ exports.ListSecurityConfigsCommand = ListSecurityConfigsCommand;
2215
2069
  exports.ListSecurityPoliciesCommand = ListSecurityPoliciesCommand;
2216
2070
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2217
2071
  exports.ListVpcEndpointsCommand = ListVpcEndpointsCommand;
2218
- exports.OcuLimitExceededException = OcuLimitExceededException;
2072
+ exports.OcuLimitExceededException = OcuLimitExceededException$1;
2219
2073
  exports.OpenSearchServerless = OpenSearchServerless;
2220
2074
  exports.OpenSearchServerlessClient = OpenSearchServerlessClient;
2221
- exports.OpenSearchServerlessServiceException = OpenSearchServerlessServiceException;
2222
- exports.ResourceNotFoundException = ResourceNotFoundException;
2075
+ exports.OpenSearchServerlessServiceException = OpenSearchServerlessServiceException$1;
2076
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2223
2077
  exports.ResourceType = ResourceType;
2224
2078
  exports.SecurityConfigType = SecurityConfigType;
2225
2079
  exports.SecurityPolicyType = SecurityPolicyType;
2226
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2080
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2227
2081
  exports.StandbyReplicas = StandbyReplicas;
2228
2082
  exports.TagResourceCommand = TagResourceCommand;
2229
2083
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -2235,7 +2089,7 @@ exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;
2235
2089
  exports.UpdateSecurityConfigCommand = UpdateSecurityConfigCommand;
2236
2090
  exports.UpdateSecurityPolicyCommand = UpdateSecurityPolicyCommand;
2237
2091
  exports.UpdateVpcEndpointCommand = UpdateVpcEndpointCommand;
2238
- exports.ValidationException = ValidationException;
2092
+ exports.ValidationException = ValidationException$1;
2239
2093
  exports.VpcEndpointStatus = VpcEndpointStatus;
2240
2094
  exports.paginateListAccessPolicies = paginateListAccessPolicies;
2241
2095
  exports.paginateListCollections = paginateListCollections;