@aws-sdk/client-auto-scaling 3.301.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.
Files changed (27) hide show
  1. package/dist-cjs/models/models_0.js +167 -192
  2. package/dist-cjs/pagination/DescribeTrafficSourcesPaginator.js +29 -0
  3. package/dist-cjs/pagination/index.js +1 -0
  4. package/dist-cjs/protocols/Aws_query.js +12 -0
  5. package/dist-es/models/models_0.js +167 -192
  6. package/dist-es/pagination/DescribeTrafficSourcesPaginator.js +25 -0
  7. package/dist-es/pagination/index.js +1 -0
  8. package/dist-es/protocols/Aws_query.js +12 -0
  9. package/dist-types/AutoScaling.d.ts +93 -28
  10. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +10 -1
  11. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +7 -1
  12. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +25 -9
  13. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +2 -1
  14. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +10 -1
  15. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +11 -2
  16. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +6 -6
  17. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +10 -1
  18. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +11 -2
  19. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +6 -6
  20. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +2 -2
  21. package/dist-types/models/models_0.d.ts +432 -238
  22. package/dist-types/pagination/DescribeTrafficSourcesPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +220 -168
  25. package/dist-types/ts3.4/pagination/DescribeTrafficSourcesPaginator.d.ts +11 -0
  26. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  27. 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>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation instead.</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
- * <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
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
- * <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
142
- * Do not use this API for production workloads. This API is also subject to change.</b>
143
- * </p>
144
- * <p>Attaches one or more traffic sources to the specified Auto Scaling group.</p>
145
- * <p>To describe the traffic sources for an Auto Scaling group, call the <a>DescribeTrafficSources</a> API. To detach a traffic source from the Auto Scaling
146
- * group, call the <a>DetachTrafficSources</a> API.</p>
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.</p>
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
- * <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
478
- * <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancer, use the
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
- * <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
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
- * <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
619
- * Do not use this API for production workloads. This API is also subject to change.</b>
620
- * </p>
621
- * <p>Gets information about the traffic sources for the specified Auto Scaling group.</p>
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
- * <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
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 Balancer, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
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
- * <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
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
- * <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
683
- * Do not use this API for production workloads. This API is also subject to change.</b>
684
- * </p>
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
- * parameter instead of an AMI ID for the <code>ImageId</code> property.</p>
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
@@ -19,7 +19,16 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
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>
@@ -20,7 +20,13 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
20
20
  /**
21
21
  * @public
22
22
  * <note>
23
- * <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation instead.</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>
@@ -19,15 +19,30 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>
23
- * <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
24
- * Do not use this API for production workloads. This API is also subject to change.</b>
25
- * </p>
26
- * <p>Attaches one or more traffic sources to the specified Auto Scaling group.</p>
27
- * <p>To describe the traffic sources for an Auto Scaling group, call the <a>DescribeTrafficSources</a> API. To detach a traffic source from the Auto Scaling
28
- * group, call the <a>DetachTrafficSources</a> API.</p>
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.</p>
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
@@ -38,7 +53,8 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
38
53
  * AutoScalingGroupName: "STRING_VALUE", // required
39
54
  * TrafficSources: [ // TrafficSources // required
40
55
  * { // TrafficSourceIdentifier
41
- * Identifier: "STRING_VALUE",
56
+ * Identifier: "STRING_VALUE", // required
57
+ * Type: "STRING_VALUE",
42
58
  * },
43
59
  * ],
44
60
  * };
@@ -193,7 +193,8 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
193
193
  * DefaultInstanceWarmup: Number("int"),
194
194
  * TrafficSources: [ // TrafficSources
195
195
  * { // TrafficSourceIdentifier
196
- * Identifier: "STRING_VALUE",
196
+ * Identifier: "STRING_VALUE", // required
197
+ * Type: "STRING_VALUE",
197
198
  * },
198
199
  * ],
199
200
  * };
@@ -19,7 +19,16 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
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
@@ -19,8 +19,17 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
23
- * <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancer, use the
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
@@ -19,11 +19,11 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>
23
- * <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
24
- * Do not use this API for production workloads. This API is also subject to change.</b>
25
- * </p>
26
- * <p>Gets information about the traffic sources for the specified Auto Scaling group.</p>
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
@@ -32,7 +32,7 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
32
32
  * const client = new AutoScalingClient(config);
33
33
  * const input = { // DescribeTrafficSourcesRequest
34
34
  * AutoScalingGroupName: "STRING_VALUE", // required
35
- * TrafficSourceType: "STRING_VALUE", // required
35
+ * TrafficSourceType: "STRING_VALUE",
36
36
  * NextToken: "STRING_VALUE",
37
37
  * MaxRecords: Number("int"),
38
38
  * };
@@ -19,7 +19,16 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
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
@@ -19,9 +19,18 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
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 Balancer, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
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>
@@ -19,11 +19,10 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>
23
- * <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
24
- * Do not use this API for production workloads. This API is also subject to change.</b>
25
- * </p>
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
@@ -34,7 +33,8 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
34
33
  * AutoScalingGroupName: "STRING_VALUE", // required
35
34
  * TrafficSources: [ // TrafficSources // required
36
35
  * { // TrafficSourceIdentifier
37
- * Identifier: "STRING_VALUE",
36
+ * Identifier: "STRING_VALUE", // required
37
+ * Type: "STRING_VALUE",
38
38
  * },
39
39
  * ],
40
40
  * };
@@ -32,8 +32,8 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
32
32
  * <p>There is no desired configuration specified for the instance refresh.</p>
33
33
  * </li>
34
34
  * <li>
35
- * <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager
36
- * parameter instead of an AMI ID for the <code>ImageId</code> property.</p>
35
+ * <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead
36
+ * of an AMI ID for the <code>ImageId</code> property.</p>
37
37
  * </li>
38
38
  * <li>
39
39
  * <p>The Auto Scaling group uses the launch template's <code>$Latest</code> or