@aws-sdk/client-auto-scaling 3.300.0 → 3.303.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/models/models_0.js +167 -192
- package/dist-cjs/pagination/DescribeTrafficSourcesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-es/models/models_0.js +167 -192
- package/dist-es/pagination/DescribeTrafficSourcesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-types/AutoScaling.d.ts +93 -28
- package/dist-types/commands/AttachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +12 -3
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +9 -3
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +28 -12
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +2 -2
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +3 -3
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +38 -41
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +11 -2
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +12 -3
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribePoliciesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +7 -7
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DetachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +12 -3
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +13 -4
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +9 -9
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +2 -2
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +2 -2
- package/dist-types/commands/EnterStandbyCommand.d.ts +2 -2
- package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
- package/dist-types/commands/ExitStandbyCommand.d.ts +2 -2
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +27 -33
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
- package/dist-types/commands/PutWarmPoolCommand.d.ts +2 -2
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +1 -1
- package/dist-types/commands/ResumeProcessesCommand.d.ts +2 -2
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +3 -3
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +2 -2
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +29 -33
- package/dist-types/commands/SuspendProcessesCommand.d.ts +2 -2
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +28 -32
- package/dist-types/models/models_0.d.ts +432 -238
- package/dist-types/pagination/DescribeTrafficSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +220 -168
- package/dist-types/ts3.4/pagination/DescribeTrafficSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/package.json +35 -35
|
@@ -40,7 +40,7 @@ export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { AutoScalingClient, DeleteAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
41
41
|
* // const { AutoScalingClient, DeleteAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
42
42
|
* const client = new AutoScalingClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // DeleteAutoScalingGroupType
|
|
44
44
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
45
45
|
* ForceDelete: true || false,
|
|
46
46
|
* };
|
|
@@ -28,7 +28,7 @@ export interface DeleteLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
28
28
|
* import { AutoScalingClient, DeleteLaunchConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, DeleteLaunchConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // LaunchConfigurationNameType
|
|
32
32
|
* LaunchConfigurationName: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteLaunchConfigurationCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface DeleteLifecycleHookCommandOutput extends DeleteLifecycleHookAns
|
|
|
29
29
|
* import { AutoScalingClient, DeleteLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, DeleteLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteLifecycleHookType
|
|
33
33
|
* LifecycleHookName: "STRING_VALUE", // required
|
|
34
34
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteNotificationConfigurationCommandOutput extends __Metadata
|
|
|
26
26
|
* import { AutoScalingClient, DeleteNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DeleteNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteNotificationConfigurationType
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
31
|
* TopicARN: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -31,7 +31,7 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, DeletePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, DeletePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeletePolicyType
|
|
35
35
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
36
36
|
* PolicyName: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteScheduledActionCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { AutoScalingClient, DeleteScheduledActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DeleteScheduledActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteScheduledActionType
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
31
|
* ScheduledActionName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,9 +26,9 @@ export interface DeleteTagsCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { AutoScalingClient, DeleteTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DeleteTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Tags: [ // required
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // DeleteTagsType
|
|
30
|
+
* Tags: [ // Tags // required
|
|
31
|
+
* { // Tag
|
|
32
32
|
* ResourceId: "STRING_VALUE",
|
|
33
33
|
* ResourceType: "STRING_VALUE",
|
|
34
34
|
* Key: "STRING_VALUE", // required
|
|
@@ -28,7 +28,7 @@ export interface DeleteWarmPoolCommandOutput extends DeleteWarmPoolAnswer, __Met
|
|
|
28
28
|
* import { AutoScalingClient, DeleteWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, DeleteWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteWarmPoolType
|
|
32
32
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
33
33
|
* ForceDelete: true || false,
|
|
34
34
|
* };
|
|
@@ -32,16 +32,16 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
|
|
|
32
32
|
* import { AutoScalingClient, DescribeAutoScalingGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
33
|
* // const { AutoScalingClient, DescribeAutoScalingGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
34
|
* const client = new AutoScalingClient(config);
|
|
35
|
-
* const input = {
|
|
36
|
-
* AutoScalingGroupNames: [
|
|
35
|
+
* const input = { // AutoScalingGroupNamesType
|
|
36
|
+
* AutoScalingGroupNames: [ // AutoScalingGroupNames
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* NextToken: "STRING_VALUE",
|
|
40
40
|
* MaxRecords: Number("int"),
|
|
41
|
-
* Filters: [
|
|
42
|
-
* {
|
|
41
|
+
* Filters: [ // Filters
|
|
42
|
+
* { // Filter
|
|
43
43
|
* Name: "STRING_VALUE",
|
|
44
|
-
* Values: [
|
|
44
|
+
* Values: [ // Values
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* },
|
|
@@ -26,8 +26,8 @@ export interface DescribeAutoScalingInstancesCommandOutput extends AutoScalingIn
|
|
|
26
26
|
* import { AutoScalingClient, DescribeAutoScalingInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeAutoScalingInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* InstanceIds: [
|
|
29
|
+
* const input = { // DescribeAutoScalingInstancesType
|
|
30
|
+
* InstanceIds: [ // InstanceIds
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* MaxRecords: Number("int"),
|
|
@@ -35,9 +35,9 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
35
35
|
* import { AutoScalingClient, DescribeInstanceRefreshesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DescribeInstanceRefreshesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // DescribeInstanceRefreshesType
|
|
39
39
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
-
* InstanceRefreshIds: [
|
|
40
|
+
* InstanceRefreshIds: [ // InstanceRefreshIds
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,8 +26,8 @@ export interface DescribeLaunchConfigurationsCommandOutput extends LaunchConfigu
|
|
|
26
26
|
* import { AutoScalingClient, DescribeLaunchConfigurationsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeLaunchConfigurationsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* LaunchConfigurationNames: [
|
|
29
|
+
* const input = { // LaunchConfigurationNamesType
|
|
30
|
+
* LaunchConfigurationNames: [ // LaunchConfigurationNames
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface DescribeLifecycleHooksCommandOutput extends DescribeLifecycleHo
|
|
|
26
26
|
* import { AutoScalingClient, DescribeLifecycleHooksCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeLifecycleHooksCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeLifecycleHooksType
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
-
* LifecycleHookNames: [
|
|
31
|
+
* LifecycleHookNames: [ // LifecycleHookNames
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -19,7 +19,16 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <
|
|
22
|
+
* <note>
|
|
23
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
24
|
+
* (<code>DescribeTrafficSources</code>) that can describe multiple traffic sources
|
|
25
|
+
* types. While we continue to support <code>DescribeLoadBalancerTargetGroups</code>,
|
|
26
|
+
* and you can use both the original <code>DescribeLoadBalancerTargetGroups</code> API
|
|
27
|
+
* call and the new <code>DescribeTrafficSources</code> API call on the same Auto Scaling
|
|
28
|
+
* group, we recommend using the new "traffic sources" API call to simplify how you
|
|
29
|
+
* manage traffic sources.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
|
|
23
32
|
* <p>To determine the attachment status of the target group, use the <code>State</code>
|
|
24
33
|
* element in the response. When you attach a target group to an Auto Scaling group, the initial
|
|
25
34
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
@@ -50,7 +59,7 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
50
59
|
* import { AutoScalingClient, DescribeLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
51
60
|
* // const { AutoScalingClient, DescribeLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
52
61
|
* const client = new AutoScalingClient(config);
|
|
53
|
-
* const input = {
|
|
62
|
+
* const input = { // DescribeLoadBalancerTargetGroupsRequest
|
|
54
63
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
55
64
|
* NextToken: "STRING_VALUE",
|
|
56
65
|
* MaxRecords: Number("int"),
|
|
@@ -19,8 +19,17 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <
|
|
23
|
-
*
|
|
22
|
+
* <note>
|
|
23
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
24
|
+
* (<code>DescribeTrafficSources</code>) that can describe multiple traffic sources
|
|
25
|
+
* types. While we continue to support <code>DescribeLoadBalancers</code>, and you can
|
|
26
|
+
* use both the original <code>DescribeLoadBalancers</code> API call and the new
|
|
27
|
+
* <code>DescribeTrafficSources</code> API call on the same Auto Scaling group, we
|
|
28
|
+
* recommend using the new "traffic sources" API call to simplify how you manage
|
|
29
|
+
* traffic sources.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
|
|
32
|
+
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the
|
|
24
33
|
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
|
|
25
34
|
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
|
|
26
35
|
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
|
|
@@ -48,7 +57,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
48
57
|
* import { AutoScalingClient, DescribeLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
49
58
|
* // const { AutoScalingClient, DescribeLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
50
59
|
* const client = new AutoScalingClient(config);
|
|
51
|
-
* const input = {
|
|
60
|
+
* const input = { // DescribeLoadBalancersRequest
|
|
52
61
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
53
62
|
* NextToken: "STRING_VALUE",
|
|
54
63
|
* MaxRecords: Number("int"),
|
|
@@ -27,8 +27,8 @@ export interface DescribeNotificationConfigurationsCommandOutput extends Describ
|
|
|
27
27
|
* import { AutoScalingClient, DescribeNotificationConfigurationsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { AutoScalingClient, DescribeNotificationConfigurationsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new AutoScalingClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* AutoScalingGroupNames: [
|
|
30
|
+
* const input = { // DescribeNotificationConfigurationsType
|
|
31
|
+
* AutoScalingGroupNames: [ // AutoScalingGroupNames
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,12 +26,12 @@ export interface DescribePoliciesCommandOutput extends PoliciesType, __MetadataB
|
|
|
26
26
|
* import { AutoScalingClient, DescribePoliciesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribePoliciesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribePoliciesType
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
31
|
-
* PolicyNames: [
|
|
31
|
+
* PolicyNames: [ // PolicyNames
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* PolicyTypes: [
|
|
34
|
+
* PolicyTypes: [ // PolicyTypes
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
@@ -34,8 +34,8 @@ export interface DescribeScalingActivitiesCommandOutput extends ActivitiesType,
|
|
|
34
34
|
* import { AutoScalingClient, DescribeScalingActivitiesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, DescribeScalingActivitiesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
38
|
-
* ActivityIds: [
|
|
37
|
+
* const input = { // DescribeScalingActivitiesType
|
|
38
|
+
* ActivityIds: [ // ActivityIds
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
@@ -29,9 +29,9 @@ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsT
|
|
|
29
29
|
* import { AutoScalingClient, DescribeScheduledActionsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, DescribeScheduledActionsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DescribeScheduledActionsType
|
|
33
33
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
34
|
-
* ScheduledActionNames: [
|
|
34
|
+
* ScheduledActionNames: [ // ScheduledActionNames
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* StartTime: new Date("TIMESTAMP"),
|
|
@@ -34,11 +34,11 @@ export interface DescribeTagsCommandOutput extends TagsType, __MetadataBearer {
|
|
|
34
34
|
* import { AutoScalingClient, DescribeTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, DescribeTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
38
|
-
* Filters: [
|
|
39
|
-
* {
|
|
37
|
+
* const input = { // DescribeTagsType
|
|
38
|
+
* Filters: [ // Filters
|
|
39
|
+
* { // Filter
|
|
40
40
|
* Name: "STRING_VALUE",
|
|
41
|
-
* Values: [
|
|
41
|
+
* Values: [ // Values
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
@@ -19,20 +19,20 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
22
|
+
* <p>Gets information about the traffic sources for the specified Auto Scaling group.</p>
|
|
23
|
+
* <p>You can optionally provide a traffic source type. If you provide a traffic source
|
|
24
|
+
* type, then the results only include that traffic source type.</p>
|
|
25
|
+
* <p>If you do not provide a traffic source type, then the results include all the traffic
|
|
26
|
+
* sources for the specified Auto Scaling group. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
30
30
|
* import { AutoScalingClient, DescribeTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, DescribeTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DescribeTrafficSourcesRequest
|
|
34
34
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
|
-
* TrafficSourceType: "STRING_VALUE",
|
|
35
|
+
* TrafficSourceType: "STRING_VALUE",
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxRecords: Number("int"),
|
|
38
38
|
* };
|
|
@@ -28,7 +28,7 @@ export interface DescribeWarmPoolCommandOutput extends DescribeWarmPoolAnswer, _
|
|
|
28
28
|
* import { AutoScalingClient, DescribeWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, DescribeWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeWarmPoolType
|
|
32
32
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
33
33
|
* MaxRecords: Number("int"),
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
@@ -35,8 +35,8 @@ export interface DetachInstancesCommandOutput extends DetachInstancesAnswer, __M
|
|
|
35
35
|
* import { AutoScalingClient, DetachInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DetachInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
-
* InstanceIds: [
|
|
38
|
+
* const input = { // DetachInstancesQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -19,7 +19,16 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <
|
|
22
|
+
* <note>
|
|
23
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
24
|
+
* (<code>DetachTrafficSources</code>) that can detach multiple traffic sources
|
|
25
|
+
* types. While we continue to support <code>DetachLoadBalancerTargetGroups</code>, and
|
|
26
|
+
* you can use both the original <code>DetachLoadBalancerTargetGroups</code> API call
|
|
27
|
+
* and the new <code>DetachTrafficSources</code> API call on the same Auto Scaling group, we
|
|
28
|
+
* recommend using the new "traffic sources" API call to simplify how you manage
|
|
29
|
+
* traffic sources.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
|
|
23
32
|
* <p>When you detach a target group, it enters the <code>Removing</code> state while
|
|
24
33
|
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
25
34
|
* can no longer describe the target group using the <a>DescribeLoadBalancerTargetGroups</a> API call. The instances remain
|
|
@@ -35,9 +44,9 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
|
|
|
35
44
|
* import { AutoScalingClient, DetachLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
45
|
* // const { AutoScalingClient, DetachLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
46
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
47
|
+
* const input = { // DetachLoadBalancerTargetGroupsType
|
|
39
48
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
-
* TargetGroupARNs: [ // required
|
|
49
|
+
* TargetGroupARNs: [ // TargetGroupARNs // required
|
|
41
50
|
* "STRING_VALUE",
|
|
42
51
|
* ],
|
|
43
52
|
* };
|
|
@@ -19,9 +19,18 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <
|
|
22
|
+
* <note>
|
|
23
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
24
|
+
* (<code>DetachTrafficSources</code>) that can detach multiple traffic sources
|
|
25
|
+
* types. While we continue to support <code>DetachLoadBalancers</code>, and you can
|
|
26
|
+
* use both the original <code>DetachLoadBalancers</code> API call and the new
|
|
27
|
+
* <code>DetachTrafficSources</code> API call on the same Auto Scaling group, we recommend
|
|
28
|
+
* using the new "traffic sources" API call to simplify how you manage traffic
|
|
29
|
+
* sources.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
|
|
23
32
|
* <p>This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or
|
|
24
|
-
* Gateway Load
|
|
33
|
+
* Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
|
|
25
34
|
* <p>When you detach a load balancer, it enters the <code>Removing</code> state while
|
|
26
35
|
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
27
36
|
* can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
|
|
@@ -31,9 +40,9 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
|
|
|
31
40
|
* import { AutoScalingClient, DetachLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
41
|
* // const { AutoScalingClient, DetachLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
42
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
43
|
+
* const input = { // DetachLoadBalancersType
|
|
35
44
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
-
* LoadBalancerNames: [ // required
|
|
45
|
+
* LoadBalancerNames: [ // LoadBalancerNames // required
|
|
37
46
|
* "STRING_VALUE",
|
|
38
47
|
* ],
|
|
39
48
|
* };
|
|
@@ -19,22 +19,22 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* <p>Detaches one or more traffic sources from the specified Auto Scaling group.</p>
|
|
22
|
+
* <p>Detaches one or more traffic sources from the specified Auto Scaling group.</p>
|
|
23
|
+
* <p>When you detach a taffic, it enters the <code>Removing</code> state while
|
|
24
|
+
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
25
|
+
* can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>
|
|
27
26
|
* @example
|
|
28
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
28
|
* ```javascript
|
|
30
29
|
* import { AutoScalingClient, DetachTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
30
|
* // const { AutoScalingClient, DetachTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
31
|
* const client = new AutoScalingClient(config);
|
|
33
|
-
* const input = {
|
|
32
|
+
* const input = { // DetachTrafficSourcesType
|
|
34
33
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
|
-
* TrafficSources: [ // required
|
|
36
|
-
* {
|
|
37
|
-
* Identifier: "STRING_VALUE",
|
|
34
|
+
* TrafficSources: [ // TrafficSources // required
|
|
35
|
+
* { // TrafficSourceIdentifier
|
|
36
|
+
* Identifier: "STRING_VALUE", // required
|
|
37
|
+
* Type: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -26,9 +26,9 @@ export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer
|
|
|
26
26
|
* import { AutoScalingClient, DisableMetricsCollectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DisableMetricsCollectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisableMetricsCollectionQuery
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
-
* Metrics: [
|
|
31
|
+
* Metrics: [ // Metrics
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -31,9 +31,9 @@ export interface EnableMetricsCollectionCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, EnableMetricsCollectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, EnableMetricsCollectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // EnableMetricsCollectionQuery
|
|
35
35
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
-
* Metrics: [
|
|
36
|
+
* Metrics: [ // Metrics
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* Granularity: "STRING_VALUE", // required
|
|
@@ -35,8 +35,8 @@ export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __Metadat
|
|
|
35
35
|
* import { AutoScalingClient, EnterStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, EnterStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
-
* InstanceIds: [
|
|
38
|
+
* const input = { // EnterStandbyQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ export interface ExecutePolicyCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { AutoScalingClient, ExecutePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { AutoScalingClient, ExecutePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new AutoScalingClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ExecutePolicyType
|
|
31
31
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
32
32
|
* PolicyName: "STRING_VALUE", // required
|
|
33
33
|
* HonorCooldown: true || false,
|
|
@@ -31,8 +31,8 @@ export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataB
|
|
|
31
31
|
* import { AutoScalingClient, ExitStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, ExitStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* InstanceIds: [
|
|
34
|
+
* const input = { // ExitStandbyQuery
|
|
35
|
+
* InstanceIds: [ // InstanceIds
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -34,7 +34,7 @@ export interface GetPredictiveScalingForecastCommandOutput extends GetPredictive
|
|
|
34
34
|
* import { AutoScalingClient, GetPredictiveScalingForecastCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, GetPredictiveScalingForecastCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // GetPredictiveScalingForecastType
|
|
38
38
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
39
|
* PolicyName: "STRING_VALUE", // required
|
|
40
40
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
@@ -68,7 +68,7 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
|
|
|
68
68
|
* import { AutoScalingClient, PutLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
69
69
|
* // const { AutoScalingClient, PutLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
70
70
|
* const client = new AutoScalingClient(config);
|
|
71
|
-
* const input = {
|
|
71
|
+
* const input = { // PutLifecycleHookType
|
|
72
72
|
* LifecycleHookName: "STRING_VALUE", // required
|
|
73
73
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
74
74
|
* LifecycleTransition: "STRING_VALUE",
|
|
@@ -34,10 +34,10 @@ export interface PutNotificationConfigurationCommandOutput extends __MetadataBea
|
|
|
34
34
|
* import { AutoScalingClient, PutNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, PutNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // PutNotificationConfigurationType
|
|
38
38
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
39
|
* TopicARN: "STRING_VALUE", // required
|
|
40
|
-
* NotificationTypes: [ // required
|
|
40
|
+
* NotificationTypes: [ // AutoScalingNotificationTypes // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* };
|