@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
|
@@ -92,7 +92,13 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
92
92
|
/**
|
|
93
93
|
* @public
|
|
94
94
|
* <note>
|
|
95
|
-
* <p>
|
|
95
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
96
|
+
* (<code>AttachTrafficSources</code>) that can attach multiple traffic sources
|
|
97
|
+
* types. While we continue to support <code>AttachLoadBalancers</code>, and you can
|
|
98
|
+
* use both the original <code>AttachLoadBalancers</code> API call and the new
|
|
99
|
+
* <code>AttachTrafficSources</code> API call on the same Auto Scaling group, we recommend
|
|
100
|
+
* using the new "traffic sources" API call to simplify how you manage traffic
|
|
101
|
+
* sources.</p>
|
|
96
102
|
* </note>
|
|
97
103
|
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
|
|
98
104
|
* running instances with these Classic Load Balancers.</p>
|
|
@@ -109,7 +115,16 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
109
115
|
attachLoadBalancers(args: AttachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void): void;
|
|
110
116
|
/**
|
|
111
117
|
* @public
|
|
112
|
-
* <
|
|
118
|
+
* <note>
|
|
119
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
120
|
+
* (<code>AttachTrafficSources</code>) that can attach multiple traffic sources
|
|
121
|
+
* types. While we continue to support <code>AttachLoadBalancerTargetGroups</code>, and
|
|
122
|
+
* you can use both the original <code>AttachLoadBalancerTargetGroups</code> API call
|
|
123
|
+
* and the new <code>AttachTrafficSources</code> API call on the same Auto Scaling group, we
|
|
124
|
+
* recommend using the new "traffic sources" API call to simplify how you manage
|
|
125
|
+
* traffic sources.</p>
|
|
126
|
+
* </note>
|
|
127
|
+
* <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
|
|
113
128
|
* <p>This operation is used with the following load balancer types: </p>
|
|
114
129
|
* <ul>
|
|
115
130
|
* <li>
|
|
@@ -137,15 +152,30 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
137
152
|
attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
138
153
|
/**
|
|
139
154
|
* @public
|
|
140
|
-
* <p>
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
155
|
+
* <p>Attaches one or more traffic sources to the specified Auto Scaling group.</p>
|
|
156
|
+
* <p>You can use any of the following as traffic sources for an Auto Scaling group:</p>
|
|
157
|
+
* <ul>
|
|
158
|
+
* <li>
|
|
159
|
+
* <p>Application Load Balancer</p>
|
|
160
|
+
* </li>
|
|
161
|
+
* <li>
|
|
162
|
+
* <p>Classic Load Balancer</p>
|
|
163
|
+
* </li>
|
|
164
|
+
* <li>
|
|
165
|
+
* <p>Network Load Balancer</p>
|
|
166
|
+
* </li>
|
|
167
|
+
* <li>
|
|
168
|
+
* <p>Gateway Load Balancer</p>
|
|
169
|
+
* </li>
|
|
170
|
+
* <li>
|
|
171
|
+
* <p>VPC Lattice</p>
|
|
172
|
+
* </li>
|
|
173
|
+
* </ul>
|
|
147
174
|
* <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling
|
|
148
|
-
* group
|
|
175
|
+
* group. </p>
|
|
176
|
+
* <p>After the operation completes, use the <a>DescribeTrafficSources</a> API to
|
|
177
|
+
* return details about the state of the attachments between traffic sources and your Auto Scaling
|
|
178
|
+
* group. To detach a traffic source from the Auto Scaling group, call the <a>DetachTrafficSources</a> API.</p>
|
|
149
179
|
*/
|
|
150
180
|
attachTrafficSources(args: AttachTrafficSourcesCommandInput, options?: __HttpHandlerOptions): Promise<AttachTrafficSourcesCommandOutput>;
|
|
151
181
|
attachTrafficSources(args: AttachTrafficSourcesCommandInput, cb: (err: any, data?: AttachTrafficSourcesCommandOutput) => void): void;
|
|
@@ -474,8 +504,17 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
474
504
|
describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void): void;
|
|
475
505
|
/**
|
|
476
506
|
* @public
|
|
477
|
-
* <
|
|
478
|
-
*
|
|
507
|
+
* <note>
|
|
508
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
509
|
+
* (<code>DescribeTrafficSources</code>) that can describe multiple traffic sources
|
|
510
|
+
* types. While we continue to support <code>DescribeLoadBalancers</code>, and you can
|
|
511
|
+
* use both the original <code>DescribeLoadBalancers</code> API call and the new
|
|
512
|
+
* <code>DescribeTrafficSources</code> API call on the same Auto Scaling group, we
|
|
513
|
+
* recommend using the new "traffic sources" API call to simplify how you manage
|
|
514
|
+
* traffic sources.</p>
|
|
515
|
+
* </note>
|
|
516
|
+
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
|
|
517
|
+
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the
|
|
479
518
|
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
|
|
480
519
|
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
|
|
481
520
|
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
|
|
@@ -503,7 +542,16 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
503
542
|
describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
|
|
504
543
|
/**
|
|
505
544
|
* @public
|
|
506
|
-
* <
|
|
545
|
+
* <note>
|
|
546
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
547
|
+
* (<code>DescribeTrafficSources</code>) that can describe multiple traffic sources
|
|
548
|
+
* types. While we continue to support <code>DescribeLoadBalancerTargetGroups</code>,
|
|
549
|
+
* and you can use both the original <code>DescribeLoadBalancerTargetGroups</code> API
|
|
550
|
+
* call and the new <code>DescribeTrafficSources</code> API call on the same Auto Scaling
|
|
551
|
+
* group, we recommend using the new "traffic sources" API call to simplify how you
|
|
552
|
+
* manage traffic sources.</p>
|
|
553
|
+
* </note>
|
|
554
|
+
* <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
|
|
507
555
|
* <p>To determine the attachment status of the target group, use the <code>State</code>
|
|
508
556
|
* element in the response. When you attach a target group to an Auto Scaling group, the initial
|
|
509
557
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
@@ -614,11 +662,11 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
614
662
|
describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void): void;
|
|
615
663
|
/**
|
|
616
664
|
* @public
|
|
617
|
-
* <p>
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
-
*
|
|
621
|
-
*
|
|
665
|
+
* <p>Gets information about the traffic sources for the specified Auto Scaling group.</p>
|
|
666
|
+
* <p>You can optionally provide a traffic source type. If you provide a traffic source
|
|
667
|
+
* type, then the results only include that traffic source type.</p>
|
|
668
|
+
* <p>If you do not provide a traffic source type, then the results include all the traffic
|
|
669
|
+
* sources for the specified Auto Scaling group. </p>
|
|
622
670
|
*/
|
|
623
671
|
describeTrafficSources(args: DescribeTrafficSourcesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrafficSourcesCommandOutput>;
|
|
624
672
|
describeTrafficSources(args: DescribeTrafficSourcesCommandInput, cb: (err: any, data?: DescribeTrafficSourcesCommandOutput) => void): void;
|
|
@@ -650,9 +698,18 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
650
698
|
detachInstances(args: DetachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachInstancesCommandOutput) => void): void;
|
|
651
699
|
/**
|
|
652
700
|
* @public
|
|
653
|
-
* <
|
|
701
|
+
* <note>
|
|
702
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
703
|
+
* (<code>DetachTrafficSources</code>) that can detach multiple traffic sources
|
|
704
|
+
* types. While we continue to support <code>DetachLoadBalancers</code>, and you can
|
|
705
|
+
* use both the original <code>DetachLoadBalancers</code> API call and the new
|
|
706
|
+
* <code>DetachTrafficSources</code> API call on the same Auto Scaling group, we recommend
|
|
707
|
+
* using the new "traffic sources" API call to simplify how you manage traffic
|
|
708
|
+
* sources.</p>
|
|
709
|
+
* </note>
|
|
710
|
+
* <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
|
|
654
711
|
* <p>This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or
|
|
655
|
-
* Gateway Load
|
|
712
|
+
* Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
|
|
656
713
|
* <p>When you detach a load balancer, it enters the <code>Removing</code> state while
|
|
657
714
|
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
658
715
|
* can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
|
|
@@ -662,7 +719,16 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
662
719
|
detachLoadBalancers(args: DetachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void): void;
|
|
663
720
|
/**
|
|
664
721
|
* @public
|
|
665
|
-
* <
|
|
722
|
+
* <note>
|
|
723
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
724
|
+
* (<code>DetachTrafficSources</code>) that can detach multiple traffic sources
|
|
725
|
+
* types. While we continue to support <code>DetachLoadBalancerTargetGroups</code>, and
|
|
726
|
+
* you can use both the original <code>DetachLoadBalancerTargetGroups</code> API call
|
|
727
|
+
* and the new <code>DetachTrafficSources</code> API call on the same Auto Scaling group, we
|
|
728
|
+
* recommend using the new "traffic sources" API call to simplify how you manage
|
|
729
|
+
* traffic sources.</p>
|
|
730
|
+
* </note>
|
|
731
|
+
* <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
|
|
666
732
|
* <p>When you detach a target group, it enters the <code>Removing</code> state while
|
|
667
733
|
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
668
734
|
* can no longer describe the target group using the <a>DescribeLoadBalancerTargetGroups</a> API call. The instances remain
|
|
@@ -678,11 +744,10 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
678
744
|
detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
679
745
|
/**
|
|
680
746
|
* @public
|
|
681
|
-
* <p>
|
|
682
|
-
*
|
|
683
|
-
*
|
|
684
|
-
*
|
|
685
|
-
* <p>Detaches one or more traffic sources from the specified Auto Scaling group.</p>
|
|
747
|
+
* <p>Detaches one or more traffic sources from the specified Auto Scaling group.</p>
|
|
748
|
+
* <p>When you detach a taffic, it enters the <code>Removing</code> state while
|
|
749
|
+
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
750
|
+
* can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>
|
|
686
751
|
*/
|
|
687
752
|
detachTrafficSources(args: DetachTrafficSourcesCommandInput, options?: __HttpHandlerOptions): Promise<DetachTrafficSourcesCommandOutput>;
|
|
688
753
|
detachTrafficSources(args: DetachTrafficSourcesCommandInput, cb: (err: any, data?: DetachTrafficSourcesCommandOutput) => void): void;
|
|
@@ -934,8 +999,8 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
934
999
|
* <p>There is no desired configuration specified for the instance refresh.</p>
|
|
935
1000
|
* </li>
|
|
936
1001
|
* <li>
|
|
937
|
-
* <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager
|
|
938
|
-
*
|
|
1002
|
+
* <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead
|
|
1003
|
+
* of an AMI ID for the <code>ImageId</code> property.</p>
|
|
939
1004
|
* </li>
|
|
940
1005
|
* <li>
|
|
941
1006
|
* <p>The Auto Scaling group uses the launch template's <code>$Latest</code> or
|
|
@@ -35,8 +35,8 @@ export interface AttachInstancesCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* import { AutoScalingClient, AttachInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, AttachInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
-
* InstanceIds: [
|
|
38
|
+
* const input = { // AttachInstancesQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -19,7 +19,16 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
|
|
|
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>AttachTrafficSources</code>) that can attach multiple traffic sources
|
|
25
|
+
* types. While we continue to support <code>AttachLoadBalancerTargetGroups</code>, and
|
|
26
|
+
* you can use both the original <code>AttachLoadBalancerTargetGroups</code> API call
|
|
27
|
+
* and the new <code>AttachTrafficSources</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>Attaches one or more target groups to the specified Auto Scaling group.</p>
|
|
23
32
|
* <p>This operation is used with the following load balancer types: </p>
|
|
24
33
|
* <ul>
|
|
25
34
|
* <li>
|
|
@@ -47,9 +56,9 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
|
|
|
47
56
|
* import { AutoScalingClient, AttachLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
48
57
|
* // const { AutoScalingClient, AttachLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
49
58
|
* const client = new AutoScalingClient(config);
|
|
50
|
-
* const input = {
|
|
59
|
+
* const input = { // AttachLoadBalancerTargetGroupsType
|
|
51
60
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
52
|
-
* TargetGroupARNs: [ // required
|
|
61
|
+
* TargetGroupARNs: [ // TargetGroupARNs // required
|
|
53
62
|
* "STRING_VALUE",
|
|
54
63
|
* ],
|
|
55
64
|
* };
|
|
@@ -20,7 +20,13 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <note>
|
|
23
|
-
* <p>
|
|
23
|
+
* <p>This API call has been replaced with a new "traffic sources" API call
|
|
24
|
+
* (<code>AttachTrafficSources</code>) that can attach multiple traffic sources
|
|
25
|
+
* types. While we continue to support <code>AttachLoadBalancers</code>, and you can
|
|
26
|
+
* use both the original <code>AttachLoadBalancers</code> API call and the new
|
|
27
|
+
* <code>AttachTrafficSources</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>
|
|
24
30
|
* </note>
|
|
25
31
|
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
|
|
26
32
|
* running instances with these Classic Load Balancers.</p>
|
|
@@ -37,9 +43,9 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
|
|
|
37
43
|
* import { AutoScalingClient, AttachLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
38
44
|
* // const { AutoScalingClient, AttachLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
39
45
|
* const client = new AutoScalingClient(config);
|
|
40
|
-
* const input = {
|
|
46
|
+
* const input = { // AttachLoadBalancersType
|
|
41
47
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
42
|
-
* LoadBalancerNames: [ // required
|
|
48
|
+
* LoadBalancerNames: [ // LoadBalancerNames // required
|
|
43
49
|
* "STRING_VALUE",
|
|
44
50
|
* ],
|
|
45
51
|
* };
|
|
@@ -19,26 +19,42 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
22
|
+
* <p>Attaches one or more traffic sources to the specified Auto Scaling group.</p>
|
|
23
|
+
* <p>You can use any of the following as traffic sources for an Auto Scaling group:</p>
|
|
24
|
+
* <ul>
|
|
25
|
+
* <li>
|
|
26
|
+
* <p>Application Load Balancer</p>
|
|
27
|
+
* </li>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>Classic Load Balancer</p>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Network Load Balancer</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>Gateway Load Balancer</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>VPC Lattice</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* </ul>
|
|
29
41
|
* <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling
|
|
30
|
-
* group
|
|
42
|
+
* group. </p>
|
|
43
|
+
* <p>After the operation completes, use the <a>DescribeTrafficSources</a> API to
|
|
44
|
+
* return details about the state of the attachments between traffic sources and your Auto Scaling
|
|
45
|
+
* group. To detach a traffic source from the Auto Scaling group, call the <a>DetachTrafficSources</a> API.</p>
|
|
31
46
|
* @example
|
|
32
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
48
|
* ```javascript
|
|
34
49
|
* import { AutoScalingClient, AttachTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
50
|
* // const { AutoScalingClient, AttachTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
51
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
52
|
+
* const input = { // AttachTrafficSourcesType
|
|
38
53
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
|
-
* TrafficSources: [ // required
|
|
40
|
-
* {
|
|
41
|
-
* Identifier: "STRING_VALUE",
|
|
54
|
+
* TrafficSources: [ // TrafficSources // required
|
|
55
|
+
* { // TrafficSourceIdentifier
|
|
56
|
+
* Identifier: "STRING_VALUE", // required
|
|
57
|
+
* Type: "STRING_VALUE",
|
|
42
58
|
* },
|
|
43
59
|
* ],
|
|
44
60
|
* };
|
|
@@ -26,9 +26,9 @@ export interface BatchDeleteScheduledActionCommandOutput extends BatchDeleteSche
|
|
|
26
26
|
* import { AutoScalingClient, BatchDeleteScheduledActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, BatchDeleteScheduledActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // BatchDeleteScheduledActionType
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
-
* ScheduledActionNames: [ // required
|
|
31
|
+
* ScheduledActionNames: [ // ScheduledActionNames // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,10 +26,10 @@ export interface BatchPutScheduledUpdateGroupActionCommandOutput extends BatchPu
|
|
|
26
26
|
* import { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // BatchPutScheduledUpdateGroupActionType
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
-
* ScheduledUpdateGroupActions: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* ScheduledUpdateGroupActions: [ // ScheduledUpdateGroupActionRequests // required
|
|
32
|
+
* { // ScheduledUpdateGroupActionRequest
|
|
33
33
|
* ScheduledActionName: "STRING_VALUE", // required
|
|
34
34
|
* StartTime: new Date("TIMESTAMP"),
|
|
35
35
|
* EndTime: new Date("TIMESTAMP"),
|
|
@@ -33,7 +33,7 @@ export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefres
|
|
|
33
33
|
* import { AutoScalingClient, CancelInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
34
34
|
* // const { AutoScalingClient, CancelInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
35
35
|
* const client = new AutoScalingClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // CancelInstanceRefreshType
|
|
37
37
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
38
38
|
* };
|
|
39
39
|
* const command = new CancelInstanceRefreshCommand(input);
|
|
@@ -63,7 +63,7 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
|
|
|
63
63
|
* import { AutoScalingClient, CompleteLifecycleActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
64
64
|
* // const { AutoScalingClient, CompleteLifecycleActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
65
65
|
* const client = new AutoScalingClient(config);
|
|
66
|
-
* const input = {
|
|
66
|
+
* const input = { // CompleteLifecycleActionType
|
|
67
67
|
* LifecycleHookName: "STRING_VALUE", // required
|
|
68
68
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
69
69
|
* LifecycleActionToken: "STRING_VALUE",
|
|
@@ -43,50 +43,46 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* import { AutoScalingClient, CreateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
44
44
|
* // const { AutoScalingClient, CreateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
45
45
|
* const client = new AutoScalingClient(config);
|
|
46
|
-
* const input = {
|
|
46
|
+
* const input = { // CreateAutoScalingGroupType
|
|
47
47
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
48
48
|
* LaunchConfigurationName: "STRING_VALUE",
|
|
49
|
-
* LaunchTemplate: {
|
|
49
|
+
* LaunchTemplate: { // LaunchTemplateSpecification
|
|
50
50
|
* LaunchTemplateId: "STRING_VALUE",
|
|
51
51
|
* LaunchTemplateName: "STRING_VALUE",
|
|
52
52
|
* Version: "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
|
-
* MixedInstancesPolicy: {
|
|
55
|
-
* LaunchTemplate: {
|
|
54
|
+
* MixedInstancesPolicy: { // MixedInstancesPolicy
|
|
55
|
+
* LaunchTemplate: { // LaunchTemplate
|
|
56
56
|
* LaunchTemplateSpecification: {
|
|
57
57
|
* LaunchTemplateId: "STRING_VALUE",
|
|
58
58
|
* LaunchTemplateName: "STRING_VALUE",
|
|
59
59
|
* Version: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
|
-
* Overrides: [
|
|
62
|
-
* {
|
|
61
|
+
* Overrides: [ // Overrides
|
|
62
|
+
* { // LaunchTemplateOverrides
|
|
63
63
|
* InstanceType: "STRING_VALUE",
|
|
64
64
|
* WeightedCapacity: "STRING_VALUE",
|
|
65
|
-
* LaunchTemplateSpecification:
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* Version: "<LaunchTemplateSpecification>",
|
|
69
|
-
* },
|
|
70
|
-
* InstanceRequirements: {
|
|
71
|
-
* VCpuCount: {
|
|
65
|
+
* LaunchTemplateSpecification: "<LaunchTemplateSpecification>",
|
|
66
|
+
* InstanceRequirements: { // InstanceRequirements
|
|
67
|
+
* VCpuCount: { // VCpuCountRequest
|
|
72
68
|
* Min: Number("int"), // required
|
|
73
69
|
* Max: Number("int"),
|
|
74
70
|
* },
|
|
75
|
-
* MemoryMiB: {
|
|
71
|
+
* MemoryMiB: { // MemoryMiBRequest
|
|
76
72
|
* Min: Number("int"), // required
|
|
77
73
|
* Max: Number("int"),
|
|
78
74
|
* },
|
|
79
|
-
* CpuManufacturers: [
|
|
75
|
+
* CpuManufacturers: [ // CpuManufacturers
|
|
80
76
|
* "intel" || "amd" || "amazon-web-services",
|
|
81
77
|
* ],
|
|
82
|
-
* MemoryGiBPerVCpu: {
|
|
78
|
+
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
|
|
83
79
|
* Min: Number("double"),
|
|
84
80
|
* Max: Number("double"),
|
|
85
81
|
* },
|
|
86
|
-
* ExcludedInstanceTypes: [
|
|
82
|
+
* ExcludedInstanceTypes: [ // ExcludedInstanceTypes
|
|
87
83
|
* "STRING_VALUE",
|
|
88
84
|
* ],
|
|
89
|
-
* InstanceGenerations: [
|
|
85
|
+
* InstanceGenerations: [ // InstanceGenerations
|
|
90
86
|
* "current" || "previous",
|
|
91
87
|
* ],
|
|
92
88
|
* SpotMaxPricePercentageOverLowestPrice: Number("int"),
|
|
@@ -94,51 +90,51 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
94
90
|
* BareMetal: "included" || "excluded" || "required",
|
|
95
91
|
* BurstablePerformance: "included" || "excluded" || "required",
|
|
96
92
|
* RequireHibernateSupport: true || false,
|
|
97
|
-
* NetworkInterfaceCount: {
|
|
93
|
+
* NetworkInterfaceCount: { // NetworkInterfaceCountRequest
|
|
98
94
|
* Min: Number("int"),
|
|
99
95
|
* Max: Number("int"),
|
|
100
96
|
* },
|
|
101
97
|
* LocalStorage: "included" || "excluded" || "required",
|
|
102
|
-
* LocalStorageTypes: [
|
|
98
|
+
* LocalStorageTypes: [ // LocalStorageTypes
|
|
103
99
|
* "hdd" || "ssd",
|
|
104
100
|
* ],
|
|
105
|
-
* TotalLocalStorageGB: {
|
|
101
|
+
* TotalLocalStorageGB: { // TotalLocalStorageGBRequest
|
|
106
102
|
* Min: Number("double"),
|
|
107
103
|
* Max: Number("double"),
|
|
108
104
|
* },
|
|
109
|
-
* BaselineEbsBandwidthMbps: {
|
|
105
|
+
* BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
|
|
110
106
|
* Min: Number("int"),
|
|
111
107
|
* Max: Number("int"),
|
|
112
108
|
* },
|
|
113
|
-
* AcceleratorTypes: [
|
|
109
|
+
* AcceleratorTypes: [ // AcceleratorTypes
|
|
114
110
|
* "gpu" || "fpga" || "inference",
|
|
115
111
|
* ],
|
|
116
|
-
* AcceleratorCount: {
|
|
112
|
+
* AcceleratorCount: { // AcceleratorCountRequest
|
|
117
113
|
* Min: Number("int"),
|
|
118
114
|
* Max: Number("int"),
|
|
119
115
|
* },
|
|
120
|
-
* AcceleratorManufacturers: [
|
|
116
|
+
* AcceleratorManufacturers: [ // AcceleratorManufacturers
|
|
121
117
|
* "nvidia" || "amd" || "amazon-web-services" || "xilinx",
|
|
122
118
|
* ],
|
|
123
|
-
* AcceleratorNames: [
|
|
119
|
+
* AcceleratorNames: [ // AcceleratorNames
|
|
124
120
|
* "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
|
|
125
121
|
* ],
|
|
126
|
-
* AcceleratorTotalMemoryMiB: {
|
|
122
|
+
* AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
|
|
127
123
|
* Min: Number("int"),
|
|
128
124
|
* Max: Number("int"),
|
|
129
125
|
* },
|
|
130
|
-
* NetworkBandwidthGbps: {
|
|
126
|
+
* NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
|
|
131
127
|
* Min: Number("double"),
|
|
132
128
|
* Max: Number("double"),
|
|
133
129
|
* },
|
|
134
|
-
* AllowedInstanceTypes: [
|
|
130
|
+
* AllowedInstanceTypes: [ // AllowedInstanceTypes
|
|
135
131
|
* "STRING_VALUE",
|
|
136
132
|
* ],
|
|
137
133
|
* },
|
|
138
134
|
* },
|
|
139
135
|
* ],
|
|
140
136
|
* },
|
|
141
|
-
* InstancesDistribution: {
|
|
137
|
+
* InstancesDistribution: { // InstancesDistribution
|
|
142
138
|
* OnDemandAllocationStrategy: "STRING_VALUE",
|
|
143
139
|
* OnDemandBaseCapacity: Number("int"),
|
|
144
140
|
* OnDemandPercentageAboveBaseCapacity: Number("int"),
|
|
@@ -152,26 +148,26 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
152
148
|
* MaxSize: Number("int"), // required
|
|
153
149
|
* DesiredCapacity: Number("int"),
|
|
154
150
|
* DefaultCooldown: Number("int"),
|
|
155
|
-
* AvailabilityZones: [
|
|
151
|
+
* AvailabilityZones: [ // AvailabilityZones
|
|
156
152
|
* "STRING_VALUE",
|
|
157
153
|
* ],
|
|
158
|
-
* LoadBalancerNames: [
|
|
154
|
+
* LoadBalancerNames: [ // LoadBalancerNames
|
|
159
155
|
* "STRING_VALUE",
|
|
160
156
|
* ],
|
|
161
|
-
* TargetGroupARNs: [
|
|
157
|
+
* TargetGroupARNs: [ // TargetGroupARNs
|
|
162
158
|
* "STRING_VALUE",
|
|
163
159
|
* ],
|
|
164
160
|
* HealthCheckType: "STRING_VALUE",
|
|
165
161
|
* HealthCheckGracePeriod: Number("int"),
|
|
166
162
|
* PlacementGroup: "STRING_VALUE",
|
|
167
163
|
* VPCZoneIdentifier: "STRING_VALUE",
|
|
168
|
-
* TerminationPolicies: [
|
|
164
|
+
* TerminationPolicies: [ // TerminationPolicies
|
|
169
165
|
* "STRING_VALUE",
|
|
170
166
|
* ],
|
|
171
167
|
* NewInstancesProtectedFromScaleIn: true || false,
|
|
172
168
|
* CapacityRebalance: true || false,
|
|
173
|
-
* LifecycleHookSpecificationList: [
|
|
174
|
-
* {
|
|
169
|
+
* LifecycleHookSpecificationList: [ // LifecycleHookSpecifications
|
|
170
|
+
* { // LifecycleHookSpecification
|
|
175
171
|
* LifecycleHookName: "STRING_VALUE", // required
|
|
176
172
|
* LifecycleTransition: "STRING_VALUE", // required
|
|
177
173
|
* NotificationMetadata: "STRING_VALUE",
|
|
@@ -181,8 +177,8 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
181
177
|
* RoleARN: "STRING_VALUE",
|
|
182
178
|
* },
|
|
183
179
|
* ],
|
|
184
|
-
* Tags: [
|
|
185
|
-
* {
|
|
180
|
+
* Tags: [ // Tags
|
|
181
|
+
* { // Tag
|
|
186
182
|
* ResourceId: "STRING_VALUE",
|
|
187
183
|
* ResourceType: "STRING_VALUE",
|
|
188
184
|
* Key: "STRING_VALUE", // required
|
|
@@ -195,9 +191,10 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
195
191
|
* Context: "STRING_VALUE",
|
|
196
192
|
* DesiredCapacityType: "STRING_VALUE",
|
|
197
193
|
* DefaultInstanceWarmup: Number("int"),
|
|
198
|
-
* TrafficSources: [
|
|
199
|
-
* {
|
|
200
|
-
* Identifier: "STRING_VALUE",
|
|
194
|
+
* TrafficSources: [ // TrafficSources
|
|
195
|
+
* { // TrafficSourceIdentifier
|
|
196
|
+
* Identifier: "STRING_VALUE", // required
|
|
197
|
+
* Type: "STRING_VALUE",
|
|
201
198
|
* },
|
|
202
199
|
* ],
|
|
203
200
|
* };
|
|
@@ -38,15 +38,15 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
38
38
|
* import { AutoScalingClient, CreateLaunchConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
39
39
|
* // const { AutoScalingClient, CreateLaunchConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
40
40
|
* const client = new AutoScalingClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // CreateLaunchConfigurationType
|
|
42
42
|
* LaunchConfigurationName: "STRING_VALUE", // required
|
|
43
43
|
* ImageId: "STRING_VALUE",
|
|
44
44
|
* KeyName: "STRING_VALUE",
|
|
45
|
-
* SecurityGroups: [
|
|
45
|
+
* SecurityGroups: [ // SecurityGroups
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
48
|
* ClassicLinkVPCId: "STRING_VALUE",
|
|
49
|
-
* ClassicLinkVPCSecurityGroups: [
|
|
49
|
+
* ClassicLinkVPCSecurityGroups: [ // ClassicLinkVPCSecurityGroups
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* UserData: "STRING_VALUE",
|
|
@@ -54,11 +54,11 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
54
54
|
* InstanceType: "STRING_VALUE",
|
|
55
55
|
* KernelId: "STRING_VALUE",
|
|
56
56
|
* RamdiskId: "STRING_VALUE",
|
|
57
|
-
* BlockDeviceMappings: [
|
|
58
|
-
* {
|
|
57
|
+
* BlockDeviceMappings: [ // BlockDeviceMappings
|
|
58
|
+
* { // BlockDeviceMapping
|
|
59
59
|
* VirtualName: "STRING_VALUE",
|
|
60
60
|
* DeviceName: "STRING_VALUE", // required
|
|
61
|
-
* Ebs: {
|
|
61
|
+
* Ebs: { // Ebs
|
|
62
62
|
* SnapshotId: "STRING_VALUE",
|
|
63
63
|
* VolumeSize: Number("int"),
|
|
64
64
|
* VolumeType: "STRING_VALUE",
|
|
@@ -70,7 +70,7 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
70
70
|
* NoDevice: true || false,
|
|
71
71
|
* },
|
|
72
72
|
* ],
|
|
73
|
-
* InstanceMonitoring: {
|
|
73
|
+
* InstanceMonitoring: { // InstanceMonitoring
|
|
74
74
|
* Enabled: true || false,
|
|
75
75
|
* },
|
|
76
76
|
* SpotPrice: "STRING_VALUE",
|
|
@@ -78,7 +78,7 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
78
78
|
* EbsOptimized: true || false,
|
|
79
79
|
* AssociatePublicIpAddress: true || false,
|
|
80
80
|
* PlacementTenancy: "STRING_VALUE",
|
|
81
|
-
* MetadataOptions: {
|
|
81
|
+
* MetadataOptions: { // InstanceMetadataOptions
|
|
82
82
|
* HttpTokens: "optional" || "required",
|
|
83
83
|
* HttpPutResponseHopLimit: Number("int"),
|
|
84
84
|
* HttpEndpoint: "disabled" || "enabled",
|
|
@@ -30,9 +30,9 @@ export interface CreateOrUpdateTagsCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { AutoScalingClient, CreateOrUpdateTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, CreateOrUpdateTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* Tags: [ // required
|
|
35
|
-
* {
|
|
33
|
+
* const input = { // CreateOrUpdateTagsType
|
|
34
|
+
* Tags: [ // Tags // required
|
|
35
|
+
* { // Tag
|
|
36
36
|
* ResourceId: "STRING_VALUE",
|
|
37
37
|
* ResourceType: "STRING_VALUE",
|
|
38
38
|
* Key: "STRING_VALUE", // required
|