@alicloud/ess20220222 1.8.12 → 1.8.14
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/dist/client.d.ts +197 -16
- package/dist/client.js +196 -580
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +369 -587
package/src/client.ts
CHANGED
|
@@ -3173,6 +3173,10 @@ export class CreateScalingConfigurationRequestNetworkInterfaces extends $dara.Mo
|
|
|
3173
3173
|
|
|
3174
3174
|
export class CreateScalingConfigurationRequestResourcePoolOptions extends $dara.Model {
|
|
3175
3175
|
privatePoolIds?: string[];
|
|
3176
|
+
/**
|
|
3177
|
+
* @example
|
|
3178
|
+
* PrivatePoolFirst
|
|
3179
|
+
*/
|
|
3176
3180
|
strategy?: string;
|
|
3177
3181
|
static names(): { [key: string]: string } {
|
|
3178
3182
|
return {
|
|
@@ -4207,6 +4211,10 @@ export class CreateScalingConfigurationShrinkRequestNetworkInterfaces extends $d
|
|
|
4207
4211
|
|
|
4208
4212
|
export class CreateScalingConfigurationShrinkRequestResourcePoolOptions extends $dara.Model {
|
|
4209
4213
|
privatePoolIds?: string[];
|
|
4214
|
+
/**
|
|
4215
|
+
* @example
|
|
4216
|
+
* PrivatePoolFirst
|
|
4217
|
+
*/
|
|
4210
4218
|
strategy?: string;
|
|
4211
4219
|
static names(): { [key: string]: string } {
|
|
4212
4220
|
return {
|
|
@@ -10545,9 +10553,25 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $d
|
|
|
10545
10553
|
}
|
|
10546
10554
|
|
|
10547
10555
|
export class DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth extends $dara.Model {
|
|
10556
|
+
/**
|
|
10557
|
+
* @example
|
|
10558
|
+
* 3
|
|
10559
|
+
*/
|
|
10548
10560
|
adequacyScore?: number;
|
|
10561
|
+
/**
|
|
10562
|
+
* @example
|
|
10563
|
+
* 3
|
|
10564
|
+
*/
|
|
10549
10565
|
healthScore?: number;
|
|
10566
|
+
/**
|
|
10567
|
+
* @example
|
|
10568
|
+
* 3
|
|
10569
|
+
*/
|
|
10550
10570
|
hotScore?: number;
|
|
10571
|
+
/**
|
|
10572
|
+
* @example
|
|
10573
|
+
* 3
|
|
10574
|
+
*/
|
|
10551
10575
|
supplyScore?: number;
|
|
10552
10576
|
static names(): { [key: string]: string } {
|
|
10553
10577
|
return {
|
|
@@ -10602,6 +10626,10 @@ export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Mode
|
|
|
10602
10626
|
* The instanceType does not support the image in the configuration.
|
|
10603
10627
|
*/
|
|
10604
10628
|
msg?: string;
|
|
10629
|
+
/**
|
|
10630
|
+
* @example
|
|
10631
|
+
* Available
|
|
10632
|
+
*/
|
|
10605
10633
|
status?: string;
|
|
10606
10634
|
/**
|
|
10607
10635
|
* @remarks
|
|
@@ -12324,6 +12352,10 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetwo
|
|
|
12324
12352
|
|
|
12325
12353
|
export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions extends $dara.Model {
|
|
12326
12354
|
privatePoolIds?: string[];
|
|
12355
|
+
/**
|
|
12356
|
+
* @example
|
|
12357
|
+
* PrivatePoolFirst
|
|
12358
|
+
*/
|
|
12327
12359
|
strategy?: string;
|
|
12328
12360
|
static names(): { [key: string]: string } {
|
|
12329
12361
|
return {
|
|
@@ -20044,6 +20076,10 @@ export class ModifyScalingConfigurationRequestNetworkInterfaces extends $dara.Mo
|
|
|
20044
20076
|
|
|
20045
20077
|
export class ModifyScalingConfigurationRequestResourcePoolOptions extends $dara.Model {
|
|
20046
20078
|
privatePoolIds?: string[];
|
|
20079
|
+
/**
|
|
20080
|
+
* @example
|
|
20081
|
+
* PrivatePoolFirst
|
|
20082
|
+
*/
|
|
20047
20083
|
strategy?: string;
|
|
20048
20084
|
static names(): { [key: string]: string } {
|
|
20049
20085
|
return {
|
|
@@ -21096,6 +21132,10 @@ export class ModifyScalingConfigurationShrinkRequestNetworkInterfaces extends $d
|
|
|
21096
21132
|
|
|
21097
21133
|
export class ModifyScalingConfigurationShrinkRequestResourcePoolOptions extends $dara.Model {
|
|
21098
21134
|
privatePoolIds?: string[];
|
|
21135
|
+
/**
|
|
21136
|
+
* @example
|
|
21137
|
+
* PrivatePoolFirst
|
|
21138
|
+
*/
|
|
21099
21139
|
strategy?: string;
|
|
21100
21140
|
static names(): { [key: string]: string } {
|
|
21101
21141
|
return {
|
|
@@ -21561,6 +21601,35 @@ export class ModifyScalingRuleRequestStepAdjustments extends $dara.Model {
|
|
|
21561
21601
|
}
|
|
21562
21602
|
}
|
|
21563
21603
|
|
|
21604
|
+
export class RemoveInstancesRequestLifecycleHookContext extends $dara.Model {
|
|
21605
|
+
disableLifecycleHook?: boolean;
|
|
21606
|
+
ignoredLifecycleHookIds?: string[];
|
|
21607
|
+
static names(): { [key: string]: string } {
|
|
21608
|
+
return {
|
|
21609
|
+
disableLifecycleHook: 'DisableLifecycleHook',
|
|
21610
|
+
ignoredLifecycleHookIds: 'IgnoredLifecycleHookIds',
|
|
21611
|
+
};
|
|
21612
|
+
}
|
|
21613
|
+
|
|
21614
|
+
static types(): { [key: string]: any } {
|
|
21615
|
+
return {
|
|
21616
|
+
disableLifecycleHook: 'boolean',
|
|
21617
|
+
ignoredLifecycleHookIds: { 'type': 'array', 'itemType': 'string' },
|
|
21618
|
+
};
|
|
21619
|
+
}
|
|
21620
|
+
|
|
21621
|
+
validate() {
|
|
21622
|
+
if(Array.isArray(this.ignoredLifecycleHookIds)) {
|
|
21623
|
+
$dara.Model.validateArray(this.ignoredLifecycleHookIds);
|
|
21624
|
+
}
|
|
21625
|
+
super.validate();
|
|
21626
|
+
}
|
|
21627
|
+
|
|
21628
|
+
constructor(map?: { [key: string]: any }) {
|
|
21629
|
+
super(map);
|
|
21630
|
+
}
|
|
21631
|
+
}
|
|
21632
|
+
|
|
21564
21633
|
export class ScaleWithAdjustmentRequestLifecycleHookContext extends $dara.Model {
|
|
21565
21634
|
/**
|
|
21566
21635
|
* @remarks
|
|
@@ -22227,7 +22296,7 @@ export class AttachAlbServerGroupsRequest extends $dara.Model {
|
|
|
22227
22296
|
* @remarks
|
|
22228
22297
|
* Specifies whether to add the existing Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to the new ALB server group. Valid values:
|
|
22229
22298
|
*
|
|
22230
|
-
* * true: adds the existing ECS instances or elastic container instances in the scaling group to the new ALB server group
|
|
22299
|
+
* * true: adds the existing ECS instances or elastic container instances in the scaling group to the new ALB server group and returns the value of `ScalingActivityId`. You can query the value of ScalingActivityId to check whether the existing ECS instances are added to the ALB server group.
|
|
22231
22300
|
* * false: does not add the existing ECS instances or elastic container instances in the scaling group to the new ALB server group.
|
|
22232
22301
|
*
|
|
22233
22302
|
* Default value: false.
|
|
@@ -22406,7 +22475,7 @@ export class AttachDBInstancesRequest extends $dara.Model {
|
|
|
22406
22475
|
DBInstances?: string[];
|
|
22407
22476
|
/**
|
|
22408
22477
|
* @remarks
|
|
22409
|
-
* Specifies whether to add the private IP addresses of all ECS instances in the scaling group to the IP address whitelist of
|
|
22478
|
+
* Specifies whether to add the private IP addresses of all ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance that you want to attach to the scaling group. Valid values:
|
|
22410
22479
|
*
|
|
22411
22480
|
* * true
|
|
22412
22481
|
* * false
|
|
@@ -23885,11 +23954,11 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
23885
23954
|
scalingGroupId?: string;
|
|
23886
23955
|
/**
|
|
23887
23956
|
* @remarks
|
|
23888
|
-
* The method
|
|
23957
|
+
* The statistical method of the metric data. Valid values:
|
|
23889
23958
|
*
|
|
23890
|
-
* * Average: the average value.
|
|
23891
|
-
* * Minimum: the minimum value.
|
|
23892
|
-
* * Maximum: the maximum value.
|
|
23959
|
+
* * Average: calculates the average value of the metric data.
|
|
23960
|
+
* * Minimum: calculates the minimum value of the metric data.
|
|
23961
|
+
* * Maximum: calculates the maximum value of the metric data.
|
|
23893
23962
|
*
|
|
23894
23963
|
* Default value: Average.
|
|
23895
23964
|
*
|
|
@@ -24469,7 +24538,7 @@ export class CreateEciScalingConfigurationRequest extends $dara.Model {
|
|
|
24469
24538
|
ownerId?: number;
|
|
24470
24539
|
/**
|
|
24471
24540
|
* @remarks
|
|
24472
|
-
* The name of the instance Resource Access Management (RAM) role. Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see [
|
|
24541
|
+
* The name of the instance Resource Access Management (RAM) role. Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see [RAM roles](https://help.aliyun.com/document_detail/61175.html).
|
|
24473
24542
|
*
|
|
24474
24543
|
* @example
|
|
24475
24544
|
* RamTestRole
|
|
@@ -27572,7 +27641,7 @@ export class CreateScalingRuleRequest extends $dara.Model {
|
|
|
27572
27641
|
* * SimpleScalingRule: a simple scaling rule. After you execute a simple scaling rule, Auto Scaling adjusts the number of ECS instances or elastic container instances in the scaling group based on the values of AdjustmentType and AdjustmentValue.
|
|
27573
27642
|
* * TargetTrackingScalingRule: a target tracking scaling rule. After you execute a target tracking scaling rule, Auto Scaling dynamically calculates the number of ECS instances or elastic container instances to scale based on the predefined metric (MetricName) and attempts to maintain the metric value close to the expected value (TargetValue).
|
|
27574
27643
|
* * StepScalingRule: a step scaling rule. After you execute a step scaling rule, Auto Scaling scales instances step by step based on the predefined thresholds and metric values.
|
|
27575
|
-
* * PredictiveScalingRule: a predictive scaling rule. After you execute a predictive scaling rule, Auto Scaling uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to
|
|
27644
|
+
* * PredictiveScalingRule: a predictive scaling rule. After you execute a predictive scaling rule, Auto Scaling uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to adjust the boundary values for the scaling group.
|
|
27576
27645
|
*
|
|
27577
27646
|
* Default value: SimpleScalingRule.
|
|
27578
27647
|
*
|
|
@@ -29851,7 +29920,7 @@ export class DescribeEciScalingConfigurationsRequest extends $dara.Model {
|
|
|
29851
29920
|
ownerId?: number;
|
|
29852
29921
|
/**
|
|
29853
29922
|
* @remarks
|
|
29854
|
-
* The
|
|
29923
|
+
* The page number. Pages start from page 1.
|
|
29855
29924
|
*
|
|
29856
29925
|
* Default value: 1.
|
|
29857
29926
|
*
|
|
@@ -29861,7 +29930,7 @@ export class DescribeEciScalingConfigurationsRequest extends $dara.Model {
|
|
|
29861
29930
|
pageNumber?: number;
|
|
29862
29931
|
/**
|
|
29863
29932
|
* @remarks
|
|
29864
|
-
* The number of entries
|
|
29933
|
+
* The number of entries per page. Maximum value: 50.
|
|
29865
29934
|
*
|
|
29866
29935
|
* Default value: 10.
|
|
29867
29936
|
*
|
|
@@ -30243,6 +30312,10 @@ export class DescribeElasticStrengthRequest extends $dara.Model {
|
|
|
30243
30312
|
}
|
|
30244
30313
|
|
|
30245
30314
|
export class DescribeElasticStrengthResponseBody extends $dara.Model {
|
|
30315
|
+
/**
|
|
30316
|
+
* @example
|
|
30317
|
+
* Strong
|
|
30318
|
+
*/
|
|
30246
30319
|
elasticStrength?: string;
|
|
30247
30320
|
/**
|
|
30248
30321
|
* @remarks
|
|
@@ -34403,7 +34476,7 @@ export class DetachLoadBalancersRequest extends $dara.Model {
|
|
|
34403
34476
|
clientToken?: string;
|
|
34404
34477
|
/**
|
|
34405
34478
|
* @remarks
|
|
34406
|
-
* Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the
|
|
34479
|
+
* Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the load balancer. Valid values:
|
|
34407
34480
|
*
|
|
34408
34481
|
* * true
|
|
34409
34482
|
* * false
|
|
@@ -36529,7 +36602,7 @@ export class ModifyAlarmRequest extends $dara.Model {
|
|
|
36529
36602
|
* @remarks
|
|
36530
36603
|
* The metric type. Valid values:
|
|
36531
36604
|
*
|
|
36532
|
-
* * system: system metrics of CloudMonitor
|
|
36605
|
+
* * system: system metrics of CloudMonitor.
|
|
36533
36606
|
* * custom: custom metrics that are reported to CloudMonitor.
|
|
36534
36607
|
*
|
|
36535
36608
|
* @example
|
|
@@ -37524,12 +37597,15 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
37524
37597
|
* @remarks
|
|
37525
37598
|
* The ID of the ECS instance.
|
|
37526
37599
|
*
|
|
37527
|
-
* This parameter is required.
|
|
37528
|
-
*
|
|
37529
37600
|
* @example
|
|
37530
37601
|
* i-bp109k5j3dum1ce6****
|
|
37531
37602
|
*/
|
|
37532
37603
|
instanceId?: string;
|
|
37604
|
+
/**
|
|
37605
|
+
* @remarks
|
|
37606
|
+
* The instance IDs.
|
|
37607
|
+
*/
|
|
37608
|
+
instanceIds?: string[];
|
|
37533
37609
|
ownerId?: number;
|
|
37534
37610
|
/**
|
|
37535
37611
|
* @remarks
|
|
@@ -37556,6 +37632,7 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
37556
37632
|
return {
|
|
37557
37633
|
entrusted: 'Entrusted',
|
|
37558
37634
|
instanceId: 'InstanceId',
|
|
37635
|
+
instanceIds: 'InstanceIds',
|
|
37559
37636
|
ownerId: 'OwnerId',
|
|
37560
37637
|
regionId: 'RegionId',
|
|
37561
37638
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -37567,6 +37644,7 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
37567
37644
|
return {
|
|
37568
37645
|
entrusted: 'boolean',
|
|
37569
37646
|
instanceId: 'string',
|
|
37647
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
37570
37648
|
ownerId: 'number',
|
|
37571
37649
|
regionId: 'string',
|
|
37572
37650
|
resourceOwnerAccount: 'string',
|
|
@@ -37575,6 +37653,9 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
37575
37653
|
}
|
|
37576
37654
|
|
|
37577
37655
|
validate() {
|
|
37656
|
+
if(Array.isArray(this.instanceIds)) {
|
|
37657
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
37658
|
+
}
|
|
37578
37659
|
super.validate();
|
|
37579
37660
|
}
|
|
37580
37661
|
|
|
@@ -40888,6 +40969,166 @@ export class RemoveInstancesRequest extends $dara.Model {
|
|
|
40888
40969
|
* This parameter is required.
|
|
40889
40970
|
*/
|
|
40890
40971
|
instanceIds?: string[];
|
|
40972
|
+
lifecycleHookContext?: RemoveInstancesRequestLifecycleHookContext;
|
|
40973
|
+
ownerAccount?: string;
|
|
40974
|
+
ownerId?: number;
|
|
40975
|
+
/**
|
|
40976
|
+
* @remarks
|
|
40977
|
+
* The region ID of the scaling group.
|
|
40978
|
+
*
|
|
40979
|
+
* @example
|
|
40980
|
+
* cn-qingdao
|
|
40981
|
+
*/
|
|
40982
|
+
regionId?: string;
|
|
40983
|
+
/**
|
|
40984
|
+
* @remarks
|
|
40985
|
+
* The action subsequent to the removal of the Elastic Compute Service (ECS) instances. Valid values:
|
|
40986
|
+
*
|
|
40987
|
+
* * recycle: The ECS instances enter the Economical Mode.
|
|
40988
|
+
*
|
|
40989
|
+
* **
|
|
40990
|
+
*
|
|
40991
|
+
* **Note** This setting is applicable only if you set `ScalingPolicy` to `recycle`.
|
|
40992
|
+
*
|
|
40993
|
+
* * release: The ECS instances are released.
|
|
40994
|
+
*
|
|
40995
|
+
* ScalingPolicy of the CreateScalingGroup operation specifies the reclaim mode of the scaling group while RemovePolicy of the RemoveInstances operation specifies the subsequent action when an ECS instance is removed from the scaling group. Examples:
|
|
40996
|
+
*
|
|
40997
|
+
* * If you set ScalingPolicy and RemovePolicy to recycle, the ECS instances enter the Economical Mode when they are removed.
|
|
40998
|
+
* * If you set ScalingPolicy to recycle and RemovePolicy to release, the ECS instances are released when they are removed.
|
|
40999
|
+
* * If you set ScalingPolicy to release and RemovePolicy to recycle, the ECS instances are released when they are removed.
|
|
41000
|
+
* * If you set ScalingPolicy and RemovePolicy to release, the ECS instances are released when they are removed.
|
|
41001
|
+
*
|
|
41002
|
+
* Default value: release.
|
|
41003
|
+
*
|
|
41004
|
+
* @example
|
|
41005
|
+
* release
|
|
41006
|
+
*/
|
|
41007
|
+
removePolicy?: string;
|
|
41008
|
+
resourceOwnerAccount?: string;
|
|
41009
|
+
resourceOwnerId?: number;
|
|
41010
|
+
/**
|
|
41011
|
+
* @remarks
|
|
41012
|
+
* The ID of the scaling group.
|
|
41013
|
+
*
|
|
41014
|
+
* This parameter is required.
|
|
41015
|
+
*
|
|
41016
|
+
* @example
|
|
41017
|
+
* asg-bp18p2yfxow2dloq****
|
|
41018
|
+
*/
|
|
41019
|
+
scalingGroupId?: string;
|
|
41020
|
+
/**
|
|
41021
|
+
* @remarks
|
|
41022
|
+
* The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
41023
|
+
*
|
|
41024
|
+
* >
|
|
41025
|
+
*
|
|
41026
|
+
* * By default, this parameter inherits the value of StopInstanceTimeout specified in the CreateScalingGroup or ModifyScalingGroup operation. You can also specify a different value for this parameter in the RemoveInstances operation.
|
|
41027
|
+
*
|
|
41028
|
+
* * This parameter takes effect only if you set RemovePolicy to release.
|
|
41029
|
+
*
|
|
41030
|
+
* * If you specify this parameter, the system waits for the ECS instance to enter the Stopped state only for up to the specified period of time before continuing with the scale-in operation, regardless of the status of the ECS instance.
|
|
41031
|
+
*
|
|
41032
|
+
* * If you do not specify this parameter, the system continues with the scale-in operation until the ECS instance enters the Stopped state. If the ECS instance is not successfully stopped, the scale-in process is rolled back and considered failed.
|
|
41033
|
+
*
|
|
41034
|
+
* @example
|
|
41035
|
+
* 60
|
|
41036
|
+
*/
|
|
41037
|
+
stopInstanceTimeout?: number;
|
|
41038
|
+
static names(): { [key: string]: string } {
|
|
41039
|
+
return {
|
|
41040
|
+
clientToken: 'ClientToken',
|
|
41041
|
+
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
41042
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
41043
|
+
instanceIds: 'InstanceIds',
|
|
41044
|
+
lifecycleHookContext: 'LifecycleHookContext',
|
|
41045
|
+
ownerAccount: 'OwnerAccount',
|
|
41046
|
+
ownerId: 'OwnerId',
|
|
41047
|
+
regionId: 'RegionId',
|
|
41048
|
+
removePolicy: 'RemovePolicy',
|
|
41049
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
41050
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
41051
|
+
scalingGroupId: 'ScalingGroupId',
|
|
41052
|
+
stopInstanceTimeout: 'StopInstanceTimeout',
|
|
41053
|
+
};
|
|
41054
|
+
}
|
|
41055
|
+
|
|
41056
|
+
static types(): { [key: string]: any } {
|
|
41057
|
+
return {
|
|
41058
|
+
clientToken: 'string',
|
|
41059
|
+
decreaseDesiredCapacity: 'boolean',
|
|
41060
|
+
ignoreInvalidInstance: 'boolean',
|
|
41061
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
41062
|
+
lifecycleHookContext: RemoveInstancesRequestLifecycleHookContext,
|
|
41063
|
+
ownerAccount: 'string',
|
|
41064
|
+
ownerId: 'number',
|
|
41065
|
+
regionId: 'string',
|
|
41066
|
+
removePolicy: 'string',
|
|
41067
|
+
resourceOwnerAccount: 'string',
|
|
41068
|
+
resourceOwnerId: 'number',
|
|
41069
|
+
scalingGroupId: 'string',
|
|
41070
|
+
stopInstanceTimeout: 'number',
|
|
41071
|
+
};
|
|
41072
|
+
}
|
|
41073
|
+
|
|
41074
|
+
validate() {
|
|
41075
|
+
if(Array.isArray(this.instanceIds)) {
|
|
41076
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
41077
|
+
}
|
|
41078
|
+
if(this.lifecycleHookContext && typeof (this.lifecycleHookContext as any).validate === 'function') {
|
|
41079
|
+
(this.lifecycleHookContext as any).validate();
|
|
41080
|
+
}
|
|
41081
|
+
super.validate();
|
|
41082
|
+
}
|
|
41083
|
+
|
|
41084
|
+
constructor(map?: { [key: string]: any }) {
|
|
41085
|
+
super(map);
|
|
41086
|
+
}
|
|
41087
|
+
}
|
|
41088
|
+
|
|
41089
|
+
export class RemoveInstancesShrinkRequest extends $dara.Model {
|
|
41090
|
+
/**
|
|
41091
|
+
* @remarks
|
|
41092
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25965.html).
|
|
41093
|
+
*
|
|
41094
|
+
* @example
|
|
41095
|
+
* 123e4567-e89b-12d3-a456-42665544****
|
|
41096
|
+
*/
|
|
41097
|
+
clientToken?: string;
|
|
41098
|
+
/**
|
|
41099
|
+
* @remarks
|
|
41100
|
+
* Specifies whether to adjust the expected number of ECS instances in the scaling group. Valid values:
|
|
41101
|
+
*
|
|
41102
|
+
* * true: After ECS instances are removed from the scaling group, the expected number of ECS instances in the scaling group decreases.
|
|
41103
|
+
* * false: After ECS instances are removed from the scaling group, the expected number of ECS instances in the scaling group remains unchanged.
|
|
41104
|
+
*
|
|
41105
|
+
* Default value: true.
|
|
41106
|
+
*
|
|
41107
|
+
* @example
|
|
41108
|
+
* true
|
|
41109
|
+
*/
|
|
41110
|
+
decreaseDesiredCapacity?: boolean;
|
|
41111
|
+
/**
|
|
41112
|
+
* @remarks
|
|
41113
|
+
* Specifies whether to ignore invalid instances when you remove a batch of instances from the scaling group. Valid values:
|
|
41114
|
+
*
|
|
41115
|
+
* * true: ignores invalid instances. If invalid instances exist and valid instances are deleted, the corresponding scaling activity enters the Warning state. You can check the scaling activity details to view the invalid instances that are ignored.
|
|
41116
|
+
* * false: does not ignore invalid instances. If invalid instances exist in the batch of instances that you want to remove from the scaling group, an error is reported.
|
|
41117
|
+
*
|
|
41118
|
+
* Default value: false.
|
|
41119
|
+
*
|
|
41120
|
+
* @example
|
|
41121
|
+
* false
|
|
41122
|
+
*/
|
|
41123
|
+
ignoreInvalidInstance?: boolean;
|
|
41124
|
+
/**
|
|
41125
|
+
* @remarks
|
|
41126
|
+
* The IDs of the ECS instances that you want to remove from the scaling group.
|
|
41127
|
+
*
|
|
41128
|
+
* This parameter is required.
|
|
41129
|
+
*/
|
|
41130
|
+
instanceIds?: string[];
|
|
41131
|
+
lifecycleHookContextShrink?: string;
|
|
40891
41132
|
ownerAccount?: string;
|
|
40892
41133
|
ownerId?: number;
|
|
40893
41134
|
/**
|
|
@@ -40959,6 +41200,7 @@ export class RemoveInstancesRequest extends $dara.Model {
|
|
|
40959
41200
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
40960
41201
|
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
40961
41202
|
instanceIds: 'InstanceIds',
|
|
41203
|
+
lifecycleHookContextShrink: 'LifecycleHookContext',
|
|
40962
41204
|
ownerAccount: 'OwnerAccount',
|
|
40963
41205
|
ownerId: 'OwnerId',
|
|
40964
41206
|
regionId: 'RegionId',
|
|
@@ -40976,6 +41218,7 @@ export class RemoveInstancesRequest extends $dara.Model {
|
|
|
40976
41218
|
decreaseDesiredCapacity: 'boolean',
|
|
40977
41219
|
ignoreInvalidInstance: 'boolean',
|
|
40978
41220
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
41221
|
+
lifecycleHookContextShrink: 'string',
|
|
40979
41222
|
ownerAccount: 'string',
|
|
40980
41223
|
ownerId: 'number',
|
|
40981
41224
|
regionId: 'string',
|
|
@@ -43294,12 +43537,7 @@ export default class Client extends OpenApi {
|
|
|
43294
43537
|
reqBodyType: "formData",
|
|
43295
43538
|
bodyType: "json",
|
|
43296
43539
|
});
|
|
43297
|
-
|
|
43298
|
-
return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
43299
|
-
} else {
|
|
43300
|
-
return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
43301
|
-
}
|
|
43302
|
-
|
|
43540
|
+
return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
43303
43541
|
}
|
|
43304
43542
|
|
|
43305
43543
|
/**
|
|
@@ -43388,12 +43626,7 @@ export default class Client extends OpenApi {
|
|
|
43388
43626
|
reqBodyType: "formData",
|
|
43389
43627
|
bodyType: "json",
|
|
43390
43628
|
});
|
|
43391
|
-
|
|
43392
|
-
return $dara.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
43393
|
-
} else {
|
|
43394
|
-
return $dara.cast<ApplyScalingGroupResponse>(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
43395
|
-
}
|
|
43396
|
-
|
|
43629
|
+
return $dara.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
43397
43630
|
}
|
|
43398
43631
|
|
|
43399
43632
|
/**
|
|
@@ -43498,12 +43731,7 @@ export default class Client extends OpenApi {
|
|
|
43498
43731
|
reqBodyType: "formData",
|
|
43499
43732
|
bodyType: "json",
|
|
43500
43733
|
});
|
|
43501
|
-
|
|
43502
|
-
return $dara.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
43503
|
-
} else {
|
|
43504
|
-
return $dara.cast<AttachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
43505
|
-
}
|
|
43506
|
-
|
|
43734
|
+
return $dara.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
43507
43735
|
}
|
|
43508
43736
|
|
|
43509
43737
|
/**
|
|
@@ -43591,12 +43819,7 @@ export default class Client extends OpenApi {
|
|
|
43591
43819
|
reqBodyType: "formData",
|
|
43592
43820
|
bodyType: "json",
|
|
43593
43821
|
});
|
|
43594
|
-
|
|
43595
|
-
return $dara.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
43596
|
-
} else {
|
|
43597
|
-
return $dara.cast<AttachDBInstancesResponse>(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
43598
|
-
}
|
|
43599
|
-
|
|
43822
|
+
return $dara.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
43600
43823
|
}
|
|
43601
43824
|
|
|
43602
43825
|
/**
|
|
@@ -43707,12 +43930,7 @@ export default class Client extends OpenApi {
|
|
|
43707
43930
|
reqBodyType: "formData",
|
|
43708
43931
|
bodyType: "json",
|
|
43709
43932
|
});
|
|
43710
|
-
|
|
43711
|
-
return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
43712
|
-
} else {
|
|
43713
|
-
return $dara.cast<AttachInstancesResponse>(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
|
|
43714
|
-
}
|
|
43715
|
-
|
|
43933
|
+
return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
43716
43934
|
}
|
|
43717
43935
|
|
|
43718
43936
|
/**
|
|
@@ -43807,12 +44025,7 @@ export default class Client extends OpenApi {
|
|
|
43807
44025
|
reqBodyType: "formData",
|
|
43808
44026
|
bodyType: "json",
|
|
43809
44027
|
});
|
|
43810
|
-
|
|
43811
|
-
return $dara.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
43812
|
-
} else {
|
|
43813
|
-
return $dara.cast<AttachLoadBalancersResponse>(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
43814
|
-
}
|
|
43815
|
-
|
|
44028
|
+
return $dara.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
43816
44029
|
}
|
|
43817
44030
|
|
|
43818
44031
|
/**
|
|
@@ -43887,12 +44100,7 @@ export default class Client extends OpenApi {
|
|
|
43887
44100
|
reqBodyType: "formData",
|
|
43888
44101
|
bodyType: "json",
|
|
43889
44102
|
});
|
|
43890
|
-
|
|
43891
|
-
return $dara.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
43892
|
-
} else {
|
|
43893
|
-
return $dara.cast<AttachServerGroupsResponse>(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
43894
|
-
}
|
|
43895
|
-
|
|
44103
|
+
return $dara.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
43896
44104
|
}
|
|
43897
44105
|
|
|
43898
44106
|
/**
|
|
@@ -43975,12 +44183,7 @@ export default class Client extends OpenApi {
|
|
|
43975
44183
|
reqBodyType: "formData",
|
|
43976
44184
|
bodyType: "json",
|
|
43977
44185
|
});
|
|
43978
|
-
|
|
43979
|
-
return $dara.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
43980
|
-
} else {
|
|
43981
|
-
return $dara.cast<AttachVServerGroupsResponse>(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
43982
|
-
}
|
|
43983
|
-
|
|
44186
|
+
return $dara.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
43984
44187
|
}
|
|
43985
44188
|
|
|
43986
44189
|
/**
|
|
@@ -44058,12 +44261,7 @@ export default class Client extends OpenApi {
|
|
|
44058
44261
|
reqBodyType: "formData",
|
|
44059
44262
|
bodyType: "json",
|
|
44060
44263
|
});
|
|
44061
|
-
|
|
44062
|
-
return $dara.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
44063
|
-
} else {
|
|
44064
|
-
return $dara.cast<CancelInstanceRefreshResponse>(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
44065
|
-
}
|
|
44066
|
-
|
|
44264
|
+
return $dara.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
44067
44265
|
}
|
|
44068
44266
|
|
|
44069
44267
|
/**
|
|
@@ -44132,12 +44330,7 @@ export default class Client extends OpenApi {
|
|
|
44132
44330
|
reqBodyType: "formData",
|
|
44133
44331
|
bodyType: "json",
|
|
44134
44332
|
});
|
|
44135
|
-
|
|
44136
|
-
return $dara.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
44137
|
-
} else {
|
|
44138
|
-
return $dara.cast<ChangeResourceGroupResponse>(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
44139
|
-
}
|
|
44140
|
-
|
|
44333
|
+
return $dara.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
44141
44334
|
}
|
|
44142
44335
|
|
|
44143
44336
|
/**
|
|
@@ -44214,12 +44407,7 @@ export default class Client extends OpenApi {
|
|
|
44214
44407
|
reqBodyType: "formData",
|
|
44215
44408
|
bodyType: "json",
|
|
44216
44409
|
});
|
|
44217
|
-
|
|
44218
|
-
return $dara.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
44219
|
-
} else {
|
|
44220
|
-
return $dara.cast<CompleteLifecycleActionResponse>(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
44221
|
-
}
|
|
44222
|
-
|
|
44410
|
+
return $dara.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
44223
44411
|
}
|
|
44224
44412
|
|
|
44225
44413
|
/**
|
|
@@ -44343,12 +44531,7 @@ export default class Client extends OpenApi {
|
|
|
44343
44531
|
reqBodyType: "formData",
|
|
44344
44532
|
bodyType: "json",
|
|
44345
44533
|
});
|
|
44346
|
-
|
|
44347
|
-
return $dara.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
44348
|
-
} else {
|
|
44349
|
-
return $dara.cast<CreateAlarmResponse>(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
|
|
44350
|
-
}
|
|
44351
|
-
|
|
44534
|
+
return $dara.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
44352
44535
|
}
|
|
44353
44536
|
|
|
44354
44537
|
/**
|
|
@@ -44393,12 +44576,7 @@ export default class Client extends OpenApi {
|
|
|
44393
44576
|
reqBodyType: "formData",
|
|
44394
44577
|
bodyType: "json",
|
|
44395
44578
|
});
|
|
44396
|
-
|
|
44397
|
-
return $dara.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
44398
|
-
} else {
|
|
44399
|
-
return $dara.cast<CreateDiagnoseReportResponse>(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
44400
|
-
}
|
|
44401
|
-
|
|
44579
|
+
return $dara.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
44402
44580
|
}
|
|
44403
44581
|
|
|
44404
44582
|
/**
|
|
@@ -44640,12 +44818,7 @@ export default class Client extends OpenApi {
|
|
|
44640
44818
|
reqBodyType: "formData",
|
|
44641
44819
|
bodyType: "json",
|
|
44642
44820
|
});
|
|
44643
|
-
|
|
44644
|
-
return $dara.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
44645
|
-
} else {
|
|
44646
|
-
return $dara.cast<CreateEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
44647
|
-
}
|
|
44648
|
-
|
|
44821
|
+
return $dara.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
44649
44822
|
}
|
|
44650
44823
|
|
|
44651
44824
|
/**
|
|
@@ -44733,12 +44906,7 @@ export default class Client extends OpenApi {
|
|
|
44733
44906
|
reqBodyType: "formData",
|
|
44734
44907
|
bodyType: "json",
|
|
44735
44908
|
});
|
|
44736
|
-
|
|
44737
|
-
return $dara.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
44738
|
-
} else {
|
|
44739
|
-
return $dara.cast<CreateLifecycleHookResponse>(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
44740
|
-
}
|
|
44741
|
-
|
|
44909
|
+
return $dara.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
44742
44910
|
}
|
|
44743
44911
|
|
|
44744
44912
|
/**
|
|
@@ -44815,12 +44983,7 @@ export default class Client extends OpenApi {
|
|
|
44815
44983
|
reqBodyType: "formData",
|
|
44816
44984
|
bodyType: "json",
|
|
44817
44985
|
});
|
|
44818
|
-
|
|
44819
|
-
return $dara.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
44820
|
-
} else {
|
|
44821
|
-
return $dara.cast<CreateNotificationConfigurationResponse>(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
44822
|
-
}
|
|
44823
|
-
|
|
44986
|
+
return $dara.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
44824
44987
|
}
|
|
44825
44988
|
|
|
44826
44989
|
/**
|
|
@@ -45122,12 +45285,7 @@ export default class Client extends OpenApi {
|
|
|
45122
45285
|
reqBodyType: "formData",
|
|
45123
45286
|
bodyType: "json",
|
|
45124
45287
|
});
|
|
45125
|
-
|
|
45126
|
-
return $dara.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
45127
|
-
} else {
|
|
45128
|
-
return $dara.cast<CreateScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
45129
|
-
}
|
|
45130
|
-
|
|
45288
|
+
return $dara.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
45131
45289
|
}
|
|
45132
45290
|
|
|
45133
45291
|
/**
|
|
@@ -45386,12 +45544,7 @@ export default class Client extends OpenApi {
|
|
|
45386
45544
|
reqBodyType: "formData",
|
|
45387
45545
|
bodyType: "json",
|
|
45388
45546
|
});
|
|
45389
|
-
|
|
45390
|
-
return $dara.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
45391
|
-
} else {
|
|
45392
|
-
return $dara.cast<CreateScalingGroupResponse>(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
45393
|
-
}
|
|
45394
|
-
|
|
45547
|
+
return $dara.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
45395
45548
|
}
|
|
45396
45549
|
|
|
45397
45550
|
/**
|
|
@@ -45575,12 +45728,7 @@ export default class Client extends OpenApi {
|
|
|
45575
45728
|
reqBodyType: "formData",
|
|
45576
45729
|
bodyType: "json",
|
|
45577
45730
|
});
|
|
45578
|
-
|
|
45579
|
-
return $dara.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
45580
|
-
} else {
|
|
45581
|
-
return $dara.cast<CreateScalingRuleResponse>(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
45582
|
-
}
|
|
45583
|
-
|
|
45731
|
+
return $dara.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
45584
45732
|
}
|
|
45585
45733
|
|
|
45586
45734
|
/**
|
|
@@ -45711,12 +45859,7 @@ export default class Client extends OpenApi {
|
|
|
45711
45859
|
reqBodyType: "formData",
|
|
45712
45860
|
bodyType: "json",
|
|
45713
45861
|
});
|
|
45714
|
-
|
|
45715
|
-
return $dara.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
45716
|
-
} else {
|
|
45717
|
-
return $dara.cast<CreateScheduledTaskResponse>(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
45718
|
-
}
|
|
45719
|
-
|
|
45862
|
+
return $dara.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
45720
45863
|
}
|
|
45721
45864
|
|
|
45722
45865
|
/**
|
|
@@ -45784,12 +45927,7 @@ export default class Client extends OpenApi {
|
|
|
45784
45927
|
reqBodyType: "formData",
|
|
45785
45928
|
bodyType: "json",
|
|
45786
45929
|
});
|
|
45787
|
-
|
|
45788
|
-
return $dara.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
45789
|
-
} else {
|
|
45790
|
-
return $dara.cast<DeactivateScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
45791
|
-
}
|
|
45792
|
-
|
|
45930
|
+
return $dara.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
45793
45931
|
}
|
|
45794
45932
|
|
|
45795
45933
|
/**
|
|
@@ -45846,12 +45984,7 @@ export default class Client extends OpenApi {
|
|
|
45846
45984
|
reqBodyType: "formData",
|
|
45847
45985
|
bodyType: "json",
|
|
45848
45986
|
});
|
|
45849
|
-
|
|
45850
|
-
return $dara.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
45851
|
-
} else {
|
|
45852
|
-
return $dara.cast<DeleteAlarmResponse>(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
|
|
45853
|
-
}
|
|
45854
|
-
|
|
45987
|
+
return $dara.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
45855
45988
|
}
|
|
45856
45989
|
|
|
45857
45990
|
/**
|
|
@@ -45914,12 +46047,7 @@ export default class Client extends OpenApi {
|
|
|
45914
46047
|
reqBodyType: "formData",
|
|
45915
46048
|
bodyType: "json",
|
|
45916
46049
|
});
|
|
45917
|
-
|
|
45918
|
-
return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
45919
|
-
} else {
|
|
45920
|
-
return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
45921
|
-
}
|
|
45922
|
-
|
|
46050
|
+
return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
45923
46051
|
}
|
|
45924
46052
|
|
|
45925
46053
|
/**
|
|
@@ -45995,12 +46123,7 @@ export default class Client extends OpenApi {
|
|
|
45995
46123
|
reqBodyType: "formData",
|
|
45996
46124
|
bodyType: "json",
|
|
45997
46125
|
});
|
|
45998
|
-
|
|
45999
|
-
return $dara.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
46000
|
-
} else {
|
|
46001
|
-
return $dara.cast<DeleteLifecycleHookResponse>(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
46002
|
-
}
|
|
46003
|
-
|
|
46126
|
+
return $dara.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
46004
46127
|
}
|
|
46005
46128
|
|
|
46006
46129
|
/**
|
|
@@ -46063,12 +46186,7 @@ export default class Client extends OpenApi {
|
|
|
46063
46186
|
reqBodyType: "formData",
|
|
46064
46187
|
bodyType: "json",
|
|
46065
46188
|
});
|
|
46066
|
-
|
|
46067
|
-
return $dara.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
46068
|
-
} else {
|
|
46069
|
-
return $dara.cast<DeleteNotificationConfigurationResponse>(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
46070
|
-
}
|
|
46071
|
-
|
|
46189
|
+
return $dara.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
46072
46190
|
}
|
|
46073
46191
|
|
|
46074
46192
|
/**
|
|
@@ -46127,12 +46245,7 @@ export default class Client extends OpenApi {
|
|
|
46127
46245
|
reqBodyType: "formData",
|
|
46128
46246
|
bodyType: "json",
|
|
46129
46247
|
});
|
|
46130
|
-
|
|
46131
|
-
return $dara.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
46132
|
-
} else {
|
|
46133
|
-
return $dara.cast<DeleteScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
46134
|
-
}
|
|
46135
|
-
|
|
46248
|
+
return $dara.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
46136
46249
|
}
|
|
46137
46250
|
|
|
46138
46251
|
/**
|
|
@@ -46211,12 +46324,7 @@ export default class Client extends OpenApi {
|
|
|
46211
46324
|
reqBodyType: "formData",
|
|
46212
46325
|
bodyType: "json",
|
|
46213
46326
|
});
|
|
46214
|
-
|
|
46215
|
-
return $dara.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
46216
|
-
} else {
|
|
46217
|
-
return $dara.cast<DeleteScalingGroupResponse>(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
46218
|
-
}
|
|
46219
|
-
|
|
46327
|
+
return $dara.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
46220
46328
|
}
|
|
46221
46329
|
|
|
46222
46330
|
/**
|
|
@@ -46286,12 +46394,7 @@ export default class Client extends OpenApi {
|
|
|
46286
46394
|
reqBodyType: "formData",
|
|
46287
46395
|
bodyType: "json",
|
|
46288
46396
|
});
|
|
46289
|
-
|
|
46290
|
-
return $dara.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
46291
|
-
} else {
|
|
46292
|
-
return $dara.cast<DeleteScalingRuleResponse>(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
46293
|
-
}
|
|
46294
|
-
|
|
46397
|
+
return $dara.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
46295
46398
|
}
|
|
46296
46399
|
|
|
46297
46400
|
/**
|
|
@@ -46349,12 +46452,7 @@ export default class Client extends OpenApi {
|
|
|
46349
46452
|
reqBodyType: "formData",
|
|
46350
46453
|
bodyType: "json",
|
|
46351
46454
|
});
|
|
46352
|
-
|
|
46353
|
-
return $dara.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
46354
|
-
} else {
|
|
46355
|
-
return $dara.cast<DeleteScheduledTaskResponse>(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
46356
|
-
}
|
|
46357
|
-
|
|
46455
|
+
return $dara.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
46358
46456
|
}
|
|
46359
46457
|
|
|
46360
46458
|
/**
|
|
@@ -46436,12 +46534,7 @@ export default class Client extends OpenApi {
|
|
|
46436
46534
|
reqBodyType: "formData",
|
|
46437
46535
|
bodyType: "json",
|
|
46438
46536
|
});
|
|
46439
|
-
|
|
46440
|
-
return $dara.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
46441
|
-
} else {
|
|
46442
|
-
return $dara.cast<DescribeAlarmsResponse>(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
46443
|
-
}
|
|
46444
|
-
|
|
46537
|
+
return $dara.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
46445
46538
|
}
|
|
46446
46539
|
|
|
46447
46540
|
/**
|
|
@@ -46495,12 +46588,7 @@ export default class Client extends OpenApi {
|
|
|
46495
46588
|
reqBodyType: "formData",
|
|
46496
46589
|
bodyType: "json",
|
|
46497
46590
|
});
|
|
46498
|
-
|
|
46499
|
-
return $dara.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
46500
|
-
} else {
|
|
46501
|
-
return $dara.cast<DescribeAlertConfigurationResponse>(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
46502
|
-
}
|
|
46503
|
-
|
|
46591
|
+
return $dara.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
46504
46592
|
}
|
|
46505
46593
|
|
|
46506
46594
|
/**
|
|
@@ -46538,12 +46626,7 @@ export default class Client extends OpenApi {
|
|
|
46538
46626
|
reqBodyType: "formData",
|
|
46539
46627
|
bodyType: "json",
|
|
46540
46628
|
});
|
|
46541
|
-
|
|
46542
|
-
return $dara.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
46543
|
-
} else {
|
|
46544
|
-
return $dara.cast<DescribeDiagnoseReportsResponse>(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
46545
|
-
}
|
|
46546
|
-
|
|
46629
|
+
return $dara.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
46547
46630
|
}
|
|
46548
46631
|
|
|
46549
46632
|
/**
|
|
@@ -46597,12 +46680,7 @@ export default class Client extends OpenApi {
|
|
|
46597
46680
|
reqBodyType: "formData",
|
|
46598
46681
|
bodyType: "json",
|
|
46599
46682
|
});
|
|
46600
|
-
|
|
46601
|
-
return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
46602
|
-
} else {
|
|
46603
|
-
return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
46604
|
-
}
|
|
46605
|
-
|
|
46683
|
+
return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
46606
46684
|
}
|
|
46607
46685
|
|
|
46608
46686
|
/**
|
|
@@ -46680,12 +46758,7 @@ export default class Client extends OpenApi {
|
|
|
46680
46758
|
reqBodyType: "formData",
|
|
46681
46759
|
bodyType: "json",
|
|
46682
46760
|
});
|
|
46683
|
-
|
|
46684
|
-
return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
46685
|
-
} else {
|
|
46686
|
-
return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
46687
|
-
}
|
|
46688
|
-
|
|
46761
|
+
return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
46689
46762
|
}
|
|
46690
46763
|
|
|
46691
46764
|
/**
|
|
@@ -46723,12 +46796,7 @@ export default class Client extends OpenApi {
|
|
|
46723
46796
|
reqBodyType: "formData",
|
|
46724
46797
|
bodyType: "json",
|
|
46725
46798
|
});
|
|
46726
|
-
|
|
46727
|
-
return $dara.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
46728
|
-
} else {
|
|
46729
|
-
return $dara.cast<DescribeElasticStrengthResponse>(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
46730
|
-
}
|
|
46731
|
-
|
|
46799
|
+
return $dara.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
46732
46800
|
}
|
|
46733
46801
|
|
|
46734
46802
|
/**
|
|
@@ -46802,12 +46870,7 @@ export default class Client extends OpenApi {
|
|
|
46802
46870
|
reqBodyType: "formData",
|
|
46803
46871
|
bodyType: "json",
|
|
46804
46872
|
});
|
|
46805
|
-
|
|
46806
|
-
return $dara.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
46807
|
-
} else {
|
|
46808
|
-
return $dara.cast<DescribeInstanceRefreshesResponse>(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
46809
|
-
}
|
|
46810
|
-
|
|
46873
|
+
return $dara.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
46811
46874
|
}
|
|
46812
46875
|
|
|
46813
46876
|
/**
|
|
@@ -46880,12 +46943,7 @@ export default class Client extends OpenApi {
|
|
|
46880
46943
|
reqBodyType: "formData",
|
|
46881
46944
|
bodyType: "json",
|
|
46882
46945
|
});
|
|
46883
|
-
|
|
46884
|
-
return $dara.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
46885
|
-
} else {
|
|
46886
|
-
return $dara.cast<DescribeLifecycleActionsResponse>(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
46887
|
-
}
|
|
46888
|
-
|
|
46946
|
+
return $dara.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
46889
46947
|
}
|
|
46890
46948
|
|
|
46891
46949
|
/**
|
|
@@ -46972,12 +47030,7 @@ export default class Client extends OpenApi {
|
|
|
46972
47030
|
reqBodyType: "formData",
|
|
46973
47031
|
bodyType: "json",
|
|
46974
47032
|
});
|
|
46975
|
-
|
|
46976
|
-
return $dara.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
46977
|
-
} else {
|
|
46978
|
-
return $dara.cast<DescribeLifecycleHooksResponse>(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
46979
|
-
}
|
|
46980
|
-
|
|
47033
|
+
return $dara.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
46981
47034
|
}
|
|
46982
47035
|
|
|
46983
47036
|
/**
|
|
@@ -47029,12 +47082,7 @@ export default class Client extends OpenApi {
|
|
|
47029
47082
|
reqBodyType: "formData",
|
|
47030
47083
|
bodyType: "json",
|
|
47031
47084
|
});
|
|
47032
|
-
|
|
47033
|
-
return $dara.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
|
|
47034
|
-
} else {
|
|
47035
|
-
return $dara.cast<DescribeLimitationResponse>(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
|
|
47036
|
-
}
|
|
47037
|
-
|
|
47085
|
+
return $dara.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
|
|
47038
47086
|
}
|
|
47039
47087
|
|
|
47040
47088
|
/**
|
|
@@ -47088,12 +47136,7 @@ export default class Client extends OpenApi {
|
|
|
47088
47136
|
reqBodyType: "formData",
|
|
47089
47137
|
bodyType: "json",
|
|
47090
47138
|
});
|
|
47091
|
-
|
|
47092
|
-
return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
47093
|
-
} else {
|
|
47094
|
-
return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
47095
|
-
}
|
|
47096
|
-
|
|
47139
|
+
return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
47097
47140
|
}
|
|
47098
47141
|
|
|
47099
47142
|
/**
|
|
@@ -47139,12 +47182,7 @@ export default class Client extends OpenApi {
|
|
|
47139
47182
|
reqBodyType: "formData",
|
|
47140
47183
|
bodyType: "json",
|
|
47141
47184
|
});
|
|
47142
|
-
|
|
47143
|
-
return $dara.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
47144
|
-
} else {
|
|
47145
|
-
return $dara.cast<DescribeNotificationTypesResponse>(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
47146
|
-
}
|
|
47147
|
-
|
|
47185
|
+
return $dara.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
47148
47186
|
}
|
|
47149
47187
|
|
|
47150
47188
|
/**
|
|
@@ -47182,12 +47220,7 @@ export default class Client extends OpenApi {
|
|
|
47182
47220
|
reqBodyType: "formData",
|
|
47183
47221
|
bodyType: "json",
|
|
47184
47222
|
});
|
|
47185
|
-
|
|
47186
|
-
return $dara.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
47187
|
-
} else {
|
|
47188
|
-
return $dara.cast<DescribePatternTypesResponse>(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
47189
|
-
}
|
|
47190
|
-
|
|
47223
|
+
return $dara.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
47191
47224
|
}
|
|
47192
47225
|
|
|
47193
47226
|
/**
|
|
@@ -47241,12 +47274,7 @@ export default class Client extends OpenApi {
|
|
|
47241
47274
|
reqBodyType: "formData",
|
|
47242
47275
|
bodyType: "json",
|
|
47243
47276
|
});
|
|
47244
|
-
|
|
47245
|
-
return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
47246
|
-
} else {
|
|
47247
|
-
return $dara.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
47248
|
-
}
|
|
47249
|
-
|
|
47277
|
+
return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
47250
47278
|
}
|
|
47251
47279
|
|
|
47252
47280
|
/**
|
|
@@ -47333,12 +47361,7 @@ export default class Client extends OpenApi {
|
|
|
47333
47361
|
reqBodyType: "formData",
|
|
47334
47362
|
bodyType: "json",
|
|
47335
47363
|
});
|
|
47336
|
-
|
|
47337
|
-
return $dara.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
47338
|
-
} else {
|
|
47339
|
-
return $dara.cast<DescribeScalingActivitiesResponse>(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
47340
|
-
}
|
|
47341
|
-
|
|
47364
|
+
return $dara.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
47342
47365
|
}
|
|
47343
47366
|
|
|
47344
47367
|
/**
|
|
@@ -47397,12 +47420,7 @@ export default class Client extends OpenApi {
|
|
|
47397
47420
|
reqBodyType: "formData",
|
|
47398
47421
|
bodyType: "json",
|
|
47399
47422
|
});
|
|
47400
|
-
|
|
47401
|
-
return $dara.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
47402
|
-
} else {
|
|
47403
|
-
return $dara.cast<DescribeScalingActivityDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
47404
|
-
}
|
|
47405
|
-
|
|
47423
|
+
return $dara.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
47406
47424
|
}
|
|
47407
47425
|
|
|
47408
47426
|
/**
|
|
@@ -47480,12 +47498,7 @@ export default class Client extends OpenApi {
|
|
|
47480
47498
|
reqBodyType: "formData",
|
|
47481
47499
|
bodyType: "json",
|
|
47482
47500
|
});
|
|
47483
|
-
|
|
47484
|
-
return $dara.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
47485
|
-
} else {
|
|
47486
|
-
return $dara.cast<DescribeScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
47487
|
-
}
|
|
47488
|
-
|
|
47501
|
+
return $dara.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
47489
47502
|
}
|
|
47490
47503
|
|
|
47491
47504
|
/**
|
|
@@ -47539,12 +47552,7 @@ export default class Client extends OpenApi {
|
|
|
47539
47552
|
reqBodyType: "formData",
|
|
47540
47553
|
bodyType: "json",
|
|
47541
47554
|
});
|
|
47542
|
-
|
|
47543
|
-
return $dara.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
47544
|
-
} else {
|
|
47545
|
-
return $dara.cast<DescribeScalingGroupDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
47546
|
-
}
|
|
47547
|
-
|
|
47555
|
+
return $dara.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
47548
47556
|
}
|
|
47549
47557
|
|
|
47550
47558
|
/**
|
|
@@ -47582,12 +47590,7 @@ export default class Client extends OpenApi {
|
|
|
47582
47590
|
reqBodyType: "formData",
|
|
47583
47591
|
bodyType: "json",
|
|
47584
47592
|
});
|
|
47585
|
-
|
|
47586
|
-
return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
47587
|
-
} else {
|
|
47588
|
-
return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
47589
|
-
}
|
|
47590
|
-
|
|
47593
|
+
return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
47591
47594
|
}
|
|
47592
47595
|
|
|
47593
47596
|
/**
|
|
@@ -47677,12 +47680,7 @@ export default class Client extends OpenApi {
|
|
|
47677
47680
|
reqBodyType: "formData",
|
|
47678
47681
|
bodyType: "json",
|
|
47679
47682
|
});
|
|
47680
|
-
|
|
47681
|
-
return $dara.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
47682
|
-
} else {
|
|
47683
|
-
return $dara.cast<DescribeScalingGroupsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
47684
|
-
}
|
|
47685
|
-
|
|
47683
|
+
return $dara.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
47686
47684
|
}
|
|
47687
47685
|
|
|
47688
47686
|
/**
|
|
@@ -47784,12 +47782,7 @@ export default class Client extends OpenApi {
|
|
|
47784
47782
|
reqBodyType: "formData",
|
|
47785
47783
|
bodyType: "json",
|
|
47786
47784
|
});
|
|
47787
|
-
|
|
47788
|
-
return $dara.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
47789
|
-
} else {
|
|
47790
|
-
return $dara.cast<DescribeScalingInstancesResponse>(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
47791
|
-
}
|
|
47792
|
-
|
|
47785
|
+
return $dara.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
47793
47786
|
}
|
|
47794
47787
|
|
|
47795
47788
|
/**
|
|
@@ -47882,12 +47875,7 @@ export default class Client extends OpenApi {
|
|
|
47882
47875
|
reqBodyType: "formData",
|
|
47883
47876
|
bodyType: "json",
|
|
47884
47877
|
});
|
|
47885
|
-
|
|
47886
|
-
return $dara.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
47887
|
-
} else {
|
|
47888
|
-
return $dara.cast<DescribeScalingRulesResponse>(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
47889
|
-
}
|
|
47890
|
-
|
|
47878
|
+
return $dara.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
47891
47879
|
}
|
|
47892
47880
|
|
|
47893
47881
|
/**
|
|
@@ -47991,12 +47979,7 @@ export default class Client extends OpenApi {
|
|
|
47991
47979
|
reqBodyType: "formData",
|
|
47992
47980
|
bodyType: "json",
|
|
47993
47981
|
});
|
|
47994
|
-
|
|
47995
|
-
return $dara.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
47996
|
-
} else {
|
|
47997
|
-
return $dara.cast<DescribeScheduledTasksResponse>(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
47998
|
-
}
|
|
47999
|
-
|
|
47982
|
+
return $dara.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
48000
47983
|
}
|
|
48001
47984
|
|
|
48002
47985
|
/**
|
|
@@ -48065,12 +48048,7 @@ export default class Client extends OpenApi {
|
|
|
48065
48048
|
reqBodyType: "formData",
|
|
48066
48049
|
bodyType: "json",
|
|
48067
48050
|
});
|
|
48068
|
-
|
|
48069
|
-
return $dara.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
48070
|
-
} else {
|
|
48071
|
-
return $dara.cast<DetachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
48072
|
-
}
|
|
48073
|
-
|
|
48051
|
+
return $dara.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
48074
48052
|
}
|
|
48075
48053
|
|
|
48076
48054
|
/**
|
|
@@ -48140,12 +48118,7 @@ export default class Client extends OpenApi {
|
|
|
48140
48118
|
reqBodyType: "formData",
|
|
48141
48119
|
bodyType: "json",
|
|
48142
48120
|
});
|
|
48143
|
-
|
|
48144
|
-
return $dara.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
48145
|
-
} else {
|
|
48146
|
-
return $dara.cast<DetachDBInstancesResponse>(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
48147
|
-
}
|
|
48148
|
-
|
|
48121
|
+
return $dara.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
48149
48122
|
}
|
|
48150
48123
|
|
|
48151
48124
|
/**
|
|
@@ -48239,12 +48212,7 @@ export default class Client extends OpenApi {
|
|
|
48239
48212
|
reqBodyType: "formData",
|
|
48240
48213
|
bodyType: "json",
|
|
48241
48214
|
});
|
|
48242
|
-
|
|
48243
|
-
return $dara.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
|
|
48244
|
-
} else {
|
|
48245
|
-
return $dara.cast<DetachInstancesResponse>(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
|
|
48246
|
-
}
|
|
48247
|
-
|
|
48215
|
+
return $dara.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
|
|
48248
48216
|
}
|
|
48249
48217
|
|
|
48250
48218
|
/**
|
|
@@ -48326,12 +48294,7 @@ export default class Client extends OpenApi {
|
|
|
48326
48294
|
reqBodyType: "formData",
|
|
48327
48295
|
bodyType: "json",
|
|
48328
48296
|
});
|
|
48329
|
-
|
|
48330
|
-
return $dara.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
48331
|
-
} else {
|
|
48332
|
-
return $dara.cast<DetachLoadBalancersResponse>(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
48333
|
-
}
|
|
48334
|
-
|
|
48297
|
+
return $dara.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
48335
48298
|
}
|
|
48336
48299
|
|
|
48337
48300
|
/**
|
|
@@ -48397,12 +48360,7 @@ export default class Client extends OpenApi {
|
|
|
48397
48360
|
reqBodyType: "formData",
|
|
48398
48361
|
bodyType: "json",
|
|
48399
48362
|
});
|
|
48400
|
-
|
|
48401
|
-
return $dara.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
48402
|
-
} else {
|
|
48403
|
-
return $dara.cast<DetachServerGroupsResponse>(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
48404
|
-
}
|
|
48405
|
-
|
|
48363
|
+
return $dara.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
48406
48364
|
}
|
|
48407
48365
|
|
|
48408
48366
|
/**
|
|
@@ -48476,12 +48434,7 @@ export default class Client extends OpenApi {
|
|
|
48476
48434
|
reqBodyType: "formData",
|
|
48477
48435
|
bodyType: "json",
|
|
48478
48436
|
});
|
|
48479
|
-
|
|
48480
|
-
return $dara.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
48481
|
-
} else {
|
|
48482
|
-
return $dara.cast<DetachVServerGroupsResponse>(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
48483
|
-
}
|
|
48484
|
-
|
|
48437
|
+
return $dara.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
48485
48438
|
}
|
|
48486
48439
|
|
|
48487
48440
|
/**
|
|
@@ -48546,12 +48499,7 @@ export default class Client extends OpenApi {
|
|
|
48546
48499
|
reqBodyType: "formData",
|
|
48547
48500
|
bodyType: "json",
|
|
48548
48501
|
});
|
|
48549
|
-
|
|
48550
|
-
return $dara.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
48551
|
-
} else {
|
|
48552
|
-
return $dara.cast<DisableAlarmResponse>(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
|
|
48553
|
-
}
|
|
48554
|
-
|
|
48502
|
+
return $dara.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
48555
48503
|
}
|
|
48556
48504
|
|
|
48557
48505
|
/**
|
|
@@ -48617,12 +48565,7 @@ export default class Client extends OpenApi {
|
|
|
48617
48565
|
reqBodyType: "formData",
|
|
48618
48566
|
bodyType: "json",
|
|
48619
48567
|
});
|
|
48620
|
-
|
|
48621
|
-
return $dara.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
48622
|
-
} else {
|
|
48623
|
-
return $dara.cast<DisableScalingGroupResponse>(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
48624
|
-
}
|
|
48625
|
-
|
|
48568
|
+
return $dara.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
48626
48569
|
}
|
|
48627
48570
|
|
|
48628
48571
|
/**
|
|
@@ -48681,12 +48624,7 @@ export default class Client extends OpenApi {
|
|
|
48681
48624
|
reqBodyType: "formData",
|
|
48682
48625
|
bodyType: "json",
|
|
48683
48626
|
});
|
|
48684
|
-
|
|
48685
|
-
return $dara.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
48686
|
-
} else {
|
|
48687
|
-
return $dara.cast<EnableAlarmResponse>(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
|
|
48688
|
-
}
|
|
48689
|
-
|
|
48627
|
+
return $dara.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
48690
48628
|
}
|
|
48691
48629
|
|
|
48692
48630
|
/**
|
|
@@ -48780,12 +48718,7 @@ export default class Client extends OpenApi {
|
|
|
48780
48718
|
reqBodyType: "formData",
|
|
48781
48719
|
bodyType: "json",
|
|
48782
48720
|
});
|
|
48783
|
-
|
|
48784
|
-
return $dara.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
48785
|
-
} else {
|
|
48786
|
-
return $dara.cast<EnableScalingGroupResponse>(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
48787
|
-
}
|
|
48788
|
-
|
|
48721
|
+
return $dara.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
48789
48722
|
}
|
|
48790
48723
|
|
|
48791
48724
|
/**
|
|
@@ -48862,12 +48795,7 @@ export default class Client extends OpenApi {
|
|
|
48862
48795
|
reqBodyType: "formData",
|
|
48863
48796
|
bodyType: "json",
|
|
48864
48797
|
});
|
|
48865
|
-
|
|
48866
|
-
return $dara.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
|
|
48867
|
-
} else {
|
|
48868
|
-
return $dara.cast<EnterStandbyResponse>(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
|
|
48869
|
-
}
|
|
48870
|
-
|
|
48798
|
+
return $dara.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
|
|
48871
48799
|
}
|
|
48872
48800
|
|
|
48873
48801
|
/**
|
|
@@ -48958,12 +48886,7 @@ export default class Client extends OpenApi {
|
|
|
48958
48886
|
reqBodyType: "formData",
|
|
48959
48887
|
bodyType: "json",
|
|
48960
48888
|
});
|
|
48961
|
-
|
|
48962
|
-
return $dara.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
48963
|
-
} else {
|
|
48964
|
-
return $dara.cast<ExecuteScalingRuleResponse>(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
48965
|
-
}
|
|
48966
|
-
|
|
48889
|
+
return $dara.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
48967
48890
|
}
|
|
48968
48891
|
|
|
48969
48892
|
/**
|
|
@@ -49046,12 +48969,7 @@ export default class Client extends OpenApi {
|
|
|
49046
48969
|
reqBodyType: "formData",
|
|
49047
48970
|
bodyType: "json",
|
|
49048
48971
|
});
|
|
49049
|
-
|
|
49050
|
-
return $dara.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
49051
|
-
} else {
|
|
49052
|
-
return $dara.cast<ExitStandbyResponse>(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
|
|
49053
|
-
}
|
|
49054
|
-
|
|
48972
|
+
return $dara.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
49055
48973
|
}
|
|
49056
48974
|
|
|
49057
48975
|
/**
|
|
@@ -49120,12 +49038,7 @@ export default class Client extends OpenApi {
|
|
|
49120
49038
|
reqBodyType: "formData",
|
|
49121
49039
|
bodyType: "json",
|
|
49122
49040
|
});
|
|
49123
|
-
|
|
49124
|
-
return $dara.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
49125
|
-
} else {
|
|
49126
|
-
return $dara.cast<ListTagKeysResponse>(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
|
|
49127
|
-
}
|
|
49128
|
-
|
|
49041
|
+
return $dara.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
49129
49042
|
}
|
|
49130
49043
|
|
|
49131
49044
|
/**
|
|
@@ -49195,12 +49108,7 @@ export default class Client extends OpenApi {
|
|
|
49195
49108
|
reqBodyType: "formData",
|
|
49196
49109
|
bodyType: "json",
|
|
49197
49110
|
});
|
|
49198
|
-
|
|
49199
|
-
return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
49200
|
-
} else {
|
|
49201
|
-
return $dara.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
|
|
49202
|
-
}
|
|
49203
|
-
|
|
49111
|
+
return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
49204
49112
|
}
|
|
49205
49113
|
|
|
49206
49114
|
/**
|
|
@@ -49270,12 +49178,7 @@ export default class Client extends OpenApi {
|
|
|
49270
49178
|
reqBodyType: "formData",
|
|
49271
49179
|
bodyType: "json",
|
|
49272
49180
|
});
|
|
49273
|
-
|
|
49274
|
-
return $dara.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
49275
|
-
} else {
|
|
49276
|
-
return $dara.cast<ListTagValuesResponse>(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
|
|
49277
|
-
}
|
|
49278
|
-
|
|
49181
|
+
return $dara.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
49279
49182
|
}
|
|
49280
49183
|
|
|
49281
49184
|
/**
|
|
@@ -49396,12 +49299,7 @@ export default class Client extends OpenApi {
|
|
|
49396
49299
|
reqBodyType: "formData",
|
|
49397
49300
|
bodyType: "json",
|
|
49398
49301
|
});
|
|
49399
|
-
|
|
49400
|
-
return $dara.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
|
|
49401
|
-
} else {
|
|
49402
|
-
return $dara.cast<ModifyAlarmResponse>(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
|
|
49403
|
-
}
|
|
49404
|
-
|
|
49302
|
+
return $dara.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
|
|
49405
49303
|
}
|
|
49406
49304
|
|
|
49407
49305
|
/**
|
|
@@ -49466,12 +49364,7 @@ export default class Client extends OpenApi {
|
|
|
49466
49364
|
reqBodyType: "formData",
|
|
49467
49365
|
bodyType: "json",
|
|
49468
49366
|
});
|
|
49469
|
-
|
|
49470
|
-
return $dara.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
49471
|
-
} else {
|
|
49472
|
-
return $dara.cast<ModifyAlertConfigurationResponse>(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
49473
|
-
}
|
|
49474
|
-
|
|
49367
|
+
return $dara.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
49475
49368
|
}
|
|
49476
49369
|
|
|
49477
49370
|
/**
|
|
@@ -49717,12 +49610,7 @@ export default class Client extends OpenApi {
|
|
|
49717
49610
|
reqBodyType: "formData",
|
|
49718
49611
|
bodyType: "json",
|
|
49719
49612
|
});
|
|
49720
|
-
|
|
49721
|
-
return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
49722
|
-
} else {
|
|
49723
|
-
return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
49724
|
-
}
|
|
49725
|
-
|
|
49613
|
+
return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
49726
49614
|
}
|
|
49727
49615
|
|
|
49728
49616
|
/**
|
|
@@ -49758,6 +49646,10 @@ export default class Client extends OpenApi {
|
|
|
49758
49646
|
query["InstanceId"] = request.instanceId;
|
|
49759
49647
|
}
|
|
49760
49648
|
|
|
49649
|
+
if (!$dara.isNull(request.instanceIds)) {
|
|
49650
|
+
query["InstanceIds"] = request.instanceIds;
|
|
49651
|
+
}
|
|
49652
|
+
|
|
49761
49653
|
if (!$dara.isNull(request.ownerId)) {
|
|
49762
49654
|
query["OwnerId"] = request.ownerId;
|
|
49763
49655
|
}
|
|
@@ -49788,12 +49680,7 @@ export default class Client extends OpenApi {
|
|
|
49788
49680
|
reqBodyType: "formData",
|
|
49789
49681
|
bodyType: "json",
|
|
49790
49682
|
});
|
|
49791
|
-
|
|
49792
|
-
return $dara.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
49793
|
-
} else {
|
|
49794
|
-
return $dara.cast<ModifyInstanceAttributeResponse>(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
49795
|
-
}
|
|
49796
|
-
|
|
49683
|
+
return $dara.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
49797
49684
|
}
|
|
49798
49685
|
|
|
49799
49686
|
/**
|
|
@@ -49888,12 +49775,7 @@ export default class Client extends OpenApi {
|
|
|
49888
49775
|
reqBodyType: "formData",
|
|
49889
49776
|
bodyType: "json",
|
|
49890
49777
|
});
|
|
49891
|
-
|
|
49892
|
-
return $dara.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
49893
|
-
} else {
|
|
49894
|
-
return $dara.cast<ModifyLifecycleHookResponse>(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
49895
|
-
}
|
|
49896
|
-
|
|
49778
|
+
return $dara.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
49897
49779
|
}
|
|
49898
49780
|
|
|
49899
49781
|
/**
|
|
@@ -49964,12 +49846,7 @@ export default class Client extends OpenApi {
|
|
|
49964
49846
|
reqBodyType: "formData",
|
|
49965
49847
|
bodyType: "json",
|
|
49966
49848
|
});
|
|
49967
|
-
|
|
49968
|
-
return $dara.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
49969
|
-
} else {
|
|
49970
|
-
return $dara.cast<ModifyNotificationConfigurationResponse>(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
49971
|
-
}
|
|
49972
|
-
|
|
49849
|
+
return $dara.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
49973
49850
|
}
|
|
49974
49851
|
|
|
49975
49852
|
/**
|
|
@@ -50255,12 +50132,7 @@ export default class Client extends OpenApi {
|
|
|
50255
50132
|
reqBodyType: "formData",
|
|
50256
50133
|
bodyType: "json",
|
|
50257
50134
|
});
|
|
50258
|
-
|
|
50259
|
-
return $dara.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
50260
|
-
} else {
|
|
50261
|
-
return $dara.cast<ModifyScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
50262
|
-
}
|
|
50263
|
-
|
|
50135
|
+
return $dara.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
50264
50136
|
}
|
|
50265
50137
|
|
|
50266
50138
|
/**
|
|
@@ -50455,12 +50327,7 @@ export default class Client extends OpenApi {
|
|
|
50455
50327
|
reqBodyType: "formData",
|
|
50456
50328
|
bodyType: "json",
|
|
50457
50329
|
});
|
|
50458
|
-
|
|
50459
|
-
return $dara.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
50460
|
-
} else {
|
|
50461
|
-
return $dara.cast<ModifyScalingGroupResponse>(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
50462
|
-
}
|
|
50463
|
-
|
|
50330
|
+
return $dara.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
50464
50331
|
}
|
|
50465
50332
|
|
|
50466
50333
|
/**
|
|
@@ -50617,12 +50484,7 @@ export default class Client extends OpenApi {
|
|
|
50617
50484
|
reqBodyType: "formData",
|
|
50618
50485
|
bodyType: "json",
|
|
50619
50486
|
});
|
|
50620
|
-
|
|
50621
|
-
return $dara.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
50622
|
-
} else {
|
|
50623
|
-
return $dara.cast<ModifyScalingRuleResponse>(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
50624
|
-
}
|
|
50625
|
-
|
|
50487
|
+
return $dara.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
50626
50488
|
}
|
|
50627
50489
|
|
|
50628
50490
|
/**
|
|
@@ -50742,12 +50604,7 @@ export default class Client extends OpenApi {
|
|
|
50742
50604
|
reqBodyType: "formData",
|
|
50743
50605
|
bodyType: "json",
|
|
50744
50606
|
});
|
|
50745
|
-
|
|
50746
|
-
return $dara.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
50747
|
-
} else {
|
|
50748
|
-
return $dara.cast<ModifyScheduledTaskResponse>(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
50749
|
-
}
|
|
50750
|
-
|
|
50607
|
+
return $dara.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
50751
50608
|
}
|
|
50752
50609
|
|
|
50753
50610
|
/**
|
|
@@ -50824,12 +50681,7 @@ export default class Client extends OpenApi {
|
|
|
50824
50681
|
reqBodyType: "formData",
|
|
50825
50682
|
bodyType: "json",
|
|
50826
50683
|
});
|
|
50827
|
-
|
|
50828
|
-
return $dara.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
50829
|
-
} else {
|
|
50830
|
-
return $dara.cast<RebalanceInstancesResponse>(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
50831
|
-
}
|
|
50832
|
-
|
|
50684
|
+
return $dara.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
50833
50685
|
}
|
|
50834
50686
|
|
|
50835
50687
|
/**
|
|
@@ -50908,12 +50760,7 @@ export default class Client extends OpenApi {
|
|
|
50908
50760
|
reqBodyType: "formData",
|
|
50909
50761
|
bodyType: "json",
|
|
50910
50762
|
});
|
|
50911
|
-
|
|
50912
|
-
return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
50913
|
-
} else {
|
|
50914
|
-
return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
50915
|
-
}
|
|
50916
|
-
|
|
50763
|
+
return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
50917
50764
|
}
|
|
50918
50765
|
|
|
50919
50766
|
/**
|
|
@@ -50944,12 +50791,18 @@ export default class Client extends OpenApi {
|
|
|
50944
50791
|
* * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
|
|
50945
50792
|
* A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
|
|
50946
50793
|
*
|
|
50947
|
-
* @param
|
|
50794
|
+
* @param tmpReq - RemoveInstancesRequest
|
|
50948
50795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
50949
50796
|
* @returns RemoveInstancesResponse
|
|
50950
50797
|
*/
|
|
50951
|
-
async removeInstancesWithOptions(
|
|
50952
|
-
|
|
50798
|
+
async removeInstancesWithOptions(tmpReq: RemoveInstancesRequest, runtime: $dara.RuntimeOptions): Promise<RemoveInstancesResponse> {
|
|
50799
|
+
tmpReq.validate();
|
|
50800
|
+
let request = new RemoveInstancesShrinkRequest({ });
|
|
50801
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
50802
|
+
if (!$dara.isNull(tmpReq.lifecycleHookContext)) {
|
|
50803
|
+
request.lifecycleHookContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifecycleHookContext, "LifecycleHookContext", "json");
|
|
50804
|
+
}
|
|
50805
|
+
|
|
50953
50806
|
let query = { };
|
|
50954
50807
|
if (!$dara.isNull(request.clientToken)) {
|
|
50955
50808
|
query["ClientToken"] = request.clientToken;
|
|
@@ -50967,6 +50820,10 @@ export default class Client extends OpenApi {
|
|
|
50967
50820
|
query["InstanceIds"] = request.instanceIds;
|
|
50968
50821
|
}
|
|
50969
50822
|
|
|
50823
|
+
if (!$dara.isNull(request.lifecycleHookContextShrink)) {
|
|
50824
|
+
query["LifecycleHookContext"] = request.lifecycleHookContextShrink;
|
|
50825
|
+
}
|
|
50826
|
+
|
|
50970
50827
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
50971
50828
|
query["OwnerAccount"] = request.ownerAccount;
|
|
50972
50829
|
}
|
|
@@ -51013,12 +50870,7 @@ export default class Client extends OpenApi {
|
|
|
51013
50870
|
reqBodyType: "formData",
|
|
51014
50871
|
bodyType: "json",
|
|
51015
50872
|
});
|
|
51016
|
-
|
|
51017
|
-
return $dara.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
|
|
51018
|
-
} else {
|
|
51019
|
-
return $dara.cast<RemoveInstancesResponse>(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
|
|
51020
|
-
}
|
|
51021
|
-
|
|
50873
|
+
return $dara.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
|
|
51022
50874
|
}
|
|
51023
50875
|
|
|
51024
50876
|
/**
|
|
@@ -51086,12 +50938,7 @@ export default class Client extends OpenApi {
|
|
|
51086
50938
|
reqBodyType: "formData",
|
|
51087
50939
|
bodyType: "json",
|
|
51088
50940
|
});
|
|
51089
|
-
|
|
51090
|
-
return $dara.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
51091
|
-
} else {
|
|
51092
|
-
return $dara.cast<ResumeInstanceRefreshResponse>(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
51093
|
-
}
|
|
51094
|
-
|
|
50941
|
+
return $dara.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
51095
50942
|
}
|
|
51096
50943
|
|
|
51097
50944
|
/**
|
|
@@ -51153,12 +51000,7 @@ export default class Client extends OpenApi {
|
|
|
51153
51000
|
reqBodyType: "formData",
|
|
51154
51001
|
bodyType: "json",
|
|
51155
51002
|
});
|
|
51156
|
-
|
|
51157
|
-
return $dara.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
|
|
51158
|
-
} else {
|
|
51159
|
-
return $dara.cast<ResumeProcessesResponse>(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
|
|
51160
|
-
}
|
|
51161
|
-
|
|
51003
|
+
return $dara.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
|
|
51162
51004
|
}
|
|
51163
51005
|
|
|
51164
51006
|
/**
|
|
@@ -51216,12 +51058,7 @@ export default class Client extends OpenApi {
|
|
|
51216
51058
|
reqBodyType: "formData",
|
|
51217
51059
|
bodyType: "json",
|
|
51218
51060
|
});
|
|
51219
|
-
|
|
51220
|
-
return $dara.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
51221
|
-
} else {
|
|
51222
|
-
return $dara.cast<RollbackInstanceRefreshResponse>(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
51223
|
-
}
|
|
51224
|
-
|
|
51061
|
+
return $dara.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
51225
51062
|
}
|
|
51226
51063
|
|
|
51227
51064
|
/**
|
|
@@ -51322,12 +51159,7 @@ export default class Client extends OpenApi {
|
|
|
51322
51159
|
reqBodyType: "formData",
|
|
51323
51160
|
bodyType: "json",
|
|
51324
51161
|
});
|
|
51325
|
-
|
|
51326
|
-
return $dara.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
51327
|
-
} else {
|
|
51328
|
-
return $dara.cast<ScaleWithAdjustmentResponse>(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
51329
|
-
}
|
|
51330
|
-
|
|
51162
|
+
return $dara.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
51331
51163
|
}
|
|
51332
51164
|
|
|
51333
51165
|
/**
|
|
@@ -51394,12 +51226,7 @@ export default class Client extends OpenApi {
|
|
|
51394
51226
|
reqBodyType: "formData",
|
|
51395
51227
|
bodyType: "json",
|
|
51396
51228
|
});
|
|
51397
|
-
|
|
51398
|
-
return $dara.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
51399
|
-
} else {
|
|
51400
|
-
return $dara.cast<SetGroupDeletionProtectionResponse>(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
51401
|
-
}
|
|
51402
|
-
|
|
51229
|
+
return $dara.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
51403
51230
|
}
|
|
51404
51231
|
|
|
51405
51232
|
/**
|
|
@@ -51456,12 +51283,7 @@ export default class Client extends OpenApi {
|
|
|
51456
51283
|
reqBodyType: "formData",
|
|
51457
51284
|
bodyType: "json",
|
|
51458
51285
|
});
|
|
51459
|
-
|
|
51460
|
-
return $dara.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
51461
|
-
} else {
|
|
51462
|
-
return $dara.cast<SetInstanceHealthResponse>(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
51463
|
-
}
|
|
51464
|
-
|
|
51286
|
+
return $dara.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
51465
51287
|
}
|
|
51466
51288
|
|
|
51467
51289
|
/**
|
|
@@ -51528,12 +51350,7 @@ export default class Client extends OpenApi {
|
|
|
51528
51350
|
reqBodyType: "formData",
|
|
51529
51351
|
bodyType: "json",
|
|
51530
51352
|
});
|
|
51531
|
-
|
|
51532
|
-
return $dara.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
51533
|
-
} else {
|
|
51534
|
-
return $dara.cast<SetInstancesProtectionResponse>(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
51535
|
-
}
|
|
51536
|
-
|
|
51353
|
+
return $dara.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
51537
51354
|
}
|
|
51538
51355
|
|
|
51539
51356
|
/**
|
|
@@ -51619,12 +51436,7 @@ export default class Client extends OpenApi {
|
|
|
51619
51436
|
reqBodyType: "formData",
|
|
51620
51437
|
bodyType: "json",
|
|
51621
51438
|
});
|
|
51622
|
-
|
|
51623
|
-
return $dara.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
51624
|
-
} else {
|
|
51625
|
-
return $dara.cast<StartInstanceRefreshResponse>(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
51626
|
-
}
|
|
51627
|
-
|
|
51439
|
+
return $dara.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
51628
51440
|
}
|
|
51629
51441
|
|
|
51630
51442
|
/**
|
|
@@ -51691,12 +51503,7 @@ export default class Client extends OpenApi {
|
|
|
51691
51503
|
reqBodyType: "formData",
|
|
51692
51504
|
bodyType: "json",
|
|
51693
51505
|
});
|
|
51694
|
-
|
|
51695
|
-
return $dara.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
51696
|
-
} else {
|
|
51697
|
-
return $dara.cast<SuspendInstanceRefreshResponse>(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
51698
|
-
}
|
|
51699
|
-
|
|
51506
|
+
return $dara.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
51700
51507
|
}
|
|
51701
51508
|
|
|
51702
51509
|
/**
|
|
@@ -51761,12 +51568,7 @@ export default class Client extends OpenApi {
|
|
|
51761
51568
|
reqBodyType: "formData",
|
|
51762
51569
|
bodyType: "json",
|
|
51763
51570
|
});
|
|
51764
|
-
|
|
51765
|
-
return $dara.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
51766
|
-
} else {
|
|
51767
|
-
return $dara.cast<SuspendProcessesResponse>(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
|
|
51768
|
-
}
|
|
51769
|
-
|
|
51571
|
+
return $dara.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
51770
51572
|
}
|
|
51771
51573
|
|
|
51772
51574
|
/**
|
|
@@ -51837,12 +51639,7 @@ export default class Client extends OpenApi {
|
|
|
51837
51639
|
reqBodyType: "formData",
|
|
51838
51640
|
bodyType: "json",
|
|
51839
51641
|
});
|
|
51840
|
-
|
|
51841
|
-
return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
51842
|
-
} else {
|
|
51843
|
-
return $dara.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
|
|
51844
|
-
}
|
|
51845
|
-
|
|
51642
|
+
return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
51846
51643
|
}
|
|
51847
51644
|
|
|
51848
51645
|
/**
|
|
@@ -51917,12 +51714,7 @@ export default class Client extends OpenApi {
|
|
|
51917
51714
|
reqBodyType: "formData",
|
|
51918
51715
|
bodyType: "json",
|
|
51919
51716
|
});
|
|
51920
|
-
|
|
51921
|
-
return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
51922
|
-
} else {
|
|
51923
|
-
return $dara.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
|
|
51924
|
-
}
|
|
51925
|
-
|
|
51717
|
+
return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
51926
51718
|
}
|
|
51927
51719
|
|
|
51928
51720
|
/**
|
|
@@ -51980,12 +51772,7 @@ export default class Client extends OpenApi {
|
|
|
51980
51772
|
reqBodyType: "formData",
|
|
51981
51773
|
bodyType: "json",
|
|
51982
51774
|
});
|
|
51983
|
-
|
|
51984
|
-
return $dara.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
51985
|
-
} else {
|
|
51986
|
-
return $dara.cast<VerifyAuthenticationResponse>(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
51987
|
-
}
|
|
51988
|
-
|
|
51775
|
+
return $dara.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
51989
51776
|
}
|
|
51990
51777
|
|
|
51991
51778
|
/**
|
|
@@ -52039,12 +51826,7 @@ export default class Client extends OpenApi {
|
|
|
52039
51826
|
reqBodyType: "formData",
|
|
52040
51827
|
bodyType: "json",
|
|
52041
51828
|
});
|
|
52042
|
-
|
|
52043
|
-
return $dara.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
52044
|
-
} else {
|
|
52045
|
-
return $dara.cast<VerifyUserResponse>(await this.execute(params, req, runtime), new VerifyUserResponse({}));
|
|
52046
|
-
}
|
|
52047
|
-
|
|
51829
|
+
return $dara.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
52048
51830
|
}
|
|
52049
51831
|
|
|
52050
51832
|
/**
|