@aws-sdk/client-auto-scaling 3.267.0 → 3.269.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/AutoScaling.js +15 -0
- package/dist-cjs/commands/RollbackInstanceRefreshCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +45 -5
- package/dist-cjs/protocols/Aws_query.js +142 -2
- package/dist-es/AutoScaling.js +15 -0
- package/dist-es/commands/RollbackInstanceRefreshCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_query.js +139 -1
- package/dist-types/AutoScaling.d.ts +56 -45
- package/dist-types/AutoScalingClient.d.ts +3 -2
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +5 -3
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +6 -35
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +59 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +16 -7
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +280 -89
- package/dist-types/protocols/Aws_query.d.ts +3 -0
- package/dist-types/ts3.4/AutoScaling.d.ts +17 -0
- package/dist-types/ts3.4/AutoScalingClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/RollbackInstanceRefreshCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +49 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +1 -1
|
@@ -228,6 +228,10 @@ import {
|
|
|
228
228
|
ResumeProcessesCommandInput,
|
|
229
229
|
ResumeProcessesCommandOutput,
|
|
230
230
|
} from "./commands/ResumeProcessesCommand";
|
|
231
|
+
import {
|
|
232
|
+
RollbackInstanceRefreshCommandInput,
|
|
233
|
+
RollbackInstanceRefreshCommandOutput,
|
|
234
|
+
} from "./commands/RollbackInstanceRefreshCommand";
|
|
231
235
|
import {
|
|
232
236
|
SetDesiredCapacityCommandInput,
|
|
233
237
|
SetDesiredCapacityCommandOutput,
|
|
@@ -1016,6 +1020,19 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
1016
1020
|
options: __HttpHandlerOptions,
|
|
1017
1021
|
cb: (err: any, data?: ResumeProcessesCommandOutput) => void
|
|
1018
1022
|
): void;
|
|
1023
|
+
rollbackInstanceRefresh(
|
|
1024
|
+
args: RollbackInstanceRefreshCommandInput,
|
|
1025
|
+
options?: __HttpHandlerOptions
|
|
1026
|
+
): Promise<RollbackInstanceRefreshCommandOutput>;
|
|
1027
|
+
rollbackInstanceRefresh(
|
|
1028
|
+
args: RollbackInstanceRefreshCommandInput,
|
|
1029
|
+
cb: (err: any, data?: RollbackInstanceRefreshCommandOutput) => void
|
|
1030
|
+
): void;
|
|
1031
|
+
rollbackInstanceRefresh(
|
|
1032
|
+
args: RollbackInstanceRefreshCommandInput,
|
|
1033
|
+
options: __HttpHandlerOptions,
|
|
1034
|
+
cb: (err: any, data?: RollbackInstanceRefreshCommandOutput) => void
|
|
1035
|
+
): void;
|
|
1019
1036
|
setDesiredCapacity(
|
|
1020
1037
|
args: SetDesiredCapacityCommandInput,
|
|
1021
1038
|
options?: __HttpHandlerOptions
|
|
@@ -272,6 +272,10 @@ import {
|
|
|
272
272
|
ResumeProcessesCommandInput,
|
|
273
273
|
ResumeProcessesCommandOutput,
|
|
274
274
|
} from "./commands/ResumeProcessesCommand";
|
|
275
|
+
import {
|
|
276
|
+
RollbackInstanceRefreshCommandInput,
|
|
277
|
+
RollbackInstanceRefreshCommandOutput,
|
|
278
|
+
} from "./commands/RollbackInstanceRefreshCommand";
|
|
275
279
|
import {
|
|
276
280
|
SetDesiredCapacityCommandInput,
|
|
277
281
|
SetDesiredCapacityCommandOutput,
|
|
@@ -363,6 +367,7 @@ export declare type ServiceInputTypes =
|
|
|
363
367
|
| PutWarmPoolCommandInput
|
|
364
368
|
| RecordLifecycleActionHeartbeatCommandInput
|
|
365
369
|
| ResumeProcessesCommandInput
|
|
370
|
+
| RollbackInstanceRefreshCommandInput
|
|
366
371
|
| SetDesiredCapacityCommandInput
|
|
367
372
|
| SetInstanceHealthCommandInput
|
|
368
373
|
| SetInstanceProtectionCommandInput
|
|
@@ -428,6 +433,7 @@ export declare type ServiceOutputTypes =
|
|
|
428
433
|
| PutWarmPoolCommandOutput
|
|
429
434
|
| RecordLifecycleActionHeartbeatCommandOutput
|
|
430
435
|
| ResumeProcessesCommandOutput
|
|
436
|
+
| RollbackInstanceRefreshCommandOutput
|
|
431
437
|
| SetDesiredCapacityCommandOutput
|
|
432
438
|
| SetInstanceHealthCommandOutput
|
|
433
439
|
| SetInstanceProtectionCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
AutoScalingClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../AutoScalingClient";
|
|
14
|
+
import {
|
|
15
|
+
RollbackInstanceRefreshAnswer,
|
|
16
|
+
RollbackInstanceRefreshType,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface RollbackInstanceRefreshCommandInput
|
|
19
|
+
extends RollbackInstanceRefreshType {}
|
|
20
|
+
export interface RollbackInstanceRefreshCommandOutput
|
|
21
|
+
extends RollbackInstanceRefreshAnswer,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class RollbackInstanceRefreshCommand extends $Command<
|
|
24
|
+
RollbackInstanceRefreshCommandInput,
|
|
25
|
+
RollbackInstanceRefreshCommandOutput,
|
|
26
|
+
AutoScalingClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: RollbackInstanceRefreshCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: RollbackInstanceRefreshCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: AutoScalingClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
RollbackInstanceRefreshCommandInput,
|
|
37
|
+
RollbackInstanceRefreshCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -55,6 +55,7 @@ export * from "./PutScheduledUpdateGroupActionCommand";
|
|
|
55
55
|
export * from "./PutWarmPoolCommand";
|
|
56
56
|
export * from "./RecordLifecycleActionHeartbeatCommand";
|
|
57
57
|
export * from "./ResumeProcessesCommand";
|
|
58
|
+
export * from "./RollbackInstanceRefreshCommand";
|
|
58
59
|
export * from "./SetDesiredCapacityCommand";
|
|
59
60
|
export * from "./SetInstanceHealthCommand";
|
|
60
61
|
export * from "./SetInstanceProtectionCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -582,12 +582,25 @@ export interface DesiredConfiguration {
|
|
|
582
582
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
583
583
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
584
584
|
}
|
|
585
|
+
export declare enum ScaleInProtectedInstances {
|
|
586
|
+
Ignore = "Ignore",
|
|
587
|
+
Refresh = "Refresh",
|
|
588
|
+
Wait = "Wait",
|
|
589
|
+
}
|
|
590
|
+
export declare enum StandbyInstances {
|
|
591
|
+
Ignore = "Ignore",
|
|
592
|
+
Terminate = "Terminate",
|
|
593
|
+
Wait = "Wait",
|
|
594
|
+
}
|
|
585
595
|
export interface RefreshPreferences {
|
|
586
596
|
MinHealthyPercentage?: number;
|
|
587
597
|
InstanceWarmup?: number;
|
|
588
598
|
CheckpointPercentages?: number[];
|
|
589
599
|
CheckpointDelay?: number;
|
|
590
600
|
SkipMatching?: boolean;
|
|
601
|
+
AutoRollback?: boolean;
|
|
602
|
+
ScaleInProtectedInstances?: ScaleInProtectedInstances | string;
|
|
603
|
+
StandbyInstances?: StandbyInstances | string;
|
|
591
604
|
}
|
|
592
605
|
export interface InstanceRefreshLivePoolProgress {
|
|
593
606
|
PercentageComplete?: number;
|
|
@@ -601,12 +614,22 @@ export interface InstanceRefreshProgressDetails {
|
|
|
601
614
|
LivePoolProgress?: InstanceRefreshLivePoolProgress;
|
|
602
615
|
WarmPoolProgress?: InstanceRefreshWarmPoolProgress;
|
|
603
616
|
}
|
|
617
|
+
export interface RollbackDetails {
|
|
618
|
+
RollbackReason?: string;
|
|
619
|
+
RollbackStartTime?: Date;
|
|
620
|
+
PercentageCompleteOnRollback?: number;
|
|
621
|
+
InstancesToUpdateOnRollback?: number;
|
|
622
|
+
ProgressDetailsOnRollback?: InstanceRefreshProgressDetails;
|
|
623
|
+
}
|
|
604
624
|
export declare enum InstanceRefreshStatus {
|
|
605
625
|
Cancelled = "Cancelled",
|
|
606
626
|
Cancelling = "Cancelling",
|
|
607
627
|
Failed = "Failed",
|
|
608
628
|
InProgress = "InProgress",
|
|
609
629
|
Pending = "Pending",
|
|
630
|
+
RollbackFailed = "RollbackFailed",
|
|
631
|
+
RollbackInProgress = "RollbackInProgress",
|
|
632
|
+
RollbackSuccessful = "RollbackSuccessful",
|
|
610
633
|
Successful = "Successful",
|
|
611
634
|
}
|
|
612
635
|
export interface InstanceRefresh {
|
|
@@ -621,6 +644,7 @@ export interface InstanceRefresh {
|
|
|
621
644
|
ProgressDetails?: InstanceRefreshProgressDetails;
|
|
622
645
|
Preferences?: RefreshPreferences;
|
|
623
646
|
DesiredConfiguration?: DesiredConfiguration;
|
|
647
|
+
RollbackDetails?: RollbackDetails;
|
|
624
648
|
}
|
|
625
649
|
export interface DescribeInstanceRefreshesAnswer {
|
|
626
650
|
InstanceRefreshes?: InstanceRefresh[];
|
|
@@ -1112,6 +1136,22 @@ export interface ScalingProcessQuery {
|
|
|
1112
1136
|
AutoScalingGroupName: string | undefined;
|
|
1113
1137
|
ScalingProcesses?: string[];
|
|
1114
1138
|
}
|
|
1139
|
+
export declare class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
1140
|
+
readonly name: "IrreversibleInstanceRefreshFault";
|
|
1141
|
+
readonly $fault: "client";
|
|
1142
|
+
constructor(
|
|
1143
|
+
opts: __ExceptionOptionType<
|
|
1144
|
+
IrreversibleInstanceRefreshFault,
|
|
1145
|
+
__BaseException
|
|
1146
|
+
>
|
|
1147
|
+
);
|
|
1148
|
+
}
|
|
1149
|
+
export interface RollbackInstanceRefreshAnswer {
|
|
1150
|
+
InstanceRefreshId?: string;
|
|
1151
|
+
}
|
|
1152
|
+
export interface RollbackInstanceRefreshType {
|
|
1153
|
+
AutoScalingGroupName?: string;
|
|
1154
|
+
}
|
|
1115
1155
|
export interface SetDesiredCapacityType {
|
|
1116
1156
|
AutoScalingGroupName: string | undefined;
|
|
1117
1157
|
DesiredCapacity: number | undefined;
|
|
@@ -1394,6 +1434,9 @@ export declare const InstanceRefreshWarmPoolProgressFilterSensitiveLog: (
|
|
|
1394
1434
|
export declare const InstanceRefreshProgressDetailsFilterSensitiveLog: (
|
|
1395
1435
|
obj: InstanceRefreshProgressDetails
|
|
1396
1436
|
) => any;
|
|
1437
|
+
export declare const RollbackDetailsFilterSensitiveLog: (
|
|
1438
|
+
obj: RollbackDetails
|
|
1439
|
+
) => any;
|
|
1397
1440
|
export declare const InstanceRefreshFilterSensitiveLog: (
|
|
1398
1441
|
obj: InstanceRefresh
|
|
1399
1442
|
) => any;
|
|
@@ -1643,6 +1686,12 @@ export declare const RecordLifecycleActionHeartbeatTypeFilterSensitiveLog: (
|
|
|
1643
1686
|
export declare const ScalingProcessQueryFilterSensitiveLog: (
|
|
1644
1687
|
obj: ScalingProcessQuery
|
|
1645
1688
|
) => any;
|
|
1689
|
+
export declare const RollbackInstanceRefreshAnswerFilterSensitiveLog: (
|
|
1690
|
+
obj: RollbackInstanceRefreshAnswer
|
|
1691
|
+
) => any;
|
|
1692
|
+
export declare const RollbackInstanceRefreshTypeFilterSensitiveLog: (
|
|
1693
|
+
obj: RollbackInstanceRefreshType
|
|
1694
|
+
) => any;
|
|
1646
1695
|
export declare const SetDesiredCapacityTypeFilterSensitiveLog: (
|
|
1647
1696
|
obj: SetDesiredCapacityType
|
|
1648
1697
|
) => any;
|
|
@@ -231,6 +231,10 @@ import {
|
|
|
231
231
|
ResumeProcessesCommandInput,
|
|
232
232
|
ResumeProcessesCommandOutput,
|
|
233
233
|
} from "../commands/ResumeProcessesCommand";
|
|
234
|
+
import {
|
|
235
|
+
RollbackInstanceRefreshCommandInput,
|
|
236
|
+
RollbackInstanceRefreshCommandOutput,
|
|
237
|
+
} from "../commands/RollbackInstanceRefreshCommand";
|
|
234
238
|
import {
|
|
235
239
|
SetDesiredCapacityCommandInput,
|
|
236
240
|
SetDesiredCapacityCommandOutput,
|
|
@@ -487,6 +491,10 @@ export declare const serializeAws_queryResumeProcessesCommand: (
|
|
|
487
491
|
input: ResumeProcessesCommandInput,
|
|
488
492
|
context: __SerdeContext
|
|
489
493
|
) => Promise<__HttpRequest>;
|
|
494
|
+
export declare const serializeAws_queryRollbackInstanceRefreshCommand: (
|
|
495
|
+
input: RollbackInstanceRefreshCommandInput,
|
|
496
|
+
context: __SerdeContext
|
|
497
|
+
) => Promise<__HttpRequest>;
|
|
490
498
|
export declare const serializeAws_querySetDesiredCapacityCommand: (
|
|
491
499
|
input: SetDesiredCapacityCommandInput,
|
|
492
500
|
context: __SerdeContext
|
|
@@ -743,6 +751,10 @@ export declare const deserializeAws_queryResumeProcessesCommand: (
|
|
|
743
751
|
output: __HttpResponse,
|
|
744
752
|
context: __SerdeContext
|
|
745
753
|
) => Promise<ResumeProcessesCommandOutput>;
|
|
754
|
+
export declare const deserializeAws_queryRollbackInstanceRefreshCommand: (
|
|
755
|
+
output: __HttpResponse,
|
|
756
|
+
context: __SerdeContext
|
|
757
|
+
) => Promise<RollbackInstanceRefreshCommandOutput>;
|
|
746
758
|
export declare const deserializeAws_querySetDesiredCapacityCommand: (
|
|
747
759
|
output: __HttpResponse,
|
|
748
760
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.269.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|