@aws-sdk/client-auto-scaling 3.36.0 → 3.39.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/CHANGELOG.md +45 -0
- package/dist-cjs/AutoScaling.js +0 -16
- package/dist-cjs/AutoScalingClient.js +0 -21
- package/dist-cjs/commands/AttachInstancesCommand.js +0 -33
- package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -42
- package/dist-cjs/commands/AttachLoadBalancersCommand.js +0 -34
- package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +0 -24
- package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -24
- package/dist-cjs/commands/CancelInstanceRefreshCommand.js +0 -29
- package/dist-cjs/commands/CompleteLifecycleActionCommand.js +0 -55
- package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +0 -42
- package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +0 -30
- package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +0 -28
- package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +0 -33
- package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DeleteLifecycleHookCommand.js +0 -27
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -24
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +0 -24
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -24
- package/dist-cjs/commands/DeleteWarmPoolCommand.js +0 -26
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -28
- package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +0 -43
- package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -26
- package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -24
- package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -24
- package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +0 -62
- package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -24
- package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -37
- package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +0 -24
- package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -43
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -45
- package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -26
- package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/DescribePoliciesCommand.js +0 -24
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +0 -32
- package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +0 -25
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +0 -27
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -32
- package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -27
- package/dist-cjs/commands/DescribeWarmPoolCommand.js +0 -26
- package/dist-cjs/commands/DetachInstancesCommand.js +0 -33
- package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -24
- package/dist-cjs/commands/DetachLoadBalancersCommand.js +0 -29
- package/dist-cjs/commands/DisableMetricsCollectionCommand.js +0 -24
- package/dist-cjs/commands/EnableMetricsCollectionCommand.js +0 -25
- package/dist-cjs/commands/EnterStandbyCommand.js +0 -33
- package/dist-cjs/commands/ExecutePolicyCommand.js +0 -25
- package/dist-cjs/commands/ExitStandbyCommand.js +0 -29
- package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +0 -32
- package/dist-cjs/commands/PutLifecycleHookCommand.js +0 -61
- package/dist-cjs/commands/PutNotificationConfigurationCommand.js +0 -32
- package/dist-cjs/commands/PutScalingPolicyCommand.js +0 -33
- package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -28
- package/dist-cjs/commands/PutWarmPoolCommand.js +0 -33
- package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -56
- package/dist-cjs/commands/ResumeProcessesCommand.js +0 -27
- package/dist-cjs/commands/SetDesiredCapacityCommand.js +0 -29
- package/dist-cjs/commands/SetInstanceHealthCommand.js +0 -26
- package/dist-cjs/commands/SetInstanceProtectionCommand.js +0 -30
- package/dist-cjs/commands/StartInstanceRefreshCommand.js +0 -38
- package/dist-cjs/commands/SuspendProcessesCommand.js +0 -30
- package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -35
- package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +0 -68
- package/dist-cjs/commands/index.js +64 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -75
- package/dist-cjs/models/models_0.js +121 -475
- package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribePoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_query.js +621 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForGroupExists.js +0 -9
- package/dist-cjs/waiters/waitForGroupInService.js +0 -9
- package/dist-cjs/waiters/waitForGroupNotExists.js +0 -9
- package/dist-es/commands/index.js +61 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -75
- package/dist-es/models/models_0.js +97 -4
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_query.js +922 -207
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/AutoScaling.d.ts +8 -2
- package/dist-types/AutoScalingClient.d.ts +2 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -1
- package/dist-types/commands/index.d.ts +61 -0
- package/dist-types/index.d.ts +5 -75
- package/dist-types/models/models_0.d.ts +672 -125
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/AutoScaling.d.ts +62 -693
- package/dist-types/ts3.4/AutoScalingClient.d.ts +24 -102
- package/dist-types/ts3.4/commands/AttachInstancesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/AttachLoadBalancersCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/BatchDeleteScheduledActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CancelInstanceRefreshCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CompleteLifecycleActionCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateAutoScalingGroupCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateOrUpdateTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteAutoScalingGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteLifecycleHookCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteWarmPoolCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeAdjustmentTypesCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/DescribeAutoScalingGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeAutoScalingInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeInstanceRefreshesCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLifecycleHookTypesCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DescribeLifecycleHooksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DescribeMetricCollectionTypesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeNotificationConfigurationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribePoliciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeScalingProcessTypesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeTerminationPolicyTypesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeWarmPoolCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DetachInstancesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DetachLoadBalancersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DisableMetricsCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/EnableMetricsCollectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/EnterStandbyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ExecutePolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ExitStandbyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutLifecycleHookCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/PutNotificationConfigurationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PutScheduledUpdateGroupActionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutWarmPoolCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/RecordLifecycleActionHeartbeatCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/ResumeProcessesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SetDesiredCapacityCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/SetInstanceHealthCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/SetInstanceProtectionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/StartInstanceRefreshCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/SuspendProcessesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/UpdateAutoScalingGroupCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/index.d.ts +61 -0
- package/dist-types/ts3.4/index.d.ts +5 -75
- package/dist-types/ts3.4/models/models_0.d.ts +960 -4205
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForGroupExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForGroupInService.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForGroupNotExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +33 -33
|
@@ -70,137 +70,59 @@ import { UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput
|
|
|
70
70
|
export declare type ServiceInputTypes = AttachInstancesCommandInput | AttachLoadBalancerTargetGroupsCommandInput | AttachLoadBalancersCommandInput | BatchDeleteScheduledActionCommandInput | BatchPutScheduledUpdateGroupActionCommandInput | CancelInstanceRefreshCommandInput | CompleteLifecycleActionCommandInput | CreateAutoScalingGroupCommandInput | CreateLaunchConfigurationCommandInput | CreateOrUpdateTagsCommandInput | DeleteAutoScalingGroupCommandInput | DeleteLaunchConfigurationCommandInput | DeleteLifecycleHookCommandInput | DeleteNotificationConfigurationCommandInput | DeletePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteTagsCommandInput | DeleteWarmPoolCommandInput | DescribeAccountLimitsCommandInput | DescribeAdjustmentTypesCommandInput | DescribeAutoScalingGroupsCommandInput | DescribeAutoScalingInstancesCommandInput | DescribeAutoScalingNotificationTypesCommandInput | DescribeInstanceRefreshesCommandInput | DescribeLaunchConfigurationsCommandInput | DescribeLifecycleHookTypesCommandInput | DescribeLifecycleHooksCommandInput | DescribeLoadBalancerTargetGroupsCommandInput | DescribeLoadBalancersCommandInput | DescribeMetricCollectionTypesCommandInput | DescribeNotificationConfigurationsCommandInput | DescribePoliciesCommandInput | DescribeScalingActivitiesCommandInput | DescribeScalingProcessTypesCommandInput | DescribeScheduledActionsCommandInput | DescribeTagsCommandInput | DescribeTerminationPolicyTypesCommandInput | DescribeWarmPoolCommandInput | DetachInstancesCommandInput | DetachLoadBalancerTargetGroupsCommandInput | DetachLoadBalancersCommandInput | DisableMetricsCollectionCommandInput | EnableMetricsCollectionCommandInput | EnterStandbyCommandInput | ExecutePolicyCommandInput | ExitStandbyCommandInput | GetPredictiveScalingForecastCommandInput | PutLifecycleHookCommandInput | PutNotificationConfigurationCommandInput | PutScalingPolicyCommandInput | PutScheduledUpdateGroupActionCommandInput | PutWarmPoolCommandInput | RecordLifecycleActionHeartbeatCommandInput | ResumeProcessesCommandInput | SetDesiredCapacityCommandInput | SetInstanceHealthCommandInput | SetInstanceProtectionCommandInput | StartInstanceRefreshCommandInput | SuspendProcessesCommandInput | TerminateInstanceInAutoScalingGroupCommandInput | UpdateAutoScalingGroupCommandInput;
|
|
71
71
|
export declare type ServiceOutputTypes = AttachInstancesCommandOutput | AttachLoadBalancerTargetGroupsCommandOutput | AttachLoadBalancersCommandOutput | BatchDeleteScheduledActionCommandOutput | BatchPutScheduledUpdateGroupActionCommandOutput | CancelInstanceRefreshCommandOutput | CompleteLifecycleActionCommandOutput | CreateAutoScalingGroupCommandOutput | CreateLaunchConfigurationCommandOutput | CreateOrUpdateTagsCommandOutput | DeleteAutoScalingGroupCommandOutput | DeleteLaunchConfigurationCommandOutput | DeleteLifecycleHookCommandOutput | DeleteNotificationConfigurationCommandOutput | DeletePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteTagsCommandOutput | DeleteWarmPoolCommandOutput | DescribeAccountLimitsCommandOutput | DescribeAdjustmentTypesCommandOutput | DescribeAutoScalingGroupsCommandOutput | DescribeAutoScalingInstancesCommandOutput | DescribeAutoScalingNotificationTypesCommandOutput | DescribeInstanceRefreshesCommandOutput | DescribeLaunchConfigurationsCommandOutput | DescribeLifecycleHookTypesCommandOutput | DescribeLifecycleHooksCommandOutput | DescribeLoadBalancerTargetGroupsCommandOutput | DescribeLoadBalancersCommandOutput | DescribeMetricCollectionTypesCommandOutput | DescribeNotificationConfigurationsCommandOutput | DescribePoliciesCommandOutput | DescribeScalingActivitiesCommandOutput | DescribeScalingProcessTypesCommandOutput | DescribeScheduledActionsCommandOutput | DescribeTagsCommandOutput | DescribeTerminationPolicyTypesCommandOutput | DescribeWarmPoolCommandOutput | DetachInstancesCommandOutput | DetachLoadBalancerTargetGroupsCommandOutput | DetachLoadBalancersCommandOutput | DisableMetricsCollectionCommandOutput | EnableMetricsCollectionCommandOutput | EnterStandbyCommandOutput | ExecutePolicyCommandOutput | ExitStandbyCommandOutput | GetPredictiveScalingForecastCommandOutput | PutLifecycleHookCommandOutput | PutNotificationConfigurationCommandOutput | PutScalingPolicyCommandOutput | PutScheduledUpdateGroupActionCommandOutput | PutWarmPoolCommandOutput | RecordLifecycleActionHeartbeatCommandOutput | ResumeProcessesCommandOutput | SetDesiredCapacityCommandOutput | SetInstanceHealthCommandOutput | SetInstanceProtectionCommandOutput | StartInstanceRefreshCommandOutput | SuspendProcessesCommandOutput | TerminateInstanceInAutoScalingGroupCommandOutput | UpdateAutoScalingGroupCommandOutput;
|
|
72
72
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
73
|
-
|
|
74
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
75
|
-
*/
|
|
73
|
+
|
|
76
74
|
requestHandler?: __HttpHandler;
|
|
77
|
-
|
|
78
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
79
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
75
|
+
|
|
82
76
|
sha256?: __HashConstructor;
|
|
83
|
-
|
|
84
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
77
|
+
|
|
87
78
|
urlParser?: __UrlParser;
|
|
88
|
-
|
|
89
|
-
* A function that can calculate the length of a request body.
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
79
|
+
|
|
92
80
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
93
|
-
|
|
94
|
-
* A function that converts a stream into an array of bytes.
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
81
|
+
|
|
97
82
|
streamCollector?: __StreamCollector;
|
|
98
|
-
|
|
99
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
83
|
+
|
|
102
84
|
base64Decoder?: __Decoder;
|
|
103
|
-
|
|
104
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
85
|
+
|
|
107
86
|
base64Encoder?: __Encoder;
|
|
108
|
-
|
|
109
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
87
|
+
|
|
112
88
|
utf8Decoder?: __Decoder;
|
|
113
|
-
|
|
114
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
89
|
+
|
|
117
90
|
utf8Encoder?: __Encoder;
|
|
118
|
-
|
|
119
|
-
* The runtime environment.
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
91
|
+
|
|
122
92
|
runtime?: string;
|
|
123
|
-
|
|
124
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
125
|
-
* trait of an operation.
|
|
126
|
-
*/
|
|
93
|
+
|
|
127
94
|
disableHostPrefix?: boolean;
|
|
128
|
-
|
|
129
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
130
|
-
*/
|
|
95
|
+
|
|
131
96
|
maxAttempts?: number | __Provider<number>;
|
|
132
|
-
|
|
133
|
-
* Specifies which retry algorithm to use.
|
|
134
|
-
*/
|
|
97
|
+
|
|
135
98
|
retryMode?: string | __Provider<string>;
|
|
136
|
-
|
|
137
|
-
* Optional logger for logging debug/info/warn/error.
|
|
138
|
-
*/
|
|
99
|
+
|
|
139
100
|
logger?: __Logger;
|
|
140
|
-
|
|
141
|
-
* Unique service identifier.
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
101
|
+
|
|
144
102
|
serviceId?: string;
|
|
145
|
-
|
|
146
|
-
* The AWS region to which this client will send requests
|
|
147
|
-
*/
|
|
103
|
+
|
|
148
104
|
region?: string | __Provider<string>;
|
|
149
|
-
|
|
150
|
-
* Default credentials provider; Not available in browser runtime.
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
105
|
+
|
|
153
106
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
154
|
-
|
|
155
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
107
|
+
|
|
158
108
|
regionInfoProvider?: RegionInfoProvider;
|
|
159
|
-
|
|
160
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
161
|
-
* @internal
|
|
162
|
-
*/
|
|
109
|
+
|
|
163
110
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
164
111
|
}
|
|
165
112
|
declare type AutoScalingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
166
|
-
|
|
167
|
-
* The configuration interface of AutoScalingClient class constructor that set the region, credentials and other options.
|
|
168
|
-
*/
|
|
113
|
+
|
|
169
114
|
export interface AutoScalingClientConfig extends AutoScalingClientConfigType {
|
|
170
115
|
}
|
|
171
116
|
declare type AutoScalingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
172
|
-
|
|
173
|
-
* The resolved configuration interface of AutoScalingClient class. This is resolved and normalized from the {@link AutoScalingClientConfig | constructor configuration interface}.
|
|
174
|
-
*/
|
|
117
|
+
|
|
175
118
|
export interface AutoScalingClientResolvedConfig extends AutoScalingClientResolvedConfigType {
|
|
176
119
|
}
|
|
177
|
-
|
|
178
|
-
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* <p>Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances
|
|
187
|
-
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
188
|
-
* <p>For more information about Amazon EC2 Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a>. For information about granting IAM users required
|
|
189
|
-
* permissions for calls to Amazon EC2 Auto Scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html">Granting
|
|
190
|
-
* IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
|
|
191
|
-
* <i>Amazon EC2 Auto Scaling API Reference</i>.</p>
|
|
192
|
-
*/
|
|
120
|
+
|
|
193
121
|
export declare class AutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AutoScalingClientResolvedConfig> {
|
|
194
|
-
|
|
195
|
-
* The resolved configuration of AutoScalingClient class. This is resolved and normalized from the {@link AutoScalingClientConfig | constructor configuration interface}.
|
|
196
|
-
*/
|
|
122
|
+
|
|
197
123
|
readonly config: AutoScalingClientResolvedConfig;
|
|
198
124
|
constructor(configuration: AutoScalingClientConfig);
|
|
199
|
-
|
|
200
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
201
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
202
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
203
|
-
*/
|
|
125
|
+
|
|
204
126
|
destroy(): void;
|
|
205
127
|
}
|
|
206
128
|
export {};
|
|
@@ -6,38 +6,11 @@ export interface AttachInstancesCommandInput extends AttachInstancesQuery {
|
|
|
6
6
|
}
|
|
7
7
|
export interface AttachInstancesCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the
|
|
12
|
-
* number of instances being attached. If the number of instances being attached plus the
|
|
13
|
-
* desired capacity of the group exceeds the maximum size of the group, the operation
|
|
14
|
-
* fails.</p>
|
|
15
|
-
* <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
|
|
16
|
-
* also registered with the load balancer. If there are target groups attached to your Auto Scaling
|
|
17
|
-
* group, the instances are also registered with the target groups.</p>
|
|
18
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html">Attach EC2 instances to
|
|
19
|
-
* your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { AutoScalingClient, AttachInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
24
|
-
* // const { AutoScalingClient, AttachInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
25
|
-
* const client = new AutoScalingClient(config);
|
|
26
|
-
* const command = new AttachInstancesCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link AttachInstancesCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link AttachInstancesCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class AttachInstancesCommand extends $Command<AttachInstancesCommandInput, AttachInstancesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
36
11
|
readonly input: AttachInstancesCommandInput;
|
|
37
12
|
constructor(input: AttachInstancesCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AttachInstancesCommandInput, AttachInstancesCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,47 +6,11 @@ export interface AttachLoadBalancerTargetGroupsCommandInput extends AttachLoadBa
|
|
|
6
6
|
}
|
|
7
7
|
export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadBalancerTargetGroupsResultType, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>This operation is used with the following load balancer types: </p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p> Application Load Balancer - Operates at the application layer (layer 7) and
|
|
15
|
-
* supports HTTP and HTTPS. </p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p> Network Load Balancer - Operates at the transport layer (layer 4) and
|
|
19
|
-
* supports TCP, TLS, and UDP. </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p> Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* </ul>
|
|
25
|
-
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
|
|
26
|
-
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
|
|
27
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
|
|
28
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { AutoScalingClient, AttachLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
|
-
* // const { AutoScalingClient, AttachLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
|
-
* const client = new AutoScalingClient(config);
|
|
35
|
-
* const command = new AttachLoadBalancerTargetGroupsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link AttachLoadBalancerTargetGroupsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link AttachLoadBalancerTargetGroupsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
9
|
+
|
|
44
10
|
export declare class AttachLoadBalancerTargetGroupsCommand extends $Command<AttachLoadBalancerTargetGroupsCommandInput, AttachLoadBalancerTargetGroupsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
45
11
|
readonly input: AttachLoadBalancerTargetGroupsCommandInput;
|
|
46
12
|
constructor(input: AttachLoadBalancerTargetGroupsCommandInput);
|
|
47
|
-
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
13
|
+
|
|
50
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AttachLoadBalancerTargetGroupsCommandInput, AttachLoadBalancerTargetGroupsCommandOutput>;
|
|
51
15
|
private serialize;
|
|
52
16
|
private deserialize;
|
|
@@ -6,39 +6,11 @@ export interface AttachLoadBalancersCommandInput extends AttachLoadBalancersType
|
|
|
6
6
|
}
|
|
7
7
|
export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersResultType, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
12
|
-
* Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation
|
|
13
|
-
* instead.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling
|
|
16
|
-
* registers the running instances with these Classic Load Balancers.</p>
|
|
17
|
-
* <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach the load balancer from the Auto Scaling
|
|
18
|
-
* group, call the <a>DetachLoadBalancers</a> API.</p>
|
|
19
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
|
|
20
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { AutoScalingClient, AttachLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
25
|
-
* // const { AutoScalingClient, AttachLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
26
|
-
* const client = new AutoScalingClient(config);
|
|
27
|
-
* const command = new AttachLoadBalancersCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link AttachLoadBalancersCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link AttachLoadBalancersCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
9
|
+
|
|
36
10
|
export declare class AttachLoadBalancersCommand extends $Command<AttachLoadBalancersCommandInput, AttachLoadBalancersCommandOutput, AutoScalingClientResolvedConfig> {
|
|
37
11
|
readonly input: AttachLoadBalancersCommandInput;
|
|
38
12
|
constructor(input: AttachLoadBalancersCommandInput);
|
|
39
|
-
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
13
|
+
|
|
42
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AttachLoadBalancersCommandInput, AttachLoadBalancersCommandOutput>;
|
|
43
15
|
private serialize;
|
|
44
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface BatchDeleteScheduledActionCommandInput extends BatchDeleteSched
|
|
|
6
6
|
}
|
|
7
7
|
export interface BatchDeleteScheduledActionCommandOutput extends BatchDeleteScheduledActionAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes one or more scheduled actions for the specified Auto Scaling group.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AutoScalingClient, BatchDeleteScheduledActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
15
|
-
* // const { AutoScalingClient, BatchDeleteScheduledActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
16
|
-
* const client = new AutoScalingClient(config);
|
|
17
|
-
* const command = new BatchDeleteScheduledActionCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchDeleteScheduledActionCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchDeleteScheduledActionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class BatchDeleteScheduledActionCommand extends $Command<BatchDeleteScheduledActionCommandInput, BatchDeleteScheduledActionCommandOutput, AutoScalingClientResolvedConfig> {
|
|
27
11
|
readonly input: BatchDeleteScheduledActionCommandInput;
|
|
28
12
|
constructor(input: BatchDeleteScheduledActionCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteScheduledActionCommandInput, BatchDeleteScheduledActionCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface BatchPutScheduledUpdateGroupActionCommandInput extends BatchPut
|
|
|
6
6
|
}
|
|
7
7
|
export interface BatchPutScheduledUpdateGroupActionCommandOutput extends BatchPutScheduledUpdateGroupActionAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates one or more scheduled scaling actions for an Auto Scaling group.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
15
|
-
* // const { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
16
|
-
* const client = new AutoScalingClient(config);
|
|
17
|
-
* const command = new BatchPutScheduledUpdateGroupActionCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchPutScheduledUpdateGroupActionCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchPutScheduledUpdateGroupActionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class BatchPutScheduledUpdateGroupActionCommand extends $Command<BatchPutScheduledUpdateGroupActionCommandInput, BatchPutScheduledUpdateGroupActionCommandOutput, AutoScalingClientResolvedConfig> {
|
|
27
11
|
readonly input: BatchPutScheduledUpdateGroupActionCommandInput;
|
|
28
12
|
constructor(input: BatchPutScheduledUpdateGroupActionCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchPutScheduledUpdateGroupActionCommandInput, BatchPutScheduledUpdateGroupActionCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface CancelInstanceRefreshCommandInput extends CancelInstanceRefresh
|
|
|
6
6
|
}
|
|
7
7
|
export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefreshAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Cancels an instance refresh operation in progress. Cancellation does not roll back any
|
|
11
|
-
* replacements that have already been completed, but it prevents new replacements from
|
|
12
|
-
* being started. </p>
|
|
13
|
-
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
14
|
-
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
|
|
15
|
-
* after you make configuration changes.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { AutoScalingClient, CancelInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
20
|
-
* // const { AutoScalingClient, CancelInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
21
|
-
* const client = new AutoScalingClient(config);
|
|
22
|
-
* const command = new CancelInstanceRefreshCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link CancelInstanceRefreshCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link CancelInstanceRefreshCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class CancelInstanceRefreshCommand extends $Command<CancelInstanceRefreshCommandInput, CancelInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
|
|
32
11
|
readonly input: CancelInstanceRefreshCommandInput;
|
|
33
12
|
constructor(input: CancelInstanceRefreshCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelInstanceRefreshCommandInput, CancelInstanceRefreshCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,60 +6,11 @@ export interface CompleteLifecycleActionCommandInput extends CompleteLifecycleAc
|
|
|
6
6
|
}
|
|
7
7
|
export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleActionAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Completes the lifecycle action for the specified token or instance with the specified
|
|
11
|
-
* result.</p>
|
|
12
|
-
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
13
|
-
* group:</p>
|
|
14
|
-
* <ol>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
|
|
17
|
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
|
18
|
-
* instances.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
22
|
-
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
|
|
23
|
-
* publish lifecycle notifications to the target.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Create the lifecycle hook. Specify whether the hook is used when the instances
|
|
27
|
-
* launch or terminate.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>If you need more time, record the lifecycle action heartbeat to keep the
|
|
31
|
-
* instance in a pending state.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <b>If you finish before the timeout period ends, complete the
|
|
36
|
-
* lifecycle action.</b>
|
|
37
|
-
* </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* </ol>
|
|
40
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
41
|
-
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { AutoScalingClient, CompleteLifecycleActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
46
|
-
* // const { AutoScalingClient, CompleteLifecycleActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
47
|
-
* const client = new AutoScalingClient(config);
|
|
48
|
-
* const command = new CompleteLifecycleActionCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link CompleteLifecycleActionCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link CompleteLifecycleActionCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
9
|
+
|
|
57
10
|
export declare class CompleteLifecycleActionCommand extends $Command<CompleteLifecycleActionCommandInput, CompleteLifecycleActionCommandOutput, AutoScalingClientResolvedConfig> {
|
|
58
11
|
readonly input: CompleteLifecycleActionCommandInput;
|
|
59
12
|
constructor(input: CompleteLifecycleActionCommandInput);
|
|
60
|
-
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
13
|
+
|
|
63
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteLifecycleActionCommandInput, CompleteLifecycleActionCommandOutput>;
|
|
64
15
|
private serialize;
|
|
65
16
|
private deserialize;
|
|
@@ -6,47 +6,11 @@ export interface CreateAutoScalingGroupCommandInput extends CreateAutoScalingGro
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>Creates an Auto Scaling group with
|
|
14
|
-
* the specified name and attributes. </p>
|
|
15
|
-
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
|
|
16
|
-
* call the <a>DescribeAccountLimits</a> API. For information about updating
|
|
17
|
-
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
|
|
18
|
-
* quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
19
|
-
* <p>For introductory exercises for creating an Auto Scaling group, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html">Getting started with
|
|
20
|
-
* Amazon EC2 Auto Scaling</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html">Tutorial: Set up a
|
|
21
|
-
* scaled and load-balanced application</a> in the
|
|
22
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html">Auto Scaling
|
|
23
|
-
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
24
|
-
* <p>Every Auto Scaling group has three size parameters (<code>DesiredCapacity</code>,
|
|
25
|
-
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
|
|
26
|
-
* on a specific number of instances. However, if you configure a mixed instances policy
|
|
27
|
-
* that defines weights for the instance types, you must specify these sizes with the same
|
|
28
|
-
* units that you use for weighting instances.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { AutoScalingClient, CreateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
|
-
* // const { AutoScalingClient, CreateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
|
-
* const client = new AutoScalingClient(config);
|
|
35
|
-
* const command = new CreateAutoScalingGroupCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link CreateAutoScalingGroupCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link CreateAutoScalingGroupCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
9
|
+
|
|
44
10
|
export declare class CreateAutoScalingGroupCommand extends $Command<CreateAutoScalingGroupCommandInput, CreateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
|
|
45
11
|
readonly input: CreateAutoScalingGroupCommandInput;
|
|
46
12
|
constructor(input: CreateAutoScalingGroupCommandInput);
|
|
47
|
-
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
13
|
+
|
|
50
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAutoScalingGroupCommandInput, CreateAutoScalingGroupCommandOutput>;
|
|
51
15
|
private serialize;
|
|
52
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface CreateLaunchConfigurationCommandInput extends CreateLaunchConfi
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a launch configuration.</p>
|
|
11
|
-
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
|
|
12
|
-
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
|
|
13
|
-
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
|
|
14
|
-
* quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
|
|
16
|
-
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { AutoScalingClient, CreateLaunchConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
21
|
-
* // const { AutoScalingClient, CreateLaunchConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
22
|
-
* const client = new AutoScalingClient(config);
|
|
23
|
-
* const command = new CreateLaunchConfigurationCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CreateLaunchConfigurationCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CreateLaunchConfigurationCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class CreateLaunchConfigurationCommand extends $Command<CreateLaunchConfigurationCommandInput, CreateLaunchConfigurationCommandOutput, AutoScalingClientResolvedConfig> {
|
|
33
11
|
readonly input: CreateLaunchConfigurationCommandInput;
|
|
34
12
|
constructor(input: CreateLaunchConfigurationCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLaunchConfigurationCommandInput, CreateLaunchConfigurationCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,33 +6,11 @@ export interface CreateOrUpdateTagsCommandInput extends CreateOrUpdateTagsType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateOrUpdateTagsCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates tags for the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>When you specify a tag with a key that already exists, the operation overwrites the
|
|
12
|
-
* previous tag definition, and you do not get an error message.</p>
|
|
13
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
|
|
14
|
-
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { AutoScalingClient, CreateOrUpdateTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
19
|
-
* // const { AutoScalingClient, CreateOrUpdateTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
20
|
-
* const client = new AutoScalingClient(config);
|
|
21
|
-
* const command = new CreateOrUpdateTagsCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateOrUpdateTagsCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateOrUpdateTagsCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class CreateOrUpdateTagsCommand extends $Command<CreateOrUpdateTagsCommandInput, CreateOrUpdateTagsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
31
11
|
readonly input: CreateOrUpdateTagsCommandInput;
|
|
32
12
|
constructor(input: CreateOrUpdateTagsCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateOrUpdateTagsCommandInput, CreateOrUpdateTagsCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -6,38 +6,11 @@ export interface DeleteAutoScalingGroupCommandInput extends DeleteAutoScalingGro
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>If the group has instances or scaling activities in progress, you must specify the
|
|
12
|
-
* option to force the deletion in order for it to succeed.</p>
|
|
13
|
-
* <p>If the group has policies, deleting the group deletes the policies, the underlying
|
|
14
|
-
* alarm actions, and any alarm that no longer has an associated action.</p>
|
|
15
|
-
* <p>To remove instances from the Auto Scaling group before deleting it, call the <a>DetachInstances</a> API with the list of instances and the option to
|
|
16
|
-
* decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
|
|
17
|
-
* instances.</p>
|
|
18
|
-
* <p>To terminate all instances before deleting the Auto Scaling group, call the <a>UpdateAutoScalingGroup</a> API and set the minimum size and desired capacity
|
|
19
|
-
* of the Auto Scaling group to zero.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { AutoScalingClient, DeleteAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
24
|
-
* // const { AutoScalingClient, DeleteAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
25
|
-
* const client = new AutoScalingClient(config);
|
|
26
|
-
* const command = new DeleteAutoScalingGroupCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link DeleteAutoScalingGroupCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link DeleteAutoScalingGroupCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class DeleteAutoScalingGroupCommand extends $Command<DeleteAutoScalingGroupCommandInput, DeleteAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
|
|
36
11
|
readonly input: DeleteAutoScalingGroupCommandInput;
|
|
37
12
|
constructor(input: DeleteAutoScalingGroupCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAutoScalingGroupCommandInput, DeleteAutoScalingGroupCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|