@aws-sdk/client-auto-scaling 3.299.0 → 3.300.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 (66) hide show
  1. package/dist-types/commands/AttachInstancesCommand.d.ts +6 -0
  2. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +6 -0
  3. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +6 -0
  4. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +8 -0
  5. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +6 -0
  6. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +15 -0
  7. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +3 -0
  8. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +7 -0
  9. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +158 -0
  10. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +46 -0
  11. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +11 -0
  12. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +4 -0
  16. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteTagsCommand.d.ts +11 -0
  19. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +4 -0
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +15 -0
  23. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +7 -0
  24. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -0
  25. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +8 -0
  26. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +7 -0
  27. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -0
  28. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +6 -0
  29. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +5 -0
  30. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +7 -0
  33. package/dist-types/commands/DescribePoliciesCommand.d.ts +11 -0
  34. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +9 -0
  35. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +10 -0
  37. package/dist-types/commands/DescribeTagsCommand.d.ts +12 -0
  38. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +6 -0
  40. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +5 -0
  41. package/dist-types/commands/DetachInstancesCommand.d.ts +7 -0
  42. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +6 -0
  43. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +6 -0
  44. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +8 -0
  45. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +6 -0
  46. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +7 -0
  47. package/dist-types/commands/EnterStandbyCommand.d.ts +7 -0
  48. package/dist-types/commands/ExecutePolicyCommand.d.ts +7 -0
  49. package/dist-types/commands/ExitStandbyCommand.d.ts +6 -0
  50. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +6 -0
  51. package/dist-types/commands/PutLifecycleHookCommand.d.ts +10 -0
  52. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +7 -0
  53. package/dist-types/commands/PutScalingPolicyCommand.d.ts +148 -0
  54. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +12 -0
  55. package/dist-types/commands/PutWarmPoolCommand.d.ts +9 -0
  56. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +6 -0
  57. package/dist-types/commands/ResumeProcessesCommand.d.ts +6 -0
  58. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +3 -0
  59. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +5 -0
  60. package/dist-types/commands/SetInstanceHealthCommand.d.ts +5 -0
  61. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +7 -0
  62. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +119 -0
  63. package/dist-types/commands/SuspendProcessesCommand.d.ts +6 -0
  64. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +4 -0
  65. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +126 -0
  66. package/package.json +8 -8
@@ -49,6 +49,125 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
49
49
  * import { AutoScalingClient, StartInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
50
50
  * // const { AutoScalingClient, StartInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
51
51
  * const client = new AutoScalingClient(config);
52
+ * const input = {
53
+ * AutoScalingGroupName: "STRING_VALUE", // required
54
+ * Strategy: "Rolling",
55
+ * DesiredConfiguration: {
56
+ * LaunchTemplate: {
57
+ * LaunchTemplateId: "STRING_VALUE",
58
+ * LaunchTemplateName: "STRING_VALUE",
59
+ * Version: "STRING_VALUE",
60
+ * },
61
+ * MixedInstancesPolicy: {
62
+ * LaunchTemplate: {
63
+ * LaunchTemplateSpecification: {
64
+ * LaunchTemplateId: "STRING_VALUE",
65
+ * LaunchTemplateName: "STRING_VALUE",
66
+ * Version: "STRING_VALUE",
67
+ * },
68
+ * Overrides: [
69
+ * {
70
+ * InstanceType: "STRING_VALUE",
71
+ * WeightedCapacity: "STRING_VALUE",
72
+ * LaunchTemplateSpecification: {
73
+ * LaunchTemplateId: "<LaunchTemplateSpecification>",
74
+ * LaunchTemplateName: "<LaunchTemplateSpecification>",
75
+ * Version: "<LaunchTemplateSpecification>",
76
+ * },
77
+ * InstanceRequirements: {
78
+ * VCpuCount: {
79
+ * Min: Number("int"), // required
80
+ * Max: Number("int"),
81
+ * },
82
+ * MemoryMiB: {
83
+ * Min: Number("int"), // required
84
+ * Max: Number("int"),
85
+ * },
86
+ * CpuManufacturers: [
87
+ * "intel" || "amd" || "amazon-web-services",
88
+ * ],
89
+ * MemoryGiBPerVCpu: {
90
+ * Min: Number("double"),
91
+ * Max: Number("double"),
92
+ * },
93
+ * ExcludedInstanceTypes: [
94
+ * "STRING_VALUE",
95
+ * ],
96
+ * InstanceGenerations: [
97
+ * "current" || "previous",
98
+ * ],
99
+ * SpotMaxPricePercentageOverLowestPrice: Number("int"),
100
+ * OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
101
+ * BareMetal: "included" || "excluded" || "required",
102
+ * BurstablePerformance: "included" || "excluded" || "required",
103
+ * RequireHibernateSupport: true || false,
104
+ * NetworkInterfaceCount: {
105
+ * Min: Number("int"),
106
+ * Max: Number("int"),
107
+ * },
108
+ * LocalStorage: "included" || "excluded" || "required",
109
+ * LocalStorageTypes: [
110
+ * "hdd" || "ssd",
111
+ * ],
112
+ * TotalLocalStorageGB: {
113
+ * Min: Number("double"),
114
+ * Max: Number("double"),
115
+ * },
116
+ * BaselineEbsBandwidthMbps: {
117
+ * Min: Number("int"),
118
+ * Max: Number("int"),
119
+ * },
120
+ * AcceleratorTypes: [
121
+ * "gpu" || "fpga" || "inference",
122
+ * ],
123
+ * AcceleratorCount: {
124
+ * Min: Number("int"),
125
+ * Max: Number("int"),
126
+ * },
127
+ * AcceleratorManufacturers: [
128
+ * "nvidia" || "amd" || "amazon-web-services" || "xilinx",
129
+ * ],
130
+ * AcceleratorNames: [
131
+ * "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
132
+ * ],
133
+ * AcceleratorTotalMemoryMiB: {
134
+ * Min: Number("int"),
135
+ * Max: Number("int"),
136
+ * },
137
+ * NetworkBandwidthGbps: {
138
+ * Min: Number("double"),
139
+ * Max: Number("double"),
140
+ * },
141
+ * AllowedInstanceTypes: [
142
+ * "STRING_VALUE",
143
+ * ],
144
+ * },
145
+ * },
146
+ * ],
147
+ * },
148
+ * InstancesDistribution: {
149
+ * OnDemandAllocationStrategy: "STRING_VALUE",
150
+ * OnDemandBaseCapacity: Number("int"),
151
+ * OnDemandPercentageAboveBaseCapacity: Number("int"),
152
+ * SpotAllocationStrategy: "STRING_VALUE",
153
+ * SpotInstancePools: Number("int"),
154
+ * SpotMaxPrice: "STRING_VALUE",
155
+ * },
156
+ * },
157
+ * },
158
+ * Preferences: {
159
+ * MinHealthyPercentage: Number("int"),
160
+ * InstanceWarmup: Number("int"),
161
+ * CheckpointPercentages: [
162
+ * Number("int"),
163
+ * ],
164
+ * CheckpointDelay: Number("int"),
165
+ * SkipMatching: true || false,
166
+ * AutoRollback: true || false,
167
+ * ScaleInProtectedInstances: "Refresh" || "Ignore" || "Wait",
168
+ * StandbyInstances: "Terminate" || "Ignore" || "Wait",
169
+ * },
170
+ * };
52
171
  * const command = new StartInstanceRefreshCommand(input);
53
172
  * const response = await client.send(command);
54
173
  * ```
@@ -32,6 +32,12 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
32
32
  * import { AutoScalingClient, SuspendProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
33
33
  * // const { AutoScalingClient, SuspendProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
34
34
  * const client = new AutoScalingClient(config);
35
+ * const input = {
36
+ * AutoScalingGroupName: "STRING_VALUE", // required
37
+ * ScalingProcesses: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
35
41
  * const command = new SuspendProcessesCommand(input);
36
42
  * const response = await client.send(command);
37
43
  * ```
@@ -37,6 +37,10 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
37
37
  * import { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
38
38
  * // const { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
39
39
  * const client = new AutoScalingClient(config);
40
+ * const input = {
41
+ * InstanceId: "STRING_VALUE", // required
42
+ * ShouldDecrementDesiredCapacity: true || false, // required
43
+ * };
40
44
  * const command = new TerminateInstanceInAutoScalingGroupCommand(input);
41
45
  * const response = await client.send(command);
42
46
  * ```
@@ -69,6 +69,132 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
69
69
  * import { AutoScalingClient, UpdateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
70
70
  * // const { AutoScalingClient, UpdateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
71
71
  * const client = new AutoScalingClient(config);
72
+ * const input = {
73
+ * AutoScalingGroupName: "STRING_VALUE", // required
74
+ * LaunchConfigurationName: "STRING_VALUE",
75
+ * LaunchTemplate: {
76
+ * LaunchTemplateId: "STRING_VALUE",
77
+ * LaunchTemplateName: "STRING_VALUE",
78
+ * Version: "STRING_VALUE",
79
+ * },
80
+ * MixedInstancesPolicy: {
81
+ * LaunchTemplate: {
82
+ * LaunchTemplateSpecification: {
83
+ * LaunchTemplateId: "STRING_VALUE",
84
+ * LaunchTemplateName: "STRING_VALUE",
85
+ * Version: "STRING_VALUE",
86
+ * },
87
+ * Overrides: [
88
+ * {
89
+ * InstanceType: "STRING_VALUE",
90
+ * WeightedCapacity: "STRING_VALUE",
91
+ * LaunchTemplateSpecification: {
92
+ * LaunchTemplateId: "<LaunchTemplateSpecification>",
93
+ * LaunchTemplateName: "<LaunchTemplateSpecification>",
94
+ * Version: "<LaunchTemplateSpecification>",
95
+ * },
96
+ * InstanceRequirements: {
97
+ * VCpuCount: {
98
+ * Min: Number("int"), // required
99
+ * Max: Number("int"),
100
+ * },
101
+ * MemoryMiB: {
102
+ * Min: Number("int"), // required
103
+ * Max: Number("int"),
104
+ * },
105
+ * CpuManufacturers: [
106
+ * "intel" || "amd" || "amazon-web-services",
107
+ * ],
108
+ * MemoryGiBPerVCpu: {
109
+ * Min: Number("double"),
110
+ * Max: Number("double"),
111
+ * },
112
+ * ExcludedInstanceTypes: [
113
+ * "STRING_VALUE",
114
+ * ],
115
+ * InstanceGenerations: [
116
+ * "current" || "previous",
117
+ * ],
118
+ * SpotMaxPricePercentageOverLowestPrice: Number("int"),
119
+ * OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
120
+ * BareMetal: "included" || "excluded" || "required",
121
+ * BurstablePerformance: "included" || "excluded" || "required",
122
+ * RequireHibernateSupport: true || false,
123
+ * NetworkInterfaceCount: {
124
+ * Min: Number("int"),
125
+ * Max: Number("int"),
126
+ * },
127
+ * LocalStorage: "included" || "excluded" || "required",
128
+ * LocalStorageTypes: [
129
+ * "hdd" || "ssd",
130
+ * ],
131
+ * TotalLocalStorageGB: {
132
+ * Min: Number("double"),
133
+ * Max: Number("double"),
134
+ * },
135
+ * BaselineEbsBandwidthMbps: {
136
+ * Min: Number("int"),
137
+ * Max: Number("int"),
138
+ * },
139
+ * AcceleratorTypes: [
140
+ * "gpu" || "fpga" || "inference",
141
+ * ],
142
+ * AcceleratorCount: {
143
+ * Min: Number("int"),
144
+ * Max: Number("int"),
145
+ * },
146
+ * AcceleratorManufacturers: [
147
+ * "nvidia" || "amd" || "amazon-web-services" || "xilinx",
148
+ * ],
149
+ * AcceleratorNames: [
150
+ * "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
151
+ * ],
152
+ * AcceleratorTotalMemoryMiB: {
153
+ * Min: Number("int"),
154
+ * Max: Number("int"),
155
+ * },
156
+ * NetworkBandwidthGbps: {
157
+ * Min: Number("double"),
158
+ * Max: Number("double"),
159
+ * },
160
+ * AllowedInstanceTypes: [
161
+ * "STRING_VALUE",
162
+ * ],
163
+ * },
164
+ * },
165
+ * ],
166
+ * },
167
+ * InstancesDistribution: {
168
+ * OnDemandAllocationStrategy: "STRING_VALUE",
169
+ * OnDemandBaseCapacity: Number("int"),
170
+ * OnDemandPercentageAboveBaseCapacity: Number("int"),
171
+ * SpotAllocationStrategy: "STRING_VALUE",
172
+ * SpotInstancePools: Number("int"),
173
+ * SpotMaxPrice: "STRING_VALUE",
174
+ * },
175
+ * },
176
+ * MinSize: Number("int"),
177
+ * MaxSize: Number("int"),
178
+ * DesiredCapacity: Number("int"),
179
+ * DefaultCooldown: Number("int"),
180
+ * AvailabilityZones: [
181
+ * "STRING_VALUE",
182
+ * ],
183
+ * HealthCheckType: "STRING_VALUE",
184
+ * HealthCheckGracePeriod: Number("int"),
185
+ * PlacementGroup: "STRING_VALUE",
186
+ * VPCZoneIdentifier: "STRING_VALUE",
187
+ * TerminationPolicies: [
188
+ * "STRING_VALUE",
189
+ * ],
190
+ * NewInstancesProtectedFromScaleIn: true || false,
191
+ * ServiceLinkedRoleARN: "STRING_VALUE",
192
+ * MaxInstanceLifetime: Number("int"),
193
+ * CapacityRebalance: true || false,
194
+ * Context: "STRING_VALUE",
195
+ * DesiredCapacityType: "STRING_VALUE",
196
+ * DefaultInstanceWarmup: Number("int"),
197
+ * };
72
198
  * const command = new UpdateAutoScalingGroupCommand(input);
73
199
  * const response = await client.send(command);
74
200
  * ```
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.299.0",
4
+ "version": "3.300.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "fast-xml-parser": "4.1.2",