@alicloud/oos20190601 1.0.3 → 1.0.5

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
@@ -219,6 +219,7 @@ export class ContinueDeployApplicationGroupResponse extends $tea.Model {
219
219
  }
220
220
 
221
221
  export class CreateApplicationRequest extends $tea.Model {
222
+ alarmConfig?: CreateApplicationRequestAlarmConfig;
222
223
  clientToken?: string;
223
224
  description?: string;
224
225
  name?: string;
@@ -227,6 +228,7 @@ export class CreateApplicationRequest extends $tea.Model {
227
228
  tags?: { [key: string]: any };
228
229
  static names(): { [key: string]: string } {
229
230
  return {
231
+ alarmConfig: 'AlarmConfig',
230
232
  clientToken: 'ClientToken',
231
233
  description: 'Description',
232
234
  name: 'Name',
@@ -238,6 +240,7 @@ export class CreateApplicationRequest extends $tea.Model {
238
240
 
239
241
  static types(): { [key: string]: any } {
240
242
  return {
243
+ alarmConfig: CreateApplicationRequestAlarmConfig,
241
244
  clientToken: 'string',
242
245
  description: 'string',
243
246
  name: 'string',
@@ -253,6 +256,7 @@ export class CreateApplicationRequest extends $tea.Model {
253
256
  }
254
257
 
255
258
  export class CreateApplicationShrinkRequest extends $tea.Model {
259
+ alarmConfigShrink?: string;
256
260
  clientToken?: string;
257
261
  description?: string;
258
262
  name?: string;
@@ -261,6 +265,7 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
261
265
  tagsShrink?: string;
262
266
  static names(): { [key: string]: string } {
263
267
  return {
268
+ alarmConfigShrink: 'AlarmConfig',
264
269
  clientToken: 'ClientToken',
265
270
  description: 'Description',
266
271
  name: 'Name',
@@ -272,6 +277,7 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
272
277
 
273
278
  static types(): { [key: string]: any } {
274
279
  return {
280
+ alarmConfigShrink: 'string',
275
281
  clientToken: 'string',
276
282
  description: 'string',
277
283
  name: 'string',
@@ -423,6 +429,163 @@ export class CreateApplicationGroupResponse extends $tea.Model {
423
429
  }
424
430
  }
425
431
 
432
+ export class CreateOpsItemRequest extends $tea.Model {
433
+ category?: string;
434
+ clientToken?: string;
435
+ dedupString?: string;
436
+ description?: string;
437
+ priority?: number;
438
+ regionId?: string;
439
+ resourceGroupId?: string;
440
+ resources?: string;
441
+ severity?: string;
442
+ solutions?: string;
443
+ source?: string;
444
+ tags?: { [key: string]: any };
445
+ title?: string;
446
+ static names(): { [key: string]: string } {
447
+ return {
448
+ category: 'Category',
449
+ clientToken: 'ClientToken',
450
+ dedupString: 'DedupString',
451
+ description: 'Description',
452
+ priority: 'Priority',
453
+ regionId: 'RegionId',
454
+ resourceGroupId: 'ResourceGroupId',
455
+ resources: 'Resources',
456
+ severity: 'Severity',
457
+ solutions: 'Solutions',
458
+ source: 'Source',
459
+ tags: 'Tags',
460
+ title: 'Title',
461
+ };
462
+ }
463
+
464
+ static types(): { [key: string]: any } {
465
+ return {
466
+ category: 'string',
467
+ clientToken: 'string',
468
+ dedupString: 'string',
469
+ description: 'string',
470
+ priority: 'number',
471
+ regionId: 'string',
472
+ resourceGroupId: 'string',
473
+ resources: 'string',
474
+ severity: 'string',
475
+ solutions: 'string',
476
+ source: 'string',
477
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
478
+ title: 'string',
479
+ };
480
+ }
481
+
482
+ constructor(map?: { [key: string]: any }) {
483
+ super(map);
484
+ }
485
+ }
486
+
487
+ export class CreateOpsItemShrinkRequest extends $tea.Model {
488
+ category?: string;
489
+ clientToken?: string;
490
+ dedupString?: string;
491
+ description?: string;
492
+ priority?: number;
493
+ regionId?: string;
494
+ resourceGroupId?: string;
495
+ resources?: string;
496
+ severity?: string;
497
+ solutions?: string;
498
+ source?: string;
499
+ tagsShrink?: string;
500
+ title?: string;
501
+ static names(): { [key: string]: string } {
502
+ return {
503
+ category: 'Category',
504
+ clientToken: 'ClientToken',
505
+ dedupString: 'DedupString',
506
+ description: 'Description',
507
+ priority: 'Priority',
508
+ regionId: 'RegionId',
509
+ resourceGroupId: 'ResourceGroupId',
510
+ resources: 'Resources',
511
+ severity: 'Severity',
512
+ solutions: 'Solutions',
513
+ source: 'Source',
514
+ tagsShrink: 'Tags',
515
+ title: 'Title',
516
+ };
517
+ }
518
+
519
+ static types(): { [key: string]: any } {
520
+ return {
521
+ category: 'string',
522
+ clientToken: 'string',
523
+ dedupString: 'string',
524
+ description: 'string',
525
+ priority: 'number',
526
+ regionId: 'string',
527
+ resourceGroupId: 'string',
528
+ resources: 'string',
529
+ severity: 'string',
530
+ solutions: 'string',
531
+ source: 'string',
532
+ tagsShrink: 'string',
533
+ title: 'string',
534
+ };
535
+ }
536
+
537
+ constructor(map?: { [key: string]: any }) {
538
+ super(map);
539
+ }
540
+ }
541
+
542
+ export class CreateOpsItemResponseBody extends $tea.Model {
543
+ opsItem?: CreateOpsItemResponseBodyOpsItem;
544
+ requestId?: string;
545
+ static names(): { [key: string]: string } {
546
+ return {
547
+ opsItem: 'OpsItem',
548
+ requestId: 'RequestId',
549
+ };
550
+ }
551
+
552
+ static types(): { [key: string]: any } {
553
+ return {
554
+ opsItem: CreateOpsItemResponseBodyOpsItem,
555
+ requestId: 'string',
556
+ };
557
+ }
558
+
559
+ constructor(map?: { [key: string]: any }) {
560
+ super(map);
561
+ }
562
+ }
563
+
564
+ export class CreateOpsItemResponse extends $tea.Model {
565
+ headers: { [key: string]: string };
566
+ statusCode: number;
567
+ body: CreateOpsItemResponseBody;
568
+ static names(): { [key: string]: string } {
569
+ return {
570
+ headers: 'headers',
571
+ statusCode: 'statusCode',
572
+ body: 'body',
573
+ };
574
+ }
575
+
576
+ static types(): { [key: string]: any } {
577
+ return {
578
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
579
+ statusCode: 'number',
580
+ body: CreateOpsItemResponseBody,
581
+ };
582
+ }
583
+
584
+ constructor(map?: { [key: string]: any }) {
585
+ super(map);
586
+ }
587
+ }
588
+
426
589
  export class CreateParameterRequest extends $tea.Model {
427
590
  clientToken?: string;
428
591
  constraints?: string;
@@ -558,30 +721,100 @@ export class CreateParameterResponse extends $tea.Model {
558
721
 
559
722
  export class CreatePatchBaselineRequest extends $tea.Model {
560
723
  approvalRules?: string;
724
+ approvedPatches?: string[];
725
+ approvedPatchesEnableNonSecurity?: boolean;
726
+ clientToken?: string;
727
+ description?: string;
728
+ name?: string;
729
+ operationSystem?: string;
730
+ regionId?: string;
731
+ rejectedPatches?: string[];
732
+ rejectedPatchesAction?: string;
733
+ sources?: string[];
734
+ tags?: CreatePatchBaselineRequestTags[];
735
+ static names(): { [key: string]: string } {
736
+ return {
737
+ approvalRules: 'ApprovalRules',
738
+ approvedPatches: 'ApprovedPatches',
739
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
740
+ clientToken: 'ClientToken',
741
+ description: 'Description',
742
+ name: 'Name',
743
+ operationSystem: 'OperationSystem',
744
+ regionId: 'RegionId',
745
+ rejectedPatches: 'RejectedPatches',
746
+ rejectedPatchesAction: 'RejectedPatchesAction',
747
+ sources: 'Sources',
748
+ tags: 'Tags',
749
+ };
750
+ }
751
+
752
+ static types(): { [key: string]: any } {
753
+ return {
754
+ approvalRules: 'string',
755
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
756
+ approvedPatchesEnableNonSecurity: 'boolean',
757
+ clientToken: 'string',
758
+ description: 'string',
759
+ name: 'string',
760
+ operationSystem: 'string',
761
+ regionId: 'string',
762
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
763
+ rejectedPatchesAction: 'string',
764
+ sources: { 'type': 'array', 'itemType': 'string' },
765
+ tags: { 'type': 'array', 'itemType': CreatePatchBaselineRequestTags },
766
+ };
767
+ }
768
+
769
+ constructor(map?: { [key: string]: any }) {
770
+ super(map);
771
+ }
772
+ }
773
+
774
+ export class CreatePatchBaselineShrinkRequest extends $tea.Model {
775
+ approvalRules?: string;
776
+ approvedPatchesShrink?: string;
777
+ approvedPatchesEnableNonSecurity?: boolean;
561
778
  clientToken?: string;
562
779
  description?: string;
563
780
  name?: string;
564
781
  operationSystem?: string;
565
782
  regionId?: string;
783
+ rejectedPatchesShrink?: string;
784
+ rejectedPatchesAction?: string;
785
+ sourcesShrink?: string;
786
+ tagsShrink?: string;
566
787
  static names(): { [key: string]: string } {
567
788
  return {
568
789
  approvalRules: 'ApprovalRules',
790
+ approvedPatchesShrink: 'ApprovedPatches',
791
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
569
792
  clientToken: 'ClientToken',
570
793
  description: 'Description',
571
794
  name: 'Name',
572
795
  operationSystem: 'OperationSystem',
573
796
  regionId: 'RegionId',
797
+ rejectedPatchesShrink: 'RejectedPatches',
798
+ rejectedPatchesAction: 'RejectedPatchesAction',
799
+ sourcesShrink: 'Sources',
800
+ tagsShrink: 'Tags',
574
801
  };
575
802
  }
576
803
 
577
804
  static types(): { [key: string]: any } {
578
805
  return {
579
806
  approvalRules: 'string',
807
+ approvedPatchesShrink: 'string',
808
+ approvedPatchesEnableNonSecurity: 'boolean',
580
809
  clientToken: 'string',
581
810
  description: 'string',
582
811
  name: 'string',
583
812
  operationSystem: 'string',
584
813
  regionId: 'string',
814
+ rejectedPatchesShrink: 'string',
815
+ rejectedPatchesAction: 'string',
816
+ sourcesShrink: 'string',
817
+ tagsShrink: 'string',
585
818
  };
586
819
  }
587
820
 
@@ -1796,11 +2029,13 @@ export class DescribeRegionsResponse extends $tea.Model {
1796
2029
  }
1797
2030
 
1798
2031
  export class GenerateExecutionPolicyRequest extends $tea.Model {
2032
+ ramRole?: string;
1799
2033
  regionId?: string;
1800
2034
  templateName?: string;
1801
2035
  templateVersion?: string;
1802
2036
  static names(): { [key: string]: string } {
1803
2037
  return {
2038
+ ramRole: 'RamRole',
1804
2039
  regionId: 'RegionId',
1805
2040
  templateName: 'TemplateName',
1806
2041
  templateVersion: 'TemplateVersion',
@@ -1809,6 +2044,7 @@ export class GenerateExecutionPolicyRequest extends $tea.Model {
1809
2044
 
1810
2045
  static types(): { [key: string]: any } {
1811
2046
  return {
2047
+ ramRole: 'string',
1812
2048
  regionId: 'string',
1813
2049
  templateName: 'string',
1814
2050
  templateVersion: 'string',
@@ -1821,10 +2057,12 @@ export class GenerateExecutionPolicyRequest extends $tea.Model {
1821
2057
  }
1822
2058
 
1823
2059
  export class GenerateExecutionPolicyResponseBody extends $tea.Model {
2060
+ missingPolicy?: string;
1824
2061
  policy?: string;
1825
2062
  requestId?: string;
1826
2063
  static names(): { [key: string]: string } {
1827
2064
  return {
2065
+ missingPolicy: 'MissingPolicy',
1828
2066
  policy: 'Policy',
1829
2067
  requestId: 'RequestId',
1830
2068
  };
@@ -1832,6 +2070,7 @@ export class GenerateExecutionPolicyResponseBody extends $tea.Model {
1832
2070
 
1833
2071
  static types(): { [key: string]: any } {
1834
2072
  return {
2073
+ missingPolicy: 'string',
1835
2074
  policy: 'string',
1836
2075
  requestId: 'string',
1837
2076
  };
@@ -2164,6 +2403,75 @@ export class GetInventorySchemaResponse extends $tea.Model {
2164
2403
  }
2165
2404
  }
2166
2405
 
2406
+ export class GetOpsItemRequest extends $tea.Model {
2407
+ opsItemId?: string;
2408
+ regionId?: string;
2409
+ static names(): { [key: string]: string } {
2410
+ return {
2411
+ opsItemId: 'OpsItemId',
2412
+ regionId: 'RegionId',
2413
+ };
2414
+ }
2415
+
2416
+ static types(): { [key: string]: any } {
2417
+ return {
2418
+ opsItemId: 'string',
2419
+ regionId: 'string',
2420
+ };
2421
+ }
2422
+
2423
+ constructor(map?: { [key: string]: any }) {
2424
+ super(map);
2425
+ }
2426
+ }
2427
+
2428
+ export class GetOpsItemResponseBody extends $tea.Model {
2429
+ opsItem?: GetOpsItemResponseBodyOpsItem;
2430
+ requestId?: string;
2431
+ static names(): { [key: string]: string } {
2432
+ return {
2433
+ opsItem: 'OpsItem',
2434
+ requestId: 'RequestId',
2435
+ };
2436
+ }
2437
+
2438
+ static types(): { [key: string]: any } {
2439
+ return {
2440
+ opsItem: GetOpsItemResponseBodyOpsItem,
2441
+ requestId: 'string',
2442
+ };
2443
+ }
2444
+
2445
+ constructor(map?: { [key: string]: any }) {
2446
+ super(map);
2447
+ }
2448
+ }
2449
+
2450
+ export class GetOpsItemResponse extends $tea.Model {
2451
+ headers: { [key: string]: string };
2452
+ statusCode: number;
2453
+ body: GetOpsItemResponseBody;
2454
+ static names(): { [key: string]: string } {
2455
+ return {
2456
+ headers: 'headers',
2457
+ statusCode: 'statusCode',
2458
+ body: 'body',
2459
+ };
2460
+ }
2461
+
2462
+ static types(): { [key: string]: any } {
2463
+ return {
2464
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2465
+ statusCode: 'number',
2466
+ body: GetOpsItemResponseBody,
2467
+ };
2468
+ }
2469
+
2470
+ constructor(map?: { [key: string]: any }) {
2471
+ super(map);
2472
+ }
2473
+ }
2474
+
2167
2475
  export class GetParameterRequest extends $tea.Model {
2168
2476
  name?: string;
2169
2477
  parameterVersion?: number;
@@ -2934,9 +3242,9 @@ export class ListApplicationGroupsRequest extends $tea.Model {
2934
3242
  deployRegionId?: string;
2935
3243
  maxResults?: number;
2936
3244
  nextToken?: string;
2937
- product?: string;
2938
3245
  regionId?: string;
2939
3246
  resourceId?: string;
3247
+ resourceProduct?: string;
2940
3248
  resourceType?: string;
2941
3249
  static names(): { [key: string]: string } {
2942
3250
  return {
@@ -2944,9 +3252,9 @@ export class ListApplicationGroupsRequest extends $tea.Model {
2944
3252
  deployRegionId: 'DeployRegionId',
2945
3253
  maxResults: 'MaxResults',
2946
3254
  nextToken: 'NextToken',
2947
- product: 'Product',
2948
3255
  regionId: 'RegionId',
2949
3256
  resourceId: 'ResourceId',
3257
+ resourceProduct: 'ResourceProduct',
2950
3258
  resourceType: 'ResourceType',
2951
3259
  };
2952
3260
  }
@@ -2957,9 +3265,9 @@ export class ListApplicationGroupsRequest extends $tea.Model {
2957
3265
  deployRegionId: 'string',
2958
3266
  maxResults: 'number',
2959
3267
  nextToken: 'string',
2960
- product: 'string',
2961
3268
  regionId: 'string',
2962
3269
  resourceId: 'string',
3270
+ resourceProduct: 'string',
2963
3271
  resourceType: 'string',
2964
3272
  };
2965
3273
  }
@@ -3023,6 +3331,7 @@ export class ListApplicationGroupsResponse extends $tea.Model {
3023
3331
  }
3024
3332
 
3025
3333
  export class ListApplicationsRequest extends $tea.Model {
3334
+ applicationType?: string;
3026
3335
  maxResults?: number;
3027
3336
  name?: string;
3028
3337
  names?: string;
@@ -3031,6 +3340,7 @@ export class ListApplicationsRequest extends $tea.Model {
3031
3340
  tags?: { [key: string]: any };
3032
3341
  static names(): { [key: string]: string } {
3033
3342
  return {
3343
+ applicationType: 'ApplicationType',
3034
3344
  maxResults: 'MaxResults',
3035
3345
  name: 'Name',
3036
3346
  names: 'Names',
@@ -3042,6 +3352,7 @@ export class ListApplicationsRequest extends $tea.Model {
3042
3352
 
3043
3353
  static types(): { [key: string]: any } {
3044
3354
  return {
3355
+ applicationType: 'string',
3045
3356
  maxResults: 'number',
3046
3357
  name: 'string',
3047
3358
  names: 'string',
@@ -3057,6 +3368,7 @@ export class ListApplicationsRequest extends $tea.Model {
3057
3368
  }
3058
3369
 
3059
3370
  export class ListApplicationsShrinkRequest extends $tea.Model {
3371
+ applicationType?: string;
3060
3372
  maxResults?: number;
3061
3373
  name?: string;
3062
3374
  names?: string;
@@ -3065,6 +3377,7 @@ export class ListApplicationsShrinkRequest extends $tea.Model {
3065
3377
  tagsShrink?: string;
3066
3378
  static names(): { [key: string]: string } {
3067
3379
  return {
3380
+ applicationType: 'ApplicationType',
3068
3381
  maxResults: 'MaxResults',
3069
3382
  name: 'Name',
3070
3383
  names: 'Names',
@@ -3076,6 +3389,7 @@ export class ListApplicationsShrinkRequest extends $tea.Model {
3076
3389
 
3077
3390
  static types(): { [key: string]: any } {
3078
3391
  return {
3392
+ applicationType: 'string',
3079
3393
  maxResults: 'number',
3080
3394
  name: 'string',
3081
3395
  names: 'string',
@@ -3303,7 +3617,10 @@ export class ListExecutionRiskyTasksResponse extends $tea.Model {
3303
3617
  }
3304
3618
 
3305
3619
  export class ListExecutionsRequest extends $tea.Model {
3620
+ categories?: string;
3306
3621
  category?: string;
3622
+ depth?: string;
3623
+ description?: string;
3307
3624
  endDateAfter?: string;
3308
3625
  endDateBefore?: string;
3309
3626
  executedBy?: string;
@@ -3327,7 +3644,10 @@ export class ListExecutionsRequest extends $tea.Model {
3327
3644
  templateName?: string;
3328
3645
  static names(): { [key: string]: string } {
3329
3646
  return {
3647
+ categories: 'Categories',
3330
3648
  category: 'Category',
3649
+ depth: 'Depth',
3650
+ description: 'Description',
3331
3651
  endDateAfter: 'EndDateAfter',
3332
3652
  endDateBefore: 'EndDateBefore',
3333
3653
  executedBy: 'ExecutedBy',
@@ -3354,7 +3674,10 @@ export class ListExecutionsRequest extends $tea.Model {
3354
3674
 
3355
3675
  static types(): { [key: string]: any } {
3356
3676
  return {
3677
+ categories: 'string',
3357
3678
  category: 'string',
3679
+ depth: 'string',
3680
+ description: 'string',
3358
3681
  endDateAfter: 'string',
3359
3682
  endDateBefore: 'string',
3360
3683
  executedBy: 'string',
@@ -3385,7 +3708,10 @@ export class ListExecutionsRequest extends $tea.Model {
3385
3708
  }
3386
3709
 
3387
3710
  export class ListExecutionsShrinkRequest extends $tea.Model {
3711
+ categories?: string;
3388
3712
  category?: string;
3713
+ depth?: string;
3714
+ description?: string;
3389
3715
  endDateAfter?: string;
3390
3716
  endDateBefore?: string;
3391
3717
  executedBy?: string;
@@ -3409,7 +3735,10 @@ export class ListExecutionsShrinkRequest extends $tea.Model {
3409
3735
  templateName?: string;
3410
3736
  static names(): { [key: string]: string } {
3411
3737
  return {
3738
+ categories: 'Categories',
3412
3739
  category: 'Category',
3740
+ depth: 'Depth',
3741
+ description: 'Description',
3413
3742
  endDateAfter: 'EndDateAfter',
3414
3743
  endDateBefore: 'EndDateBefore',
3415
3744
  executedBy: 'ExecutedBy',
@@ -3436,7 +3765,10 @@ export class ListExecutionsShrinkRequest extends $tea.Model {
3436
3765
 
3437
3766
  static types(): { [key: string]: any } {
3438
3767
  return {
3768
+ categories: 'string',
3439
3769
  category: 'string',
3770
+ depth: 'string',
3771
+ description: 'string',
3440
3772
  endDateAfter: 'string',
3441
3773
  endDateBefore: 'string',
3442
3774
  executedBy: 'string',
@@ -3783,29 +4115,32 @@ export class ListInventoryEntriesResponse extends $tea.Model {
3783
4115
  }
3784
4116
  }
3785
4117
 
3786
- export class ListParameterVersionsRequest extends $tea.Model {
4118
+ export class ListOpsItemsRequest extends $tea.Model {
4119
+ filter?: ListOpsItemsRequestFilter[];
3787
4120
  maxResults?: number;
3788
- name?: string;
3789
4121
  nextToken?: string;
3790
4122
  regionId?: string;
3791
- shareType?: string;
4123
+ resourceTags?: { [key: string]: any };
4124
+ tags?: { [key: string]: any };
3792
4125
  static names(): { [key: string]: string } {
3793
4126
  return {
4127
+ filter: 'Filter',
3794
4128
  maxResults: 'MaxResults',
3795
- name: 'Name',
3796
4129
  nextToken: 'NextToken',
3797
4130
  regionId: 'RegionId',
3798
- shareType: 'ShareType',
4131
+ resourceTags: 'ResourceTags',
4132
+ tags: 'Tags',
3799
4133
  };
3800
4134
  }
3801
4135
 
3802
4136
  static types(): { [key: string]: any } {
3803
4137
  return {
4138
+ filter: { 'type': 'array', 'itemType': ListOpsItemsRequestFilter },
3804
4139
  maxResults: 'number',
3805
- name: 'string',
3806
4140
  nextToken: 'string',
3807
4141
  regionId: 'string',
3808
- shareType: 'string',
4142
+ resourceTags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4143
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
3809
4144
  };
3810
4145
  }
3811
4146
 
@@ -3814,32 +4149,153 @@ export class ListParameterVersionsRequest extends $tea.Model {
3814
4149
  }
3815
4150
  }
3816
4151
 
3817
- export class ListParameterVersionsResponseBody extends $tea.Model {
3818
- createdBy?: string;
3819
- createdDate?: string;
3820
- description?: string;
3821
- id?: string;
4152
+ export class ListOpsItemsShrinkRequest extends $tea.Model {
4153
+ filter?: ListOpsItemsShrinkRequestFilter[];
3822
4154
  maxResults?: number;
3823
- name?: string;
3824
4155
  nextToken?: string;
3825
- parameterVersions?: ListParameterVersionsResponseBodyParameterVersions[];
3826
- requestId?: string;
3827
- totalCount?: number;
3828
- type?: string;
4156
+ regionId?: string;
4157
+ resourceTagsShrink?: string;
4158
+ tagsShrink?: string;
3829
4159
  static names(): { [key: string]: string } {
3830
4160
  return {
3831
- createdBy: 'CreatedBy',
3832
- createdDate: 'CreatedDate',
3833
- description: 'Description',
3834
- id: 'Id',
4161
+ filter: 'Filter',
3835
4162
  maxResults: 'MaxResults',
3836
- name: 'Name',
3837
4163
  nextToken: 'NextToken',
3838
- parameterVersions: 'ParameterVersions',
3839
- requestId: 'RequestId',
3840
- totalCount: 'TotalCount',
3841
- type: 'Type',
3842
- };
4164
+ regionId: 'RegionId',
4165
+ resourceTagsShrink: 'ResourceTags',
4166
+ tagsShrink: 'Tags',
4167
+ };
4168
+ }
4169
+
4170
+ static types(): { [key: string]: any } {
4171
+ return {
4172
+ filter: { 'type': 'array', 'itemType': ListOpsItemsShrinkRequestFilter },
4173
+ maxResults: 'number',
4174
+ nextToken: 'string',
4175
+ regionId: 'string',
4176
+ resourceTagsShrink: 'string',
4177
+ tagsShrink: 'string',
4178
+ };
4179
+ }
4180
+
4181
+ constructor(map?: { [key: string]: any }) {
4182
+ super(map);
4183
+ }
4184
+ }
4185
+
4186
+ export class ListOpsItemsResponseBody extends $tea.Model {
4187
+ maxResults?: number;
4188
+ nextToken?: string;
4189
+ opsItems?: ListOpsItemsResponseBodyOpsItems[];
4190
+ requestId?: string;
4191
+ totalCount?: number;
4192
+ static names(): { [key: string]: string } {
4193
+ return {
4194
+ maxResults: 'MaxResults',
4195
+ nextToken: 'NextToken',
4196
+ opsItems: 'OpsItems',
4197
+ requestId: 'RequestId',
4198
+ totalCount: 'TotalCount',
4199
+ };
4200
+ }
4201
+
4202
+ static types(): { [key: string]: any } {
4203
+ return {
4204
+ maxResults: 'number',
4205
+ nextToken: 'string',
4206
+ opsItems: { 'type': 'array', 'itemType': ListOpsItemsResponseBodyOpsItems },
4207
+ requestId: 'string',
4208
+ totalCount: 'number',
4209
+ };
4210
+ }
4211
+
4212
+ constructor(map?: { [key: string]: any }) {
4213
+ super(map);
4214
+ }
4215
+ }
4216
+
4217
+ export class ListOpsItemsResponse extends $tea.Model {
4218
+ headers: { [key: string]: string };
4219
+ statusCode: number;
4220
+ body: ListOpsItemsResponseBody;
4221
+ static names(): { [key: string]: string } {
4222
+ return {
4223
+ headers: 'headers',
4224
+ statusCode: 'statusCode',
4225
+ body: 'body',
4226
+ };
4227
+ }
4228
+
4229
+ static types(): { [key: string]: any } {
4230
+ return {
4231
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4232
+ statusCode: 'number',
4233
+ body: ListOpsItemsResponseBody,
4234
+ };
4235
+ }
4236
+
4237
+ constructor(map?: { [key: string]: any }) {
4238
+ super(map);
4239
+ }
4240
+ }
4241
+
4242
+ export class ListParameterVersionsRequest extends $tea.Model {
4243
+ maxResults?: number;
4244
+ name?: string;
4245
+ nextToken?: string;
4246
+ regionId?: string;
4247
+ shareType?: string;
4248
+ static names(): { [key: string]: string } {
4249
+ return {
4250
+ maxResults: 'MaxResults',
4251
+ name: 'Name',
4252
+ nextToken: 'NextToken',
4253
+ regionId: 'RegionId',
4254
+ shareType: 'ShareType',
4255
+ };
4256
+ }
4257
+
4258
+ static types(): { [key: string]: any } {
4259
+ return {
4260
+ maxResults: 'number',
4261
+ name: 'string',
4262
+ nextToken: 'string',
4263
+ regionId: 'string',
4264
+ shareType: 'string',
4265
+ };
4266
+ }
4267
+
4268
+ constructor(map?: { [key: string]: any }) {
4269
+ super(map);
4270
+ }
4271
+ }
4272
+
4273
+ export class ListParameterVersionsResponseBody extends $tea.Model {
4274
+ createdBy?: string;
4275
+ createdDate?: string;
4276
+ description?: string;
4277
+ id?: string;
4278
+ maxResults?: number;
4279
+ name?: string;
4280
+ nextToken?: string;
4281
+ parameterVersions?: ListParameterVersionsResponseBodyParameterVersions[];
4282
+ requestId?: string;
4283
+ totalCount?: number;
4284
+ type?: string;
4285
+ static names(): { [key: string]: string } {
4286
+ return {
4287
+ createdBy: 'CreatedBy',
4288
+ createdDate: 'CreatedDate',
4289
+ description: 'Description',
4290
+ id: 'Id',
4291
+ maxResults: 'MaxResults',
4292
+ name: 'Name',
4293
+ nextToken: 'NextToken',
4294
+ parameterVersions: 'ParameterVersions',
4295
+ requestId: 'RequestId',
4296
+ totalCount: 'TotalCount',
4297
+ type: 'Type',
4298
+ };
3843
4299
  }
3844
4300
 
3845
4301
  static types(): { [key: string]: any } {
@@ -3896,6 +4352,7 @@ export class ListParametersRequest extends $tea.Model {
3896
4352
  recursive?: boolean;
3897
4353
  regionId?: string;
3898
4354
  resourceGroupId?: string;
4355
+ shareType?: string;
3899
4356
  sortField?: string;
3900
4357
  sortOrder?: string;
3901
4358
  tags?: { [key: string]: any };
@@ -3909,6 +4366,7 @@ export class ListParametersRequest extends $tea.Model {
3909
4366
  recursive: 'Recursive',
3910
4367
  regionId: 'RegionId',
3911
4368
  resourceGroupId: 'ResourceGroupId',
4369
+ shareType: 'ShareType',
3912
4370
  sortField: 'SortField',
3913
4371
  sortOrder: 'SortOrder',
3914
4372
  tags: 'Tags',
@@ -3925,6 +4383,7 @@ export class ListParametersRequest extends $tea.Model {
3925
4383
  recursive: 'boolean',
3926
4384
  regionId: 'string',
3927
4385
  resourceGroupId: 'string',
4386
+ shareType: 'string',
3928
4387
  sortField: 'string',
3929
4388
  sortOrder: 'string',
3930
4389
  tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -3945,6 +4404,7 @@ export class ListParametersShrinkRequest extends $tea.Model {
3945
4404
  recursive?: boolean;
3946
4405
  regionId?: string;
3947
4406
  resourceGroupId?: string;
4407
+ shareType?: string;
3948
4408
  sortField?: string;
3949
4409
  sortOrder?: string;
3950
4410
  tagsShrink?: string;
@@ -3958,6 +4418,7 @@ export class ListParametersShrinkRequest extends $tea.Model {
3958
4418
  recursive: 'Recursive',
3959
4419
  regionId: 'RegionId',
3960
4420
  resourceGroupId: 'ResourceGroupId',
4421
+ shareType: 'ShareType',
3961
4422
  sortField: 'SortField',
3962
4423
  sortOrder: 'SortOrder',
3963
4424
  tagsShrink: 'Tags',
@@ -3974,6 +4435,7 @@ export class ListParametersShrinkRequest extends $tea.Model {
3974
4435
  recursive: 'boolean',
3975
4436
  regionId: 'string',
3976
4437
  resourceGroupId: 'string',
4438
+ shareType: 'string',
3977
4439
  sortField: 'string',
3978
4440
  sortOrder: 'string',
3979
4441
  tagsShrink: 'string',
@@ -4043,31 +4505,89 @@ export class ListParametersResponse extends $tea.Model {
4043
4505
  }
4044
4506
 
4045
4507
  export class ListPatchBaselinesRequest extends $tea.Model {
4508
+ approvedPatches?: string[];
4509
+ approvedPatchesEnableNonSecurity?: boolean;
4510
+ maxResults?: number;
4511
+ name?: string;
4512
+ nextToken?: string;
4513
+ operationSystem?: string;
4514
+ regionId?: string;
4515
+ shareType?: string;
4516
+ sources?: string[];
4517
+ tags?: ListPatchBaselinesRequestTags[];
4518
+ static names(): { [key: string]: string } {
4519
+ return {
4520
+ approvedPatches: 'ApprovedPatches',
4521
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
4522
+ maxResults: 'MaxResults',
4523
+ name: 'Name',
4524
+ nextToken: 'NextToken',
4525
+ operationSystem: 'OperationSystem',
4526
+ regionId: 'RegionId',
4527
+ shareType: 'ShareType',
4528
+ sources: 'Sources',
4529
+ tags: 'Tags',
4530
+ };
4531
+ }
4532
+
4533
+ static types(): { [key: string]: any } {
4534
+ return {
4535
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
4536
+ approvedPatchesEnableNonSecurity: 'boolean',
4537
+ maxResults: 'number',
4538
+ name: 'string',
4539
+ nextToken: 'string',
4540
+ operationSystem: 'string',
4541
+ regionId: 'string',
4542
+ shareType: 'string',
4543
+ sources: { 'type': 'array', 'itemType': 'string' },
4544
+ tags: { 'type': 'array', 'itemType': ListPatchBaselinesRequestTags },
4545
+ };
4546
+ }
4547
+
4548
+ constructor(map?: { [key: string]: any }) {
4549
+ super(map);
4550
+ }
4551
+ }
4552
+
4553
+ export class ListPatchBaselinesShrinkRequest extends $tea.Model {
4554
+ approvedPatchesShrink?: string;
4555
+ approvedPatchesEnableNonSecurity?: boolean;
4046
4556
  maxResults?: number;
4047
4557
  name?: string;
4048
4558
  nextToken?: string;
4049
4559
  operationSystem?: string;
4050
4560
  regionId?: string;
4051
4561
  shareType?: string;
4562
+ sourcesShrink?: string;
4563
+ tagsShrink?: string;
4052
4564
  static names(): { [key: string]: string } {
4053
4565
  return {
4566
+ approvedPatchesShrink: 'ApprovedPatches',
4567
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
4054
4568
  maxResults: 'MaxResults',
4055
4569
  name: 'Name',
4056
4570
  nextToken: 'NextToken',
4057
4571
  operationSystem: 'OperationSystem',
4058
4572
  regionId: 'RegionId',
4059
4573
  shareType: 'ShareType',
4574
+ sourcesShrink: 'Sources',
4575
+ tagsShrink: 'Tags',
4060
4576
  };
4061
4577
  }
4062
4578
 
4063
4579
  static types(): { [key: string]: any } {
4064
4580
  return {
4581
+ approvedPatchesShrink: 'string',
4582
+ approvedPatchesEnableNonSecurity: 'boolean',
4065
4583
  maxResults: 'number',
4066
4584
  name: 'string',
4067
4585
  nextToken: 'string',
4068
4586
  operationSystem: 'string',
4069
4587
  regionId: 'string',
4070
4588
  shareType: 'string',
4589
+ sourcesShrink: 'string',
4590
+ tagsShrink: 'string',
4071
4591
  };
4072
4592
  }
4073
4593
 
@@ -4544,10 +5064,12 @@ export class ListStateConfigurationsShrinkRequest extends $tea.Model {
4544
5064
  }
4545
5065
 
4546
5066
  export class ListStateConfigurationsResponseBody extends $tea.Model {
5067
+ nextToken?: string;
4547
5068
  requestId?: string;
4548
5069
  stateConfigurations?: ListStateConfigurationsResponseBodyStateConfigurations[];
4549
5070
  static names(): { [key: string]: string } {
4550
5071
  return {
5072
+ nextToken: 'NextToken',
4551
5073
  requestId: 'RequestId',
4552
5074
  stateConfigurations: 'StateConfigurations',
4553
5075
  };
@@ -4555,6 +5077,7 @@ export class ListStateConfigurationsResponseBody extends $tea.Model {
4555
5077
 
4556
5078
  static types(): { [key: string]: any } {
4557
5079
  return {
5080
+ nextToken: 'string',
4558
5081
  requestId: 'string',
4559
5082
  stateConfigurations: { 'type': 'array', 'itemType': ListStateConfigurationsResponseBodyStateConfigurations },
4560
5083
  };
@@ -5589,6 +6112,7 @@ export class StartExecutionRequest extends $tea.Model {
5589
6112
  tags?: { [key: string]: any };
5590
6113
  templateContent?: string;
5591
6114
  templateName?: string;
6115
+ templateURL?: string;
5592
6116
  templateVersion?: string;
5593
6117
  static names(): { [key: string]: string } {
5594
6118
  return {
@@ -5604,6 +6128,7 @@ export class StartExecutionRequest extends $tea.Model {
5604
6128
  tags: 'Tags',
5605
6129
  templateContent: 'TemplateContent',
5606
6130
  templateName: 'TemplateName',
6131
+ templateURL: 'TemplateURL',
5607
6132
  templateVersion: 'TemplateVersion',
5608
6133
  };
5609
6134
  }
@@ -5622,6 +6147,7 @@ export class StartExecutionRequest extends $tea.Model {
5622
6147
  tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5623
6148
  templateContent: 'string',
5624
6149
  templateName: 'string',
6150
+ templateURL: 'string',
5625
6151
  templateVersion: 'string',
5626
6152
  };
5627
6153
  }
@@ -5644,6 +6170,7 @@ export class StartExecutionShrinkRequest extends $tea.Model {
5644
6170
  tagsShrink?: string;
5645
6171
  templateContent?: string;
5646
6172
  templateName?: string;
6173
+ templateURL?: string;
5647
6174
  templateVersion?: string;
5648
6175
  static names(): { [key: string]: string } {
5649
6176
  return {
@@ -5659,6 +6186,7 @@ export class StartExecutionShrinkRequest extends $tea.Model {
5659
6186
  tagsShrink: 'Tags',
5660
6187
  templateContent: 'TemplateContent',
5661
6188
  templateName: 'TemplateName',
6189
+ templateURL: 'TemplateURL',
5662
6190
  templateVersion: 'TemplateVersion',
5663
6191
  };
5664
6192
  }
@@ -5677,6 +6205,7 @@ export class StartExecutionShrinkRequest extends $tea.Model {
5677
6205
  tagsShrink: 'string',
5678
6206
  templateContent: 'string',
5679
6207
  templateName: 'string',
6208
+ templateURL: 'string',
5680
6209
  templateVersion: 'string',
5681
6210
  };
5682
6211
  }
@@ -6015,12 +6544,16 @@ export class UntagResourcesResponse extends $tea.Model {
6015
6544
  }
6016
6545
 
6017
6546
  export class UpdateApplicationRequest extends $tea.Model {
6547
+ alarmConfig?: UpdateApplicationRequestAlarmConfig;
6548
+ deleteAlarmRulesBeforeUpdate?: boolean;
6018
6549
  description?: string;
6019
6550
  name?: string;
6020
6551
  regionId?: string;
6021
6552
  tags?: { [key: string]: any };
6022
6553
  static names(): { [key: string]: string } {
6023
6554
  return {
6555
+ alarmConfig: 'AlarmConfig',
6556
+ deleteAlarmRulesBeforeUpdate: 'DeleteAlarmRulesBeforeUpdate',
6024
6557
  description: 'Description',
6025
6558
  name: 'Name',
6026
6559
  regionId: 'RegionId',
@@ -6030,6 +6563,8 @@ export class UpdateApplicationRequest extends $tea.Model {
6030
6563
 
6031
6564
  static types(): { [key: string]: any } {
6032
6565
  return {
6566
+ alarmConfig: UpdateApplicationRequestAlarmConfig,
6567
+ deleteAlarmRulesBeforeUpdate: 'boolean',
6033
6568
  description: 'string',
6034
6569
  name: 'string',
6035
6570
  regionId: 'string',
@@ -6043,12 +6578,16 @@ export class UpdateApplicationRequest extends $tea.Model {
6043
6578
  }
6044
6579
 
6045
6580
  export class UpdateApplicationShrinkRequest extends $tea.Model {
6581
+ alarmConfigShrink?: string;
6582
+ deleteAlarmRulesBeforeUpdate?: boolean;
6046
6583
  description?: string;
6047
6584
  name?: string;
6048
6585
  regionId?: string;
6049
6586
  tagsShrink?: string;
6050
6587
  static names(): { [key: string]: string } {
6051
6588
  return {
6589
+ alarmConfigShrink: 'AlarmConfig',
6590
+ deleteAlarmRulesBeforeUpdate: 'DeleteAlarmRulesBeforeUpdate',
6052
6591
  description: 'Description',
6053
6592
  name: 'Name',
6054
6593
  regionId: 'RegionId',
@@ -6058,6 +6597,8 @@ export class UpdateApplicationShrinkRequest extends $tea.Model {
6058
6597
 
6059
6598
  static types(): { [key: string]: any } {
6060
6599
  return {
6600
+ alarmConfigShrink: 'string',
6601
+ deleteAlarmRulesBeforeUpdate: 'boolean',
6061
6602
  description: 'string',
6062
6603
  name: 'string',
6063
6604
  regionId: 'string',
@@ -6194,12 +6735,14 @@ export class UpdateApplicationGroupResponse extends $tea.Model {
6194
6735
 
6195
6736
  export class UpdateExecutionRequest extends $tea.Model {
6196
6737
  clientToken?: string;
6738
+ description?: string;
6197
6739
  executionId?: string;
6198
6740
  parameters?: string;
6199
6741
  regionId?: string;
6200
6742
  static names(): { [key: string]: string } {
6201
6743
  return {
6202
6744
  clientToken: 'ClientToken',
6745
+ description: 'Description',
6203
6746
  executionId: 'ExecutionId',
6204
6747
  parameters: 'Parameters',
6205
6748
  regionId: 'RegionId',
@@ -6209,6 +6752,7 @@ export class UpdateExecutionRequest extends $tea.Model {
6209
6752
  static types(): { [key: string]: any } {
6210
6753
  return {
6211
6754
  clientToken: 'string',
6755
+ description: 'string',
6212
6756
  executionId: 'string',
6213
6757
  parameters: 'string',
6214
6758
  regionId: 'string',
@@ -6264,32 +6808,120 @@ export class UpdateExecutionResponse extends $tea.Model {
6264
6808
  }
6265
6809
  }
6266
6810
 
6267
- export class UpdateParameterRequest extends $tea.Model {
6811
+ export class UpdateOpsItemRequest extends $tea.Model {
6812
+ category?: string;
6813
+ clientToken?: string;
6814
+ dedupString?: string;
6268
6815
  description?: string;
6269
- name?: string;
6816
+ opsItemId?: string;
6817
+ priority?: number;
6270
6818
  regionId?: string;
6271
6819
  resourceGroupId?: string;
6272
- tags?: string;
6273
- value?: string;
6820
+ resources?: string;
6821
+ severity?: string;
6822
+ solutions?: string;
6823
+ source?: string;
6824
+ status?: string;
6825
+ tags?: { [key: string]: any };
6826
+ title?: string;
6274
6827
  static names(): { [key: string]: string } {
6275
6828
  return {
6829
+ category: 'Category',
6830
+ clientToken: 'ClientToken',
6831
+ dedupString: 'DedupString',
6276
6832
  description: 'Description',
6277
- name: 'Name',
6833
+ opsItemId: 'OpsItemId',
6834
+ priority: 'Priority',
6278
6835
  regionId: 'RegionId',
6279
6836
  resourceGroupId: 'ResourceGroupId',
6837
+ resources: 'Resources',
6838
+ severity: 'Severity',
6839
+ solutions: 'Solutions',
6840
+ source: 'Source',
6841
+ status: 'Status',
6280
6842
  tags: 'Tags',
6281
- value: 'Value',
6843
+ title: 'Title',
6844
+ };
6845
+ }
6846
+
6847
+ static types(): { [key: string]: any } {
6848
+ return {
6849
+ category: 'string',
6850
+ clientToken: 'string',
6851
+ dedupString: 'string',
6852
+ description: 'string',
6853
+ opsItemId: 'string',
6854
+ priority: 'number',
6855
+ regionId: 'string',
6856
+ resourceGroupId: 'string',
6857
+ resources: 'string',
6858
+ severity: 'string',
6859
+ solutions: 'string',
6860
+ source: 'string',
6861
+ status: 'string',
6862
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6863
+ title: 'string',
6864
+ };
6865
+ }
6866
+
6867
+ constructor(map?: { [key: string]: any }) {
6868
+ super(map);
6869
+ }
6870
+ }
6871
+
6872
+ export class UpdateOpsItemShrinkRequest extends $tea.Model {
6873
+ category?: string;
6874
+ clientToken?: string;
6875
+ dedupString?: string;
6876
+ description?: string;
6877
+ opsItemId?: string;
6878
+ priority?: number;
6879
+ regionId?: string;
6880
+ resourceGroupId?: string;
6881
+ resources?: string;
6882
+ severity?: string;
6883
+ solutions?: string;
6884
+ source?: string;
6885
+ status?: string;
6886
+ tagsShrink?: string;
6887
+ title?: string;
6888
+ static names(): { [key: string]: string } {
6889
+ return {
6890
+ category: 'Category',
6891
+ clientToken: 'ClientToken',
6892
+ dedupString: 'DedupString',
6893
+ description: 'Description',
6894
+ opsItemId: 'OpsItemId',
6895
+ priority: 'Priority',
6896
+ regionId: 'RegionId',
6897
+ resourceGroupId: 'ResourceGroupId',
6898
+ resources: 'Resources',
6899
+ severity: 'Severity',
6900
+ solutions: 'Solutions',
6901
+ source: 'Source',
6902
+ status: 'Status',
6903
+ tagsShrink: 'Tags',
6904
+ title: 'Title',
6282
6905
  };
6283
6906
  }
6284
6907
 
6285
6908
  static types(): { [key: string]: any } {
6286
6909
  return {
6910
+ category: 'string',
6911
+ clientToken: 'string',
6912
+ dedupString: 'string',
6287
6913
  description: 'string',
6288
- name: 'string',
6914
+ opsItemId: 'string',
6915
+ priority: 'number',
6289
6916
  regionId: 'string',
6290
6917
  resourceGroupId: 'string',
6291
- tags: 'string',
6292
- value: 'string',
6918
+ resources: 'string',
6919
+ severity: 'string',
6920
+ solutions: 'string',
6921
+ source: 'string',
6922
+ status: 'string',
6923
+ tagsShrink: 'string',
6924
+ title: 'string',
6293
6925
  };
6294
6926
  }
6295
6927
 
@@ -6298,19 +6930,19 @@ export class UpdateParameterRequest extends $tea.Model {
6298
6930
  }
6299
6931
  }
6300
6932
 
6301
- export class UpdateParameterResponseBody extends $tea.Model {
6302
- parameter?: UpdateParameterResponseBodyParameter;
6933
+ export class UpdateOpsItemResponseBody extends $tea.Model {
6934
+ opsItem?: UpdateOpsItemResponseBodyOpsItem;
6303
6935
  requestId?: string;
6304
6936
  static names(): { [key: string]: string } {
6305
6937
  return {
6306
- parameter: 'Parameter',
6938
+ opsItem: 'OpsItem',
6307
6939
  requestId: 'RequestId',
6308
6940
  };
6309
6941
  }
6310
6942
 
6311
6943
  static types(): { [key: string]: any } {
6312
6944
  return {
6313
- parameter: UpdateParameterResponseBodyParameter,
6945
+ opsItem: UpdateOpsItemResponseBodyOpsItem,
6314
6946
  requestId: 'string',
6315
6947
  };
6316
6948
  }
@@ -6320,10 +6952,10 @@ export class UpdateParameterResponseBody extends $tea.Model {
6320
6952
  }
6321
6953
  }
6322
6954
 
6323
- export class UpdateParameterResponse extends $tea.Model {
6955
+ export class UpdateOpsItemResponse extends $tea.Model {
6324
6956
  headers: { [key: string]: string };
6325
6957
  statusCode: number;
6326
- body: UpdateParameterResponseBody;
6958
+ body: UpdateOpsItemResponseBody;
6327
6959
  static names(): { [key: string]: string } {
6328
6960
  return {
6329
6961
  headers: 'headers',
@@ -6336,7 +6968,7 @@ export class UpdateParameterResponse extends $tea.Model {
6336
6968
  return {
6337
6969
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6338
6970
  statusCode: 'number',
6339
- body: UpdateParameterResponseBody,
6971
+ body: UpdateOpsItemResponseBody,
6340
6972
  };
6341
6973
  }
6342
6974
 
@@ -6345,29 +6977,177 @@ export class UpdateParameterResponse extends $tea.Model {
6345
6977
  }
6346
6978
  }
6347
6979
 
6348
- export class UpdatePatchBaselineRequest extends $tea.Model {
6349
- approvalRules?: string;
6350
- clientToken?: string;
6980
+ export class UpdateParameterRequest extends $tea.Model {
6351
6981
  description?: string;
6352
6982
  name?: string;
6353
6983
  regionId?: string;
6984
+ resourceGroupId?: string;
6985
+ tags?: string;
6986
+ value?: string;
6987
+ static names(): { [key: string]: string } {
6988
+ return {
6989
+ description: 'Description',
6990
+ name: 'Name',
6991
+ regionId: 'RegionId',
6992
+ resourceGroupId: 'ResourceGroupId',
6993
+ tags: 'Tags',
6994
+ value: 'Value',
6995
+ };
6996
+ }
6997
+
6998
+ static types(): { [key: string]: any } {
6999
+ return {
7000
+ description: 'string',
7001
+ name: 'string',
7002
+ regionId: 'string',
7003
+ resourceGroupId: 'string',
7004
+ tags: 'string',
7005
+ value: 'string',
7006
+ };
7007
+ }
7008
+
7009
+ constructor(map?: { [key: string]: any }) {
7010
+ super(map);
7011
+ }
7012
+ }
7013
+
7014
+ export class UpdateParameterResponseBody extends $tea.Model {
7015
+ parameter?: UpdateParameterResponseBodyParameter;
7016
+ requestId?: string;
7017
+ static names(): { [key: string]: string } {
7018
+ return {
7019
+ parameter: 'Parameter',
7020
+ requestId: 'RequestId',
7021
+ };
7022
+ }
7023
+
7024
+ static types(): { [key: string]: any } {
7025
+ return {
7026
+ parameter: UpdateParameterResponseBodyParameter,
7027
+ requestId: 'string',
7028
+ };
7029
+ }
7030
+
7031
+ constructor(map?: { [key: string]: any }) {
7032
+ super(map);
7033
+ }
7034
+ }
7035
+
7036
+ export class UpdateParameterResponse extends $tea.Model {
7037
+ headers: { [key: string]: string };
7038
+ statusCode: number;
7039
+ body: UpdateParameterResponseBody;
7040
+ static names(): { [key: string]: string } {
7041
+ return {
7042
+ headers: 'headers',
7043
+ statusCode: 'statusCode',
7044
+ body: 'body',
7045
+ };
7046
+ }
7047
+
7048
+ static types(): { [key: string]: any } {
7049
+ return {
7050
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7051
+ statusCode: 'number',
7052
+ body: UpdateParameterResponseBody,
7053
+ };
7054
+ }
7055
+
7056
+ constructor(map?: { [key: string]: any }) {
7057
+ super(map);
7058
+ }
7059
+ }
7060
+
7061
+ export class UpdatePatchBaselineRequest extends $tea.Model {
7062
+ approvalRules?: string;
7063
+ approvedPatches?: string[];
7064
+ approvedPatchesEnableNonSecurity?: boolean;
7065
+ clientToken?: string;
7066
+ description?: string;
7067
+ name?: string;
7068
+ regionId?: string;
7069
+ rejectedPatches?: string[];
7070
+ rejectedPatchesAction?: string;
7071
+ sources?: string[];
7072
+ tags?: UpdatePatchBaselineRequestTags[];
6354
7073
  static names(): { [key: string]: string } {
6355
7074
  return {
6356
7075
  approvalRules: 'ApprovalRules',
7076
+ approvedPatches: 'ApprovedPatches',
7077
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
6357
7078
  clientToken: 'ClientToken',
6358
7079
  description: 'Description',
6359
7080
  name: 'Name',
6360
7081
  regionId: 'RegionId',
7082
+ rejectedPatches: 'RejectedPatches',
7083
+ rejectedPatchesAction: 'RejectedPatchesAction',
7084
+ sources: 'Sources',
7085
+ tags: 'Tags',
6361
7086
  };
6362
7087
  }
6363
7088
 
6364
7089
  static types(): { [key: string]: any } {
6365
7090
  return {
6366
7091
  approvalRules: 'string',
7092
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
7093
+ approvedPatchesEnableNonSecurity: 'boolean',
6367
7094
  clientToken: 'string',
6368
7095
  description: 'string',
6369
7096
  name: 'string',
6370
7097
  regionId: 'string',
7098
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
7099
+ rejectedPatchesAction: 'string',
7100
+ sources: { 'type': 'array', 'itemType': 'string' },
7101
+ tags: { 'type': 'array', 'itemType': UpdatePatchBaselineRequestTags },
7102
+ };
7103
+ }
7104
+
7105
+ constructor(map?: { [key: string]: any }) {
7106
+ super(map);
7107
+ }
7108
+ }
7109
+
7110
+ export class UpdatePatchBaselineShrinkRequest extends $tea.Model {
7111
+ approvalRules?: string;
7112
+ approvedPatchesShrink?: string;
7113
+ approvedPatchesEnableNonSecurity?: boolean;
7114
+ clientToken?: string;
7115
+ description?: string;
7116
+ name?: string;
7117
+ regionId?: string;
7118
+ rejectedPatchesShrink?: string;
7119
+ rejectedPatchesAction?: string;
7120
+ sourcesShrink?: string;
7121
+ tagsShrink?: string;
7122
+ static names(): { [key: string]: string } {
7123
+ return {
7124
+ approvalRules: 'ApprovalRules',
7125
+ approvedPatchesShrink: 'ApprovedPatches',
7126
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
7127
+ clientToken: 'ClientToken',
7128
+ description: 'Description',
7129
+ name: 'Name',
7130
+ regionId: 'RegionId',
7131
+ rejectedPatchesShrink: 'RejectedPatches',
7132
+ rejectedPatchesAction: 'RejectedPatchesAction',
7133
+ sourcesShrink: 'Sources',
7134
+ tagsShrink: 'Tags',
7135
+ };
7136
+ }
7137
+
7138
+ static types(): { [key: string]: any } {
7139
+ return {
7140
+ approvalRules: 'string',
7141
+ approvedPatchesShrink: 'string',
7142
+ approvedPatchesEnableNonSecurity: 'boolean',
7143
+ clientToken: 'string',
7144
+ description: 'string',
7145
+ name: 'string',
7146
+ regionId: 'string',
7147
+ rejectedPatchesShrink: 'string',
7148
+ rejectedPatchesAction: 'string',
7149
+ sourcesShrink: 'string',
7150
+ tagsShrink: 'string',
6371
7151
  };
6372
7152
  }
6373
7153
 
@@ -6801,10 +7581,12 @@ export class UpdateTemplateResponse extends $tea.Model {
6801
7581
  export class ValidateTemplateContentRequest extends $tea.Model {
6802
7582
  content?: string;
6803
7583
  regionId?: string;
7584
+ templateURL?: string;
6804
7585
  static names(): { [key: string]: string } {
6805
7586
  return {
6806
7587
  content: 'Content',
6807
7588
  regionId: 'RegionId',
7589
+ templateURL: 'TemplateURL',
6808
7590
  };
6809
7591
  }
6810
7592
 
@@ -6812,6 +7594,7 @@ export class ValidateTemplateContentRequest extends $tea.Model {
6812
7594
  return {
6813
7595
  content: 'string',
6814
7596
  regionId: 'string',
7597
+ templateURL: 'string',
6815
7598
  };
6816
7599
  }
6817
7600
 
@@ -6876,6 +7659,31 @@ export class ValidateTemplateContentResponse extends $tea.Model {
6876
7659
  }
6877
7660
  }
6878
7661
 
7662
+ export class CreateApplicationRequestAlarmConfig extends $tea.Model {
7663
+ contactGroups?: string[];
7664
+ healthCheckUrl?: string;
7665
+ templateIds?: string[];
7666
+ static names(): { [key: string]: string } {
7667
+ return {
7668
+ contactGroups: 'ContactGroups',
7669
+ healthCheckUrl: 'HealthCheckUrl',
7670
+ templateIds: 'TemplateIds',
7671
+ };
7672
+ }
7673
+
7674
+ static types(): { [key: string]: any } {
7675
+ return {
7676
+ contactGroups: { 'type': 'array', 'itemType': 'string' },
7677
+ healthCheckUrl: 'string',
7678
+ templateIds: { 'type': 'array', 'itemType': 'string' },
7679
+ };
7680
+ }
7681
+
7682
+ constructor(map?: { [key: string]: any }) {
7683
+ super(map);
7684
+ }
7685
+ }
7686
+
6879
7687
  export class CreateApplicationResponseBodyApplication extends $tea.Model {
6880
7688
  createDate?: string;
6881
7689
  description?: string;
@@ -6950,6 +7758,73 @@ export class CreateApplicationGroupResponseBodyApplicationGroup extends $tea.Mod
6950
7758
  }
6951
7759
  }
6952
7760
 
7761
+ export class CreateOpsItemResponseBodyOpsItem extends $tea.Model {
7762
+ attributes?: string;
7763
+ category?: string;
7764
+ createDate?: string;
7765
+ createdBy?: string;
7766
+ description?: string;
7767
+ lastModifiedBy?: string;
7768
+ opsItemId?: string;
7769
+ priority?: number;
7770
+ resourceGroupId?: string;
7771
+ resources?: string;
7772
+ severity?: string;
7773
+ solutions?: string;
7774
+ source?: string;
7775
+ status?: string;
7776
+ tags?: { [key: string]: any };
7777
+ title?: string;
7778
+ updateDate?: string;
7779
+ static names(): { [key: string]: string } {
7780
+ return {
7781
+ attributes: 'Attributes',
7782
+ category: 'Category',
7783
+ createDate: 'CreateDate',
7784
+ createdBy: 'CreatedBy',
7785
+ description: 'Description',
7786
+ lastModifiedBy: 'LastModifiedBy',
7787
+ opsItemId: 'OpsItemId',
7788
+ priority: 'Priority',
7789
+ resourceGroupId: 'ResourceGroupId',
7790
+ resources: 'Resources',
7791
+ severity: 'Severity',
7792
+ solutions: 'Solutions',
7793
+ source: 'Source',
7794
+ status: 'Status',
7795
+ tags: 'Tags',
7796
+ title: 'Title',
7797
+ updateDate: 'UpdateDate',
7798
+ };
7799
+ }
7800
+
7801
+ static types(): { [key: string]: any } {
7802
+ return {
7803
+ attributes: 'string',
7804
+ category: 'string',
7805
+ createDate: 'string',
7806
+ createdBy: 'string',
7807
+ description: 'string',
7808
+ lastModifiedBy: 'string',
7809
+ opsItemId: 'string',
7810
+ priority: 'number',
7811
+ resourceGroupId: 'string',
7812
+ resources: 'string',
7813
+ severity: 'string',
7814
+ solutions: 'string',
7815
+ source: 'string',
7816
+ status: 'string',
7817
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7818
+ title: 'string',
7819
+ updateDate: 'string',
7820
+ };
7821
+ }
7822
+
7823
+ constructor(map?: { [key: string]: any }) {
7824
+ super(map);
7825
+ }
7826
+ }
7827
+
6953
7828
  export class CreateParameterResponseBodyParameter extends $tea.Model {
6954
7829
  constraints?: string;
6955
7830
  createdBy?: string;
@@ -7005,27 +7880,83 @@ export class CreateParameterResponseBodyParameter extends $tea.Model {
7005
7880
  }
7006
7881
  }
7007
7882
 
7883
+ export class CreatePatchBaselineRequestTags extends $tea.Model {
7884
+ key?: string;
7885
+ value?: string;
7886
+ static names(): { [key: string]: string } {
7887
+ return {
7888
+ key: 'Key',
7889
+ value: 'Value',
7890
+ };
7891
+ }
7892
+
7893
+ static types(): { [key: string]: any } {
7894
+ return {
7895
+ key: 'string',
7896
+ value: 'string',
7897
+ };
7898
+ }
7899
+
7900
+ constructor(map?: { [key: string]: any }) {
7901
+ super(map);
7902
+ }
7903
+ }
7904
+
7905
+ export class CreatePatchBaselineResponseBodyPatchBaselineTags extends $tea.Model {
7906
+ tagKey?: string;
7907
+ tagValue?: string;
7908
+ static names(): { [key: string]: string } {
7909
+ return {
7910
+ tagKey: 'TagKey',
7911
+ tagValue: 'TagValue',
7912
+ };
7913
+ }
7914
+
7915
+ static types(): { [key: string]: any } {
7916
+ return {
7917
+ tagKey: 'string',
7918
+ tagValue: 'string',
7919
+ };
7920
+ }
7921
+
7922
+ constructor(map?: { [key: string]: any }) {
7923
+ super(map);
7924
+ }
7925
+ }
7926
+
7008
7927
  export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7009
7928
  approvalRules?: string;
7929
+ approvedPatches?: string[];
7930
+ approvedPatchesEnableNonSecurity?: boolean;
7010
7931
  createdBy?: string;
7011
7932
  createdDate?: string;
7012
7933
  description?: string;
7013
7934
  id?: string;
7014
7935
  name?: string;
7015
7936
  operationSystem?: string;
7937
+ rejectedPatches?: string[];
7938
+ rejectedPatchesAction?: string;
7016
7939
  shareType?: string;
7940
+ sources?: string[];
7941
+ tags?: CreatePatchBaselineResponseBodyPatchBaselineTags[];
7017
7942
  updatedBy?: string;
7018
7943
  updatedDate?: string;
7019
7944
  static names(): { [key: string]: string } {
7020
7945
  return {
7021
7946
  approvalRules: 'ApprovalRules',
7947
+ approvedPatches: 'ApprovedPatches',
7948
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
7022
7949
  createdBy: 'CreatedBy',
7023
7950
  createdDate: 'CreatedDate',
7024
7951
  description: 'Description',
7025
7952
  id: 'Id',
7026
7953
  name: 'Name',
7027
7954
  operationSystem: 'OperationSystem',
7955
+ rejectedPatches: 'RejectedPatches',
7956
+ rejectedPatchesAction: 'RejectedPatchesAction',
7028
7957
  shareType: 'ShareType',
7958
+ sources: 'Sources',
7959
+ tags: 'Tags',
7029
7960
  updatedBy: 'UpdatedBy',
7030
7961
  updatedDate: 'UpdatedDate',
7031
7962
  };
@@ -7034,13 +7965,19 @@ export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7034
7965
  static types(): { [key: string]: any } {
7035
7966
  return {
7036
7967
  approvalRules: 'string',
7968
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
7969
+ approvedPatchesEnableNonSecurity: 'boolean',
7037
7970
  createdBy: 'string',
7038
7971
  createdDate: 'string',
7039
7972
  description: 'string',
7040
7973
  id: 'string',
7041
7974
  name: 'string',
7042
7975
  operationSystem: 'string',
7976
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
7977
+ rejectedPatchesAction: 'string',
7043
7978
  shareType: 'string',
7979
+ sources: { 'type': 'array', 'itemType': 'string' },
7980
+ tags: { 'type': 'array', 'itemType': CreatePatchBaselineResponseBodyPatchBaselineTags },
7044
7981
  updatedBy: 'string',
7045
7982
  updatedDate: 'string',
7046
7983
  };
@@ -7247,7 +8184,34 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7247
8184
  }
7248
8185
  }
7249
8186
 
8187
+ export class GetApplicationResponseBodyApplicationAlarmConfig extends $tea.Model {
8188
+ contactGroups?: string[];
8189
+ healthCheckUrl?: string;
8190
+ templateIds?: string[];
8191
+ static names(): { [key: string]: string } {
8192
+ return {
8193
+ contactGroups: 'ContactGroups',
8194
+ healthCheckUrl: 'HealthCheckUrl',
8195
+ templateIds: 'TemplateIds',
8196
+ };
8197
+ }
8198
+
8199
+ static types(): { [key: string]: any } {
8200
+ return {
8201
+ contactGroups: { 'type': 'array', 'itemType': 'string' },
8202
+ healthCheckUrl: 'string',
8203
+ templateIds: { 'type': 'array', 'itemType': 'string' },
8204
+ };
8205
+ }
8206
+
8207
+ constructor(map?: { [key: string]: any }) {
8208
+ super(map);
8209
+ }
8210
+ }
8211
+
7250
8212
  export class GetApplicationResponseBodyApplication extends $tea.Model {
8213
+ alarmConfig?: GetApplicationResponseBodyApplicationAlarmConfig;
8214
+ applicationType?: string;
7251
8215
  createDate?: string;
7252
8216
  description?: string;
7253
8217
  name?: string;
@@ -7256,6 +8220,8 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
7256
8220
  updateDate?: string;
7257
8221
  static names(): { [key: string]: string } {
7258
8222
  return {
8223
+ alarmConfig: 'AlarmConfig',
8224
+ applicationType: 'ApplicationType',
7259
8225
  createDate: 'CreateDate',
7260
8226
  description: 'Description',
7261
8227
  name: 'Name',
@@ -7267,6 +8233,8 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
7267
8233
 
7268
8234
  static types(): { [key: string]: any } {
7269
8235
  return {
8236
+ alarmConfig: GetApplicationResponseBodyApplicationAlarmConfig,
8237
+ applicationType: 'string',
7270
8238
  createDate: 'string',
7271
8239
  description: 'string',
7272
8240
  name: 'string',
@@ -7438,6 +8406,76 @@ export class GetInventorySchemaResponseBodySchemas extends $tea.Model {
7438
8406
  }
7439
8407
  }
7440
8408
 
8409
+ export class GetOpsItemResponseBodyOpsItem extends $tea.Model {
8410
+ attributes?: { [key: string]: any };
8411
+ category?: string;
8412
+ createBy?: string;
8413
+ createDate?: string;
8414
+ dedupString?: string;
8415
+ description?: string;
8416
+ lastModifiedBy?: string;
8417
+ opsItemId?: string;
8418
+ priority?: number;
8419
+ resourceGroupId?: string;
8420
+ resources?: string[];
8421
+ severity?: string;
8422
+ solutions?: { [key: string]: any }[];
8423
+ source?: string;
8424
+ status?: string;
8425
+ tags?: { [key: string]: any };
8426
+ title?: string;
8427
+ updateDate?: string;
8428
+ static names(): { [key: string]: string } {
8429
+ return {
8430
+ attributes: 'Attributes',
8431
+ category: 'Category',
8432
+ createBy: 'CreateBy',
8433
+ createDate: 'CreateDate',
8434
+ dedupString: 'DedupString',
8435
+ description: 'Description',
8436
+ lastModifiedBy: 'LastModifiedBy',
8437
+ opsItemId: 'OpsItemId',
8438
+ priority: 'Priority',
8439
+ resourceGroupId: 'ResourceGroupId',
8440
+ resources: 'Resources',
8441
+ severity: 'Severity',
8442
+ solutions: 'Solutions',
8443
+ source: 'Source',
8444
+ status: 'Status',
8445
+ tags: 'Tags',
8446
+ title: 'Title',
8447
+ updateDate: 'UpdateDate',
8448
+ };
8449
+ }
8450
+
8451
+ static types(): { [key: string]: any } {
8452
+ return {
8453
+ attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8454
+ category: 'string',
8455
+ createBy: 'string',
8456
+ createDate: 'string',
8457
+ dedupString: 'string',
8458
+ description: 'string',
8459
+ lastModifiedBy: 'string',
8460
+ opsItemId: 'string',
8461
+ priority: 'number',
8462
+ resourceGroupId: 'string',
8463
+ resources: { 'type': 'array', 'itemType': 'string' },
8464
+ severity: 'string',
8465
+ solutions: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
8466
+ source: 'string',
8467
+ status: 'string',
8468
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8469
+ title: 'string',
8470
+ updateDate: 'string',
8471
+ };
8472
+ }
8473
+
8474
+ constructor(map?: { [key: string]: any }) {
8475
+ super(map);
8476
+ }
8477
+ }
8478
+
7441
8479
  export class GetParameterResponseBodyParameter extends $tea.Model {
7442
8480
  constraints?: string;
7443
8481
  createdBy?: string;
@@ -7563,6 +8601,7 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
7563
8601
  name?: string;
7564
8602
  parameterVersion?: number;
7565
8603
  shareType?: string;
8604
+ tags?: { [key: string]: any };
7566
8605
  type?: string;
7567
8606
  updatedBy?: string;
7568
8607
  updatedDate?: string;
@@ -7577,6 +8616,7 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
7577
8616
  name: 'Name',
7578
8617
  parameterVersion: 'ParameterVersion',
7579
8618
  shareType: 'ShareType',
8619
+ tags: 'Tags',
7580
8620
  type: 'Type',
7581
8621
  updatedBy: 'UpdatedBy',
7582
8622
  updatedDate: 'UpdatedDate',
@@ -7594,6 +8634,7 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
7594
8634
  name: 'string',
7595
8635
  parameterVersion: 'number',
7596
8636
  shareType: 'string',
8637
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7597
8638
  type: 'string',
7598
8639
  updatedBy: 'string',
7599
8640
  updatedDate: 'string',
@@ -7606,8 +8647,32 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
7606
8647
  }
7607
8648
  }
7608
8649
 
8650
+ export class GetPatchBaselineResponseBodyPatchBaselineTags extends $tea.Model {
8651
+ tagKey?: string;
8652
+ tagValue?: string;
8653
+ static names(): { [key: string]: string } {
8654
+ return {
8655
+ tagKey: 'TagKey',
8656
+ tagValue: 'TagValue',
8657
+ };
8658
+ }
8659
+
8660
+ static types(): { [key: string]: any } {
8661
+ return {
8662
+ tagKey: 'string',
8663
+ tagValue: 'string',
8664
+ };
8665
+ }
8666
+
8667
+ constructor(map?: { [key: string]: any }) {
8668
+ super(map);
8669
+ }
8670
+ }
8671
+
7609
8672
  export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7610
8673
  approvalRules?: string;
8674
+ approvedPatches?: string[];
8675
+ approvedPatchesEnableNonSecurity?: boolean;
7611
8676
  createdBy?: string;
7612
8677
  createdDate?: string;
7613
8678
  description?: string;
@@ -7615,12 +8680,18 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7615
8680
  isDefault?: boolean;
7616
8681
  name?: string;
7617
8682
  operationSystem?: string;
8683
+ rejectedPatches?: string[];
8684
+ rejectedPatchesAction?: string;
7618
8685
  shareType?: string;
8686
+ sources?: string[];
8687
+ tags?: GetPatchBaselineResponseBodyPatchBaselineTags[];
7619
8688
  updatedBy?: string;
7620
8689
  updatedDate?: string;
7621
8690
  static names(): { [key: string]: string } {
7622
8691
  return {
7623
8692
  approvalRules: 'ApprovalRules',
8693
+ approvedPatches: 'ApprovedPatches',
8694
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
7624
8695
  createdBy: 'CreatedBy',
7625
8696
  createdDate: 'CreatedDate',
7626
8697
  description: 'Description',
@@ -7628,7 +8699,11 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7628
8699
  isDefault: 'IsDefault',
7629
8700
  name: 'Name',
7630
8701
  operationSystem: 'OperationSystem',
8702
+ rejectedPatches: 'RejectedPatches',
8703
+ rejectedPatchesAction: 'RejectedPatchesAction',
7631
8704
  shareType: 'ShareType',
8705
+ sources: 'Sources',
8706
+ tags: 'Tags',
7632
8707
  updatedBy: 'UpdatedBy',
7633
8708
  updatedDate: 'UpdatedDate',
7634
8709
  };
@@ -7637,6 +8712,8 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7637
8712
  static types(): { [key: string]: any } {
7638
8713
  return {
7639
8714
  approvalRules: 'string',
8715
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
8716
+ approvedPatchesEnableNonSecurity: 'boolean',
7640
8717
  createdBy: 'string',
7641
8718
  createdDate: 'string',
7642
8719
  description: 'string',
@@ -7644,7 +8721,11 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
7644
8721
  isDefault: 'boolean',
7645
8722
  name: 'string',
7646
8723
  operationSystem: 'string',
8724
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
8725
+ rejectedPatchesAction: 'string',
7647
8726
  shareType: 'string',
8727
+ sources: { 'type': 'array', 'itemType': 'string' },
8728
+ tags: { 'type': 'array', 'itemType': GetPatchBaselineResponseBodyPatchBaselineTags },
7648
8729
  updatedBy: 'string',
7649
8730
  updatedDate: 'string',
7650
8731
  };
@@ -8020,6 +9101,7 @@ export class ListApplicationGroupsResponseBodyApplicationGroups extends $tea.Mod
8020
9101
  }
8021
9102
 
8022
9103
  export class ListApplicationsResponseBodyApplications extends $tea.Model {
9104
+ applicationType?: string;
8023
9105
  createDate?: string;
8024
9106
  description?: string;
8025
9107
  name?: string;
@@ -8028,6 +9110,7 @@ export class ListApplicationsResponseBodyApplications extends $tea.Model {
8028
9110
  updateDate?: string;
8029
9111
  static names(): { [key: string]: string } {
8030
9112
  return {
9113
+ applicationType: 'ApplicationType',
8031
9114
  createDate: 'CreateDate',
8032
9115
  description: 'Description',
8033
9116
  name: 'Name',
@@ -8039,6 +9122,7 @@ export class ListApplicationsResponseBodyApplications extends $tea.Model {
8039
9122
 
8040
9123
  static types(): { [key: string]: any } {
8041
9124
  return {
9125
+ applicationType: 'string',
8042
9126
  createDate: 'string',
8043
9127
  description: 'string',
8044
9128
  name: 'string',
@@ -8145,7 +9229,9 @@ export class ListExecutionsResponseBodyExecutions extends $tea.Model {
8145
9229
  executionId?: string;
8146
9230
  isParent?: boolean;
8147
9231
  lastSuccessfulTriggerTime?: string;
9232
+ lastTriggerOutputs?: string;
8148
9233
  lastTriggerStatus?: string;
9234
+ lastTriggerStatusMessage?: string;
8149
9235
  lastTriggerTime?: string;
8150
9236
  mode?: string;
8151
9237
  outputs?: string;
@@ -8178,7 +9264,9 @@ export class ListExecutionsResponseBodyExecutions extends $tea.Model {
8178
9264
  executionId: 'ExecutionId',
8179
9265
  isParent: 'IsParent',
8180
9266
  lastSuccessfulTriggerTime: 'LastSuccessfulTriggerTime',
9267
+ lastTriggerOutputs: 'LastTriggerOutputs',
8181
9268
  lastTriggerStatus: 'LastTriggerStatus',
9269
+ lastTriggerStatusMessage: 'LastTriggerStatusMessage',
8182
9270
  lastTriggerTime: 'LastTriggerTime',
8183
9271
  mode: 'Mode',
8184
9272
  outputs: 'Outputs',
@@ -8214,7 +9302,9 @@ export class ListExecutionsResponseBodyExecutions extends $tea.Model {
8214
9302
  executionId: 'string',
8215
9303
  isParent: 'boolean',
8216
9304
  lastSuccessfulTriggerTime: 'string',
9305
+ lastTriggerOutputs: 'string',
8217
9306
  lastTriggerStatus: 'string',
9307
+ lastTriggerStatusMessage: 'string',
8218
9308
  lastTriggerTime: 'string',
8219
9309
  mode: 'string',
8220
9310
  outputs: 'string',
@@ -8332,7 +9422,57 @@ export class ListInstancePatchesResponseBodyPatches extends $tea.Model {
8332
9422
  }
8333
9423
  }
8334
9424
 
8335
- export class ListInventoryEntriesRequestFilter extends $tea.Model {
9425
+ export class ListInventoryEntriesRequestFilter extends $tea.Model {
9426
+ name?: string;
9427
+ operator?: string;
9428
+ value?: string[];
9429
+ static names(): { [key: string]: string } {
9430
+ return {
9431
+ name: 'Name',
9432
+ operator: 'Operator',
9433
+ value: 'Value',
9434
+ };
9435
+ }
9436
+
9437
+ static types(): { [key: string]: any } {
9438
+ return {
9439
+ name: 'string',
9440
+ operator: 'string',
9441
+ value: { 'type': 'array', 'itemType': 'string' },
9442
+ };
9443
+ }
9444
+
9445
+ constructor(map?: { [key: string]: any }) {
9446
+ super(map);
9447
+ }
9448
+ }
9449
+
9450
+ export class ListOpsItemsRequestFilter extends $tea.Model {
9451
+ name?: string;
9452
+ operator?: string;
9453
+ value?: string[];
9454
+ static names(): { [key: string]: string } {
9455
+ return {
9456
+ name: 'Name',
9457
+ operator: 'Operator',
9458
+ value: 'Value',
9459
+ };
9460
+ }
9461
+
9462
+ static types(): { [key: string]: any } {
9463
+ return {
9464
+ name: 'string',
9465
+ operator: 'string',
9466
+ value: { 'type': 'array', 'itemType': 'string' },
9467
+ };
9468
+ }
9469
+
9470
+ constructor(map?: { [key: string]: any }) {
9471
+ super(map);
9472
+ }
9473
+ }
9474
+
9475
+ export class ListOpsItemsShrinkRequestFilter extends $tea.Model {
8336
9476
  name?: string;
8337
9477
  operator?: string;
8338
9478
  value?: string[];
@@ -8357,6 +9497,55 @@ export class ListInventoryEntriesRequestFilter extends $tea.Model {
8357
9497
  }
8358
9498
  }
8359
9499
 
9500
+ export class ListOpsItemsResponseBodyOpsItems extends $tea.Model {
9501
+ category?: string;
9502
+ createDate?: string;
9503
+ opsItemId?: string;
9504
+ priority?: number;
9505
+ resources?: string[];
9506
+ severity?: string;
9507
+ source?: string;
9508
+ status?: string;
9509
+ tags?: { [key: string]: any };
9510
+ title?: string;
9511
+ updateDate?: string;
9512
+ static names(): { [key: string]: string } {
9513
+ return {
9514
+ category: 'Category',
9515
+ createDate: 'CreateDate',
9516
+ opsItemId: 'OpsItemId',
9517
+ priority: 'Priority',
9518
+ resources: 'Resources',
9519
+ severity: 'Severity',
9520
+ source: 'Source',
9521
+ status: 'Status',
9522
+ tags: 'Tags',
9523
+ title: 'Title',
9524
+ updateDate: 'UpdateDate',
9525
+ };
9526
+ }
9527
+
9528
+ static types(): { [key: string]: any } {
9529
+ return {
9530
+ category: 'string',
9531
+ createDate: 'string',
9532
+ opsItemId: 'string',
9533
+ priority: 'number',
9534
+ resources: { 'type': 'array', 'itemType': 'string' },
9535
+ severity: 'string',
9536
+ source: 'string',
9537
+ status: 'string',
9538
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9539
+ title: 'string',
9540
+ updateDate: 'string',
9541
+ };
9542
+ }
9543
+
9544
+ constructor(map?: { [key: string]: any }) {
9545
+ super(map);
9546
+ }
9547
+ }
9548
+
8360
9549
  export class ListParameterVersionsResponseBodyParameterVersions extends $tea.Model {
8361
9550
  parameterVersion?: number;
8362
9551
  updatedBy?: string;
@@ -8437,7 +9626,53 @@ export class ListParametersResponseBodyParameters extends $tea.Model {
8437
9626
  }
8438
9627
  }
8439
9628
 
9629
+ export class ListPatchBaselinesRequestTags extends $tea.Model {
9630
+ key?: string;
9631
+ value?: string;
9632
+ static names(): { [key: string]: string } {
9633
+ return {
9634
+ key: 'Key',
9635
+ value: 'Value',
9636
+ };
9637
+ }
9638
+
9639
+ static types(): { [key: string]: any } {
9640
+ return {
9641
+ key: 'string',
9642
+ value: 'string',
9643
+ };
9644
+ }
9645
+
9646
+ constructor(map?: { [key: string]: any }) {
9647
+ super(map);
9648
+ }
9649
+ }
9650
+
9651
+ export class ListPatchBaselinesResponseBodyPatchBaselinesTags extends $tea.Model {
9652
+ tagKey?: string;
9653
+ tagValue?: string;
9654
+ static names(): { [key: string]: string } {
9655
+ return {
9656
+ tagKey: 'TagKey',
9657
+ tagValue: 'TagValue',
9658
+ };
9659
+ }
9660
+
9661
+ static types(): { [key: string]: any } {
9662
+ return {
9663
+ tagKey: 'string',
9664
+ tagValue: 'string',
9665
+ };
9666
+ }
9667
+
9668
+ constructor(map?: { [key: string]: any }) {
9669
+ super(map);
9670
+ }
9671
+ }
9672
+
8440
9673
  export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
9674
+ approvedPatches?: string[];
9675
+ approvedPatchesEnableNonSecurity?: boolean;
8441
9676
  createdBy?: string;
8442
9677
  createdDate?: string;
8443
9678
  description?: string;
@@ -8446,10 +9681,14 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
8446
9681
  name?: string;
8447
9682
  operationSystem?: string;
8448
9683
  shareType?: string;
9684
+ sources?: string[];
9685
+ tags?: ListPatchBaselinesResponseBodyPatchBaselinesTags[];
8449
9686
  updatedBy?: string;
8450
9687
  updatedDate?: string;
8451
9688
  static names(): { [key: string]: string } {
8452
9689
  return {
9690
+ approvedPatches: 'ApprovedPatches',
9691
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
8453
9692
  createdBy: 'CreatedBy',
8454
9693
  createdDate: 'CreatedDate',
8455
9694
  description: 'Description',
@@ -8458,6 +9697,8 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
8458
9697
  name: 'Name',
8459
9698
  operationSystem: 'OperationSystem',
8460
9699
  shareType: 'ShareType',
9700
+ sources: 'Sources',
9701
+ tags: 'Tags',
8461
9702
  updatedBy: 'UpdatedBy',
8462
9703
  updatedDate: 'UpdatedDate',
8463
9704
  };
@@ -8465,6 +9706,8 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
8465
9706
 
8466
9707
  static types(): { [key: string]: any } {
8467
9708
  return {
9709
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
9710
+ approvedPatchesEnableNonSecurity: 'boolean',
8468
9711
  createdBy: 'string',
8469
9712
  createdDate: 'string',
8470
9713
  description: 'string',
@@ -8473,6 +9716,8 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
8473
9716
  name: 'string',
8474
9717
  operationSystem: 'string',
8475
9718
  shareType: 'string',
9719
+ sources: { 'type': 'array', 'itemType': 'string' },
9720
+ tags: { 'type': 'array', 'itemType': ListPatchBaselinesResponseBodyPatchBaselinesTags },
8476
9721
  updatedBy: 'string',
8477
9722
  updatedDate: 'string',
8478
9723
  };
@@ -9097,6 +10342,31 @@ export class StartExecutionResponseBodyExecution extends $tea.Model {
9097
10342
  }
9098
10343
  }
9099
10344
 
10345
+ export class UpdateApplicationRequestAlarmConfig extends $tea.Model {
10346
+ contactGroups?: string[];
10347
+ healthCheckUrl?: string;
10348
+ templateIds?: string[];
10349
+ static names(): { [key: string]: string } {
10350
+ return {
10351
+ contactGroups: 'ContactGroups',
10352
+ healthCheckUrl: 'HealthCheckUrl',
10353
+ templateIds: 'TemplateIds',
10354
+ };
10355
+ }
10356
+
10357
+ static types(): { [key: string]: any } {
10358
+ return {
10359
+ contactGroups: { 'type': 'array', 'itemType': 'string' },
10360
+ healthCheckUrl: 'string',
10361
+ templateIds: { 'type': 'array', 'itemType': 'string' },
10362
+ };
10363
+ }
10364
+
10365
+ constructor(map?: { [key: string]: any }) {
10366
+ super(map);
10367
+ }
10368
+ }
10369
+
9100
10370
  export class UpdateApplicationResponseBodyApplication extends $tea.Model {
9101
10371
  createdDate?: string;
9102
10372
  description?: string;
@@ -9171,6 +10441,73 @@ export class UpdateApplicationGroupResponseBodyApplicationGroup extends $tea.Mod
9171
10441
  }
9172
10442
  }
9173
10443
 
10444
+ export class UpdateOpsItemResponseBodyOpsItem extends $tea.Model {
10445
+ attributes?: string;
10446
+ category?: string;
10447
+ createDate?: string;
10448
+ createdBy?: string;
10449
+ description?: string;
10450
+ lastModifiedBy?: string;
10451
+ opsItemId?: string;
10452
+ priority?: number;
10453
+ resourceGroupId?: string;
10454
+ resources?: string[];
10455
+ severity?: string;
10456
+ solutions?: string[];
10457
+ source?: string;
10458
+ status?: string;
10459
+ tags?: { [key: string]: any };
10460
+ title?: string;
10461
+ updateDate?: string;
10462
+ static names(): { [key: string]: string } {
10463
+ return {
10464
+ attributes: 'Attributes',
10465
+ category: 'Category',
10466
+ createDate: 'CreateDate',
10467
+ createdBy: 'CreatedBy',
10468
+ description: 'Description',
10469
+ lastModifiedBy: 'LastModifiedBy',
10470
+ opsItemId: 'OpsItemId',
10471
+ priority: 'Priority',
10472
+ resourceGroupId: 'ResourceGroupId',
10473
+ resources: 'Resources',
10474
+ severity: 'Severity',
10475
+ solutions: 'Solutions',
10476
+ source: 'Source',
10477
+ status: 'Status',
10478
+ tags: 'Tags',
10479
+ title: 'Title',
10480
+ updateDate: 'UpdateDate',
10481
+ };
10482
+ }
10483
+
10484
+ static types(): { [key: string]: any } {
10485
+ return {
10486
+ attributes: 'string',
10487
+ category: 'string',
10488
+ createDate: 'string',
10489
+ createdBy: 'string',
10490
+ description: 'string',
10491
+ lastModifiedBy: 'string',
10492
+ opsItemId: 'string',
10493
+ priority: 'number',
10494
+ resourceGroupId: 'string',
10495
+ resources: { 'type': 'array', 'itemType': 'string' },
10496
+ severity: 'string',
10497
+ solutions: { 'type': 'array', 'itemType': 'string' },
10498
+ source: 'string',
10499
+ status: 'string',
10500
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10501
+ title: 'string',
10502
+ updateDate: 'string',
10503
+ };
10504
+ }
10505
+
10506
+ constructor(map?: { [key: string]: any }) {
10507
+ super(map);
10508
+ }
10509
+ }
10510
+
9174
10511
  export class UpdateParameterResponseBodyParameter extends $tea.Model {
9175
10512
  constraints?: string;
9176
10513
  createdBy?: string;
@@ -9226,27 +10563,83 @@ export class UpdateParameterResponseBodyParameter extends $tea.Model {
9226
10563
  }
9227
10564
  }
9228
10565
 
10566
+ export class UpdatePatchBaselineRequestTags extends $tea.Model {
10567
+ key?: string;
10568
+ value?: string;
10569
+ static names(): { [key: string]: string } {
10570
+ return {
10571
+ key: 'Key',
10572
+ value: 'Value',
10573
+ };
10574
+ }
10575
+
10576
+ static types(): { [key: string]: any } {
10577
+ return {
10578
+ key: 'string',
10579
+ value: 'string',
10580
+ };
10581
+ }
10582
+
10583
+ constructor(map?: { [key: string]: any }) {
10584
+ super(map);
10585
+ }
10586
+ }
10587
+
10588
+ export class UpdatePatchBaselineResponseBodyPatchBaselineTags extends $tea.Model {
10589
+ tagKey?: string;
10590
+ tagValue?: string;
10591
+ static names(): { [key: string]: string } {
10592
+ return {
10593
+ tagKey: 'TagKey',
10594
+ tagValue: 'TagValue',
10595
+ };
10596
+ }
10597
+
10598
+ static types(): { [key: string]: any } {
10599
+ return {
10600
+ tagKey: 'string',
10601
+ tagValue: 'string',
10602
+ };
10603
+ }
10604
+
10605
+ constructor(map?: { [key: string]: any }) {
10606
+ super(map);
10607
+ }
10608
+ }
10609
+
9229
10610
  export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
9230
10611
  approvalRules?: string;
10612
+ approvedPatches?: string[];
10613
+ approvedPatchesEnableNonSecurity?: boolean;
9231
10614
  createdBy?: string;
9232
10615
  createdDate?: string;
9233
10616
  description?: string;
9234
10617
  id?: string;
9235
10618
  name?: string;
9236
10619
  operationSystem?: string;
10620
+ rejectedPatches?: string[];
10621
+ rejectedPatchesAction?: string;
9237
10622
  shareType?: string;
10623
+ sources?: string[];
10624
+ tags?: UpdatePatchBaselineResponseBodyPatchBaselineTags[];
9238
10625
  updatedBy?: string;
9239
10626
  updatedDate?: string;
9240
10627
  static names(): { [key: string]: string } {
9241
10628
  return {
9242
10629
  approvalRules: 'ApprovalRules',
10630
+ approvedPatches: 'ApprovedPatches',
10631
+ approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
9243
10632
  createdBy: 'CreatedBy',
9244
10633
  createdDate: 'CreatedDate',
9245
10634
  description: 'Description',
9246
10635
  id: 'Id',
9247
10636
  name: 'Name',
9248
10637
  operationSystem: 'OperationSystem',
10638
+ rejectedPatches: 'RejectedPatches',
10639
+ rejectedPatchesAction: 'RejectedPatchesAction',
9249
10640
  shareType: 'ShareType',
10641
+ sources: 'Sources',
10642
+ tags: 'Tags',
9250
10643
  updatedBy: 'UpdatedBy',
9251
10644
  updatedDate: 'UpdatedDate',
9252
10645
  };
@@ -9255,13 +10648,19 @@ export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
9255
10648
  static types(): { [key: string]: any } {
9256
10649
  return {
9257
10650
  approvalRules: 'string',
10651
+ approvedPatches: { 'type': 'array', 'itemType': 'string' },
10652
+ approvedPatchesEnableNonSecurity: 'boolean',
9258
10653
  createdBy: 'string',
9259
10654
  createdDate: 'string',
9260
10655
  description: 'string',
9261
10656
  id: 'string',
9262
10657
  name: 'string',
9263
10658
  operationSystem: 'string',
10659
+ rejectedPatches: { 'type': 'array', 'itemType': 'string' },
10660
+ rejectedPatchesAction: 'string',
9264
10661
  shareType: 'string',
10662
+ sources: { 'type': 'array', 'itemType': 'string' },
10663
+ tags: { 'type': 'array', 'itemType': UpdatePatchBaselineResponseBodyPatchBaselineTags },
9265
10664
  updatedBy: 'string',
9266
10665
  updatedDate: 'string',
9267
10666
  };
@@ -9619,11 +11018,19 @@ export default class Client extends OpenApi {
9619
11018
  Util.validateModel(tmpReq);
9620
11019
  let request = new CreateApplicationShrinkRequest({ });
9621
11020
  OpenApiUtil.convert(tmpReq, request);
11021
+ if (!Util.isUnset(tmpReq.alarmConfig)) {
11022
+ request.alarmConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alarmConfig, "AlarmConfig", "json");
11023
+ }
11024
+
9622
11025
  if (!Util.isUnset(tmpReq.tags)) {
9623
11026
  request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
9624
11027
  }
9625
11028
 
9626
11029
  let query = { };
11030
+ if (!Util.isUnset(request.alarmConfigShrink)) {
11031
+ query["AlarmConfig"] = request.alarmConfigShrink;
11032
+ }
11033
+
9627
11034
  if (!Util.isUnset(request.clientToken)) {
9628
11035
  query["ClientToken"] = request.clientToken;
9629
11036
  }
@@ -9728,7 +11135,90 @@ export default class Client extends OpenApi {
9728
11135
 
9729
11136
  async createApplicationGroup(request: CreateApplicationGroupRequest): Promise<CreateApplicationGroupResponse> {
9730
11137
  let runtime = new $Util.RuntimeOptions({ });
9731
- return await this.createApplicationGroupWithOptions(request, runtime);
11138
+ return await this.createApplicationGroupWithOptions(request, runtime);
11139
+ }
11140
+
11141
+ async createOpsItemWithOptions(tmpReq: CreateOpsItemRequest, runtime: $Util.RuntimeOptions): Promise<CreateOpsItemResponse> {
11142
+ Util.validateModel(tmpReq);
11143
+ let request = new CreateOpsItemShrinkRequest({ });
11144
+ OpenApiUtil.convert(tmpReq, request);
11145
+ if (!Util.isUnset(tmpReq.tags)) {
11146
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
11147
+ }
11148
+
11149
+ let query = { };
11150
+ if (!Util.isUnset(request.category)) {
11151
+ query["Category"] = request.category;
11152
+ }
11153
+
11154
+ if (!Util.isUnset(request.clientToken)) {
11155
+ query["ClientToken"] = request.clientToken;
11156
+ }
11157
+
11158
+ if (!Util.isUnset(request.dedupString)) {
11159
+ query["DedupString"] = request.dedupString;
11160
+ }
11161
+
11162
+ if (!Util.isUnset(request.description)) {
11163
+ query["Description"] = request.description;
11164
+ }
11165
+
11166
+ if (!Util.isUnset(request.priority)) {
11167
+ query["Priority"] = request.priority;
11168
+ }
11169
+
11170
+ if (!Util.isUnset(request.regionId)) {
11171
+ query["RegionId"] = request.regionId;
11172
+ }
11173
+
11174
+ if (!Util.isUnset(request.resourceGroupId)) {
11175
+ query["ResourceGroupId"] = request.resourceGroupId;
11176
+ }
11177
+
11178
+ if (!Util.isUnset(request.resources)) {
11179
+ query["Resources"] = request.resources;
11180
+ }
11181
+
11182
+ if (!Util.isUnset(request.severity)) {
11183
+ query["Severity"] = request.severity;
11184
+ }
11185
+
11186
+ if (!Util.isUnset(request.solutions)) {
11187
+ query["Solutions"] = request.solutions;
11188
+ }
11189
+
11190
+ if (!Util.isUnset(request.source)) {
11191
+ query["Source"] = request.source;
11192
+ }
11193
+
11194
+ if (!Util.isUnset(request.tagsShrink)) {
11195
+ query["Tags"] = request.tagsShrink;
11196
+ }
11197
+
11198
+ if (!Util.isUnset(request.title)) {
11199
+ query["Title"] = request.title;
11200
+ }
11201
+
11202
+ let req = new $OpenApi.OpenApiRequest({
11203
+ query: OpenApiUtil.query(query),
11204
+ });
11205
+ let params = new $OpenApi.Params({
11206
+ action: "CreateOpsItem",
11207
+ version: "2019-06-01",
11208
+ protocol: "HTTPS",
11209
+ pathname: "/",
11210
+ method: "POST",
11211
+ authType: "AK",
11212
+ style: "RPC",
11213
+ reqBodyType: "formData",
11214
+ bodyType: "json",
11215
+ });
11216
+ return $tea.cast<CreateOpsItemResponse>(await this.callApi(params, req, runtime), new CreateOpsItemResponse({}));
11217
+ }
11218
+
11219
+ async createOpsItem(request: CreateOpsItemRequest): Promise<CreateOpsItemResponse> {
11220
+ let runtime = new $Util.RuntimeOptions({ });
11221
+ return await this.createOpsItemWithOptions(request, runtime);
9732
11222
  }
9733
11223
 
9734
11224
  async createParameterWithOptions(tmpReq: CreateParameterRequest, runtime: $Util.RuntimeOptions): Promise<CreateParameterResponse> {
@@ -9798,13 +11288,39 @@ export default class Client extends OpenApi {
9798
11288
  return await this.createParameterWithOptions(request, runtime);
9799
11289
  }
9800
11290
 
9801
- async createPatchBaselineWithOptions(request: CreatePatchBaselineRequest, runtime: $Util.RuntimeOptions): Promise<CreatePatchBaselineResponse> {
9802
- Util.validateModel(request);
11291
+ async createPatchBaselineWithOptions(tmpReq: CreatePatchBaselineRequest, runtime: $Util.RuntimeOptions): Promise<CreatePatchBaselineResponse> {
11292
+ Util.validateModel(tmpReq);
11293
+ let request = new CreatePatchBaselineShrinkRequest({ });
11294
+ OpenApiUtil.convert(tmpReq, request);
11295
+ if (!Util.isUnset(tmpReq.approvedPatches)) {
11296
+ request.approvedPatchesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.approvedPatches, "ApprovedPatches", "json");
11297
+ }
11298
+
11299
+ if (!Util.isUnset(tmpReq.rejectedPatches)) {
11300
+ request.rejectedPatchesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rejectedPatches, "RejectedPatches", "json");
11301
+ }
11302
+
11303
+ if (!Util.isUnset(tmpReq.sources)) {
11304
+ request.sourcesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sources, "Sources", "json");
11305
+ }
11306
+
11307
+ if (!Util.isUnset(tmpReq.tags)) {
11308
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
11309
+ }
11310
+
9803
11311
  let query = { };
9804
11312
  if (!Util.isUnset(request.approvalRules)) {
9805
11313
  query["ApprovalRules"] = request.approvalRules;
9806
11314
  }
9807
11315
 
11316
+ if (!Util.isUnset(request.approvedPatchesShrink)) {
11317
+ query["ApprovedPatches"] = request.approvedPatchesShrink;
11318
+ }
11319
+
11320
+ if (!Util.isUnset(request.approvedPatchesEnableNonSecurity)) {
11321
+ query["ApprovedPatchesEnableNonSecurity"] = request.approvedPatchesEnableNonSecurity;
11322
+ }
11323
+
9808
11324
  if (!Util.isUnset(request.clientToken)) {
9809
11325
  query["ClientToken"] = request.clientToken;
9810
11326
  }
@@ -9825,6 +11341,22 @@ export default class Client extends OpenApi {
9825
11341
  query["RegionId"] = request.regionId;
9826
11342
  }
9827
11343
 
11344
+ if (!Util.isUnset(request.rejectedPatchesShrink)) {
11345
+ query["RejectedPatches"] = request.rejectedPatchesShrink;
11346
+ }
11347
+
11348
+ if (!Util.isUnset(request.rejectedPatchesAction)) {
11349
+ query["RejectedPatchesAction"] = request.rejectedPatchesAction;
11350
+ }
11351
+
11352
+ if (!Util.isUnset(request.sourcesShrink)) {
11353
+ query["Sources"] = request.sourcesShrink;
11354
+ }
11355
+
11356
+ if (!Util.isUnset(request.tagsShrink)) {
11357
+ query["Tags"] = request.tagsShrink;
11358
+ }
11359
+
9828
11360
  let req = new $OpenApi.OpenApiRequest({
9829
11361
  query: OpenApiUtil.query(query),
9830
11362
  });
@@ -10446,6 +11978,10 @@ export default class Client extends OpenApi {
10446
11978
  async generateExecutionPolicyWithOptions(request: GenerateExecutionPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GenerateExecutionPolicyResponse> {
10447
11979
  Util.validateModel(request);
10448
11980
  let query = { };
11981
+ if (!Util.isUnset(request.ramRole)) {
11982
+ query["RamRole"] = request.ramRole;
11983
+ }
11984
+
10449
11985
  if (!Util.isUnset(request.regionId)) {
10450
11986
  query["RegionId"] = request.regionId;
10451
11987
  }
@@ -10628,6 +12164,39 @@ export default class Client extends OpenApi {
10628
12164
  return await this.getInventorySchemaWithOptions(request, runtime);
10629
12165
  }
10630
12166
 
12167
+ async getOpsItemWithOptions(request: GetOpsItemRequest, runtime: $Util.RuntimeOptions): Promise<GetOpsItemResponse> {
12168
+ Util.validateModel(request);
12169
+ let query = { };
12170
+ if (!Util.isUnset(request.opsItemId)) {
12171
+ query["OpsItemId"] = request.opsItemId;
12172
+ }
12173
+
12174
+ if (!Util.isUnset(request.regionId)) {
12175
+ query["RegionId"] = request.regionId;
12176
+ }
12177
+
12178
+ let req = new $OpenApi.OpenApiRequest({
12179
+ query: OpenApiUtil.query(query),
12180
+ });
12181
+ let params = new $OpenApi.Params({
12182
+ action: "GetOpsItem",
12183
+ version: "2019-06-01",
12184
+ protocol: "HTTPS",
12185
+ pathname: "/",
12186
+ method: "POST",
12187
+ authType: "AK",
12188
+ style: "RPC",
12189
+ reqBodyType: "formData",
12190
+ bodyType: "json",
12191
+ });
12192
+ return $tea.cast<GetOpsItemResponse>(await this.callApi(params, req, runtime), new GetOpsItemResponse({}));
12193
+ }
12194
+
12195
+ async getOpsItem(request: GetOpsItemRequest): Promise<GetOpsItemResponse> {
12196
+ let runtime = new $Util.RuntimeOptions({ });
12197
+ return await this.getOpsItemWithOptions(request, runtime);
12198
+ }
12199
+
10631
12200
  async getParameterWithOptions(request: GetParameterRequest, runtime: $Util.RuntimeOptions): Promise<GetParameterResponse> {
10632
12201
  Util.validateModel(request);
10633
12202
  let query = { };
@@ -11033,10 +12602,6 @@ export default class Client extends OpenApi {
11033
12602
  query["NextToken"] = request.nextToken;
11034
12603
  }
11035
12604
 
11036
- if (!Util.isUnset(request.product)) {
11037
- query["Product"] = request.product;
11038
- }
11039
-
11040
12605
  if (!Util.isUnset(request.regionId)) {
11041
12606
  query["RegionId"] = request.regionId;
11042
12607
  }
@@ -11045,6 +12610,10 @@ export default class Client extends OpenApi {
11045
12610
  query["ResourceId"] = request.resourceId;
11046
12611
  }
11047
12612
 
12613
+ if (!Util.isUnset(request.resourceProduct)) {
12614
+ query["ResourceProduct"] = request.resourceProduct;
12615
+ }
12616
+
11048
12617
  if (!Util.isUnset(request.resourceType)) {
11049
12618
  query["ResourceType"] = request.resourceType;
11050
12619
  }
@@ -11080,6 +12649,10 @@ export default class Client extends OpenApi {
11080
12649
  }
11081
12650
 
11082
12651
  let query = { };
12652
+ if (!Util.isUnset(request.applicationType)) {
12653
+ query["ApplicationType"] = request.applicationType;
12654
+ }
12655
+
11083
12656
  if (!Util.isUnset(request.maxResults)) {
11084
12657
  query["MaxResults"] = request.maxResults;
11085
12658
  }
@@ -11126,6 +12699,13 @@ export default class Client extends OpenApi {
11126
12699
  return await this.listApplicationsWithOptions(request, runtime);
11127
12700
  }
11128
12701
 
12702
+ /**
12703
+ * ****
12704
+ *
12705
+ * @param request ListExecutionLogsRequest
12706
+ * @param runtime runtime options for this request RuntimeOptions
12707
+ * @return ListExecutionLogsResponse
12708
+ */
11129
12709
  async listExecutionLogsWithOptions(request: ListExecutionLogsRequest, runtime: $Util.RuntimeOptions): Promise<ListExecutionLogsResponse> {
11130
12710
  Util.validateModel(request);
11131
12711
  let query = { };
@@ -11170,6 +12750,12 @@ export default class Client extends OpenApi {
11170
12750
  return $tea.cast<ListExecutionLogsResponse>(await this.callApi(params, req, runtime), new ListExecutionLogsResponse({}));
11171
12751
  }
11172
12752
 
12753
+ /**
12754
+ * ****
12755
+ *
12756
+ * @param request ListExecutionLogsRequest
12757
+ * @return ListExecutionLogsResponse
12758
+ */
11173
12759
  async listExecutionLogs(request: ListExecutionLogsRequest): Promise<ListExecutionLogsResponse> {
11174
12760
  let runtime = new $Util.RuntimeOptions({ });
11175
12761
  return await this.listExecutionLogsWithOptions(request, runtime);
@@ -11217,10 +12803,22 @@ export default class Client extends OpenApi {
11217
12803
  }
11218
12804
 
11219
12805
  let query = { };
12806
+ if (!Util.isUnset(request.categories)) {
12807
+ query["Categories"] = request.categories;
12808
+ }
12809
+
11220
12810
  if (!Util.isUnset(request.category)) {
11221
12811
  query["Category"] = request.category;
11222
12812
  }
11223
12813
 
12814
+ if (!Util.isUnset(request.depth)) {
12815
+ query["Depth"] = request.depth;
12816
+ }
12817
+
12818
+ if (!Util.isUnset(request.description)) {
12819
+ query["Description"] = request.description;
12820
+ }
12821
+
11224
12822
  if (!Util.isUnset(request.endDateAfter)) {
11225
12823
  query["EndDateAfter"] = request.endDateAfter;
11226
12824
  }
@@ -11462,6 +13060,65 @@ export default class Client extends OpenApi {
11462
13060
  return await this.listInventoryEntriesWithOptions(request, runtime);
11463
13061
  }
11464
13062
 
13063
+ async listOpsItemsWithOptions(tmpReq: ListOpsItemsRequest, runtime: $Util.RuntimeOptions): Promise<ListOpsItemsResponse> {
13064
+ Util.validateModel(tmpReq);
13065
+ let request = new ListOpsItemsShrinkRequest({ });
13066
+ OpenApiUtil.convert(tmpReq, request);
13067
+ if (!Util.isUnset(tmpReq.resourceTags)) {
13068
+ request.resourceTagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceTags, "ResourceTags", "json");
13069
+ }
13070
+
13071
+ if (!Util.isUnset(tmpReq.tags)) {
13072
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
13073
+ }
13074
+
13075
+ let query = { };
13076
+ if (!Util.isUnset(request.filter)) {
13077
+ query["Filter"] = request.filter;
13078
+ }
13079
+
13080
+ if (!Util.isUnset(request.maxResults)) {
13081
+ query["MaxResults"] = request.maxResults;
13082
+ }
13083
+
13084
+ if (!Util.isUnset(request.nextToken)) {
13085
+ query["NextToken"] = request.nextToken;
13086
+ }
13087
+
13088
+ if (!Util.isUnset(request.regionId)) {
13089
+ query["RegionId"] = request.regionId;
13090
+ }
13091
+
13092
+ if (!Util.isUnset(request.resourceTagsShrink)) {
13093
+ query["ResourceTags"] = request.resourceTagsShrink;
13094
+ }
13095
+
13096
+ if (!Util.isUnset(request.tagsShrink)) {
13097
+ query["Tags"] = request.tagsShrink;
13098
+ }
13099
+
13100
+ let req = new $OpenApi.OpenApiRequest({
13101
+ query: OpenApiUtil.query(query),
13102
+ });
13103
+ let params = new $OpenApi.Params({
13104
+ action: "ListOpsItems",
13105
+ version: "2019-06-01",
13106
+ protocol: "HTTPS",
13107
+ pathname: "/",
13108
+ method: "POST",
13109
+ authType: "AK",
13110
+ style: "RPC",
13111
+ reqBodyType: "formData",
13112
+ bodyType: "json",
13113
+ });
13114
+ return $tea.cast<ListOpsItemsResponse>(await this.callApi(params, req, runtime), new ListOpsItemsResponse({}));
13115
+ }
13116
+
13117
+ async listOpsItems(request: ListOpsItemsRequest): Promise<ListOpsItemsResponse> {
13118
+ let runtime = new $Util.RuntimeOptions({ });
13119
+ return await this.listOpsItemsWithOptions(request, runtime);
13120
+ }
13121
+
11465
13122
  async listParameterVersionsWithOptions(request: ListParameterVersionsRequest, runtime: $Util.RuntimeOptions): Promise<ListParameterVersionsResponse> {
11466
13123
  Util.validateModel(request);
11467
13124
  let query = { };
@@ -11544,6 +13201,10 @@ export default class Client extends OpenApi {
11544
13201
  query["ResourceGroupId"] = request.resourceGroupId;
11545
13202
  }
11546
13203
 
13204
+ if (!Util.isUnset(request.shareType)) {
13205
+ query["ShareType"] = request.shareType;
13206
+ }
13207
+
11547
13208
  if (!Util.isUnset(request.sortField)) {
11548
13209
  query["SortField"] = request.sortField;
11549
13210
  }
@@ -11582,9 +13243,31 @@ export default class Client extends OpenApi {
11582
13243
  return await this.listParametersWithOptions(request, runtime);
11583
13244
  }
11584
13245
 
11585
- async listPatchBaselinesWithOptions(request: ListPatchBaselinesRequest, runtime: $Util.RuntimeOptions): Promise<ListPatchBaselinesResponse> {
11586
- Util.validateModel(request);
13246
+ async listPatchBaselinesWithOptions(tmpReq: ListPatchBaselinesRequest, runtime: $Util.RuntimeOptions): Promise<ListPatchBaselinesResponse> {
13247
+ Util.validateModel(tmpReq);
13248
+ let request = new ListPatchBaselinesShrinkRequest({ });
13249
+ OpenApiUtil.convert(tmpReq, request);
13250
+ if (!Util.isUnset(tmpReq.approvedPatches)) {
13251
+ request.approvedPatchesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.approvedPatches, "ApprovedPatches", "json");
13252
+ }
13253
+
13254
+ if (!Util.isUnset(tmpReq.sources)) {
13255
+ request.sourcesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sources, "Sources", "json");
13256
+ }
13257
+
13258
+ if (!Util.isUnset(tmpReq.tags)) {
13259
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
13260
+ }
13261
+
11587
13262
  let query = { };
13263
+ if (!Util.isUnset(request.approvedPatchesShrink)) {
13264
+ query["ApprovedPatches"] = request.approvedPatchesShrink;
13265
+ }
13266
+
13267
+ if (!Util.isUnset(request.approvedPatchesEnableNonSecurity)) {
13268
+ query["ApprovedPatchesEnableNonSecurity"] = request.approvedPatchesEnableNonSecurity;
13269
+ }
13270
+
11588
13271
  if (!Util.isUnset(request.maxResults)) {
11589
13272
  query["MaxResults"] = request.maxResults;
11590
13273
  }
@@ -11609,6 +13292,14 @@ export default class Client extends OpenApi {
11609
13292
  query["ShareType"] = request.shareType;
11610
13293
  }
11611
13294
 
13295
+ if (!Util.isUnset(request.sourcesShrink)) {
13296
+ query["Sources"] = request.sourcesShrink;
13297
+ }
13298
+
13299
+ if (!Util.isUnset(request.tagsShrink)) {
13300
+ query["Tags"] = request.tagsShrink;
13301
+ }
13302
+
11612
13303
  let req = new $OpenApi.OpenApiRequest({
11613
13304
  query: OpenApiUtil.query(query),
11614
13305
  });
@@ -11721,6 +13412,13 @@ export default class Client extends OpenApi {
11721
13412
  return await this.listSecretParameterVersionsWithOptions(request, runtime);
11722
13413
  }
11723
13414
 
13415
+ /**
13416
+ * Before you call this operation, make sure that you have the permission to manage Key Management Service (KMS) secrets.
13417
+ *
13418
+ * @param tmpReq ListSecretParametersRequest
13419
+ * @param runtime runtime options for this request RuntimeOptions
13420
+ * @return ListSecretParametersResponse
13421
+ */
11724
13422
  async listSecretParametersWithOptions(tmpReq: ListSecretParametersRequest, runtime: $Util.RuntimeOptions): Promise<ListSecretParametersResponse> {
11725
13423
  Util.validateModel(tmpReq);
11726
13424
  let request = new ListSecretParametersShrinkRequest({ });
@@ -11787,6 +13485,12 @@ export default class Client extends OpenApi {
11787
13485
  return $tea.cast<ListSecretParametersResponse>(await this.callApi(params, req, runtime), new ListSecretParametersResponse({}));
11788
13486
  }
11789
13487
 
13488
+ /**
13489
+ * Before you call this operation, make sure that you have the permission to manage Key Management Service (KMS) secrets.
13490
+ *
13491
+ * @param request ListSecretParametersRequest
13492
+ * @return ListSecretParametersResponse
13493
+ */
11790
13494
  async listSecretParameters(request: ListSecretParametersRequest): Promise<ListSecretParametersResponse> {
11791
13495
  let runtime = new $Util.RuntimeOptions({ });
11792
13496
  return await this.listSecretParametersWithOptions(request, runtime);
@@ -12225,6 +13929,16 @@ export default class Client extends OpenApi {
12225
13929
  return await this.listTemplatesWithOptions(request, runtime);
12226
13930
  }
12227
13931
 
13932
+ /**
13933
+ * You can call this operation to notify an execution in the following scenarios:
13934
+ * * 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.
13935
+ * * 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.
13936
+ * * If a high-risk operation task waits for approval, you can call this operation to specify whether to continue the execution.
13937
+ *
13938
+ * @param request NotifyExecutionRequest
13939
+ * @param runtime runtime options for this request RuntimeOptions
13940
+ * @return NotifyExecutionResponse
13941
+ */
12228
13942
  async notifyExecutionWithOptions(request: NotifyExecutionRequest, runtime: $Util.RuntimeOptions): Promise<NotifyExecutionResponse> {
12229
13943
  Util.validateModel(request);
12230
13944
  let query = { };
@@ -12285,6 +13999,15 @@ export default class Client extends OpenApi {
12285
13999
  return $tea.cast<NotifyExecutionResponse>(await this.callApi(params, req, runtime), new NotifyExecutionResponse({}));
12286
14000
  }
12287
14001
 
14002
+ /**
14003
+ * You can call this operation to notify an execution in the following scenarios:
14004
+ * * 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.
14005
+ * * 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.
14006
+ * * If a high-risk operation task waits for approval, you can call this operation to specify whether to continue the execution.
14007
+ *
14008
+ * @param request NotifyExecutionRequest
14009
+ * @return NotifyExecutionResponse
14010
+ */
12288
14011
  async notifyExecution(request: NotifyExecutionRequest): Promise<NotifyExecutionResponse> {
12289
14012
  let runtime = new $Util.RuntimeOptions({ });
12290
14013
  return await this.notifyExecutionWithOptions(request, runtime);
@@ -12478,6 +14201,10 @@ export default class Client extends OpenApi {
12478
14201
  query["TemplateName"] = request.templateName;
12479
14202
  }
12480
14203
 
14204
+ if (!Util.isUnset(request.templateURL)) {
14205
+ query["TemplateURL"] = request.templateURL;
14206
+ }
14207
+
12481
14208
  if (!Util.isUnset(request.templateVersion)) {
12482
14209
  query["TemplateVersion"] = request.templateVersion;
12483
14210
  }
@@ -12659,11 +14386,23 @@ export default class Client extends OpenApi {
12659
14386
  Util.validateModel(tmpReq);
12660
14387
  let request = new UpdateApplicationShrinkRequest({ });
12661
14388
  OpenApiUtil.convert(tmpReq, request);
14389
+ if (!Util.isUnset(tmpReq.alarmConfig)) {
14390
+ request.alarmConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alarmConfig, "AlarmConfig", "json");
14391
+ }
14392
+
12662
14393
  if (!Util.isUnset(tmpReq.tags)) {
12663
14394
  request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
12664
14395
  }
12665
14396
 
12666
14397
  let query = { };
14398
+ if (!Util.isUnset(request.alarmConfigShrink)) {
14399
+ query["AlarmConfig"] = request.alarmConfigShrink;
14400
+ }
14401
+
14402
+ if (!Util.isUnset(request.deleteAlarmRulesBeforeUpdate)) {
14403
+ query["DeleteAlarmRulesBeforeUpdate"] = request.deleteAlarmRulesBeforeUpdate;
14404
+ }
14405
+
12667
14406
  if (!Util.isUnset(request.description)) {
12668
14407
  query["Description"] = request.description;
12669
14408
  }
@@ -12750,6 +14489,10 @@ export default class Client extends OpenApi {
12750
14489
  query["ClientToken"] = request.clientToken;
12751
14490
  }
12752
14491
 
14492
+ if (!Util.isUnset(request.description)) {
14493
+ query["Description"] = request.description;
14494
+ }
14495
+
12753
14496
  if (!Util.isUnset(request.executionId)) {
12754
14497
  query["ExecutionId"] = request.executionId;
12755
14498
  }
@@ -12784,6 +14527,97 @@ export default class Client extends OpenApi {
12784
14527
  return await this.updateExecutionWithOptions(request, runtime);
12785
14528
  }
12786
14529
 
14530
+ async updateOpsItemWithOptions(tmpReq: UpdateOpsItemRequest, runtime: $Util.RuntimeOptions): Promise<UpdateOpsItemResponse> {
14531
+ Util.validateModel(tmpReq);
14532
+ let request = new UpdateOpsItemShrinkRequest({ });
14533
+ OpenApiUtil.convert(tmpReq, request);
14534
+ if (!Util.isUnset(tmpReq.tags)) {
14535
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
14536
+ }
14537
+
14538
+ let query = { };
14539
+ if (!Util.isUnset(request.category)) {
14540
+ query["Category"] = request.category;
14541
+ }
14542
+
14543
+ if (!Util.isUnset(request.clientToken)) {
14544
+ query["ClientToken"] = request.clientToken;
14545
+ }
14546
+
14547
+ if (!Util.isUnset(request.dedupString)) {
14548
+ query["DedupString"] = request.dedupString;
14549
+ }
14550
+
14551
+ if (!Util.isUnset(request.description)) {
14552
+ query["Description"] = request.description;
14553
+ }
14554
+
14555
+ if (!Util.isUnset(request.opsItemId)) {
14556
+ query["OpsItemId"] = request.opsItemId;
14557
+ }
14558
+
14559
+ if (!Util.isUnset(request.priority)) {
14560
+ query["Priority"] = request.priority;
14561
+ }
14562
+
14563
+ if (!Util.isUnset(request.regionId)) {
14564
+ query["RegionId"] = request.regionId;
14565
+ }
14566
+
14567
+ if (!Util.isUnset(request.resourceGroupId)) {
14568
+ query["ResourceGroupId"] = request.resourceGroupId;
14569
+ }
14570
+
14571
+ if (!Util.isUnset(request.resources)) {
14572
+ query["Resources"] = request.resources;
14573
+ }
14574
+
14575
+ if (!Util.isUnset(request.severity)) {
14576
+ query["Severity"] = request.severity;
14577
+ }
14578
+
14579
+ if (!Util.isUnset(request.solutions)) {
14580
+ query["Solutions"] = request.solutions;
14581
+ }
14582
+
14583
+ if (!Util.isUnset(request.source)) {
14584
+ query["Source"] = request.source;
14585
+ }
14586
+
14587
+ if (!Util.isUnset(request.status)) {
14588
+ query["Status"] = request.status;
14589
+ }
14590
+
14591
+ if (!Util.isUnset(request.tagsShrink)) {
14592
+ query["Tags"] = request.tagsShrink;
14593
+ }
14594
+
14595
+ if (!Util.isUnset(request.title)) {
14596
+ query["Title"] = request.title;
14597
+ }
14598
+
14599
+ let req = new $OpenApi.OpenApiRequest({
14600
+ query: OpenApiUtil.query(query),
14601
+ });
14602
+ let params = new $OpenApi.Params({
14603
+ action: "UpdateOpsItem",
14604
+ version: "2019-06-01",
14605
+ protocol: "HTTPS",
14606
+ pathname: "/",
14607
+ method: "POST",
14608
+ authType: "AK",
14609
+ style: "RPC",
14610
+ reqBodyType: "formData",
14611
+ bodyType: "json",
14612
+ });
14613
+ return $tea.cast<UpdateOpsItemResponse>(await this.callApi(params, req, runtime), new UpdateOpsItemResponse({}));
14614
+ }
14615
+
14616
+ async updateOpsItem(request: UpdateOpsItemRequest): Promise<UpdateOpsItemResponse> {
14617
+ let runtime = new $Util.RuntimeOptions({ });
14618
+ return await this.updateOpsItemWithOptions(request, runtime);
14619
+ }
14620
+
12787
14621
  async updateParameterWithOptions(request: UpdateParameterRequest, runtime: $Util.RuntimeOptions): Promise<UpdateParameterResponse> {
12788
14622
  Util.validateModel(request);
12789
14623
  let query = { };
@@ -12833,13 +14667,39 @@ export default class Client extends OpenApi {
12833
14667
  return await this.updateParameterWithOptions(request, runtime);
12834
14668
  }
12835
14669
 
12836
- async updatePatchBaselineWithOptions(request: UpdatePatchBaselineRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePatchBaselineResponse> {
12837
- Util.validateModel(request);
14670
+ async updatePatchBaselineWithOptions(tmpReq: UpdatePatchBaselineRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePatchBaselineResponse> {
14671
+ Util.validateModel(tmpReq);
14672
+ let request = new UpdatePatchBaselineShrinkRequest({ });
14673
+ OpenApiUtil.convert(tmpReq, request);
14674
+ if (!Util.isUnset(tmpReq.approvedPatches)) {
14675
+ request.approvedPatchesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.approvedPatches, "ApprovedPatches", "json");
14676
+ }
14677
+
14678
+ if (!Util.isUnset(tmpReq.rejectedPatches)) {
14679
+ request.rejectedPatchesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rejectedPatches, "RejectedPatches", "json");
14680
+ }
14681
+
14682
+ if (!Util.isUnset(tmpReq.sources)) {
14683
+ request.sourcesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sources, "Sources", "json");
14684
+ }
14685
+
14686
+ if (!Util.isUnset(tmpReq.tags)) {
14687
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
14688
+ }
14689
+
12838
14690
  let query = { };
12839
14691
  if (!Util.isUnset(request.approvalRules)) {
12840
14692
  query["ApprovalRules"] = request.approvalRules;
12841
14693
  }
12842
14694
 
14695
+ if (!Util.isUnset(request.approvedPatchesShrink)) {
14696
+ query["ApprovedPatches"] = request.approvedPatchesShrink;
14697
+ }
14698
+
14699
+ if (!Util.isUnset(request.approvedPatchesEnableNonSecurity)) {
14700
+ query["ApprovedPatchesEnableNonSecurity"] = request.approvedPatchesEnableNonSecurity;
14701
+ }
14702
+
12843
14703
  if (!Util.isUnset(request.clientToken)) {
12844
14704
  query["ClientToken"] = request.clientToken;
12845
14705
  }
@@ -12856,6 +14716,22 @@ export default class Client extends OpenApi {
12856
14716
  query["RegionId"] = request.regionId;
12857
14717
  }
12858
14718
 
14719
+ if (!Util.isUnset(request.rejectedPatchesShrink)) {
14720
+ query["RejectedPatches"] = request.rejectedPatchesShrink;
14721
+ }
14722
+
14723
+ if (!Util.isUnset(request.rejectedPatchesAction)) {
14724
+ query["RejectedPatchesAction"] = request.rejectedPatchesAction;
14725
+ }
14726
+
14727
+ if (!Util.isUnset(request.sourcesShrink)) {
14728
+ query["Sources"] = request.sourcesShrink;
14729
+ }
14730
+
14731
+ if (!Util.isUnset(request.tagsShrink)) {
14732
+ query["Tags"] = request.tagsShrink;
14733
+ }
14734
+
12859
14735
  let req = new $OpenApi.OpenApiRequest({
12860
14736
  query: OpenApiUtil.query(query),
12861
14737
  });
@@ -13078,6 +14954,10 @@ export default class Client extends OpenApi {
13078
14954
  query["RegionId"] = request.regionId;
13079
14955
  }
13080
14956
 
14957
+ if (!Util.isUnset(request.templateURL)) {
14958
+ query["TemplateURL"] = request.templateURL;
14959
+ }
14960
+
13081
14961
  let req = new $OpenApi.OpenApiRequest({
13082
14962
  query: OpenApiUtil.query(query),
13083
14963
  });