@alicloud/ess20220222 1.0.13 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -8,6 +8,78 @@ import OpenApiUtil from '@alicloud/openapi-util';
8
8
  import EndpointUtil from '@alicloud/endpoint-util';
9
9
  import * as $tea from '@alicloud/tea-typescript';
10
10
 
11
+ export class ApplyScalingGroupRequest extends $tea.Model {
12
+ content?: string;
13
+ format?: string;
14
+ regionId?: string;
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ content: 'Content',
18
+ format: 'Format',
19
+ regionId: 'RegionId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ content: 'string',
26
+ format: 'string',
27
+ regionId: 'string',
28
+ };
29
+ }
30
+
31
+ constructor(map?: { [key: string]: any }) {
32
+ super(map);
33
+ }
34
+ }
35
+
36
+ export class ApplyScalingGroupResponseBody extends $tea.Model {
37
+ requestId?: string;
38
+ scalingGroupId?: string;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ requestId: 'RequestId',
42
+ scalingGroupId: 'ScalingGroupId',
43
+ };
44
+ }
45
+
46
+ static types(): { [key: string]: any } {
47
+ return {
48
+ requestId: 'string',
49
+ scalingGroupId: 'string',
50
+ };
51
+ }
52
+
53
+ constructor(map?: { [key: string]: any }) {
54
+ super(map);
55
+ }
56
+ }
57
+
58
+ export class ApplyScalingGroupResponse extends $tea.Model {
59
+ headers?: { [key: string]: string };
60
+ statusCode?: number;
61
+ body?: ApplyScalingGroupResponseBody;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ headers: 'headers',
65
+ statusCode: 'statusCode',
66
+ body: 'body',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
73
+ statusCode: 'number',
74
+ body: ApplyScalingGroupResponseBody,
75
+ };
76
+ }
77
+
78
+ constructor(map?: { [key: string]: any }) {
79
+ super(map);
80
+ }
81
+ }
82
+
11
83
  export class AttachAlbServerGroupsRequest extends $tea.Model {
12
84
  albServerGroups?: AttachAlbServerGroupsRequestAlbServerGroups[];
13
85
  clientToken?: string;
@@ -68,9 +140,9 @@ export class AttachAlbServerGroupsResponseBody extends $tea.Model {
68
140
  }
69
141
 
70
142
  export class AttachAlbServerGroupsResponse extends $tea.Model {
71
- headers: { [key: string]: string };
72
- statusCode: number;
73
- body: AttachAlbServerGroupsResponseBody;
143
+ headers?: { [key: string]: string };
144
+ statusCode?: number;
145
+ body?: AttachAlbServerGroupsResponseBody;
74
146
  static names(): { [key: string]: string } {
75
147
  return {
76
148
  headers: 'headers',
@@ -149,9 +221,9 @@ export class AttachDBInstancesResponseBody extends $tea.Model {
149
221
  }
150
222
 
151
223
  export class AttachDBInstancesResponse extends $tea.Model {
152
- headers: { [key: string]: string };
153
- statusCode: number;
154
- body: AttachDBInstancesResponseBody;
224
+ headers?: { [key: string]: string };
225
+ statusCode?: number;
226
+ body?: AttachDBInstancesResponseBody;
155
227
  static names(): { [key: string]: string } {
156
228
  return {
157
229
  headers: 'headers',
@@ -245,9 +317,9 @@ export class AttachInstancesResponseBody extends $tea.Model {
245
317
  }
246
318
 
247
319
  export class AttachInstancesResponse extends $tea.Model {
248
- headers: { [key: string]: string };
249
- statusCode: number;
250
- body: AttachInstancesResponseBody;
320
+ headers?: { [key: string]: string };
321
+ statusCode?: number;
322
+ body?: AttachInstancesResponseBody;
251
323
  static names(): { [key: string]: string } {
252
324
  return {
253
325
  headers: 'headers',
@@ -332,9 +404,9 @@ export class AttachLoadBalancersResponseBody extends $tea.Model {
332
404
  }
333
405
 
334
406
  export class AttachLoadBalancersResponse extends $tea.Model {
335
- headers: { [key: string]: string };
336
- statusCode: number;
337
- body: AttachLoadBalancersResponseBody;
407
+ headers?: { [key: string]: string };
408
+ statusCode?: number;
409
+ body?: AttachLoadBalancersResponseBody;
338
410
  static names(): { [key: string]: string } {
339
411
  return {
340
412
  headers: 'headers',
@@ -416,9 +488,9 @@ export class AttachServerGroupsResponseBody extends $tea.Model {
416
488
  }
417
489
 
418
490
  export class AttachServerGroupsResponse extends $tea.Model {
419
- headers: { [key: string]: string };
420
- statusCode: number;
421
- body: AttachServerGroupsResponseBody;
491
+ headers?: { [key: string]: string };
492
+ statusCode?: number;
493
+ body?: AttachServerGroupsResponseBody;
422
494
  static names(): { [key: string]: string } {
423
495
  return {
424
496
  headers: 'headers',
@@ -497,9 +569,9 @@ export class AttachVServerGroupsResponseBody extends $tea.Model {
497
569
  }
498
570
 
499
571
  export class AttachVServerGroupsResponse extends $tea.Model {
500
- headers: { [key: string]: string };
501
- statusCode: number;
502
- body: AttachVServerGroupsResponseBody;
572
+ headers?: { [key: string]: string };
573
+ statusCode?: number;
574
+ body?: AttachVServerGroupsResponseBody;
503
575
  static names(): { [key: string]: string } {
504
576
  return {
505
577
  headers: 'headers',
@@ -575,9 +647,9 @@ export class ChangeResourceGroupResponseBody extends $tea.Model {
575
647
  }
576
648
 
577
649
  export class ChangeResourceGroupResponse extends $tea.Model {
578
- headers: { [key: string]: string };
579
- statusCode: number;
580
- body: ChangeResourceGroupResponseBody;
650
+ headers?: { [key: string]: string };
651
+ statusCode?: number;
652
+ body?: ChangeResourceGroupResponseBody;
581
653
  static names(): { [key: string]: string } {
582
654
  return {
583
655
  headers: 'headers',
@@ -659,9 +731,9 @@ export class CompleteLifecycleActionResponseBody extends $tea.Model {
659
731
  }
660
732
 
661
733
  export class CompleteLifecycleActionResponse extends $tea.Model {
662
- headers: { [key: string]: string };
663
- statusCode: number;
664
- body: CompleteLifecycleActionResponseBody;
734
+ headers?: { [key: string]: string };
735
+ statusCode?: number;
736
+ body?: CompleteLifecycleActionResponseBody;
665
737
  static names(): { [key: string]: string } {
666
738
  return {
667
739
  headers: 'headers',
@@ -779,9 +851,9 @@ export class CreateAlarmResponseBody extends $tea.Model {
779
851
  }
780
852
 
781
853
  export class CreateAlarmResponse extends $tea.Model {
782
- headers: { [key: string]: string };
783
- statusCode: number;
784
- body: CreateAlarmResponseBody;
854
+ headers?: { [key: string]: string };
855
+ statusCode?: number;
856
+ body?: CreateAlarmResponseBody;
785
857
  static names(): { [key: string]: string } {
786
858
  return {
787
859
  headers: 'headers',
@@ -989,9 +1061,9 @@ export class CreateEciScalingConfigurationResponseBody extends $tea.Model {
989
1061
  }
990
1062
 
991
1063
  export class CreateEciScalingConfigurationResponse extends $tea.Model {
992
- headers: { [key: string]: string };
993
- statusCode: number;
994
- body: CreateEciScalingConfigurationResponseBody;
1064
+ headers?: { [key: string]: string };
1065
+ statusCode?: number;
1066
+ body?: CreateEciScalingConfigurationResponseBody;
995
1067
  static names(): { [key: string]: string } {
996
1068
  return {
997
1069
  headers: 'headers',
@@ -1082,9 +1154,9 @@ export class CreateLifecycleHookResponseBody extends $tea.Model {
1082
1154
  }
1083
1155
 
1084
1156
  export class CreateLifecycleHookResponse extends $tea.Model {
1085
- headers: { [key: string]: string };
1086
- statusCode: number;
1087
- body: CreateLifecycleHookResponseBody;
1157
+ headers?: { [key: string]: string };
1158
+ statusCode?: number;
1159
+ body?: CreateLifecycleHookResponseBody;
1088
1160
  static names(): { [key: string]: string } {
1089
1161
  return {
1090
1162
  headers: 'headers',
@@ -1160,9 +1232,9 @@ export class CreateNotificationConfigurationResponseBody extends $tea.Model {
1160
1232
  }
1161
1233
 
1162
1234
  export class CreateNotificationConfigurationResponse extends $tea.Model {
1163
- headers: { [key: string]: string };
1164
- statusCode: number;
1165
- body: CreateNotificationConfigurationResponseBody;
1235
+ headers?: { [key: string]: string };
1236
+ statusCode?: number;
1237
+ body?: CreateNotificationConfigurationResponseBody;
1166
1238
  static names(): { [key: string]: string } {
1167
1239
  return {
1168
1240
  headers: 'headers',
@@ -1192,6 +1264,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
1192
1264
  clientToken?: string;
1193
1265
  cpu?: number;
1194
1266
  creditSpecification?: string;
1267
+ customPriorities?: CreateScalingConfigurationRequestCustomPriorities[];
1195
1268
  dataDisks?: CreateScalingConfigurationRequestDataDisks[];
1196
1269
  dedicatedHostId?: string;
1197
1270
  deletionProtection?: boolean;
@@ -1248,6 +1321,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
1248
1321
  clientToken: 'ClientToken',
1249
1322
  cpu: 'Cpu',
1250
1323
  creditSpecification: 'CreditSpecification',
1324
+ customPriorities: 'CustomPriorities',
1251
1325
  dataDisks: 'DataDisks',
1252
1326
  dedicatedHostId: 'DedicatedHostId',
1253
1327
  deletionProtection: 'DeletionProtection',
@@ -1307,6 +1381,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
1307
1381
  clientToken: 'string',
1308
1382
  cpu: 'number',
1309
1383
  creditSpecification: 'string',
1384
+ customPriorities: { 'type': 'array', 'itemType': CreateScalingConfigurationRequestCustomPriorities },
1310
1385
  dataDisks: { 'type': 'array', 'itemType': CreateScalingConfigurationRequestDataDisks },
1311
1386
  dedicatedHostId: 'string',
1312
1387
  deletionProtection: 'boolean',
@@ -1370,6 +1445,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
1370
1445
  clientToken?: string;
1371
1446
  cpu?: number;
1372
1447
  creditSpecification?: string;
1448
+ customPriorities?: CreateScalingConfigurationShrinkRequestCustomPriorities[];
1373
1449
  dataDisks?: CreateScalingConfigurationShrinkRequestDataDisks[];
1374
1450
  dedicatedHostId?: string;
1375
1451
  deletionProtection?: boolean;
@@ -1426,6 +1502,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
1426
1502
  clientToken: 'ClientToken',
1427
1503
  cpu: 'Cpu',
1428
1504
  creditSpecification: 'CreditSpecification',
1505
+ customPriorities: 'CustomPriorities',
1429
1506
  dataDisks: 'DataDisks',
1430
1507
  dedicatedHostId: 'DedicatedHostId',
1431
1508
  deletionProtection: 'DeletionProtection',
@@ -1485,6 +1562,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
1485
1562
  clientToken: 'string',
1486
1563
  cpu: 'number',
1487
1564
  creditSpecification: 'string',
1565
+ customPriorities: { 'type': 'array', 'itemType': CreateScalingConfigurationShrinkRequestCustomPriorities },
1488
1566
  dataDisks: { 'type': 'array', 'itemType': CreateScalingConfigurationShrinkRequestDataDisks },
1489
1567
  dedicatedHostId: 'string',
1490
1568
  deletionProtection: 'boolean',
@@ -1563,9 +1641,9 @@ export class CreateScalingConfigurationResponseBody extends $tea.Model {
1563
1641
  }
1564
1642
 
1565
1643
  export class CreateScalingConfigurationResponse extends $tea.Model {
1566
- headers: { [key: string]: string };
1567
- statusCode: number;
1568
- body: CreateScalingConfigurationResponseBody;
1644
+ headers?: { [key: string]: string };
1645
+ statusCode?: number;
1646
+ body?: CreateScalingConfigurationResponseBody;
1569
1647
  static names(): { [key: string]: string } {
1570
1648
  return {
1571
1649
  headers: 'headers',
@@ -1755,9 +1833,9 @@ export class CreateScalingGroupResponseBody extends $tea.Model {
1755
1833
  }
1756
1834
 
1757
1835
  export class CreateScalingGroupResponse extends $tea.Model {
1758
- headers: { [key: string]: string };
1759
- statusCode: number;
1760
- body: CreateScalingGroupResponseBody;
1836
+ headers?: { [key: string]: string };
1837
+ statusCode?: number;
1838
+ body?: CreateScalingGroupResponseBody;
1761
1839
  static names(): { [key: string]: string } {
1762
1840
  return {
1763
1841
  headers: 'headers',
@@ -1893,9 +1971,9 @@ export class CreateScalingRuleResponseBody extends $tea.Model {
1893
1971
  }
1894
1972
 
1895
1973
  export class CreateScalingRuleResponse extends $tea.Model {
1896
- headers: { [key: string]: string };
1897
- statusCode: number;
1898
- body: CreateScalingRuleResponseBody;
1974
+ headers?: { [key: string]: string };
1975
+ statusCode?: number;
1976
+ body?: CreateScalingRuleResponseBody;
1899
1977
  static names(): { [key: string]: string } {
1900
1978
  return {
1901
1979
  headers: 'headers',
@@ -2007,9 +2085,9 @@ export class CreateScheduledTaskResponseBody extends $tea.Model {
2007
2085
  }
2008
2086
 
2009
2087
  export class CreateScheduledTaskResponse extends $tea.Model {
2010
- headers: { [key: string]: string };
2011
- statusCode: number;
2012
- body: CreateScheduledTaskResponseBody;
2088
+ headers?: { [key: string]: string };
2089
+ statusCode?: number;
2090
+ body?: CreateScheduledTaskResponseBody;
2013
2091
  static names(): { [key: string]: string } {
2014
2092
  return {
2015
2093
  headers: 'headers',
@@ -2079,9 +2157,9 @@ export class DeactivateScalingConfigurationResponseBody extends $tea.Model {
2079
2157
  }
2080
2158
 
2081
2159
  export class DeactivateScalingConfigurationResponse extends $tea.Model {
2082
- headers: { [key: string]: string };
2083
- statusCode: number;
2084
- body: DeactivateScalingConfigurationResponseBody;
2160
+ headers?: { [key: string]: string };
2161
+ statusCode?: number;
2162
+ body?: DeactivateScalingConfigurationResponseBody;
2085
2163
  static names(): { [key: string]: string } {
2086
2164
  return {
2087
2165
  headers: 'headers',
@@ -2154,9 +2232,9 @@ export class DeleteAlarmResponseBody extends $tea.Model {
2154
2232
  }
2155
2233
 
2156
2234
  export class DeleteAlarmResponse extends $tea.Model {
2157
- headers: { [key: string]: string };
2158
- statusCode: number;
2159
- body: DeleteAlarmResponseBody;
2235
+ headers?: { [key: string]: string };
2236
+ statusCode?: number;
2237
+ body?: DeleteAlarmResponseBody;
2160
2238
  static names(): { [key: string]: string } {
2161
2239
  return {
2162
2240
  headers: 'headers',
@@ -2229,9 +2307,9 @@ export class DeleteEciScalingConfigurationResponseBody extends $tea.Model {
2229
2307
  }
2230
2308
 
2231
2309
  export class DeleteEciScalingConfigurationResponse extends $tea.Model {
2232
- headers: { [key: string]: string };
2233
- statusCode: number;
2234
- body: DeleteEciScalingConfigurationResponseBody;
2310
+ headers?: { [key: string]: string };
2311
+ statusCode?: number;
2312
+ body?: DeleteEciScalingConfigurationResponseBody;
2235
2313
  static names(): { [key: string]: string } {
2236
2314
  return {
2237
2315
  headers: 'headers',
@@ -2310,9 +2388,9 @@ export class DeleteLifecycleHookResponseBody extends $tea.Model {
2310
2388
  }
2311
2389
 
2312
2390
  export class DeleteLifecycleHookResponse extends $tea.Model {
2313
- headers: { [key: string]: string };
2314
- statusCode: number;
2315
- body: DeleteLifecycleHookResponseBody;
2391
+ headers?: { [key: string]: string };
2392
+ statusCode?: number;
2393
+ body?: DeleteLifecycleHookResponseBody;
2316
2394
  static names(): { [key: string]: string } {
2317
2395
  return {
2318
2396
  headers: 'headers',
@@ -2385,9 +2463,9 @@ export class DeleteNotificationConfigurationResponseBody extends $tea.Model {
2385
2463
  }
2386
2464
 
2387
2465
  export class DeleteNotificationConfigurationResponse extends $tea.Model {
2388
- headers: { [key: string]: string };
2389
- statusCode: number;
2390
- body: DeleteNotificationConfigurationResponseBody;
2466
+ headers?: { [key: string]: string };
2467
+ statusCode?: number;
2468
+ body?: DeleteNotificationConfigurationResponseBody;
2391
2469
  static names(): { [key: string]: string } {
2392
2470
  return {
2393
2471
  headers: 'headers',
@@ -2457,9 +2535,9 @@ export class DeleteScalingConfigurationResponseBody extends $tea.Model {
2457
2535
  }
2458
2536
 
2459
2537
  export class DeleteScalingConfigurationResponse extends $tea.Model {
2460
- headers: { [key: string]: string };
2461
- statusCode: number;
2462
- body: DeleteScalingConfigurationResponseBody;
2538
+ headers?: { [key: string]: string };
2539
+ statusCode?: number;
2540
+ body?: DeleteScalingConfigurationResponseBody;
2463
2541
  static names(): { [key: string]: string } {
2464
2542
  return {
2465
2543
  headers: 'headers',
@@ -2535,9 +2613,9 @@ export class DeleteScalingGroupResponseBody extends $tea.Model {
2535
2613
  }
2536
2614
 
2537
2615
  export class DeleteScalingGroupResponse extends $tea.Model {
2538
- headers: { [key: string]: string };
2539
- statusCode: number;
2540
- body: DeleteScalingGroupResponseBody;
2616
+ headers?: { [key: string]: string };
2617
+ statusCode?: number;
2618
+ body?: DeleteScalingGroupResponseBody;
2541
2619
  static names(): { [key: string]: string } {
2542
2620
  return {
2543
2621
  headers: 'headers',
@@ -2610,9 +2688,9 @@ export class DeleteScalingRuleResponseBody extends $tea.Model {
2610
2688
  }
2611
2689
 
2612
2690
  export class DeleteScalingRuleResponse extends $tea.Model {
2613
- headers: { [key: string]: string };
2614
- statusCode: number;
2615
- body: DeleteScalingRuleResponseBody;
2691
+ headers?: { [key: string]: string };
2692
+ statusCode?: number;
2693
+ body?: DeleteScalingRuleResponseBody;
2616
2694
  static names(): { [key: string]: string } {
2617
2695
  return {
2618
2696
  headers: 'headers',
@@ -2685,9 +2763,9 @@ export class DeleteScheduledTaskResponseBody extends $tea.Model {
2685
2763
  }
2686
2764
 
2687
2765
  export class DeleteScheduledTaskResponse extends $tea.Model {
2688
- headers: { [key: string]: string };
2689
- statusCode: number;
2690
- body: DeleteScheduledTaskResponseBody;
2766
+ headers?: { [key: string]: string };
2767
+ statusCode?: number;
2768
+ body?: DeleteScheduledTaskResponseBody;
2691
2769
  static names(): { [key: string]: string } {
2692
2770
  return {
2693
2771
  headers: 'headers',
@@ -2790,9 +2868,9 @@ export class DescribeAlarmsResponseBody extends $tea.Model {
2790
2868
  }
2791
2869
 
2792
2870
  export class DescribeAlarmsResponse extends $tea.Model {
2793
- headers: { [key: string]: string };
2794
- statusCode: number;
2795
- body: DescribeAlarmsResponseBody;
2871
+ headers?: { [key: string]: string };
2872
+ statusCode?: number;
2873
+ body?: DescribeAlarmsResponseBody;
2796
2874
  static names(): { [key: string]: string } {
2797
2875
  return {
2798
2876
  headers: 'headers',
@@ -2892,9 +2970,9 @@ export class DescribeEciScalingConfigurationsResponseBody extends $tea.Model {
2892
2970
  }
2893
2971
 
2894
2972
  export class DescribeEciScalingConfigurationsResponse extends $tea.Model {
2895
- headers: { [key: string]: string };
2896
- statusCode: number;
2897
- body: DescribeEciScalingConfigurationsResponseBody;
2973
+ headers?: { [key: string]: string };
2974
+ statusCode?: number;
2975
+ body?: DescribeEciScalingConfigurationsResponseBody;
2898
2976
  static names(): { [key: string]: string } {
2899
2977
  return {
2900
2978
  headers: 'headers',
@@ -2985,9 +3063,9 @@ export class DescribeLifecycleActionsResponseBody extends $tea.Model {
2985
3063
  }
2986
3064
 
2987
3065
  export class DescribeLifecycleActionsResponse extends $tea.Model {
2988
- headers: { [key: string]: string };
2989
- statusCode: number;
2990
- body: DescribeLifecycleActionsResponseBody;
3066
+ headers?: { [key: string]: string };
3067
+ statusCode?: number;
3068
+ body?: DescribeLifecycleActionsResponseBody;
2991
3069
  static names(): { [key: string]: string } {
2992
3070
  return {
2993
3071
  headers: 'headers',
@@ -3084,9 +3162,9 @@ export class DescribeLifecycleHooksResponseBody extends $tea.Model {
3084
3162
  }
3085
3163
 
3086
3164
  export class DescribeLifecycleHooksResponse extends $tea.Model {
3087
- headers: { [key: string]: string };
3088
- statusCode: number;
3089
- body: DescribeLifecycleHooksResponseBody;
3165
+ headers?: { [key: string]: string };
3166
+ statusCode?: number;
3167
+ body?: DescribeLifecycleHooksResponseBody;
3090
3168
  static names(): { [key: string]: string } {
3091
3169
  return {
3092
3170
  headers: 'headers',
@@ -3192,9 +3270,9 @@ export class DescribeLimitationResponseBody extends $tea.Model {
3192
3270
  }
3193
3271
 
3194
3272
  export class DescribeLimitationResponse extends $tea.Model {
3195
- headers: { [key: string]: string };
3196
- statusCode: number;
3197
- body: DescribeLimitationResponseBody;
3273
+ headers?: { [key: string]: string };
3274
+ statusCode?: number;
3275
+ body?: DescribeLimitationResponseBody;
3198
3276
  static names(): { [key: string]: string } {
3199
3277
  return {
3200
3278
  headers: 'headers',
@@ -3267,9 +3345,9 @@ export class DescribeNotificationConfigurationsResponseBody extends $tea.Model {
3267
3345
  }
3268
3346
 
3269
3347
  export class DescribeNotificationConfigurationsResponse extends $tea.Model {
3270
- headers: { [key: string]: string };
3271
- statusCode: number;
3272
- body: DescribeNotificationConfigurationsResponseBody;
3348
+ headers?: { [key: string]: string };
3349
+ statusCode?: number;
3350
+ body?: DescribeNotificationConfigurationsResponseBody;
3273
3351
  static names(): { [key: string]: string } {
3274
3352
  return {
3275
3353
  headers: 'headers',
@@ -3336,9 +3414,9 @@ export class DescribeNotificationTypesResponseBody extends $tea.Model {
3336
3414
  }
3337
3415
 
3338
3416
  export class DescribeNotificationTypesResponse extends $tea.Model {
3339
- headers: { [key: string]: string };
3340
- statusCode: number;
3341
- body: DescribeNotificationTypesResponseBody;
3417
+ headers?: { [key: string]: string };
3418
+ statusCode?: number;
3419
+ body?: DescribeNotificationTypesResponseBody;
3342
3420
  static names(): { [key: string]: string } {
3343
3421
  return {
3344
3422
  headers: 'headers',
@@ -3411,9 +3489,9 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3411
3489
  }
3412
3490
 
3413
3491
  export class DescribeRegionsResponse extends $tea.Model {
3414
- headers: { [key: string]: string };
3415
- statusCode: number;
3416
- body: DescribeRegionsResponseBody;
3492
+ headers?: { [key: string]: string };
3493
+ statusCode?: number;
3494
+ body?: DescribeRegionsResponseBody;
3417
3495
  static names(): { [key: string]: string } {
3418
3496
  return {
3419
3497
  headers: 'headers',
@@ -3513,9 +3591,9 @@ export class DescribeScalingActivitiesResponseBody extends $tea.Model {
3513
3591
  }
3514
3592
 
3515
3593
  export class DescribeScalingActivitiesResponse extends $tea.Model {
3516
- headers: { [key: string]: string };
3517
- statusCode: number;
3518
- body: DescribeScalingActivitiesResponseBody;
3594
+ headers?: { [key: string]: string };
3595
+ statusCode?: number;
3596
+ body?: DescribeScalingActivitiesResponseBody;
3519
3597
  static names(): { [key: string]: string } {
3520
3598
  return {
3521
3599
  headers: 'headers',
@@ -3591,9 +3669,9 @@ export class DescribeScalingActivityDetailResponseBody extends $tea.Model {
3591
3669
  }
3592
3670
 
3593
3671
  export class DescribeScalingActivityDetailResponse extends $tea.Model {
3594
- headers: { [key: string]: string };
3595
- statusCode: number;
3596
- body: DescribeScalingActivityDetailResponseBody;
3672
+ headers?: { [key: string]: string };
3673
+ statusCode?: number;
3674
+ body?: DescribeScalingActivityDetailResponseBody;
3597
3675
  static names(): { [key: string]: string } {
3598
3676
  return {
3599
3677
  headers: 'headers',
@@ -3693,9 +3771,9 @@ export class DescribeScalingConfigurationsResponseBody extends $tea.Model {
3693
3771
  }
3694
3772
 
3695
3773
  export class DescribeScalingConfigurationsResponse extends $tea.Model {
3696
- headers: { [key: string]: string };
3697
- statusCode: number;
3698
- body: DescribeScalingConfigurationsResponseBody;
3774
+ headers?: { [key: string]: string };
3775
+ statusCode?: number;
3776
+ body?: DescribeScalingConfigurationsResponseBody;
3699
3777
  static names(): { [key: string]: string } {
3700
3778
  return {
3701
3779
  headers: 'headers',
@@ -3804,9 +3882,9 @@ export class DescribeScalingGroupsResponseBody extends $tea.Model {
3804
3882
  }
3805
3883
 
3806
3884
  export class DescribeScalingGroupsResponse extends $tea.Model {
3807
- headers: { [key: string]: string };
3808
- statusCode: number;
3809
- body: DescribeScalingGroupsResponseBody;
3885
+ headers?: { [key: string]: string };
3886
+ statusCode?: number;
3887
+ body?: DescribeScalingGroupsResponseBody;
3810
3888
  static names(): { [key: string]: string } {
3811
3889
  return {
3812
3890
  headers: 'headers',
@@ -3927,9 +4005,9 @@ export class DescribeScalingInstancesResponseBody extends $tea.Model {
3927
4005
  }
3928
4006
 
3929
4007
  export class DescribeScalingInstancesResponse extends $tea.Model {
3930
- headers: { [key: string]: string };
3931
- statusCode: number;
3932
- body: DescribeScalingInstancesResponseBody;
4008
+ headers?: { [key: string]: string };
4009
+ statusCode?: number;
4010
+ body?: DescribeScalingInstancesResponseBody;
3933
4011
  static names(): { [key: string]: string } {
3934
4012
  return {
3935
4013
  headers: 'headers',
@@ -4038,9 +4116,9 @@ export class DescribeScalingRulesResponseBody extends $tea.Model {
4038
4116
  }
4039
4117
 
4040
4118
  export class DescribeScalingRulesResponse extends $tea.Model {
4041
- headers: { [key: string]: string };
4042
- statusCode: number;
4043
- body: DescribeScalingRulesResponseBody;
4119
+ headers?: { [key: string]: string };
4120
+ statusCode?: number;
4121
+ body?: DescribeScalingRulesResponseBody;
4044
4122
  static names(): { [key: string]: string } {
4045
4123
  return {
4046
4124
  headers: 'headers',
@@ -4143,9 +4221,9 @@ export class DescribeScheduledTasksResponseBody extends $tea.Model {
4143
4221
  }
4144
4222
 
4145
4223
  export class DescribeScheduledTasksResponse extends $tea.Model {
4146
- headers: { [key: string]: string };
4147
- statusCode: number;
4148
- body: DescribeScheduledTasksResponseBody;
4224
+ headers?: { [key: string]: string };
4225
+ statusCode?: number;
4226
+ body?: DescribeScheduledTasksResponseBody;
4149
4227
  static names(): { [key: string]: string } {
4150
4228
  return {
4151
4229
  headers: 'headers',
@@ -4227,9 +4305,9 @@ export class DetachAlbServerGroupsResponseBody extends $tea.Model {
4227
4305
  }
4228
4306
 
4229
4307
  export class DetachAlbServerGroupsResponse extends $tea.Model {
4230
- headers: { [key: string]: string };
4231
- statusCode: number;
4232
- body: DetachAlbServerGroupsResponseBody;
4308
+ headers?: { [key: string]: string };
4309
+ statusCode?: number;
4310
+ body?: DetachAlbServerGroupsResponseBody;
4233
4311
  static names(): { [key: string]: string } {
4234
4312
  return {
4235
4313
  headers: 'headers',
@@ -4308,9 +4386,9 @@ export class DetachDBInstancesResponseBody extends $tea.Model {
4308
4386
  }
4309
4387
 
4310
4388
  export class DetachDBInstancesResponse extends $tea.Model {
4311
- headers: { [key: string]: string };
4312
- statusCode: number;
4313
- body: DetachDBInstancesResponseBody;
4389
+ headers?: { [key: string]: string };
4390
+ statusCode?: number;
4391
+ body?: DetachDBInstancesResponseBody;
4314
4392
  static names(): { [key: string]: string } {
4315
4393
  return {
4316
4394
  headers: 'headers',
@@ -4401,9 +4479,9 @@ export class DetachInstancesResponseBody extends $tea.Model {
4401
4479
  }
4402
4480
 
4403
4481
  export class DetachInstancesResponse extends $tea.Model {
4404
- headers: { [key: string]: string };
4405
- statusCode: number;
4406
- body: DetachInstancesResponseBody;
4482
+ headers?: { [key: string]: string };
4483
+ statusCode?: number;
4484
+ body?: DetachInstancesResponseBody;
4407
4485
  static names(): { [key: string]: string } {
4408
4486
  return {
4409
4487
  headers: 'headers',
@@ -4488,9 +4566,9 @@ export class DetachLoadBalancersResponseBody extends $tea.Model {
4488
4566
  }
4489
4567
 
4490
4568
  export class DetachLoadBalancersResponse extends $tea.Model {
4491
- headers: { [key: string]: string };
4492
- statusCode: number;
4493
- body: DetachLoadBalancersResponseBody;
4569
+ headers?: { [key: string]: string };
4570
+ statusCode?: number;
4571
+ body?: DetachLoadBalancersResponseBody;
4494
4572
  static names(): { [key: string]: string } {
4495
4573
  return {
4496
4574
  headers: 'headers',
@@ -4572,9 +4650,9 @@ export class DetachServerGroupsResponseBody extends $tea.Model {
4572
4650
  }
4573
4651
 
4574
4652
  export class DetachServerGroupsResponse extends $tea.Model {
4575
- headers: { [key: string]: string };
4576
- statusCode: number;
4577
- body: DetachServerGroupsResponseBody;
4653
+ headers?: { [key: string]: string };
4654
+ statusCode?: number;
4655
+ body?: DetachServerGroupsResponseBody;
4578
4656
  static names(): { [key: string]: string } {
4579
4657
  return {
4580
4658
  headers: 'headers',
@@ -4653,9 +4731,9 @@ export class DetachVServerGroupsResponseBody extends $tea.Model {
4653
4731
  }
4654
4732
 
4655
4733
  export class DetachVServerGroupsResponse extends $tea.Model {
4656
- headers: { [key: string]: string };
4657
- statusCode: number;
4658
- body: DetachVServerGroupsResponseBody;
4734
+ headers?: { [key: string]: string };
4735
+ statusCode?: number;
4736
+ body?: DetachVServerGroupsResponseBody;
4659
4737
  static names(): { [key: string]: string } {
4660
4738
  return {
4661
4739
  headers: 'headers',
@@ -4725,9 +4803,9 @@ export class DisableAlarmResponseBody extends $tea.Model {
4725
4803
  }
4726
4804
 
4727
4805
  export class DisableAlarmResponse extends $tea.Model {
4728
- headers: { [key: string]: string };
4729
- statusCode: number;
4730
- body: DisableAlarmResponseBody;
4806
+ headers?: { [key: string]: string };
4807
+ statusCode?: number;
4808
+ body?: DisableAlarmResponseBody;
4731
4809
  static names(): { [key: string]: string } {
4732
4810
  return {
4733
4811
  headers: 'headers',
@@ -4800,9 +4878,9 @@ export class DisableScalingGroupResponseBody extends $tea.Model {
4800
4878
  }
4801
4879
 
4802
4880
  export class DisableScalingGroupResponse extends $tea.Model {
4803
- headers: { [key: string]: string };
4804
- statusCode: number;
4805
- body: DisableScalingGroupResponseBody;
4881
+ headers?: { [key: string]: string };
4882
+ statusCode?: number;
4883
+ body?: DisableScalingGroupResponseBody;
4806
4884
  static names(): { [key: string]: string } {
4807
4885
  return {
4808
4886
  headers: 'headers',
@@ -4872,9 +4950,9 @@ export class EnableAlarmResponseBody extends $tea.Model {
4872
4950
  }
4873
4951
 
4874
4952
  export class EnableAlarmResponse extends $tea.Model {
4875
- headers: { [key: string]: string };
4876
- statusCode: number;
4877
- body: EnableAlarmResponseBody;
4953
+ headers?: { [key: string]: string };
4954
+ statusCode?: number;
4955
+ body?: EnableAlarmResponseBody;
4878
4956
  static names(): { [key: string]: string } {
4879
4957
  return {
4880
4958
  headers: 'headers',
@@ -4968,9 +5046,9 @@ export class EnableScalingGroupResponseBody extends $tea.Model {
4968
5046
  }
4969
5047
 
4970
5048
  export class EnableScalingGroupResponse extends $tea.Model {
4971
- headers: { [key: string]: string };
4972
- statusCode: number;
4973
- body: EnableScalingGroupResponseBody;
5049
+ headers?: { [key: string]: string };
5050
+ statusCode?: number;
5051
+ body?: EnableScalingGroupResponseBody;
4974
5052
  static names(): { [key: string]: string } {
4975
5053
  return {
4976
5054
  headers: 'headers',
@@ -5049,9 +5127,9 @@ export class EnterStandbyResponseBody extends $tea.Model {
5049
5127
  }
5050
5128
 
5051
5129
  export class EnterStandbyResponse extends $tea.Model {
5052
- headers: { [key: string]: string };
5053
- statusCode: number;
5054
- body: EnterStandbyResponseBody;
5130
+ headers?: { [key: string]: string };
5131
+ statusCode?: number;
5132
+ body?: EnterStandbyResponseBody;
5055
5133
  static names(): { [key: string]: string } {
5056
5134
  return {
5057
5135
  headers: 'headers',
@@ -5139,9 +5217,9 @@ export class ExecuteScalingRuleResponseBody extends $tea.Model {
5139
5217
  }
5140
5218
 
5141
5219
  export class ExecuteScalingRuleResponse extends $tea.Model {
5142
- headers: { [key: string]: string };
5143
- statusCode: number;
5144
- body: ExecuteScalingRuleResponseBody;
5220
+ headers?: { [key: string]: string };
5221
+ statusCode?: number;
5222
+ body?: ExecuteScalingRuleResponseBody;
5145
5223
  static names(): { [key: string]: string } {
5146
5224
  return {
5147
5225
  headers: 'headers',
@@ -5223,9 +5301,9 @@ export class ExitStandbyResponseBody extends $tea.Model {
5223
5301
  }
5224
5302
 
5225
5303
  export class ExitStandbyResponse extends $tea.Model {
5226
- headers: { [key: string]: string };
5227
- statusCode: number;
5228
- body: ExitStandbyResponseBody;
5304
+ headers?: { [key: string]: string };
5305
+ statusCode?: number;
5306
+ body?: ExitStandbyResponseBody;
5229
5307
  static names(): { [key: string]: string } {
5230
5308
  return {
5231
5309
  headers: 'headers',
@@ -5310,9 +5388,9 @@ export class ListTagKeysResponseBody extends $tea.Model {
5310
5388
  }
5311
5389
 
5312
5390
  export class ListTagKeysResponse extends $tea.Model {
5313
- headers: { [key: string]: string };
5314
- statusCode: number;
5315
- body: ListTagKeysResponseBody;
5391
+ headers?: { [key: string]: string };
5392
+ statusCode?: number;
5393
+ body?: ListTagKeysResponseBody;
5316
5394
  static names(): { [key: string]: string } {
5317
5395
  return {
5318
5396
  headers: 'headers',
@@ -5397,9 +5475,9 @@ export class ListTagResourcesResponseBody extends $tea.Model {
5397
5475
  }
5398
5476
 
5399
5477
  export class ListTagResourcesResponse extends $tea.Model {
5400
- headers: { [key: string]: string };
5401
- statusCode: number;
5402
- body: ListTagResourcesResponseBody;
5478
+ headers?: { [key: string]: string };
5479
+ statusCode?: number;
5480
+ body?: ListTagResourcesResponseBody;
5403
5481
  static names(): { [key: string]: string } {
5404
5482
  return {
5405
5483
  headers: 'headers',
@@ -5487,9 +5565,9 @@ export class ListTagValuesResponseBody extends $tea.Model {
5487
5565
  }
5488
5566
 
5489
5567
  export class ListTagValuesResponse extends $tea.Model {
5490
- headers: { [key: string]: string };
5491
- statusCode: number;
5492
- body: ListTagValuesResponseBody;
5568
+ headers?: { [key: string]: string };
5569
+ statusCode?: number;
5570
+ body?: ListTagValuesResponseBody;
5493
5571
  static names(): { [key: string]: string } {
5494
5572
  return {
5495
5573
  headers: 'headers',
@@ -5607,9 +5685,9 @@ export class ModifyAlarmResponseBody extends $tea.Model {
5607
5685
  }
5608
5686
 
5609
5687
  export class ModifyAlarmResponse extends $tea.Model {
5610
- headers: { [key: string]: string };
5611
- statusCode: number;
5612
- body: ModifyAlarmResponseBody;
5688
+ headers?: { [key: string]: string };
5689
+ statusCode?: number;
5690
+ body?: ModifyAlarmResponseBody;
5613
5691
  static names(): { [key: string]: string } {
5614
5692
  return {
5615
5693
  headers: 'headers',
@@ -5817,9 +5895,9 @@ export class ModifyEciScalingConfigurationResponseBody extends $tea.Model {
5817
5895
  }
5818
5896
 
5819
5897
  export class ModifyEciScalingConfigurationResponse extends $tea.Model {
5820
- headers: { [key: string]: string };
5821
- statusCode: number;
5822
- body: ModifyEciScalingConfigurationResponseBody;
5898
+ headers?: { [key: string]: string };
5899
+ statusCode?: number;
5900
+ body?: ModifyEciScalingConfigurationResponseBody;
5823
5901
  static names(): { [key: string]: string } {
5824
5902
  return {
5825
5903
  headers: 'headers',
@@ -5916,9 +5994,9 @@ export class ModifyLifecycleHookResponseBody extends $tea.Model {
5916
5994
  }
5917
5995
 
5918
5996
  export class ModifyLifecycleHookResponse extends $tea.Model {
5919
- headers: { [key: string]: string };
5920
- statusCode: number;
5921
- body: ModifyLifecycleHookResponseBody;
5997
+ headers?: { [key: string]: string };
5998
+ statusCode?: number;
5999
+ body?: ModifyLifecycleHookResponseBody;
5922
6000
  static names(): { [key: string]: string } {
5923
6001
  return {
5924
6002
  headers: 'headers',
@@ -5994,9 +6072,9 @@ export class ModifyNotificationConfigurationResponseBody extends $tea.Model {
5994
6072
  }
5995
6073
 
5996
6074
  export class ModifyNotificationConfigurationResponse extends $tea.Model {
5997
- headers: { [key: string]: string };
5998
- statusCode: number;
5999
- body: ModifyNotificationConfigurationResponseBody;
6075
+ headers?: { [key: string]: string };
6076
+ statusCode?: number;
6077
+ body?: ModifyNotificationConfigurationResponseBody;
6000
6078
  static names(): { [key: string]: string } {
6001
6079
  return {
6002
6080
  headers: 'headers',
@@ -6025,6 +6103,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
6025
6103
  affinity?: string;
6026
6104
  cpu?: number;
6027
6105
  creditSpecification?: string;
6106
+ customPriorities?: ModifyScalingConfigurationRequestCustomPriorities[];
6028
6107
  dataDisks?: ModifyScalingConfigurationRequestDataDisks[];
6029
6108
  dedicatedHostId?: string;
6030
6109
  deletionProtection?: boolean;
@@ -6077,6 +6156,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
6077
6156
  affinity: 'Affinity',
6078
6157
  cpu: 'Cpu',
6079
6158
  creditSpecification: 'CreditSpecification',
6159
+ customPriorities: 'CustomPriorities',
6080
6160
  dataDisks: 'DataDisks',
6081
6161
  dedicatedHostId: 'DedicatedHostId',
6082
6162
  deletionProtection: 'DeletionProtection',
@@ -6132,6 +6212,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
6132
6212
  affinity: 'string',
6133
6213
  cpu: 'number',
6134
6214
  creditSpecification: 'string',
6215
+ customPriorities: { 'type': 'array', 'itemType': ModifyScalingConfigurationRequestCustomPriorities },
6135
6216
  dataDisks: { 'type': 'array', 'itemType': ModifyScalingConfigurationRequestDataDisks },
6136
6217
  dedicatedHostId: 'string',
6137
6218
  deletionProtection: 'boolean',
@@ -6191,6 +6272,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
6191
6272
  affinity?: string;
6192
6273
  cpu?: number;
6193
6274
  creditSpecification?: string;
6275
+ customPriorities?: ModifyScalingConfigurationShrinkRequestCustomPriorities[];
6194
6276
  dataDisks?: ModifyScalingConfigurationShrinkRequestDataDisks[];
6195
6277
  dedicatedHostId?: string;
6196
6278
  deletionProtection?: boolean;
@@ -6243,6 +6325,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
6243
6325
  affinity: 'Affinity',
6244
6326
  cpu: 'Cpu',
6245
6327
  creditSpecification: 'CreditSpecification',
6328
+ customPriorities: 'CustomPriorities',
6246
6329
  dataDisks: 'DataDisks',
6247
6330
  dedicatedHostId: 'DedicatedHostId',
6248
6331
  deletionProtection: 'DeletionProtection',
@@ -6298,6 +6381,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
6298
6381
  affinity: 'string',
6299
6382
  cpu: 'number',
6300
6383
  creditSpecification: 'string',
6384
+ customPriorities: { 'type': 'array', 'itemType': ModifyScalingConfigurationShrinkRequestCustomPriorities },
6301
6385
  dataDisks: { 'type': 'array', 'itemType': ModifyScalingConfigurationShrinkRequestDataDisks },
6302
6386
  dedicatedHostId: 'string',
6303
6387
  deletionProtection: 'boolean',
@@ -6370,9 +6454,9 @@ export class ModifyScalingConfigurationResponseBody extends $tea.Model {
6370
6454
  }
6371
6455
 
6372
6456
  export class ModifyScalingConfigurationResponse extends $tea.Model {
6373
- headers: { [key: string]: string };
6374
- statusCode: number;
6375
- body: ModifyScalingConfigurationResponseBody;
6457
+ headers?: { [key: string]: string };
6458
+ statusCode?: number;
6459
+ body?: ModifyScalingConfigurationResponseBody;
6376
6460
  static names(): { [key: string]: string } {
6377
6461
  return {
6378
6462
  headers: 'headers',
@@ -6520,9 +6604,9 @@ export class ModifyScalingGroupResponseBody extends $tea.Model {
6520
6604
  }
6521
6605
 
6522
6606
  export class ModifyScalingGroupResponse extends $tea.Model {
6523
- headers: { [key: string]: string };
6524
- statusCode: number;
6525
- body: ModifyScalingGroupResponseBody;
6607
+ headers?: { [key: string]: string };
6608
+ statusCode?: number;
6609
+ body?: ModifyScalingGroupResponseBody;
6526
6610
  static names(): { [key: string]: string } {
6527
6611
  return {
6528
6612
  headers: 'headers',
@@ -6649,9 +6733,9 @@ export class ModifyScalingRuleResponseBody extends $tea.Model {
6649
6733
  }
6650
6734
 
6651
6735
  export class ModifyScalingRuleResponse extends $tea.Model {
6652
- headers: { [key: string]: string };
6653
- statusCode: number;
6654
- body: ModifyScalingRuleResponseBody;
6736
+ headers?: { [key: string]: string };
6737
+ statusCode?: number;
6738
+ body?: ModifyScalingRuleResponseBody;
6655
6739
  static names(): { [key: string]: string } {
6656
6740
  return {
6657
6741
  headers: 'headers',
@@ -6763,9 +6847,9 @@ export class ModifyScheduledTaskResponseBody extends $tea.Model {
6763
6847
  }
6764
6848
 
6765
6849
  export class ModifyScheduledTaskResponse extends $tea.Model {
6766
- headers: { [key: string]: string };
6767
- statusCode: number;
6768
- body: ModifyScheduledTaskResponseBody;
6850
+ headers?: { [key: string]: string };
6851
+ statusCode?: number;
6852
+ body?: ModifyScheduledTaskResponseBody;
6769
6853
  static names(): { [key: string]: string } {
6770
6854
  return {
6771
6855
  headers: 'headers',
@@ -6844,9 +6928,9 @@ export class RebalanceInstancesResponseBody extends $tea.Model {
6844
6928
  }
6845
6929
 
6846
6930
  export class RebalanceInstancesResponse extends $tea.Model {
6847
- headers: { [key: string]: string };
6848
- statusCode: number;
6849
- body: RebalanceInstancesResponseBody;
6931
+ headers?: { [key: string]: string };
6932
+ statusCode?: number;
6933
+ body?: RebalanceInstancesResponseBody;
6850
6934
  static names(): { [key: string]: string } {
6851
6935
  return {
6852
6936
  headers: 'headers',
@@ -6925,9 +7009,9 @@ export class RecordLifecycleActionHeartbeatResponseBody extends $tea.Model {
6925
7009
  }
6926
7010
 
6927
7011
  export class RecordLifecycleActionHeartbeatResponse extends $tea.Model {
6928
- headers: { [key: string]: string };
6929
- statusCode: number;
6930
- body: RecordLifecycleActionHeartbeatResponseBody;
7012
+ headers?: { [key: string]: string };
7013
+ statusCode?: number;
7014
+ body?: RecordLifecycleActionHeartbeatResponseBody;
6931
7015
  static names(): { [key: string]: string } {
6932
7016
  return {
6933
7017
  headers: 'headers',
@@ -7018,9 +7102,9 @@ export class RemoveInstancesResponseBody extends $tea.Model {
7018
7102
  }
7019
7103
 
7020
7104
  export class RemoveInstancesResponse extends $tea.Model {
7021
- headers: { [key: string]: string };
7022
- statusCode: number;
7023
- body: RemoveInstancesResponseBody;
7105
+ headers?: { [key: string]: string };
7106
+ statusCode?: number;
7107
+ body?: RemoveInstancesResponseBody;
7024
7108
  static names(): { [key: string]: string } {
7025
7109
  return {
7026
7110
  headers: 'headers',
@@ -7096,9 +7180,9 @@ export class ResumeProcessesResponseBody extends $tea.Model {
7096
7180
  }
7097
7181
 
7098
7182
  export class ResumeProcessesResponse extends $tea.Model {
7099
- headers: { [key: string]: string };
7100
- statusCode: number;
7101
- body: ResumeProcessesResponseBody;
7183
+ headers?: { [key: string]: string };
7184
+ statusCode?: number;
7185
+ body?: ResumeProcessesResponseBody;
7102
7186
  static names(): { [key: string]: string } {
7103
7187
  return {
7104
7188
  headers: 'headers',
@@ -7232,9 +7316,9 @@ export class ScaleWithAdjustmentResponseBody extends $tea.Model {
7232
7316
  }
7233
7317
 
7234
7318
  export class ScaleWithAdjustmentResponse extends $tea.Model {
7235
- headers: { [key: string]: string };
7236
- statusCode: number;
7237
- body: ScaleWithAdjustmentResponseBody;
7319
+ headers?: { [key: string]: string };
7320
+ statusCode?: number;
7321
+ body?: ScaleWithAdjustmentResponseBody;
7238
7322
  static names(): { [key: string]: string } {
7239
7323
  return {
7240
7324
  headers: 'headers',
@@ -7307,9 +7391,9 @@ export class SetGroupDeletionProtectionResponseBody extends $tea.Model {
7307
7391
  }
7308
7392
 
7309
7393
  export class SetGroupDeletionProtectionResponse extends $tea.Model {
7310
- headers: { [key: string]: string };
7311
- statusCode: number;
7312
- body: SetGroupDeletionProtectionResponseBody;
7394
+ headers?: { [key: string]: string };
7395
+ statusCode?: number;
7396
+ body?: SetGroupDeletionProtectionResponseBody;
7313
7397
  static names(): { [key: string]: string } {
7314
7398
  return {
7315
7399
  headers: 'headers',
@@ -7379,9 +7463,9 @@ export class SetInstanceHealthResponseBody extends $tea.Model {
7379
7463
  }
7380
7464
 
7381
7465
  export class SetInstanceHealthResponse extends $tea.Model {
7382
- headers: { [key: string]: string };
7383
- statusCode: number;
7384
- body: SetInstanceHealthResponseBody;
7466
+ headers?: { [key: string]: string };
7467
+ statusCode?: number;
7468
+ body?: SetInstanceHealthResponseBody;
7385
7469
  static names(): { [key: string]: string } {
7386
7470
  return {
7387
7471
  headers: 'headers',
@@ -7454,9 +7538,9 @@ export class SetInstancesProtectionResponseBody extends $tea.Model {
7454
7538
  }
7455
7539
 
7456
7540
  export class SetInstancesProtectionResponse extends $tea.Model {
7457
- headers: { [key: string]: string };
7458
- statusCode: number;
7459
- body: SetInstancesProtectionResponseBody;
7541
+ headers?: { [key: string]: string };
7542
+ statusCode?: number;
7543
+ body?: SetInstancesProtectionResponseBody;
7460
7544
  static names(): { [key: string]: string } {
7461
7545
  return {
7462
7546
  headers: 'headers',
@@ -7532,9 +7616,9 @@ export class SuspendProcessesResponseBody extends $tea.Model {
7532
7616
  }
7533
7617
 
7534
7618
  export class SuspendProcessesResponse extends $tea.Model {
7535
- headers: { [key: string]: string };
7536
- statusCode: number;
7537
- body: SuspendProcessesResponseBody;
7619
+ headers?: { [key: string]: string };
7620
+ statusCode?: number;
7621
+ body?: SuspendProcessesResponseBody;
7538
7622
  static names(): { [key: string]: string } {
7539
7623
  return {
7540
7624
  headers: 'headers',
@@ -7610,9 +7694,9 @@ export class TagResourcesResponseBody extends $tea.Model {
7610
7694
  }
7611
7695
 
7612
7696
  export class TagResourcesResponse extends $tea.Model {
7613
- headers: { [key: string]: string };
7614
- statusCode: number;
7615
- body: TagResourcesResponseBody;
7697
+ headers?: { [key: string]: string };
7698
+ statusCode?: number;
7699
+ body?: TagResourcesResponseBody;
7616
7700
  static names(): { [key: string]: string } {
7617
7701
  return {
7618
7702
  headers: 'headers',
@@ -7691,9 +7775,9 @@ export class UntagResourcesResponseBody extends $tea.Model {
7691
7775
  }
7692
7776
 
7693
7777
  export class UntagResourcesResponse extends $tea.Model {
7694
- headers: { [key: string]: string };
7695
- statusCode: number;
7696
- body: UntagResourcesResponseBody;
7778
+ headers?: { [key: string]: string };
7779
+ statusCode?: number;
7780
+ body?: UntagResourcesResponseBody;
7697
7781
  static names(): { [key: string]: string } {
7698
7782
  return {
7699
7783
  headers: 'headers',
@@ -7766,9 +7850,9 @@ export class VerifyAuthenticationResponseBody extends $tea.Model {
7766
7850
  }
7767
7851
 
7768
7852
  export class VerifyAuthenticationResponse extends $tea.Model {
7769
- headers: { [key: string]: string };
7770
- statusCode: number;
7771
- body: VerifyAuthenticationResponseBody;
7853
+ headers?: { [key: string]: string };
7854
+ statusCode?: number;
7855
+ body?: VerifyAuthenticationResponseBody;
7772
7856
  static names(): { [key: string]: string } {
7773
7857
  return {
7774
7858
  headers: 'headers',
@@ -7838,9 +7922,9 @@ export class VerifyUserResponseBody extends $tea.Model {
7838
7922
  }
7839
7923
 
7840
7924
  export class VerifyUserResponse extends $tea.Model {
7841
- headers: { [key: string]: string };
7842
- statusCode: number;
7843
- body: VerifyUserResponseBody;
7925
+ headers?: { [key: string]: string };
7926
+ statusCode?: number;
7927
+ body?: VerifyUserResponseBody;
7844
7928
  static names(): { [key: string]: string } {
7845
7929
  return {
7846
7930
  headers: 'headers',
@@ -8404,6 +8488,20 @@ export class CreateEciScalingConfigurationRequestContainers extends $tea.Model {
8404
8488
  gpu?: number;
8405
8489
  image?: string;
8406
8490
  imagePullPolicy?: string;
8491
+ lifecyclePostStartHandlerExecs?: string[];
8492
+ lifecyclePostStartHandlerHttpGetHost?: string;
8493
+ lifecyclePostStartHandlerHttpGetPath?: string;
8494
+ lifecyclePostStartHandlerHttpGetPort?: number;
8495
+ lifecyclePostStartHandlerHttpGetScheme?: string;
8496
+ lifecyclePostStartHandlerTcpSocketHost?: string;
8497
+ lifecyclePostStartHandlerTcpSocketPort?: number;
8498
+ lifecyclePreStopHandlerExecs?: string[];
8499
+ lifecyclePreStopHandlerHttpGetHost?: string;
8500
+ lifecyclePreStopHandlerHttpGetPath?: string;
8501
+ lifecyclePreStopHandlerHttpGetPort?: number;
8502
+ lifecyclePreStopHandlerHttpGetScheme?: string;
8503
+ lifecyclePreStopHandlerTcpSocketHost?: string;
8504
+ lifecyclePreStopHandlerTcpSocketPort?: number;
8407
8505
  memory?: number;
8408
8506
  name?: string;
8409
8507
  ports?: CreateEciScalingConfigurationRequestContainersPorts[];
@@ -8424,6 +8522,20 @@ export class CreateEciScalingConfigurationRequestContainers extends $tea.Model {
8424
8522
  gpu: 'Gpu',
8425
8523
  image: 'Image',
8426
8524
  imagePullPolicy: 'ImagePullPolicy',
8525
+ lifecyclePostStartHandlerExecs: 'LifecyclePostStartHandlerExecs',
8526
+ lifecyclePostStartHandlerHttpGetHost: 'LifecyclePostStartHandlerHttpGetHost',
8527
+ lifecyclePostStartHandlerHttpGetPath: 'LifecyclePostStartHandlerHttpGetPath',
8528
+ lifecyclePostStartHandlerHttpGetPort: 'LifecyclePostStartHandlerHttpGetPort',
8529
+ lifecyclePostStartHandlerHttpGetScheme: 'LifecyclePostStartHandlerHttpGetScheme',
8530
+ lifecyclePostStartHandlerTcpSocketHost: 'LifecyclePostStartHandlerTcpSocketHost',
8531
+ lifecyclePostStartHandlerTcpSocketPort: 'LifecyclePostStartHandlerTcpSocketPort',
8532
+ lifecyclePreStopHandlerExecs: 'LifecyclePreStopHandlerExecs',
8533
+ lifecyclePreStopHandlerHttpGetHost: 'LifecyclePreStopHandlerHttpGetHost',
8534
+ lifecyclePreStopHandlerHttpGetPath: 'LifecyclePreStopHandlerHttpGetPath',
8535
+ lifecyclePreStopHandlerHttpGetPort: 'LifecyclePreStopHandlerHttpGetPort',
8536
+ lifecyclePreStopHandlerHttpGetScheme: 'LifecyclePreStopHandlerHttpGetScheme',
8537
+ lifecyclePreStopHandlerTcpSocketHost: 'LifecyclePreStopHandlerTcpSocketHost',
8538
+ lifecyclePreStopHandlerTcpSocketPort: 'LifecyclePreStopHandlerTcpSocketPort',
8427
8539
  memory: 'Memory',
8428
8540
  name: 'Name',
8429
8541
  ports: 'Ports',
@@ -8447,6 +8559,20 @@ export class CreateEciScalingConfigurationRequestContainers extends $tea.Model {
8447
8559
  gpu: 'number',
8448
8560
  image: 'string',
8449
8561
  imagePullPolicy: 'string',
8562
+ lifecyclePostStartHandlerExecs: { 'type': 'array', 'itemType': 'string' },
8563
+ lifecyclePostStartHandlerHttpGetHost: 'string',
8564
+ lifecyclePostStartHandlerHttpGetPath: 'string',
8565
+ lifecyclePostStartHandlerHttpGetPort: 'number',
8566
+ lifecyclePostStartHandlerHttpGetScheme: 'string',
8567
+ lifecyclePostStartHandlerTcpSocketHost: 'string',
8568
+ lifecyclePostStartHandlerTcpSocketPort: 'number',
8569
+ lifecyclePreStopHandlerExecs: { 'type': 'array', 'itemType': 'string' },
8570
+ lifecyclePreStopHandlerHttpGetHost: 'string',
8571
+ lifecyclePreStopHandlerHttpGetPath: 'string',
8572
+ lifecyclePreStopHandlerHttpGetPort: 'number',
8573
+ lifecyclePreStopHandlerHttpGetScheme: 'string',
8574
+ lifecyclePreStopHandlerTcpSocketHost: 'string',
8575
+ lifecyclePreStopHandlerTcpSocketPort: 'number',
8450
8576
  memory: 'number',
8451
8577
  name: 'string',
8452
8578
  ports: { 'type': 'array', 'itemType': CreateEciScalingConfigurationRequestContainersPorts },
@@ -9030,6 +9156,28 @@ export class CreateScalingConfigurationRequestSystemDisk extends $tea.Model {
9030
9156
  }
9031
9157
  }
9032
9158
 
9159
+ export class CreateScalingConfigurationRequestCustomPriorities extends $tea.Model {
9160
+ instanceType?: string;
9161
+ vswitchId?: string;
9162
+ static names(): { [key: string]: string } {
9163
+ return {
9164
+ instanceType: 'InstanceType',
9165
+ vswitchId: 'VswitchId',
9166
+ };
9167
+ }
9168
+
9169
+ static types(): { [key: string]: any } {
9170
+ return {
9171
+ instanceType: 'string',
9172
+ vswitchId: 'string',
9173
+ };
9174
+ }
9175
+
9176
+ constructor(map?: { [key: string]: any }) {
9177
+ super(map);
9178
+ }
9179
+ }
9180
+
9033
9181
  export class CreateScalingConfigurationRequestDataDisks extends $tea.Model {
9034
9182
  autoSnapshotPolicyId?: string;
9035
9183
  burstingEnabled?: boolean;
@@ -9259,6 +9407,28 @@ export class CreateScalingConfigurationShrinkRequestSystemDisk extends $tea.Mode
9259
9407
  }
9260
9408
  }
9261
9409
 
9410
+ export class CreateScalingConfigurationShrinkRequestCustomPriorities extends $tea.Model {
9411
+ instanceType?: string;
9412
+ vswitchId?: string;
9413
+ static names(): { [key: string]: string } {
9414
+ return {
9415
+ instanceType: 'InstanceType',
9416
+ vswitchId: 'VswitchId',
9417
+ };
9418
+ }
9419
+
9420
+ static types(): { [key: string]: any } {
9421
+ return {
9422
+ instanceType: 'string',
9423
+ vswitchId: 'string',
9424
+ };
9425
+ }
9426
+
9427
+ constructor(map?: { [key: string]: any }) {
9428
+ super(map);
9429
+ }
9430
+ }
9431
+
9262
9432
  export class CreateScalingConfigurationShrinkRequestDataDisks extends $tea.Model {
9263
9433
  autoSnapshotPolicyId?: string;
9264
9434
  burstingEnabled?: boolean;
@@ -9888,6 +10058,20 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsCo
9888
10058
  gpu?: number;
9889
10059
  image?: string;
9890
10060
  imagePullPolicy?: string;
10061
+ lifecyclePostStartHandlerExecs?: string[];
10062
+ lifecyclePostStartHandlerHttpGetHost?: string;
10063
+ lifecyclePostStartHandlerHttpGetPath?: string;
10064
+ lifecyclePostStartHandlerHttpGetPort?: number;
10065
+ lifecyclePostStartHandlerHttpGetScheme?: string;
10066
+ lifecyclePostStartHandlerTcpSocketHost?: string;
10067
+ lifecyclePostStartHandlerTcpSocketPort?: number;
10068
+ lifecyclePreStopHandlerExecs?: string[];
10069
+ lifecyclePreStopHandlerHttpGetHost?: string;
10070
+ lifecyclePreStopHandlerHttpGetPath?: string;
10071
+ lifecyclePreStopHandlerHttpGetPort?: number;
10072
+ lifecyclePreStopHandlerHttpGetScheme?: string;
10073
+ lifecyclePreStopHandlerTcpSocketHost?: string;
10074
+ lifecyclePreStopHandlerTcpSocketPort?: number;
9891
10075
  livenessProbeExecCommands?: string[];
9892
10076
  livenessProbeFailureThreshold?: number;
9893
10077
  livenessProbeHttpGetPath?: string;
@@ -9928,6 +10112,20 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsCo
9928
10112
  gpu: 'Gpu',
9929
10113
  image: 'Image',
9930
10114
  imagePullPolicy: 'ImagePullPolicy',
10115
+ lifecyclePostStartHandlerExecs: 'LifecyclePostStartHandlerExecs',
10116
+ lifecyclePostStartHandlerHttpGetHost: 'LifecyclePostStartHandlerHttpGetHost',
10117
+ lifecyclePostStartHandlerHttpGetPath: 'LifecyclePostStartHandlerHttpGetPath',
10118
+ lifecyclePostStartHandlerHttpGetPort: 'LifecyclePostStartHandlerHttpGetPort',
10119
+ lifecyclePostStartHandlerHttpGetScheme: 'LifecyclePostStartHandlerHttpGetScheme',
10120
+ lifecyclePostStartHandlerTcpSocketHost: 'LifecyclePostStartHandlerTcpSocketHost',
10121
+ lifecyclePostStartHandlerTcpSocketPort: 'LifecyclePostStartHandlerTcpSocketPort',
10122
+ lifecyclePreStopHandlerExecs: 'LifecyclePreStopHandlerExecs',
10123
+ lifecyclePreStopHandlerHttpGetHost: 'LifecyclePreStopHandlerHttpGetHost',
10124
+ lifecyclePreStopHandlerHttpGetPath: 'LifecyclePreStopHandlerHttpGetPath',
10125
+ lifecyclePreStopHandlerHttpGetPort: 'LifecyclePreStopHandlerHttpGetPort',
10126
+ lifecyclePreStopHandlerHttpGetScheme: 'LifecyclePreStopHandlerHttpGetScheme',
10127
+ lifecyclePreStopHandlerTcpSocketHost: 'LifecyclePreStopHandlerTcpSocketHost',
10128
+ lifecyclePreStopHandlerTcpSocketPort: 'LifecyclePreStopHandlerTcpSocketPort',
9931
10129
  livenessProbeExecCommands: 'LivenessProbeExecCommands',
9932
10130
  livenessProbeFailureThreshold: 'LivenessProbeFailureThreshold',
9933
10131
  livenessProbeHttpGetPath: 'LivenessProbeHttpGetPath',
@@ -9971,6 +10169,20 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsCo
9971
10169
  gpu: 'number',
9972
10170
  image: 'string',
9973
10171
  imagePullPolicy: 'string',
10172
+ lifecyclePostStartHandlerExecs: { 'type': 'array', 'itemType': 'string' },
10173
+ lifecyclePostStartHandlerHttpGetHost: 'string',
10174
+ lifecyclePostStartHandlerHttpGetPath: 'string',
10175
+ lifecyclePostStartHandlerHttpGetPort: 'number',
10176
+ lifecyclePostStartHandlerHttpGetScheme: 'string',
10177
+ lifecyclePostStartHandlerTcpSocketHost: 'string',
10178
+ lifecyclePostStartHandlerTcpSocketPort: 'number',
10179
+ lifecyclePreStopHandlerExecs: { 'type': 'array', 'itemType': 'string' },
10180
+ lifecyclePreStopHandlerHttpGetHost: 'string',
10181
+ lifecyclePreStopHandlerHttpGetPath: 'string',
10182
+ lifecyclePreStopHandlerHttpGetPort: 'number',
10183
+ lifecyclePreStopHandlerHttpGetScheme: 'string',
10184
+ lifecyclePreStopHandlerTcpSocketHost: 'string',
10185
+ lifecyclePreStopHandlerTcpSocketPort: 'number',
9974
10186
  livenessProbeExecCommands: { 'type': 'array', 'itemType': 'string' },
9975
10187
  livenessProbeFailureThreshold: 'number',
9976
10188
  livenessProbeHttpGetPath: 'string',
@@ -10741,6 +10953,28 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
10741
10953
  }
10742
10954
  }
10743
10955
 
10956
+ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsCustomPriorities extends $tea.Model {
10957
+ instanceType?: string;
10958
+ vswitchId?: string;
10959
+ static names(): { [key: string]: string } {
10960
+ return {
10961
+ instanceType: 'InstanceType',
10962
+ vswitchId: 'VswitchId',
10963
+ };
10964
+ }
10965
+
10966
+ static types(): { [key: string]: any } {
10967
+ return {
10968
+ instanceType: 'string',
10969
+ vswitchId: 'string',
10970
+ };
10971
+ }
10972
+
10973
+ constructor(map?: { [key: string]: any }) {
10974
+ super(map);
10975
+ }
10976
+ }
10977
+
10744
10978
  export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks extends $tea.Model {
10745
10979
  autoSnapshotPolicyId?: string;
10746
10980
  burstingEnabled?: boolean;
@@ -10904,6 +11138,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
10904
11138
  cpu?: number;
10905
11139
  creationTime?: string;
10906
11140
  creditSpecification?: string;
11141
+ customPriorities?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsCustomPriorities[];
10907
11142
  dataDisks?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks[];
10908
11143
  dedicatedHostId?: string;
10909
11144
  deletionProtection?: boolean;
@@ -10971,6 +11206,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
10971
11206
  cpu: 'Cpu',
10972
11207
  creationTime: 'CreationTime',
10973
11208
  creditSpecification: 'CreditSpecification',
11209
+ customPriorities: 'CustomPriorities',
10974
11210
  dataDisks: 'DataDisks',
10975
11211
  dedicatedHostId: 'DedicatedHostId',
10976
11212
  deletionProtection: 'DeletionProtection',
@@ -11041,6 +11277,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
11041
11277
  cpu: 'number',
11042
11278
  creationTime: 'string',
11043
11279
  creditSpecification: 'string',
11280
+ customPriorities: { 'type': 'array', 'itemType': DescribeScalingConfigurationsResponseBodyScalingConfigurationsCustomPriorities },
11044
11281
  dataDisks: { 'type': 'array', 'itemType': DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks },
11045
11282
  dedicatedHostId: 'string',
11046
11283
  deletionProtection: 'boolean',
@@ -12433,6 +12670,20 @@ export class ModifyEciScalingConfigurationRequestContainers extends $tea.Model {
12433
12670
  gpu?: number;
12434
12671
  image?: string;
12435
12672
  imagePullPolicy?: string;
12673
+ lifecyclePostStartHandlerExecs?: string[];
12674
+ lifecyclePostStartHandlerHttpGetHost?: string;
12675
+ lifecyclePostStartHandlerHttpGetPath?: string;
12676
+ lifecyclePostStartHandlerHttpGetPort?: number;
12677
+ lifecyclePostStartHandlerHttpGetScheme?: string;
12678
+ lifecyclePostStartHandlerTcpSocketHost?: string;
12679
+ lifecyclePostStartHandlerTcpSocketPort?: number;
12680
+ lifecyclePreStopHandlerExecs?: string[];
12681
+ lifecyclePreStopHandlerHttpGetHost?: string;
12682
+ lifecyclePreStopHandlerHttpGetPath?: string;
12683
+ lifecyclePreStopHandlerHttpGetPort?: number;
12684
+ lifecyclePreStopHandlerHttpGetScheme?: string;
12685
+ lifecyclePreStopHandlerTcpSocketHost?: string;
12686
+ lifecyclePreStopHandlerTcpSocketPort?: number;
12436
12687
  memory?: number;
12437
12688
  name?: string;
12438
12689
  ports?: ModifyEciScalingConfigurationRequestContainersPorts[];
@@ -12453,6 +12704,20 @@ export class ModifyEciScalingConfigurationRequestContainers extends $tea.Model {
12453
12704
  gpu: 'Gpu',
12454
12705
  image: 'Image',
12455
12706
  imagePullPolicy: 'ImagePullPolicy',
12707
+ lifecyclePostStartHandlerExecs: 'LifecyclePostStartHandlerExecs',
12708
+ lifecyclePostStartHandlerHttpGetHost: 'LifecyclePostStartHandlerHttpGetHost',
12709
+ lifecyclePostStartHandlerHttpGetPath: 'LifecyclePostStartHandlerHttpGetPath',
12710
+ lifecyclePostStartHandlerHttpGetPort: 'LifecyclePostStartHandlerHttpGetPort',
12711
+ lifecyclePostStartHandlerHttpGetScheme: 'LifecyclePostStartHandlerHttpGetScheme',
12712
+ lifecyclePostStartHandlerTcpSocketHost: 'LifecyclePostStartHandlerTcpSocketHost',
12713
+ lifecyclePostStartHandlerTcpSocketPort: 'LifecyclePostStartHandlerTcpSocketPort',
12714
+ lifecyclePreStopHandlerExecs: 'LifecyclePreStopHandlerExecs',
12715
+ lifecyclePreStopHandlerHttpGetHost: 'LifecyclePreStopHandlerHttpGetHost',
12716
+ lifecyclePreStopHandlerHttpGetPath: 'LifecyclePreStopHandlerHttpGetPath',
12717
+ lifecyclePreStopHandlerHttpGetPort: 'LifecyclePreStopHandlerHttpGetPort',
12718
+ lifecyclePreStopHandlerHttpGetScheme: 'LifecyclePreStopHandlerHttpGetScheme',
12719
+ lifecyclePreStopHandlerTcpSocketHost: 'LifecyclePreStopHandlerTcpSocketHost',
12720
+ lifecyclePreStopHandlerTcpSocketPort: 'LifecyclePreStopHandlerTcpSocketPort',
12456
12721
  memory: 'Memory',
12457
12722
  name: 'Name',
12458
12723
  ports: 'Ports',
@@ -12476,6 +12741,20 @@ export class ModifyEciScalingConfigurationRequestContainers extends $tea.Model {
12476
12741
  gpu: 'number',
12477
12742
  image: 'string',
12478
12743
  imagePullPolicy: 'string',
12744
+ lifecyclePostStartHandlerExecs: { 'type': 'array', 'itemType': 'string' },
12745
+ lifecyclePostStartHandlerHttpGetHost: 'string',
12746
+ lifecyclePostStartHandlerHttpGetPath: 'string',
12747
+ lifecyclePostStartHandlerHttpGetPort: 'number',
12748
+ lifecyclePostStartHandlerHttpGetScheme: 'string',
12749
+ lifecyclePostStartHandlerTcpSocketHost: 'string',
12750
+ lifecyclePostStartHandlerTcpSocketPort: 'number',
12751
+ lifecyclePreStopHandlerExecs: { 'type': 'array', 'itemType': 'string' },
12752
+ lifecyclePreStopHandlerHttpGetHost: 'string',
12753
+ lifecyclePreStopHandlerHttpGetPath: 'string',
12754
+ lifecyclePreStopHandlerHttpGetPort: 'number',
12755
+ lifecyclePreStopHandlerHttpGetScheme: 'string',
12756
+ lifecyclePreStopHandlerTcpSocketHost: 'string',
12757
+ lifecyclePreStopHandlerTcpSocketPort: 'number',
12479
12758
  memory: 'number',
12480
12759
  name: 'string',
12481
12760
  ports: { 'type': 'array', 'itemType': ModifyEciScalingConfigurationRequestContainersPorts },
@@ -13078,6 +13357,28 @@ export class ModifyScalingConfigurationRequestSystemDisk extends $tea.Model {
13078
13357
  }
13079
13358
  }
13080
13359
 
13360
+ export class ModifyScalingConfigurationRequestCustomPriorities extends $tea.Model {
13361
+ instanceType?: string;
13362
+ vswitchId?: string;
13363
+ static names(): { [key: string]: string } {
13364
+ return {
13365
+ instanceType: 'InstanceType',
13366
+ vswitchId: 'VswitchId',
13367
+ };
13368
+ }
13369
+
13370
+ static types(): { [key: string]: any } {
13371
+ return {
13372
+ instanceType: 'string',
13373
+ vswitchId: 'string',
13374
+ };
13375
+ }
13376
+
13377
+ constructor(map?: { [key: string]: any }) {
13378
+ super(map);
13379
+ }
13380
+ }
13381
+
13081
13382
  export class ModifyScalingConfigurationRequestDataDisks extends $tea.Model {
13082
13383
  autoSnapshotPolicyId?: string;
13083
13384
  burstingEnabled?: boolean;
@@ -13307,6 +13608,28 @@ export class ModifyScalingConfigurationShrinkRequestSystemDisk extends $tea.Mode
13307
13608
  }
13308
13609
  }
13309
13610
 
13611
+ export class ModifyScalingConfigurationShrinkRequestCustomPriorities extends $tea.Model {
13612
+ instanceType?: string;
13613
+ vswitchId?: string;
13614
+ static names(): { [key: string]: string } {
13615
+ return {
13616
+ instanceType: 'InstanceType',
13617
+ vswitchId: 'VswitchId',
13618
+ };
13619
+ }
13620
+
13621
+ static types(): { [key: string]: any } {
13622
+ return {
13623
+ instanceType: 'string',
13624
+ vswitchId: 'string',
13625
+ };
13626
+ }
13627
+
13628
+ constructor(map?: { [key: string]: any }) {
13629
+ super(map);
13630
+ }
13631
+ }
13632
+
13310
13633
  export class ModifyScalingConfigurationShrinkRequestDataDisks extends $tea.Model {
13311
13634
  autoSnapshotPolicyId?: string;
13312
13635
  burstingEnabled?: boolean;
@@ -13693,6 +14016,43 @@ export default class Client extends OpenApi {
13693
14016
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
13694
14017
  }
13695
14018
 
14019
+ async applyScalingGroupWithOptions(request: ApplyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ApplyScalingGroupResponse> {
14020
+ Util.validateModel(request);
14021
+ let query = { };
14022
+ if (!Util.isUnset(request.content)) {
14023
+ query["Content"] = request.content;
14024
+ }
14025
+
14026
+ if (!Util.isUnset(request.format)) {
14027
+ query["Format"] = request.format;
14028
+ }
14029
+
14030
+ if (!Util.isUnset(request.regionId)) {
14031
+ query["RegionId"] = request.regionId;
14032
+ }
14033
+
14034
+ let req = new $OpenApi.OpenApiRequest({
14035
+ query: OpenApiUtil.query(query),
14036
+ });
14037
+ let params = new $OpenApi.Params({
14038
+ action: "ApplyScalingGroup",
14039
+ version: "2022-02-22",
14040
+ protocol: "HTTPS",
14041
+ pathname: "/",
14042
+ method: "POST",
14043
+ authType: "AK",
14044
+ style: "RPC",
14045
+ reqBodyType: "formData",
14046
+ bodyType: "json",
14047
+ });
14048
+ return $tea.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
14049
+ }
14050
+
14051
+ async applyScalingGroup(request: ApplyScalingGroupRequest): Promise<ApplyScalingGroupResponse> {
14052
+ let runtime = new $Util.RuntimeOptions({ });
14053
+ return await this.applyScalingGroupWithOptions(request, runtime);
14054
+ }
14055
+
13696
14056
  /**
13697
14057
  * Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
13698
14058
  * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
@@ -14818,6 +15178,10 @@ export default class Client extends OpenApi {
14818
15178
  query["CreditSpecification"] = request.creditSpecification;
14819
15179
  }
14820
15180
 
15181
+ if (!Util.isUnset(request.customPriorities)) {
15182
+ query["CustomPriorities"] = request.customPriorities;
15183
+ }
15184
+
14821
15185
  if (!Util.isUnset(request.dataDisks)) {
14822
15186
  query["DataDisks"] = request.dataDisks;
14823
15187
  }
@@ -18426,6 +18790,10 @@ export default class Client extends OpenApi {
18426
18790
  query["CreditSpecification"] = request.creditSpecification;
18427
18791
  }
18428
18792
 
18793
+ if (!Util.isUnset(request.customPriorities)) {
18794
+ query["CustomPriorities"] = request.customPriorities;
18795
+ }
18796
+
18429
18797
  if (!Util.isUnset(request.dataDisks)) {
18430
18798
  query["DataDisks"] = request.dataDisks;
18431
18799
  }