@aws-sdk/client-auto-scaling 3.226.0 → 3.229.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 (91) hide show
  1. package/dist-cjs/AutoScaling.js +45 -0
  2. package/dist-cjs/commands/AttachTrafficSourcesCommand.js +46 -0
  3. package/dist-cjs/commands/DescribeTrafficSourcesCommand.js +46 -0
  4. package/dist-cjs/commands/DetachTrafficSourcesCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/endpoint/ruleset.js +1 -10
  7. package/dist-cjs/models/models_0.js +45 -4
  8. package/dist-cjs/protocols/Aws_query.js +420 -3
  9. package/dist-cjs/runtimeConfig.browser.js +3 -3
  10. package/dist-cjs/runtimeConfig.js +2 -1
  11. package/dist-es/AutoScaling.js +45 -0
  12. package/dist-es/commands/AttachTrafficSourcesCommand.js +42 -0
  13. package/dist-es/commands/DescribeTrafficSourcesCommand.js +42 -0
  14. package/dist-es/commands/DetachTrafficSourcesCommand.js +42 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/endpoint/ruleset.js +1 -10
  17. package/dist-es/models/models_0.js +30 -0
  18. package/dist-es/protocols/Aws_query.js +411 -0
  19. package/dist-es/runtimeConfig.browser.js +1 -1
  20. package/dist-es/runtimeConfig.js +2 -1
  21. package/dist-types/AutoScaling.d.ts +217 -183
  22. package/dist-types/AutoScalingClient.d.ts +7 -17
  23. package/dist-types/commands/AttachInstancesCommand.d.ts +3 -3
  24. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -8
  25. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +5 -5
  26. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +45 -0
  27. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
  28. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +11 -11
  29. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +4 -4
  30. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +2 -2
  32. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +5 -5
  33. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
  35. package/dist-types/commands/DeletePolicyCommand.d.ts +2 -2
  36. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +11 -11
  39. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +2 -2
  40. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +10 -10
  41. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +8 -8
  42. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +8 -3
  43. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +4 -4
  44. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +2 -2
  45. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -3
  47. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +41 -0
  49. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
  50. package/dist-types/commands/DetachInstancesCommand.d.ts +4 -4
  51. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +6 -1
  52. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +2 -2
  53. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +41 -0
  54. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
  55. package/dist-types/commands/EnterStandbyCommand.d.ts +3 -3
  56. package/dist-types/commands/ExitStandbyCommand.d.ts +2 -2
  57. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +3 -3
  58. package/dist-types/commands/PutLifecycleHookCommand.d.ts +14 -14
  59. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +3 -3
  60. package/dist-types/commands/PutScalingPolicyCommand.d.ts +3 -3
  61. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +3 -3
  62. package/dist-types/commands/PutWarmPoolCommand.d.ts +2 -2
  63. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +11 -11
  64. package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
  65. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +2 -2
  66. package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
  67. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +2 -2
  68. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +2 -2
  69. package/dist-types/commands/SuspendProcessesCommand.d.ts +2 -2
  70. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +3 -3
  71. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +9 -9
  72. package/dist-types/commands/index.d.ts +3 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  74. package/dist-types/models/models_0.d.ts +1040 -790
  75. package/dist-types/protocols/Aws_query.d.ts +9 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/ts3.4/AutoScaling.d.ts +51 -0
  80. package/dist-types/ts3.4/AutoScalingClient.d.ts +18 -0
  81. package/dist-types/ts3.4/commands/AttachTrafficSourcesCommand.d.ts +41 -0
  82. package/dist-types/ts3.4/commands/DescribeTrafficSourcesCommand.d.ts +41 -0
  83. package/dist-types/ts3.4/commands/DetachTrafficSourcesCommand.d.ts +41 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  86. package/dist-types/ts3.4/models/models_0.d.ts +75 -3
  87. package/dist-types/ts3.4/protocols/Aws_query.d.ts +36 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
  91. package/package.json +5 -4
@@ -15,6 +15,10 @@ import {
15
15
  AttachLoadBalancerTargetGroupsCommandInput,
16
16
  AttachLoadBalancerTargetGroupsCommandOutput,
17
17
  } from "../commands/AttachLoadBalancerTargetGroupsCommand";
18
+ import {
19
+ AttachTrafficSourcesCommandInput,
20
+ AttachTrafficSourcesCommandOutput,
21
+ } from "../commands/AttachTrafficSourcesCommand";
18
22
  import {
19
23
  BatchDeleteScheduledActionCommandInput,
20
24
  BatchDeleteScheduledActionCommandOutput,
@@ -151,6 +155,10 @@ import {
151
155
  DescribeTerminationPolicyTypesCommandInput,
152
156
  DescribeTerminationPolicyTypesCommandOutput,
153
157
  } from "../commands/DescribeTerminationPolicyTypesCommand";
158
+ import {
159
+ DescribeTrafficSourcesCommandInput,
160
+ DescribeTrafficSourcesCommandOutput,
161
+ } from "../commands/DescribeTrafficSourcesCommand";
154
162
  import {
155
163
  DescribeWarmPoolCommandInput,
156
164
  DescribeWarmPoolCommandOutput,
@@ -167,6 +175,10 @@ import {
167
175
  DetachLoadBalancerTargetGroupsCommandInput,
168
176
  DetachLoadBalancerTargetGroupsCommandOutput,
169
177
  } from "../commands/DetachLoadBalancerTargetGroupsCommand";
178
+ import {
179
+ DetachTrafficSourcesCommandInput,
180
+ DetachTrafficSourcesCommandOutput,
181
+ } from "../commands/DetachTrafficSourcesCommand";
170
182
  import {
171
183
  DisableMetricsCollectionCommandInput,
172
184
  DisableMetricsCollectionCommandOutput,
@@ -259,6 +271,10 @@ export declare const serializeAws_queryAttachLoadBalancerTargetGroupsCommand: (
259
271
  input: AttachLoadBalancerTargetGroupsCommandInput,
260
272
  context: __SerdeContext
261
273
  ) => Promise<__HttpRequest>;
274
+ export declare const serializeAws_queryAttachTrafficSourcesCommand: (
275
+ input: AttachTrafficSourcesCommandInput,
276
+ context: __SerdeContext
277
+ ) => Promise<__HttpRequest>;
262
278
  export declare const serializeAws_queryBatchDeleteScheduledActionCommand: (
263
279
  input: BatchDeleteScheduledActionCommandInput,
264
280
  context: __SerdeContext
@@ -395,6 +411,10 @@ export declare const serializeAws_queryDescribeTerminationPolicyTypesCommand: (
395
411
  input: DescribeTerminationPolicyTypesCommandInput,
396
412
  context: __SerdeContext
397
413
  ) => Promise<__HttpRequest>;
414
+ export declare const serializeAws_queryDescribeTrafficSourcesCommand: (
415
+ input: DescribeTrafficSourcesCommandInput,
416
+ context: __SerdeContext
417
+ ) => Promise<__HttpRequest>;
398
418
  export declare const serializeAws_queryDescribeWarmPoolCommand: (
399
419
  input: DescribeWarmPoolCommandInput,
400
420
  context: __SerdeContext
@@ -411,6 +431,10 @@ export declare const serializeAws_queryDetachLoadBalancerTargetGroupsCommand: (
411
431
  input: DetachLoadBalancerTargetGroupsCommandInput,
412
432
  context: __SerdeContext
413
433
  ) => Promise<__HttpRequest>;
434
+ export declare const serializeAws_queryDetachTrafficSourcesCommand: (
435
+ input: DetachTrafficSourcesCommandInput,
436
+ context: __SerdeContext
437
+ ) => Promise<__HttpRequest>;
414
438
  export declare const serializeAws_queryDisableMetricsCollectionCommand: (
415
439
  input: DisableMetricsCollectionCommandInput,
416
440
  context: __SerdeContext
@@ -503,6 +527,10 @@ export declare const deserializeAws_queryAttachLoadBalancerTargetGroupsCommand:
503
527
  output: __HttpResponse,
504
528
  context: __SerdeContext
505
529
  ) => Promise<AttachLoadBalancerTargetGroupsCommandOutput>;
530
+ export declare const deserializeAws_queryAttachTrafficSourcesCommand: (
531
+ output: __HttpResponse,
532
+ context: __SerdeContext
533
+ ) => Promise<AttachTrafficSourcesCommandOutput>;
506
534
  export declare const deserializeAws_queryBatchDeleteScheduledActionCommand: (
507
535
  output: __HttpResponse,
508
536
  context: __SerdeContext
@@ -639,6 +667,10 @@ export declare const deserializeAws_queryDescribeTerminationPolicyTypesCommand:
639
667
  output: __HttpResponse,
640
668
  context: __SerdeContext
641
669
  ) => Promise<DescribeTerminationPolicyTypesCommandOutput>;
670
+ export declare const deserializeAws_queryDescribeTrafficSourcesCommand: (
671
+ output: __HttpResponse,
672
+ context: __SerdeContext
673
+ ) => Promise<DescribeTrafficSourcesCommandOutput>;
642
674
  export declare const deserializeAws_queryDescribeWarmPoolCommand: (
643
675
  output: __HttpResponse,
644
676
  context: __SerdeContext
@@ -655,6 +687,10 @@ export declare const deserializeAws_queryDetachLoadBalancerTargetGroupsCommand:
655
687
  output: __HttpResponse,
656
688
  context: __SerdeContext
657
689
  ) => Promise<DetachLoadBalancerTargetGroupsCommandOutput>;
690
+ export declare const deserializeAws_queryDetachTrafficSourcesCommand: (
691
+ output: __HttpResponse,
692
+ context: __SerdeContext
693
+ ) => Promise<DetachTrafficSourcesCommandOutput>;
658
694
  export declare const deserializeAws_queryDisableMetricsCollectionCommand: (
659
695
  output: __HttpResponse,
660
696
  context: __SerdeContext
@@ -62,7 +62,10 @@ export declare const getRuntimeConfig: (config: AutoScalingClientConfig) => {
62
62
  }
63
63
  ) => import("@aws-sdk/types").EndpointV2;
64
64
  tls?: boolean | undefined;
65
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
65
+ retryStrategy?:
66
+ | import("@aws-sdk/types").RetryStrategy
67
+ | import("@aws-sdk/types").RetryStrategyV2
68
+ | undefined;
66
69
  credentials?:
67
70
  | import("@aws-sdk/types").AwsCredentialIdentity
68
71
  | import("@aws-sdk/types").Provider<
@@ -62,7 +62,10 @@ export declare const getRuntimeConfig: (config: AutoScalingClientConfig) => {
62
62
  }
63
63
  ) => import("@aws-sdk/types").EndpointV2;
64
64
  tls?: boolean | undefined;
65
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
65
+ retryStrategy?:
66
+ | import("@aws-sdk/types").RetryStrategy
67
+ | import("@aws-sdk/types").RetryStrategyV2
68
+ | undefined;
66
69
  credentials?:
67
70
  | import("@aws-sdk/types").AwsCredentialIdentity
68
71
  | import("@aws-sdk/types").Provider<
@@ -51,7 +51,10 @@ export declare const getRuntimeConfig: (config: AutoScalingClientConfig) => {
51
51
  }
52
52
  ) => import("@aws-sdk/types").EndpointV2;
53
53
  tls?: boolean | undefined;
54
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
54
+ retryStrategy?:
55
+ | import("@aws-sdk/types").RetryStrategy
56
+ | import("@aws-sdk/types").RetryStrategyV2
57
+ | undefined;
55
58
  credentials?:
56
59
  | import("@aws-sdk/types").AwsCredentialIdentity
57
60
  | import("@aws-sdk/types").Provider<
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.226.0",
4
+ "version": "3.229.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.226.0",
22
+ "@aws-sdk/client-sts": "3.229.0",
23
23
  "@aws-sdk/config-resolver": "3.226.0",
24
- "@aws-sdk/credential-provider-node": "3.226.0",
24
+ "@aws-sdk/credential-provider-node": "3.229.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.226.0",
26
26
  "@aws-sdk/hash-node": "3.226.0",
27
27
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-host-header": "3.226.0",
31
31
  "@aws-sdk/middleware-logger": "3.226.0",
32
32
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
33
- "@aws-sdk/middleware-retry": "3.226.0",
33
+ "@aws-sdk/middleware-retry": "3.229.0",
34
34
  "@aws-sdk/middleware-serde": "3.226.0",
35
35
  "@aws-sdk/middleware-signing": "3.226.0",
36
36
  "@aws-sdk/middleware-stack": "3.226.0",
@@ -47,6 +47,7 @@
47
47
  "@aws-sdk/util-defaults-mode-browser": "3.226.0",
48
48
  "@aws-sdk/util-defaults-mode-node": "3.226.0",
49
49
  "@aws-sdk/util-endpoints": "3.226.0",
50
+ "@aws-sdk/util-retry": "3.229.0",
50
51
  "@aws-sdk/util-user-agent-browser": "3.226.0",
51
52
  "@aws-sdk/util-user-agent-node": "3.226.0",
52
53
  "@aws-sdk/util-utf8-browser": "3.188.0",