@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.
- package/AutoScalingClientInstance/package.json +6 -0
- package/AutoScalingService/package.json +6 -0
- package/AutoScalingServiceConfig/package.json +6 -0
- package/Errors/package.json +6 -0
- package/dist/cjs/AutoScalingClientInstance.d.ts +24 -0
- package/dist/cjs/AutoScalingClientInstance.d.ts.map +1 -0
- package/dist/cjs/AutoScalingClientInstance.js +50 -0
- package/dist/cjs/AutoScalingClientInstance.js.map +1 -0
- package/{lib → dist/cjs}/AutoScalingService.d.ts +17 -106
- package/dist/cjs/AutoScalingService.d.ts.map +1 -0
- package/dist/cjs/AutoScalingService.js +124 -0
- package/dist/cjs/AutoScalingService.js.map +1 -0
- package/dist/cjs/AutoScalingServiceConfig.d.ts +25 -0
- package/dist/cjs/AutoScalingServiceConfig.d.ts.map +1 -0
- package/dist/cjs/AutoScalingServiceConfig.js +35 -0
- package/dist/cjs/AutoScalingServiceConfig.js.map +1 -0
- package/{lib → dist/cjs}/Errors.d.ts +6 -11
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +18 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/index.d.ts +39 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/AutoScalingClientInstance.d.ts +24 -0
- package/dist/dts/AutoScalingClientInstance.d.ts.map +1 -0
- package/dist/dts/AutoScalingService.d.ts +301 -0
- package/dist/dts/AutoScalingService.d.ts.map +1 -0
- package/dist/dts/AutoScalingServiceConfig.d.ts +25 -0
- package/dist/dts/AutoScalingServiceConfig.d.ts.map +1 -0
- package/dist/dts/Errors.d.ts +17 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/index.d.ts +39 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/AutoScalingClientInstance.js +23 -0
- package/dist/esm/AutoScalingClientInstance.js.map +1 -0
- package/dist/esm/AutoScalingService.js +97 -0
- package/dist/esm/AutoScalingService.js.map +1 -0
- package/dist/esm/AutoScalingServiceConfig.js +31 -0
- package/dist/esm/AutoScalingServiceConfig.js.map +1 -0
- package/dist/esm/Errors.js +15 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +60 -43
- package/src/AutoScalingClientInstance.ts +33 -0
- package/src/AutoScalingService.ts +1075 -0
- package/src/AutoScalingServiceConfig.ts +52 -0
- package/src/Errors.ts +41 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -13
- package/docgen.json +0 -8
- package/lib/AutoScalingClientInstance.d.ts +0 -31
- package/lib/AutoScalingClientInstance.js +0 -57
- package/lib/AutoScalingClientInstanceConfig.d.ts +0 -23
- package/lib/AutoScalingClientInstanceConfig.js +0 -44
- package/lib/AutoScalingService.js +0 -153
- package/lib/Errors.js +0 -18
- package/lib/esm/AutoScalingClientInstance.js +0 -30
- package/lib/esm/AutoScalingClientInstanceConfig.js +0 -40
- package/lib/esm/AutoScalingService.js +0 -149
- package/lib/esm/Errors.js +0 -15
- package/lib/esm/index.js +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -21
- package/project.json +0 -77
- package/vitest.config.ts +0 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { AutoScalingClient } from "@aws-sdk/client-auto-scaling";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
6
|
+
declare const AutoScalingClientInstance_base: Context.TagClass<AutoScalingClientInstance, "@effect-aws/client-auto-scaling/AutoScalingClientInstance", AutoScalingClient>;
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category tags
|
|
10
|
+
*/
|
|
11
|
+
export declare class AutoScalingClientInstance extends AutoScalingClientInstance_base {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category constructors
|
|
16
|
+
*/
|
|
17
|
+
export declare const make: Effect.Effect<AutoScalingClient, never, import("effect/Scope").Scope>;
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category layers
|
|
21
|
+
*/
|
|
22
|
+
export declare const layer: Layer.Layer<AutoScalingClientInstance, never, never>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=AutoScalingClientInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoScalingClientInstance.d.ts","sourceRoot":"","sources":["../../src/AutoScalingClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,8BAEE;CAAG;AAEpD;;;GAGG;AACH,eAAO,MAAM,IAAI,uEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,sDAAgD,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.layer = exports.make = exports.AutoScalingClientInstance = void 0;
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
const client_auto_scaling_1 = require("@aws-sdk/client-auto-scaling");
|
|
31
|
+
const effect_1 = require("effect");
|
|
32
|
+
const AutoScalingServiceConfig = __importStar(require("./AutoScalingServiceConfig.js"));
|
|
33
|
+
/**
|
|
34
|
+
* @since 1.0.0
|
|
35
|
+
* @category tags
|
|
36
|
+
*/
|
|
37
|
+
class AutoScalingClientInstance extends effect_1.Context.Tag("@effect-aws/client-auto-scaling/AutoScalingClientInstance")() {
|
|
38
|
+
}
|
|
39
|
+
exports.AutoScalingClientInstance = AutoScalingClientInstance;
|
|
40
|
+
/**
|
|
41
|
+
* @since 1.0.0
|
|
42
|
+
* @category constructors
|
|
43
|
+
*/
|
|
44
|
+
exports.make = effect_1.Effect.flatMap(AutoScalingServiceConfig.toAutoScalingClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_auto_scaling_1.AutoScalingClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
|
|
45
|
+
/**
|
|
46
|
+
* @since 1.0.0
|
|
47
|
+
* @category layers
|
|
48
|
+
*/
|
|
49
|
+
exports.layer = effect_1.Layer.scoped(AutoScalingClientInstance, exports.make);
|
|
50
|
+
//# sourceMappingURL=AutoScalingClientInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoScalingClientInstance.js","sourceRoot":"","sources":["../../src/AutoScalingClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,sEAAiE;AACjE,mCAAgD;AAChD,wFAA0E;AAE1E;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,gBAAO,CAAC,GAAG,CACxD,2DAA2D,CAC5D,EAAgD;CAAG;AAFpD,8DAEoD;AAEpD;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,wBAAwB,CAAC,yBAAyB,EAClD,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,uCAAiB,CAAC,MAAM,CAAC,CAAC,EAChD,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,yBAAyB,EAAE,YAAI,CAAC,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type
|
|
4
|
+
import { type AttachInstancesCommandInput, type AttachInstancesCommandOutput, type AttachLoadBalancersCommandInput, type AttachLoadBalancersCommandOutput, type AttachLoadBalancerTargetGroupsCommandInput, type AttachLoadBalancerTargetGroupsCommandOutput, type AttachTrafficSourcesCommandInput, type AttachTrafficSourcesCommandOutput, type AutoScalingClient, type AutoScalingClientConfig, type BatchDeleteScheduledActionCommandInput, type BatchDeleteScheduledActionCommandOutput, type BatchPutScheduledUpdateGroupActionCommandInput, type BatchPutScheduledUpdateGroupActionCommandOutput, type CancelInstanceRefreshCommandInput, type CancelInstanceRefreshCommandOutput, type CompleteLifecycleActionCommandInput, type CompleteLifecycleActionCommandOutput, type CreateAutoScalingGroupCommandInput, type CreateAutoScalingGroupCommandOutput, type CreateLaunchConfigurationCommandInput, type CreateLaunchConfigurationCommandOutput, type CreateOrUpdateTagsCommandInput, type CreateOrUpdateTagsCommandOutput, type DeleteAutoScalingGroupCommandInput, type DeleteAutoScalingGroupCommandOutput, type DeleteLaunchConfigurationCommandInput, type DeleteLaunchConfigurationCommandOutput, type DeleteLifecycleHookCommandInput, type DeleteLifecycleHookCommandOutput, type DeleteNotificationConfigurationCommandInput, type DeleteNotificationConfigurationCommandOutput, type DeletePolicyCommandInput, type DeletePolicyCommandOutput, type DeleteScheduledActionCommandInput, type DeleteScheduledActionCommandOutput, type DeleteTagsCommandInput, type DeleteTagsCommandOutput, type DeleteWarmPoolCommandInput, type DeleteWarmPoolCommandOutput, type DescribeAccountLimitsCommandInput, type DescribeAccountLimitsCommandOutput, type DescribeAdjustmentTypesCommandInput, type DescribeAdjustmentTypesCommandOutput, type DescribeAutoScalingGroupsCommandInput, type DescribeAutoScalingGroupsCommandOutput, type DescribeAutoScalingInstancesCommandInput, type DescribeAutoScalingInstancesCommandOutput, type DescribeAutoScalingNotificationTypesCommandInput, type DescribeAutoScalingNotificationTypesCommandOutput, type DescribeInstanceRefreshesCommandInput, type DescribeInstanceRefreshesCommandOutput, type DescribeLaunchConfigurationsCommandInput, type DescribeLaunchConfigurationsCommandOutput, type DescribeLifecycleHooksCommandInput, type DescribeLifecycleHooksCommandOutput, type DescribeLifecycleHookTypesCommandInput, type DescribeLifecycleHookTypesCommandOutput, type DescribeLoadBalancersCommandInput, type DescribeLoadBalancersCommandOutput, type DescribeLoadBalancerTargetGroupsCommandInput, type DescribeLoadBalancerTargetGroupsCommandOutput, type DescribeMetricCollectionTypesCommandInput, type DescribeMetricCollectionTypesCommandOutput, type DescribeNotificationConfigurationsCommandInput, type DescribeNotificationConfigurationsCommandOutput, type DescribePoliciesCommandInput, type DescribePoliciesCommandOutput, type DescribeScalingActivitiesCommandInput, type DescribeScalingActivitiesCommandOutput, type DescribeScalingProcessTypesCommandInput, type DescribeScalingProcessTypesCommandOutput, type DescribeScheduledActionsCommandInput, type DescribeScheduledActionsCommandOutput, type DescribeTagsCommandInput, type DescribeTagsCommandOutput, type DescribeTerminationPolicyTypesCommandInput, type DescribeTerminationPolicyTypesCommandOutput, type DescribeTrafficSourcesCommandInput, type DescribeTrafficSourcesCommandOutput, type DescribeWarmPoolCommandInput, type DescribeWarmPoolCommandOutput, type DetachInstancesCommandInput, type DetachInstancesCommandOutput, type DetachLoadBalancersCommandInput, type DetachLoadBalancersCommandOutput, type DetachLoadBalancerTargetGroupsCommandInput, type DetachLoadBalancerTargetGroupsCommandOutput, type DetachTrafficSourcesCommandInput, type DetachTrafficSourcesCommandOutput, type DisableMetricsCollectionCommandInput, type DisableMetricsCollectionCommandOutput, type EnableMetricsCollectionCommandInput, type EnableMetricsCollectionCommandOutput, type EnterStandbyCommandInput, type EnterStandbyCommandOutput, type ExecutePolicyCommandInput, type ExecutePolicyCommandOutput, type ExitStandbyCommandInput, type ExitStandbyCommandOutput, type GetPredictiveScalingForecastCommandInput, type GetPredictiveScalingForecastCommandOutput, type PutLifecycleHookCommandInput, type PutLifecycleHookCommandOutput, type PutNotificationConfigurationCommandInput, type PutNotificationConfigurationCommandOutput, type PutScalingPolicyCommandInput, type PutScalingPolicyCommandOutput, type PutScheduledUpdateGroupActionCommandInput, type PutScheduledUpdateGroupActionCommandOutput, type PutWarmPoolCommandInput, type PutWarmPoolCommandOutput, type RecordLifecycleActionHeartbeatCommandInput, type RecordLifecycleActionHeartbeatCommandOutput, type ResumeProcessesCommandInput, type ResumeProcessesCommandOutput, type RollbackInstanceRefreshCommandInput, type RollbackInstanceRefreshCommandOutput, type SetDesiredCapacityCommandInput, type SetDesiredCapacityCommandOutput, type SetInstanceHealthCommandInput, type SetInstanceHealthCommandOutput, type SetInstanceProtectionCommandInput, type SetInstanceProtectionCommandOutput, type StartInstanceRefreshCommandInput, type StartInstanceRefreshCommandOutput, type SuspendProcessesCommandInput, type SuspendProcessesCommandOutput, type TerminateInstanceInAutoScalingGroupCommandInput, type TerminateInstanceInAutoScalingGroupCommandOutput, type UpdateAutoScalingGroupCommandInput, type UpdateAutoScalingGroupCommandOutput } from "@aws-sdk/client-auto-scaling";
|
|
5
|
+
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
5
6
|
import { Effect, Layer } from "effect";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import { ActiveInstanceRefreshNotFoundFaultError, AlreadyExistsFaultError, InstanceRefreshInProgressFaultError, InvalidNextTokenError, IrreversibleInstanceRefreshFaultError, LimitExceededFaultError, ResourceContentionFaultError, ResourceInUseFaultError, ScalingActivityInProgressFaultError, ServiceLinkedRoleError, SdkError } from "./Errors";
|
|
9
|
-
/**
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
export interface HttpHandlerOptions {
|
|
13
|
-
/**
|
|
14
|
-
* The maximum time in milliseconds that the connection phase of a request
|
|
15
|
-
* may take before the connection attempt is abandoned.
|
|
16
|
-
*/
|
|
17
|
-
requestTimeout?: number;
|
|
18
|
-
}
|
|
7
|
+
import * as Instance from "./AutoScalingClientInstance.js";
|
|
8
|
+
import type { ActiveInstanceRefreshNotFoundFaultError, AlreadyExistsFaultError, InstanceRefreshInProgressFaultError, InvalidNextTokenError, IrreversibleInstanceRefreshFaultError, LimitExceededFaultError, ResourceContentionFaultError, ResourceInUseFaultError, ScalingActivityInProgressFaultError, ServiceLinkedRoleError } from "./Errors.js";
|
|
19
9
|
interface AutoScalingService$ {
|
|
20
10
|
readonly _: unique symbol;
|
|
21
11
|
/**
|
|
@@ -283,76 +273,9 @@ interface AutoScalingService$ {
|
|
|
283
273
|
* @since 1.0.0
|
|
284
274
|
* @category constructors
|
|
285
275
|
*/
|
|
286
|
-
export declare const makeAutoScalingService: Effect.Effect<AutoScalingService$, never, AutoScalingClientInstance>;
|
|
287
|
-
declare const AutoScalingService_base: import("effect/Context").TagClass<AutoScalingService, "@effect-aws/client-auto-scaling/AutoScalingService", AutoScalingService$> & {
|
|
288
|
-
|
|
289
|
-
attachInstances: (args: AttachInstancesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AttachInstancesCommandOutput, ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
290
|
-
attachLoadBalancerTargetGroups: (args: AttachLoadBalancerTargetGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AttachLoadBalancerTargetGroupsCommandOutput, ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
291
|
-
attachLoadBalancers: (args: AttachLoadBalancersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AttachLoadBalancersCommandOutput, ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
292
|
-
attachTrafficSources: (args: AttachTrafficSourcesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AttachTrafficSourcesCommandOutput, ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
293
|
-
batchDeleteScheduledAction: (args: BatchDeleteScheduledActionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<BatchDeleteScheduledActionCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
294
|
-
batchPutScheduledUpdateGroupAction: (args: BatchPutScheduledUpdateGroupActionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<BatchPutScheduledUpdateGroupActionCommandOutput, AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
295
|
-
cancelInstanceRefresh: (args: CancelInstanceRefreshCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CancelInstanceRefreshCommandOutput, ActiveInstanceRefreshNotFoundFaultError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
296
|
-
completeLifecycleAction: (args: CompleteLifecycleActionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CompleteLifecycleActionCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
297
|
-
createAutoScalingGroup: (args: CreateAutoScalingGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateAutoScalingGroupCommandOutput, AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
298
|
-
createLaunchConfiguration: (args: CreateLaunchConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateLaunchConfigurationCommandOutput, AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
299
|
-
createOrUpdateTags: (args: CreateOrUpdateTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateOrUpdateTagsCommandOutput, AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError | ResourceInUseFaultError | SdkError, AutoScalingService>;
|
|
300
|
-
deleteAutoScalingGroup: (args: DeleteAutoScalingGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteAutoScalingGroupCommandOutput, ResourceContentionFaultError | ResourceInUseFaultError | ScalingActivityInProgressFaultError | SdkError, AutoScalingService>;
|
|
301
|
-
deleteLaunchConfiguration: (args: DeleteLaunchConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLaunchConfigurationCommandOutput, ResourceContentionFaultError | ResourceInUseFaultError | SdkError, AutoScalingService>;
|
|
302
|
-
deleteLifecycleHook: (args: DeleteLifecycleHookCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLifecycleHookCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
303
|
-
deleteNotificationConfiguration: (args: DeleteNotificationConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteNotificationConfigurationCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
304
|
-
deletePolicy: (args: DeletePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeletePolicyCommandOutput, ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
305
|
-
deleteScheduledAction: (args: DeleteScheduledActionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteScheduledActionCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
306
|
-
deleteTags: (args: DeleteTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteTagsCommandOutput, ResourceContentionFaultError | ResourceInUseFaultError | SdkError, AutoScalingService>;
|
|
307
|
-
deleteWarmPool: (args: DeleteWarmPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteWarmPoolCommandOutput, LimitExceededFaultError | ResourceContentionFaultError | ResourceInUseFaultError | ScalingActivityInProgressFaultError | SdkError, AutoScalingService>;
|
|
308
|
-
describeAccountLimits: (args: DescribeAccountLimitsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAccountLimitsCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
309
|
-
describeAdjustmentTypes: (args: DescribeAdjustmentTypesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAdjustmentTypesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
310
|
-
describeAutoScalingGroups: (args: DescribeAutoScalingGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAutoScalingGroupsCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
311
|
-
describeAutoScalingInstances: (args: DescribeAutoScalingInstancesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAutoScalingInstancesCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
312
|
-
describeAutoScalingNotificationTypes: (args: DescribeAutoScalingNotificationTypesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeAutoScalingNotificationTypesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
313
|
-
describeInstanceRefreshes: (args: DescribeInstanceRefreshesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeInstanceRefreshesCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
314
|
-
describeLaunchConfigurations: (args: DescribeLaunchConfigurationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLaunchConfigurationsCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
315
|
-
describeLifecycleHookTypes: (args: DescribeLifecycleHookTypesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLifecycleHookTypesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
316
|
-
describeLifecycleHooks: (args: DescribeLifecycleHooksCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLifecycleHooksCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
317
|
-
describeLoadBalancerTargetGroups: (args: DescribeLoadBalancerTargetGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLoadBalancerTargetGroupsCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
318
|
-
describeLoadBalancers: (args: DescribeLoadBalancersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeLoadBalancersCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
319
|
-
describeMetricCollectionTypes: (args: DescribeMetricCollectionTypesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeMetricCollectionTypesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
320
|
-
describeNotificationConfigurations: (args: DescribeNotificationConfigurationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeNotificationConfigurationsCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
321
|
-
describePolicies: (args: DescribePoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribePoliciesCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
322
|
-
describeScalingActivities: (args: DescribeScalingActivitiesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeScalingActivitiesCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
323
|
-
describeScalingProcessTypes: (args: DescribeScalingProcessTypesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeScalingProcessTypesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
324
|
-
describeScheduledActions: (args: DescribeScheduledActionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeScheduledActionsCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
325
|
-
describeTags: (args: DescribeTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeTagsCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
326
|
-
describeTerminationPolicyTypes: (args: DescribeTerminationPolicyTypesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeTerminationPolicyTypesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
327
|
-
describeTrafficSources: (args: DescribeTrafficSourcesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeTrafficSourcesCommandOutput, InvalidNextTokenError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
328
|
-
describeWarmPool: (args: DescribeWarmPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeWarmPoolCommandOutput, InvalidNextTokenError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
329
|
-
detachInstances: (args: DetachInstancesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachInstancesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
330
|
-
detachLoadBalancerTargetGroups: (args: DetachLoadBalancerTargetGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachLoadBalancerTargetGroupsCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
331
|
-
detachLoadBalancers: (args: DetachLoadBalancersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachLoadBalancersCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
332
|
-
detachTrafficSources: (args: DetachTrafficSourcesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachTrafficSourcesCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
333
|
-
disableMetricsCollection: (args: DisableMetricsCollectionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisableMetricsCollectionCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
334
|
-
enableMetricsCollection: (args: EnableMetricsCollectionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableMetricsCollectionCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
335
|
-
enterStandby: (args: EnterStandbyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnterStandbyCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
336
|
-
executePolicy: (args: ExecutePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ExecutePolicyCommandOutput, ResourceContentionFaultError | ScalingActivityInProgressFaultError | SdkError, AutoScalingService>;
|
|
337
|
-
exitStandby: (args: ExitStandbyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ExitStandbyCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
338
|
-
getPredictiveScalingForecast: (args: GetPredictiveScalingForecastCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetPredictiveScalingForecastCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
339
|
-
putLifecycleHook: (args: PutLifecycleHookCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutLifecycleHookCommandOutput, LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
340
|
-
putNotificationConfiguration: (args: PutNotificationConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutNotificationConfigurationCommandOutput, LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
341
|
-
putScalingPolicy: (args: PutScalingPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutScalingPolicyCommandOutput, LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
342
|
-
putScheduledUpdateGroupAction: (args: PutScheduledUpdateGroupActionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutScheduledUpdateGroupActionCommandOutput, AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
343
|
-
putWarmPool: (args: PutWarmPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutWarmPoolCommandOutput, LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
344
|
-
recordLifecycleActionHeartbeat: (args: RecordLifecycleActionHeartbeatCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RecordLifecycleActionHeartbeatCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
345
|
-
resumeProcesses: (args: ResumeProcessesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ResumeProcessesCommandOutput, ResourceContentionFaultError | ResourceInUseFaultError | SdkError, AutoScalingService>;
|
|
346
|
-
rollbackInstanceRefresh: (args: RollbackInstanceRefreshCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RollbackInstanceRefreshCommandOutput, ActiveInstanceRefreshNotFoundFaultError | IrreversibleInstanceRefreshFaultError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
347
|
-
setDesiredCapacity: (args: SetDesiredCapacityCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetDesiredCapacityCommandOutput, ResourceContentionFaultError | ScalingActivityInProgressFaultError | SdkError, AutoScalingService>;
|
|
348
|
-
setInstanceHealth: (args: SetInstanceHealthCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetInstanceHealthCommandOutput, ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
349
|
-
setInstanceProtection: (args: SetInstanceProtectionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetInstanceProtectionCommandOutput, LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
350
|
-
startInstanceRefresh: (args: StartInstanceRefreshCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartInstanceRefreshCommandOutput, InstanceRefreshInProgressFaultError | LimitExceededFaultError | ResourceContentionFaultError | SdkError, AutoScalingService>;
|
|
351
|
-
suspendProcesses: (args: SuspendProcessesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SuspendProcessesCommandOutput, ResourceContentionFaultError | ResourceInUseFaultError | SdkError, AutoScalingService>;
|
|
352
|
-
terminateInstanceInAutoScalingGroup: (args: TerminateInstanceInAutoScalingGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TerminateInstanceInAutoScalingGroupCommandOutput, ResourceContentionFaultError | ScalingActivityInProgressFaultError | SdkError, AutoScalingService>;
|
|
353
|
-
updateAutoScalingGroup: (args: UpdateAutoScalingGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateAutoScalingGroupCommandOutput, ResourceContentionFaultError | ScalingActivityInProgressFaultError | ServiceLinkedRoleError | SdkError, AutoScalingService>;
|
|
354
|
-
} & {
|
|
355
|
-
use: <X>(body: (_: AutoScalingService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | AutoScalingService> : Effect.Effect<X, never, AutoScalingService>;
|
|
276
|
+
export declare const makeAutoScalingService: Effect.Effect<AutoScalingService$, never, Instance.AutoScalingClientInstance>;
|
|
277
|
+
declare const AutoScalingService_base: import("effect/Context").TagClass<AutoScalingService, "@effect-aws/client-auto-scaling/AutoScalingService", AutoScalingService$> & Effect.Tag.Proxy<AutoScalingService, AutoScalingService$> & {
|
|
278
|
+
use: <X>(body: (_: AutoScalingService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, AutoScalingService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, import("effect/Cause").UnknownException, AutoScalingService> : Effect.Effect<X, never, AutoScalingService>;
|
|
356
279
|
};
|
|
357
280
|
/**
|
|
358
281
|
* @since 1.0.0
|
|
@@ -360,31 +283,19 @@ declare const AutoScalingService_base: import("effect/Context").TagClass<AutoSca
|
|
|
360
283
|
*/
|
|
361
284
|
export declare class AutoScalingService extends AutoScalingService_base {
|
|
362
285
|
static readonly defaultLayer: Layer.Layer<AutoScalingService, never, never>;
|
|
363
|
-
static readonly layer: (config:
|
|
286
|
+
static readonly layer: (config: AutoScalingService.Config) => Layer.Layer<AutoScalingService, never, never>;
|
|
364
287
|
static readonly baseLayer: (evaluate: (defaultConfig: AutoScalingClientConfig) => AutoScalingClient) => Layer.Layer<AutoScalingService, never, never>;
|
|
365
288
|
}
|
|
366
289
|
/**
|
|
367
290
|
* @since 1.0.0
|
|
368
|
-
* @category models
|
|
369
|
-
* @alias AutoScalingService
|
|
370
|
-
*/
|
|
371
|
-
export declare const AutoScaling: typeof AutoScalingService;
|
|
372
|
-
/**
|
|
373
|
-
* @since 1.0.0
|
|
374
|
-
* @category layers
|
|
375
|
-
* @deprecated use AutoScaling.baseLayer instead
|
|
376
291
|
*/
|
|
377
|
-
export declare
|
|
378
|
-
/**
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
* @since 1.0.0
|
|
386
|
-
* @category layers
|
|
387
|
-
* @deprecated use AutoScaling.defaultLayer instead
|
|
388
|
-
*/
|
|
389
|
-
export declare const DefaultAutoScalingServiceLayer: Layer.Layer<AutoScalingService, never, never>;
|
|
292
|
+
export declare namespace AutoScalingService {
|
|
293
|
+
/**
|
|
294
|
+
* @since 1.0.0
|
|
295
|
+
*/
|
|
296
|
+
interface Config extends Omit<AutoScalingClientConfig, "logger"> {
|
|
297
|
+
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
390
300
|
export {};
|
|
301
|
+
//# sourceMappingURL=AutoScalingService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoScalingService.d.ts","sourceRoot":"","sources":["../../src/AutoScalingService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,0CAA0C,EAC/C,KAAK,2CAA2C,EAEhD,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAE5B,KAAK,sCAAsC,EAC3C,KAAK,uCAAuC,EAE5C,KAAK,8CAA8C,EACnD,KAAK,+CAA+C,EAEpD,KAAK,iCAAiC,EACtC,KAAK,kCAA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DASrE;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,uBAAuB,EAAE,QAAQ,CAAC;QACrE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.AutoScalingService = exports.makeAutoScalingService = void 0;
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
const client_auto_scaling_1 = require("@aws-sdk/client-auto-scaling");
|
|
31
|
+
const commons_1 = require("@effect-aws/commons");
|
|
32
|
+
const effect_1 = require("effect");
|
|
33
|
+
const Instance = __importStar(require("./AutoScalingClientInstance.js"));
|
|
34
|
+
const AutoScalingServiceConfig = __importStar(require("./AutoScalingServiceConfig.js"));
|
|
35
|
+
const Errors_js_1 = require("./Errors.js");
|
|
36
|
+
const commands = {
|
|
37
|
+
AttachInstancesCommand: client_auto_scaling_1.AttachInstancesCommand,
|
|
38
|
+
AttachLoadBalancerTargetGroupsCommand: client_auto_scaling_1.AttachLoadBalancerTargetGroupsCommand,
|
|
39
|
+
AttachLoadBalancersCommand: client_auto_scaling_1.AttachLoadBalancersCommand,
|
|
40
|
+
AttachTrafficSourcesCommand: client_auto_scaling_1.AttachTrafficSourcesCommand,
|
|
41
|
+
BatchDeleteScheduledActionCommand: client_auto_scaling_1.BatchDeleteScheduledActionCommand,
|
|
42
|
+
BatchPutScheduledUpdateGroupActionCommand: client_auto_scaling_1.BatchPutScheduledUpdateGroupActionCommand,
|
|
43
|
+
CancelInstanceRefreshCommand: client_auto_scaling_1.CancelInstanceRefreshCommand,
|
|
44
|
+
CompleteLifecycleActionCommand: client_auto_scaling_1.CompleteLifecycleActionCommand,
|
|
45
|
+
CreateAutoScalingGroupCommand: client_auto_scaling_1.CreateAutoScalingGroupCommand,
|
|
46
|
+
CreateLaunchConfigurationCommand: client_auto_scaling_1.CreateLaunchConfigurationCommand,
|
|
47
|
+
CreateOrUpdateTagsCommand: client_auto_scaling_1.CreateOrUpdateTagsCommand,
|
|
48
|
+
DeleteAutoScalingGroupCommand: client_auto_scaling_1.DeleteAutoScalingGroupCommand,
|
|
49
|
+
DeleteLaunchConfigurationCommand: client_auto_scaling_1.DeleteLaunchConfigurationCommand,
|
|
50
|
+
DeleteLifecycleHookCommand: client_auto_scaling_1.DeleteLifecycleHookCommand,
|
|
51
|
+
DeleteNotificationConfigurationCommand: client_auto_scaling_1.DeleteNotificationConfigurationCommand,
|
|
52
|
+
DeletePolicyCommand: client_auto_scaling_1.DeletePolicyCommand,
|
|
53
|
+
DeleteScheduledActionCommand: client_auto_scaling_1.DeleteScheduledActionCommand,
|
|
54
|
+
DeleteTagsCommand: client_auto_scaling_1.DeleteTagsCommand,
|
|
55
|
+
DeleteWarmPoolCommand: client_auto_scaling_1.DeleteWarmPoolCommand,
|
|
56
|
+
DescribeAccountLimitsCommand: client_auto_scaling_1.DescribeAccountLimitsCommand,
|
|
57
|
+
DescribeAdjustmentTypesCommand: client_auto_scaling_1.DescribeAdjustmentTypesCommand,
|
|
58
|
+
DescribeAutoScalingGroupsCommand: client_auto_scaling_1.DescribeAutoScalingGroupsCommand,
|
|
59
|
+
DescribeAutoScalingInstancesCommand: client_auto_scaling_1.DescribeAutoScalingInstancesCommand,
|
|
60
|
+
DescribeAutoScalingNotificationTypesCommand: client_auto_scaling_1.DescribeAutoScalingNotificationTypesCommand,
|
|
61
|
+
DescribeInstanceRefreshesCommand: client_auto_scaling_1.DescribeInstanceRefreshesCommand,
|
|
62
|
+
DescribeLaunchConfigurationsCommand: client_auto_scaling_1.DescribeLaunchConfigurationsCommand,
|
|
63
|
+
DescribeLifecycleHookTypesCommand: client_auto_scaling_1.DescribeLifecycleHookTypesCommand,
|
|
64
|
+
DescribeLifecycleHooksCommand: client_auto_scaling_1.DescribeLifecycleHooksCommand,
|
|
65
|
+
DescribeLoadBalancerTargetGroupsCommand: client_auto_scaling_1.DescribeLoadBalancerTargetGroupsCommand,
|
|
66
|
+
DescribeLoadBalancersCommand: client_auto_scaling_1.DescribeLoadBalancersCommand,
|
|
67
|
+
DescribeMetricCollectionTypesCommand: client_auto_scaling_1.DescribeMetricCollectionTypesCommand,
|
|
68
|
+
DescribeNotificationConfigurationsCommand: client_auto_scaling_1.DescribeNotificationConfigurationsCommand,
|
|
69
|
+
DescribePoliciesCommand: client_auto_scaling_1.DescribePoliciesCommand,
|
|
70
|
+
DescribeScalingActivitiesCommand: client_auto_scaling_1.DescribeScalingActivitiesCommand,
|
|
71
|
+
DescribeScalingProcessTypesCommand: client_auto_scaling_1.DescribeScalingProcessTypesCommand,
|
|
72
|
+
DescribeScheduledActionsCommand: client_auto_scaling_1.DescribeScheduledActionsCommand,
|
|
73
|
+
DescribeTagsCommand: client_auto_scaling_1.DescribeTagsCommand,
|
|
74
|
+
DescribeTerminationPolicyTypesCommand: client_auto_scaling_1.DescribeTerminationPolicyTypesCommand,
|
|
75
|
+
DescribeTrafficSourcesCommand: client_auto_scaling_1.DescribeTrafficSourcesCommand,
|
|
76
|
+
DescribeWarmPoolCommand: client_auto_scaling_1.DescribeWarmPoolCommand,
|
|
77
|
+
DetachInstancesCommand: client_auto_scaling_1.DetachInstancesCommand,
|
|
78
|
+
DetachLoadBalancerTargetGroupsCommand: client_auto_scaling_1.DetachLoadBalancerTargetGroupsCommand,
|
|
79
|
+
DetachLoadBalancersCommand: client_auto_scaling_1.DetachLoadBalancersCommand,
|
|
80
|
+
DetachTrafficSourcesCommand: client_auto_scaling_1.DetachTrafficSourcesCommand,
|
|
81
|
+
DisableMetricsCollectionCommand: client_auto_scaling_1.DisableMetricsCollectionCommand,
|
|
82
|
+
EnableMetricsCollectionCommand: client_auto_scaling_1.EnableMetricsCollectionCommand,
|
|
83
|
+
EnterStandbyCommand: client_auto_scaling_1.EnterStandbyCommand,
|
|
84
|
+
ExecutePolicyCommand: client_auto_scaling_1.ExecutePolicyCommand,
|
|
85
|
+
ExitStandbyCommand: client_auto_scaling_1.ExitStandbyCommand,
|
|
86
|
+
GetPredictiveScalingForecastCommand: client_auto_scaling_1.GetPredictiveScalingForecastCommand,
|
|
87
|
+
PutLifecycleHookCommand: client_auto_scaling_1.PutLifecycleHookCommand,
|
|
88
|
+
PutNotificationConfigurationCommand: client_auto_scaling_1.PutNotificationConfigurationCommand,
|
|
89
|
+
PutScalingPolicyCommand: client_auto_scaling_1.PutScalingPolicyCommand,
|
|
90
|
+
PutScheduledUpdateGroupActionCommand: client_auto_scaling_1.PutScheduledUpdateGroupActionCommand,
|
|
91
|
+
PutWarmPoolCommand: client_auto_scaling_1.PutWarmPoolCommand,
|
|
92
|
+
RecordLifecycleActionHeartbeatCommand: client_auto_scaling_1.RecordLifecycleActionHeartbeatCommand,
|
|
93
|
+
ResumeProcessesCommand: client_auto_scaling_1.ResumeProcessesCommand,
|
|
94
|
+
RollbackInstanceRefreshCommand: client_auto_scaling_1.RollbackInstanceRefreshCommand,
|
|
95
|
+
SetDesiredCapacityCommand: client_auto_scaling_1.SetDesiredCapacityCommand,
|
|
96
|
+
SetInstanceHealthCommand: client_auto_scaling_1.SetInstanceHealthCommand,
|
|
97
|
+
SetInstanceProtectionCommand: client_auto_scaling_1.SetInstanceProtectionCommand,
|
|
98
|
+
StartInstanceRefreshCommand: client_auto_scaling_1.StartInstanceRefreshCommand,
|
|
99
|
+
SuspendProcessesCommand: client_auto_scaling_1.SuspendProcessesCommand,
|
|
100
|
+
TerminateInstanceInAutoScalingGroupCommand: client_auto_scaling_1.TerminateInstanceInAutoScalingGroupCommand,
|
|
101
|
+
UpdateAutoScalingGroupCommand: client_auto_scaling_1.UpdateAutoScalingGroupCommand,
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @since 1.0.0
|
|
105
|
+
* @category constructors
|
|
106
|
+
*/
|
|
107
|
+
exports.makeAutoScalingService = effect_1.Effect.gen(function* () {
|
|
108
|
+
const client = yield* Instance.AutoScalingClientInstance;
|
|
109
|
+
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
110
|
+
errorTags: Errors_js_1.AllServiceErrors,
|
|
111
|
+
resolveClientConfig: AutoScalingServiceConfig.toAutoScalingClientConfig,
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
/**
|
|
115
|
+
* @since 1.0.0
|
|
116
|
+
* @category models
|
|
117
|
+
*/
|
|
118
|
+
class AutoScalingService extends effect_1.Effect.Tag("@effect-aws/client-auto-scaling/AutoScalingService")() {
|
|
119
|
+
static defaultLayer = effect_1.Layer.effect(this, exports.makeAutoScalingService).pipe(effect_1.Layer.provide(Instance.layer));
|
|
120
|
+
static layer = (config) => effect_1.Layer.effect(this, exports.makeAutoScalingService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(AutoScalingServiceConfig.setAutoScalingServiceConfig(config)));
|
|
121
|
+
static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeAutoScalingService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.AutoScalingClientInstance, effect_1.Effect.map(AutoScalingServiceConfig.toAutoScalingClientConfig, evaluate))));
|
|
122
|
+
}
|
|
123
|
+
exports.AutoScalingService = AutoScalingService;
|
|
124
|
+
//# sourceMappingURL=AutoScalingService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoScalingService.js","sourceRoot":"","sources":["../../src/AutoScalingService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,sEAsMsC;AAEtC,iDAA8C;AAC9C,mCAAuC;AACvC,yEAA2D;AAC3D,wFAA0E;AAa1E,2CAA+C;AAE/C,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,4CAAsB;IACtB,qCAAqC,EAArC,2DAAqC;IACrC,0BAA0B,EAA1B,gDAA0B;IAC1B,2BAA2B,EAA3B,iDAA2B;IAC3B,iCAAiC,EAAjC,uDAAiC;IACjC,yCAAyC,EAAzC,+DAAyC;IACzC,4BAA4B,EAA5B,kDAA4B;IAC5B,8BAA8B,EAA9B,oDAA8B;IAC9B,6BAA6B,EAA7B,mDAA6B;IAC7B,gCAAgC,EAAhC,sDAAgC;IAChC,yBAAyB,EAAzB,+CAAyB;IACzB,6BAA6B,EAA7B,mDAA6B;IAC7B,gCAAgC,EAAhC,sDAAgC;IAChC,0BAA0B,EAA1B,gDAA0B;IAC1B,sCAAsC,EAAtC,4DAAsC;IACtC,mBAAmB,EAAnB,yCAAmB;IACnB,4BAA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AK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,yBAAyB,EAClC,eAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CACzE,CACF,CACF,CAAC;;AApBN,gDAqBC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import type { AutoScalingClientConfig } from "@aws-sdk/client-auto-scaling";
|
|
5
|
+
import { Effect, Layer } from "effect";
|
|
6
|
+
import type { AutoScalingService } from "./AutoScalingService.js";
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category auto-scaling service config
|
|
10
|
+
*/
|
|
11
|
+
export declare const withAutoScalingServiceConfig: {
|
|
12
|
+
(config: AutoScalingService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
13
|
+
<A, E, R>(effect: Effect.Effect<A, E, R>, config: AutoScalingService.Config): Effect.Effect<A, E, R>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @since 1.0.0
|
|
17
|
+
* @category auto-scaling service config
|
|
18
|
+
*/
|
|
19
|
+
export declare const setAutoScalingServiceConfig: (config: AutoScalingService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
+
/**
|
|
21
|
+
* @since 1.0.0
|
|
22
|
+
* @category adapters
|
|
23
|
+
*/
|
|
24
|
+
export declare const toAutoScalingClientConfig: Effect.Effect<AutoScalingClientConfig>;
|
|
25
|
+
//# sourceMappingURL=AutoScalingServiceConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoScalingServiceConfig.d.ts","sourceRoot":"","sources":["../../src/AutoScalingServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAWlE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE;IACzC,CAAC,MAAM,EAAE,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACzG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKtG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,WAAY,mBAAmB,MAAM,qCACf,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAQ3E,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toAutoScalingClientConfig = exports.setAutoScalingServiceConfig = exports.withAutoScalingServiceConfig = void 0;
|
|
4
|
+
const commons_1 = require("@effect-aws/commons");
|
|
5
|
+
const effect_1 = require("effect");
|
|
6
|
+
const Function_1 = require("effect/Function");
|
|
7
|
+
const GlobalValue_1 = require("effect/GlobalValue");
|
|
8
|
+
/**
|
|
9
|
+
* @since 1.0.0
|
|
10
|
+
* @category auto-scaling service config
|
|
11
|
+
*/
|
|
12
|
+
const currentAutoScalingServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-auto-scaling/currentAutoScalingServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category auto-scaling service config
|
|
16
|
+
*/
|
|
17
|
+
exports.withAutoScalingServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentAutoScalingServiceConfig, config));
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category auto-scaling service config
|
|
21
|
+
*/
|
|
22
|
+
const setAutoScalingServiceConfig = (config) => effect_1.Layer.locallyScoped(currentAutoScalingServiceConfig, config);
|
|
23
|
+
exports.setAutoScalingServiceConfig = setAutoScalingServiceConfig;
|
|
24
|
+
/**
|
|
25
|
+
* @since 1.0.0
|
|
26
|
+
* @category adapters
|
|
27
|
+
*/
|
|
28
|
+
exports.toAutoScalingClientConfig = effect_1.Effect.gen(function* () {
|
|
29
|
+
const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentAutoScalingServiceConfig);
|
|
30
|
+
const logger = serviceLogger === true
|
|
31
|
+
? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
|
|
32
|
+
: (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
|
|
33
|
+
return { logger, ...config };
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=AutoScalingServiceConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoScalingServiceConfig.js","sourceRoot":"","sources":["../../src/AutoScalingServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,+BAA+B,GAAG,IAAA,yBAAW,EACjD,iEAAiE,EACjE,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAA4B,EAAE,CAAC,CACzD,CAAC;AAEF;;;GAGG;AACU,QAAA,4BAA4B,GAGrC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAiC,EAA0B,EAAE,CACrG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,+BAA+B,EAAE,MAAM,CAAC,CAClE,CAAC;AAEF;;;GAGG;AACI,MAAM,2BAA2B,GAAG,CAAC,MAAiC,EAAE,EAAE,CAC/E,cAAK,CAAC,aAAa,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC;AADlD,QAAA,2BAA2B,+BACuB;AAE/D;;;GAGG;AACU,QAAA,yBAAyB,GAA2C,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnG,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;IAElG,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import type { ActiveInstanceRefreshNotFoundFault, AlreadyExistsFault, InstanceRefreshInProgressFault, InvalidNextToken, IrreversibleInstanceRefreshFault, LimitExceededFault, ResourceContentionFault, ResourceInUseFault, ScalingActivityInProgressFault, ServiceLinkedRoleFailure } from "@aws-sdk/client-auto-scaling";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
name: string;
|
|
6
|
-
}> = T & {
|
|
7
|
-
readonly _tag: T["name"];
|
|
8
|
-
};
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
+
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
|
+
export declare const AllServiceErrors: readonly ["ActiveInstanceRefreshNotFoundFault", "AlreadyExistsFault", "InstanceRefreshInProgressFault", "InvalidNextToken", "IrreversibleInstanceRefreshFault", "LimitExceededFault", "ResourceContentionFault", "ResourceInUseFault", "ScalingActivityInProgressFault", "ServiceLinkedRoleFailure"];
|
|
9
5
|
export type ActiveInstanceRefreshNotFoundFaultError = TaggedException<ActiveInstanceRefreshNotFoundFault>;
|
|
10
6
|
export type AlreadyExistsFaultError = TaggedException<AlreadyExistsFault>;
|
|
11
7
|
export type InstanceRefreshInProgressFaultError = TaggedException<InstanceRefreshInProgressFault>;
|
|
@@ -16,7 +12,6 @@ export type ResourceContentionFaultError = TaggedException<ResourceContentionFau
|
|
|
16
12
|
export type ResourceInUseFaultError = TaggedException<ResourceInUseFault>;
|
|
17
13
|
export type ScalingActivityInProgressFaultError = TaggedException<ScalingActivityInProgressFault>;
|
|
18
14
|
export type ServiceLinkedRoleError = TaggedException<ServiceLinkedRoleFailure>;
|
|
19
|
-
export type SdkError =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
|
|
15
|
+
export type SdkError = CommonSdkError;
|
|
16
|
+
export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
|
|
17
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kCAAkC,EAClC,kBAAkB,EAClB,8BAA8B,EAC9B,gBAAgB,EAChB,gCAAgC,EAChC,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,sSAWnB,CAAC;AAEX,MAAM,MAAM,uCAAuC,GAAG,eAAe,CAAC,kCAAkC,CAAC,CAAC;AAC1G,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAC1E,MAAM,MAAM,mCAAmC,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AAClG,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;AACtE,MAAM,MAAM,qCAAqC,GAAG,eAAe,CAAC,gCAAgC,CAAC,CAAC;AACtG,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAC1E,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAC1E,MAAM,MAAM,mCAAmC,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AAClG,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAE/E,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SdkError = exports.AllServiceErrors = void 0;
|
|
4
|
+
const commons_1 = require("@effect-aws/commons");
|
|
5
|
+
exports.AllServiceErrors = [
|
|
6
|
+
"ActiveInstanceRefreshNotFoundFault",
|
|
7
|
+
"AlreadyExistsFault",
|
|
8
|
+
"InstanceRefreshInProgressFault",
|
|
9
|
+
"InvalidNextToken",
|
|
10
|
+
"IrreversibleInstanceRefreshFault",
|
|
11
|
+
"LimitExceededFault",
|
|
12
|
+
"ResourceContentionFault",
|
|
13
|
+
"ResourceInUseFault",
|
|
14
|
+
"ScalingActivityInProgressFault",
|
|
15
|
+
"ServiceLinkedRoleFailure",
|
|
16
|
+
];
|
|
17
|
+
exports.SdkError = commons_1.SdkError;
|
|
18
|
+
//# sourceMappingURL=Errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAaA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,oCAAoC;IACpC,oBAAoB;IACpB,gCAAgC;IAChC,kBAAkB;IAClB,kCAAkC;IAClC,oBAAoB;IACpB,yBAAyB;IACzB,oBAAoB;IACpB,gCAAgC;IAChC,0BAA0B;CAClB,CAAC;AAcE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
|