@effect-aws/client-auto-scaling 1.1.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 (68) hide show
  1. package/AutoScalingClientInstance/package.json +6 -0
  2. package/AutoScalingService/package.json +6 -0
  3. package/AutoScalingServiceConfig/package.json +6 -0
  4. package/Errors/package.json +6 -0
  5. package/dist/cjs/AutoScalingClientInstance.d.ts +24 -0
  6. package/dist/cjs/AutoScalingClientInstance.d.ts.map +1 -0
  7. package/dist/cjs/AutoScalingClientInstance.js +50 -0
  8. package/dist/cjs/AutoScalingClientInstance.js.map +1 -0
  9. package/{lib → dist/cjs}/AutoScalingService.d.ts +17 -106
  10. package/dist/cjs/AutoScalingService.d.ts.map +1 -0
  11. package/dist/cjs/AutoScalingService.js +124 -0
  12. package/dist/cjs/AutoScalingService.js.map +1 -0
  13. package/dist/cjs/AutoScalingServiceConfig.d.ts +25 -0
  14. package/dist/cjs/AutoScalingServiceConfig.d.ts.map +1 -0
  15. package/dist/cjs/AutoScalingServiceConfig.js +35 -0
  16. package/dist/cjs/AutoScalingServiceConfig.js.map +1 -0
  17. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  18. package/dist/cjs/Errors.d.ts.map +1 -0
  19. package/dist/cjs/Errors.js +18 -0
  20. package/dist/cjs/Errors.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/AutoScalingClientInstance.d.ts +24 -0
  26. package/dist/dts/AutoScalingClientInstance.d.ts.map +1 -0
  27. package/dist/dts/AutoScalingService.d.ts +301 -0
  28. package/dist/dts/AutoScalingService.d.ts.map +1 -0
  29. package/dist/dts/AutoScalingServiceConfig.d.ts +25 -0
  30. package/dist/dts/AutoScalingServiceConfig.d.ts.map +1 -0
  31. package/dist/dts/Errors.d.ts +17 -0
  32. package/dist/dts/Errors.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/AutoScalingClientInstance.js +23 -0
  36. package/dist/esm/AutoScalingClientInstance.js.map +1 -0
  37. package/dist/esm/AutoScalingService.js +97 -0
  38. package/dist/esm/AutoScalingService.js.map +1 -0
  39. package/dist/esm/AutoScalingServiceConfig.js +31 -0
  40. package/dist/esm/AutoScalingServiceConfig.js.map +1 -0
  41. package/dist/esm/Errors.js +15 -0
  42. package/dist/esm/Errors.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/AutoScalingClientInstance.ts +33 -0
  48. package/src/AutoScalingService.ts +1075 -0
  49. package/src/AutoScalingServiceConfig.ts +52 -0
  50. package/src/Errors.ts +41 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -13
  53. package/docgen.json +0 -8
  54. package/lib/AutoScalingClientInstance.d.ts +0 -31
  55. package/lib/AutoScalingClientInstance.js +0 -57
  56. package/lib/AutoScalingClientInstanceConfig.d.ts +0 -23
  57. package/lib/AutoScalingClientInstanceConfig.js +0 -44
  58. package/lib/AutoScalingService.js +0 -153
  59. package/lib/Errors.js +0 -18
  60. package/lib/esm/AutoScalingClientInstance.js +0 -30
  61. package/lib/esm/AutoScalingClientInstanceConfig.js +0 -40
  62. package/lib/esm/AutoScalingService.js +0 -149
  63. package/lib/esm/Errors.js +0 -15
  64. package/lib/esm/index.js +0 -5
  65. package/lib/index.d.ts +0 -4
  66. package/lib/index.js +0 -21
  67. package/project.json +0 -77
  68. package/vitest.config.ts +0 -3
@@ -0,0 +1,1075 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import {
5
+ AttachInstancesCommand,
6
+ type AttachInstancesCommandInput,
7
+ type AttachInstancesCommandOutput,
8
+ AttachLoadBalancersCommand,
9
+ type AttachLoadBalancersCommandInput,
10
+ type AttachLoadBalancersCommandOutput,
11
+ AttachLoadBalancerTargetGroupsCommand,
12
+ type AttachLoadBalancerTargetGroupsCommandInput,
13
+ type AttachLoadBalancerTargetGroupsCommandOutput,
14
+ AttachTrafficSourcesCommand,
15
+ type AttachTrafficSourcesCommandInput,
16
+ type AttachTrafficSourcesCommandOutput,
17
+ type AutoScalingClient,
18
+ type AutoScalingClientConfig,
19
+ BatchDeleteScheduledActionCommand,
20
+ type BatchDeleteScheduledActionCommandInput,
21
+ type BatchDeleteScheduledActionCommandOutput,
22
+ BatchPutScheduledUpdateGroupActionCommand,
23
+ type BatchPutScheduledUpdateGroupActionCommandInput,
24
+ type BatchPutScheduledUpdateGroupActionCommandOutput,
25
+ CancelInstanceRefreshCommand,
26
+ type CancelInstanceRefreshCommandInput,
27
+ type CancelInstanceRefreshCommandOutput,
28
+ CompleteLifecycleActionCommand,
29
+ type CompleteLifecycleActionCommandInput,
30
+ type CompleteLifecycleActionCommandOutput,
31
+ CreateAutoScalingGroupCommand,
32
+ type CreateAutoScalingGroupCommandInput,
33
+ type CreateAutoScalingGroupCommandOutput,
34
+ CreateLaunchConfigurationCommand,
35
+ type CreateLaunchConfigurationCommandInput,
36
+ type CreateLaunchConfigurationCommandOutput,
37
+ CreateOrUpdateTagsCommand,
38
+ type CreateOrUpdateTagsCommandInput,
39
+ type CreateOrUpdateTagsCommandOutput,
40
+ DeleteAutoScalingGroupCommand,
41
+ type DeleteAutoScalingGroupCommandInput,
42
+ type DeleteAutoScalingGroupCommandOutput,
43
+ DeleteLaunchConfigurationCommand,
44
+ type DeleteLaunchConfigurationCommandInput,
45
+ type DeleteLaunchConfigurationCommandOutput,
46
+ DeleteLifecycleHookCommand,
47
+ type DeleteLifecycleHookCommandInput,
48
+ type DeleteLifecycleHookCommandOutput,
49
+ DeleteNotificationConfigurationCommand,
50
+ type DeleteNotificationConfigurationCommandInput,
51
+ type DeleteNotificationConfigurationCommandOutput,
52
+ DeletePolicyCommand,
53
+ type DeletePolicyCommandInput,
54
+ type DeletePolicyCommandOutput,
55
+ DeleteScheduledActionCommand,
56
+ type DeleteScheduledActionCommandInput,
57
+ type DeleteScheduledActionCommandOutput,
58
+ DeleteTagsCommand,
59
+ type DeleteTagsCommandInput,
60
+ type DeleteTagsCommandOutput,
61
+ DeleteWarmPoolCommand,
62
+ type DeleteWarmPoolCommandInput,
63
+ type DeleteWarmPoolCommandOutput,
64
+ DescribeAccountLimitsCommand,
65
+ type DescribeAccountLimitsCommandInput,
66
+ type DescribeAccountLimitsCommandOutput,
67
+ DescribeAdjustmentTypesCommand,
68
+ type DescribeAdjustmentTypesCommandInput,
69
+ type DescribeAdjustmentTypesCommandOutput,
70
+ DescribeAutoScalingGroupsCommand,
71
+ type DescribeAutoScalingGroupsCommandInput,
72
+ type DescribeAutoScalingGroupsCommandOutput,
73
+ DescribeAutoScalingInstancesCommand,
74
+ type DescribeAutoScalingInstancesCommandInput,
75
+ type DescribeAutoScalingInstancesCommandOutput,
76
+ DescribeAutoScalingNotificationTypesCommand,
77
+ type DescribeAutoScalingNotificationTypesCommandInput,
78
+ type DescribeAutoScalingNotificationTypesCommandOutput,
79
+ DescribeInstanceRefreshesCommand,
80
+ type DescribeInstanceRefreshesCommandInput,
81
+ type DescribeInstanceRefreshesCommandOutput,
82
+ DescribeLaunchConfigurationsCommand,
83
+ type DescribeLaunchConfigurationsCommandInput,
84
+ type DescribeLaunchConfigurationsCommandOutput,
85
+ DescribeLifecycleHooksCommand,
86
+ type DescribeLifecycleHooksCommandInput,
87
+ type DescribeLifecycleHooksCommandOutput,
88
+ DescribeLifecycleHookTypesCommand,
89
+ type DescribeLifecycleHookTypesCommandInput,
90
+ type DescribeLifecycleHookTypesCommandOutput,
91
+ DescribeLoadBalancersCommand,
92
+ type DescribeLoadBalancersCommandInput,
93
+ type DescribeLoadBalancersCommandOutput,
94
+ DescribeLoadBalancerTargetGroupsCommand,
95
+ type DescribeLoadBalancerTargetGroupsCommandInput,
96
+ type DescribeLoadBalancerTargetGroupsCommandOutput,
97
+ DescribeMetricCollectionTypesCommand,
98
+ type DescribeMetricCollectionTypesCommandInput,
99
+ type DescribeMetricCollectionTypesCommandOutput,
100
+ DescribeNotificationConfigurationsCommand,
101
+ type DescribeNotificationConfigurationsCommandInput,
102
+ type DescribeNotificationConfigurationsCommandOutput,
103
+ DescribePoliciesCommand,
104
+ type DescribePoliciesCommandInput,
105
+ type DescribePoliciesCommandOutput,
106
+ DescribeScalingActivitiesCommand,
107
+ type DescribeScalingActivitiesCommandInput,
108
+ type DescribeScalingActivitiesCommandOutput,
109
+ DescribeScalingProcessTypesCommand,
110
+ type DescribeScalingProcessTypesCommandInput,
111
+ type DescribeScalingProcessTypesCommandOutput,
112
+ DescribeScheduledActionsCommand,
113
+ type DescribeScheduledActionsCommandInput,
114
+ type DescribeScheduledActionsCommandOutput,
115
+ DescribeTagsCommand,
116
+ type DescribeTagsCommandInput,
117
+ type DescribeTagsCommandOutput,
118
+ DescribeTerminationPolicyTypesCommand,
119
+ type DescribeTerminationPolicyTypesCommandInput,
120
+ type DescribeTerminationPolicyTypesCommandOutput,
121
+ DescribeTrafficSourcesCommand,
122
+ type DescribeTrafficSourcesCommandInput,
123
+ type DescribeTrafficSourcesCommandOutput,
124
+ DescribeWarmPoolCommand,
125
+ type DescribeWarmPoolCommandInput,
126
+ type DescribeWarmPoolCommandOutput,
127
+ DetachInstancesCommand,
128
+ type DetachInstancesCommandInput,
129
+ type DetachInstancesCommandOutput,
130
+ DetachLoadBalancersCommand,
131
+ type DetachLoadBalancersCommandInput,
132
+ type DetachLoadBalancersCommandOutput,
133
+ DetachLoadBalancerTargetGroupsCommand,
134
+ type DetachLoadBalancerTargetGroupsCommandInput,
135
+ type DetachLoadBalancerTargetGroupsCommandOutput,
136
+ DetachTrafficSourcesCommand,
137
+ type DetachTrafficSourcesCommandInput,
138
+ type DetachTrafficSourcesCommandOutput,
139
+ DisableMetricsCollectionCommand,
140
+ type DisableMetricsCollectionCommandInput,
141
+ type DisableMetricsCollectionCommandOutput,
142
+ EnableMetricsCollectionCommand,
143
+ type EnableMetricsCollectionCommandInput,
144
+ type EnableMetricsCollectionCommandOutput,
145
+ EnterStandbyCommand,
146
+ type EnterStandbyCommandInput,
147
+ type EnterStandbyCommandOutput,
148
+ ExecutePolicyCommand,
149
+ type ExecutePolicyCommandInput,
150
+ type ExecutePolicyCommandOutput,
151
+ ExitStandbyCommand,
152
+ type ExitStandbyCommandInput,
153
+ type ExitStandbyCommandOutput,
154
+ GetPredictiveScalingForecastCommand,
155
+ type GetPredictiveScalingForecastCommandInput,
156
+ type GetPredictiveScalingForecastCommandOutput,
157
+ PutLifecycleHookCommand,
158
+ type PutLifecycleHookCommandInput,
159
+ type PutLifecycleHookCommandOutput,
160
+ PutNotificationConfigurationCommand,
161
+ type PutNotificationConfigurationCommandInput,
162
+ type PutNotificationConfigurationCommandOutput,
163
+ PutScalingPolicyCommand,
164
+ type PutScalingPolicyCommandInput,
165
+ type PutScalingPolicyCommandOutput,
166
+ PutScheduledUpdateGroupActionCommand,
167
+ type PutScheduledUpdateGroupActionCommandInput,
168
+ type PutScheduledUpdateGroupActionCommandOutput,
169
+ PutWarmPoolCommand,
170
+ type PutWarmPoolCommandInput,
171
+ type PutWarmPoolCommandOutput,
172
+ RecordLifecycleActionHeartbeatCommand,
173
+ type RecordLifecycleActionHeartbeatCommandInput,
174
+ type RecordLifecycleActionHeartbeatCommandOutput,
175
+ ResumeProcessesCommand,
176
+ type ResumeProcessesCommandInput,
177
+ type ResumeProcessesCommandOutput,
178
+ RollbackInstanceRefreshCommand,
179
+ type RollbackInstanceRefreshCommandInput,
180
+ type RollbackInstanceRefreshCommandOutput,
181
+ SetDesiredCapacityCommand,
182
+ type SetDesiredCapacityCommandInput,
183
+ type SetDesiredCapacityCommandOutput,
184
+ SetInstanceHealthCommand,
185
+ type SetInstanceHealthCommandInput,
186
+ type SetInstanceHealthCommandOutput,
187
+ SetInstanceProtectionCommand,
188
+ type SetInstanceProtectionCommandInput,
189
+ type SetInstanceProtectionCommandOutput,
190
+ StartInstanceRefreshCommand,
191
+ type StartInstanceRefreshCommandInput,
192
+ type StartInstanceRefreshCommandOutput,
193
+ SuspendProcessesCommand,
194
+ type SuspendProcessesCommandInput,
195
+ type SuspendProcessesCommandOutput,
196
+ TerminateInstanceInAutoScalingGroupCommand,
197
+ type TerminateInstanceInAutoScalingGroupCommandInput,
198
+ type TerminateInstanceInAutoScalingGroupCommandOutput,
199
+ UpdateAutoScalingGroupCommand,
200
+ type UpdateAutoScalingGroupCommandInput,
201
+ type UpdateAutoScalingGroupCommandOutput,
202
+ } from "@aws-sdk/client-auto-scaling";
203
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
204
+ import { Service } from "@effect-aws/commons";
205
+ import { Effect, Layer } from "effect";
206
+ import * as Instance from "./AutoScalingClientInstance.js";
207
+ import * as AutoScalingServiceConfig from "./AutoScalingServiceConfig.js";
208
+ import type {
209
+ ActiveInstanceRefreshNotFoundFaultError,
210
+ AlreadyExistsFaultError,
211
+ InstanceRefreshInProgressFaultError,
212
+ InvalidNextTokenError,
213
+ IrreversibleInstanceRefreshFaultError,
214
+ LimitExceededFaultError,
215
+ ResourceContentionFaultError,
216
+ ResourceInUseFaultError,
217
+ ScalingActivityInProgressFaultError,
218
+ ServiceLinkedRoleError,
219
+ } from "./Errors.js";
220
+ import { AllServiceErrors } from "./Errors.js";
221
+
222
+ const commands = {
223
+ AttachInstancesCommand,
224
+ AttachLoadBalancerTargetGroupsCommand,
225
+ AttachLoadBalancersCommand,
226
+ AttachTrafficSourcesCommand,
227
+ BatchDeleteScheduledActionCommand,
228
+ BatchPutScheduledUpdateGroupActionCommand,
229
+ CancelInstanceRefreshCommand,
230
+ CompleteLifecycleActionCommand,
231
+ CreateAutoScalingGroupCommand,
232
+ CreateLaunchConfigurationCommand,
233
+ CreateOrUpdateTagsCommand,
234
+ DeleteAutoScalingGroupCommand,
235
+ DeleteLaunchConfigurationCommand,
236
+ DeleteLifecycleHookCommand,
237
+ DeleteNotificationConfigurationCommand,
238
+ DeletePolicyCommand,
239
+ DeleteScheduledActionCommand,
240
+ DeleteTagsCommand,
241
+ DeleteWarmPoolCommand,
242
+ DescribeAccountLimitsCommand,
243
+ DescribeAdjustmentTypesCommand,
244
+ DescribeAutoScalingGroupsCommand,
245
+ DescribeAutoScalingInstancesCommand,
246
+ DescribeAutoScalingNotificationTypesCommand,
247
+ DescribeInstanceRefreshesCommand,
248
+ DescribeLaunchConfigurationsCommand,
249
+ DescribeLifecycleHookTypesCommand,
250
+ DescribeLifecycleHooksCommand,
251
+ DescribeLoadBalancerTargetGroupsCommand,
252
+ DescribeLoadBalancersCommand,
253
+ DescribeMetricCollectionTypesCommand,
254
+ DescribeNotificationConfigurationsCommand,
255
+ DescribePoliciesCommand,
256
+ DescribeScalingActivitiesCommand,
257
+ DescribeScalingProcessTypesCommand,
258
+ DescribeScheduledActionsCommand,
259
+ DescribeTagsCommand,
260
+ DescribeTerminationPolicyTypesCommand,
261
+ DescribeTrafficSourcesCommand,
262
+ DescribeWarmPoolCommand,
263
+ DetachInstancesCommand,
264
+ DetachLoadBalancerTargetGroupsCommand,
265
+ DetachLoadBalancersCommand,
266
+ DetachTrafficSourcesCommand,
267
+ DisableMetricsCollectionCommand,
268
+ EnableMetricsCollectionCommand,
269
+ EnterStandbyCommand,
270
+ ExecutePolicyCommand,
271
+ ExitStandbyCommand,
272
+ GetPredictiveScalingForecastCommand,
273
+ PutLifecycleHookCommand,
274
+ PutNotificationConfigurationCommand,
275
+ PutScalingPolicyCommand,
276
+ PutScheduledUpdateGroupActionCommand,
277
+ PutWarmPoolCommand,
278
+ RecordLifecycleActionHeartbeatCommand,
279
+ ResumeProcessesCommand,
280
+ RollbackInstanceRefreshCommand,
281
+ SetDesiredCapacityCommand,
282
+ SetInstanceHealthCommand,
283
+ SetInstanceProtectionCommand,
284
+ StartInstanceRefreshCommand,
285
+ SuspendProcessesCommand,
286
+ TerminateInstanceInAutoScalingGroupCommand,
287
+ UpdateAutoScalingGroupCommand,
288
+ };
289
+
290
+ interface AutoScalingService$ {
291
+ readonly _: unique symbol;
292
+
293
+ /**
294
+ * @see {@link AttachInstancesCommand}
295
+ */
296
+ attachInstances(
297
+ args: AttachInstancesCommandInput,
298
+ options?: HttpHandlerOptions,
299
+ ): Effect.Effect<
300
+ AttachInstancesCommandOutput,
301
+ SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
302
+ >;
303
+
304
+ /**
305
+ * @see {@link AttachLoadBalancerTargetGroupsCommand}
306
+ */
307
+ attachLoadBalancerTargetGroups(
308
+ args: AttachLoadBalancerTargetGroupsCommandInput,
309
+ options?: HttpHandlerOptions,
310
+ ): Effect.Effect<
311
+ AttachLoadBalancerTargetGroupsCommandOutput,
312
+ SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
313
+ >;
314
+
315
+ /**
316
+ * @see {@link AttachLoadBalancersCommand}
317
+ */
318
+ attachLoadBalancers(
319
+ args: AttachLoadBalancersCommandInput,
320
+ options?: HttpHandlerOptions,
321
+ ): Effect.Effect<
322
+ AttachLoadBalancersCommandOutput,
323
+ SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
324
+ >;
325
+
326
+ /**
327
+ * @see {@link AttachTrafficSourcesCommand}
328
+ */
329
+ attachTrafficSources(
330
+ args: AttachTrafficSourcesCommandInput,
331
+ options?: HttpHandlerOptions,
332
+ ): Effect.Effect<
333
+ AttachTrafficSourcesCommandOutput,
334
+ SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
335
+ >;
336
+
337
+ /**
338
+ * @see {@link BatchDeleteScheduledActionCommand}
339
+ */
340
+ batchDeleteScheduledAction(
341
+ args: BatchDeleteScheduledActionCommandInput,
342
+ options?: HttpHandlerOptions,
343
+ ): Effect.Effect<
344
+ BatchDeleteScheduledActionCommandOutput,
345
+ SdkError | ResourceContentionFaultError
346
+ >;
347
+
348
+ /**
349
+ * @see {@link BatchPutScheduledUpdateGroupActionCommand}
350
+ */
351
+ batchPutScheduledUpdateGroupAction(
352
+ args: BatchPutScheduledUpdateGroupActionCommandInput,
353
+ options?: HttpHandlerOptions,
354
+ ): Effect.Effect<
355
+ BatchPutScheduledUpdateGroupActionCommandOutput,
356
+ SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
357
+ >;
358
+
359
+ /**
360
+ * @see {@link CancelInstanceRefreshCommand}
361
+ */
362
+ cancelInstanceRefresh(
363
+ args: CancelInstanceRefreshCommandInput,
364
+ options?: HttpHandlerOptions,
365
+ ): Effect.Effect<
366
+ CancelInstanceRefreshCommandOutput,
367
+ SdkError | ActiveInstanceRefreshNotFoundFaultError | LimitExceededFaultError | ResourceContentionFaultError
368
+ >;
369
+
370
+ /**
371
+ * @see {@link CompleteLifecycleActionCommand}
372
+ */
373
+ completeLifecycleAction(
374
+ args: CompleteLifecycleActionCommandInput,
375
+ options?: HttpHandlerOptions,
376
+ ): Effect.Effect<
377
+ CompleteLifecycleActionCommandOutput,
378
+ SdkError | ResourceContentionFaultError
379
+ >;
380
+
381
+ /**
382
+ * @see {@link CreateAutoScalingGroupCommand}
383
+ */
384
+ createAutoScalingGroup(
385
+ args: CreateAutoScalingGroupCommandInput,
386
+ options?: HttpHandlerOptions,
387
+ ): Effect.Effect<
388
+ CreateAutoScalingGroupCommandOutput,
389
+ SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
390
+ >;
391
+
392
+ /**
393
+ * @see {@link CreateLaunchConfigurationCommand}
394
+ */
395
+ createLaunchConfiguration(
396
+ args: CreateLaunchConfigurationCommandInput,
397
+ options?: HttpHandlerOptions,
398
+ ): Effect.Effect<
399
+ CreateLaunchConfigurationCommandOutput,
400
+ SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
401
+ >;
402
+
403
+ /**
404
+ * @see {@link CreateOrUpdateTagsCommand}
405
+ */
406
+ createOrUpdateTags(
407
+ args: CreateOrUpdateTagsCommandInput,
408
+ options?: HttpHandlerOptions,
409
+ ): Effect.Effect<
410
+ CreateOrUpdateTagsCommandOutput,
411
+ | SdkError
412
+ | AlreadyExistsFaultError
413
+ | LimitExceededFaultError
414
+ | ResourceContentionFaultError
415
+ | ResourceInUseFaultError
416
+ >;
417
+
418
+ /**
419
+ * @see {@link DeleteAutoScalingGroupCommand}
420
+ */
421
+ deleteAutoScalingGroup(
422
+ args: DeleteAutoScalingGroupCommandInput,
423
+ options?: HttpHandlerOptions,
424
+ ): Effect.Effect<
425
+ DeleteAutoScalingGroupCommandOutput,
426
+ SdkError | ResourceContentionFaultError | ResourceInUseFaultError | ScalingActivityInProgressFaultError
427
+ >;
428
+
429
+ /**
430
+ * @see {@link DeleteLaunchConfigurationCommand}
431
+ */
432
+ deleteLaunchConfiguration(
433
+ args: DeleteLaunchConfigurationCommandInput,
434
+ options?: HttpHandlerOptions,
435
+ ): Effect.Effect<
436
+ DeleteLaunchConfigurationCommandOutput,
437
+ SdkError | ResourceContentionFaultError | ResourceInUseFaultError
438
+ >;
439
+
440
+ /**
441
+ * @see {@link DeleteLifecycleHookCommand}
442
+ */
443
+ deleteLifecycleHook(
444
+ args: DeleteLifecycleHookCommandInput,
445
+ options?: HttpHandlerOptions,
446
+ ): Effect.Effect<
447
+ DeleteLifecycleHookCommandOutput,
448
+ SdkError | ResourceContentionFaultError
449
+ >;
450
+
451
+ /**
452
+ * @see {@link DeleteNotificationConfigurationCommand}
453
+ */
454
+ deleteNotificationConfiguration(
455
+ args: DeleteNotificationConfigurationCommandInput,
456
+ options?: HttpHandlerOptions,
457
+ ): Effect.Effect<
458
+ DeleteNotificationConfigurationCommandOutput,
459
+ SdkError | ResourceContentionFaultError
460
+ >;
461
+
462
+ /**
463
+ * @see {@link DeletePolicyCommand}
464
+ */
465
+ deletePolicy(
466
+ args: DeletePolicyCommandInput,
467
+ options?: HttpHandlerOptions,
468
+ ): Effect.Effect<
469
+ DeletePolicyCommandOutput,
470
+ SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
471
+ >;
472
+
473
+ /**
474
+ * @see {@link DeleteScheduledActionCommand}
475
+ */
476
+ deleteScheduledAction(
477
+ args: DeleteScheduledActionCommandInput,
478
+ options?: HttpHandlerOptions,
479
+ ): Effect.Effect<
480
+ DeleteScheduledActionCommandOutput,
481
+ SdkError | ResourceContentionFaultError
482
+ >;
483
+
484
+ /**
485
+ * @see {@link DeleteTagsCommand}
486
+ */
487
+ deleteTags(
488
+ args: DeleteTagsCommandInput,
489
+ options?: HttpHandlerOptions,
490
+ ): Effect.Effect<
491
+ DeleteTagsCommandOutput,
492
+ SdkError | ResourceContentionFaultError | ResourceInUseFaultError
493
+ >;
494
+
495
+ /**
496
+ * @see {@link DeleteWarmPoolCommand}
497
+ */
498
+ deleteWarmPool(
499
+ args: DeleteWarmPoolCommandInput,
500
+ options?: HttpHandlerOptions,
501
+ ): Effect.Effect<
502
+ DeleteWarmPoolCommandOutput,
503
+ | SdkError
504
+ | LimitExceededFaultError
505
+ | ResourceContentionFaultError
506
+ | ResourceInUseFaultError
507
+ | ScalingActivityInProgressFaultError
508
+ >;
509
+
510
+ /**
511
+ * @see {@link DescribeAccountLimitsCommand}
512
+ */
513
+ describeAccountLimits(
514
+ args: DescribeAccountLimitsCommandInput,
515
+ options?: HttpHandlerOptions,
516
+ ): Effect.Effect<
517
+ DescribeAccountLimitsCommandOutput,
518
+ SdkError | ResourceContentionFaultError
519
+ >;
520
+
521
+ /**
522
+ * @see {@link DescribeAdjustmentTypesCommand}
523
+ */
524
+ describeAdjustmentTypes(
525
+ args: DescribeAdjustmentTypesCommandInput,
526
+ options?: HttpHandlerOptions,
527
+ ): Effect.Effect<
528
+ DescribeAdjustmentTypesCommandOutput,
529
+ SdkError | ResourceContentionFaultError
530
+ >;
531
+
532
+ /**
533
+ * @see {@link DescribeAutoScalingGroupsCommand}
534
+ */
535
+ describeAutoScalingGroups(
536
+ args: DescribeAutoScalingGroupsCommandInput,
537
+ options?: HttpHandlerOptions,
538
+ ): Effect.Effect<
539
+ DescribeAutoScalingGroupsCommandOutput,
540
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
541
+ >;
542
+
543
+ /**
544
+ * @see {@link DescribeAutoScalingInstancesCommand}
545
+ */
546
+ describeAutoScalingInstances(
547
+ args: DescribeAutoScalingInstancesCommandInput,
548
+ options?: HttpHandlerOptions,
549
+ ): Effect.Effect<
550
+ DescribeAutoScalingInstancesCommandOutput,
551
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
552
+ >;
553
+
554
+ /**
555
+ * @see {@link DescribeAutoScalingNotificationTypesCommand}
556
+ */
557
+ describeAutoScalingNotificationTypes(
558
+ args: DescribeAutoScalingNotificationTypesCommandInput,
559
+ options?: HttpHandlerOptions,
560
+ ): Effect.Effect<
561
+ DescribeAutoScalingNotificationTypesCommandOutput,
562
+ SdkError | ResourceContentionFaultError
563
+ >;
564
+
565
+ /**
566
+ * @see {@link DescribeInstanceRefreshesCommand}
567
+ */
568
+ describeInstanceRefreshes(
569
+ args: DescribeInstanceRefreshesCommandInput,
570
+ options?: HttpHandlerOptions,
571
+ ): Effect.Effect<
572
+ DescribeInstanceRefreshesCommandOutput,
573
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
574
+ >;
575
+
576
+ /**
577
+ * @see {@link DescribeLaunchConfigurationsCommand}
578
+ */
579
+ describeLaunchConfigurations(
580
+ args: DescribeLaunchConfigurationsCommandInput,
581
+ options?: HttpHandlerOptions,
582
+ ): Effect.Effect<
583
+ DescribeLaunchConfigurationsCommandOutput,
584
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
585
+ >;
586
+
587
+ /**
588
+ * @see {@link DescribeLifecycleHookTypesCommand}
589
+ */
590
+ describeLifecycleHookTypes(
591
+ args: DescribeLifecycleHookTypesCommandInput,
592
+ options?: HttpHandlerOptions,
593
+ ): Effect.Effect<
594
+ DescribeLifecycleHookTypesCommandOutput,
595
+ SdkError | ResourceContentionFaultError
596
+ >;
597
+
598
+ /**
599
+ * @see {@link DescribeLifecycleHooksCommand}
600
+ */
601
+ describeLifecycleHooks(
602
+ args: DescribeLifecycleHooksCommandInput,
603
+ options?: HttpHandlerOptions,
604
+ ): Effect.Effect<
605
+ DescribeLifecycleHooksCommandOutput,
606
+ SdkError | ResourceContentionFaultError
607
+ >;
608
+
609
+ /**
610
+ * @see {@link DescribeLoadBalancerTargetGroupsCommand}
611
+ */
612
+ describeLoadBalancerTargetGroups(
613
+ args: DescribeLoadBalancerTargetGroupsCommandInput,
614
+ options?: HttpHandlerOptions,
615
+ ): Effect.Effect<
616
+ DescribeLoadBalancerTargetGroupsCommandOutput,
617
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
618
+ >;
619
+
620
+ /**
621
+ * @see {@link DescribeLoadBalancersCommand}
622
+ */
623
+ describeLoadBalancers(
624
+ args: DescribeLoadBalancersCommandInput,
625
+ options?: HttpHandlerOptions,
626
+ ): Effect.Effect<
627
+ DescribeLoadBalancersCommandOutput,
628
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
629
+ >;
630
+
631
+ /**
632
+ * @see {@link DescribeMetricCollectionTypesCommand}
633
+ */
634
+ describeMetricCollectionTypes(
635
+ args: DescribeMetricCollectionTypesCommandInput,
636
+ options?: HttpHandlerOptions,
637
+ ): Effect.Effect<
638
+ DescribeMetricCollectionTypesCommandOutput,
639
+ SdkError | ResourceContentionFaultError
640
+ >;
641
+
642
+ /**
643
+ * @see {@link DescribeNotificationConfigurationsCommand}
644
+ */
645
+ describeNotificationConfigurations(
646
+ args: DescribeNotificationConfigurationsCommandInput,
647
+ options?: HttpHandlerOptions,
648
+ ): Effect.Effect<
649
+ DescribeNotificationConfigurationsCommandOutput,
650
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
651
+ >;
652
+
653
+ /**
654
+ * @see {@link DescribePoliciesCommand}
655
+ */
656
+ describePolicies(
657
+ args: DescribePoliciesCommandInput,
658
+ options?: HttpHandlerOptions,
659
+ ): Effect.Effect<
660
+ DescribePoliciesCommandOutput,
661
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError | ServiceLinkedRoleError
662
+ >;
663
+
664
+ /**
665
+ * @see {@link DescribeScalingActivitiesCommand}
666
+ */
667
+ describeScalingActivities(
668
+ args: DescribeScalingActivitiesCommandInput,
669
+ options?: HttpHandlerOptions,
670
+ ): Effect.Effect<
671
+ DescribeScalingActivitiesCommandOutput,
672
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
673
+ >;
674
+
675
+ /**
676
+ * @see {@link DescribeScalingProcessTypesCommand}
677
+ */
678
+ describeScalingProcessTypes(
679
+ args: DescribeScalingProcessTypesCommandInput,
680
+ options?: HttpHandlerOptions,
681
+ ): Effect.Effect<
682
+ DescribeScalingProcessTypesCommandOutput,
683
+ SdkError | ResourceContentionFaultError
684
+ >;
685
+
686
+ /**
687
+ * @see {@link DescribeScheduledActionsCommand}
688
+ */
689
+ describeScheduledActions(
690
+ args: DescribeScheduledActionsCommandInput,
691
+ options?: HttpHandlerOptions,
692
+ ): Effect.Effect<
693
+ DescribeScheduledActionsCommandOutput,
694
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
695
+ >;
696
+
697
+ /**
698
+ * @see {@link DescribeTagsCommand}
699
+ */
700
+ describeTags(
701
+ args: DescribeTagsCommandInput,
702
+ options?: HttpHandlerOptions,
703
+ ): Effect.Effect<
704
+ DescribeTagsCommandOutput,
705
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
706
+ >;
707
+
708
+ /**
709
+ * @see {@link DescribeTerminationPolicyTypesCommand}
710
+ */
711
+ describeTerminationPolicyTypes(
712
+ args: DescribeTerminationPolicyTypesCommandInput,
713
+ options?: HttpHandlerOptions,
714
+ ): Effect.Effect<
715
+ DescribeTerminationPolicyTypesCommandOutput,
716
+ SdkError | ResourceContentionFaultError
717
+ >;
718
+
719
+ /**
720
+ * @see {@link DescribeTrafficSourcesCommand}
721
+ */
722
+ describeTrafficSources(
723
+ args: DescribeTrafficSourcesCommandInput,
724
+ options?: HttpHandlerOptions,
725
+ ): Effect.Effect<
726
+ DescribeTrafficSourcesCommandOutput,
727
+ SdkError | InvalidNextTokenError | ResourceContentionFaultError
728
+ >;
729
+
730
+ /**
731
+ * @see {@link DescribeWarmPoolCommand}
732
+ */
733
+ describeWarmPool(
734
+ args: DescribeWarmPoolCommandInput,
735
+ options?: HttpHandlerOptions,
736
+ ): Effect.Effect<
737
+ DescribeWarmPoolCommandOutput,
738
+ SdkError | InvalidNextTokenError | LimitExceededFaultError | ResourceContentionFaultError
739
+ >;
740
+
741
+ /**
742
+ * @see {@link DetachInstancesCommand}
743
+ */
744
+ detachInstances(
745
+ args: DetachInstancesCommandInput,
746
+ options?: HttpHandlerOptions,
747
+ ): Effect.Effect<
748
+ DetachInstancesCommandOutput,
749
+ SdkError | ResourceContentionFaultError
750
+ >;
751
+
752
+ /**
753
+ * @see {@link DetachLoadBalancerTargetGroupsCommand}
754
+ */
755
+ detachLoadBalancerTargetGroups(
756
+ args: DetachLoadBalancerTargetGroupsCommandInput,
757
+ options?: HttpHandlerOptions,
758
+ ): Effect.Effect<
759
+ DetachLoadBalancerTargetGroupsCommandOutput,
760
+ SdkError | ResourceContentionFaultError
761
+ >;
762
+
763
+ /**
764
+ * @see {@link DetachLoadBalancersCommand}
765
+ */
766
+ detachLoadBalancers(
767
+ args: DetachLoadBalancersCommandInput,
768
+ options?: HttpHandlerOptions,
769
+ ): Effect.Effect<
770
+ DetachLoadBalancersCommandOutput,
771
+ SdkError | ResourceContentionFaultError
772
+ >;
773
+
774
+ /**
775
+ * @see {@link DetachTrafficSourcesCommand}
776
+ */
777
+ detachTrafficSources(
778
+ args: DetachTrafficSourcesCommandInput,
779
+ options?: HttpHandlerOptions,
780
+ ): Effect.Effect<
781
+ DetachTrafficSourcesCommandOutput,
782
+ SdkError | ResourceContentionFaultError
783
+ >;
784
+
785
+ /**
786
+ * @see {@link DisableMetricsCollectionCommand}
787
+ */
788
+ disableMetricsCollection(
789
+ args: DisableMetricsCollectionCommandInput,
790
+ options?: HttpHandlerOptions,
791
+ ): Effect.Effect<
792
+ DisableMetricsCollectionCommandOutput,
793
+ SdkError | ResourceContentionFaultError
794
+ >;
795
+
796
+ /**
797
+ * @see {@link EnableMetricsCollectionCommand}
798
+ */
799
+ enableMetricsCollection(
800
+ args: EnableMetricsCollectionCommandInput,
801
+ options?: HttpHandlerOptions,
802
+ ): Effect.Effect<
803
+ EnableMetricsCollectionCommandOutput,
804
+ SdkError | ResourceContentionFaultError
805
+ >;
806
+
807
+ /**
808
+ * @see {@link EnterStandbyCommand}
809
+ */
810
+ enterStandby(
811
+ args: EnterStandbyCommandInput,
812
+ options?: HttpHandlerOptions,
813
+ ): Effect.Effect<
814
+ EnterStandbyCommandOutput,
815
+ SdkError | ResourceContentionFaultError
816
+ >;
817
+
818
+ /**
819
+ * @see {@link ExecutePolicyCommand}
820
+ */
821
+ executePolicy(
822
+ args: ExecutePolicyCommandInput,
823
+ options?: HttpHandlerOptions,
824
+ ): Effect.Effect<
825
+ ExecutePolicyCommandOutput,
826
+ SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
827
+ >;
828
+
829
+ /**
830
+ * @see {@link ExitStandbyCommand}
831
+ */
832
+ exitStandby(
833
+ args: ExitStandbyCommandInput,
834
+ options?: HttpHandlerOptions,
835
+ ): Effect.Effect<
836
+ ExitStandbyCommandOutput,
837
+ SdkError | ResourceContentionFaultError
838
+ >;
839
+
840
+ /**
841
+ * @see {@link GetPredictiveScalingForecastCommand}
842
+ */
843
+ getPredictiveScalingForecast(
844
+ args: GetPredictiveScalingForecastCommandInput,
845
+ options?: HttpHandlerOptions,
846
+ ): Effect.Effect<
847
+ GetPredictiveScalingForecastCommandOutput,
848
+ SdkError | ResourceContentionFaultError
849
+ >;
850
+
851
+ /**
852
+ * @see {@link PutLifecycleHookCommand}
853
+ */
854
+ putLifecycleHook(
855
+ args: PutLifecycleHookCommandInput,
856
+ options?: HttpHandlerOptions,
857
+ ): Effect.Effect<
858
+ PutLifecycleHookCommandOutput,
859
+ SdkError | LimitExceededFaultError | ResourceContentionFaultError
860
+ >;
861
+
862
+ /**
863
+ * @see {@link PutNotificationConfigurationCommand}
864
+ */
865
+ putNotificationConfiguration(
866
+ args: PutNotificationConfigurationCommandInput,
867
+ options?: HttpHandlerOptions,
868
+ ): Effect.Effect<
869
+ PutNotificationConfigurationCommandOutput,
870
+ SdkError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
871
+ >;
872
+
873
+ /**
874
+ * @see {@link PutScalingPolicyCommand}
875
+ */
876
+ putScalingPolicy(
877
+ args: PutScalingPolicyCommandInput,
878
+ options?: HttpHandlerOptions,
879
+ ): Effect.Effect<
880
+ PutScalingPolicyCommandOutput,
881
+ SdkError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
882
+ >;
883
+
884
+ /**
885
+ * @see {@link PutScheduledUpdateGroupActionCommand}
886
+ */
887
+ putScheduledUpdateGroupAction(
888
+ args: PutScheduledUpdateGroupActionCommandInput,
889
+ options?: HttpHandlerOptions,
890
+ ): Effect.Effect<
891
+ PutScheduledUpdateGroupActionCommandOutput,
892
+ SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
893
+ >;
894
+
895
+ /**
896
+ * @see {@link PutWarmPoolCommand}
897
+ */
898
+ putWarmPool(
899
+ args: PutWarmPoolCommandInput,
900
+ options?: HttpHandlerOptions,
901
+ ): Effect.Effect<
902
+ PutWarmPoolCommandOutput,
903
+ SdkError | LimitExceededFaultError | ResourceContentionFaultError
904
+ >;
905
+
906
+ /**
907
+ * @see {@link RecordLifecycleActionHeartbeatCommand}
908
+ */
909
+ recordLifecycleActionHeartbeat(
910
+ args: RecordLifecycleActionHeartbeatCommandInput,
911
+ options?: HttpHandlerOptions,
912
+ ): Effect.Effect<
913
+ RecordLifecycleActionHeartbeatCommandOutput,
914
+ SdkError | ResourceContentionFaultError
915
+ >;
916
+
917
+ /**
918
+ * @see {@link ResumeProcessesCommand}
919
+ */
920
+ resumeProcesses(
921
+ args: ResumeProcessesCommandInput,
922
+ options?: HttpHandlerOptions,
923
+ ): Effect.Effect<
924
+ ResumeProcessesCommandOutput,
925
+ SdkError | ResourceContentionFaultError | ResourceInUseFaultError
926
+ >;
927
+
928
+ /**
929
+ * @see {@link RollbackInstanceRefreshCommand}
930
+ */
931
+ rollbackInstanceRefresh(
932
+ args: RollbackInstanceRefreshCommandInput,
933
+ options?: HttpHandlerOptions,
934
+ ): Effect.Effect<
935
+ RollbackInstanceRefreshCommandOutput,
936
+ | SdkError
937
+ | ActiveInstanceRefreshNotFoundFaultError
938
+ | IrreversibleInstanceRefreshFaultError
939
+ | LimitExceededFaultError
940
+ | ResourceContentionFaultError
941
+ >;
942
+
943
+ /**
944
+ * @see {@link SetDesiredCapacityCommand}
945
+ */
946
+ setDesiredCapacity(
947
+ args: SetDesiredCapacityCommandInput,
948
+ options?: HttpHandlerOptions,
949
+ ): Effect.Effect<
950
+ SetDesiredCapacityCommandOutput,
951
+ SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
952
+ >;
953
+
954
+ /**
955
+ * @see {@link SetInstanceHealthCommand}
956
+ */
957
+ setInstanceHealth(
958
+ args: SetInstanceHealthCommandInput,
959
+ options?: HttpHandlerOptions,
960
+ ): Effect.Effect<
961
+ SetInstanceHealthCommandOutput,
962
+ SdkError | ResourceContentionFaultError
963
+ >;
964
+
965
+ /**
966
+ * @see {@link SetInstanceProtectionCommand}
967
+ */
968
+ setInstanceProtection(
969
+ args: SetInstanceProtectionCommandInput,
970
+ options?: HttpHandlerOptions,
971
+ ): Effect.Effect<
972
+ SetInstanceProtectionCommandOutput,
973
+ SdkError | LimitExceededFaultError | ResourceContentionFaultError
974
+ >;
975
+
976
+ /**
977
+ * @see {@link StartInstanceRefreshCommand}
978
+ */
979
+ startInstanceRefresh(
980
+ args: StartInstanceRefreshCommandInput,
981
+ options?: HttpHandlerOptions,
982
+ ): Effect.Effect<
983
+ StartInstanceRefreshCommandOutput,
984
+ SdkError | InstanceRefreshInProgressFaultError | LimitExceededFaultError | ResourceContentionFaultError
985
+ >;
986
+
987
+ /**
988
+ * @see {@link SuspendProcessesCommand}
989
+ */
990
+ suspendProcesses(
991
+ args: SuspendProcessesCommandInput,
992
+ options?: HttpHandlerOptions,
993
+ ): Effect.Effect<
994
+ SuspendProcessesCommandOutput,
995
+ SdkError | ResourceContentionFaultError | ResourceInUseFaultError
996
+ >;
997
+
998
+ /**
999
+ * @see {@link TerminateInstanceInAutoScalingGroupCommand}
1000
+ */
1001
+ terminateInstanceInAutoScalingGroup(
1002
+ args: TerminateInstanceInAutoScalingGroupCommandInput,
1003
+ options?: HttpHandlerOptions,
1004
+ ): Effect.Effect<
1005
+ TerminateInstanceInAutoScalingGroupCommandOutput,
1006
+ SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
1007
+ >;
1008
+
1009
+ /**
1010
+ * @see {@link UpdateAutoScalingGroupCommand}
1011
+ */
1012
+ updateAutoScalingGroup(
1013
+ args: UpdateAutoScalingGroupCommandInput,
1014
+ options?: HttpHandlerOptions,
1015
+ ): Effect.Effect<
1016
+ UpdateAutoScalingGroupCommandOutput,
1017
+ SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError | ServiceLinkedRoleError
1018
+ >;
1019
+ }
1020
+
1021
+ /**
1022
+ * @since 1.0.0
1023
+ * @category constructors
1024
+ */
1025
+ export const makeAutoScalingService = Effect.gen(function*() {
1026
+ const client = yield* Instance.AutoScalingClientInstance;
1027
+
1028
+ return Service.fromClientAndCommands<AutoScalingService$>(
1029
+ client,
1030
+ commands,
1031
+ {
1032
+ errorTags: AllServiceErrors,
1033
+ resolveClientConfig: AutoScalingServiceConfig.toAutoScalingClientConfig,
1034
+ },
1035
+ );
1036
+ });
1037
+
1038
+ /**
1039
+ * @since 1.0.0
1040
+ * @category models
1041
+ */
1042
+ export class AutoScalingService extends Effect.Tag("@effect-aws/client-auto-scaling/AutoScalingService")<
1043
+ AutoScalingService,
1044
+ AutoScalingService$
1045
+ >() {
1046
+ static readonly defaultLayer = Layer.effect(this, makeAutoScalingService).pipe(Layer.provide(Instance.layer));
1047
+ static readonly layer = (config: AutoScalingService.Config) =>
1048
+ Layer.effect(this, makeAutoScalingService).pipe(
1049
+ Layer.provide(Instance.layer),
1050
+ Layer.provide(AutoScalingServiceConfig.setAutoScalingServiceConfig(config)),
1051
+ );
1052
+ static readonly baseLayer = (
1053
+ evaluate: (defaultConfig: AutoScalingClientConfig) => AutoScalingClient,
1054
+ ) =>
1055
+ Layer.effect(this, makeAutoScalingService).pipe(
1056
+ Layer.provide(
1057
+ Layer.effect(
1058
+ Instance.AutoScalingClientInstance,
1059
+ Effect.map(AutoScalingServiceConfig.toAutoScalingClientConfig, evaluate),
1060
+ ),
1061
+ ),
1062
+ );
1063
+ }
1064
+
1065
+ /**
1066
+ * @since 1.0.0
1067
+ */
1068
+ export declare namespace AutoScalingService {
1069
+ /**
1070
+ * @since 1.0.0
1071
+ */
1072
+ export interface Config extends Omit<AutoScalingClientConfig, "logger"> {
1073
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
1074
+ }
1075
+ }