@aws-sdk/client-auto-scaling 3.695.0 → 3.697.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.
@@ -1830,6 +1830,17 @@ const se_BaselineEbsBandwidthMbpsRequest = (input, context) => {
1830
1830
  }
1831
1831
  return entries;
1832
1832
  };
1833
+ const se_BaselinePerformanceFactorsRequest = (input, context) => {
1834
+ const entries = {};
1835
+ if (input[_C] != null) {
1836
+ const memberEntries = se_CpuPerformanceFactorRequest(input[_C], context);
1837
+ Object.entries(memberEntries).forEach(([key, value]) => {
1838
+ const loc = `Cpu.${key}`;
1839
+ entries[loc] = value;
1840
+ });
1841
+ }
1842
+ return entries;
1843
+ };
1833
1844
  const se_BatchDeleteScheduledActionType = (input, context) => {
1834
1845
  const entries = {};
1835
1846
  if (input[_ASGN] != null) {
@@ -1906,6 +1917,68 @@ const se_CancelInstanceRefreshType = (input, context) => {
1906
1917
  }
1907
1918
  return entries;
1908
1919
  };
1920
+ const se_CapacityReservationIds = (input, context) => {
1921
+ const entries = {};
1922
+ let counter = 1;
1923
+ for (const entry of input) {
1924
+ if (entry === null) {
1925
+ continue;
1926
+ }
1927
+ entries[`member.${counter}`] = entry;
1928
+ counter++;
1929
+ }
1930
+ return entries;
1931
+ };
1932
+ const se_CapacityReservationResourceGroupArns = (input, context) => {
1933
+ const entries = {};
1934
+ let counter = 1;
1935
+ for (const entry of input) {
1936
+ if (entry === null) {
1937
+ continue;
1938
+ }
1939
+ entries[`member.${counter}`] = entry;
1940
+ counter++;
1941
+ }
1942
+ return entries;
1943
+ };
1944
+ const se_CapacityReservationSpecification = (input, context) => {
1945
+ const entries = {};
1946
+ if (input[_CRP] != null) {
1947
+ entries[_CRP] = input[_CRP];
1948
+ }
1949
+ if (input[_CRT] != null) {
1950
+ const memberEntries = se_CapacityReservationTarget(input[_CRT], context);
1951
+ Object.entries(memberEntries).forEach(([key, value]) => {
1952
+ const loc = `CapacityReservationTarget.${key}`;
1953
+ entries[loc] = value;
1954
+ });
1955
+ }
1956
+ return entries;
1957
+ };
1958
+ const se_CapacityReservationTarget = (input, context) => {
1959
+ const entries = {};
1960
+ if (input[_CRI] != null) {
1961
+ const memberEntries = se_CapacityReservationIds(input[_CRI], context);
1962
+ if (input[_CRI]?.length === 0) {
1963
+ entries.CapacityReservationIds = [];
1964
+ }
1965
+ Object.entries(memberEntries).forEach(([key, value]) => {
1966
+ const loc = `CapacityReservationIds.${key}`;
1967
+ entries[loc] = value;
1968
+ });
1969
+ }
1970
+ if (input[_CRRGA] != null) {
1971
+ const memberEntries = se_CapacityReservationResourceGroupArns(input[_CRRGA], context);
1972
+ if (input[_CRRGA]?.length === 0) {
1973
+ entries.CapacityReservationResourceGroupArns = [];
1974
+ }
1975
+ Object.entries(memberEntries).forEach(([key, value]) => {
1976
+ const loc = `CapacityReservationResourceGroupArns.${key}`;
1977
+ entries[loc] = value;
1978
+ });
1979
+ }
1980
+ return entries;
1981
+ };
1909
1982
  const se_CheckpointPercentages = (input, context) => {
1910
1983
  const entries = {};
1911
1984
  let counter = 1;
@@ -1961,6 +2034,20 @@ const se_CpuManufacturers = (input, context) => {
1961
2034
  }
1962
2035
  return entries;
1963
2036
  };
2037
+ const se_CpuPerformanceFactorRequest = (input, context) => {
2038
+ const entries = {};
2039
+ if (input[_R] != null) {
2040
+ const memberEntries = se_PerformanceFactorReferenceSetRequest(input[_R], context);
2041
+ if (input[_R]?.length === 0) {
2042
+ entries.Reference = [];
2043
+ }
2044
+ Object.entries(memberEntries).forEach(([key, value]) => {
2045
+ const loc = `Reference.${key}`;
2046
+ entries[loc] = value;
2047
+ });
2048
+ }
2049
+ return entries;
2050
+ };
1964
2051
  const se_CreateAutoScalingGroupType = (input, context) => {
1965
2052
  const entries = {};
1966
2053
  if (input[_ASGN] != null) {
@@ -2082,8 +2169,8 @@ const se_CreateAutoScalingGroupType = (input, context) => {
2082
2169
  if (input[_MIL] != null) {
2083
2170
  entries[_MIL] = input[_MIL];
2084
2171
  }
2085
- if (input[_C] != null) {
2086
- entries[_C] = input[_C];
2172
+ if (input[_Co] != null) {
2173
+ entries[_Co] = input[_Co];
2087
2174
  }
2088
2175
  if (input[_DCT] != null) {
2089
2176
  entries[_DCT] = input[_DCT];
@@ -2125,6 +2212,13 @@ const se_CreateAutoScalingGroupType = (input, context) => {
2125
2212
  if (input[_SZSV] != null) {
2126
2213
  entries[_SZSV] = input[_SZSV];
2127
2214
  }
2215
+ if (input[_CRS] != null) {
2216
+ const memberEntries = se_CapacityReservationSpecification(input[_CRS], context);
2217
+ Object.entries(memberEntries).forEach(([key, value]) => {
2218
+ const loc = `CapacityReservationSpecification.${key}`;
2219
+ entries[loc] = value;
2220
+ });
2221
+ }
2128
2222
  return entries;
2129
2223
  };
2130
2224
  const se_CreateLaunchConfigurationType = (input, context) => {
@@ -3083,6 +3177,13 @@ const se_InstanceRequirements = (input, context) => {
3083
3177
  entries[loc] = value;
3084
3178
  });
3085
3179
  }
3180
+ if (input[_BPF] != null) {
3181
+ const memberEntries = se_BaselinePerformanceFactorsRequest(input[_BPF], context);
3182
+ Object.entries(memberEntries).forEach(([key, value]) => {
3183
+ const loc = `BaselinePerformanceFactors.${key}`;
3184
+ entries[loc] = value;
3185
+ });
3186
+ }
3086
3187
  return entries;
3087
3188
  };
3088
3189
  const se_InstanceReusePolicy = (input, context) => {
@@ -3472,6 +3573,28 @@ const se_Overrides = (input, context) => {
3472
3573
  }
3473
3574
  return entries;
3474
3575
  };
3576
+ const se_PerformanceFactorReferenceRequest = (input, context) => {
3577
+ const entries = {};
3578
+ if (input[_IF] != null) {
3579
+ entries[_IF] = input[_IF];
3580
+ }
3581
+ return entries;
3582
+ };
3583
+ const se_PerformanceFactorReferenceSetRequest = (input, context) => {
3584
+ const entries = {};
3585
+ let counter = 1;
3586
+ for (const entry of input) {
3587
+ if (entry === null) {
3588
+ continue;
3589
+ }
3590
+ const memberEntries = se_PerformanceFactorReferenceRequest(entry, context);
3591
+ Object.entries(memberEntries).forEach(([key, value]) => {
3592
+ entries[`item.${counter}.${key}`] = value;
3593
+ });
3594
+ counter++;
3595
+ }
3596
+ return entries;
3597
+ };
3475
3598
  const se_PolicyNames = (input, context) => {
3476
3599
  const entries = {};
3477
3600
  let counter = 1;
@@ -3751,8 +3874,8 @@ const se_PutScalingPolicyType = (input, context) => {
3751
3874
  if (input[_SA] != null) {
3752
3875
  entries[_SA] = input[_SA];
3753
3876
  }
3754
- if (input[_Co] != null) {
3755
- entries[_Co] = input[_Co];
3877
+ if (input[_Coo] != null) {
3878
+ entries[_Coo] = input[_Coo];
3756
3879
  }
3757
3880
  if (input[_MAT] != null) {
3758
3881
  entries[_MAT] = input[_MAT];
@@ -3806,8 +3929,8 @@ const se_PutScheduledUpdateGroupActionType = (input, context) => {
3806
3929
  if (input[_ET] != null) {
3807
3930
  entries[_ET] = __serializeDateTime(input[_ET]);
3808
3931
  }
3809
- if (input[_R] != null) {
3810
- entries[_R] = input[_R];
3932
+ if (input[_Re] != null) {
3933
+ entries[_Re] = input[_Re];
3811
3934
  }
3812
3935
  if (input[_MS] != null) {
3813
3936
  entries[_MS] = input[_MS];
@@ -3957,8 +4080,8 @@ const se_ScheduledUpdateGroupActionRequest = (input, context) => {
3957
4080
  if (input[_ET] != null) {
3958
4081
  entries[_ET] = __serializeDateTime(input[_ET]);
3959
4082
  }
3960
- if (input[_R] != null) {
3961
- entries[_R] = input[_R];
4083
+ if (input[_Re] != null) {
4084
+ entries[_Re] = input[_Re];
3962
4085
  }
3963
4086
  if (input[_MS] != null) {
3964
4087
  entries[_MS] = input[_MS];
@@ -4359,8 +4482,8 @@ const se_UpdateAutoScalingGroupType = (input, context) => {
4359
4482
  if (input[_CR] != null) {
4360
4483
  entries[_CR] = input[_CR];
4361
4484
  }
4362
- if (input[_C] != null) {
4363
- entries[_C] = input[_C];
4485
+ if (input[_Co] != null) {
4486
+ entries[_Co] = input[_Co];
4364
4487
  }
4365
4488
  if (input[_DCT] != null) {
4366
4489
  entries[_DCT] = input[_DCT];
@@ -4392,6 +4515,13 @@ const se_UpdateAutoScalingGroupType = (input, context) => {
4392
4515
  if (input[_SZSV] != null) {
4393
4516
  entries[_SZSV] = input[_SZSV];
4394
4517
  }
4518
+ if (input[_CRS] != null) {
4519
+ const memberEntries = se_CapacityReservationSpecification(input[_CRS], context);
4520
+ Object.entries(memberEntries).forEach(([key, value]) => {
4521
+ const loc = `CapacityReservationSpecification.${key}`;
4522
+ entries[loc] = value;
4523
+ });
4524
+ }
4395
4525
  return entries;
4396
4526
  };
4397
4527
  const se_Values = (input, context) => {
@@ -4721,8 +4851,8 @@ const de_AutoScalingGroup = (output, context) => {
4721
4851
  if (output[_WPS] != null) {
4722
4852
  contents[_WPS] = __strictParseInt32(output[_WPS]);
4723
4853
  }
4724
- if (output[_C] != null) {
4725
- contents[_C] = __expectString(output[_C]);
4854
+ if (output[_Co] != null) {
4855
+ contents[_Co] = __expectString(output[_Co]);
4726
4856
  }
4727
4857
  if (output[_DCT] != null) {
4728
4858
  contents[_DCT] = __expectString(output[_DCT]);
@@ -4745,6 +4875,9 @@ const de_AutoScalingGroup = (output, context) => {
4745
4875
  if (output[_AZIP] != null) {
4746
4876
  contents[_AZIP] = de_AvailabilityZoneImpairmentPolicy(output[_AZIP], context);
4747
4877
  }
4878
+ if (output[_CRS] != null) {
4879
+ contents[_CRS] = de_CapacityReservationSpecification(output[_CRS], context);
4880
+ }
4748
4881
  return contents;
4749
4882
  };
4750
4883
  const de_AutoScalingGroups = (output, context) => {
@@ -4862,6 +4995,13 @@ const de_BaselineEbsBandwidthMbpsRequest = (output, context) => {
4862
4995
  }
4863
4996
  return contents;
4864
4997
  };
4998
+ const de_BaselinePerformanceFactorsRequest = (output, context) => {
4999
+ const contents = {};
5000
+ if (output[_C] != null) {
5001
+ contents[_C] = de_CpuPerformanceFactorRequest(output[_C], context);
5002
+ }
5003
+ return contents;
5004
+ };
4865
5005
  const de_BatchDeleteScheduledActionAnswer = (output, context) => {
4866
5006
  const contents = {};
4867
5007
  if (output.FailedScheduledActions === "") {
@@ -4928,6 +5068,46 @@ const de_CapacityForecast = (output, context) => {
4928
5068
  }
4929
5069
  return contents;
4930
5070
  };
5071
+ const de_CapacityReservationIds = (output, context) => {
5072
+ return (output || [])
5073
+ .filter((e) => e != null)
5074
+ .map((entry) => {
5075
+ return __expectString(entry);
5076
+ });
5077
+ };
5078
+ const de_CapacityReservationResourceGroupArns = (output, context) => {
5079
+ return (output || [])
5080
+ .filter((e) => e != null)
5081
+ .map((entry) => {
5082
+ return __expectString(entry);
5083
+ });
5084
+ };
5085
+ const de_CapacityReservationSpecification = (output, context) => {
5086
+ const contents = {};
5087
+ if (output[_CRP] != null) {
5088
+ contents[_CRP] = __expectString(output[_CRP]);
5089
+ }
5090
+ if (output[_CRT] != null) {
5091
+ contents[_CRT] = de_CapacityReservationTarget(output[_CRT], context);
5092
+ }
5093
+ return contents;
5094
+ };
5095
+ const de_CapacityReservationTarget = (output, context) => {
5096
+ const contents = {};
5097
+ if (output.CapacityReservationIds === "") {
5098
+ contents[_CRI] = [];
5099
+ }
5100
+ else if (output[_CRI] != null && output[_CRI][_me] != null) {
5101
+ contents[_CRI] = de_CapacityReservationIds(__getArrayIfSingleItem(output[_CRI][_me]), context);
5102
+ }
5103
+ if (output.CapacityReservationResourceGroupArns === "") {
5104
+ contents[_CRRGA] = [];
5105
+ }
5106
+ else if (output[_CRRGA] != null && output[_CRRGA][_me] != null) {
5107
+ contents[_CRRGA] = de_CapacityReservationResourceGroupArns(__getArrayIfSingleItem(output[_CRRGA][_me]), context);
5108
+ }
5109
+ return contents;
5110
+ };
4931
5111
  const de_CheckpointPercentages = (output, context) => {
4932
5112
  return (output || [])
4933
5113
  .filter((e) => e != null)
@@ -4953,6 +5133,16 @@ const de_CpuManufacturers = (output, context) => {
4953
5133
  return __expectString(entry);
4954
5134
  });
4955
5135
  };
5136
+ const de_CpuPerformanceFactorRequest = (output, context) => {
5137
+ const contents = {};
5138
+ if (output.Reference === "") {
5139
+ contents[_R] = [];
5140
+ }
5141
+ else if (output[_Ref] != null && output[_Ref][_i] != null) {
5142
+ contents[_R] = de_PerformanceFactorReferenceSetRequest(__getArrayIfSingleItem(output[_Ref][_i]), context);
5143
+ }
5144
+ return contents;
5145
+ };
4956
5146
  const de_CustomizedMetricSpecification = (output, context) => {
4957
5147
  const contents = {};
4958
5148
  if (output[_MN] != null) {
@@ -5539,6 +5729,9 @@ const de_InstanceRequirements = (output, context) => {
5539
5729
  else if (output[_AIT] != null && output[_AIT][_me] != null) {
5540
5730
  contents[_AIT] = de_AllowedInstanceTypes(__getArrayIfSingleItem(output[_AIT][_me]), context);
5541
5731
  }
5732
+ if (output[_BPF] != null) {
5733
+ contents[_BPF] = de_BaselinePerformanceFactorsRequest(output[_BPF], context);
5734
+ }
5542
5735
  return contents;
5543
5736
  };
5544
5737
  const de_InstanceReusePolicy = (output, context) => {
@@ -6022,6 +6215,20 @@ const de_Overrides = (output, context) => {
6022
6215
  return de_LaunchTemplateOverrides(entry, context);
6023
6216
  });
6024
6217
  };
6218
+ const de_PerformanceFactorReferenceRequest = (output, context) => {
6219
+ const contents = {};
6220
+ if (output[_IF] != null) {
6221
+ contents[_IF] = __expectString(output[_IF]);
6222
+ }
6223
+ return contents;
6224
+ };
6225
+ const de_PerformanceFactorReferenceSetRequest = (output, context) => {
6226
+ return (output || [])
6227
+ .filter((e) => e != null)
6228
+ .map((entry) => {
6229
+ return de_PerformanceFactorReferenceRequest(entry, context);
6230
+ });
6231
+ };
6025
6232
  const de_PoliciesType = (output, context) => {
6026
6233
  const contents = {};
6027
6234
  if (output.ScalingPolicies === "") {
@@ -6342,8 +6549,8 @@ const de_ScalingPolicy = (output, context) => {
6342
6549
  if (output[_SA] != null) {
6343
6550
  contents[_SA] = __strictParseInt32(output[_SA]);
6344
6551
  }
6345
- if (output[_Co] != null) {
6346
- contents[_Co] = __strictParseInt32(output[_Co]);
6552
+ if (output[_Coo] != null) {
6553
+ contents[_Coo] = __strictParseInt32(output[_Coo]);
6347
6554
  }
6348
6555
  if (output.StepAdjustments === "") {
6349
6556
  contents[_SAt] = [];
@@ -6407,8 +6614,8 @@ const de_ScheduledUpdateGroupAction = (output, context) => {
6407
6614
  if (output[_ET] != null) {
6408
6615
  contents[_ET] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ET]));
6409
6616
  }
6410
- if (output[_R] != null) {
6411
- contents[_R] = __expectString(output[_R]);
6617
+ if (output[_Re] != null) {
6618
+ contents[_Re] = __expectString(output[_Re]);
6412
6619
  }
6413
6620
  if (output[_MS] != null) {
6414
6621
  contents[_MS] = __strictParseInt32(output[_MS]);
@@ -6749,10 +6956,11 @@ const _BDSA = "BatchDeleteScheduledAction";
6749
6956
  const _BEBM = "BaselineEbsBandwidthMbps";
6750
6957
  const _BM = "BareMetal";
6751
6958
  const _BP = "BurstablePerformance";
6959
+ const _BPF = "BaselinePerformanceFactors";
6752
6960
  const _BPSUGA = "BatchPutScheduledUpdateGroupAction";
6753
6961
  const _BT = "BreachThreshold";
6754
6962
  const _BTa = "BakeTime";
6755
- const _C = "Context";
6963
+ const _C = "Cpu";
6756
6964
  const _CASG = "CreateAutoScalingGroup";
6757
6965
  const _CCMS = "CustomizedCapacityMetricSpecification";
6758
6966
  const _CD = "CheckpointDelay";
@@ -6769,10 +6977,16 @@ const _CMS = "CustomizedMetricSpecification";
6769
6977
  const _COUT = "CreateOrUpdateTags";
6770
6978
  const _CP = "CheckpointPercentages";
6771
6979
  const _CR = "CapacityRebalance";
6980
+ const _CRI = "CapacityReservationIds";
6981
+ const _CRP = "CapacityReservationPreference";
6982
+ const _CRRGA = "CapacityReservationResourceGroupArns";
6983
+ const _CRS = "CapacityReservationSpecification";
6984
+ const _CRT = "CapacityReservationTarget";
6772
6985
  const _CSMS = "CustomizedScalingMetricSpecification";
6773
6986
  const _CT = "CreatedTime";
6774
6987
  const _Ca = "Cause";
6775
- const _Co = "Cooldown";
6988
+ const _Co = "Context";
6989
+ const _Coo = "Cooldown";
6776
6990
  const _D = "Dimensions";
6777
6991
  const _DAL = "DescribeAccountLimits";
6778
6992
  const _DASG = "DeleteAutoScalingGroup";
@@ -6853,6 +7067,7 @@ const _HTe = "HeartbeatTimeout";
6853
7067
  const _I = "Iops";
6854
7068
  const _ID = "InstancesDistribution";
6855
7069
  const _IDG = "IncludeDeletedGroups";
7070
+ const _IF = "InstanceFamily";
6856
7071
  const _IG = "InstanceGenerations";
6857
7072
  const _II = "InstanceIds";
6858
7073
  const _IIP = "IamInstanceProfile";
@@ -6984,7 +7199,7 @@ const _PTol = "PolicyType";
6984
7199
  const _PWP = "PutWarmPool";
6985
7200
  const _Pr = "Progress";
6986
7201
  const _Pro = "Processes";
6987
- const _R = "Recurrence";
7202
+ const _R = "References";
6988
7203
  const _RARN = "RoleARN";
6989
7204
  const _RD = "ReturnData";
6990
7205
  const _RDo = "RollbackDetails";
@@ -6999,6 +7214,8 @@ const _RP = "ResumeProcesses";
6999
7214
  const _RR = "RollbackReason";
7000
7215
  const _RST = "RollbackStartTime";
7001
7216
  const _RT = "ResourceType";
7217
+ const _Re = "Recurrence";
7218
+ const _Ref = "Reference";
7002
7219
  const _S = "Statistic";
7003
7220
  const _SA = "ScalingAdjustment";
7004
7221
  const _SAARN = "ScheduledActionARN";
@@ -7072,6 +7289,7 @@ const _WPC = "WarmPoolConfiguration";
7072
7289
  const _WPP = "WarmPoolProgress";
7073
7290
  const _WPS = "WarmPoolSize";
7074
7291
  const _ZSE = "ZonalShiftEnabled";
7292
+ const _i = "item";
7075
7293
  const _m = "message";
7076
7294
  const _me = "member";
7077
7295
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
@@ -136,6 +136,15 @@ declare const CreateAutoScalingGroupCommand_base: {
136
136
  * AllowedInstanceTypes: [ // AllowedInstanceTypes
137
137
  * "STRING_VALUE",
138
138
  * ],
139
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
140
+ * Cpu: { // CpuPerformanceFactorRequest
141
+ * References: [ // PerformanceFactorReferenceSetRequest
142
+ * { // PerformanceFactorReferenceRequest
143
+ * InstanceFamily: "STRING_VALUE",
144
+ * },
145
+ * ],
146
+ * },
147
+ * },
139
148
  * },
140
149
  * },
141
150
  * ],
@@ -215,6 +224,17 @@ declare const CreateAutoScalingGroupCommand_base: {
215
224
  * ImpairedZoneHealthCheckBehavior: "ReplaceUnhealthy" || "IgnoreUnhealthy",
216
225
  * },
217
226
  * SkipZonalShiftValidation: true || false,
227
+ * CapacityReservationSpecification: { // CapacityReservationSpecification
228
+ * CapacityReservationPreference: "capacity-reservations-only" || "capacity-reservations-first" || "none" || "default",
229
+ * CapacityReservationTarget: { // CapacityReservationTarget
230
+ * CapacityReservationIds: [ // CapacityReservationIds
231
+ * "STRING_VALUE",
232
+ * ],
233
+ * CapacityReservationResourceGroupArns: [ // CapacityReservationResourceGroupArns
234
+ * "STRING_VALUE",
235
+ * ],
236
+ * },
237
+ * },
218
238
  * };
219
239
  * const command = new CreateAutoScalingGroupCommand(input);
220
240
  * const response = await client.send(command);
@@ -149,6 +149,15 @@ declare const DescribeAutoScalingGroupsCommand_base: {
149
149
  * // AllowedInstanceTypes: [ // AllowedInstanceTypes
150
150
  * // "STRING_VALUE",
151
151
  * // ],
152
+ * // BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
153
+ * // Cpu: { // CpuPerformanceFactorRequest
154
+ * // References: [ // PerformanceFactorReferenceSetRequest
155
+ * // { // PerformanceFactorReferenceRequest
156
+ * // InstanceFamily: "STRING_VALUE",
157
+ * // },
158
+ * // ],
159
+ * // },
160
+ * // },
152
161
  * // },
153
162
  * // },
154
163
  * // ],
@@ -253,6 +262,17 @@ declare const DescribeAutoScalingGroupsCommand_base: {
253
262
  * // ZonalShiftEnabled: true || false,
254
263
  * // ImpairedZoneHealthCheckBehavior: "ReplaceUnhealthy" || "IgnoreUnhealthy",
255
264
  * // },
265
+ * // CapacityReservationSpecification: { // CapacityReservationSpecification
266
+ * // CapacityReservationPreference: "capacity-reservations-only" || "capacity-reservations-first" || "none" || "default",
267
+ * // CapacityReservationTarget: { // CapacityReservationTarget
268
+ * // CapacityReservationIds: [ // CapacityReservationIds
269
+ * // "STRING_VALUE",
270
+ * // ],
271
+ * // CapacityReservationResourceGroupArns: [ // CapacityReservationResourceGroupArns
272
+ * // "STRING_VALUE",
273
+ * // ],
274
+ * // },
275
+ * // },
256
276
  * // },
257
277
  * // ],
258
278
  * // NextToken: "STRING_VALUE",
@@ -180,6 +180,15 @@ declare const DescribeInstanceRefreshesCommand_base: {
180
180
  * // AllowedInstanceTypes: [ // AllowedInstanceTypes
181
181
  * // "STRING_VALUE",
182
182
  * // ],
183
+ * // BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
184
+ * // Cpu: { // CpuPerformanceFactorRequest
185
+ * // References: [ // PerformanceFactorReferenceSetRequest
186
+ * // { // PerformanceFactorReferenceRequest
187
+ * // InstanceFamily: "STRING_VALUE",
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // },
183
192
  * // },
184
193
  * // },
185
194
  * // ],
@@ -145,6 +145,15 @@ declare const StartInstanceRefreshCommand_base: {
145
145
  * AllowedInstanceTypes: [ // AllowedInstanceTypes
146
146
  * "STRING_VALUE",
147
147
  * ],
148
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
149
+ * Cpu: { // CpuPerformanceFactorRequest
150
+ * References: [ // PerformanceFactorReferenceSetRequest
151
+ * { // PerformanceFactorReferenceRequest
152
+ * InstanceFamily: "STRING_VALUE",
153
+ * },
154
+ * ],
155
+ * },
156
+ * },
148
157
  * },
149
158
  * },
150
159
  * ],
@@ -165,6 +165,15 @@ declare const UpdateAutoScalingGroupCommand_base: {
165
165
  * AllowedInstanceTypes: [ // AllowedInstanceTypes
166
166
  * "STRING_VALUE",
167
167
  * ],
168
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
169
+ * Cpu: { // CpuPerformanceFactorRequest
170
+ * References: [ // PerformanceFactorReferenceSetRequest
171
+ * { // PerformanceFactorReferenceRequest
172
+ * InstanceFamily: "STRING_VALUE",
173
+ * },
174
+ * ],
175
+ * },
176
+ * },
168
177
  * },
169
178
  * },
170
179
  * ],
@@ -211,6 +220,17 @@ declare const UpdateAutoScalingGroupCommand_base: {
211
220
  * ImpairedZoneHealthCheckBehavior: "ReplaceUnhealthy" || "IgnoreUnhealthy",
212
221
  * },
213
222
  * SkipZonalShiftValidation: true || false,
223
+ * CapacityReservationSpecification: { // CapacityReservationSpecification
224
+ * CapacityReservationPreference: "capacity-reservations-only" || "capacity-reservations-first" || "none" || "default",
225
+ * CapacityReservationTarget: { // CapacityReservationTarget
226
+ * CapacityReservationIds: [ // CapacityReservationIds
227
+ * "STRING_VALUE",
228
+ * ],
229
+ * CapacityReservationResourceGroupArns: [ // CapacityReservationResourceGroupArns
230
+ * "STRING_VALUE",
231
+ * ],
232
+ * },
233
+ * },
214
234
  * };
215
235
  * const command = new UpdateAutoScalingGroupCommand(input);
216
236
  * const response = await client.send(command);