@alicloud/ess20220222 1.8.9 → 1.8.10

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.
package/src/client.ts CHANGED
@@ -2439,15 +2439,22 @@ export class CreateScalingConfigurationRequestSystemDisk extends $dara.Model {
2439
2439
  * @remarks
2440
2440
  * The size of the system disk. Unit: GiB.
2441
2441
  *
2442
- * * If you set SystemDisk.Category cloud: 20 to 500.
2443
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
2444
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
2445
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
2446
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
2442
+ * * Basic disk: 20 to 500.
2447
2443
  *
2448
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
2444
+ * * ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.
2449
2445
  *
2450
- * Default value: 40 or the size of the image, whichever is greater.
2446
+ * * PL0 ESSD: 1 to 2048.
2447
+ * * PL1 ESSD: 20 to 2048.
2448
+ * * PL2 ESSD: 461 to 2048.
2449
+ * * PL3 ESSD: 1261 to 2048.
2450
+ *
2451
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
2452
+ *
2453
+ * * Other disk categories: 20 to 2048.
2454
+ *
2455
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
2456
+ *
2457
+ * Default value: 40 or the size of the image, whichever is larger.
2451
2458
  *
2452
2459
  * @example
2453
2460
  * 100
@@ -3437,15 +3444,22 @@ export class CreateScalingConfigurationShrinkRequestSystemDisk extends $dara.Mod
3437
3444
  * @remarks
3438
3445
  * The size of the system disk. Unit: GiB.
3439
3446
  *
3440
- * * If you set SystemDisk.Category cloud: 20 to 500.
3441
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
3442
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
3443
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
3444
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
3447
+ * * Basic disk: 20 to 500.
3448
+ *
3449
+ * * ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.
3450
+ *
3451
+ * * PL0 ESSD: 1 to 2048.
3452
+ * * PL1 ESSD: 20 to 2048.
3453
+ * * PL2 ESSD: 461 to 2048.
3454
+ * * PL3 ESSD: 1261 to 2048.
3455
+ *
3456
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
3457
+ *
3458
+ * * Other disk categories: 20 to 2048.
3445
3459
  *
3446
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
3460
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
3447
3461
  *
3448
- * Default value: 40 or the size of the image, whichever is greater.
3462
+ * Default value: 40 or the size of the image, whichever is larger.
3449
3463
  *
3450
3464
  * @example
3451
3465
  * 100
@@ -4321,6 +4335,7 @@ export class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
4321
4335
  * 20
4322
4336
  */
4323
4337
  onDemandPercentageAboveBaseCapacity?: number;
4338
+ priceComparisonMode?: string;
4324
4339
  /**
4325
4340
  * @remarks
4326
4341
  * Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible instances to replace the surplus pay-as-you-go instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
@@ -4339,6 +4354,7 @@ export class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
4339
4354
  compensateWithOnDemand: 'CompensateWithOnDemand',
4340
4355
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
4341
4356
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
4357
+ priceComparisonMode: 'PriceComparisonMode',
4342
4358
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
4343
4359
  };
4344
4360
  }
@@ -4348,6 +4364,7 @@ export class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
4348
4364
  compensateWithOnDemand: 'boolean',
4349
4365
  onDemandBaseCapacity: 'number',
4350
4366
  onDemandPercentageAboveBaseCapacity: 'number',
4367
+ priceComparisonMode: 'string',
4351
4368
  spotAutoReplaceOnDemand: 'boolean',
4352
4369
  };
4353
4370
  }
@@ -4891,7 +4908,21 @@ export class CreateScalingRuleRequestAlarmDimensions extends $dara.Model {
4891
4908
  }
4892
4909
 
4893
4910
  export class CreateScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
4911
+ /**
4912
+ * @remarks
4913
+ * The key of the metric dimension.
4914
+ *
4915
+ * @example
4916
+ * queue
4917
+ */
4894
4918
  dimensionKey?: string;
4919
+ /**
4920
+ * @remarks
4921
+ * The value of the metric dimension.
4922
+ *
4923
+ * @example
4924
+ * testQueue
4925
+ */
4895
4926
  dimensionValue?: string;
4896
4927
  static names(): { [key: string]: string } {
4897
4928
  return {
@@ -4917,10 +4948,48 @@ export class CreateScalingRuleRequestHybridMetricsDimensions extends $dara.Model
4917
4948
  }
4918
4949
 
4919
4950
  export class CreateScalingRuleRequestHybridMetrics extends $dara.Model {
4951
+ /**
4952
+ * @remarks
4953
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
4954
+ */
4920
4955
  dimensions?: CreateScalingRuleRequestHybridMetricsDimensions[];
4956
+ /**
4957
+ * @remarks
4958
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
4959
+ *
4960
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
4961
+ *
4962
+ * @example
4963
+ * (a+b)/2
4964
+ */
4921
4965
  expression?: string;
4966
+ /**
4967
+ * @remarks
4968
+ * The reference ID of the metric in the metric expression.
4969
+ *
4970
+ * @example
4971
+ * a
4972
+ */
4922
4973
  id?: string;
4974
+ /**
4975
+ * @remarks
4976
+ * The name of the Hybrid Cloud Monitoring metric.
4977
+ *
4978
+ * @example
4979
+ * AliyunSmq_NumberOfMessagesVisible
4980
+ */
4923
4981
  metricName?: string;
4982
+ /**
4983
+ * @remarks
4984
+ * The statistical method of the metric value. Valid values:
4985
+ *
4986
+ * * Average: calculates the average value of all metric values within a specified interval.
4987
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
4988
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
4989
+ *
4990
+ * @example
4991
+ * Average
4992
+ */
4924
4993
  statistic?: string;
4925
4994
  static names(): { [key: string]: string } {
4926
4995
  return {
@@ -5179,7 +5248,21 @@ export class DescribeAlarmsResponseBodyAlarmListExpressions extends $dara.Model
5179
5248
  }
5180
5249
 
5181
5250
  export class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions extends $dara.Model {
5251
+ /**
5252
+ * @remarks
5253
+ * The key of the metric dimension.
5254
+ *
5255
+ * @example
5256
+ * queue
5257
+ */
5182
5258
  dimensionKey?: string;
5259
+ /**
5260
+ * @remarks
5261
+ * The key of the metric dimension.
5262
+ *
5263
+ * @example
5264
+ * testQueue
5265
+ */
5183
5266
  dimensionValue?: string;
5184
5267
  static names(): { [key: string]: string } {
5185
5268
  return {
@@ -5205,10 +5288,48 @@ export class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions extends
5205
5288
  }
5206
5289
 
5207
5290
  export class DescribeAlarmsResponseBodyAlarmListHybridMetrics extends $dara.Model {
5291
+ /**
5292
+ * @remarks
5293
+ * The metric dimensions. This parameter is used to specify the monitored resources.
5294
+ */
5208
5295
  dimensions?: DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions[];
5296
+ /**
5297
+ * @remarks
5298
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
5299
+ *
5300
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
5301
+ *
5302
+ * @example
5303
+ * (a+b)/2
5304
+ */
5209
5305
  expression?: string;
5306
+ /**
5307
+ * @remarks
5308
+ * The reference ID of the metric in the metric expression.
5309
+ *
5310
+ * @example
5311
+ * a
5312
+ */
5210
5313
  id?: string;
5314
+ /**
5315
+ * @remarks
5316
+ * The name of the Hybrid Cloud Monitoring metric.
5317
+ *
5318
+ * @example
5319
+ * AliyunSmq_NumberOfMessagesVisible
5320
+ */
5211
5321
  metricName?: string;
5322
+ /**
5323
+ * @remarks
5324
+ * The statistical method of the metric value. Valid values:
5325
+ *
5326
+ * * Average: The average value of all metric values within a specified interval is calculated.
5327
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
5328
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
5329
+ *
5330
+ * @example
5331
+ * Average
5332
+ */
5212
5333
  statistic?: string;
5213
5334
  static names(): { [key: string]: string } {
5214
5335
  return {
@@ -5325,7 +5446,20 @@ export class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
5325
5446
  * &&
5326
5447
  */
5327
5448
  expressionsLogicOperator?: string;
5449
+ /**
5450
+ * @remarks
5451
+ * The Hybrid Cloud Monitoring metrics.
5452
+ */
5328
5453
  hybridMetrics?: DescribeAlarmsResponseBodyAlarmListHybridMetrics[];
5454
+ /**
5455
+ * @remarks
5456
+ * The ID of the Hybrid Cloud Monitoring namespace.
5457
+ *
5458
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
5459
+ *
5460
+ * @example
5461
+ * aliyun-test
5462
+ */
5329
5463
  hybridMonitorNamespace?: string;
5330
5464
  /**
5331
5465
  * @remarks
@@ -5365,10 +5499,11 @@ export class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
5365
5499
  metricName?: string;
5366
5500
  /**
5367
5501
  * @remarks
5368
- * The metric type. Valid values:
5502
+ * The type of the metric. Valid values:
5369
5503
  *
5370
5504
  * * system: system metrics of CloudMonitor
5371
5505
  * * custom: custom metrics that are reported to CloudMonitor.
5506
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
5372
5507
  *
5373
5508
  * @example
5374
5509
  * system
@@ -5398,6 +5533,13 @@ export class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
5398
5533
  * 300
5399
5534
  */
5400
5535
  period?: number;
5536
+ /**
5537
+ * @remarks
5538
+ * The PromQL statement of Hybrid Cloud Monitoring.
5539
+ *
5540
+ * @example
5541
+ * (avg(last_over_time(AliyunMnsnew_ActiveMessages{region=\\"cn-hangzhou\\",userId=\\"123456****\\",queue=\\"testQueue\\"}[900s])) by (userId))/(avg(last_over_time(AliyunEss_RunningInstanceCount{instanceId=\\"asg-bp1****\\"}[900s])) by (userId) != 0)
5542
+ */
5401
5543
  promQL?: string;
5402
5544
  /**
5403
5545
  * @remarks
@@ -10522,6 +10664,20 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks extends $
10522
10664
  * asg-bp16pbfcr8j9*****
10523
10665
  */
10524
10666
  scalingGroupId?: string;
10667
+ /**
10668
+ * @remarks
10669
+ * Indicates whether instances that match the desired scaling configuration are skipped.
10670
+ *
10671
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
10672
+ *
10673
+ * Valid values:
10674
+ *
10675
+ * * true: Instances that match the desired scaling configuration are skipped. When you initiate an instance refresh task, the system checks the configurations of all instances. The refresh operation is skipped for instances created based on the desired scaling configuration.
10676
+ * * false: Instances that match the desired scaling configuration are not skipped. When an instance refresh task is initiated, all instances in the scaling group at the time of initiation are refreshed.
10677
+ *
10678
+ * @example
10679
+ * true
10680
+ */
10525
10681
  skipMatching?: boolean;
10526
10682
  /**
10527
10683
  * @remarks
@@ -11028,9 +11184,34 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
11028
11184
  }
11029
11185
 
11030
11186
  export class DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages extends $dara.Model {
11187
+ /**
11188
+ * @remarks
11189
+ * The error code that is returned when the scaling activity failed.
11190
+ *
11191
+ * @example
11192
+ * OperationDenied.NoStock
11193
+ */
11031
11194
  code?: string;
11195
+ /**
11196
+ * @remarks
11197
+ * The description of the scaling activity exception.
11198
+ *
11199
+ * @example
11200
+ * Fail to create instances into scaling group.
11201
+ */
11032
11202
  description?: string;
11203
+ /**
11204
+ * @remarks
11205
+ * The IDs of the instances included in the failed scaling activities.
11206
+ */
11033
11207
  failedInstanceIds?: string[];
11208
+ /**
11209
+ * @remarks
11210
+ * The error message that is returned when the scaling activity failed or is partially successful.
11211
+ *
11212
+ * @example
11213
+ * The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.
11214
+ */
11034
11215
  message?: string;
11035
11216
  static names(): { [key: string]: string } {
11036
11217
  return {
@@ -11204,6 +11385,10 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $dar
11204
11385
  * The specified ECS resource is out of stock in this region. Please try again later.
11205
11386
  */
11206
11387
  errorMessage?: string;
11388
+ /**
11389
+ * @remarks
11390
+ * The error messages that are returned when the scaling activities failed or are partially successful.
11391
+ */
11207
11392
  errorMessages?: DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages[];
11208
11393
  /**
11209
11394
  * @remarks
@@ -14175,6 +14360,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions exten
14175
14360
  * 0
14176
14361
  */
14177
14362
  onDemandPercentageAboveBaseCapacity?: number;
14363
+ priceComparisonMode?: string;
14178
14364
  /**
14179
14365
  * @remarks
14180
14366
  * Specifies whether to replace pay-as-you-go ECS instances with preemptible ECS instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible ECS instances to replace the surplus pay-as-you-go ECS instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go ECS instances if there are not enough preemptible instance types available. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
@@ -14191,6 +14377,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions exten
14191
14377
  compensateWithOnDemand: 'CompensateWithOnDemand',
14192
14378
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
14193
14379
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
14380
+ priceComparisonMode: 'PriceComparisonMode',
14194
14381
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
14195
14382
  };
14196
14383
  }
@@ -14200,6 +14387,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions exten
14200
14387
  compensateWithOnDemand: 'boolean',
14201
14388
  onDemandBaseCapacity: 'number',
14202
14389
  onDemandPercentageAboveBaseCapacity: 'number',
14390
+ priceComparisonMode: 'string',
14203
14391
  spotAutoReplaceOnDemand: 'boolean',
14204
14392
  };
14205
14393
  }
@@ -15735,7 +15923,21 @@ export class DescribeScalingRulesResponseBodyScalingRulesAlarms extends $dara.Mo
15735
15923
  }
15736
15924
 
15737
15925
  export class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions extends $dara.Model {
15926
+ /**
15927
+ * @remarks
15928
+ * The key of the metric dimension.
15929
+ *
15930
+ * @example
15931
+ * queue
15932
+ */
15738
15933
  dimensionKey?: string;
15934
+ /**
15935
+ * @remarks
15936
+ * The key of the metric dimension.
15937
+ *
15938
+ * @example
15939
+ * testQueue
15940
+ */
15739
15941
  dimensionValue?: string;
15740
15942
  static names(): { [key: string]: string } {
15741
15943
  return {
@@ -15761,10 +15963,48 @@ export class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions
15761
15963
  }
15762
15964
 
15763
15965
  export class DescribeScalingRulesResponseBodyScalingRulesHybridMetrics extends $dara.Model {
15966
+ /**
15967
+ * @remarks
15968
+ * The metric dimensions. This parameter is used to specify the monitored resources.
15969
+ */
15764
15970
  dimensions?: DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions[];
15971
+ /**
15972
+ * @remarks
15973
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
15974
+ *
15975
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
15976
+ *
15977
+ * @example
15978
+ * (a+b)/2
15979
+ */
15765
15980
  expression?: string;
15981
+ /**
15982
+ * @remarks
15983
+ * The reference ID of the metric in the metric expression.
15984
+ *
15985
+ * @example
15986
+ * a
15987
+ */
15766
15988
  id?: string;
15989
+ /**
15990
+ * @remarks
15991
+ * The name of the Hybrid Cloud Monitoring metric.
15992
+ *
15993
+ * @example
15994
+ * AliyunSmq_NumberOfMessagesVisible
15995
+ */
15767
15996
  metricName?: string;
15997
+ /**
15998
+ * @remarks
15999
+ * The statistical method of the metric value. Valid values:
16000
+ *
16001
+ * * Average: The average value of all metric values within a specified interval is calculated.
16002
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
16003
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
16004
+ *
16005
+ * @example
16006
+ * Average
16007
+ */
15768
16008
  statistic?: string;
15769
16009
  static names(): { [key: string]: string } {
15770
16010
  return {
@@ -15906,7 +16146,20 @@ export class DescribeScalingRulesResponseBodyScalingRules extends $dara.Model {
15906
16146
  * 300
15907
16147
  */
15908
16148
  estimatedInstanceWarmup?: number;
16149
+ /**
16150
+ * @remarks
16151
+ * The Hybrid Cloud Monitoring metrics.
16152
+ */
15909
16153
  hybridMetrics?: DescribeScalingRulesResponseBodyScalingRulesHybridMetrics[];
16154
+ /**
16155
+ * @remarks
16156
+ * The ID of the Hybrid Cloud Monitoring namespace.
16157
+ *
16158
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
16159
+ *
16160
+ * @example
16161
+ * aliyun-test
16162
+ */
15910
16163
  hybridMonitorNamespace?: string;
15911
16164
  /**
15912
16165
  * @remarks
@@ -15932,6 +16185,17 @@ export class DescribeScalingRulesResponseBodyScalingRules extends $dara.Model {
15932
16185
  * CpuUtilization
15933
16186
  */
15934
16187
  metricName?: string;
16188
+ /**
16189
+ * @remarks
16190
+ * The metric type. Valid values:
16191
+ *
16192
+ * * system: system metrics of CloudMonitor.
16193
+ * * custom: custom metrics that are reported to CloudMonitor.
16194
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
16195
+ *
16196
+ * @example
16197
+ * system
16198
+ */
15935
16199
  metricType?: string;
15936
16200
  /**
15937
16201
  * @remarks
@@ -18866,13 +19130,20 @@ export class ModifyScalingConfigurationRequestSystemDisk extends $dara.Model {
18866
19130
  * @remarks
18867
19131
  * The size of the system disk. Unit: GiB. Valid values:
18868
19132
  *
18869
- * * If you set SystemDisk.Category to cloud: 20 to 500.
18870
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
18871
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
18872
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
18873
- * * If you set SystemDisk.Category to ephemeral_ssd: 20 to 500.
19133
+ * * Basic disk: 20 to 500.
19134
+ *
19135
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
18874
19136
  *
18875
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
19137
+ * * PL0 ESSD: 1 to 2048.
19138
+ * * PL1 ESSD: 20 to 2048.
19139
+ * * PL2 ESSD: 461 to 2048.
19140
+ * * PL3 ESSD: 1261 to 2048.
19141
+ *
19142
+ * * ESSD AutoPL disk: 1 to 2048.
19143
+ *
19144
+ * * Other disk categories: 20 to 2048.
19145
+ *
19146
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
18876
19147
  *
18877
19148
  * @example
18878
19149
  * 50
@@ -19882,13 +20153,20 @@ export class ModifyScalingConfigurationShrinkRequestSystemDisk extends $dara.Mod
19882
20153
  * @remarks
19883
20154
  * The size of the system disk. Unit: GiB. Valid values:
19884
20155
  *
19885
- * * If you set SystemDisk.Category to cloud: 20 to 500.
19886
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
19887
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
19888
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
19889
- * * If you set SystemDisk.Category to ephemeral_ssd: 20 to 500.
20156
+ * * Basic disk: 20 to 500.
20157
+ *
20158
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
19890
20159
  *
19891
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
20160
+ * * PL0 ESSD: 1 to 2048.
20161
+ * * PL1 ESSD: 20 to 2048.
20162
+ * * PL2 ESSD: 461 to 2048.
20163
+ * * PL3 ESSD: 1261 to 2048.
20164
+ *
20165
+ * * ESSD AutoPL disk: 1 to 2048.
20166
+ *
20167
+ * * Other disk categories: 20 to 2048.
20168
+ *
20169
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
19892
20170
  *
19893
20171
  * @example
19894
20172
  * 50
@@ -20733,6 +21011,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20733
21011
  * 20
20734
21012
  */
20735
21013
  onDemandPercentageAboveBaseCapacity?: number;
21014
+ priceComparisonMode?: string;
20736
21015
  /**
20737
21016
  * @remarks
20738
21017
  * Specifies whether to replace pay-as-you-go ECS instances with preemptible ECS instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible ECS instances to replace the surplus pay-as-you-go ECS instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go ECS instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
@@ -20751,6 +21030,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20751
21030
  compensateWithOnDemand: 'CompensateWithOnDemand',
20752
21031
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
20753
21032
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
21033
+ priceComparisonMode: 'PriceComparisonMode',
20754
21034
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
20755
21035
  };
20756
21036
  }
@@ -20760,6 +21040,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20760
21040
  compensateWithOnDemand: 'boolean',
20761
21041
  onDemandBaseCapacity: 'number',
20762
21042
  onDemandPercentageAboveBaseCapacity: 'number',
21043
+ priceComparisonMode: 'string',
20763
21044
  spotAutoReplaceOnDemand: 'boolean',
20764
21045
  };
20765
21046
  }
@@ -20883,7 +21164,21 @@ export class ModifyScalingRuleRequestAlarmDimensions extends $dara.Model {
20883
21164
  }
20884
21165
 
20885
21166
  export class ModifyScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
21167
+ /**
21168
+ * @remarks
21169
+ * The key of the metric dimension.
21170
+ *
21171
+ * @example
21172
+ * queue
21173
+ */
20886
21174
  dimensionKey?: string;
21175
+ /**
21176
+ * @remarks
21177
+ * The value of the metric dimension.
21178
+ *
21179
+ * @example
21180
+ * testQueue
21181
+ */
20887
21182
  dimensionValue?: string;
20888
21183
  static names(): { [key: string]: string } {
20889
21184
  return {
@@ -20909,10 +21204,48 @@ export class ModifyScalingRuleRequestHybridMetricsDimensions extends $dara.Model
20909
21204
  }
20910
21205
 
20911
21206
  export class ModifyScalingRuleRequestHybridMetrics extends $dara.Model {
21207
+ /**
21208
+ * @remarks
21209
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
21210
+ */
20912
21211
  dimensions?: ModifyScalingRuleRequestHybridMetricsDimensions[];
21212
+ /**
21213
+ * @remarks
21214
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
21215
+ *
21216
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
21217
+ *
21218
+ * @example
21219
+ * (a+b)/2
21220
+ */
20913
21221
  expression?: string;
21222
+ /**
21223
+ * @remarks
21224
+ * The reference ID of the metric in the metric expression.
21225
+ *
21226
+ * @example
21227
+ * a
21228
+ */
20914
21229
  id?: string;
21230
+ /**
21231
+ * @remarks
21232
+ * The name of the Hybrid Cloud Monitoring metric.
21233
+ *
21234
+ * @example
21235
+ * AliyunSmq_NumberOfMessagesVisible
21236
+ */
20915
21237
  metricName?: string;
21238
+ /**
21239
+ * @remarks
21240
+ * The statistical method of the metric value. Valid values:
21241
+ *
21242
+ * * Average: calculates the average value of all metric values within a specified interval.
21243
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
21244
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
21245
+ *
21246
+ * @example
21247
+ * Average
21248
+ */
20916
21249
  statistic?: string;
20917
21250
  static names(): { [key: string]: string } {
20918
21251
  return {
@@ -22018,6 +22351,14 @@ export class AttachInstancesRequest extends $dara.Model {
22018
22351
  */
22019
22352
  entrusted?: boolean;
22020
22353
  /**
22354
+ * @remarks
22355
+ * Specifies whether to ignore invalid instances when a batch of instances is added to the scaling group. Valid values:
22356
+ *
22357
+ * * true: ignores invalid instances. If invalid instances exist and valid instances are added, the corresponding scaling activity enters the Warning state. You can check the scaling activity details to view the invalid instances that are ignored.
22358
+ * * false: does not ignore invalid instances. If invalid instances exist in the batch of instances that you want to add to the scaling group, an error is reported.
22359
+ *
22360
+ * Default value: false.
22361
+ *
22021
22362
  * @example
22022
22363
  * false
22023
22364
  */
@@ -26808,7 +27149,20 @@ export class CreateScalingRuleRequest extends $dara.Model {
26808
27149
  * 300
26809
27150
  */
26810
27151
  estimatedInstanceWarmup?: number;
27152
+ /**
27153
+ * @remarks
27154
+ * The Hybrid Cloud Monitoring metrics.
27155
+ */
26811
27156
  hybridMetrics?: CreateScalingRuleRequestHybridMetrics[];
27157
+ /**
27158
+ * @remarks
27159
+ * The ID of the Hybrid Cloud Monitoring namespace.
27160
+ *
27161
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
27162
+ *
27163
+ * @example
27164
+ * aliyun-test
27165
+ */
26812
27166
  hybridMonitorNamespace?: string;
26813
27167
  /**
26814
27168
  * @remarks
@@ -26847,6 +27201,17 @@ export class CreateScalingRuleRequest extends $dara.Model {
26847
27201
  * CpuUtilization
26848
27202
  */
26849
27203
  metricName?: string;
27204
+ /**
27205
+ * @remarks
27206
+ * The metric type. Valid values:
27207
+ *
27208
+ * * system: system metrics of CloudMonitor.
27209
+ * * custom: custom metrics that are reported to CloudMonitor.
27210
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
27211
+ *
27212
+ * @example
27213
+ * system
27214
+ */
26850
27215
  metricType?: string;
26851
27216
  /**
26852
27217
  * @remarks
@@ -28553,10 +28918,11 @@ export class DescribeAlarmsRequest extends $dara.Model {
28553
28918
  metricName?: string;
28554
28919
  /**
28555
28920
  * @remarks
28556
- * The metric type. Valid values:
28921
+ * The type of the metric. Valid values:
28557
28922
  *
28558
28923
  * * system: system metrics of CloudMonitor
28559
28924
  * * custom: custom metrics that are reported to CloudMonitor.
28925
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
28560
28926
  *
28561
28927
  * @example
28562
28928
  * true
@@ -37459,13 +37825,13 @@ export class ModifyScalingConfigurationRequest extends $dara.Model {
37459
37825
  creditSpecification?: string;
37460
37826
  /**
37461
37827
  * @remarks
37462
- * The priority of the custom ECS instance type + vSwitch combination.
37828
+ * The priority of the custom "ECS instance type + vSwitch" combination.
37463
37829
  *
37464
37830
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
37465
37831
  *
37466
- * If Auto Scaling cannot create ECS instances by using the custom ECS instance type + vSwitch combination of the highest priority, Auto Scaling creates ECS instances by using the custom ECS instance type + vSwitch combination of the next highest priority.
37832
+ * If Auto Scaling cannot create ECS instances by using the custom "ECS instance type + vSwitch" combination of the highest priority, Auto Scaling creates ECS instances by using the custom "ECS instance type + vSwitch" combination of the next highest priority.
37467
37833
  *
37468
- * > If you specify the priorities of only a part of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
37834
+ * > If you specify the priorities of only a part of custom "ECS instance type + vSwitch" combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
37469
37835
  *
37470
37836
  * * Example: The specified order of vSwitches for your scaling group is vsw1 and vsw2, and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you use CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.
37471
37837
  */
@@ -38122,13 +38488,13 @@ export class ModifyScalingConfigurationShrinkRequest extends $dara.Model {
38122
38488
  creditSpecification?: string;
38123
38489
  /**
38124
38490
  * @remarks
38125
- * The priority of the custom ECS instance type + vSwitch combination.
38491
+ * The priority of the custom "ECS instance type + vSwitch" combination.
38126
38492
  *
38127
38493
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
38128
38494
  *
38129
- * If Auto Scaling cannot create ECS instances by using the custom ECS instance type + vSwitch combination of the highest priority, Auto Scaling creates ECS instances by using the custom ECS instance type + vSwitch combination of the next highest priority.
38495
+ * If Auto Scaling cannot create ECS instances by using the custom "ECS instance type + vSwitch" combination of the highest priority, Auto Scaling creates ECS instances by using the custom "ECS instance type + vSwitch" combination of the next highest priority.
38130
38496
  *
38131
- * > If you specify the priorities of only a part of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
38497
+ * > If you specify the priorities of only a part of custom "ECS instance type + vSwitch" combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
38132
38498
  *
38133
38499
  * * Example: The specified order of vSwitches for your scaling group is vsw1 and vsw2, and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you use CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.
38134
38500
  */
@@ -39360,7 +39726,20 @@ export class ModifyScalingRuleRequest extends $dara.Model {
39360
39726
  * 60
39361
39727
  */
39362
39728
  estimatedInstanceWarmup?: number;
39729
+ /**
39730
+ * @remarks
39731
+ * The Hybrid Cloud Monitoring metrics.
39732
+ */
39363
39733
  hybridMetrics?: ModifyScalingRuleRequestHybridMetrics[];
39734
+ /**
39735
+ * @remarks
39736
+ * The ID of the Hybrid Cloud Monitoring namespace.
39737
+ *
39738
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
39739
+ *
39740
+ * @example
39741
+ * aliyun-test
39742
+ */
39364
39743
  hybridMonitorNamespace?: string;
39365
39744
  /**
39366
39745
  * @remarks
@@ -39397,6 +39776,17 @@ export class ModifyScalingRuleRequest extends $dara.Model {
39397
39776
  * CpuUtilization
39398
39777
  */
39399
39778
  metricName?: string;
39779
+ /**
39780
+ * @remarks
39781
+ * The metric type. Valid values:
39782
+ *
39783
+ * * system: system metrics of CloudMonitor.
39784
+ * * custom: custom metrics that are reported to CloudMonitor.
39785
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
39786
+ *
39787
+ * @example
39788
+ * system
39789
+ */
39400
39790
  metricType?: string;
39401
39791
  /**
39402
39792
  * @remarks
@@ -41611,6 +42001,22 @@ export class StartInstanceRefreshRequest extends $dara.Model {
41611
42001
  * asg-bp18p2yfxow2dloq****
41612
42002
  */
41613
42003
  scalingGroupId?: string;
42004
+ /**
42005
+ * @remarks
42006
+ * Specifies whether to skip instances that match the desired scaling configuration.
42007
+ *
42008
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
42009
+ *
42010
+ * Valid values:
42011
+ *
42012
+ * * true: skips instances that match the desired scaling configuration. When you initiate an instance refresh task, the system checks the configurations of all instances. The refresh operation is skipped for instances created based on the desired scaling configuration.
42013
+ * * false: does not skip instances that match the desired scaling configuration. When an instance refresh task is initiated, all instances in the scaling group at the time of initiation are refreshed.
42014
+ *
42015
+ * Default value: true.
42016
+ *
42017
+ * @example
42018
+ * true
42019
+ */
41614
42020
  skipMatching?: boolean;
41615
42021
  static names(): { [key: string]: string } {
41616
42022
  return {
@@ -42629,7 +43035,12 @@ export default class Client extends OpenApi {
42629
43035
  reqBodyType: "formData",
42630
43036
  bodyType: "json",
42631
43037
  });
42632
- return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
43038
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43039
+ return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
43040
+ } else {
43041
+ return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
43042
+ }
43043
+
42633
43044
  }
42634
43045
 
42635
43046
  /**
@@ -42718,7 +43129,12 @@ export default class Client extends OpenApi {
42718
43129
  reqBodyType: "formData",
42719
43130
  bodyType: "json",
42720
43131
  });
42721
- return $dara.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
43132
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43133
+ return $dara.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
43134
+ } else {
43135
+ return $dara.cast<ApplyScalingGroupResponse>(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
43136
+ }
43137
+
42722
43138
  }
42723
43139
 
42724
43140
  /**
@@ -42823,7 +43239,12 @@ export default class Client extends OpenApi {
42823
43239
  reqBodyType: "formData",
42824
43240
  bodyType: "json",
42825
43241
  });
42826
- return $dara.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
43242
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43243
+ return $dara.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
43244
+ } else {
43245
+ return $dara.cast<AttachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
43246
+ }
43247
+
42827
43248
  }
42828
43249
 
42829
43250
  /**
@@ -42911,7 +43332,12 @@ export default class Client extends OpenApi {
42911
43332
  reqBodyType: "formData",
42912
43333
  bodyType: "json",
42913
43334
  });
42914
- return $dara.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
43335
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43336
+ return $dara.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
43337
+ } else {
43338
+ return $dara.cast<AttachDBInstancesResponse>(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
43339
+ }
43340
+
42915
43341
  }
42916
43342
 
42917
43343
  /**
@@ -43022,7 +43448,12 @@ export default class Client extends OpenApi {
43022
43448
  reqBodyType: "formData",
43023
43449
  bodyType: "json",
43024
43450
  });
43025
- return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
43451
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43452
+ return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
43453
+ } else {
43454
+ return $dara.cast<AttachInstancesResponse>(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
43455
+ }
43456
+
43026
43457
  }
43027
43458
 
43028
43459
  /**
@@ -43117,7 +43548,12 @@ export default class Client extends OpenApi {
43117
43548
  reqBodyType: "formData",
43118
43549
  bodyType: "json",
43119
43550
  });
43120
- return $dara.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
43551
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43552
+ return $dara.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
43553
+ } else {
43554
+ return $dara.cast<AttachLoadBalancersResponse>(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
43555
+ }
43556
+
43121
43557
  }
43122
43558
 
43123
43559
  /**
@@ -43192,7 +43628,12 @@ export default class Client extends OpenApi {
43192
43628
  reqBodyType: "formData",
43193
43629
  bodyType: "json",
43194
43630
  });
43195
- return $dara.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
43631
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43632
+ return $dara.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
43633
+ } else {
43634
+ return $dara.cast<AttachServerGroupsResponse>(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
43635
+ }
43636
+
43196
43637
  }
43197
43638
 
43198
43639
  /**
@@ -43275,7 +43716,12 @@ export default class Client extends OpenApi {
43275
43716
  reqBodyType: "formData",
43276
43717
  bodyType: "json",
43277
43718
  });
43278
- return $dara.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
43719
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43720
+ return $dara.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
43721
+ } else {
43722
+ return $dara.cast<AttachVServerGroupsResponse>(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
43723
+ }
43724
+
43279
43725
  }
43280
43726
 
43281
43727
  /**
@@ -43353,7 +43799,12 @@ export default class Client extends OpenApi {
43353
43799
  reqBodyType: "formData",
43354
43800
  bodyType: "json",
43355
43801
  });
43356
- return $dara.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
43802
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43803
+ return $dara.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
43804
+ } else {
43805
+ return $dara.cast<CancelInstanceRefreshResponse>(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
43806
+ }
43807
+
43357
43808
  }
43358
43809
 
43359
43810
  /**
@@ -43422,7 +43873,12 @@ export default class Client extends OpenApi {
43422
43873
  reqBodyType: "formData",
43423
43874
  bodyType: "json",
43424
43875
  });
43425
- return $dara.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
43876
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43877
+ return $dara.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
43878
+ } else {
43879
+ return $dara.cast<ChangeResourceGroupResponse>(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
43880
+ }
43881
+
43426
43882
  }
43427
43883
 
43428
43884
  /**
@@ -43499,7 +43955,12 @@ export default class Client extends OpenApi {
43499
43955
  reqBodyType: "formData",
43500
43956
  bodyType: "json",
43501
43957
  });
43502
- return $dara.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
43958
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43959
+ return $dara.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
43960
+ } else {
43961
+ return $dara.cast<CompleteLifecycleActionResponse>(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
43962
+ }
43963
+
43503
43964
  }
43504
43965
 
43505
43966
  /**
@@ -43623,7 +44084,12 @@ export default class Client extends OpenApi {
43623
44084
  reqBodyType: "formData",
43624
44085
  bodyType: "json",
43625
44086
  });
43626
- return $dara.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
44087
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44088
+ return $dara.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
44089
+ } else {
44090
+ return $dara.cast<CreateAlarmResponse>(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
44091
+ }
44092
+
43627
44093
  }
43628
44094
 
43629
44095
  /**
@@ -43668,7 +44134,12 @@ export default class Client extends OpenApi {
43668
44134
  reqBodyType: "formData",
43669
44135
  bodyType: "json",
43670
44136
  });
43671
- return $dara.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
44137
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44138
+ return $dara.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
44139
+ } else {
44140
+ return $dara.cast<CreateDiagnoseReportResponse>(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
44141
+ }
44142
+
43672
44143
  }
43673
44144
 
43674
44145
  /**
@@ -43910,7 +44381,12 @@ export default class Client extends OpenApi {
43910
44381
  reqBodyType: "formData",
43911
44382
  bodyType: "json",
43912
44383
  });
43913
- return $dara.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
44384
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44385
+ return $dara.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
44386
+ } else {
44387
+ return $dara.cast<CreateEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
44388
+ }
44389
+
43914
44390
  }
43915
44391
 
43916
44392
  /**
@@ -43998,7 +44474,12 @@ export default class Client extends OpenApi {
43998
44474
  reqBodyType: "formData",
43999
44475
  bodyType: "json",
44000
44476
  });
44001
- return $dara.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
44477
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44478
+ return $dara.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
44479
+ } else {
44480
+ return $dara.cast<CreateLifecycleHookResponse>(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
44481
+ }
44482
+
44002
44483
  }
44003
44484
 
44004
44485
  /**
@@ -44075,7 +44556,12 @@ export default class Client extends OpenApi {
44075
44556
  reqBodyType: "formData",
44076
44557
  bodyType: "json",
44077
44558
  });
44078
- return $dara.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
44559
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44560
+ return $dara.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
44561
+ } else {
44562
+ return $dara.cast<CreateNotificationConfigurationResponse>(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
44563
+ }
44564
+
44079
44565
  }
44080
44566
 
44081
44567
  /**
@@ -44373,7 +44859,12 @@ export default class Client extends OpenApi {
44373
44859
  reqBodyType: "formData",
44374
44860
  bodyType: "json",
44375
44861
  });
44376
- return $dara.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
44862
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44863
+ return $dara.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
44864
+ } else {
44865
+ return $dara.cast<CreateScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
44866
+ }
44867
+
44377
44868
  }
44378
44869
 
44379
44870
  /**
@@ -44632,7 +45123,12 @@ export default class Client extends OpenApi {
44632
45123
  reqBodyType: "formData",
44633
45124
  bodyType: "json",
44634
45125
  });
44635
- return $dara.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
45126
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45127
+ return $dara.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
45128
+ } else {
45129
+ return $dara.cast<CreateScalingGroupResponse>(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
45130
+ }
45131
+
44636
45132
  }
44637
45133
 
44638
45134
  /**
@@ -44816,7 +45312,12 @@ export default class Client extends OpenApi {
44816
45312
  reqBodyType: "formData",
44817
45313
  bodyType: "json",
44818
45314
  });
44819
- return $dara.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
45315
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45316
+ return $dara.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
45317
+ } else {
45318
+ return $dara.cast<CreateScalingRuleResponse>(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
45319
+ }
45320
+
44820
45321
  }
44821
45322
 
44822
45323
  /**
@@ -44947,7 +45448,12 @@ export default class Client extends OpenApi {
44947
45448
  reqBodyType: "formData",
44948
45449
  bodyType: "json",
44949
45450
  });
44950
- return $dara.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
45451
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45452
+ return $dara.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
45453
+ } else {
45454
+ return $dara.cast<CreateScheduledTaskResponse>(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
45455
+ }
45456
+
44951
45457
  }
44952
45458
 
44953
45459
  /**
@@ -45015,7 +45521,12 @@ export default class Client extends OpenApi {
45015
45521
  reqBodyType: "formData",
45016
45522
  bodyType: "json",
45017
45523
  });
45018
- return $dara.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
45524
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45525
+ return $dara.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
45526
+ } else {
45527
+ return $dara.cast<DeactivateScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
45528
+ }
45529
+
45019
45530
  }
45020
45531
 
45021
45532
  /**
@@ -45072,7 +45583,12 @@ export default class Client extends OpenApi {
45072
45583
  reqBodyType: "formData",
45073
45584
  bodyType: "json",
45074
45585
  });
45075
- return $dara.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
45586
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45587
+ return $dara.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
45588
+ } else {
45589
+ return $dara.cast<DeleteAlarmResponse>(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
45590
+ }
45591
+
45076
45592
  }
45077
45593
 
45078
45594
  /**
@@ -45135,7 +45651,12 @@ export default class Client extends OpenApi {
45135
45651
  reqBodyType: "formData",
45136
45652
  bodyType: "json",
45137
45653
  });
45138
- return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
45654
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45655
+ return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
45656
+ } else {
45657
+ return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
45658
+ }
45659
+
45139
45660
  }
45140
45661
 
45141
45662
  /**
@@ -45211,7 +45732,12 @@ export default class Client extends OpenApi {
45211
45732
  reqBodyType: "formData",
45212
45733
  bodyType: "json",
45213
45734
  });
45214
- return $dara.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
45735
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45736
+ return $dara.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
45737
+ } else {
45738
+ return $dara.cast<DeleteLifecycleHookResponse>(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
45739
+ }
45740
+
45215
45741
  }
45216
45742
 
45217
45743
  /**
@@ -45274,7 +45800,12 @@ export default class Client extends OpenApi {
45274
45800
  reqBodyType: "formData",
45275
45801
  bodyType: "json",
45276
45802
  });
45277
- return $dara.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
45803
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45804
+ return $dara.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
45805
+ } else {
45806
+ return $dara.cast<DeleteNotificationConfigurationResponse>(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
45807
+ }
45808
+
45278
45809
  }
45279
45810
 
45280
45811
  /**
@@ -45333,7 +45864,12 @@ export default class Client extends OpenApi {
45333
45864
  reqBodyType: "formData",
45334
45865
  bodyType: "json",
45335
45866
  });
45336
- return $dara.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
45867
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45868
+ return $dara.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
45869
+ } else {
45870
+ return $dara.cast<DeleteScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
45871
+ }
45872
+
45337
45873
  }
45338
45874
 
45339
45875
  /**
@@ -45412,7 +45948,12 @@ export default class Client extends OpenApi {
45412
45948
  reqBodyType: "formData",
45413
45949
  bodyType: "json",
45414
45950
  });
45415
- return $dara.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
45951
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45952
+ return $dara.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
45953
+ } else {
45954
+ return $dara.cast<DeleteScalingGroupResponse>(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
45955
+ }
45956
+
45416
45957
  }
45417
45958
 
45418
45959
  /**
@@ -45482,7 +46023,12 @@ export default class Client extends OpenApi {
45482
46023
  reqBodyType: "formData",
45483
46024
  bodyType: "json",
45484
46025
  });
45485
- return $dara.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
46026
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46027
+ return $dara.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
46028
+ } else {
46029
+ return $dara.cast<DeleteScalingRuleResponse>(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
46030
+ }
46031
+
45486
46032
  }
45487
46033
 
45488
46034
  /**
@@ -45540,7 +46086,12 @@ export default class Client extends OpenApi {
45540
46086
  reqBodyType: "formData",
45541
46087
  bodyType: "json",
45542
46088
  });
45543
- return $dara.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
46089
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46090
+ return $dara.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
46091
+ } else {
46092
+ return $dara.cast<DeleteScheduledTaskResponse>(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
46093
+ }
46094
+
45544
46095
  }
45545
46096
 
45546
46097
  /**
@@ -45622,7 +46173,12 @@ export default class Client extends OpenApi {
45622
46173
  reqBodyType: "formData",
45623
46174
  bodyType: "json",
45624
46175
  });
45625
- return $dara.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
46176
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46177
+ return $dara.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
46178
+ } else {
46179
+ return $dara.cast<DescribeAlarmsResponse>(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
46180
+ }
46181
+
45626
46182
  }
45627
46183
 
45628
46184
  /**
@@ -45676,7 +46232,12 @@ export default class Client extends OpenApi {
45676
46232
  reqBodyType: "formData",
45677
46233
  bodyType: "json",
45678
46234
  });
45679
- return $dara.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
46235
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46236
+ return $dara.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
46237
+ } else {
46238
+ return $dara.cast<DescribeAlertConfigurationResponse>(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
46239
+ }
46240
+
45680
46241
  }
45681
46242
 
45682
46243
  /**
@@ -45714,7 +46275,12 @@ export default class Client extends OpenApi {
45714
46275
  reqBodyType: "formData",
45715
46276
  bodyType: "json",
45716
46277
  });
45717
- return $dara.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
46278
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46279
+ return $dara.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
46280
+ } else {
46281
+ return $dara.cast<DescribeDiagnoseReportsResponse>(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
46282
+ }
46283
+
45718
46284
  }
45719
46285
 
45720
46286
  /**
@@ -45768,7 +46334,12 @@ export default class Client extends OpenApi {
45768
46334
  reqBodyType: "formData",
45769
46335
  bodyType: "json",
45770
46336
  });
45771
- return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
46337
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46338
+ return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
46339
+ } else {
46340
+ return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
46341
+ }
46342
+
45772
46343
  }
45773
46344
 
45774
46345
  /**
@@ -45846,7 +46417,12 @@ export default class Client extends OpenApi {
45846
46417
  reqBodyType: "formData",
45847
46418
  bodyType: "json",
45848
46419
  });
45849
- return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
46420
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46421
+ return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
46422
+ } else {
46423
+ return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
46424
+ }
46425
+
45850
46426
  }
45851
46427
 
45852
46428
  /**
@@ -45884,7 +46460,12 @@ export default class Client extends OpenApi {
45884
46460
  reqBodyType: "formData",
45885
46461
  bodyType: "json",
45886
46462
  });
45887
- return $dara.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
46463
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46464
+ return $dara.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
46465
+ } else {
46466
+ return $dara.cast<DescribeElasticStrengthResponse>(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
46467
+ }
46468
+
45888
46469
  }
45889
46470
 
45890
46471
  /**
@@ -45958,7 +46539,12 @@ export default class Client extends OpenApi {
45958
46539
  reqBodyType: "formData",
45959
46540
  bodyType: "json",
45960
46541
  });
45961
- return $dara.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
46542
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46543
+ return $dara.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
46544
+ } else {
46545
+ return $dara.cast<DescribeInstanceRefreshesResponse>(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
46546
+ }
46547
+
45962
46548
  }
45963
46549
 
45964
46550
  /**
@@ -46031,7 +46617,12 @@ export default class Client extends OpenApi {
46031
46617
  reqBodyType: "formData",
46032
46618
  bodyType: "json",
46033
46619
  });
46034
- return $dara.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
46620
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46621
+ return $dara.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
46622
+ } else {
46623
+ return $dara.cast<DescribeLifecycleActionsResponse>(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
46624
+ }
46625
+
46035
46626
  }
46036
46627
 
46037
46628
  /**
@@ -46118,7 +46709,12 @@ export default class Client extends OpenApi {
46118
46709
  reqBodyType: "formData",
46119
46710
  bodyType: "json",
46120
46711
  });
46121
- return $dara.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
46712
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46713
+ return $dara.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
46714
+ } else {
46715
+ return $dara.cast<DescribeLifecycleHooksResponse>(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
46716
+ }
46717
+
46122
46718
  }
46123
46719
 
46124
46720
  /**
@@ -46170,7 +46766,12 @@ export default class Client extends OpenApi {
46170
46766
  reqBodyType: "formData",
46171
46767
  bodyType: "json",
46172
46768
  });
46173
- return $dara.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
46769
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46770
+ return $dara.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
46771
+ } else {
46772
+ return $dara.cast<DescribeLimitationResponse>(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
46773
+ }
46774
+
46174
46775
  }
46175
46776
 
46176
46777
  /**
@@ -46224,7 +46825,12 @@ export default class Client extends OpenApi {
46224
46825
  reqBodyType: "formData",
46225
46826
  bodyType: "json",
46226
46827
  });
46227
- return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
46828
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46829
+ return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
46830
+ } else {
46831
+ return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
46832
+ }
46833
+
46228
46834
  }
46229
46835
 
46230
46836
  /**
@@ -46270,7 +46876,12 @@ export default class Client extends OpenApi {
46270
46876
  reqBodyType: "formData",
46271
46877
  bodyType: "json",
46272
46878
  });
46273
- return $dara.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
46879
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46880
+ return $dara.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
46881
+ } else {
46882
+ return $dara.cast<DescribeNotificationTypesResponse>(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
46883
+ }
46884
+
46274
46885
  }
46275
46886
 
46276
46887
  /**
@@ -46308,7 +46919,12 @@ export default class Client extends OpenApi {
46308
46919
  reqBodyType: "formData",
46309
46920
  bodyType: "json",
46310
46921
  });
46311
- return $dara.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
46922
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46923
+ return $dara.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
46924
+ } else {
46925
+ return $dara.cast<DescribePatternTypesResponse>(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
46926
+ }
46927
+
46312
46928
  }
46313
46929
 
46314
46930
  /**
@@ -46362,7 +46978,12 @@ export default class Client extends OpenApi {
46362
46978
  reqBodyType: "formData",
46363
46979
  bodyType: "json",
46364
46980
  });
46365
- return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
46981
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46982
+ return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
46983
+ } else {
46984
+ return $dara.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
46985
+ }
46986
+
46366
46987
  }
46367
46988
 
46368
46989
  /**
@@ -46449,7 +47070,12 @@ export default class Client extends OpenApi {
46449
47070
  reqBodyType: "formData",
46450
47071
  bodyType: "json",
46451
47072
  });
46452
- return $dara.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
47073
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47074
+ return $dara.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
47075
+ } else {
47076
+ return $dara.cast<DescribeScalingActivitiesResponse>(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
47077
+ }
47078
+
46453
47079
  }
46454
47080
 
46455
47081
  /**
@@ -46508,7 +47134,12 @@ export default class Client extends OpenApi {
46508
47134
  reqBodyType: "formData",
46509
47135
  bodyType: "json",
46510
47136
  });
46511
- return $dara.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
47137
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47138
+ return $dara.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
47139
+ } else {
47140
+ return $dara.cast<DescribeScalingActivityDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
47141
+ }
47142
+
46512
47143
  }
46513
47144
 
46514
47145
  /**
@@ -46586,7 +47217,12 @@ export default class Client extends OpenApi {
46586
47217
  reqBodyType: "formData",
46587
47218
  bodyType: "json",
46588
47219
  });
46589
- return $dara.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
47220
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47221
+ return $dara.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
47222
+ } else {
47223
+ return $dara.cast<DescribeScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
47224
+ }
47225
+
46590
47226
  }
46591
47227
 
46592
47228
  /**
@@ -46640,7 +47276,12 @@ export default class Client extends OpenApi {
46640
47276
  reqBodyType: "formData",
46641
47277
  bodyType: "json",
46642
47278
  });
46643
- return $dara.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
47279
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47280
+ return $dara.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
47281
+ } else {
47282
+ return $dara.cast<DescribeScalingGroupDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
47283
+ }
47284
+
46644
47285
  }
46645
47286
 
46646
47287
  /**
@@ -46678,7 +47319,12 @@ export default class Client extends OpenApi {
46678
47319
  reqBodyType: "formData",
46679
47320
  bodyType: "json",
46680
47321
  });
46681
- return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
47322
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47323
+ return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
47324
+ } else {
47325
+ return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
47326
+ }
47327
+
46682
47328
  }
46683
47329
 
46684
47330
  /**
@@ -46768,7 +47414,12 @@ export default class Client extends OpenApi {
46768
47414
  reqBodyType: "formData",
46769
47415
  bodyType: "json",
46770
47416
  });
46771
- return $dara.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
47417
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47418
+ return $dara.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
47419
+ } else {
47420
+ return $dara.cast<DescribeScalingGroupsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
47421
+ }
47422
+
46772
47423
  }
46773
47424
 
46774
47425
  /**
@@ -46870,7 +47521,12 @@ export default class Client extends OpenApi {
46870
47521
  reqBodyType: "formData",
46871
47522
  bodyType: "json",
46872
47523
  });
46873
- return $dara.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
47524
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47525
+ return $dara.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
47526
+ } else {
47527
+ return $dara.cast<DescribeScalingInstancesResponse>(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
47528
+ }
47529
+
46874
47530
  }
46875
47531
 
46876
47532
  /**
@@ -46963,7 +47619,12 @@ export default class Client extends OpenApi {
46963
47619
  reqBodyType: "formData",
46964
47620
  bodyType: "json",
46965
47621
  });
46966
- return $dara.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
47622
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47623
+ return $dara.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
47624
+ } else {
47625
+ return $dara.cast<DescribeScalingRulesResponse>(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
47626
+ }
47627
+
46967
47628
  }
46968
47629
 
46969
47630
  /**
@@ -47067,7 +47728,12 @@ export default class Client extends OpenApi {
47067
47728
  reqBodyType: "formData",
47068
47729
  bodyType: "json",
47069
47730
  });
47070
- return $dara.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
47731
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47732
+ return $dara.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
47733
+ } else {
47734
+ return $dara.cast<DescribeScheduledTasksResponse>(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
47735
+ }
47736
+
47071
47737
  }
47072
47738
 
47073
47739
  /**
@@ -47136,7 +47802,12 @@ export default class Client extends OpenApi {
47136
47802
  reqBodyType: "formData",
47137
47803
  bodyType: "json",
47138
47804
  });
47139
- return $dara.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
47805
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47806
+ return $dara.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
47807
+ } else {
47808
+ return $dara.cast<DetachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
47809
+ }
47810
+
47140
47811
  }
47141
47812
 
47142
47813
  /**
@@ -47206,7 +47877,12 @@ export default class Client extends OpenApi {
47206
47877
  reqBodyType: "formData",
47207
47878
  bodyType: "json",
47208
47879
  });
47209
- return $dara.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
47880
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47881
+ return $dara.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
47882
+ } else {
47883
+ return $dara.cast<DetachDBInstancesResponse>(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
47884
+ }
47885
+
47210
47886
  }
47211
47887
 
47212
47888
  /**
@@ -47300,7 +47976,12 @@ export default class Client extends OpenApi {
47300
47976
  reqBodyType: "formData",
47301
47977
  bodyType: "json",
47302
47978
  });
47303
- return $dara.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
47979
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47980
+ return $dara.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
47981
+ } else {
47982
+ return $dara.cast<DetachInstancesResponse>(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
47983
+ }
47984
+
47304
47985
  }
47305
47986
 
47306
47987
  /**
@@ -47382,7 +48063,12 @@ export default class Client extends OpenApi {
47382
48063
  reqBodyType: "formData",
47383
48064
  bodyType: "json",
47384
48065
  });
47385
- return $dara.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
48066
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48067
+ return $dara.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
48068
+ } else {
48069
+ return $dara.cast<DetachLoadBalancersResponse>(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
48070
+ }
48071
+
47386
48072
  }
47387
48073
 
47388
48074
  /**
@@ -47448,7 +48134,12 @@ export default class Client extends OpenApi {
47448
48134
  reqBodyType: "formData",
47449
48135
  bodyType: "json",
47450
48136
  });
47451
- return $dara.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
48137
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48138
+ return $dara.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
48139
+ } else {
48140
+ return $dara.cast<DetachServerGroupsResponse>(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
48141
+ }
48142
+
47452
48143
  }
47453
48144
 
47454
48145
  /**
@@ -47522,7 +48213,12 @@ export default class Client extends OpenApi {
47522
48213
  reqBodyType: "formData",
47523
48214
  bodyType: "json",
47524
48215
  });
47525
- return $dara.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
48216
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48217
+ return $dara.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
48218
+ } else {
48219
+ return $dara.cast<DetachVServerGroupsResponse>(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
48220
+ }
48221
+
47526
48222
  }
47527
48223
 
47528
48224
  /**
@@ -47587,7 +48283,12 @@ export default class Client extends OpenApi {
47587
48283
  reqBodyType: "formData",
47588
48284
  bodyType: "json",
47589
48285
  });
47590
- return $dara.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
48286
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48287
+ return $dara.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
48288
+ } else {
48289
+ return $dara.cast<DisableAlarmResponse>(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
48290
+ }
48291
+
47591
48292
  }
47592
48293
 
47593
48294
  /**
@@ -47653,7 +48354,12 @@ export default class Client extends OpenApi {
47653
48354
  reqBodyType: "formData",
47654
48355
  bodyType: "json",
47655
48356
  });
47656
- return $dara.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
48357
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48358
+ return $dara.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
48359
+ } else {
48360
+ return $dara.cast<DisableScalingGroupResponse>(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
48361
+ }
48362
+
47657
48363
  }
47658
48364
 
47659
48365
  /**
@@ -47712,7 +48418,12 @@ export default class Client extends OpenApi {
47712
48418
  reqBodyType: "formData",
47713
48419
  bodyType: "json",
47714
48420
  });
47715
- return $dara.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
48421
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48422
+ return $dara.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
48423
+ } else {
48424
+ return $dara.cast<EnableAlarmResponse>(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
48425
+ }
48426
+
47716
48427
  }
47717
48428
 
47718
48429
  /**
@@ -47806,7 +48517,12 @@ export default class Client extends OpenApi {
47806
48517
  reqBodyType: "formData",
47807
48518
  bodyType: "json",
47808
48519
  });
47809
- return $dara.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
48520
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48521
+ return $dara.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
48522
+ } else {
48523
+ return $dara.cast<EnableScalingGroupResponse>(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
48524
+ }
48525
+
47810
48526
  }
47811
48527
 
47812
48528
  /**
@@ -47883,7 +48599,12 @@ export default class Client extends OpenApi {
47883
48599
  reqBodyType: "formData",
47884
48600
  bodyType: "json",
47885
48601
  });
47886
- return $dara.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
48602
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48603
+ return $dara.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
48604
+ } else {
48605
+ return $dara.cast<EnterStandbyResponse>(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
48606
+ }
48607
+
47887
48608
  }
47888
48609
 
47889
48610
  /**
@@ -47974,7 +48695,12 @@ export default class Client extends OpenApi {
47974
48695
  reqBodyType: "formData",
47975
48696
  bodyType: "json",
47976
48697
  });
47977
- return $dara.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
48698
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48699
+ return $dara.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
48700
+ } else {
48701
+ return $dara.cast<ExecuteScalingRuleResponse>(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
48702
+ }
48703
+
47978
48704
  }
47979
48705
 
47980
48706
  /**
@@ -48057,7 +48783,12 @@ export default class Client extends OpenApi {
48057
48783
  reqBodyType: "formData",
48058
48784
  bodyType: "json",
48059
48785
  });
48060
- return $dara.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
48786
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48787
+ return $dara.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
48788
+ } else {
48789
+ return $dara.cast<ExitStandbyResponse>(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
48790
+ }
48791
+
48061
48792
  }
48062
48793
 
48063
48794
  /**
@@ -48126,7 +48857,12 @@ export default class Client extends OpenApi {
48126
48857
  reqBodyType: "formData",
48127
48858
  bodyType: "json",
48128
48859
  });
48129
- return $dara.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
48860
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48861
+ return $dara.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
48862
+ } else {
48863
+ return $dara.cast<ListTagKeysResponse>(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
48864
+ }
48865
+
48130
48866
  }
48131
48867
 
48132
48868
  /**
@@ -48196,7 +48932,12 @@ export default class Client extends OpenApi {
48196
48932
  reqBodyType: "formData",
48197
48933
  bodyType: "json",
48198
48934
  });
48199
- return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
48935
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48936
+ return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
48937
+ } else {
48938
+ return $dara.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
48939
+ }
48940
+
48200
48941
  }
48201
48942
 
48202
48943
  /**
@@ -48266,7 +49007,12 @@ export default class Client extends OpenApi {
48266
49007
  reqBodyType: "formData",
48267
49008
  bodyType: "json",
48268
49009
  });
48269
- return $dara.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
49010
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49011
+ return $dara.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
49012
+ } else {
49013
+ return $dara.cast<ListTagValuesResponse>(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
49014
+ }
49015
+
48270
49016
  }
48271
49017
 
48272
49018
  /**
@@ -48387,7 +49133,12 @@ export default class Client extends OpenApi {
48387
49133
  reqBodyType: "formData",
48388
49134
  bodyType: "json",
48389
49135
  });
48390
- return $dara.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
49136
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49137
+ return $dara.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
49138
+ } else {
49139
+ return $dara.cast<ModifyAlarmResponse>(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
49140
+ }
49141
+
48391
49142
  }
48392
49143
 
48393
49144
  /**
@@ -48452,7 +49203,12 @@ export default class Client extends OpenApi {
48452
49203
  reqBodyType: "formData",
48453
49204
  bodyType: "json",
48454
49205
  });
48455
- return $dara.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
49206
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49207
+ return $dara.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
49208
+ } else {
49209
+ return $dara.cast<ModifyAlertConfigurationResponse>(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
49210
+ }
49211
+
48456
49212
  }
48457
49213
 
48458
49214
  /**
@@ -48698,7 +49454,12 @@ export default class Client extends OpenApi {
48698
49454
  reqBodyType: "formData",
48699
49455
  bodyType: "json",
48700
49456
  });
48701
- return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
49457
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49458
+ return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
49459
+ } else {
49460
+ return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
49461
+ }
49462
+
48702
49463
  }
48703
49464
 
48704
49465
  /**
@@ -48764,7 +49525,12 @@ export default class Client extends OpenApi {
48764
49525
  reqBodyType: "formData",
48765
49526
  bodyType: "json",
48766
49527
  });
48767
- return $dara.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
49528
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49529
+ return $dara.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
49530
+ } else {
49531
+ return $dara.cast<ModifyInstanceAttributeResponse>(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
49532
+ }
49533
+
48768
49534
  }
48769
49535
 
48770
49536
  /**
@@ -48859,7 +49625,12 @@ export default class Client extends OpenApi {
48859
49625
  reqBodyType: "formData",
48860
49626
  bodyType: "json",
48861
49627
  });
48862
- return $dara.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
49628
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49629
+ return $dara.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
49630
+ } else {
49631
+ return $dara.cast<ModifyLifecycleHookResponse>(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
49632
+ }
49633
+
48863
49634
  }
48864
49635
 
48865
49636
  /**
@@ -48930,7 +49701,12 @@ export default class Client extends OpenApi {
48930
49701
  reqBodyType: "formData",
48931
49702
  bodyType: "json",
48932
49703
  });
48933
- return $dara.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
49704
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49705
+ return $dara.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
49706
+ } else {
49707
+ return $dara.cast<ModifyNotificationConfigurationResponse>(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
49708
+ }
49709
+
48934
49710
  }
48935
49711
 
48936
49712
  /**
@@ -49212,7 +49988,12 @@ export default class Client extends OpenApi {
49212
49988
  reqBodyType: "formData",
49213
49989
  bodyType: "json",
49214
49990
  });
49215
- return $dara.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
49991
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49992
+ return $dara.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
49993
+ } else {
49994
+ return $dara.cast<ModifyScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
49995
+ }
49996
+
49216
49997
  }
49217
49998
 
49218
49999
  /**
@@ -49407,7 +50188,12 @@ export default class Client extends OpenApi {
49407
50188
  reqBodyType: "formData",
49408
50189
  bodyType: "json",
49409
50190
  });
49410
- return $dara.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
50191
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50192
+ return $dara.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
50193
+ } else {
50194
+ return $dara.cast<ModifyScalingGroupResponse>(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
50195
+ }
50196
+
49411
50197
  }
49412
50198
 
49413
50199
  /**
@@ -49564,7 +50350,12 @@ export default class Client extends OpenApi {
49564
50350
  reqBodyType: "formData",
49565
50351
  bodyType: "json",
49566
50352
  });
49567
- return $dara.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
50353
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50354
+ return $dara.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
50355
+ } else {
50356
+ return $dara.cast<ModifyScalingRuleResponse>(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
50357
+ }
50358
+
49568
50359
  }
49569
50360
 
49570
50361
  /**
@@ -49684,7 +50475,12 @@ export default class Client extends OpenApi {
49684
50475
  reqBodyType: "formData",
49685
50476
  bodyType: "json",
49686
50477
  });
49687
- return $dara.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
50478
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50479
+ return $dara.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
50480
+ } else {
50481
+ return $dara.cast<ModifyScheduledTaskResponse>(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
50482
+ }
50483
+
49688
50484
  }
49689
50485
 
49690
50486
  /**
@@ -49761,7 +50557,12 @@ export default class Client extends OpenApi {
49761
50557
  reqBodyType: "formData",
49762
50558
  bodyType: "json",
49763
50559
  });
49764
- return $dara.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
50560
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50561
+ return $dara.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
50562
+ } else {
50563
+ return $dara.cast<RebalanceInstancesResponse>(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
50564
+ }
50565
+
49765
50566
  }
49766
50567
 
49767
50568
  /**
@@ -49840,7 +50641,12 @@ export default class Client extends OpenApi {
49840
50641
  reqBodyType: "formData",
49841
50642
  bodyType: "json",
49842
50643
  });
49843
- return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
50644
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50645
+ return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
50646
+ } else {
50647
+ return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
50648
+ }
50649
+
49844
50650
  }
49845
50651
 
49846
50652
  /**
@@ -49940,7 +50746,12 @@ export default class Client extends OpenApi {
49940
50746
  reqBodyType: "formData",
49941
50747
  bodyType: "json",
49942
50748
  });
49943
- return $dara.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
50749
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50750
+ return $dara.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
50751
+ } else {
50752
+ return $dara.cast<RemoveInstancesResponse>(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
50753
+ }
50754
+
49944
50755
  }
49945
50756
 
49946
50757
  /**
@@ -50008,7 +50819,12 @@ export default class Client extends OpenApi {
50008
50819
  reqBodyType: "formData",
50009
50820
  bodyType: "json",
50010
50821
  });
50011
- return $dara.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
50822
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50823
+ return $dara.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
50824
+ } else {
50825
+ return $dara.cast<ResumeInstanceRefreshResponse>(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
50826
+ }
50827
+
50012
50828
  }
50013
50829
 
50014
50830
  /**
@@ -50070,7 +50886,12 @@ export default class Client extends OpenApi {
50070
50886
  reqBodyType: "formData",
50071
50887
  bodyType: "json",
50072
50888
  });
50073
- return $dara.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
50889
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50890
+ return $dara.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
50891
+ } else {
50892
+ return $dara.cast<ResumeProcessesResponse>(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
50893
+ }
50894
+
50074
50895
  }
50075
50896
 
50076
50897
  /**
@@ -50128,7 +50949,12 @@ export default class Client extends OpenApi {
50128
50949
  reqBodyType: "formData",
50129
50950
  bodyType: "json",
50130
50951
  });
50131
- return $dara.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
50952
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50953
+ return $dara.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
50954
+ } else {
50955
+ return $dara.cast<RollbackInstanceRefreshResponse>(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
50956
+ }
50957
+
50132
50958
  }
50133
50959
 
50134
50960
  /**
@@ -50229,7 +51055,12 @@ export default class Client extends OpenApi {
50229
51055
  reqBodyType: "formData",
50230
51056
  bodyType: "json",
50231
51057
  });
50232
- return $dara.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
51058
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51059
+ return $dara.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
51060
+ } else {
51061
+ return $dara.cast<ScaleWithAdjustmentResponse>(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
51062
+ }
51063
+
50233
51064
  }
50234
51065
 
50235
51066
  /**
@@ -50296,7 +51127,12 @@ export default class Client extends OpenApi {
50296
51127
  reqBodyType: "formData",
50297
51128
  bodyType: "json",
50298
51129
  });
50299
- return $dara.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
51130
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51131
+ return $dara.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
51132
+ } else {
51133
+ return $dara.cast<SetGroupDeletionProtectionResponse>(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
51134
+ }
51135
+
50300
51136
  }
50301
51137
 
50302
51138
  /**
@@ -50353,7 +51189,12 @@ export default class Client extends OpenApi {
50353
51189
  reqBodyType: "formData",
50354
51190
  bodyType: "json",
50355
51191
  });
50356
- return $dara.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
51192
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51193
+ return $dara.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
51194
+ } else {
51195
+ return $dara.cast<SetInstanceHealthResponse>(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
51196
+ }
51197
+
50357
51198
  }
50358
51199
 
50359
51200
  /**
@@ -50420,7 +51261,12 @@ export default class Client extends OpenApi {
50420
51261
  reqBodyType: "formData",
50421
51262
  bodyType: "json",
50422
51263
  });
50423
- return $dara.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
51264
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51265
+ return $dara.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
51266
+ } else {
51267
+ return $dara.cast<SetInstancesProtectionResponse>(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
51268
+ }
51269
+
50424
51270
  }
50425
51271
 
50426
51272
  /**
@@ -50506,7 +51352,12 @@ export default class Client extends OpenApi {
50506
51352
  reqBodyType: "formData",
50507
51353
  bodyType: "json",
50508
51354
  });
50509
- return $dara.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
51355
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51356
+ return $dara.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
51357
+ } else {
51358
+ return $dara.cast<StartInstanceRefreshResponse>(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
51359
+ }
51360
+
50510
51361
  }
50511
51362
 
50512
51363
  /**
@@ -50573,7 +51424,12 @@ export default class Client extends OpenApi {
50573
51424
  reqBodyType: "formData",
50574
51425
  bodyType: "json",
50575
51426
  });
50576
- return $dara.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
51427
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51428
+ return $dara.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
51429
+ } else {
51430
+ return $dara.cast<SuspendInstanceRefreshResponse>(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
51431
+ }
51432
+
50577
51433
  }
50578
51434
 
50579
51435
  /**
@@ -50638,7 +51494,12 @@ export default class Client extends OpenApi {
50638
51494
  reqBodyType: "formData",
50639
51495
  bodyType: "json",
50640
51496
  });
50641
- return $dara.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
51497
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51498
+ return $dara.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
51499
+ } else {
51500
+ return $dara.cast<SuspendProcessesResponse>(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
51501
+ }
51502
+
50642
51503
  }
50643
51504
 
50644
51505
  /**
@@ -50709,7 +51570,12 @@ export default class Client extends OpenApi {
50709
51570
  reqBodyType: "formData",
50710
51571
  bodyType: "json",
50711
51572
  });
50712
- return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
51573
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51574
+ return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
51575
+ } else {
51576
+ return $dara.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
51577
+ }
51578
+
50713
51579
  }
50714
51580
 
50715
51581
  /**
@@ -50784,7 +51650,12 @@ export default class Client extends OpenApi {
50784
51650
  reqBodyType: "formData",
50785
51651
  bodyType: "json",
50786
51652
  });
50787
- return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
51653
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51654
+ return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
51655
+ } else {
51656
+ return $dara.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
51657
+ }
51658
+
50788
51659
  }
50789
51660
 
50790
51661
  /**
@@ -50842,7 +51713,12 @@ export default class Client extends OpenApi {
50842
51713
  reqBodyType: "formData",
50843
51714
  bodyType: "json",
50844
51715
  });
50845
- return $dara.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
51716
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51717
+ return $dara.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
51718
+ } else {
51719
+ return $dara.cast<VerifyAuthenticationResponse>(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
51720
+ }
51721
+
50846
51722
  }
50847
51723
 
50848
51724
  /**
@@ -50896,7 +51772,12 @@ export default class Client extends OpenApi {
50896
51772
  reqBodyType: "formData",
50897
51773
  bodyType: "json",
50898
51774
  });
50899
- return $dara.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
51775
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51776
+ return $dara.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
51777
+ } else {
51778
+ return $dara.cast<VerifyUserResponse>(await this.execute(params, req, runtime), new VerifyUserResponse({}));
51779
+ }
51780
+
50900
51781
  }
50901
51782
 
50902
51783
  /**