@alicloud/ess20220222 1.8.6 → 1.8.7

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
@@ -2,7 +2,6 @@
2
2
  /**
3
3
  */
4
4
  import Util, * as $Util from '@alicloud/tea-util';
5
- import GatewayClient from '@alicloud/gateway-pop';
6
5
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
7
6
  import OpenApiUtil from '@alicloud/openapi-util';
8
7
  import EndpointUtil from '@alicloud/endpoint-util';
@@ -28035,6 +28034,34 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
28035
28034
  }
28036
28035
  }
28037
28036
 
28037
+ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth extends $tea.Model {
28038
+ adequacyScore?: number;
28039
+ healthScore?: number;
28040
+ hotScore?: number;
28041
+ supplyScore?: number;
28042
+ static names(): { [key: string]: string } {
28043
+ return {
28044
+ adequacyScore: 'AdequacyScore',
28045
+ healthScore: 'HealthScore',
28046
+ hotScore: 'HotScore',
28047
+ supplyScore: 'SupplyScore',
28048
+ };
28049
+ }
28050
+
28051
+ static types(): { [key: string]: any } {
28052
+ return {
28053
+ adequacyScore: 'number',
28054
+ healthScore: 'number',
28055
+ hotScore: 'number',
28056
+ supplyScore: 'number',
28057
+ };
28058
+ }
28059
+
28060
+ constructor(map?: { [key: string]: any }) {
28061
+ super(map);
28062
+ }
28063
+ }
28064
+
28038
28065
  export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
28039
28066
  /**
28040
28067
  * @remarks
@@ -28052,6 +28079,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
28052
28079
  * ecs.r7.large
28053
28080
  */
28054
28081
  instanceType?: string;
28082
+ inventoryHealth?: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth;
28055
28083
  /**
28056
28084
  * @remarks
28057
28085
  * The error message returned when the scaling strength is the weakest.
@@ -28060,6 +28088,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
28060
28088
  * The instanceTypes or diskTypes are not supported.
28061
28089
  */
28062
28090
  msg?: string;
28091
+ status?: string;
28063
28092
  /**
28064
28093
  * @remarks
28065
28094
  * The scaling strength of the resource pool.
@@ -28085,7 +28114,9 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
28085
28114
  return {
28086
28115
  code: 'Code',
28087
28116
  instanceType: 'InstanceType',
28117
+ inventoryHealth: 'InventoryHealth',
28088
28118
  msg: 'Msg',
28119
+ status: 'Status',
28089
28120
  strength: 'Strength',
28090
28121
  vSwitchIds: 'VSwitchIds',
28091
28122
  zoneId: 'ZoneId',
@@ -28096,7 +28127,9 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
28096
28127
  return {
28097
28128
  code: 'string',
28098
28129
  instanceType: 'string',
28130
+ inventoryHealth: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth,
28099
28131
  msg: 'string',
28132
+ status: 'string',
28100
28133
  strength: 'number',
28101
28134
  vSwitchIds: { 'type': 'array', 'itemType': 'string' },
28102
28135
  zoneId: 'string',
@@ -28109,6 +28142,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
28109
28142
  }
28110
28143
 
28111
28144
  export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
28145
+ elasticStrength?: string;
28112
28146
  /**
28113
28147
  * @remarks
28114
28148
  * The resource pools.
@@ -28132,6 +28166,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $t
28132
28166
  totalStrength?: number;
28133
28167
  static names(): { [key: string]: string } {
28134
28168
  return {
28169
+ elasticStrength: 'ElasticStrength',
28135
28170
  resourcePools: 'ResourcePools',
28136
28171
  scalingGroupId: 'ScalingGroupId',
28137
28172
  totalStrength: 'TotalStrength',
@@ -28140,6 +28175,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $t
28140
28175
 
28141
28176
  static types(): { [key: string]: any } {
28142
28177
  return {
28178
+ elasticStrength: 'string',
28143
28179
  resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools },
28144
28180
  scalingGroupId: 'string',
28145
28181
  totalStrength: 'number',
@@ -38216,9 +38252,6 @@ export default class Client extends OpenApi {
38216
38252
 
38217
38253
  constructor(config: $OpenApi.Config) {
38218
38254
  super(config);
38219
- this._productId = "Ess";
38220
- let gatewayClient = new GatewayClient();
38221
- this._spi = gatewayClient;
38222
38255
  this._endpointRule = "regional";
38223
38256
  this._endpointMap = {
38224
38257
  'cn-qingdao': "ess.aliyuncs.com",
@@ -38332,12 +38365,7 @@ export default class Client extends OpenApi {
38332
38365
  reqBodyType: "formData",
38333
38366
  bodyType: "json",
38334
38367
  });
38335
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38336
- return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
38337
- } else {
38338
- return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
38339
- }
38340
-
38368
+ return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
38341
38369
  }
38342
38370
 
38343
38371
  /**
@@ -38426,12 +38454,7 @@ export default class Client extends OpenApi {
38426
38454
  reqBodyType: "formData",
38427
38455
  bodyType: "json",
38428
38456
  });
38429
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38430
- return $tea.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
38431
- } else {
38432
- return $tea.cast<ApplyScalingGroupResponse>(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
38433
- }
38434
-
38457
+ return $tea.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
38435
38458
  }
38436
38459
 
38437
38460
  /**
@@ -38536,12 +38559,7 @@ export default class Client extends OpenApi {
38536
38559
  reqBodyType: "formData",
38537
38560
  bodyType: "json",
38538
38561
  });
38539
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38540
- return $tea.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
38541
- } else {
38542
- return $tea.cast<AttachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
38543
- }
38544
-
38562
+ return $tea.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
38545
38563
  }
38546
38564
 
38547
38565
  /**
@@ -38629,12 +38647,7 @@ export default class Client extends OpenApi {
38629
38647
  reqBodyType: "formData",
38630
38648
  bodyType: "json",
38631
38649
  });
38632
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38633
- return $tea.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
38634
- } else {
38635
- return $tea.cast<AttachDBInstancesResponse>(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
38636
- }
38637
-
38650
+ return $tea.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
38638
38651
  }
38639
38652
 
38640
38653
  /**
@@ -38741,12 +38754,7 @@ export default class Client extends OpenApi {
38741
38754
  reqBodyType: "formData",
38742
38755
  bodyType: "json",
38743
38756
  });
38744
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38745
- return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
38746
- } else {
38747
- return $tea.cast<AttachInstancesResponse>(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
38748
- }
38749
-
38757
+ return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
38750
38758
  }
38751
38759
 
38752
38760
  /**
@@ -38841,12 +38849,7 @@ export default class Client extends OpenApi {
38841
38849
  reqBodyType: "formData",
38842
38850
  bodyType: "json",
38843
38851
  });
38844
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38845
- return $tea.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
38846
- } else {
38847
- return $tea.cast<AttachLoadBalancersResponse>(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
38848
- }
38849
-
38852
+ return $tea.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
38850
38853
  }
38851
38854
 
38852
38855
  /**
@@ -38921,12 +38924,7 @@ export default class Client extends OpenApi {
38921
38924
  reqBodyType: "formData",
38922
38925
  bodyType: "json",
38923
38926
  });
38924
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38925
- return $tea.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
38926
- } else {
38927
- return $tea.cast<AttachServerGroupsResponse>(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
38928
- }
38929
-
38927
+ return $tea.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
38930
38928
  }
38931
38929
 
38932
38930
  /**
@@ -39009,12 +39007,7 @@ export default class Client extends OpenApi {
39009
39007
  reqBodyType: "formData",
39010
39008
  bodyType: "json",
39011
39009
  });
39012
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39013
- return $tea.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
39014
- } else {
39015
- return $tea.cast<AttachVServerGroupsResponse>(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
39016
- }
39017
-
39010
+ return $tea.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
39018
39011
  }
39019
39012
 
39020
39013
  /**
@@ -39092,12 +39085,7 @@ export default class Client extends OpenApi {
39092
39085
  reqBodyType: "formData",
39093
39086
  bodyType: "json",
39094
39087
  });
39095
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39096
- return $tea.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
39097
- } else {
39098
- return $tea.cast<CancelInstanceRefreshResponse>(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
39099
- }
39100
-
39088
+ return $tea.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
39101
39089
  }
39102
39090
 
39103
39091
  /**
@@ -39166,12 +39154,7 @@ export default class Client extends OpenApi {
39166
39154
  reqBodyType: "formData",
39167
39155
  bodyType: "json",
39168
39156
  });
39169
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39170
- return $tea.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
39171
- } else {
39172
- return $tea.cast<ChangeResourceGroupResponse>(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
39173
- }
39174
-
39157
+ return $tea.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
39175
39158
  }
39176
39159
 
39177
39160
  /**
@@ -39248,12 +39231,7 @@ export default class Client extends OpenApi {
39248
39231
  reqBodyType: "formData",
39249
39232
  bodyType: "json",
39250
39233
  });
39251
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39252
- return $tea.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
39253
- } else {
39254
- return $tea.cast<CompleteLifecycleActionResponse>(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
39255
- }
39256
-
39234
+ return $tea.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
39257
39235
  }
39258
39236
 
39259
39237
  /**
@@ -39377,12 +39355,7 @@ export default class Client extends OpenApi {
39377
39355
  reqBodyType: "formData",
39378
39356
  bodyType: "json",
39379
39357
  });
39380
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39381
- return $tea.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
39382
- } else {
39383
- return $tea.cast<CreateAlarmResponse>(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
39384
- }
39385
-
39358
+ return $tea.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
39386
39359
  }
39387
39360
 
39388
39361
  /**
@@ -39427,12 +39400,7 @@ export default class Client extends OpenApi {
39427
39400
  reqBodyType: "formData",
39428
39401
  bodyType: "json",
39429
39402
  });
39430
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39431
- return $tea.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
39432
- } else {
39433
- return $tea.cast<CreateDiagnoseReportResponse>(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
39434
- }
39435
-
39403
+ return $tea.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
39436
39404
  }
39437
39405
 
39438
39406
  /**
@@ -39674,12 +39642,7 @@ export default class Client extends OpenApi {
39674
39642
  reqBodyType: "formData",
39675
39643
  bodyType: "json",
39676
39644
  });
39677
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39678
- return $tea.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
39679
- } else {
39680
- return $tea.cast<CreateEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
39681
- }
39682
-
39645
+ return $tea.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
39683
39646
  }
39684
39647
 
39685
39648
  /**
@@ -39767,12 +39730,7 @@ export default class Client extends OpenApi {
39767
39730
  reqBodyType: "formData",
39768
39731
  bodyType: "json",
39769
39732
  });
39770
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39771
- return $tea.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
39772
- } else {
39773
- return $tea.cast<CreateLifecycleHookResponse>(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
39774
- }
39775
-
39733
+ return $tea.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
39776
39734
  }
39777
39735
 
39778
39736
  /**
@@ -39849,12 +39807,7 @@ export default class Client extends OpenApi {
39849
39807
  reqBodyType: "formData",
39850
39808
  bodyType: "json",
39851
39809
  });
39852
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39853
- return $tea.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
39854
- } else {
39855
- return $tea.cast<CreateNotificationConfigurationResponse>(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
39856
- }
39857
-
39810
+ return $tea.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
39858
39811
  }
39859
39812
 
39860
39813
  /**
@@ -40152,12 +40105,7 @@ export default class Client extends OpenApi {
40152
40105
  reqBodyType: "formData",
40153
40106
  bodyType: "json",
40154
40107
  });
40155
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40156
- return $tea.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
40157
- } else {
40158
- return $tea.cast<CreateScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
40159
- }
40160
-
40108
+ return $tea.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
40161
40109
  }
40162
40110
 
40163
40111
  /**
@@ -40416,12 +40364,7 @@ export default class Client extends OpenApi {
40416
40364
  reqBodyType: "formData",
40417
40365
  bodyType: "json",
40418
40366
  });
40419
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40420
- return $tea.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
40421
- } else {
40422
- return $tea.cast<CreateScalingGroupResponse>(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
40423
- }
40424
-
40367
+ return $tea.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
40425
40368
  }
40426
40369
 
40427
40370
  /**
@@ -40605,12 +40548,7 @@ export default class Client extends OpenApi {
40605
40548
  reqBodyType: "formData",
40606
40549
  bodyType: "json",
40607
40550
  });
40608
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40609
- return $tea.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
40610
- } else {
40611
- return $tea.cast<CreateScalingRuleResponse>(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
40612
- }
40613
-
40551
+ return $tea.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
40614
40552
  }
40615
40553
 
40616
40554
  /**
@@ -40741,12 +40679,7 @@ export default class Client extends OpenApi {
40741
40679
  reqBodyType: "formData",
40742
40680
  bodyType: "json",
40743
40681
  });
40744
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40745
- return $tea.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
40746
- } else {
40747
- return $tea.cast<CreateScheduledTaskResponse>(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
40748
- }
40749
-
40682
+ return $tea.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
40750
40683
  }
40751
40684
 
40752
40685
  /**
@@ -40814,12 +40747,7 @@ export default class Client extends OpenApi {
40814
40747
  reqBodyType: "formData",
40815
40748
  bodyType: "json",
40816
40749
  });
40817
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40818
- return $tea.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
40819
- } else {
40820
- return $tea.cast<DeactivateScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
40821
- }
40822
-
40750
+ return $tea.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
40823
40751
  }
40824
40752
 
40825
40753
  /**
@@ -40876,12 +40804,7 @@ export default class Client extends OpenApi {
40876
40804
  reqBodyType: "formData",
40877
40805
  bodyType: "json",
40878
40806
  });
40879
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40880
- return $tea.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
40881
- } else {
40882
- return $tea.cast<DeleteAlarmResponse>(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
40883
- }
40884
-
40807
+ return $tea.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
40885
40808
  }
40886
40809
 
40887
40810
  /**
@@ -40944,12 +40867,7 @@ export default class Client extends OpenApi {
40944
40867
  reqBodyType: "formData",
40945
40868
  bodyType: "json",
40946
40869
  });
40947
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40948
- return $tea.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
40949
- } else {
40950
- return $tea.cast<DeleteEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
40951
- }
40952
-
40870
+ return $tea.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
40953
40871
  }
40954
40872
 
40955
40873
  /**
@@ -41025,12 +40943,7 @@ export default class Client extends OpenApi {
41025
40943
  reqBodyType: "formData",
41026
40944
  bodyType: "json",
41027
40945
  });
41028
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41029
- return $tea.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
41030
- } else {
41031
- return $tea.cast<DeleteLifecycleHookResponse>(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
41032
- }
41033
-
40946
+ return $tea.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
41034
40947
  }
41035
40948
 
41036
40949
  /**
@@ -41093,12 +41006,7 @@ export default class Client extends OpenApi {
41093
41006
  reqBodyType: "formData",
41094
41007
  bodyType: "json",
41095
41008
  });
41096
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41097
- return $tea.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
41098
- } else {
41099
- return $tea.cast<DeleteNotificationConfigurationResponse>(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
41100
- }
41101
-
41009
+ return $tea.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
41102
41010
  }
41103
41011
 
41104
41012
  /**
@@ -41157,12 +41065,7 @@ export default class Client extends OpenApi {
41157
41065
  reqBodyType: "formData",
41158
41066
  bodyType: "json",
41159
41067
  });
41160
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41161
- return $tea.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
41162
- } else {
41163
- return $tea.cast<DeleteScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
41164
- }
41165
-
41068
+ return $tea.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
41166
41069
  }
41167
41070
 
41168
41071
  /**
@@ -41241,12 +41144,7 @@ export default class Client extends OpenApi {
41241
41144
  reqBodyType: "formData",
41242
41145
  bodyType: "json",
41243
41146
  });
41244
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41245
- return $tea.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
41246
- } else {
41247
- return $tea.cast<DeleteScalingGroupResponse>(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
41248
- }
41249
-
41147
+ return $tea.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
41250
41148
  }
41251
41149
 
41252
41150
  /**
@@ -41316,12 +41214,7 @@ export default class Client extends OpenApi {
41316
41214
  reqBodyType: "formData",
41317
41215
  bodyType: "json",
41318
41216
  });
41319
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41320
- return $tea.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
41321
- } else {
41322
- return $tea.cast<DeleteScalingRuleResponse>(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
41323
- }
41324
-
41217
+ return $tea.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
41325
41218
  }
41326
41219
 
41327
41220
  /**
@@ -41379,12 +41272,7 @@ export default class Client extends OpenApi {
41379
41272
  reqBodyType: "formData",
41380
41273
  bodyType: "json",
41381
41274
  });
41382
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41383
- return $tea.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
41384
- } else {
41385
- return $tea.cast<DeleteScheduledTaskResponse>(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
41386
- }
41387
-
41275
+ return $tea.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
41388
41276
  }
41389
41277
 
41390
41278
  /**
@@ -41466,12 +41354,7 @@ export default class Client extends OpenApi {
41466
41354
  reqBodyType: "formData",
41467
41355
  bodyType: "json",
41468
41356
  });
41469
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41470
- return $tea.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
41471
- } else {
41472
- return $tea.cast<DescribeAlarmsResponse>(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
41473
- }
41474
-
41357
+ return $tea.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
41475
41358
  }
41476
41359
 
41477
41360
  /**
@@ -41525,12 +41408,7 @@ export default class Client extends OpenApi {
41525
41408
  reqBodyType: "formData",
41526
41409
  bodyType: "json",
41527
41410
  });
41528
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41529
- return $tea.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
41530
- } else {
41531
- return $tea.cast<DescribeAlertConfigurationResponse>(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
41532
- }
41533
-
41411
+ return $tea.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
41534
41412
  }
41535
41413
 
41536
41414
  /**
@@ -41568,12 +41446,7 @@ export default class Client extends OpenApi {
41568
41446
  reqBodyType: "formData",
41569
41447
  bodyType: "json",
41570
41448
  });
41571
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41572
- return $tea.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
41573
- } else {
41574
- return $tea.cast<DescribeDiagnoseReportsResponse>(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
41575
- }
41576
-
41449
+ return $tea.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
41577
41450
  }
41578
41451
 
41579
41452
  /**
@@ -41627,12 +41500,7 @@ export default class Client extends OpenApi {
41627
41500
  reqBodyType: "formData",
41628
41501
  bodyType: "json",
41629
41502
  });
41630
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41631
- return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
41632
- } else {
41633
- return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
41634
- }
41635
-
41503
+ return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
41636
41504
  }
41637
41505
 
41638
41506
  /**
@@ -41710,12 +41578,7 @@ export default class Client extends OpenApi {
41710
41578
  reqBodyType: "formData",
41711
41579
  bodyType: "json",
41712
41580
  });
41713
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41714
- return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
41715
- } else {
41716
- return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
41717
- }
41718
-
41581
+ return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
41719
41582
  }
41720
41583
 
41721
41584
  /**
@@ -41753,12 +41616,7 @@ export default class Client extends OpenApi {
41753
41616
  reqBodyType: "formData",
41754
41617
  bodyType: "json",
41755
41618
  });
41756
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41757
- return $tea.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
41758
- } else {
41759
- return $tea.cast<DescribeElasticStrengthResponse>(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
41760
- }
41761
-
41619
+ return $tea.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
41762
41620
  }
41763
41621
 
41764
41622
  /**
@@ -41832,12 +41690,7 @@ export default class Client extends OpenApi {
41832
41690
  reqBodyType: "formData",
41833
41691
  bodyType: "json",
41834
41692
  });
41835
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41836
- return $tea.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
41837
- } else {
41838
- return $tea.cast<DescribeInstanceRefreshesResponse>(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
41839
- }
41840
-
41693
+ return $tea.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
41841
41694
  }
41842
41695
 
41843
41696
  /**
@@ -41910,12 +41763,7 @@ export default class Client extends OpenApi {
41910
41763
  reqBodyType: "formData",
41911
41764
  bodyType: "json",
41912
41765
  });
41913
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41914
- return $tea.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
41915
- } else {
41916
- return $tea.cast<DescribeLifecycleActionsResponse>(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
41917
- }
41918
-
41766
+ return $tea.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
41919
41767
  }
41920
41768
 
41921
41769
  /**
@@ -42002,12 +41850,7 @@ export default class Client extends OpenApi {
42002
41850
  reqBodyType: "formData",
42003
41851
  bodyType: "json",
42004
41852
  });
42005
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42006
- return $tea.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
42007
- } else {
42008
- return $tea.cast<DescribeLifecycleHooksResponse>(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
42009
- }
42010
-
41853
+ return $tea.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
42011
41854
  }
42012
41855
 
42013
41856
  /**
@@ -42059,12 +41902,7 @@ export default class Client extends OpenApi {
42059
41902
  reqBodyType: "formData",
42060
41903
  bodyType: "json",
42061
41904
  });
42062
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42063
- return $tea.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
42064
- } else {
42065
- return $tea.cast<DescribeLimitationResponse>(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
42066
- }
42067
-
41905
+ return $tea.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
42068
41906
  }
42069
41907
 
42070
41908
  /**
@@ -42118,12 +41956,7 @@ export default class Client extends OpenApi {
42118
41956
  reqBodyType: "formData",
42119
41957
  bodyType: "json",
42120
41958
  });
42121
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42122
- return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
42123
- } else {
42124
- return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
42125
- }
42126
-
41959
+ return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
42127
41960
  }
42128
41961
 
42129
41962
  /**
@@ -42169,12 +42002,7 @@ export default class Client extends OpenApi {
42169
42002
  reqBodyType: "formData",
42170
42003
  bodyType: "json",
42171
42004
  });
42172
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42173
- return $tea.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
42174
- } else {
42175
- return $tea.cast<DescribeNotificationTypesResponse>(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
42176
- }
42177
-
42005
+ return $tea.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
42178
42006
  }
42179
42007
 
42180
42008
  /**
@@ -42212,12 +42040,7 @@ export default class Client extends OpenApi {
42212
42040
  reqBodyType: "formData",
42213
42041
  bodyType: "json",
42214
42042
  });
42215
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42216
- return $tea.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
42217
- } else {
42218
- return $tea.cast<DescribePatternTypesResponse>(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
42219
- }
42220
-
42043
+ return $tea.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
42221
42044
  }
42222
42045
 
42223
42046
  /**
@@ -42271,12 +42094,7 @@ export default class Client extends OpenApi {
42271
42094
  reqBodyType: "formData",
42272
42095
  bodyType: "json",
42273
42096
  });
42274
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42275
- return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
42276
- } else {
42277
- return $tea.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
42278
- }
42279
-
42097
+ return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
42280
42098
  }
42281
42099
 
42282
42100
  /**
@@ -42363,12 +42181,7 @@ export default class Client extends OpenApi {
42363
42181
  reqBodyType: "formData",
42364
42182
  bodyType: "json",
42365
42183
  });
42366
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42367
- return $tea.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
42368
- } else {
42369
- return $tea.cast<DescribeScalingActivitiesResponse>(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
42370
- }
42371
-
42184
+ return $tea.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
42372
42185
  }
42373
42186
 
42374
42187
  /**
@@ -42427,12 +42240,7 @@ export default class Client extends OpenApi {
42427
42240
  reqBodyType: "formData",
42428
42241
  bodyType: "json",
42429
42242
  });
42430
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42431
- return $tea.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
42432
- } else {
42433
- return $tea.cast<DescribeScalingActivityDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
42434
- }
42435
-
42243
+ return $tea.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
42436
42244
  }
42437
42245
 
42438
42246
  /**
@@ -42510,12 +42318,7 @@ export default class Client extends OpenApi {
42510
42318
  reqBodyType: "formData",
42511
42319
  bodyType: "json",
42512
42320
  });
42513
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42514
- return $tea.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
42515
- } else {
42516
- return $tea.cast<DescribeScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
42517
- }
42518
-
42321
+ return $tea.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
42519
42322
  }
42520
42323
 
42521
42324
  /**
@@ -42569,12 +42372,7 @@ export default class Client extends OpenApi {
42569
42372
  reqBodyType: "formData",
42570
42373
  bodyType: "json",
42571
42374
  });
42572
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42573
- return $tea.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
42574
- } else {
42575
- return $tea.cast<DescribeScalingGroupDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
42576
- }
42577
-
42375
+ return $tea.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
42578
42376
  }
42579
42377
 
42580
42378
  /**
@@ -42612,12 +42410,7 @@ export default class Client extends OpenApi {
42612
42410
  reqBodyType: "formData",
42613
42411
  bodyType: "json",
42614
42412
  });
42615
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42616
- return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
42617
- } else {
42618
- return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
42619
- }
42620
-
42413
+ return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
42621
42414
  }
42622
42415
 
42623
42416
  /**
@@ -42707,12 +42500,7 @@ export default class Client extends OpenApi {
42707
42500
  reqBodyType: "formData",
42708
42501
  bodyType: "json",
42709
42502
  });
42710
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42711
- return $tea.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
42712
- } else {
42713
- return $tea.cast<DescribeScalingGroupsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
42714
- }
42715
-
42503
+ return $tea.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
42716
42504
  }
42717
42505
 
42718
42506
  /**
@@ -42814,12 +42602,7 @@ export default class Client extends OpenApi {
42814
42602
  reqBodyType: "formData",
42815
42603
  bodyType: "json",
42816
42604
  });
42817
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42818
- return $tea.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
42819
- } else {
42820
- return $tea.cast<DescribeScalingInstancesResponse>(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
42821
- }
42822
-
42605
+ return $tea.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
42823
42606
  }
42824
42607
 
42825
42608
  /**
@@ -42912,12 +42695,7 @@ export default class Client extends OpenApi {
42912
42695
  reqBodyType: "formData",
42913
42696
  bodyType: "json",
42914
42697
  });
42915
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42916
- return $tea.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
42917
- } else {
42918
- return $tea.cast<DescribeScalingRulesResponse>(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
42919
- }
42920
-
42698
+ return $tea.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
42921
42699
  }
42922
42700
 
42923
42701
  /**
@@ -43021,12 +42799,7 @@ export default class Client extends OpenApi {
43021
42799
  reqBodyType: "formData",
43022
42800
  bodyType: "json",
43023
42801
  });
43024
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43025
- return $tea.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
43026
- } else {
43027
- return $tea.cast<DescribeScheduledTasksResponse>(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
43028
- }
43029
-
42802
+ return $tea.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
43030
42803
  }
43031
42804
 
43032
42805
  /**
@@ -43095,12 +42868,7 @@ export default class Client extends OpenApi {
43095
42868
  reqBodyType: "formData",
43096
42869
  bodyType: "json",
43097
42870
  });
43098
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43099
- return $tea.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
43100
- } else {
43101
- return $tea.cast<DetachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
43102
- }
43103
-
42871
+ return $tea.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
43104
42872
  }
43105
42873
 
43106
42874
  /**
@@ -43170,12 +42938,7 @@ export default class Client extends OpenApi {
43170
42938
  reqBodyType: "formData",
43171
42939
  bodyType: "json",
43172
42940
  });
43173
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43174
- return $tea.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
43175
- } else {
43176
- return $tea.cast<DetachDBInstancesResponse>(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
43177
- }
43178
-
42941
+ return $tea.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
43179
42942
  }
43180
42943
 
43181
42944
  /**
@@ -43269,12 +43032,7 @@ export default class Client extends OpenApi {
43269
43032
  reqBodyType: "formData",
43270
43033
  bodyType: "json",
43271
43034
  });
43272
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43273
- return $tea.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
43274
- } else {
43275
- return $tea.cast<DetachInstancesResponse>(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
43276
- }
43277
-
43035
+ return $tea.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
43278
43036
  }
43279
43037
 
43280
43038
  /**
@@ -43356,12 +43114,7 @@ export default class Client extends OpenApi {
43356
43114
  reqBodyType: "formData",
43357
43115
  bodyType: "json",
43358
43116
  });
43359
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43360
- return $tea.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
43361
- } else {
43362
- return $tea.cast<DetachLoadBalancersResponse>(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
43363
- }
43364
-
43117
+ return $tea.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
43365
43118
  }
43366
43119
 
43367
43120
  /**
@@ -43427,12 +43180,7 @@ export default class Client extends OpenApi {
43427
43180
  reqBodyType: "formData",
43428
43181
  bodyType: "json",
43429
43182
  });
43430
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43431
- return $tea.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
43432
- } else {
43433
- return $tea.cast<DetachServerGroupsResponse>(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
43434
- }
43435
-
43183
+ return $tea.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
43436
43184
  }
43437
43185
 
43438
43186
  /**
@@ -43506,12 +43254,7 @@ export default class Client extends OpenApi {
43506
43254
  reqBodyType: "formData",
43507
43255
  bodyType: "json",
43508
43256
  });
43509
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43510
- return $tea.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
43511
- } else {
43512
- return $tea.cast<DetachVServerGroupsResponse>(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
43513
- }
43514
-
43257
+ return $tea.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
43515
43258
  }
43516
43259
 
43517
43260
  /**
@@ -43576,12 +43319,7 @@ export default class Client extends OpenApi {
43576
43319
  reqBodyType: "formData",
43577
43320
  bodyType: "json",
43578
43321
  });
43579
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43580
- return $tea.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
43581
- } else {
43582
- return $tea.cast<DisableAlarmResponse>(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
43583
- }
43584
-
43322
+ return $tea.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
43585
43323
  }
43586
43324
 
43587
43325
  /**
@@ -43647,12 +43385,7 @@ export default class Client extends OpenApi {
43647
43385
  reqBodyType: "formData",
43648
43386
  bodyType: "json",
43649
43387
  });
43650
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43651
- return $tea.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
43652
- } else {
43653
- return $tea.cast<DisableScalingGroupResponse>(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
43654
- }
43655
-
43388
+ return $tea.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
43656
43389
  }
43657
43390
 
43658
43391
  /**
@@ -43711,12 +43444,7 @@ export default class Client extends OpenApi {
43711
43444
  reqBodyType: "formData",
43712
43445
  bodyType: "json",
43713
43446
  });
43714
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43715
- return $tea.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
43716
- } else {
43717
- return $tea.cast<EnableAlarmResponse>(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
43718
- }
43719
-
43447
+ return $tea.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
43720
43448
  }
43721
43449
 
43722
43450
  /**
@@ -43810,12 +43538,7 @@ export default class Client extends OpenApi {
43810
43538
  reqBodyType: "formData",
43811
43539
  bodyType: "json",
43812
43540
  });
43813
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43814
- return $tea.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
43815
- } else {
43816
- return $tea.cast<EnableScalingGroupResponse>(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
43817
- }
43818
-
43541
+ return $tea.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
43819
43542
  }
43820
43543
 
43821
43544
  /**
@@ -43892,12 +43615,7 @@ export default class Client extends OpenApi {
43892
43615
  reqBodyType: "formData",
43893
43616
  bodyType: "json",
43894
43617
  });
43895
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43896
- return $tea.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
43897
- } else {
43898
- return $tea.cast<EnterStandbyResponse>(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
43899
- }
43900
-
43618
+ return $tea.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
43901
43619
  }
43902
43620
 
43903
43621
  /**
@@ -43988,12 +43706,7 @@ export default class Client extends OpenApi {
43988
43706
  reqBodyType: "formData",
43989
43707
  bodyType: "json",
43990
43708
  });
43991
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43992
- return $tea.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
43993
- } else {
43994
- return $tea.cast<ExecuteScalingRuleResponse>(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
43995
- }
43996
-
43709
+ return $tea.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
43997
43710
  }
43998
43711
 
43999
43712
  /**
@@ -44076,12 +43789,7 @@ export default class Client extends OpenApi {
44076
43789
  reqBodyType: "formData",
44077
43790
  bodyType: "json",
44078
43791
  });
44079
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44080
- return $tea.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
44081
- } else {
44082
- return $tea.cast<ExitStandbyResponse>(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
44083
- }
44084
-
43792
+ return $tea.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
44085
43793
  }
44086
43794
 
44087
43795
  /**
@@ -44150,12 +43858,7 @@ export default class Client extends OpenApi {
44150
43858
  reqBodyType: "formData",
44151
43859
  bodyType: "json",
44152
43860
  });
44153
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44154
- return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
44155
- } else {
44156
- return $tea.cast<ListTagKeysResponse>(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
44157
- }
44158
-
43861
+ return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
44159
43862
  }
44160
43863
 
44161
43864
  /**
@@ -44225,12 +43928,7 @@ export default class Client extends OpenApi {
44225
43928
  reqBodyType: "formData",
44226
43929
  bodyType: "json",
44227
43930
  });
44228
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44229
- return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
44230
- } else {
44231
- return $tea.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
44232
- }
44233
-
43931
+ return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
44234
43932
  }
44235
43933
 
44236
43934
  /**
@@ -44300,12 +43998,7 @@ export default class Client extends OpenApi {
44300
43998
  reqBodyType: "formData",
44301
43999
  bodyType: "json",
44302
44000
  });
44303
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44304
- return $tea.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
44305
- } else {
44306
- return $tea.cast<ListTagValuesResponse>(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
44307
- }
44308
-
44001
+ return $tea.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
44309
44002
  }
44310
44003
 
44311
44004
  /**
@@ -44426,12 +44119,7 @@ export default class Client extends OpenApi {
44426
44119
  reqBodyType: "formData",
44427
44120
  bodyType: "json",
44428
44121
  });
44429
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44430
- return $tea.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
44431
- } else {
44432
- return $tea.cast<ModifyAlarmResponse>(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
44433
- }
44434
-
44122
+ return $tea.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
44435
44123
  }
44436
44124
 
44437
44125
  /**
@@ -44496,12 +44184,7 @@ export default class Client extends OpenApi {
44496
44184
  reqBodyType: "formData",
44497
44185
  bodyType: "json",
44498
44186
  });
44499
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44500
- return $tea.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
44501
- } else {
44502
- return $tea.cast<ModifyAlertConfigurationResponse>(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
44503
- }
44504
-
44187
+ return $tea.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
44505
44188
  }
44506
44189
 
44507
44190
  /**
@@ -44747,12 +44430,7 @@ export default class Client extends OpenApi {
44747
44430
  reqBodyType: "formData",
44748
44431
  bodyType: "json",
44749
44432
  });
44750
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44751
- return $tea.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
44752
- } else {
44753
- return $tea.cast<ModifyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
44754
- }
44755
-
44433
+ return $tea.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
44756
44434
  }
44757
44435
 
44758
44436
  /**
@@ -44818,12 +44496,7 @@ export default class Client extends OpenApi {
44818
44496
  reqBodyType: "formData",
44819
44497
  bodyType: "json",
44820
44498
  });
44821
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44822
- return $tea.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
44823
- } else {
44824
- return $tea.cast<ModifyInstanceAttributeResponse>(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
44825
- }
44826
-
44499
+ return $tea.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
44827
44500
  }
44828
44501
 
44829
44502
  /**
@@ -44918,12 +44591,7 @@ export default class Client extends OpenApi {
44918
44591
  reqBodyType: "formData",
44919
44592
  bodyType: "json",
44920
44593
  });
44921
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44922
- return $tea.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
44923
- } else {
44924
- return $tea.cast<ModifyLifecycleHookResponse>(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
44925
- }
44926
-
44594
+ return $tea.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
44927
44595
  }
44928
44596
 
44929
44597
  /**
@@ -44994,12 +44662,7 @@ export default class Client extends OpenApi {
44994
44662
  reqBodyType: "formData",
44995
44663
  bodyType: "json",
44996
44664
  });
44997
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44998
- return $tea.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
44999
- } else {
45000
- return $tea.cast<ModifyNotificationConfigurationResponse>(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
45001
- }
45002
-
44665
+ return $tea.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
45003
44666
  }
45004
44667
 
45005
44668
  /**
@@ -45281,12 +44944,7 @@ export default class Client extends OpenApi {
45281
44944
  reqBodyType: "formData",
45282
44945
  bodyType: "json",
45283
44946
  });
45284
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45285
- return $tea.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
45286
- } else {
45287
- return $tea.cast<ModifyScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
45288
- }
45289
-
44947
+ return $tea.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
45290
44948
  }
45291
44949
 
45292
44950
  /**
@@ -45481,12 +45139,7 @@ export default class Client extends OpenApi {
45481
45139
  reqBodyType: "formData",
45482
45140
  bodyType: "json",
45483
45141
  });
45484
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45485
- return $tea.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
45486
- } else {
45487
- return $tea.cast<ModifyScalingGroupResponse>(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
45488
- }
45489
-
45142
+ return $tea.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
45490
45143
  }
45491
45144
 
45492
45145
  /**
@@ -45643,12 +45296,7 @@ export default class Client extends OpenApi {
45643
45296
  reqBodyType: "formData",
45644
45297
  bodyType: "json",
45645
45298
  });
45646
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45647
- return $tea.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
45648
- } else {
45649
- return $tea.cast<ModifyScalingRuleResponse>(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
45650
- }
45651
-
45299
+ return $tea.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
45652
45300
  }
45653
45301
 
45654
45302
  /**
@@ -45768,12 +45416,7 @@ export default class Client extends OpenApi {
45768
45416
  reqBodyType: "formData",
45769
45417
  bodyType: "json",
45770
45418
  });
45771
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45772
- return $tea.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
45773
- } else {
45774
- return $tea.cast<ModifyScheduledTaskResponse>(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
45775
- }
45776
-
45419
+ return $tea.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
45777
45420
  }
45778
45421
 
45779
45422
  /**
@@ -45850,12 +45493,7 @@ export default class Client extends OpenApi {
45850
45493
  reqBodyType: "formData",
45851
45494
  bodyType: "json",
45852
45495
  });
45853
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45854
- return $tea.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
45855
- } else {
45856
- return $tea.cast<RebalanceInstancesResponse>(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
45857
- }
45858
-
45496
+ return $tea.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
45859
45497
  }
45860
45498
 
45861
45499
  /**
@@ -45934,12 +45572,7 @@ export default class Client extends OpenApi {
45934
45572
  reqBodyType: "formData",
45935
45573
  bodyType: "json",
45936
45574
  });
45937
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45938
- return $tea.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
45939
- } else {
45940
- return $tea.cast<RecordLifecycleActionHeartbeatResponse>(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
45941
- }
45942
-
45575
+ return $tea.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
45943
45576
  }
45944
45577
 
45945
45578
  /**
@@ -46039,12 +45672,7 @@ export default class Client extends OpenApi {
46039
45672
  reqBodyType: "formData",
46040
45673
  bodyType: "json",
46041
45674
  });
46042
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46043
- return $tea.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
46044
- } else {
46045
- return $tea.cast<RemoveInstancesResponse>(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
46046
- }
46047
-
45675
+ return $tea.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
46048
45676
  }
46049
45677
 
46050
45678
  /**
@@ -46112,12 +45740,7 @@ export default class Client extends OpenApi {
46112
45740
  reqBodyType: "formData",
46113
45741
  bodyType: "json",
46114
45742
  });
46115
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46116
- return $tea.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
46117
- } else {
46118
- return $tea.cast<ResumeInstanceRefreshResponse>(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
46119
- }
46120
-
45743
+ return $tea.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
46121
45744
  }
46122
45745
 
46123
45746
  /**
@@ -46179,12 +45802,7 @@ export default class Client extends OpenApi {
46179
45802
  reqBodyType: "formData",
46180
45803
  bodyType: "json",
46181
45804
  });
46182
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46183
- return $tea.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
46184
- } else {
46185
- return $tea.cast<ResumeProcessesResponse>(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
46186
- }
46187
-
45805
+ return $tea.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
46188
45806
  }
46189
45807
 
46190
45808
  /**
@@ -46242,12 +45860,7 @@ export default class Client extends OpenApi {
46242
45860
  reqBodyType: "formData",
46243
45861
  bodyType: "json",
46244
45862
  });
46245
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46246
- return $tea.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
46247
- } else {
46248
- return $tea.cast<RollbackInstanceRefreshResponse>(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
46249
- }
46250
-
45863
+ return $tea.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
46251
45864
  }
46252
45865
 
46253
45866
  /**
@@ -46348,12 +45961,7 @@ export default class Client extends OpenApi {
46348
45961
  reqBodyType: "formData",
46349
45962
  bodyType: "json",
46350
45963
  });
46351
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46352
- return $tea.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
46353
- } else {
46354
- return $tea.cast<ScaleWithAdjustmentResponse>(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
46355
- }
46356
-
45964
+ return $tea.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
46357
45965
  }
46358
45966
 
46359
45967
  /**
@@ -46420,12 +46028,7 @@ export default class Client extends OpenApi {
46420
46028
  reqBodyType: "formData",
46421
46029
  bodyType: "json",
46422
46030
  });
46423
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46424
- return $tea.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
46425
- } else {
46426
- return $tea.cast<SetGroupDeletionProtectionResponse>(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
46427
- }
46428
-
46031
+ return $tea.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
46429
46032
  }
46430
46033
 
46431
46034
  /**
@@ -46482,12 +46085,7 @@ export default class Client extends OpenApi {
46482
46085
  reqBodyType: "formData",
46483
46086
  bodyType: "json",
46484
46087
  });
46485
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46486
- return $tea.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
46487
- } else {
46488
- return $tea.cast<SetInstanceHealthResponse>(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
46489
- }
46490
-
46088
+ return $tea.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
46491
46089
  }
46492
46090
 
46493
46091
  /**
@@ -46554,12 +46152,7 @@ export default class Client extends OpenApi {
46554
46152
  reqBodyType: "formData",
46555
46153
  bodyType: "json",
46556
46154
  });
46557
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46558
- return $tea.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
46559
- } else {
46560
- return $tea.cast<SetInstancesProtectionResponse>(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
46561
- }
46562
-
46155
+ return $tea.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
46563
46156
  }
46564
46157
 
46565
46158
  /**
@@ -46645,12 +46238,7 @@ export default class Client extends OpenApi {
46645
46238
  reqBodyType: "formData",
46646
46239
  bodyType: "json",
46647
46240
  });
46648
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46649
- return $tea.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
46650
- } else {
46651
- return $tea.cast<StartInstanceRefreshResponse>(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
46652
- }
46653
-
46241
+ return $tea.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
46654
46242
  }
46655
46243
 
46656
46244
  /**
@@ -46717,12 +46305,7 @@ export default class Client extends OpenApi {
46717
46305
  reqBodyType: "formData",
46718
46306
  bodyType: "json",
46719
46307
  });
46720
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46721
- return $tea.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
46722
- } else {
46723
- return $tea.cast<SuspendInstanceRefreshResponse>(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
46724
- }
46725
-
46308
+ return $tea.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
46726
46309
  }
46727
46310
 
46728
46311
  /**
@@ -46787,12 +46370,7 @@ export default class Client extends OpenApi {
46787
46370
  reqBodyType: "formData",
46788
46371
  bodyType: "json",
46789
46372
  });
46790
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46791
- return $tea.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
46792
- } else {
46793
- return $tea.cast<SuspendProcessesResponse>(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
46794
- }
46795
-
46373
+ return $tea.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
46796
46374
  }
46797
46375
 
46798
46376
  /**
@@ -46863,12 +46441,7 @@ export default class Client extends OpenApi {
46863
46441
  reqBodyType: "formData",
46864
46442
  bodyType: "json",
46865
46443
  });
46866
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46867
- return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
46868
- } else {
46869
- return $tea.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
46870
- }
46871
-
46444
+ return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
46872
46445
  }
46873
46446
 
46874
46447
  /**
@@ -46943,12 +46516,7 @@ export default class Client extends OpenApi {
46943
46516
  reqBodyType: "formData",
46944
46517
  bodyType: "json",
46945
46518
  });
46946
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46947
- return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
46948
- } else {
46949
- return $tea.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
46950
- }
46951
-
46519
+ return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
46952
46520
  }
46953
46521
 
46954
46522
  /**
@@ -47006,12 +46574,7 @@ export default class Client extends OpenApi {
47006
46574
  reqBodyType: "formData",
47007
46575
  bodyType: "json",
47008
46576
  });
47009
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
47010
- return $tea.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
47011
- } else {
47012
- return $tea.cast<VerifyAuthenticationResponse>(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
47013
- }
47014
-
46577
+ return $tea.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
47015
46578
  }
47016
46579
 
47017
46580
  /**
@@ -47065,12 +46628,7 @@ export default class Client extends OpenApi {
47065
46628
  reqBodyType: "formData",
47066
46629
  bodyType: "json",
47067
46630
  });
47068
- if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
47069
- return $tea.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
47070
- } else {
47071
- return $tea.cast<VerifyUserResponse>(await this.execute(params, req, runtime), new VerifyUserResponse({}));
47072
- }
47073
-
46631
+ return $tea.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
47074
46632
  }
47075
46633
 
47076
46634
  /**