@aws-sdk/client-auto-scaling 3.299.0 → 3.301.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 +154 -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 +142 -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 +115 -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 +122 -0
  66. package/package.json +8 -8
@@ -49,6 +49,121 @@ 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 = { // StartInstanceRefreshType
53
+ * AutoScalingGroupName: "STRING_VALUE", // required
54
+ * Strategy: "Rolling",
55
+ * DesiredConfiguration: { // DesiredConfiguration
56
+ * LaunchTemplate: { // LaunchTemplateSpecification
57
+ * LaunchTemplateId: "STRING_VALUE",
58
+ * LaunchTemplateName: "STRING_VALUE",
59
+ * Version: "STRING_VALUE",
60
+ * },
61
+ * MixedInstancesPolicy: { // MixedInstancesPolicy
62
+ * LaunchTemplate: { // LaunchTemplate
63
+ * LaunchTemplateSpecification: {
64
+ * LaunchTemplateId: "STRING_VALUE",
65
+ * LaunchTemplateName: "STRING_VALUE",
66
+ * Version: "STRING_VALUE",
67
+ * },
68
+ * Overrides: [ // Overrides
69
+ * { // LaunchTemplateOverrides
70
+ * InstanceType: "STRING_VALUE",
71
+ * WeightedCapacity: "STRING_VALUE",
72
+ * LaunchTemplateSpecification: "<LaunchTemplateSpecification>",
73
+ * InstanceRequirements: { // InstanceRequirements
74
+ * VCpuCount: { // VCpuCountRequest
75
+ * Min: Number("int"), // required
76
+ * Max: Number("int"),
77
+ * },
78
+ * MemoryMiB: { // MemoryMiBRequest
79
+ * Min: Number("int"), // required
80
+ * Max: Number("int"),
81
+ * },
82
+ * CpuManufacturers: [ // CpuManufacturers
83
+ * "intel" || "amd" || "amazon-web-services",
84
+ * ],
85
+ * MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
86
+ * Min: Number("double"),
87
+ * Max: Number("double"),
88
+ * },
89
+ * ExcludedInstanceTypes: [ // ExcludedInstanceTypes
90
+ * "STRING_VALUE",
91
+ * ],
92
+ * InstanceGenerations: [ // InstanceGenerations
93
+ * "current" || "previous",
94
+ * ],
95
+ * SpotMaxPricePercentageOverLowestPrice: Number("int"),
96
+ * OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
97
+ * BareMetal: "included" || "excluded" || "required",
98
+ * BurstablePerformance: "included" || "excluded" || "required",
99
+ * RequireHibernateSupport: true || false,
100
+ * NetworkInterfaceCount: { // NetworkInterfaceCountRequest
101
+ * Min: Number("int"),
102
+ * Max: Number("int"),
103
+ * },
104
+ * LocalStorage: "included" || "excluded" || "required",
105
+ * LocalStorageTypes: [ // LocalStorageTypes
106
+ * "hdd" || "ssd",
107
+ * ],
108
+ * TotalLocalStorageGB: { // TotalLocalStorageGBRequest
109
+ * Min: Number("double"),
110
+ * Max: Number("double"),
111
+ * },
112
+ * BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
113
+ * Min: Number("int"),
114
+ * Max: Number("int"),
115
+ * },
116
+ * AcceleratorTypes: [ // AcceleratorTypes
117
+ * "gpu" || "fpga" || "inference",
118
+ * ],
119
+ * AcceleratorCount: { // AcceleratorCountRequest
120
+ * Min: Number("int"),
121
+ * Max: Number("int"),
122
+ * },
123
+ * AcceleratorManufacturers: [ // AcceleratorManufacturers
124
+ * "nvidia" || "amd" || "amazon-web-services" || "xilinx",
125
+ * ],
126
+ * AcceleratorNames: [ // AcceleratorNames
127
+ * "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
128
+ * ],
129
+ * AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
130
+ * Min: Number("int"),
131
+ * Max: Number("int"),
132
+ * },
133
+ * NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
134
+ * Min: Number("double"),
135
+ * Max: Number("double"),
136
+ * },
137
+ * AllowedInstanceTypes: [ // AllowedInstanceTypes
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * },
141
+ * },
142
+ * ],
143
+ * },
144
+ * InstancesDistribution: { // InstancesDistribution
145
+ * OnDemandAllocationStrategy: "STRING_VALUE",
146
+ * OnDemandBaseCapacity: Number("int"),
147
+ * OnDemandPercentageAboveBaseCapacity: Number("int"),
148
+ * SpotAllocationStrategy: "STRING_VALUE",
149
+ * SpotInstancePools: Number("int"),
150
+ * SpotMaxPrice: "STRING_VALUE",
151
+ * },
152
+ * },
153
+ * },
154
+ * Preferences: { // RefreshPreferences
155
+ * MinHealthyPercentage: Number("int"),
156
+ * InstanceWarmup: Number("int"),
157
+ * CheckpointPercentages: [ // CheckpointPercentages
158
+ * Number("int"),
159
+ * ],
160
+ * CheckpointDelay: Number("int"),
161
+ * SkipMatching: true || false,
162
+ * AutoRollback: true || false,
163
+ * ScaleInProtectedInstances: "Refresh" || "Ignore" || "Wait",
164
+ * StandbyInstances: "Terminate" || "Ignore" || "Wait",
165
+ * },
166
+ * };
52
167
  * const command = new StartInstanceRefreshCommand(input);
53
168
  * const response = await client.send(command);
54
169
  * ```
@@ -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 = { // ScalingProcessQuery
36
+ * AutoScalingGroupName: "STRING_VALUE", // required
37
+ * ScalingProcesses: [ // ProcessNames
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 = { // TerminateInstanceInAutoScalingGroupType
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,128 @@ 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 = { // UpdateAutoScalingGroupType
73
+ * AutoScalingGroupName: "STRING_VALUE", // required
74
+ * LaunchConfigurationName: "STRING_VALUE",
75
+ * LaunchTemplate: { // LaunchTemplateSpecification
76
+ * LaunchTemplateId: "STRING_VALUE",
77
+ * LaunchTemplateName: "STRING_VALUE",
78
+ * Version: "STRING_VALUE",
79
+ * },
80
+ * MixedInstancesPolicy: { // MixedInstancesPolicy
81
+ * LaunchTemplate: { // LaunchTemplate
82
+ * LaunchTemplateSpecification: {
83
+ * LaunchTemplateId: "STRING_VALUE",
84
+ * LaunchTemplateName: "STRING_VALUE",
85
+ * Version: "STRING_VALUE",
86
+ * },
87
+ * Overrides: [ // Overrides
88
+ * { // LaunchTemplateOverrides
89
+ * InstanceType: "STRING_VALUE",
90
+ * WeightedCapacity: "STRING_VALUE",
91
+ * LaunchTemplateSpecification: "<LaunchTemplateSpecification>",
92
+ * InstanceRequirements: { // InstanceRequirements
93
+ * VCpuCount: { // VCpuCountRequest
94
+ * Min: Number("int"), // required
95
+ * Max: Number("int"),
96
+ * },
97
+ * MemoryMiB: { // MemoryMiBRequest
98
+ * Min: Number("int"), // required
99
+ * Max: Number("int"),
100
+ * },
101
+ * CpuManufacturers: [ // CpuManufacturers
102
+ * "intel" || "amd" || "amazon-web-services",
103
+ * ],
104
+ * MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
105
+ * Min: Number("double"),
106
+ * Max: Number("double"),
107
+ * },
108
+ * ExcludedInstanceTypes: [ // ExcludedInstanceTypes
109
+ * "STRING_VALUE",
110
+ * ],
111
+ * InstanceGenerations: [ // InstanceGenerations
112
+ * "current" || "previous",
113
+ * ],
114
+ * SpotMaxPricePercentageOverLowestPrice: Number("int"),
115
+ * OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
116
+ * BareMetal: "included" || "excluded" || "required",
117
+ * BurstablePerformance: "included" || "excluded" || "required",
118
+ * RequireHibernateSupport: true || false,
119
+ * NetworkInterfaceCount: { // NetworkInterfaceCountRequest
120
+ * Min: Number("int"),
121
+ * Max: Number("int"),
122
+ * },
123
+ * LocalStorage: "included" || "excluded" || "required",
124
+ * LocalStorageTypes: [ // LocalStorageTypes
125
+ * "hdd" || "ssd",
126
+ * ],
127
+ * TotalLocalStorageGB: { // TotalLocalStorageGBRequest
128
+ * Min: Number("double"),
129
+ * Max: Number("double"),
130
+ * },
131
+ * BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
132
+ * Min: Number("int"),
133
+ * Max: Number("int"),
134
+ * },
135
+ * AcceleratorTypes: [ // AcceleratorTypes
136
+ * "gpu" || "fpga" || "inference",
137
+ * ],
138
+ * AcceleratorCount: { // AcceleratorCountRequest
139
+ * Min: Number("int"),
140
+ * Max: Number("int"),
141
+ * },
142
+ * AcceleratorManufacturers: [ // AcceleratorManufacturers
143
+ * "nvidia" || "amd" || "amazon-web-services" || "xilinx",
144
+ * ],
145
+ * AcceleratorNames: [ // AcceleratorNames
146
+ * "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
147
+ * ],
148
+ * AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
149
+ * Min: Number("int"),
150
+ * Max: Number("int"),
151
+ * },
152
+ * NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
153
+ * Min: Number("double"),
154
+ * Max: Number("double"),
155
+ * },
156
+ * AllowedInstanceTypes: [ // AllowedInstanceTypes
157
+ * "STRING_VALUE",
158
+ * ],
159
+ * },
160
+ * },
161
+ * ],
162
+ * },
163
+ * InstancesDistribution: { // InstancesDistribution
164
+ * OnDemandAllocationStrategy: "STRING_VALUE",
165
+ * OnDemandBaseCapacity: Number("int"),
166
+ * OnDemandPercentageAboveBaseCapacity: Number("int"),
167
+ * SpotAllocationStrategy: "STRING_VALUE",
168
+ * SpotInstancePools: Number("int"),
169
+ * SpotMaxPrice: "STRING_VALUE",
170
+ * },
171
+ * },
172
+ * MinSize: Number("int"),
173
+ * MaxSize: Number("int"),
174
+ * DesiredCapacity: Number("int"),
175
+ * DefaultCooldown: Number("int"),
176
+ * AvailabilityZones: [ // AvailabilityZones
177
+ * "STRING_VALUE",
178
+ * ],
179
+ * HealthCheckType: "STRING_VALUE",
180
+ * HealthCheckGracePeriod: Number("int"),
181
+ * PlacementGroup: "STRING_VALUE",
182
+ * VPCZoneIdentifier: "STRING_VALUE",
183
+ * TerminationPolicies: [ // TerminationPolicies
184
+ * "STRING_VALUE",
185
+ * ],
186
+ * NewInstancesProtectedFromScaleIn: true || false,
187
+ * ServiceLinkedRoleARN: "STRING_VALUE",
188
+ * MaxInstanceLifetime: Number("int"),
189
+ * CapacityRebalance: true || false,
190
+ * Context: "STRING_VALUE",
191
+ * DesiredCapacityType: "STRING_VALUE",
192
+ * DefaultInstanceWarmup: Number("int"),
193
+ * };
72
194
  * const command = new UpdateAutoScalingGroupCommand(input);
73
195
  * const response = await client.send(command);
74
196
  * ```
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.301.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.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.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",