@alicloud/oos20190601 1.0.4 → 1.0.6

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.js CHANGED
@@ -195,6 +195,7 @@ class CreateApplicationRequest extends $tea.Model {
195
195
  }
196
196
  static names() {
197
197
  return {
198
+ alarmConfig: 'AlarmConfig',
198
199
  clientToken: 'ClientToken',
199
200
  description: 'Description',
200
201
  name: 'Name',
@@ -205,6 +206,7 @@ class CreateApplicationRequest extends $tea.Model {
205
206
  }
206
207
  static types() {
207
208
  return {
209
+ alarmConfig: CreateApplicationRequestAlarmConfig,
208
210
  clientToken: 'string',
209
211
  description: 'string',
210
212
  name: 'string',
@@ -221,6 +223,7 @@ class CreateApplicationShrinkRequest extends $tea.Model {
221
223
  }
222
224
  static names() {
223
225
  return {
226
+ alarmConfigShrink: 'AlarmConfig',
224
227
  clientToken: 'ClientToken',
225
228
  description: 'Description',
226
229
  name: 'Name',
@@ -231,6 +234,7 @@ class CreateApplicationShrinkRequest extends $tea.Model {
231
234
  }
232
235
  static types() {
233
236
  return {
237
+ alarmConfigShrink: 'string',
234
238
  clientToken: 'string',
235
239
  description: 'string',
236
240
  name: 'string',
@@ -576,25 +580,75 @@ class CreatePatchBaselineRequest extends $tea.Model {
576
580
  static names() {
577
581
  return {
578
582
  approvalRules: 'ApprovalRules',
583
+ approvedPatches: 'ApprovedPatches',
584
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
579
585
  clientToken: 'ClientToken',
580
586
  description: 'Description',
581
587
  name: 'Name',
582
588
  operationSystem: 'OperationSystem',
583
589
  regionId: 'RegionId',
590
+ rejectedPatches: 'RejectedPatches',
591
+ rejectedPatchesAction: 'RejectedPatchesAction',
592
+ sources: 'Sources',
593
+ tags: 'Tags',
584
594
  };
585
595
  }
586
596
  static types() {
587
597
  return {
588
598
  approvalRules: 'string',
599
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
600
+ approvedPatchesEnableNonSecurity: 'boolean',
589
601
  clientToken: 'string',
590
602
  description: 'string',
591
603
  name: 'string',
592
604
  operationSystem: 'string',
593
605
  regionId: 'string',
606
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
607
+ rejectedPatchesAction: 'string',
608
+ sources: { 'type': 'array', 'itemType': 'string' },
609
+ tags: { 'type': 'array', 'itemType': CreatePatchBaselineRequestTags },
594
610
  };
595
611
  }
596
612
  }
597
613
  exports.CreatePatchBaselineRequest = CreatePatchBaselineRequest;
614
+ class CreatePatchBaselineShrinkRequest extends $tea.Model {
615
+ constructor(map) {
616
+ super(map);
617
+ }
618
+ static names() {
619
+ return {
620
+ approvalRules: 'ApprovalRules',
621
+ approvedPatchesShrink: 'ApprovedPatches',
622
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
623
+ clientToken: 'ClientToken',
624
+ description: 'Description',
625
+ name: 'Name',
626
+ operationSystem: 'OperationSystem',
627
+ regionId: 'RegionId',
628
+ rejectedPatchesShrink: 'RejectedPatches',
629
+ rejectedPatchesAction: 'RejectedPatchesAction',
630
+ sourcesShrink: 'Sources',
631
+ tagsShrink: 'Tags',
632
+ };
633
+ }
634
+ static types() {
635
+ return {
636
+ approvalRules: 'string',
637
+ approvedPatchesShrink: 'string',
638
+ approvedPatchesEnableNonSecurity: 'boolean',
639
+ clientToken: 'string',
640
+ description: 'string',
641
+ name: 'string',
642
+ operationSystem: 'string',
643
+ regionId: 'string',
644
+ rejectedPatchesShrink: 'string',
645
+ rejectedPatchesAction: 'string',
646
+ sourcesShrink: 'string',
647
+ tagsShrink: 'string',
648
+ };
649
+ }
650
+ }
651
+ exports.CreatePatchBaselineShrinkRequest = CreatePatchBaselineShrinkRequest;
598
652
  class CreatePatchBaselineResponseBody extends $tea.Model {
599
653
  constructor(map) {
600
654
  super(map);
@@ -1561,6 +1615,7 @@ class GenerateExecutionPolicyRequest extends $tea.Model {
1561
1615
  }
1562
1616
  static names() {
1563
1617
  return {
1618
+ ramRole: 'RamRole',
1564
1619
  regionId: 'RegionId',
1565
1620
  templateName: 'TemplateName',
1566
1621
  templateVersion: 'TemplateVersion',
@@ -1568,6 +1623,7 @@ class GenerateExecutionPolicyRequest extends $tea.Model {
1568
1623
  }
1569
1624
  static types() {
1570
1625
  return {
1626
+ ramRole: 'string',
1571
1627
  regionId: 'string',
1572
1628
  templateName: 'string',
1573
1629
  templateVersion: 'string',
@@ -1581,12 +1637,14 @@ class GenerateExecutionPolicyResponseBody extends $tea.Model {
1581
1637
  }
1582
1638
  static names() {
1583
1639
  return {
1640
+ missingPolicy: 'MissingPolicy',
1584
1641
  policy: 'Policy',
1585
1642
  requestId: 'RequestId',
1586
1643
  };
1587
1644
  }
1588
1645
  static types() {
1589
1646
  return {
1647
+ missingPolicy: 'string',
1590
1648
  policy: 'string',
1591
1649
  requestId: 'string',
1592
1650
  };
@@ -2527,7 +2585,6 @@ class ListApplicationGroupsRequest extends $tea.Model {
2527
2585
  deployRegionId: 'DeployRegionId',
2528
2586
  maxResults: 'MaxResults',
2529
2587
  nextToken: 'NextToken',
2530
- product: 'Product',
2531
2588
  regionId: 'RegionId',
2532
2589
  resourceId: 'ResourceId',
2533
2590
  resourceProduct: 'ResourceProduct',
@@ -2540,7 +2597,6 @@ class ListApplicationGroupsRequest extends $tea.Model {
2540
2597
  deployRegionId: 'string',
2541
2598
  maxResults: 'number',
2542
2599
  nextToken: 'string',
2543
- product: 'string',
2544
2600
  regionId: 'string',
2545
2601
  resourceId: 'string',
2546
2602
  resourceProduct: 'string',
@@ -2597,6 +2653,7 @@ class ListApplicationsRequest extends $tea.Model {
2597
2653
  }
2598
2654
  static names() {
2599
2655
  return {
2656
+ applicationType: 'ApplicationType',
2600
2657
  maxResults: 'MaxResults',
2601
2658
  name: 'Name',
2602
2659
  names: 'Names',
@@ -2607,6 +2664,7 @@ class ListApplicationsRequest extends $tea.Model {
2607
2664
  }
2608
2665
  static types() {
2609
2666
  return {
2667
+ applicationType: 'string',
2610
2668
  maxResults: 'number',
2611
2669
  name: 'string',
2612
2670
  names: 'string',
@@ -2623,6 +2681,7 @@ class ListApplicationsShrinkRequest extends $tea.Model {
2623
2681
  }
2624
2682
  static names() {
2625
2683
  return {
2684
+ applicationType: 'ApplicationType',
2626
2685
  maxResults: 'MaxResults',
2627
2686
  name: 'Name',
2628
2687
  names: 'Names',
@@ -2633,6 +2692,7 @@ class ListApplicationsShrinkRequest extends $tea.Model {
2633
2692
  }
2634
2693
  static types() {
2635
2694
  return {
2695
+ applicationType: 'string',
2636
2696
  maxResults: 'number',
2637
2697
  name: 'string',
2638
2698
  names: 'string',
@@ -2817,7 +2877,10 @@ class ListExecutionsRequest extends $tea.Model {
2817
2877
  }
2818
2878
  static names() {
2819
2879
  return {
2880
+ categories: 'Categories',
2820
2881
  category: 'Category',
2882
+ depth: 'Depth',
2883
+ description: 'Description',
2821
2884
  endDateAfter: 'EndDateAfter',
2822
2885
  endDateBefore: 'EndDateBefore',
2823
2886
  executedBy: 'ExecutedBy',
@@ -2843,7 +2906,10 @@ class ListExecutionsRequest extends $tea.Model {
2843
2906
  }
2844
2907
  static types() {
2845
2908
  return {
2909
+ categories: 'string',
2846
2910
  category: 'string',
2911
+ depth: 'string',
2912
+ description: 'string',
2847
2913
  endDateAfter: 'string',
2848
2914
  endDateBefore: 'string',
2849
2915
  executedBy: 'string',
@@ -2875,7 +2941,10 @@ class ListExecutionsShrinkRequest extends $tea.Model {
2875
2941
  }
2876
2942
  static names() {
2877
2943
  return {
2944
+ categories: 'Categories',
2878
2945
  category: 'Category',
2946
+ depth: 'Depth',
2947
+ description: 'Description',
2879
2948
  endDateAfter: 'EndDateAfter',
2880
2949
  endDateBefore: 'EndDateBefore',
2881
2950
  executedBy: 'ExecutedBy',
@@ -2901,7 +2970,10 @@ class ListExecutionsShrinkRequest extends $tea.Model {
2901
2970
  }
2902
2971
  static types() {
2903
2972
  return {
2973
+ categories: 'string',
2904
2974
  category: 'string',
2975
+ depth: 'string',
2976
+ description: 'string',
2905
2977
  endDateAfter: 'string',
2906
2978
  endDateBefore: 'string',
2907
2979
  executedBy: 'string',
@@ -3364,6 +3436,7 @@ class ListParametersRequest extends $tea.Model {
3364
3436
  recursive: 'Recursive',
3365
3437
  regionId: 'RegionId',
3366
3438
  resourceGroupId: 'ResourceGroupId',
3439
+ shareType: 'ShareType',
3367
3440
  sortField: 'SortField',
3368
3441
  sortOrder: 'SortOrder',
3369
3442
  tags: 'Tags',
@@ -3379,6 +3452,7 @@ class ListParametersRequest extends $tea.Model {
3379
3452
  recursive: 'boolean',
3380
3453
  regionId: 'string',
3381
3454
  resourceGroupId: 'string',
3455
+ shareType: 'string',
3382
3456
  sortField: 'string',
3383
3457
  sortOrder: 'string',
3384
3458
  tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -3400,6 +3474,7 @@ class ListParametersShrinkRequest extends $tea.Model {
3400
3474
  recursive: 'Recursive',
3401
3475
  regionId: 'RegionId',
3402
3476
  resourceGroupId: 'ResourceGroupId',
3477
+ shareType: 'ShareType',
3403
3478
  sortField: 'SortField',
3404
3479
  sortOrder: 'SortOrder',
3405
3480
  tagsShrink: 'Tags',
@@ -3415,6 +3490,7 @@ class ListParametersShrinkRequest extends $tea.Model {
3415
3490
  recursive: 'boolean',
3416
3491
  regionId: 'string',
3417
3492
  resourceGroupId: 'string',
3493
+ shareType: 'string',
3418
3494
  sortField: 'string',
3419
3495
  sortOrder: 'string',
3420
3496
  tagsShrink: 'string',
@@ -3473,26 +3549,68 @@ class ListPatchBaselinesRequest extends $tea.Model {
3473
3549
  }
3474
3550
  static names() {
3475
3551
  return {
3552
+ approvedPatches: 'ApprovedPatches',
3553
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
3476
3554
  maxResults: 'MaxResults',
3477
3555
  name: 'Name',
3478
3556
  nextToken: 'NextToken',
3479
3557
  operationSystem: 'OperationSystem',
3480
3558
  regionId: 'RegionId',
3481
3559
  shareType: 'ShareType',
3560
+ sources: 'Sources',
3561
+ tags: 'Tags',
3482
3562
  };
3483
3563
  }
3484
3564
  static types() {
3485
3565
  return {
3566
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
3567
+ approvedPatchesEnableNonSecurity: 'boolean',
3486
3568
  maxResults: 'number',
3487
3569
  name: 'string',
3488
3570
  nextToken: 'string',
3489
3571
  operationSystem: 'string',
3490
3572
  regionId: 'string',
3491
3573
  shareType: 'string',
3574
+ sources: { 'type': 'array', 'itemType': 'string' },
3575
+ tags: { 'type': 'array', 'itemType': ListPatchBaselinesRequestTags },
3492
3576
  };
3493
3577
  }
3494
3578
  }
3495
3579
  exports.ListPatchBaselinesRequest = ListPatchBaselinesRequest;
3580
+ class ListPatchBaselinesShrinkRequest extends $tea.Model {
3581
+ constructor(map) {
3582
+ super(map);
3583
+ }
3584
+ static names() {
3585
+ return {
3586
+ approvedPatchesShrink: 'ApprovedPatches',
3587
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
3588
+ maxResults: 'MaxResults',
3589
+ name: 'Name',
3590
+ nextToken: 'NextToken',
3591
+ operationSystem: 'OperationSystem',
3592
+ regionId: 'RegionId',
3593
+ shareType: 'ShareType',
3594
+ sourcesShrink: 'Sources',
3595
+ tagsShrink: 'Tags',
3596
+ };
3597
+ }
3598
+ static types() {
3599
+ return {
3600
+ approvedPatchesShrink: 'string',
3601
+ approvedPatchesEnableNonSecurity: 'boolean',
3602
+ maxResults: 'number',
3603
+ name: 'string',
3604
+ nextToken: 'string',
3605
+ operationSystem: 'string',
3606
+ regionId: 'string',
3607
+ shareType: 'string',
3608
+ sourcesShrink: 'string',
3609
+ tagsShrink: 'string',
3610
+ };
3611
+ }
3612
+ }
3613
+ exports.ListPatchBaselinesShrinkRequest = ListPatchBaselinesShrinkRequest;
3496
3614
  class ListPatchBaselinesResponseBody extends $tea.Model {
3497
3615
  constructor(map) {
3498
3616
  super(map);
@@ -5007,6 +5125,8 @@ class UpdateApplicationRequest extends $tea.Model {
5007
5125
  }
5008
5126
  static names() {
5009
5127
  return {
5128
+ alarmConfig: 'AlarmConfig',
5129
+ deleteAlarmRulesBeforeUpdate: 'DeleteAlarmRulesBeforeUpdate',
5010
5130
  description: 'Description',
5011
5131
  name: 'Name',
5012
5132
  regionId: 'RegionId',
@@ -5015,6 +5135,8 @@ class UpdateApplicationRequest extends $tea.Model {
5015
5135
  }
5016
5136
  static types() {
5017
5137
  return {
5138
+ alarmConfig: UpdateApplicationRequestAlarmConfig,
5139
+ deleteAlarmRulesBeforeUpdate: 'boolean',
5018
5140
  description: 'string',
5019
5141
  name: 'string',
5020
5142
  regionId: 'string',
@@ -5029,6 +5151,8 @@ class UpdateApplicationShrinkRequest extends $tea.Model {
5029
5151
  }
5030
5152
  static names() {
5031
5153
  return {
5154
+ alarmConfigShrink: 'AlarmConfig',
5155
+ deleteAlarmRulesBeforeUpdate: 'DeleteAlarmRulesBeforeUpdate',
5032
5156
  description: 'Description',
5033
5157
  name: 'Name',
5034
5158
  regionId: 'RegionId',
@@ -5037,6 +5161,8 @@ class UpdateApplicationShrinkRequest extends $tea.Model {
5037
5161
  }
5038
5162
  static types() {
5039
5163
  return {
5164
+ alarmConfigShrink: 'string',
5165
+ deleteAlarmRulesBeforeUpdate: 'boolean',
5040
5166
  description: 'string',
5041
5167
  name: 'string',
5042
5168
  regionId: 'string',
@@ -5150,6 +5276,7 @@ class UpdateExecutionRequest extends $tea.Model {
5150
5276
  static names() {
5151
5277
  return {
5152
5278
  clientToken: 'ClientToken',
5279
+ description: 'Description',
5153
5280
  executionId: 'ExecutionId',
5154
5281
  parameters: 'Parameters',
5155
5282
  regionId: 'RegionId',
@@ -5158,6 +5285,7 @@ class UpdateExecutionRequest extends $tea.Model {
5158
5285
  static types() {
5159
5286
  return {
5160
5287
  clientToken: 'string',
5288
+ description: 'string',
5161
5289
  executionId: 'string',
5162
5290
  parameters: 'string',
5163
5291
  regionId: 'string',
@@ -5398,23 +5526,71 @@ class UpdatePatchBaselineRequest extends $tea.Model {
5398
5526
  static names() {
5399
5527
  return {
5400
5528
  approvalRules: 'ApprovalRules',
5529
+ approvedPatches: 'ApprovedPatches',
5530
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
5401
5531
  clientToken: 'ClientToken',
5402
5532
  description: 'Description',
5403
5533
  name: 'Name',
5404
5534
  regionId: 'RegionId',
5535
+ rejectedPatches: 'RejectedPatches',
5536
+ rejectedPatchesAction: 'RejectedPatchesAction',
5537
+ sources: 'Sources',
5538
+ tags: 'Tags',
5405
5539
  };
5406
5540
  }
5407
5541
  static types() {
5408
5542
  return {
5409
5543
  approvalRules: 'string',
5544
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
5545
+ approvedPatchesEnableNonSecurity: 'boolean',
5410
5546
  clientToken: 'string',
5411
5547
  description: 'string',
5412
5548
  name: 'string',
5413
5549
  regionId: 'string',
5550
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
5551
+ rejectedPatchesAction: 'string',
5552
+ sources: { 'type': 'array', 'itemType': 'string' },
5553
+ tags: { 'type': 'array', 'itemType': UpdatePatchBaselineRequestTags },
5414
5554
  };
5415
5555
  }
5416
5556
  }
5417
5557
  exports.UpdatePatchBaselineRequest = UpdatePatchBaselineRequest;
5558
+ class UpdatePatchBaselineShrinkRequest extends $tea.Model {
5559
+ constructor(map) {
5560
+ super(map);
5561
+ }
5562
+ static names() {
5563
+ return {
5564
+ approvalRules: 'ApprovalRules',
5565
+ approvedPatchesShrink: 'ApprovedPatches',
5566
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
5567
+ clientToken: 'ClientToken',
5568
+ description: 'Description',
5569
+ name: 'Name',
5570
+ regionId: 'RegionId',
5571
+ rejectedPatchesShrink: 'RejectedPatches',
5572
+ rejectedPatchesAction: 'RejectedPatchesAction',
5573
+ sourcesShrink: 'Sources',
5574
+ tagsShrink: 'Tags',
5575
+ };
5576
+ }
5577
+ static types() {
5578
+ return {
5579
+ approvalRules: 'string',
5580
+ approvedPatchesShrink: 'string',
5581
+ approvedPatchesEnableNonSecurity: 'boolean',
5582
+ clientToken: 'string',
5583
+ description: 'string',
5584
+ name: 'string',
5585
+ regionId: 'string',
5586
+ rejectedPatchesShrink: 'string',
5587
+ rejectedPatchesAction: 'string',
5588
+ sourcesShrink: 'string',
5589
+ tagsShrink: 'string',
5590
+ };
5591
+ }
5592
+ }
5593
+ exports.UpdatePatchBaselineShrinkRequest = UpdatePatchBaselineShrinkRequest;
5418
5594
  class UpdatePatchBaselineResponseBody extends $tea.Model {
5419
5595
  constructor(map) {
5420
5596
  super(map);
@@ -5807,6 +5983,26 @@ class ValidateTemplateContentResponse extends $tea.Model {
5807
5983
  }
5808
5984
  }
5809
5985
  exports.ValidateTemplateContentResponse = ValidateTemplateContentResponse;
5986
+ class CreateApplicationRequestAlarmConfig extends $tea.Model {
5987
+ constructor(map) {
5988
+ super(map);
5989
+ }
5990
+ static names() {
5991
+ return {
5992
+ contactGroups: 'ContactGroups',
5993
+ healthCheckUrl: 'HealthCheckUrl',
5994
+ templateIds: 'TemplateIds',
5995
+ };
5996
+ }
5997
+ static types() {
5998
+ return {
5999
+ contactGroups: { 'type': 'array', 'itemType': 'string' },
6000
+ healthCheckUrl: 'string',
6001
+ templateIds: { 'type': 'array', 'itemType': 'string' },
6002
+ };
6003
+ }
6004
+ }
6005
+ exports.CreateApplicationRequestAlarmConfig = CreateApplicationRequestAlarmConfig;
5810
6006
  class CreateApplicationResponseBodyApplication extends $tea.Model {
5811
6007
  constructor(map) {
5812
6008
  super(map);
@@ -5951,6 +6147,42 @@ class CreateParameterResponseBodyParameter extends $tea.Model {
5951
6147
  }
5952
6148
  }
5953
6149
  exports.CreateParameterResponseBodyParameter = CreateParameterResponseBodyParameter;
6150
+ class CreatePatchBaselineRequestTags extends $tea.Model {
6151
+ constructor(map) {
6152
+ super(map);
6153
+ }
6154
+ static names() {
6155
+ return {
6156
+ key: 'Key',
6157
+ value: 'Value',
6158
+ };
6159
+ }
6160
+ static types() {
6161
+ return {
6162
+ key: 'string',
6163
+ value: 'string',
6164
+ };
6165
+ }
6166
+ }
6167
+ exports.CreatePatchBaselineRequestTags = CreatePatchBaselineRequestTags;
6168
+ class CreatePatchBaselineResponseBodyPatchBaselineTags extends $tea.Model {
6169
+ constructor(map) {
6170
+ super(map);
6171
+ }
6172
+ static names() {
6173
+ return {
6174
+ tagKey: 'TagKey',
6175
+ tagValue: 'TagValue',
6176
+ };
6177
+ }
6178
+ static types() {
6179
+ return {
6180
+ tagKey: 'string',
6181
+ tagValue: 'string',
6182
+ };
6183
+ }
6184
+ }
6185
+ exports.CreatePatchBaselineResponseBodyPatchBaselineTags = CreatePatchBaselineResponseBodyPatchBaselineTags;
5954
6186
  class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
5955
6187
  constructor(map) {
5956
6188
  super(map);
@@ -5958,13 +6190,19 @@ class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
5958
6190
  static names() {
5959
6191
  return {
5960
6192
  approvalRules: 'ApprovalRules',
6193
+ approvedPatches: 'ApprovedPatches',
6194
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
5961
6195
  createdBy: 'CreatedBy',
5962
6196
  createdDate: 'CreatedDate',
5963
6197
  description: 'Description',
5964
6198
  id: 'Id',
5965
6199
  name: 'Name',
5966
6200
  operationSystem: 'OperationSystem',
6201
+ rejectedPatches: 'RejectedPatches',
6202
+ rejectedPatchesAction: 'RejectedPatchesAction',
5967
6203
  shareType: 'ShareType',
6204
+ sources: 'Sources',
6205
+ tags: 'Tags',
5968
6206
  updatedBy: 'UpdatedBy',
5969
6207
  updatedDate: 'UpdatedDate',
5970
6208
  };
@@ -5972,13 +6210,19 @@ class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
5972
6210
  static types() {
5973
6211
  return {
5974
6212
  approvalRules: 'string',
6213
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
6214
+ approvedPatchesEnableNonSecurity: 'boolean',
5975
6215
  createdBy: 'string',
5976
6216
  createdDate: 'string',
5977
6217
  description: 'string',
5978
6218
  id: 'string',
5979
6219
  name: 'string',
5980
6220
  operationSystem: 'string',
6221
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
6222
+ rejectedPatchesAction: 'string',
5981
6223
  shareType: 'string',
6224
+ sources: { 'type': 'array', 'itemType': 'string' },
6225
+ tags: { 'type': 'array', 'itemType': CreatePatchBaselineResponseBodyPatchBaselineTags },
5982
6226
  updatedBy: 'string',
5983
6227
  updatedDate: 'string',
5984
6228
  };
@@ -6129,12 +6373,34 @@ class DescribeRegionsResponseBodyRegions extends $tea.Model {
6129
6373
  }
6130
6374
  }
6131
6375
  exports.DescribeRegionsResponseBodyRegions = DescribeRegionsResponseBodyRegions;
6376
+ class GetApplicationResponseBodyApplicationAlarmConfig extends $tea.Model {
6377
+ constructor(map) {
6378
+ super(map);
6379
+ }
6380
+ static names() {
6381
+ return {
6382
+ contactGroups: 'ContactGroups',
6383
+ healthCheckUrl: 'HealthCheckUrl',
6384
+ templateIds: 'TemplateIds',
6385
+ };
6386
+ }
6387
+ static types() {
6388
+ return {
6389
+ contactGroups: { 'type': 'array', 'itemType': 'string' },
6390
+ healthCheckUrl: 'string',
6391
+ templateIds: { 'type': 'array', 'itemType': 'string' },
6392
+ };
6393
+ }
6394
+ }
6395
+ exports.GetApplicationResponseBodyApplicationAlarmConfig = GetApplicationResponseBodyApplicationAlarmConfig;
6132
6396
  class GetApplicationResponseBodyApplication extends $tea.Model {
6133
6397
  constructor(map) {
6134
6398
  super(map);
6135
6399
  }
6136
6400
  static names() {
6137
6401
  return {
6402
+ alarmConfig: 'AlarmConfig',
6403
+ applicationType: 'ApplicationType',
6138
6404
  createDate: 'CreateDate',
6139
6405
  description: 'Description',
6140
6406
  name: 'Name',
@@ -6145,6 +6411,8 @@ class GetApplicationResponseBodyApplication extends $tea.Model {
6145
6411
  }
6146
6412
  static types() {
6147
6413
  return {
6414
+ alarmConfig: GetApplicationResponseBodyApplicationAlarmConfig,
6415
+ applicationType: 'string',
6148
6416
  createDate: 'string',
6149
6417
  description: 'string',
6150
6418
  name: 'string',
@@ -6421,6 +6689,7 @@ class GetParametersByPathResponseBodyParameters extends $tea.Model {
6421
6689
  name: 'Name',
6422
6690
  parameterVersion: 'ParameterVersion',
6423
6691
  shareType: 'ShareType',
6692
+ tags: 'Tags',
6424
6693
  type: 'Type',
6425
6694
  updatedBy: 'UpdatedBy',
6426
6695
  updatedDate: 'UpdatedDate',
@@ -6437,6 +6706,7 @@ class GetParametersByPathResponseBodyParameters extends $tea.Model {
6437
6706
  name: 'string',
6438
6707
  parameterVersion: 'number',
6439
6708
  shareType: 'string',
6709
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6440
6710
  type: 'string',
6441
6711
  updatedBy: 'string',
6442
6712
  updatedDate: 'string',
@@ -6445,6 +6715,24 @@ class GetParametersByPathResponseBodyParameters extends $tea.Model {
6445
6715
  }
6446
6716
  }
6447
6717
  exports.GetParametersByPathResponseBodyParameters = GetParametersByPathResponseBodyParameters;
6718
+ class GetPatchBaselineResponseBodyPatchBaselineTags extends $tea.Model {
6719
+ constructor(map) {
6720
+ super(map);
6721
+ }
6722
+ static names() {
6723
+ return {
6724
+ tagKey: 'TagKey',
6725
+ tagValue: 'TagValue',
6726
+ };
6727
+ }
6728
+ static types() {
6729
+ return {
6730
+ tagKey: 'string',
6731
+ tagValue: 'string',
6732
+ };
6733
+ }
6734
+ }
6735
+ exports.GetPatchBaselineResponseBodyPatchBaselineTags = GetPatchBaselineResponseBodyPatchBaselineTags;
6448
6736
  class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
6449
6737
  constructor(map) {
6450
6738
  super(map);
@@ -6452,6 +6740,8 @@ class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
6452
6740
  static names() {
6453
6741
  return {
6454
6742
  approvalRules: 'ApprovalRules',
6743
+ approvedPatches: 'ApprovedPatches',
6744
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
6455
6745
  createdBy: 'CreatedBy',
6456
6746
  createdDate: 'CreatedDate',
6457
6747
  description: 'Description',
@@ -6459,7 +6749,11 @@ class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
6459
6749
  isDefault: 'IsDefault',
6460
6750
  name: 'Name',
6461
6751
  operationSystem: 'OperationSystem',
6752
+ rejectedPatches: 'RejectedPatches',
6753
+ rejectedPatchesAction: 'RejectedPatchesAction',
6462
6754
  shareType: 'ShareType',
6755
+ sources: 'Sources',
6756
+ tags: 'Tags',
6463
6757
  updatedBy: 'UpdatedBy',
6464
6758
  updatedDate: 'UpdatedDate',
6465
6759
  };
@@ -6467,6 +6761,8 @@ class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
6467
6761
  static types() {
6468
6762
  return {
6469
6763
  approvalRules: 'string',
6764
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
6765
+ approvedPatchesEnableNonSecurity: 'boolean',
6470
6766
  createdBy: 'string',
6471
6767
  createdDate: 'string',
6472
6768
  description: 'string',
@@ -6474,7 +6770,11 @@ class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
6474
6770
  isDefault: 'boolean',
6475
6771
  name: 'string',
6476
6772
  operationSystem: 'string',
6773
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
6774
+ rejectedPatchesAction: 'string',
6477
6775
  shareType: 'string',
6776
+ sources: { 'type': 'array', 'itemType': 'string' },
6777
+ tags: { 'type': 'array', 'itemType': GetPatchBaselineResponseBodyPatchBaselineTags },
6478
6778
  updatedBy: 'string',
6479
6779
  updatedDate: 'string',
6480
6780
  };
@@ -6753,6 +7053,7 @@ class ListApplicationsResponseBodyApplications extends $tea.Model {
6753
7053
  }
6754
7054
  static names() {
6755
7055
  return {
7056
+ applicationType: 'ApplicationType',
6756
7057
  createDate: 'CreateDate',
6757
7058
  description: 'Description',
6758
7059
  name: 'Name',
@@ -6763,6 +7064,7 @@ class ListApplicationsResponseBodyApplications extends $tea.Model {
6763
7064
  }
6764
7065
  static types() {
6765
7066
  return {
7067
+ applicationType: 'string',
6766
7068
  createDate: 'string',
6767
7069
  description: 'string',
6768
7070
  name: 'string',
@@ -6853,7 +7155,9 @@ class ListExecutionsResponseBodyExecutions extends $tea.Model {
6853
7155
  executionId: 'ExecutionId',
6854
7156
  isParent: 'IsParent',
6855
7157
  lastSuccessfulTriggerTime: 'LastSuccessfulTriggerTime',
7158
+ lastTriggerOutputs: 'LastTriggerOutputs',
6856
7159
  lastTriggerStatus: 'LastTriggerStatus',
7160
+ lastTriggerStatusMessage: 'LastTriggerStatusMessage',
6857
7161
  lastTriggerTime: 'LastTriggerTime',
6858
7162
  mode: 'Mode',
6859
7163
  outputs: 'Outputs',
@@ -6888,7 +7192,9 @@ class ListExecutionsResponseBodyExecutions extends $tea.Model {
6888
7192
  executionId: 'string',
6889
7193
  isParent: 'boolean',
6890
7194
  lastSuccessfulTriggerTime: 'string',
7195
+ lastTriggerOutputs: 'string',
6891
7196
  lastTriggerStatus: 'string',
7197
+ lastTriggerStatusMessage: 'string',
6892
7198
  lastTriggerTime: 'string',
6893
7199
  mode: 'string',
6894
7200
  outputs: 'string',
@@ -7135,12 +7441,50 @@ class ListParametersResponseBodyParameters extends $tea.Model {
7135
7441
  }
7136
7442
  }
7137
7443
  exports.ListParametersResponseBodyParameters = ListParametersResponseBodyParameters;
7444
+ class ListPatchBaselinesRequestTags extends $tea.Model {
7445
+ constructor(map) {
7446
+ super(map);
7447
+ }
7448
+ static names() {
7449
+ return {
7450
+ key: 'Key',
7451
+ value: 'Value',
7452
+ };
7453
+ }
7454
+ static types() {
7455
+ return {
7456
+ key: 'string',
7457
+ value: 'string',
7458
+ };
7459
+ }
7460
+ }
7461
+ exports.ListPatchBaselinesRequestTags = ListPatchBaselinesRequestTags;
7462
+ class ListPatchBaselinesResponseBodyPatchBaselinesTags extends $tea.Model {
7463
+ constructor(map) {
7464
+ super(map);
7465
+ }
7466
+ static names() {
7467
+ return {
7468
+ tagKey: 'TagKey',
7469
+ tagValue: 'TagValue',
7470
+ };
7471
+ }
7472
+ static types() {
7473
+ return {
7474
+ tagKey: 'string',
7475
+ tagValue: 'string',
7476
+ };
7477
+ }
7478
+ }
7479
+ exports.ListPatchBaselinesResponseBodyPatchBaselinesTags = ListPatchBaselinesResponseBodyPatchBaselinesTags;
7138
7480
  class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
7139
7481
  constructor(map) {
7140
7482
  super(map);
7141
7483
  }
7142
7484
  static names() {
7143
7485
  return {
7486
+ approvedPatches: 'ApprovedPatches',
7487
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
7144
7488
  createdBy: 'CreatedBy',
7145
7489
  createdDate: 'CreatedDate',
7146
7490
  description: 'Description',
@@ -7149,12 +7493,16 @@ class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
7149
7493
  name: 'Name',
7150
7494
  operationSystem: 'OperationSystem',
7151
7495
  shareType: 'ShareType',
7496
+ sources: 'Sources',
7497
+ tags: 'Tags',
7152
7498
  updatedBy: 'UpdatedBy',
7153
7499
  updatedDate: 'UpdatedDate',
7154
7500
  };
7155
7501
  }
7156
7502
  static types() {
7157
7503
  return {
7504
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
7505
+ approvedPatchesEnableNonSecurity: 'boolean',
7158
7506
  createdBy: 'string',
7159
7507
  createdDate: 'string',
7160
7508
  description: 'string',
@@ -7163,6 +7511,8 @@ class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
7163
7511
  name: 'string',
7164
7512
  operationSystem: 'string',
7165
7513
  shareType: 'string',
7514
+ sources: { 'type': 'array', 'itemType': 'string' },
7515
+ tags: { 'type': 'array', 'itemType': ListPatchBaselinesResponseBodyPatchBaselinesTags },
7166
7516
  updatedBy: 'string',
7167
7517
  updatedDate: 'string',
7168
7518
  };
@@ -7625,6 +7975,26 @@ class StartExecutionResponseBodyExecution extends $tea.Model {
7625
7975
  }
7626
7976
  }
7627
7977
  exports.StartExecutionResponseBodyExecution = StartExecutionResponseBodyExecution;
7978
+ class UpdateApplicationRequestAlarmConfig extends $tea.Model {
7979
+ constructor(map) {
7980
+ super(map);
7981
+ }
7982
+ static names() {
7983
+ return {
7984
+ contactGroups: 'ContactGroups',
7985
+ healthCheckUrl: 'HealthCheckUrl',
7986
+ templateIds: 'TemplateIds',
7987
+ };
7988
+ }
7989
+ static types() {
7990
+ return {
7991
+ contactGroups: { 'type': 'array', 'itemType': 'string' },
7992
+ healthCheckUrl: 'string',
7993
+ templateIds: { 'type': 'array', 'itemType': 'string' },
7994
+ };
7995
+ }
7996
+ }
7997
+ exports.UpdateApplicationRequestAlarmConfig = UpdateApplicationRequestAlarmConfig;
7628
7998
  class UpdateApplicationResponseBodyApplication extends $tea.Model {
7629
7999
  constructor(map) {
7630
8000
  super(map);
@@ -7769,6 +8139,42 @@ class UpdateParameterResponseBodyParameter extends $tea.Model {
7769
8139
  }
7770
8140
  }
7771
8141
  exports.UpdateParameterResponseBodyParameter = UpdateParameterResponseBodyParameter;
8142
+ class UpdatePatchBaselineRequestTags extends $tea.Model {
8143
+ constructor(map) {
8144
+ super(map);
8145
+ }
8146
+ static names() {
8147
+ return {
8148
+ key: 'Key',
8149
+ value: 'Value',
8150
+ };
8151
+ }
8152
+ static types() {
8153
+ return {
8154
+ key: 'string',
8155
+ value: 'string',
8156
+ };
8157
+ }
8158
+ }
8159
+ exports.UpdatePatchBaselineRequestTags = UpdatePatchBaselineRequestTags;
8160
+ class UpdatePatchBaselineResponseBodyPatchBaselineTags extends $tea.Model {
8161
+ constructor(map) {
8162
+ super(map);
8163
+ }
8164
+ static names() {
8165
+ return {
8166
+ tagKey: 'TagKey',
8167
+ tagValue: 'TagValue',
8168
+ };
8169
+ }
8170
+ static types() {
8171
+ return {
8172
+ tagKey: 'string',
8173
+ tagValue: 'string',
8174
+ };
8175
+ }
8176
+ }
8177
+ exports.UpdatePatchBaselineResponseBodyPatchBaselineTags = UpdatePatchBaselineResponseBodyPatchBaselineTags;
7772
8178
  class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7773
8179
  constructor(map) {
7774
8180
  super(map);
@@ -7776,13 +8182,19 @@ class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7776
8182
  static names() {
7777
8183
  return {
7778
8184
  approvalRules: 'ApprovalRules',
8185
+ approvedPatches: 'ApprovedPatches',
8186
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
7779
8187
  createdBy: 'CreatedBy',
7780
8188
  createdDate: 'CreatedDate',
7781
8189
  description: 'Description',
7782
8190
  id: 'Id',
7783
8191
  name: 'Name',
7784
8192
  operationSystem: 'OperationSystem',
8193
+ rejectedPatches: 'RejectedPatches',
8194
+ rejectedPatchesAction: 'RejectedPatchesAction',
7785
8195
  shareType: 'ShareType',
8196
+ sources: 'Sources',
8197
+ tags: 'Tags',
7786
8198
  updatedBy: 'UpdatedBy',
7787
8199
  updatedDate: 'UpdatedDate',
7788
8200
  };
@@ -7790,13 +8202,19 @@ class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7790
8202
  static types() {
7791
8203
  return {
7792
8204
  approvalRules: 'string',
8205
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
8206
+ approvedPatchesEnableNonSecurity: 'boolean',
7793
8207
  createdBy: 'string',
7794
8208
  createdDate: 'string',
7795
8209
  description: 'string',
7796
8210
  id: 'string',
7797
8211
  name: 'string',
7798
8212
  operationSystem: 'string',
8213
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
8214
+ rejectedPatchesAction: 'string',
7799
8215
  shareType: 'string',
8216
+ sources: { 'type': 'array', 'itemType': 'string' },
8217
+ tags: { 'type': 'array', 'itemType': UpdatePatchBaselineResponseBodyPatchBaselineTags },
7800
8218
  updatedBy: 'string',
7801
8219
  updatedDate: 'string',
7802
8220
  };
@@ -8072,10 +8490,16 @@ class Client extends openapi_client_1.default {
8072
8490
  tea_util_1.default.validateModel(tmpReq);
8073
8491
  let request = new CreateApplicationShrinkRequest({});
8074
8492
  openapi_util_1.default.convert(tmpReq, request);
8493
+ if (!tea_util_1.default.isUnset(tmpReq.alarmConfig)) {
8494
+ request.alarmConfigShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.alarmConfig, "AlarmConfig", "json");
8495
+ }
8075
8496
  if (!tea_util_1.default.isUnset(tmpReq.tags)) {
8076
8497
  request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
8077
8498
  }
8078
8499
  let query = {};
8500
+ if (!tea_util_1.default.isUnset(request.alarmConfigShrink)) {
8501
+ query["AlarmConfig"] = request.alarmConfigShrink;
8502
+ }
8079
8503
  if (!tea_util_1.default.isUnset(request.clientToken)) {
8080
8504
  query["ClientToken"] = request.clientToken;
8081
8505
  }
@@ -8286,12 +8710,32 @@ class Client extends openapi_client_1.default {
8286
8710
  let runtime = new $Util.RuntimeOptions({});
8287
8711
  return await this.createParameterWithOptions(request, runtime);
8288
8712
  }
8289
- async createPatchBaselineWithOptions(request, runtime) {
8290
- tea_util_1.default.validateModel(request);
8713
+ async createPatchBaselineWithOptions(tmpReq, runtime) {
8714
+ tea_util_1.default.validateModel(tmpReq);
8715
+ let request = new CreatePatchBaselineShrinkRequest({});
8716
+ openapi_util_1.default.convert(tmpReq, request);
8717
+ if (!tea_util_1.default.isUnset(tmpReq.approvedPatches)) {
8718
+ request.approvedPatchesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.approvedPatches, "ApprovedPatches", "json");
8719
+ }
8720
+ if (!tea_util_1.default.isUnset(tmpReq.rejectedPatches)) {
8721
+ request.rejectedPatchesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rejectedPatches, "RejectedPatches", "json");
8722
+ }
8723
+ if (!tea_util_1.default.isUnset(tmpReq.sources)) {
8724
+ request.sourcesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sources, "Sources", "json");
8725
+ }
8726
+ if (!tea_util_1.default.isUnset(tmpReq.tags)) {
8727
+ request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
8728
+ }
8291
8729
  let query = {};
8292
8730
  if (!tea_util_1.default.isUnset(request.approvalRules)) {
8293
8731
  query["ApprovalRules"] = request.approvalRules;
8294
8732
  }
8733
+ if (!tea_util_1.default.isUnset(request.approvedPatchesShrink)) {
8734
+ query["ApprovedPatches"] = request.approvedPatchesShrink;
8735
+ }
8736
+ if (!tea_util_1.default.isUnset(request.approvedPatchesEnableNonSecurity)) {
8737
+ query["ApprovedPatchesEnableNonSecurity"] = request.approvedPatchesEnableNonSecurity;
8738
+ }
8295
8739
  if (!tea_util_1.default.isUnset(request.clientToken)) {
8296
8740
  query["ClientToken"] = request.clientToken;
8297
8741
  }
@@ -8307,6 +8751,18 @@ class Client extends openapi_client_1.default {
8307
8751
  if (!tea_util_1.default.isUnset(request.regionId)) {
8308
8752
  query["RegionId"] = request.regionId;
8309
8753
  }
8754
+ if (!tea_util_1.default.isUnset(request.rejectedPatchesShrink)) {
8755
+ query["RejectedPatches"] = request.rejectedPatchesShrink;
8756
+ }
8757
+ if (!tea_util_1.default.isUnset(request.rejectedPatchesAction)) {
8758
+ query["RejectedPatchesAction"] = request.rejectedPatchesAction;
8759
+ }
8760
+ if (!tea_util_1.default.isUnset(request.sourcesShrink)) {
8761
+ query["Sources"] = request.sourcesShrink;
8762
+ }
8763
+ if (!tea_util_1.default.isUnset(request.tagsShrink)) {
8764
+ query["Tags"] = request.tagsShrink;
8765
+ }
8310
8766
  let req = new $OpenApi.OpenApiRequest({
8311
8767
  query: openapi_util_1.default.query(query),
8312
8768
  });
@@ -8838,6 +9294,9 @@ class Client extends openapi_client_1.default {
8838
9294
  async generateExecutionPolicyWithOptions(request, runtime) {
8839
9295
  tea_util_1.default.validateModel(request);
8840
9296
  let query = {};
9297
+ if (!tea_util_1.default.isUnset(request.ramRole)) {
9298
+ query["RamRole"] = request.ramRole;
9299
+ }
8841
9300
  if (!tea_util_1.default.isUnset(request.regionId)) {
8842
9301
  query["RegionId"] = request.regionId;
8843
9302
  }
@@ -9371,9 +9830,6 @@ class Client extends openapi_client_1.default {
9371
9830
  if (!tea_util_1.default.isUnset(request.nextToken)) {
9372
9831
  query["NextToken"] = request.nextToken;
9373
9832
  }
9374
- if (!tea_util_1.default.isUnset(request.product)) {
9375
- query["Product"] = request.product;
9376
- }
9377
9833
  if (!tea_util_1.default.isUnset(request.regionId)) {
9378
9834
  query["RegionId"] = request.regionId;
9379
9835
  }
@@ -9414,6 +9870,9 @@ class Client extends openapi_client_1.default {
9414
9870
  request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
9415
9871
  }
9416
9872
  let query = {};
9873
+ if (!tea_util_1.default.isUnset(request.applicationType)) {
9874
+ query["ApplicationType"] = request.applicationType;
9875
+ }
9417
9876
  if (!tea_util_1.default.isUnset(request.maxResults)) {
9418
9877
  query["MaxResults"] = request.maxResults;
9419
9878
  }
@@ -9452,6 +9911,13 @@ class Client extends openapi_client_1.default {
9452
9911
  let runtime = new $Util.RuntimeOptions({});
9453
9912
  return await this.listApplicationsWithOptions(request, runtime);
9454
9913
  }
9914
+ /**
9915
+ * ****
9916
+ *
9917
+ * @param request ListExecutionLogsRequest
9918
+ * @param runtime runtime options for this request RuntimeOptions
9919
+ * @return ListExecutionLogsResponse
9920
+ */
9455
9921
  async listExecutionLogsWithOptions(request, runtime) {
9456
9922
  tea_util_1.default.validateModel(request);
9457
9923
  let query = {};
@@ -9489,6 +9955,12 @@ class Client extends openapi_client_1.default {
9489
9955
  });
9490
9956
  return $tea.cast(await this.callApi(params, req, runtime), new ListExecutionLogsResponse({}));
9491
9957
  }
9958
+ /**
9959
+ * ****
9960
+ *
9961
+ * @param request ListExecutionLogsRequest
9962
+ * @return ListExecutionLogsResponse
9963
+ */
9492
9964
  async listExecutionLogs(request) {
9493
9965
  let runtime = new $Util.RuntimeOptions({});
9494
9966
  return await this.listExecutionLogsWithOptions(request, runtime);
@@ -9530,9 +10002,18 @@ class Client extends openapi_client_1.default {
9530
10002
  request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
9531
10003
  }
9532
10004
  let query = {};
10005
+ if (!tea_util_1.default.isUnset(request.categories)) {
10006
+ query["Categories"] = request.categories;
10007
+ }
9533
10008
  if (!tea_util_1.default.isUnset(request.category)) {
9534
10009
  query["Category"] = request.category;
9535
10010
  }
10011
+ if (!tea_util_1.default.isUnset(request.depth)) {
10012
+ query["Depth"] = request.depth;
10013
+ }
10014
+ if (!tea_util_1.default.isUnset(request.description)) {
10015
+ query["Description"] = request.description;
10016
+ }
9536
10017
  if (!tea_util_1.default.isUnset(request.endDateAfter)) {
9537
10018
  query["EndDateAfter"] = request.endDateAfter;
9538
10019
  }
@@ -9846,6 +10327,9 @@ class Client extends openapi_client_1.default {
9846
10327
  if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
9847
10328
  query["ResourceGroupId"] = request.resourceGroupId;
9848
10329
  }
10330
+ if (!tea_util_1.default.isUnset(request.shareType)) {
10331
+ query["ShareType"] = request.shareType;
10332
+ }
9849
10333
  if (!tea_util_1.default.isUnset(request.sortField)) {
9850
10334
  query["SortField"] = request.sortField;
9851
10335
  }
@@ -9878,9 +10362,26 @@ class Client extends openapi_client_1.default {
9878
10362
  let runtime = new $Util.RuntimeOptions({});
9879
10363
  return await this.listParametersWithOptions(request, runtime);
9880
10364
  }
9881
- async listPatchBaselinesWithOptions(request, runtime) {
9882
- tea_util_1.default.validateModel(request);
10365
+ async listPatchBaselinesWithOptions(tmpReq, runtime) {
10366
+ tea_util_1.default.validateModel(tmpReq);
10367
+ let request = new ListPatchBaselinesShrinkRequest({});
10368
+ openapi_util_1.default.convert(tmpReq, request);
10369
+ if (!tea_util_1.default.isUnset(tmpReq.approvedPatches)) {
10370
+ request.approvedPatchesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.approvedPatches, "ApprovedPatches", "json");
10371
+ }
10372
+ if (!tea_util_1.default.isUnset(tmpReq.sources)) {
10373
+ request.sourcesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sources, "Sources", "json");
10374
+ }
10375
+ if (!tea_util_1.default.isUnset(tmpReq.tags)) {
10376
+ request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
10377
+ }
9883
10378
  let query = {};
10379
+ if (!tea_util_1.default.isUnset(request.approvedPatchesShrink)) {
10380
+ query["ApprovedPatches"] = request.approvedPatchesShrink;
10381
+ }
10382
+ if (!tea_util_1.default.isUnset(request.approvedPatchesEnableNonSecurity)) {
10383
+ query["ApprovedPatchesEnableNonSecurity"] = request.approvedPatchesEnableNonSecurity;
10384
+ }
9884
10385
  if (!tea_util_1.default.isUnset(request.maxResults)) {
9885
10386
  query["MaxResults"] = request.maxResults;
9886
10387
  }
@@ -9899,6 +10400,12 @@ class Client extends openapi_client_1.default {
9899
10400
  if (!tea_util_1.default.isUnset(request.shareType)) {
9900
10401
  query["ShareType"] = request.shareType;
9901
10402
  }
10403
+ if (!tea_util_1.default.isUnset(request.sourcesShrink)) {
10404
+ query["Sources"] = request.sourcesShrink;
10405
+ }
10406
+ if (!tea_util_1.default.isUnset(request.tagsShrink)) {
10407
+ query["Tags"] = request.tagsShrink;
10408
+ }
9902
10409
  let req = new $OpenApi.OpenApiRequest({
9903
10410
  query: openapi_util_1.default.query(query),
9904
10411
  });
@@ -9995,6 +10502,13 @@ class Client extends openapi_client_1.default {
9995
10502
  let runtime = new $Util.RuntimeOptions({});
9996
10503
  return await this.listSecretParameterVersionsWithOptions(request, runtime);
9997
10504
  }
10505
+ /**
10506
+ * Before you call this operation, make sure that you have the permission to manage Key Management Service (KMS) secrets.
10507
+ *
10508
+ * @param tmpReq ListSecretParametersRequest
10509
+ * @param runtime runtime options for this request RuntimeOptions
10510
+ * @return ListSecretParametersResponse
10511
+ */
9998
10512
  async listSecretParametersWithOptions(tmpReq, runtime) {
9999
10513
  tea_util_1.default.validateModel(tmpReq);
10000
10514
  let request = new ListSecretParametersShrinkRequest({});
@@ -10049,6 +10563,12 @@ class Client extends openapi_client_1.default {
10049
10563
  });
10050
10564
  return $tea.cast(await this.callApi(params, req, runtime), new ListSecretParametersResponse({}));
10051
10565
  }
10566
+ /**
10567
+ * Before you call this operation, make sure that you have the permission to manage Key Management Service (KMS) secrets.
10568
+ *
10569
+ * @param request ListSecretParametersRequest
10570
+ * @return ListSecretParametersResponse
10571
+ */
10052
10572
  async listSecretParameters(request) {
10053
10573
  let runtime = new $Util.RuntimeOptions({});
10054
10574
  return await this.listSecretParametersWithOptions(request, runtime);
@@ -10409,6 +10929,16 @@ class Client extends openapi_client_1.default {
10409
10929
  let runtime = new $Util.RuntimeOptions({});
10410
10930
  return await this.listTemplatesWithOptions(request, runtime);
10411
10931
  }
10932
+ /**
10933
+ * You can call this operation to notify an execution in the following scenarios:
10934
+ * * If a template contains a special task, such as an approval task, the Operation Orchestration Service (OOS) execution engine sets the execution state to Waiting when the approval task is being run. You can call this operation to specify whether to continue the execution.
10935
+ * * If you perform debugging in the debug mode, you can call this operation to notify the execution of the subsequent operations after the execution is created or a task is complete.
10936
+ * * If a high-risk operation task waits for approval, you can call this operation to specify whether to continue the execution.
10937
+ *
10938
+ * @param request NotifyExecutionRequest
10939
+ * @param runtime runtime options for this request RuntimeOptions
10940
+ * @return NotifyExecutionResponse
10941
+ */
10412
10942
  async notifyExecutionWithOptions(request, runtime) {
10413
10943
  tea_util_1.default.validateModel(request);
10414
10944
  let query = {};
@@ -10458,6 +10988,15 @@ class Client extends openapi_client_1.default {
10458
10988
  });
10459
10989
  return $tea.cast(await this.callApi(params, req, runtime), new NotifyExecutionResponse({}));
10460
10990
  }
10991
+ /**
10992
+ * You can call this operation to notify an execution in the following scenarios:
10993
+ * * If a template contains a special task, such as an approval task, the Operation Orchestration Service (OOS) execution engine sets the execution state to Waiting when the approval task is being run. You can call this operation to specify whether to continue the execution.
10994
+ * * If you perform debugging in the debug mode, you can call this operation to notify the execution of the subsequent operations after the execution is created or a task is complete.
10995
+ * * If a high-risk operation task waits for approval, you can call this operation to specify whether to continue the execution.
10996
+ *
10997
+ * @param request NotifyExecutionRequest
10998
+ * @return NotifyExecutionResponse
10999
+ */
10461
11000
  async notifyExecution(request) {
10462
11001
  let runtime = new $Util.RuntimeOptions({});
10463
11002
  return await this.notifyExecutionWithOptions(request, runtime);
@@ -10774,10 +11313,19 @@ class Client extends openapi_client_1.default {
10774
11313
  tea_util_1.default.validateModel(tmpReq);
10775
11314
  let request = new UpdateApplicationShrinkRequest({});
10776
11315
  openapi_util_1.default.convert(tmpReq, request);
11316
+ if (!tea_util_1.default.isUnset(tmpReq.alarmConfig)) {
11317
+ request.alarmConfigShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.alarmConfig, "AlarmConfig", "json");
11318
+ }
10777
11319
  if (!tea_util_1.default.isUnset(tmpReq.tags)) {
10778
11320
  request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
10779
11321
  }
10780
11322
  let query = {};
11323
+ if (!tea_util_1.default.isUnset(request.alarmConfigShrink)) {
11324
+ query["AlarmConfig"] = request.alarmConfigShrink;
11325
+ }
11326
+ if (!tea_util_1.default.isUnset(request.deleteAlarmRulesBeforeUpdate)) {
11327
+ query["DeleteAlarmRulesBeforeUpdate"] = request.deleteAlarmRulesBeforeUpdate;
11328
+ }
10781
11329
  if (!tea_util_1.default.isUnset(request.description)) {
10782
11330
  query["Description"] = request.description;
10783
11331
  }
@@ -10851,6 +11399,9 @@ class Client extends openapi_client_1.default {
10851
11399
  if (!tea_util_1.default.isUnset(request.clientToken)) {
10852
11400
  query["ClientToken"] = request.clientToken;
10853
11401
  }
11402
+ if (!tea_util_1.default.isUnset(request.description)) {
11403
+ query["Description"] = request.description;
11404
+ }
10854
11405
  if (!tea_util_1.default.isUnset(request.executionId)) {
10855
11406
  query["ExecutionId"] = request.executionId;
10856
11407
  }
@@ -10994,12 +11545,32 @@ class Client extends openapi_client_1.default {
10994
11545
  let runtime = new $Util.RuntimeOptions({});
10995
11546
  return await this.updateParameterWithOptions(request, runtime);
10996
11547
  }
10997
- async updatePatchBaselineWithOptions(request, runtime) {
10998
- tea_util_1.default.validateModel(request);
11548
+ async updatePatchBaselineWithOptions(tmpReq, runtime) {
11549
+ tea_util_1.default.validateModel(tmpReq);
11550
+ let request = new UpdatePatchBaselineShrinkRequest({});
11551
+ openapi_util_1.default.convert(tmpReq, request);
11552
+ if (!tea_util_1.default.isUnset(tmpReq.approvedPatches)) {
11553
+ request.approvedPatchesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.approvedPatches, "ApprovedPatches", "json");
11554
+ }
11555
+ if (!tea_util_1.default.isUnset(tmpReq.rejectedPatches)) {
11556
+ request.rejectedPatchesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rejectedPatches, "RejectedPatches", "json");
11557
+ }
11558
+ if (!tea_util_1.default.isUnset(tmpReq.sources)) {
11559
+ request.sourcesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sources, "Sources", "json");
11560
+ }
11561
+ if (!tea_util_1.default.isUnset(tmpReq.tags)) {
11562
+ request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
11563
+ }
10999
11564
  let query = {};
11000
11565
  if (!tea_util_1.default.isUnset(request.approvalRules)) {
11001
11566
  query["ApprovalRules"] = request.approvalRules;
11002
11567
  }
11568
+ if (!tea_util_1.default.isUnset(request.approvedPatchesShrink)) {
11569
+ query["ApprovedPatches"] = request.approvedPatchesShrink;
11570
+ }
11571
+ if (!tea_util_1.default.isUnset(request.approvedPatchesEnableNonSecurity)) {
11572
+ query["ApprovedPatchesEnableNonSecurity"] = request.approvedPatchesEnableNonSecurity;
11573
+ }
11003
11574
  if (!tea_util_1.default.isUnset(request.clientToken)) {
11004
11575
  query["ClientToken"] = request.clientToken;
11005
11576
  }
@@ -11012,6 +11583,18 @@ class Client extends openapi_client_1.default {
11012
11583
  if (!tea_util_1.default.isUnset(request.regionId)) {
11013
11584
  query["RegionId"] = request.regionId;
11014
11585
  }
11586
+ if (!tea_util_1.default.isUnset(request.rejectedPatchesShrink)) {
11587
+ query["RejectedPatches"] = request.rejectedPatchesShrink;
11588
+ }
11589
+ if (!tea_util_1.default.isUnset(request.rejectedPatchesAction)) {
11590
+ query["RejectedPatchesAction"] = request.rejectedPatchesAction;
11591
+ }
11592
+ if (!tea_util_1.default.isUnset(request.sourcesShrink)) {
11593
+ query["Sources"] = request.sourcesShrink;
11594
+ }
11595
+ if (!tea_util_1.default.isUnset(request.tagsShrink)) {
11596
+ query["Tags"] = request.tagsShrink;
11597
+ }
11015
11598
  let req = new $OpenApi.OpenApiRequest({
11016
11599
  query: openapi_util_1.default.query(query),
11017
11600
  });