@effect-aws/client-opensearch 1.3.0 → 1.9.3

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 (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/OpenSearchClientInstance/package.json +6 -0
  3. package/OpenSearchService/package.json +6 -0
  4. package/OpenSearchServiceConfig/package.json +6 -0
  5. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  6. package/dist/cjs/Errors.d.ts.map +1 -0
  7. package/dist/cjs/Errors.js +21 -0
  8. package/dist/cjs/Errors.js.map +1 -0
  9. package/dist/cjs/OpenSearchClientInstance.d.ts +24 -0
  10. package/dist/cjs/OpenSearchClientInstance.d.ts.map +1 -0
  11. package/dist/cjs/OpenSearchClientInstance.js +50 -0
  12. package/dist/cjs/OpenSearchClientInstance.js.map +1 -0
  13. package/dist/cjs/OpenSearchService.d.ts +345 -0
  14. package/dist/cjs/OpenSearchService.d.ts.map +1 -0
  15. package/dist/cjs/OpenSearchService.js +135 -0
  16. package/dist/cjs/OpenSearchService.js.map +1 -0
  17. package/dist/cjs/OpenSearchServiceConfig.d.ts +25 -0
  18. package/dist/cjs/OpenSearchServiceConfig.d.ts.map +1 -0
  19. package/dist/cjs/OpenSearchServiceConfig.js +35 -0
  20. package/dist/cjs/OpenSearchServiceConfig.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/Errors.d.ts +20 -0
  26. package/dist/dts/Errors.d.ts.map +1 -0
  27. package/dist/dts/OpenSearchClientInstance.d.ts +24 -0
  28. package/dist/dts/OpenSearchClientInstance.d.ts.map +1 -0
  29. package/dist/dts/OpenSearchService.d.ts +345 -0
  30. package/dist/dts/OpenSearchService.d.ts.map +1 -0
  31. package/dist/dts/OpenSearchServiceConfig.d.ts +25 -0
  32. package/dist/dts/OpenSearchServiceConfig.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/Errors.js +18 -0
  36. package/dist/esm/Errors.js.map +1 -0
  37. package/dist/esm/OpenSearchClientInstance.js +23 -0
  38. package/dist/esm/OpenSearchClientInstance.js.map +1 -0
  39. package/dist/esm/OpenSearchService.js +108 -0
  40. package/dist/esm/OpenSearchService.js.map +1 -0
  41. package/dist/esm/OpenSearchServiceConfig.js +31 -0
  42. package/dist/esm/OpenSearchServiceConfig.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/Errors.ts +50 -0
  48. package/src/OpenSearchClientInstance.ts +33 -0
  49. package/src/OpenSearchService.ts +1375 -0
  50. package/src/OpenSearchServiceConfig.ts +52 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -31
  53. package/docgen.json +0 -8
  54. package/lib/Errors.js +0 -21
  55. package/lib/OpenSearchClientInstance.d.ts +0 -31
  56. package/lib/OpenSearchClientInstance.js +0 -57
  57. package/lib/OpenSearchClientInstanceConfig.d.ts +0 -23
  58. package/lib/OpenSearchClientInstanceConfig.js +0 -44
  59. package/lib/OpenSearchService.d.ts +0 -445
  60. package/lib/OpenSearchService.js +0 -164
  61. package/lib/esm/Errors.js +0 -18
  62. package/lib/esm/OpenSearchClientInstance.js +0 -30
  63. package/lib/esm/OpenSearchClientInstanceConfig.js +0 -40
  64. package/lib/esm/OpenSearchService.js +0 -160
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,1375 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import {
5
+ AcceptInboundConnectionCommand,
6
+ type AcceptInboundConnectionCommandInput,
7
+ type AcceptInboundConnectionCommandOutput,
8
+ AddDataSourceCommand,
9
+ type AddDataSourceCommandInput,
10
+ type AddDataSourceCommandOutput,
11
+ AddDirectQueryDataSourceCommand,
12
+ type AddDirectQueryDataSourceCommandInput,
13
+ type AddDirectQueryDataSourceCommandOutput,
14
+ AddTagsCommand,
15
+ type AddTagsCommandInput,
16
+ type AddTagsCommandOutput,
17
+ AssociatePackageCommand,
18
+ type AssociatePackageCommandInput,
19
+ type AssociatePackageCommandOutput,
20
+ AssociatePackagesCommand,
21
+ type AssociatePackagesCommandInput,
22
+ type AssociatePackagesCommandOutput,
23
+ AuthorizeVpcEndpointAccessCommand,
24
+ type AuthorizeVpcEndpointAccessCommandInput,
25
+ type AuthorizeVpcEndpointAccessCommandOutput,
26
+ CancelDomainConfigChangeCommand,
27
+ type CancelDomainConfigChangeCommandInput,
28
+ type CancelDomainConfigChangeCommandOutput,
29
+ CancelServiceSoftwareUpdateCommand,
30
+ type CancelServiceSoftwareUpdateCommandInput,
31
+ type CancelServiceSoftwareUpdateCommandOutput,
32
+ CreateApplicationCommand,
33
+ type CreateApplicationCommandInput,
34
+ type CreateApplicationCommandOutput,
35
+ CreateDomainCommand,
36
+ type CreateDomainCommandInput,
37
+ type CreateDomainCommandOutput,
38
+ CreateOutboundConnectionCommand,
39
+ type CreateOutboundConnectionCommandInput,
40
+ type CreateOutboundConnectionCommandOutput,
41
+ CreatePackageCommand,
42
+ type CreatePackageCommandInput,
43
+ type CreatePackageCommandOutput,
44
+ CreateVpcEndpointCommand,
45
+ type CreateVpcEndpointCommandInput,
46
+ type CreateVpcEndpointCommandOutput,
47
+ DeleteApplicationCommand,
48
+ type DeleteApplicationCommandInput,
49
+ type DeleteApplicationCommandOutput,
50
+ DeleteDataSourceCommand,
51
+ type DeleteDataSourceCommandInput,
52
+ type DeleteDataSourceCommandOutput,
53
+ DeleteDirectQueryDataSourceCommand,
54
+ type DeleteDirectQueryDataSourceCommandInput,
55
+ type DeleteDirectQueryDataSourceCommandOutput,
56
+ DeleteDomainCommand,
57
+ type DeleteDomainCommandInput,
58
+ type DeleteDomainCommandOutput,
59
+ DeleteInboundConnectionCommand,
60
+ type DeleteInboundConnectionCommandInput,
61
+ type DeleteInboundConnectionCommandOutput,
62
+ DeleteOutboundConnectionCommand,
63
+ type DeleteOutboundConnectionCommandInput,
64
+ type DeleteOutboundConnectionCommandOutput,
65
+ DeletePackageCommand,
66
+ type DeletePackageCommandInput,
67
+ type DeletePackageCommandOutput,
68
+ DeleteVpcEndpointCommand,
69
+ type DeleteVpcEndpointCommandInput,
70
+ type DeleteVpcEndpointCommandOutput,
71
+ DescribeDomainAutoTunesCommand,
72
+ type DescribeDomainAutoTunesCommandInput,
73
+ type DescribeDomainAutoTunesCommandOutput,
74
+ DescribeDomainChangeProgressCommand,
75
+ type DescribeDomainChangeProgressCommandInput,
76
+ type DescribeDomainChangeProgressCommandOutput,
77
+ DescribeDomainCommand,
78
+ type DescribeDomainCommandInput,
79
+ type DescribeDomainCommandOutput,
80
+ DescribeDomainConfigCommand,
81
+ type DescribeDomainConfigCommandInput,
82
+ type DescribeDomainConfigCommandOutput,
83
+ DescribeDomainHealthCommand,
84
+ type DescribeDomainHealthCommandInput,
85
+ type DescribeDomainHealthCommandOutput,
86
+ DescribeDomainNodesCommand,
87
+ type DescribeDomainNodesCommandInput,
88
+ type DescribeDomainNodesCommandOutput,
89
+ DescribeDomainsCommand,
90
+ type DescribeDomainsCommandInput,
91
+ type DescribeDomainsCommandOutput,
92
+ DescribeDryRunProgressCommand,
93
+ type DescribeDryRunProgressCommandInput,
94
+ type DescribeDryRunProgressCommandOutput,
95
+ DescribeInboundConnectionsCommand,
96
+ type DescribeInboundConnectionsCommandInput,
97
+ type DescribeInboundConnectionsCommandOutput,
98
+ DescribeInstanceTypeLimitsCommand,
99
+ type DescribeInstanceTypeLimitsCommandInput,
100
+ type DescribeInstanceTypeLimitsCommandOutput,
101
+ DescribeOutboundConnectionsCommand,
102
+ type DescribeOutboundConnectionsCommandInput,
103
+ type DescribeOutboundConnectionsCommandOutput,
104
+ DescribePackagesCommand,
105
+ type DescribePackagesCommandInput,
106
+ type DescribePackagesCommandOutput,
107
+ DescribeReservedInstanceOfferingsCommand,
108
+ type DescribeReservedInstanceOfferingsCommandInput,
109
+ type DescribeReservedInstanceOfferingsCommandOutput,
110
+ DescribeReservedInstancesCommand,
111
+ type DescribeReservedInstancesCommandInput,
112
+ type DescribeReservedInstancesCommandOutput,
113
+ DescribeVpcEndpointsCommand,
114
+ type DescribeVpcEndpointsCommandInput,
115
+ type DescribeVpcEndpointsCommandOutput,
116
+ DissociatePackageCommand,
117
+ type DissociatePackageCommandInput,
118
+ type DissociatePackageCommandOutput,
119
+ DissociatePackagesCommand,
120
+ type DissociatePackagesCommandInput,
121
+ type DissociatePackagesCommandOutput,
122
+ GetApplicationCommand,
123
+ type GetApplicationCommandInput,
124
+ type GetApplicationCommandOutput,
125
+ GetCompatibleVersionsCommand,
126
+ type GetCompatibleVersionsCommandInput,
127
+ type GetCompatibleVersionsCommandOutput,
128
+ GetDataSourceCommand,
129
+ type GetDataSourceCommandInput,
130
+ type GetDataSourceCommandOutput,
131
+ GetDirectQueryDataSourceCommand,
132
+ type GetDirectQueryDataSourceCommandInput,
133
+ type GetDirectQueryDataSourceCommandOutput,
134
+ GetDomainMaintenanceStatusCommand,
135
+ type GetDomainMaintenanceStatusCommandInput,
136
+ type GetDomainMaintenanceStatusCommandOutput,
137
+ GetPackageVersionHistoryCommand,
138
+ type GetPackageVersionHistoryCommandInput,
139
+ type GetPackageVersionHistoryCommandOutput,
140
+ GetUpgradeHistoryCommand,
141
+ type GetUpgradeHistoryCommandInput,
142
+ type GetUpgradeHistoryCommandOutput,
143
+ GetUpgradeStatusCommand,
144
+ type GetUpgradeStatusCommandInput,
145
+ type GetUpgradeStatusCommandOutput,
146
+ ListApplicationsCommand,
147
+ type ListApplicationsCommandInput,
148
+ type ListApplicationsCommandOutput,
149
+ ListDataSourcesCommand,
150
+ type ListDataSourcesCommandInput,
151
+ type ListDataSourcesCommandOutput,
152
+ ListDirectQueryDataSourcesCommand,
153
+ type ListDirectQueryDataSourcesCommandInput,
154
+ type ListDirectQueryDataSourcesCommandOutput,
155
+ ListDomainMaintenancesCommand,
156
+ type ListDomainMaintenancesCommandInput,
157
+ type ListDomainMaintenancesCommandOutput,
158
+ ListDomainNamesCommand,
159
+ type ListDomainNamesCommandInput,
160
+ type ListDomainNamesCommandOutput,
161
+ ListDomainsForPackageCommand,
162
+ type ListDomainsForPackageCommandInput,
163
+ type ListDomainsForPackageCommandOutput,
164
+ ListInstanceTypeDetailsCommand,
165
+ type ListInstanceTypeDetailsCommandInput,
166
+ type ListInstanceTypeDetailsCommandOutput,
167
+ ListPackagesForDomainCommand,
168
+ type ListPackagesForDomainCommandInput,
169
+ type ListPackagesForDomainCommandOutput,
170
+ ListScheduledActionsCommand,
171
+ type ListScheduledActionsCommandInput,
172
+ type ListScheduledActionsCommandOutput,
173
+ ListTagsCommand,
174
+ type ListTagsCommandInput,
175
+ type ListTagsCommandOutput,
176
+ ListVersionsCommand,
177
+ type ListVersionsCommandInput,
178
+ type ListVersionsCommandOutput,
179
+ ListVpcEndpointAccessCommand,
180
+ type ListVpcEndpointAccessCommandInput,
181
+ type ListVpcEndpointAccessCommandOutput,
182
+ ListVpcEndpointsCommand,
183
+ type ListVpcEndpointsCommandInput,
184
+ type ListVpcEndpointsCommandOutput,
185
+ ListVpcEndpointsForDomainCommand,
186
+ type ListVpcEndpointsForDomainCommandInput,
187
+ type ListVpcEndpointsForDomainCommandOutput,
188
+ type OpenSearchClient,
189
+ type OpenSearchClientConfig,
190
+ PurchaseReservedInstanceOfferingCommand,
191
+ type PurchaseReservedInstanceOfferingCommandInput,
192
+ type PurchaseReservedInstanceOfferingCommandOutput,
193
+ RejectInboundConnectionCommand,
194
+ type RejectInboundConnectionCommandInput,
195
+ type RejectInboundConnectionCommandOutput,
196
+ RemoveTagsCommand,
197
+ type RemoveTagsCommandInput,
198
+ type RemoveTagsCommandOutput,
199
+ RevokeVpcEndpointAccessCommand,
200
+ type RevokeVpcEndpointAccessCommandInput,
201
+ type RevokeVpcEndpointAccessCommandOutput,
202
+ StartDomainMaintenanceCommand,
203
+ type StartDomainMaintenanceCommandInput,
204
+ type StartDomainMaintenanceCommandOutput,
205
+ StartServiceSoftwareUpdateCommand,
206
+ type StartServiceSoftwareUpdateCommandInput,
207
+ type StartServiceSoftwareUpdateCommandOutput,
208
+ UpdateApplicationCommand,
209
+ type UpdateApplicationCommandInput,
210
+ type UpdateApplicationCommandOutput,
211
+ UpdateDataSourceCommand,
212
+ type UpdateDataSourceCommandInput,
213
+ type UpdateDataSourceCommandOutput,
214
+ UpdateDirectQueryDataSourceCommand,
215
+ type UpdateDirectQueryDataSourceCommandInput,
216
+ type UpdateDirectQueryDataSourceCommandOutput,
217
+ UpdateDomainConfigCommand,
218
+ type UpdateDomainConfigCommandInput,
219
+ type UpdateDomainConfigCommandOutput,
220
+ UpdatePackageCommand,
221
+ type UpdatePackageCommandInput,
222
+ type UpdatePackageCommandOutput,
223
+ UpdatePackageScopeCommand,
224
+ type UpdatePackageScopeCommandInput,
225
+ type UpdatePackageScopeCommandOutput,
226
+ UpdateScheduledActionCommand,
227
+ type UpdateScheduledActionCommandInput,
228
+ type UpdateScheduledActionCommandOutput,
229
+ UpdateVpcEndpointCommand,
230
+ type UpdateVpcEndpointCommandInput,
231
+ type UpdateVpcEndpointCommandOutput,
232
+ UpgradeDomainCommand,
233
+ type UpgradeDomainCommandInput,
234
+ type UpgradeDomainCommandOutput,
235
+ } from "@aws-sdk/client-opensearch";
236
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
237
+ import { Service } from "@effect-aws/commons";
238
+ import { Effect, Layer } from "effect";
239
+ import type {
240
+ AccessDeniedError,
241
+ BaseError,
242
+ ConflictError,
243
+ DependencyFailureError,
244
+ DisabledOperationError,
245
+ InternalError,
246
+ InvalidPaginationTokenError,
247
+ InvalidTypeError,
248
+ LimitExceededError,
249
+ ResourceAlreadyExistsError,
250
+ ResourceNotFoundError,
251
+ SlotNotAvailableError,
252
+ ValidationError,
253
+ } from "./Errors.js";
254
+ import { AllServiceErrors } from "./Errors.js";
255
+ import * as Instance from "./OpenSearchClientInstance.js";
256
+ import * as OpenSearchServiceConfig from "./OpenSearchServiceConfig.js";
257
+
258
+ const commands = {
259
+ AcceptInboundConnectionCommand,
260
+ AddDataSourceCommand,
261
+ AddDirectQueryDataSourceCommand,
262
+ AddTagsCommand,
263
+ AssociatePackageCommand,
264
+ AssociatePackagesCommand,
265
+ AuthorizeVpcEndpointAccessCommand,
266
+ CancelDomainConfigChangeCommand,
267
+ CancelServiceSoftwareUpdateCommand,
268
+ CreateApplicationCommand,
269
+ CreateDomainCommand,
270
+ CreateOutboundConnectionCommand,
271
+ CreatePackageCommand,
272
+ CreateVpcEndpointCommand,
273
+ DeleteApplicationCommand,
274
+ DeleteDataSourceCommand,
275
+ DeleteDirectQueryDataSourceCommand,
276
+ DeleteDomainCommand,
277
+ DeleteInboundConnectionCommand,
278
+ DeleteOutboundConnectionCommand,
279
+ DeletePackageCommand,
280
+ DeleteVpcEndpointCommand,
281
+ DescribeDomainCommand,
282
+ DescribeDomainAutoTunesCommand,
283
+ DescribeDomainChangeProgressCommand,
284
+ DescribeDomainConfigCommand,
285
+ DescribeDomainHealthCommand,
286
+ DescribeDomainNodesCommand,
287
+ DescribeDomainsCommand,
288
+ DescribeDryRunProgressCommand,
289
+ DescribeInboundConnectionsCommand,
290
+ DescribeInstanceTypeLimitsCommand,
291
+ DescribeOutboundConnectionsCommand,
292
+ DescribePackagesCommand,
293
+ DescribeReservedInstanceOfferingsCommand,
294
+ DescribeReservedInstancesCommand,
295
+ DescribeVpcEndpointsCommand,
296
+ DissociatePackageCommand,
297
+ DissociatePackagesCommand,
298
+ GetApplicationCommand,
299
+ GetCompatibleVersionsCommand,
300
+ GetDataSourceCommand,
301
+ GetDirectQueryDataSourceCommand,
302
+ GetDomainMaintenanceStatusCommand,
303
+ GetPackageVersionHistoryCommand,
304
+ GetUpgradeHistoryCommand,
305
+ GetUpgradeStatusCommand,
306
+ ListApplicationsCommand,
307
+ ListDataSourcesCommand,
308
+ ListDirectQueryDataSourcesCommand,
309
+ ListDomainMaintenancesCommand,
310
+ ListDomainNamesCommand,
311
+ ListDomainsForPackageCommand,
312
+ ListInstanceTypeDetailsCommand,
313
+ ListPackagesForDomainCommand,
314
+ ListScheduledActionsCommand,
315
+ ListTagsCommand,
316
+ ListVersionsCommand,
317
+ ListVpcEndpointAccessCommand,
318
+ ListVpcEndpointsCommand,
319
+ ListVpcEndpointsForDomainCommand,
320
+ PurchaseReservedInstanceOfferingCommand,
321
+ RejectInboundConnectionCommand,
322
+ RemoveTagsCommand,
323
+ RevokeVpcEndpointAccessCommand,
324
+ StartDomainMaintenanceCommand,
325
+ StartServiceSoftwareUpdateCommand,
326
+ UpdateApplicationCommand,
327
+ UpdateDataSourceCommand,
328
+ UpdateDirectQueryDataSourceCommand,
329
+ UpdateDomainConfigCommand,
330
+ UpdatePackageCommand,
331
+ UpdatePackageScopeCommand,
332
+ UpdateScheduledActionCommand,
333
+ UpdateVpcEndpointCommand,
334
+ UpgradeDomainCommand,
335
+ };
336
+
337
+ interface OpenSearchService$ {
338
+ readonly _: unique symbol;
339
+
340
+ /**
341
+ * @see {@link AcceptInboundConnectionCommand}
342
+ */
343
+ acceptInboundConnection(
344
+ args: AcceptInboundConnectionCommandInput,
345
+ options?: HttpHandlerOptions,
346
+ ): Effect.Effect<
347
+ AcceptInboundConnectionCommandOutput,
348
+ SdkError | DisabledOperationError | LimitExceededError | ResourceNotFoundError
349
+ >;
350
+
351
+ /**
352
+ * @see {@link AddDataSourceCommand}
353
+ */
354
+ addDataSource(
355
+ args: AddDataSourceCommandInput,
356
+ options?: HttpHandlerOptions,
357
+ ): Effect.Effect<
358
+ AddDataSourceCommandOutput,
359
+ | SdkError
360
+ | BaseError
361
+ | DependencyFailureError
362
+ | DisabledOperationError
363
+ | InternalError
364
+ | LimitExceededError
365
+ | ResourceNotFoundError
366
+ | ValidationError
367
+ >;
368
+
369
+ /**
370
+ * @see {@link AddDirectQueryDataSourceCommand}
371
+ */
372
+ addDirectQueryDataSource(
373
+ args: AddDirectQueryDataSourceCommandInput,
374
+ options?: HttpHandlerOptions,
375
+ ): Effect.Effect<
376
+ AddDirectQueryDataSourceCommandOutput,
377
+ | SdkError
378
+ | BaseError
379
+ | DisabledOperationError
380
+ | InternalError
381
+ | LimitExceededError
382
+ | ResourceNotFoundError
383
+ | ValidationError
384
+ >;
385
+
386
+ /**
387
+ * @see {@link AddTagsCommand}
388
+ */
389
+ addTags(
390
+ args: AddTagsCommandInput,
391
+ options?: HttpHandlerOptions,
392
+ ): Effect.Effect<
393
+ AddTagsCommandOutput,
394
+ SdkError | BaseError | InternalError | LimitExceededError | ValidationError
395
+ >;
396
+
397
+ /**
398
+ * @see {@link AssociatePackageCommand}
399
+ */
400
+ associatePackage(
401
+ args: AssociatePackageCommandInput,
402
+ options?: HttpHandlerOptions,
403
+ ): Effect.Effect<
404
+ AssociatePackageCommandOutput,
405
+ SdkError | AccessDeniedError | BaseError | ConflictError | InternalError | ResourceNotFoundError | ValidationError
406
+ >;
407
+
408
+ /**
409
+ * @see {@link AssociatePackagesCommand}
410
+ */
411
+ associatePackages(
412
+ args: AssociatePackagesCommandInput,
413
+ options?: HttpHandlerOptions,
414
+ ): Effect.Effect<
415
+ AssociatePackagesCommandOutput,
416
+ | SdkError
417
+ | BaseError
418
+ | ConflictError
419
+ | DisabledOperationError
420
+ | InternalError
421
+ | ResourceNotFoundError
422
+ | ValidationError
423
+ >;
424
+
425
+ /**
426
+ * @see {@link AuthorizeVpcEndpointAccessCommand}
427
+ */
428
+ authorizeVpcEndpointAccess(
429
+ args: AuthorizeVpcEndpointAccessCommandInput,
430
+ options?: HttpHandlerOptions,
431
+ ): Effect.Effect<
432
+ AuthorizeVpcEndpointAccessCommandOutput,
433
+ | SdkError
434
+ | BaseError
435
+ | DisabledOperationError
436
+ | InternalError
437
+ | LimitExceededError
438
+ | ResourceNotFoundError
439
+ | ValidationError
440
+ >;
441
+
442
+ /**
443
+ * @see {@link CancelDomainConfigChangeCommand}
444
+ */
445
+ cancelDomainConfigChange(
446
+ args: CancelDomainConfigChangeCommandInput,
447
+ options?: HttpHandlerOptions,
448
+ ): Effect.Effect<
449
+ CancelDomainConfigChangeCommandOutput,
450
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
451
+ >;
452
+
453
+ /**
454
+ * @see {@link CancelServiceSoftwareUpdateCommand}
455
+ */
456
+ cancelServiceSoftwareUpdate(
457
+ args: CancelServiceSoftwareUpdateCommandInput,
458
+ options?: HttpHandlerOptions,
459
+ ): Effect.Effect<
460
+ CancelServiceSoftwareUpdateCommandOutput,
461
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
462
+ >;
463
+
464
+ /**
465
+ * @see {@link CreateApplicationCommand}
466
+ */
467
+ createApplication(
468
+ args: CreateApplicationCommandInput,
469
+ options?: HttpHandlerOptions,
470
+ ): Effect.Effect<
471
+ CreateApplicationCommandOutput,
472
+ SdkError | AccessDeniedError | BaseError | ConflictError | DisabledOperationError | InternalError | ValidationError
473
+ >;
474
+
475
+ /**
476
+ * @see {@link CreateDomainCommand}
477
+ */
478
+ createDomain(
479
+ args: CreateDomainCommandInput,
480
+ options?: HttpHandlerOptions,
481
+ ): Effect.Effect<
482
+ CreateDomainCommandOutput,
483
+ | SdkError
484
+ | BaseError
485
+ | DisabledOperationError
486
+ | InternalError
487
+ | InvalidTypeError
488
+ | LimitExceededError
489
+ | ResourceAlreadyExistsError
490
+ | ValidationError
491
+ >;
492
+
493
+ /**
494
+ * @see {@link CreateOutboundConnectionCommand}
495
+ */
496
+ createOutboundConnection(
497
+ args: CreateOutboundConnectionCommandInput,
498
+ options?: HttpHandlerOptions,
499
+ ): Effect.Effect<
500
+ CreateOutboundConnectionCommandOutput,
501
+ SdkError | DisabledOperationError | InternalError | LimitExceededError | ResourceAlreadyExistsError
502
+ >;
503
+
504
+ /**
505
+ * @see {@link CreatePackageCommand}
506
+ */
507
+ createPackage(
508
+ args: CreatePackageCommandInput,
509
+ options?: HttpHandlerOptions,
510
+ ): Effect.Effect<
511
+ CreatePackageCommandOutput,
512
+ | SdkError
513
+ | AccessDeniedError
514
+ | BaseError
515
+ | InternalError
516
+ | InvalidTypeError
517
+ | LimitExceededError
518
+ | ResourceAlreadyExistsError
519
+ | ValidationError
520
+ >;
521
+
522
+ /**
523
+ * @see {@link CreateVpcEndpointCommand}
524
+ */
525
+ createVpcEndpoint(
526
+ args: CreateVpcEndpointCommandInput,
527
+ options?: HttpHandlerOptions,
528
+ ): Effect.Effect<
529
+ CreateVpcEndpointCommandOutput,
530
+ SdkError | BaseError | ConflictError | DisabledOperationError | InternalError | LimitExceededError | ValidationError
531
+ >;
532
+
533
+ /**
534
+ * @see {@link DeleteApplicationCommand}
535
+ */
536
+ deleteApplication(
537
+ args: DeleteApplicationCommandInput,
538
+ options?: HttpHandlerOptions,
539
+ ): Effect.Effect<
540
+ DeleteApplicationCommandOutput,
541
+ | SdkError
542
+ | AccessDeniedError
543
+ | BaseError
544
+ | ConflictError
545
+ | DisabledOperationError
546
+ | InternalError
547
+ | ResourceNotFoundError
548
+ | ValidationError
549
+ >;
550
+
551
+ /**
552
+ * @see {@link DeleteDataSourceCommand}
553
+ */
554
+ deleteDataSource(
555
+ args: DeleteDataSourceCommandInput,
556
+ options?: HttpHandlerOptions,
557
+ ): Effect.Effect<
558
+ DeleteDataSourceCommandOutput,
559
+ | SdkError
560
+ | BaseError
561
+ | DependencyFailureError
562
+ | DisabledOperationError
563
+ | InternalError
564
+ | ResourceNotFoundError
565
+ | ValidationError
566
+ >;
567
+
568
+ /**
569
+ * @see {@link DeleteDirectQueryDataSourceCommand}
570
+ */
571
+ deleteDirectQueryDataSource(
572
+ args: DeleteDirectQueryDataSourceCommandInput,
573
+ options?: HttpHandlerOptions,
574
+ ): Effect.Effect<
575
+ DeleteDirectQueryDataSourceCommandOutput,
576
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
577
+ >;
578
+
579
+ /**
580
+ * @see {@link DeleteDomainCommand}
581
+ */
582
+ deleteDomain(
583
+ args: DeleteDomainCommandInput,
584
+ options?: HttpHandlerOptions,
585
+ ): Effect.Effect<
586
+ DeleteDomainCommandOutput,
587
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
588
+ >;
589
+
590
+ /**
591
+ * @see {@link DeleteInboundConnectionCommand}
592
+ */
593
+ deleteInboundConnection(
594
+ args: DeleteInboundConnectionCommandInput,
595
+ options?: HttpHandlerOptions,
596
+ ): Effect.Effect<
597
+ DeleteInboundConnectionCommandOutput,
598
+ SdkError | DisabledOperationError | ResourceNotFoundError
599
+ >;
600
+
601
+ /**
602
+ * @see {@link DeleteOutboundConnectionCommand}
603
+ */
604
+ deleteOutboundConnection(
605
+ args: DeleteOutboundConnectionCommandInput,
606
+ options?: HttpHandlerOptions,
607
+ ): Effect.Effect<
608
+ DeleteOutboundConnectionCommandOutput,
609
+ SdkError | DisabledOperationError | ResourceNotFoundError
610
+ >;
611
+
612
+ /**
613
+ * @see {@link DeletePackageCommand}
614
+ */
615
+ deletePackage(
616
+ args: DeletePackageCommandInput,
617
+ options?: HttpHandlerOptions,
618
+ ): Effect.Effect<
619
+ DeletePackageCommandOutput,
620
+ SdkError | AccessDeniedError | BaseError | ConflictError | InternalError | ResourceNotFoundError | ValidationError
621
+ >;
622
+
623
+ /**
624
+ * @see {@link DeleteVpcEndpointCommand}
625
+ */
626
+ deleteVpcEndpoint(
627
+ args: DeleteVpcEndpointCommandInput,
628
+ options?: HttpHandlerOptions,
629
+ ): Effect.Effect<
630
+ DeleteVpcEndpointCommandOutput,
631
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
632
+ >;
633
+
634
+ /**
635
+ * @see {@link DescribeDomainCommand}
636
+ */
637
+ describeDomain(
638
+ args: DescribeDomainCommandInput,
639
+ options?: HttpHandlerOptions,
640
+ ): Effect.Effect<
641
+ DescribeDomainCommandOutput,
642
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
643
+ >;
644
+
645
+ /**
646
+ * @see {@link DescribeDomainAutoTunesCommand}
647
+ */
648
+ describeDomainAutoTunes(
649
+ args: DescribeDomainAutoTunesCommandInput,
650
+ options?: HttpHandlerOptions,
651
+ ): Effect.Effect<
652
+ DescribeDomainAutoTunesCommandOutput,
653
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
654
+ >;
655
+
656
+ /**
657
+ * @see {@link DescribeDomainChangeProgressCommand}
658
+ */
659
+ describeDomainChangeProgress(
660
+ args: DescribeDomainChangeProgressCommandInput,
661
+ options?: HttpHandlerOptions,
662
+ ): Effect.Effect<
663
+ DescribeDomainChangeProgressCommandOutput,
664
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
665
+ >;
666
+
667
+ /**
668
+ * @see {@link DescribeDomainConfigCommand}
669
+ */
670
+ describeDomainConfig(
671
+ args: DescribeDomainConfigCommandInput,
672
+ options?: HttpHandlerOptions,
673
+ ): Effect.Effect<
674
+ DescribeDomainConfigCommandOutput,
675
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
676
+ >;
677
+
678
+ /**
679
+ * @see {@link DescribeDomainHealthCommand}
680
+ */
681
+ describeDomainHealth(
682
+ args: DescribeDomainHealthCommandInput,
683
+ options?: HttpHandlerOptions,
684
+ ): Effect.Effect<
685
+ DescribeDomainHealthCommandOutput,
686
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
687
+ >;
688
+
689
+ /**
690
+ * @see {@link DescribeDomainNodesCommand}
691
+ */
692
+ describeDomainNodes(
693
+ args: DescribeDomainNodesCommandInput,
694
+ options?: HttpHandlerOptions,
695
+ ): Effect.Effect<
696
+ DescribeDomainNodesCommandOutput,
697
+ | SdkError
698
+ | BaseError
699
+ | DependencyFailureError
700
+ | DisabledOperationError
701
+ | InternalError
702
+ | ResourceNotFoundError
703
+ | ValidationError
704
+ >;
705
+
706
+ /**
707
+ * @see {@link DescribeDomainsCommand}
708
+ */
709
+ describeDomains(
710
+ args: DescribeDomainsCommandInput,
711
+ options?: HttpHandlerOptions,
712
+ ): Effect.Effect<
713
+ DescribeDomainsCommandOutput,
714
+ SdkError | BaseError | InternalError | ValidationError
715
+ >;
716
+
717
+ /**
718
+ * @see {@link DescribeDryRunProgressCommand}
719
+ */
720
+ describeDryRunProgress(
721
+ args: DescribeDryRunProgressCommandInput,
722
+ options?: HttpHandlerOptions,
723
+ ): Effect.Effect<
724
+ DescribeDryRunProgressCommandOutput,
725
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
726
+ >;
727
+
728
+ /**
729
+ * @see {@link DescribeInboundConnectionsCommand}
730
+ */
731
+ describeInboundConnections(
732
+ args: DescribeInboundConnectionsCommandInput,
733
+ options?: HttpHandlerOptions,
734
+ ): Effect.Effect<
735
+ DescribeInboundConnectionsCommandOutput,
736
+ SdkError | DisabledOperationError | InvalidPaginationTokenError
737
+ >;
738
+
739
+ /**
740
+ * @see {@link DescribeInstanceTypeLimitsCommand}
741
+ */
742
+ describeInstanceTypeLimits(
743
+ args: DescribeInstanceTypeLimitsCommandInput,
744
+ options?: HttpHandlerOptions,
745
+ ): Effect.Effect<
746
+ DescribeInstanceTypeLimitsCommandOutput,
747
+ | SdkError
748
+ | BaseError
749
+ | InternalError
750
+ | InvalidTypeError
751
+ | LimitExceededError
752
+ | ResourceNotFoundError
753
+ | ValidationError
754
+ >;
755
+
756
+ /**
757
+ * @see {@link DescribeOutboundConnectionsCommand}
758
+ */
759
+ describeOutboundConnections(
760
+ args: DescribeOutboundConnectionsCommandInput,
761
+ options?: HttpHandlerOptions,
762
+ ): Effect.Effect<
763
+ DescribeOutboundConnectionsCommandOutput,
764
+ SdkError | DisabledOperationError | InvalidPaginationTokenError
765
+ >;
766
+
767
+ /**
768
+ * @see {@link DescribePackagesCommand}
769
+ */
770
+ describePackages(
771
+ args: DescribePackagesCommandInput,
772
+ options?: HttpHandlerOptions,
773
+ ): Effect.Effect<
774
+ DescribePackagesCommandOutput,
775
+ SdkError | AccessDeniedError | BaseError | InternalError | ResourceNotFoundError | ValidationError
776
+ >;
777
+
778
+ /**
779
+ * @see {@link DescribeReservedInstanceOfferingsCommand}
780
+ */
781
+ describeReservedInstanceOfferings(
782
+ args: DescribeReservedInstanceOfferingsCommandInput,
783
+ options?: HttpHandlerOptions,
784
+ ): Effect.Effect<
785
+ DescribeReservedInstanceOfferingsCommandOutput,
786
+ SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
787
+ >;
788
+
789
+ /**
790
+ * @see {@link DescribeReservedInstancesCommand}
791
+ */
792
+ describeReservedInstances(
793
+ args: DescribeReservedInstancesCommandInput,
794
+ options?: HttpHandlerOptions,
795
+ ): Effect.Effect<
796
+ DescribeReservedInstancesCommandOutput,
797
+ SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
798
+ >;
799
+
800
+ /**
801
+ * @see {@link DescribeVpcEndpointsCommand}
802
+ */
803
+ describeVpcEndpoints(
804
+ args: DescribeVpcEndpointsCommandInput,
805
+ options?: HttpHandlerOptions,
806
+ ): Effect.Effect<
807
+ DescribeVpcEndpointsCommandOutput,
808
+ SdkError | BaseError | DisabledOperationError | InternalError | ValidationError
809
+ >;
810
+
811
+ /**
812
+ * @see {@link DissociatePackageCommand}
813
+ */
814
+ dissociatePackage(
815
+ args: DissociatePackageCommandInput,
816
+ options?: HttpHandlerOptions,
817
+ ): Effect.Effect<
818
+ DissociatePackageCommandOutput,
819
+ SdkError | AccessDeniedError | BaseError | ConflictError | InternalError | ResourceNotFoundError | ValidationError
820
+ >;
821
+
822
+ /**
823
+ * @see {@link DissociatePackagesCommand}
824
+ */
825
+ dissociatePackages(
826
+ args: DissociatePackagesCommandInput,
827
+ options?: HttpHandlerOptions,
828
+ ): Effect.Effect<
829
+ DissociatePackagesCommandOutput,
830
+ | SdkError
831
+ | BaseError
832
+ | ConflictError
833
+ | DisabledOperationError
834
+ | InternalError
835
+ | ResourceNotFoundError
836
+ | ValidationError
837
+ >;
838
+
839
+ /**
840
+ * @see {@link GetApplicationCommand}
841
+ */
842
+ getApplication(
843
+ args: GetApplicationCommandInput,
844
+ options?: HttpHandlerOptions,
845
+ ): Effect.Effect<
846
+ GetApplicationCommandOutput,
847
+ | SdkError
848
+ | AccessDeniedError
849
+ | BaseError
850
+ | DisabledOperationError
851
+ | InternalError
852
+ | ResourceNotFoundError
853
+ | ValidationError
854
+ >;
855
+
856
+ /**
857
+ * @see {@link GetCompatibleVersionsCommand}
858
+ */
859
+ getCompatibleVersions(
860
+ args: GetCompatibleVersionsCommandInput,
861
+ options?: HttpHandlerOptions,
862
+ ): Effect.Effect<
863
+ GetCompatibleVersionsCommandOutput,
864
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
865
+ >;
866
+
867
+ /**
868
+ * @see {@link GetDataSourceCommand}
869
+ */
870
+ getDataSource(
871
+ args: GetDataSourceCommandInput,
872
+ options?: HttpHandlerOptions,
873
+ ): Effect.Effect<
874
+ GetDataSourceCommandOutput,
875
+ | SdkError
876
+ | BaseError
877
+ | DependencyFailureError
878
+ | DisabledOperationError
879
+ | InternalError
880
+ | ResourceNotFoundError
881
+ | ValidationError
882
+ >;
883
+
884
+ /**
885
+ * @see {@link GetDirectQueryDataSourceCommand}
886
+ */
887
+ getDirectQueryDataSource(
888
+ args: GetDirectQueryDataSourceCommandInput,
889
+ options?: HttpHandlerOptions,
890
+ ): Effect.Effect<
891
+ GetDirectQueryDataSourceCommandOutput,
892
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
893
+ >;
894
+
895
+ /**
896
+ * @see {@link GetDomainMaintenanceStatusCommand}
897
+ */
898
+ getDomainMaintenanceStatus(
899
+ args: GetDomainMaintenanceStatusCommandInput,
900
+ options?: HttpHandlerOptions,
901
+ ): Effect.Effect<
902
+ GetDomainMaintenanceStatusCommandOutput,
903
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
904
+ >;
905
+
906
+ /**
907
+ * @see {@link GetPackageVersionHistoryCommand}
908
+ */
909
+ getPackageVersionHistory(
910
+ args: GetPackageVersionHistoryCommandInput,
911
+ options?: HttpHandlerOptions,
912
+ ): Effect.Effect<
913
+ GetPackageVersionHistoryCommandOutput,
914
+ SdkError | AccessDeniedError | BaseError | InternalError | ResourceNotFoundError | ValidationError
915
+ >;
916
+
917
+ /**
918
+ * @see {@link GetUpgradeHistoryCommand}
919
+ */
920
+ getUpgradeHistory(
921
+ args: GetUpgradeHistoryCommandInput,
922
+ options?: HttpHandlerOptions,
923
+ ): Effect.Effect<
924
+ GetUpgradeHistoryCommandOutput,
925
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
926
+ >;
927
+
928
+ /**
929
+ * @see {@link GetUpgradeStatusCommand}
930
+ */
931
+ getUpgradeStatus(
932
+ args: GetUpgradeStatusCommandInput,
933
+ options?: HttpHandlerOptions,
934
+ ): Effect.Effect<
935
+ GetUpgradeStatusCommandOutput,
936
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
937
+ >;
938
+
939
+ /**
940
+ * @see {@link ListApplicationsCommand}
941
+ */
942
+ listApplications(
943
+ args: ListApplicationsCommandInput,
944
+ options?: HttpHandlerOptions,
945
+ ): Effect.Effect<
946
+ ListApplicationsCommandOutput,
947
+ | SdkError
948
+ | AccessDeniedError
949
+ | BaseError
950
+ | DisabledOperationError
951
+ | InternalError
952
+ | ResourceNotFoundError
953
+ | ValidationError
954
+ >;
955
+
956
+ /**
957
+ * @see {@link ListDataSourcesCommand}
958
+ */
959
+ listDataSources(
960
+ args: ListDataSourcesCommandInput,
961
+ options?: HttpHandlerOptions,
962
+ ): Effect.Effect<
963
+ ListDataSourcesCommandOutput,
964
+ | SdkError
965
+ | BaseError
966
+ | DependencyFailureError
967
+ | DisabledOperationError
968
+ | InternalError
969
+ | ResourceNotFoundError
970
+ | ValidationError
971
+ >;
972
+
973
+ /**
974
+ * @see {@link ListDirectQueryDataSourcesCommand}
975
+ */
976
+ listDirectQueryDataSources(
977
+ args: ListDirectQueryDataSourcesCommandInput,
978
+ options?: HttpHandlerOptions,
979
+ ): Effect.Effect<
980
+ ListDirectQueryDataSourcesCommandOutput,
981
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
982
+ >;
983
+
984
+ /**
985
+ * @see {@link ListDomainMaintenancesCommand}
986
+ */
987
+ listDomainMaintenances(
988
+ args: ListDomainMaintenancesCommandInput,
989
+ options?: HttpHandlerOptions,
990
+ ): Effect.Effect<
991
+ ListDomainMaintenancesCommandOutput,
992
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
993
+ >;
994
+
995
+ /**
996
+ * @see {@link ListDomainNamesCommand}
997
+ */
998
+ listDomainNames(
999
+ args: ListDomainNamesCommandInput,
1000
+ options?: HttpHandlerOptions,
1001
+ ): Effect.Effect<
1002
+ ListDomainNamesCommandOutput,
1003
+ SdkError | BaseError | ValidationError
1004
+ >;
1005
+
1006
+ /**
1007
+ * @see {@link ListDomainsForPackageCommand}
1008
+ */
1009
+ listDomainsForPackage(
1010
+ args: ListDomainsForPackageCommandInput,
1011
+ options?: HttpHandlerOptions,
1012
+ ): Effect.Effect<
1013
+ ListDomainsForPackageCommandOutput,
1014
+ SdkError | AccessDeniedError | BaseError | InternalError | ResourceNotFoundError | ValidationError
1015
+ >;
1016
+
1017
+ /**
1018
+ * @see {@link ListInstanceTypeDetailsCommand}
1019
+ */
1020
+ listInstanceTypeDetails(
1021
+ args: ListInstanceTypeDetailsCommandInput,
1022
+ options?: HttpHandlerOptions,
1023
+ ): Effect.Effect<
1024
+ ListInstanceTypeDetailsCommandOutput,
1025
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
1026
+ >;
1027
+
1028
+ /**
1029
+ * @see {@link ListPackagesForDomainCommand}
1030
+ */
1031
+ listPackagesForDomain(
1032
+ args: ListPackagesForDomainCommandInput,
1033
+ options?: HttpHandlerOptions,
1034
+ ): Effect.Effect<
1035
+ ListPackagesForDomainCommandOutput,
1036
+ SdkError | AccessDeniedError | BaseError | InternalError | ResourceNotFoundError | ValidationError
1037
+ >;
1038
+
1039
+ /**
1040
+ * @see {@link ListScheduledActionsCommand}
1041
+ */
1042
+ listScheduledActions(
1043
+ args: ListScheduledActionsCommandInput,
1044
+ options?: HttpHandlerOptions,
1045
+ ): Effect.Effect<
1046
+ ListScheduledActionsCommandOutput,
1047
+ SdkError | BaseError | InternalError | InvalidPaginationTokenError | ResourceNotFoundError | ValidationError
1048
+ >;
1049
+
1050
+ /**
1051
+ * @see {@link ListTagsCommand}
1052
+ */
1053
+ listTags(
1054
+ args: ListTagsCommandInput,
1055
+ options?: HttpHandlerOptions,
1056
+ ): Effect.Effect<
1057
+ ListTagsCommandOutput,
1058
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
1059
+ >;
1060
+
1061
+ /**
1062
+ * @see {@link ListVersionsCommand}
1063
+ */
1064
+ listVersions(
1065
+ args: ListVersionsCommandInput,
1066
+ options?: HttpHandlerOptions,
1067
+ ): Effect.Effect<
1068
+ ListVersionsCommandOutput,
1069
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
1070
+ >;
1071
+
1072
+ /**
1073
+ * @see {@link ListVpcEndpointAccessCommand}
1074
+ */
1075
+ listVpcEndpointAccess(
1076
+ args: ListVpcEndpointAccessCommandInput,
1077
+ options?: HttpHandlerOptions,
1078
+ ): Effect.Effect<
1079
+ ListVpcEndpointAccessCommandOutput,
1080
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
1081
+ >;
1082
+
1083
+ /**
1084
+ * @see {@link ListVpcEndpointsCommand}
1085
+ */
1086
+ listVpcEndpoints(
1087
+ args: ListVpcEndpointsCommandInput,
1088
+ options?: HttpHandlerOptions,
1089
+ ): Effect.Effect<
1090
+ ListVpcEndpointsCommandOutput,
1091
+ SdkError | BaseError | DisabledOperationError | InternalError
1092
+ >;
1093
+
1094
+ /**
1095
+ * @see {@link ListVpcEndpointsForDomainCommand}
1096
+ */
1097
+ listVpcEndpointsForDomain(
1098
+ args: ListVpcEndpointsForDomainCommandInput,
1099
+ options?: HttpHandlerOptions,
1100
+ ): Effect.Effect<
1101
+ ListVpcEndpointsForDomainCommandOutput,
1102
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
1103
+ >;
1104
+
1105
+ /**
1106
+ * @see {@link PurchaseReservedInstanceOfferingCommand}
1107
+ */
1108
+ purchaseReservedInstanceOffering(
1109
+ args: PurchaseReservedInstanceOfferingCommandInput,
1110
+ options?: HttpHandlerOptions,
1111
+ ): Effect.Effect<
1112
+ PurchaseReservedInstanceOfferingCommandOutput,
1113
+ | SdkError
1114
+ | DisabledOperationError
1115
+ | InternalError
1116
+ | LimitExceededError
1117
+ | ResourceAlreadyExistsError
1118
+ | ResourceNotFoundError
1119
+ | ValidationError
1120
+ >;
1121
+
1122
+ /**
1123
+ * @see {@link RejectInboundConnectionCommand}
1124
+ */
1125
+ rejectInboundConnection(
1126
+ args: RejectInboundConnectionCommandInput,
1127
+ options?: HttpHandlerOptions,
1128
+ ): Effect.Effect<
1129
+ RejectInboundConnectionCommandOutput,
1130
+ SdkError | DisabledOperationError | ResourceNotFoundError
1131
+ >;
1132
+
1133
+ /**
1134
+ * @see {@link RemoveTagsCommand}
1135
+ */
1136
+ removeTags(
1137
+ args: RemoveTagsCommandInput,
1138
+ options?: HttpHandlerOptions,
1139
+ ): Effect.Effect<
1140
+ RemoveTagsCommandOutput,
1141
+ SdkError | BaseError | InternalError | ValidationError
1142
+ >;
1143
+
1144
+ /**
1145
+ * @see {@link RevokeVpcEndpointAccessCommand}
1146
+ */
1147
+ revokeVpcEndpointAccess(
1148
+ args: RevokeVpcEndpointAccessCommandInput,
1149
+ options?: HttpHandlerOptions,
1150
+ ): Effect.Effect<
1151
+ RevokeVpcEndpointAccessCommandOutput,
1152
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
1153
+ >;
1154
+
1155
+ /**
1156
+ * @see {@link StartDomainMaintenanceCommand}
1157
+ */
1158
+ startDomainMaintenance(
1159
+ args: StartDomainMaintenanceCommandInput,
1160
+ options?: HttpHandlerOptions,
1161
+ ): Effect.Effect<
1162
+ StartDomainMaintenanceCommandOutput,
1163
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
1164
+ >;
1165
+
1166
+ /**
1167
+ * @see {@link StartServiceSoftwareUpdateCommand}
1168
+ */
1169
+ startServiceSoftwareUpdate(
1170
+ args: StartServiceSoftwareUpdateCommandInput,
1171
+ options?: HttpHandlerOptions,
1172
+ ): Effect.Effect<
1173
+ StartServiceSoftwareUpdateCommandOutput,
1174
+ SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
1175
+ >;
1176
+
1177
+ /**
1178
+ * @see {@link UpdateApplicationCommand}
1179
+ */
1180
+ updateApplication(
1181
+ args: UpdateApplicationCommandInput,
1182
+ options?: HttpHandlerOptions,
1183
+ ): Effect.Effect<
1184
+ UpdateApplicationCommandOutput,
1185
+ | SdkError
1186
+ | AccessDeniedError
1187
+ | BaseError
1188
+ | ConflictError
1189
+ | DisabledOperationError
1190
+ | InternalError
1191
+ | ResourceNotFoundError
1192
+ | ValidationError
1193
+ >;
1194
+
1195
+ /**
1196
+ * @see {@link UpdateDataSourceCommand}
1197
+ */
1198
+ updateDataSource(
1199
+ args: UpdateDataSourceCommandInput,
1200
+ options?: HttpHandlerOptions,
1201
+ ): Effect.Effect<
1202
+ UpdateDataSourceCommandOutput,
1203
+ | SdkError
1204
+ | BaseError
1205
+ | DependencyFailureError
1206
+ | DisabledOperationError
1207
+ | InternalError
1208
+ | ResourceNotFoundError
1209
+ | ValidationError
1210
+ >;
1211
+
1212
+ /**
1213
+ * @see {@link UpdateDirectQueryDataSourceCommand}
1214
+ */
1215
+ updateDirectQueryDataSource(
1216
+ args: UpdateDirectQueryDataSourceCommandInput,
1217
+ options?: HttpHandlerOptions,
1218
+ ): Effect.Effect<
1219
+ UpdateDirectQueryDataSourceCommandOutput,
1220
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
1221
+ >;
1222
+
1223
+ /**
1224
+ * @see {@link UpdateDomainConfigCommand}
1225
+ */
1226
+ updateDomainConfig(
1227
+ args: UpdateDomainConfigCommandInput,
1228
+ options?: HttpHandlerOptions,
1229
+ ): Effect.Effect<
1230
+ UpdateDomainConfigCommandOutput,
1231
+ | SdkError
1232
+ | BaseError
1233
+ | InternalError
1234
+ | InvalidTypeError
1235
+ | LimitExceededError
1236
+ | ResourceNotFoundError
1237
+ | ValidationError
1238
+ >;
1239
+
1240
+ /**
1241
+ * @see {@link UpdatePackageCommand}
1242
+ */
1243
+ updatePackage(
1244
+ args: UpdatePackageCommandInput,
1245
+ options?: HttpHandlerOptions,
1246
+ ): Effect.Effect<
1247
+ UpdatePackageCommandOutput,
1248
+ | SdkError
1249
+ | AccessDeniedError
1250
+ | BaseError
1251
+ | InternalError
1252
+ | LimitExceededError
1253
+ | ResourceNotFoundError
1254
+ | ValidationError
1255
+ >;
1256
+
1257
+ /**
1258
+ * @see {@link UpdatePackageScopeCommand}
1259
+ */
1260
+ updatePackageScope(
1261
+ args: UpdatePackageScopeCommandInput,
1262
+ options?: HttpHandlerOptions,
1263
+ ): Effect.Effect<
1264
+ UpdatePackageScopeCommandOutput,
1265
+ SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
1266
+ >;
1267
+
1268
+ /**
1269
+ * @see {@link UpdateScheduledActionCommand}
1270
+ */
1271
+ updateScheduledAction(
1272
+ args: UpdateScheduledActionCommandInput,
1273
+ options?: HttpHandlerOptions,
1274
+ ): Effect.Effect<
1275
+ UpdateScheduledActionCommandOutput,
1276
+ | SdkError
1277
+ | BaseError
1278
+ | ConflictError
1279
+ | InternalError
1280
+ | LimitExceededError
1281
+ | ResourceNotFoundError
1282
+ | SlotNotAvailableError
1283
+ | ValidationError
1284
+ >;
1285
+
1286
+ /**
1287
+ * @see {@link UpdateVpcEndpointCommand}
1288
+ */
1289
+ updateVpcEndpoint(
1290
+ args: UpdateVpcEndpointCommandInput,
1291
+ options?: HttpHandlerOptions,
1292
+ ): Effect.Effect<
1293
+ UpdateVpcEndpointCommandOutput,
1294
+ | SdkError
1295
+ | BaseError
1296
+ | ConflictError
1297
+ | DisabledOperationError
1298
+ | InternalError
1299
+ | ResourceNotFoundError
1300
+ | ValidationError
1301
+ >;
1302
+
1303
+ /**
1304
+ * @see {@link UpgradeDomainCommand}
1305
+ */
1306
+ upgradeDomain(
1307
+ args: UpgradeDomainCommandInput,
1308
+ options?: HttpHandlerOptions,
1309
+ ): Effect.Effect<
1310
+ UpgradeDomainCommandOutput,
1311
+ | SdkError
1312
+ | BaseError
1313
+ | DisabledOperationError
1314
+ | InternalError
1315
+ | ResourceAlreadyExistsError
1316
+ | ResourceNotFoundError
1317
+ | ValidationError
1318
+ >;
1319
+ }
1320
+
1321
+ /**
1322
+ * @since 1.0.0
1323
+ * @category constructors
1324
+ */
1325
+ export const makeOpenSearchService = Effect.gen(function*() {
1326
+ const client = yield* Instance.OpenSearchClientInstance;
1327
+
1328
+ return Service.fromClientAndCommands<OpenSearchService$>(
1329
+ client,
1330
+ commands,
1331
+ {
1332
+ errorTags: AllServiceErrors,
1333
+ resolveClientConfig: OpenSearchServiceConfig.toOpenSearchClientConfig,
1334
+ },
1335
+ );
1336
+ });
1337
+
1338
+ /**
1339
+ * @since 1.0.0
1340
+ * @category models
1341
+ */
1342
+ export class OpenSearchService extends Effect.Tag("@effect-aws/client-opensearch/OpenSearchService")<
1343
+ OpenSearchService,
1344
+ OpenSearchService$
1345
+ >() {
1346
+ static readonly defaultLayer = Layer.effect(this, makeOpenSearchService).pipe(Layer.provide(Instance.layer));
1347
+ static readonly layer = (config: OpenSearchService.Config) =>
1348
+ Layer.effect(this, makeOpenSearchService).pipe(
1349
+ Layer.provide(Instance.layer),
1350
+ Layer.provide(OpenSearchServiceConfig.setOpenSearchServiceConfig(config)),
1351
+ );
1352
+ static readonly baseLayer = (
1353
+ evaluate: (defaultConfig: OpenSearchClientConfig) => OpenSearchClient,
1354
+ ) =>
1355
+ Layer.effect(this, makeOpenSearchService).pipe(
1356
+ Layer.provide(
1357
+ Layer.effect(
1358
+ Instance.OpenSearchClientInstance,
1359
+ Effect.map(OpenSearchServiceConfig.toOpenSearchClientConfig, evaluate),
1360
+ ),
1361
+ ),
1362
+ );
1363
+ }
1364
+
1365
+ /**
1366
+ * @since 1.0.0
1367
+ */
1368
+ export declare namespace OpenSearchService {
1369
+ /**
1370
+ * @since 1.0.0
1371
+ */
1372
+ export interface Config extends Omit<OpenSearchClientConfig, "logger"> {
1373
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
1374
+ }
1375
+ }