@alicloud/oos20190601 1.0.2 → 1.0.4

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
@@ -423,6 +423,163 @@ export class CreateApplicationGroupResponse extends $tea.Model {
423
423
  }
424
424
  }
425
425
 
426
+ export class CreateOpsItemRequest extends $tea.Model {
427
+ category?: string;
428
+ clientToken?: string;
429
+ dedupString?: string;
430
+ description?: string;
431
+ priority?: number;
432
+ regionId?: string;
433
+ resourceGroupId?: string;
434
+ resources?: string;
435
+ severity?: string;
436
+ solutions?: string;
437
+ source?: string;
438
+ tags?: { [key: string]: any };
439
+ title?: string;
440
+ static names(): { [key: string]: string } {
441
+ return {
442
+ category: 'Category',
443
+ clientToken: 'ClientToken',
444
+ dedupString: 'DedupString',
445
+ description: 'Description',
446
+ priority: 'Priority',
447
+ regionId: 'RegionId',
448
+ resourceGroupId: 'ResourceGroupId',
449
+ resources: 'Resources',
450
+ severity: 'Severity',
451
+ solutions: 'Solutions',
452
+ source: 'Source',
453
+ tags: 'Tags',
454
+ title: 'Title',
455
+ };
456
+ }
457
+
458
+ static types(): { [key: string]: any } {
459
+ return {
460
+ category: 'string',
461
+ clientToken: 'string',
462
+ dedupString: 'string',
463
+ description: 'string',
464
+ priority: 'number',
465
+ regionId: 'string',
466
+ resourceGroupId: 'string',
467
+ resources: 'string',
468
+ severity: 'string',
469
+ solutions: 'string',
470
+ source: 'string',
471
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
472
+ title: 'string',
473
+ };
474
+ }
475
+
476
+ constructor(map?: { [key: string]: any }) {
477
+ super(map);
478
+ }
479
+ }
480
+
481
+ export class CreateOpsItemShrinkRequest extends $tea.Model {
482
+ category?: string;
483
+ clientToken?: string;
484
+ dedupString?: string;
485
+ description?: string;
486
+ priority?: number;
487
+ regionId?: string;
488
+ resourceGroupId?: string;
489
+ resources?: string;
490
+ severity?: string;
491
+ solutions?: string;
492
+ source?: string;
493
+ tagsShrink?: string;
494
+ title?: string;
495
+ static names(): { [key: string]: string } {
496
+ return {
497
+ category: 'Category',
498
+ clientToken: 'ClientToken',
499
+ dedupString: 'DedupString',
500
+ description: 'Description',
501
+ priority: 'Priority',
502
+ regionId: 'RegionId',
503
+ resourceGroupId: 'ResourceGroupId',
504
+ resources: 'Resources',
505
+ severity: 'Severity',
506
+ solutions: 'Solutions',
507
+ source: 'Source',
508
+ tagsShrink: 'Tags',
509
+ title: 'Title',
510
+ };
511
+ }
512
+
513
+ static types(): { [key: string]: any } {
514
+ return {
515
+ category: 'string',
516
+ clientToken: 'string',
517
+ dedupString: 'string',
518
+ description: 'string',
519
+ priority: 'number',
520
+ regionId: 'string',
521
+ resourceGroupId: 'string',
522
+ resources: 'string',
523
+ severity: 'string',
524
+ solutions: 'string',
525
+ source: 'string',
526
+ tagsShrink: 'string',
527
+ title: 'string',
528
+ };
529
+ }
530
+
531
+ constructor(map?: { [key: string]: any }) {
532
+ super(map);
533
+ }
534
+ }
535
+
536
+ export class CreateOpsItemResponseBody extends $tea.Model {
537
+ opsItem?: CreateOpsItemResponseBodyOpsItem;
538
+ requestId?: string;
539
+ static names(): { [key: string]: string } {
540
+ return {
541
+ opsItem: 'OpsItem',
542
+ requestId: 'RequestId',
543
+ };
544
+ }
545
+
546
+ static types(): { [key: string]: any } {
547
+ return {
548
+ opsItem: CreateOpsItemResponseBodyOpsItem,
549
+ requestId: 'string',
550
+ };
551
+ }
552
+
553
+ constructor(map?: { [key: string]: any }) {
554
+ super(map);
555
+ }
556
+ }
557
+
558
+ export class CreateOpsItemResponse extends $tea.Model {
559
+ headers: { [key: string]: string };
560
+ statusCode: number;
561
+ body: CreateOpsItemResponseBody;
562
+ static names(): { [key: string]: string } {
563
+ return {
564
+ headers: 'headers',
565
+ statusCode: 'statusCode',
566
+ body: 'body',
567
+ };
568
+ }
569
+
570
+ static types(): { [key: string]: any } {
571
+ return {
572
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
573
+ statusCode: 'number',
574
+ body: CreateOpsItemResponseBody,
575
+ };
576
+ }
577
+
578
+ constructor(map?: { [key: string]: any }) {
579
+ super(map);
580
+ }
581
+ }
582
+
426
583
  export class CreateParameterRequest extends $tea.Model {
427
584
  clientToken?: string;
428
585
  constraints?: string;
@@ -645,7 +802,7 @@ export class CreateSecretParameterRequest extends $tea.Model {
645
802
  name?: string;
646
803
  regionId?: string;
647
804
  resourceGroupId?: string;
648
- tags?: string;
805
+ tags?: { [key: string]: any };
649
806
  type?: string;
650
807
  value?: string;
651
808
  static names(): { [key: string]: string } {
@@ -672,7 +829,53 @@ export class CreateSecretParameterRequest extends $tea.Model {
672
829
  name: 'string',
673
830
  regionId: 'string',
674
831
  resourceGroupId: 'string',
675
- tags: 'string',
832
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
833
+ type: 'string',
834
+ value: 'string',
835
+ };
836
+ }
837
+
838
+ constructor(map?: { [key: string]: any }) {
839
+ super(map);
840
+ }
841
+ }
842
+
843
+ export class CreateSecretParameterShrinkRequest extends $tea.Model {
844
+ clientToken?: string;
845
+ constraints?: string;
846
+ description?: string;
847
+ keyId?: string;
848
+ name?: string;
849
+ regionId?: string;
850
+ resourceGroupId?: string;
851
+ tagsShrink?: string;
852
+ type?: string;
853
+ value?: string;
854
+ static names(): { [key: string]: string } {
855
+ return {
856
+ clientToken: 'ClientToken',
857
+ constraints: 'Constraints',
858
+ description: 'Description',
859
+ keyId: 'KeyId',
860
+ name: 'Name',
861
+ regionId: 'RegionId',
862
+ resourceGroupId: 'ResourceGroupId',
863
+ tagsShrink: 'Tags',
864
+ type: 'Type',
865
+ value: 'Value',
866
+ };
867
+ }
868
+
869
+ static types(): { [key: string]: any } {
870
+ return {
871
+ clientToken: 'string',
872
+ constraints: 'string',
873
+ description: 'string',
874
+ keyId: 'string',
875
+ name: 'string',
876
+ regionId: 'string',
877
+ resourceGroupId: 'string',
878
+ tagsShrink: 'string',
676
879
  type: 'string',
677
880
  value: 'string',
678
881
  };
@@ -1000,10 +1203,12 @@ export class CreateTemplateResponse extends $tea.Model {
1000
1203
  }
1001
1204
 
1002
1205
  export class DeleteApplicationRequest extends $tea.Model {
1206
+ force?: boolean;
1003
1207
  name?: string;
1004
1208
  regionId?: string;
1005
1209
  static names(): { [key: string]: string } {
1006
1210
  return {
1211
+ force: 'Force',
1007
1212
  name: 'Name',
1008
1213
  regionId: 'RegionId',
1009
1214
  };
@@ -1011,6 +1216,7 @@ export class DeleteApplicationRequest extends $tea.Model {
1011
1216
 
1012
1217
  static types(): { [key: string]: any } {
1013
1218
  return {
1219
+ force: 'boolean',
1014
1220
  name: 'string',
1015
1221
  regionId: 'string',
1016
1222
  };
@@ -2115,6 +2321,75 @@ export class GetInventorySchemaResponse extends $tea.Model {
2115
2321
  }
2116
2322
  }
2117
2323
 
2324
+ export class GetOpsItemRequest extends $tea.Model {
2325
+ opsItemId?: string;
2326
+ regionId?: string;
2327
+ static names(): { [key: string]: string } {
2328
+ return {
2329
+ opsItemId: 'OpsItemId',
2330
+ regionId: 'RegionId',
2331
+ };
2332
+ }
2333
+
2334
+ static types(): { [key: string]: any } {
2335
+ return {
2336
+ opsItemId: 'string',
2337
+ regionId: 'string',
2338
+ };
2339
+ }
2340
+
2341
+ constructor(map?: { [key: string]: any }) {
2342
+ super(map);
2343
+ }
2344
+ }
2345
+
2346
+ export class GetOpsItemResponseBody extends $tea.Model {
2347
+ opsItem?: GetOpsItemResponseBodyOpsItem;
2348
+ requestId?: string;
2349
+ static names(): { [key: string]: string } {
2350
+ return {
2351
+ opsItem: 'OpsItem',
2352
+ requestId: 'RequestId',
2353
+ };
2354
+ }
2355
+
2356
+ static types(): { [key: string]: any } {
2357
+ return {
2358
+ opsItem: GetOpsItemResponseBodyOpsItem,
2359
+ requestId: 'string',
2360
+ };
2361
+ }
2362
+
2363
+ constructor(map?: { [key: string]: any }) {
2364
+ super(map);
2365
+ }
2366
+ }
2367
+
2368
+ export class GetOpsItemResponse extends $tea.Model {
2369
+ headers: { [key: string]: string };
2370
+ statusCode: number;
2371
+ body: GetOpsItemResponseBody;
2372
+ static names(): { [key: string]: string } {
2373
+ return {
2374
+ headers: 'headers',
2375
+ statusCode: 'statusCode',
2376
+ body: 'body',
2377
+ };
2378
+ }
2379
+
2380
+ static types(): { [key: string]: any } {
2381
+ return {
2382
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2383
+ statusCode: 'number',
2384
+ body: GetOpsItemResponseBody,
2385
+ };
2386
+ }
2387
+
2388
+ constructor(map?: { [key: string]: any }) {
2389
+ super(map);
2390
+ }
2391
+ }
2392
+
2118
2393
  export class GetParameterRequest extends $tea.Model {
2119
2394
  name?: string;
2120
2395
  parameterVersion?: number;
@@ -2885,14 +3160,22 @@ export class ListApplicationGroupsRequest extends $tea.Model {
2885
3160
  deployRegionId?: string;
2886
3161
  maxResults?: number;
2887
3162
  nextToken?: string;
3163
+ product?: string;
2888
3164
  regionId?: string;
3165
+ resourceId?: string;
3166
+ resourceProduct?: string;
3167
+ resourceType?: string;
2889
3168
  static names(): { [key: string]: string } {
2890
3169
  return {
2891
3170
  applicationName: 'ApplicationName',
2892
3171
  deployRegionId: 'DeployRegionId',
2893
3172
  maxResults: 'MaxResults',
2894
3173
  nextToken: 'NextToken',
3174
+ product: 'Product',
2895
3175
  regionId: 'RegionId',
3176
+ resourceId: 'ResourceId',
3177
+ resourceProduct: 'ResourceProduct',
3178
+ resourceType: 'ResourceType',
2896
3179
  };
2897
3180
  }
2898
3181
 
@@ -2902,7 +3185,11 @@ export class ListApplicationGroupsRequest extends $tea.Model {
2902
3185
  deployRegionId: 'string',
2903
3186
  maxResults: 'number',
2904
3187
  nextToken: 'string',
3188
+ product: 'string',
2905
3189
  regionId: 'string',
3190
+ resourceId: 'string',
3191
+ resourceProduct: 'string',
3192
+ resourceType: 'string',
2906
3193
  };
2907
3194
  }
2908
3195
 
@@ -3725,29 +4012,32 @@ export class ListInventoryEntriesResponse extends $tea.Model {
3725
4012
  }
3726
4013
  }
3727
4014
 
3728
- export class ListParameterVersionsRequest extends $tea.Model {
4015
+ export class ListOpsItemsRequest extends $tea.Model {
4016
+ filter?: ListOpsItemsRequestFilter[];
3729
4017
  maxResults?: number;
3730
- name?: string;
3731
4018
  nextToken?: string;
3732
4019
  regionId?: string;
3733
- shareType?: string;
4020
+ resourceTags?: { [key: string]: any };
4021
+ tags?: { [key: string]: any };
3734
4022
  static names(): { [key: string]: string } {
3735
4023
  return {
4024
+ filter: 'Filter',
3736
4025
  maxResults: 'MaxResults',
3737
- name: 'Name',
3738
4026
  nextToken: 'NextToken',
3739
4027
  regionId: 'RegionId',
3740
- shareType: 'ShareType',
4028
+ resourceTags: 'ResourceTags',
4029
+ tags: 'Tags',
3741
4030
  };
3742
4031
  }
3743
4032
 
3744
4033
  static types(): { [key: string]: any } {
3745
4034
  return {
4035
+ filter: { 'type': 'array', 'itemType': ListOpsItemsRequestFilter },
3746
4036
  maxResults: 'number',
3747
- name: 'string',
3748
4037
  nextToken: 'string',
3749
4038
  regionId: 'string',
3750
- shareType: 'string',
4039
+ resourceTags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4040
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
3751
4041
  };
3752
4042
  }
3753
4043
 
@@ -3756,22 +4046,143 @@ export class ListParameterVersionsRequest extends $tea.Model {
3756
4046
  }
3757
4047
  }
3758
4048
 
3759
- export class ListParameterVersionsResponseBody extends $tea.Model {
3760
- createdBy?: string;
3761
- createdDate?: string;
3762
- description?: string;
3763
- id?: string;
4049
+ export class ListOpsItemsShrinkRequest extends $tea.Model {
4050
+ filter?: ListOpsItemsShrinkRequestFilter[];
3764
4051
  maxResults?: number;
3765
- name?: string;
3766
4052
  nextToken?: string;
3767
- parameterVersions?: ListParameterVersionsResponseBodyParameterVersions[];
3768
- requestId?: string;
3769
- totalCount?: number;
3770
- type?: string;
4053
+ regionId?: string;
4054
+ resourceTagsShrink?: string;
4055
+ tagsShrink?: string;
3771
4056
  static names(): { [key: string]: string } {
3772
4057
  return {
3773
- createdBy: 'CreatedBy',
3774
- createdDate: 'CreatedDate',
4058
+ filter: 'Filter',
4059
+ maxResults: 'MaxResults',
4060
+ nextToken: 'NextToken',
4061
+ regionId: 'RegionId',
4062
+ resourceTagsShrink: 'ResourceTags',
4063
+ tagsShrink: 'Tags',
4064
+ };
4065
+ }
4066
+
4067
+ static types(): { [key: string]: any } {
4068
+ return {
4069
+ filter: { 'type': 'array', 'itemType': ListOpsItemsShrinkRequestFilter },
4070
+ maxResults: 'number',
4071
+ nextToken: 'string',
4072
+ regionId: 'string',
4073
+ resourceTagsShrink: 'string',
4074
+ tagsShrink: 'string',
4075
+ };
4076
+ }
4077
+
4078
+ constructor(map?: { [key: string]: any }) {
4079
+ super(map);
4080
+ }
4081
+ }
4082
+
4083
+ export class ListOpsItemsResponseBody extends $tea.Model {
4084
+ maxResults?: number;
4085
+ nextToken?: string;
4086
+ opsItems?: ListOpsItemsResponseBodyOpsItems[];
4087
+ requestId?: string;
4088
+ totalCount?: number;
4089
+ static names(): { [key: string]: string } {
4090
+ return {
4091
+ maxResults: 'MaxResults',
4092
+ nextToken: 'NextToken',
4093
+ opsItems: 'OpsItems',
4094
+ requestId: 'RequestId',
4095
+ totalCount: 'TotalCount',
4096
+ };
4097
+ }
4098
+
4099
+ static types(): { [key: string]: any } {
4100
+ return {
4101
+ maxResults: 'number',
4102
+ nextToken: 'string',
4103
+ opsItems: { 'type': 'array', 'itemType': ListOpsItemsResponseBodyOpsItems },
4104
+ requestId: 'string',
4105
+ totalCount: 'number',
4106
+ };
4107
+ }
4108
+
4109
+ constructor(map?: { [key: string]: any }) {
4110
+ super(map);
4111
+ }
4112
+ }
4113
+
4114
+ export class ListOpsItemsResponse extends $tea.Model {
4115
+ headers: { [key: string]: string };
4116
+ statusCode: number;
4117
+ body: ListOpsItemsResponseBody;
4118
+ static names(): { [key: string]: string } {
4119
+ return {
4120
+ headers: 'headers',
4121
+ statusCode: 'statusCode',
4122
+ body: 'body',
4123
+ };
4124
+ }
4125
+
4126
+ static types(): { [key: string]: any } {
4127
+ return {
4128
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4129
+ statusCode: 'number',
4130
+ body: ListOpsItemsResponseBody,
4131
+ };
4132
+ }
4133
+
4134
+ constructor(map?: { [key: string]: any }) {
4135
+ super(map);
4136
+ }
4137
+ }
4138
+
4139
+ export class ListParameterVersionsRequest extends $tea.Model {
4140
+ maxResults?: number;
4141
+ name?: string;
4142
+ nextToken?: string;
4143
+ regionId?: string;
4144
+ shareType?: string;
4145
+ static names(): { [key: string]: string } {
4146
+ return {
4147
+ maxResults: 'MaxResults',
4148
+ name: 'Name',
4149
+ nextToken: 'NextToken',
4150
+ regionId: 'RegionId',
4151
+ shareType: 'ShareType',
4152
+ };
4153
+ }
4154
+
4155
+ static types(): { [key: string]: any } {
4156
+ return {
4157
+ maxResults: 'number',
4158
+ name: 'string',
4159
+ nextToken: 'string',
4160
+ regionId: 'string',
4161
+ shareType: 'string',
4162
+ };
4163
+ }
4164
+
4165
+ constructor(map?: { [key: string]: any }) {
4166
+ super(map);
4167
+ }
4168
+ }
4169
+
4170
+ export class ListParameterVersionsResponseBody extends $tea.Model {
4171
+ createdBy?: string;
4172
+ createdDate?: string;
4173
+ description?: string;
4174
+ id?: string;
4175
+ maxResults?: number;
4176
+ name?: string;
4177
+ nextToken?: string;
4178
+ parameterVersions?: ListParameterVersionsResponseBodyParameterVersions[];
4179
+ requestId?: string;
4180
+ totalCount?: number;
4181
+ type?: string;
4182
+ static names(): { [key: string]: string } {
4183
+ return {
4184
+ createdBy: 'CreatedBy',
4185
+ createdDate: 'CreatedDate',
3775
4186
  description: 'Description',
3776
4187
  id: 'Id',
3777
4188
  maxResults: 'MaxResults',
@@ -4486,10 +4897,12 @@ export class ListStateConfigurationsShrinkRequest extends $tea.Model {
4486
4897
  }
4487
4898
 
4488
4899
  export class ListStateConfigurationsResponseBody extends $tea.Model {
4900
+ nextToken?: string;
4489
4901
  requestId?: string;
4490
4902
  stateConfigurations?: ListStateConfigurationsResponseBodyStateConfigurations[];
4491
4903
  static names(): { [key: string]: string } {
4492
4904
  return {
4905
+ nextToken: 'NextToken',
4493
4906
  requestId: 'RequestId',
4494
4907
  stateConfigurations: 'StateConfigurations',
4495
4908
  };
@@ -4497,6 +4910,7 @@ export class ListStateConfigurationsResponseBody extends $tea.Model {
4497
4910
 
4498
4911
  static types(): { [key: string]: any } {
4499
4912
  return {
4913
+ nextToken: 'string',
4500
4914
  requestId: 'string',
4501
4915
  stateConfigurations: { 'type': 'array', 'itemType': ListStateConfigurationsResponseBodyStateConfigurations },
4502
4916
  };
@@ -5531,6 +5945,7 @@ export class StartExecutionRequest extends $tea.Model {
5531
5945
  tags?: { [key: string]: any };
5532
5946
  templateContent?: string;
5533
5947
  templateName?: string;
5948
+ templateURL?: string;
5534
5949
  templateVersion?: string;
5535
5950
  static names(): { [key: string]: string } {
5536
5951
  return {
@@ -5546,6 +5961,7 @@ export class StartExecutionRequest extends $tea.Model {
5546
5961
  tags: 'Tags',
5547
5962
  templateContent: 'TemplateContent',
5548
5963
  templateName: 'TemplateName',
5964
+ templateURL: 'TemplateURL',
5549
5965
  templateVersion: 'TemplateVersion',
5550
5966
  };
5551
5967
  }
@@ -5564,6 +5980,7 @@ export class StartExecutionRequest extends $tea.Model {
5564
5980
  tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5565
5981
  templateContent: 'string',
5566
5982
  templateName: 'string',
5983
+ templateURL: 'string',
5567
5984
  templateVersion: 'string',
5568
5985
  };
5569
5986
  }
@@ -5586,6 +6003,7 @@ export class StartExecutionShrinkRequest extends $tea.Model {
5586
6003
  tagsShrink?: string;
5587
6004
  templateContent?: string;
5588
6005
  templateName?: string;
6006
+ templateURL?: string;
5589
6007
  templateVersion?: string;
5590
6008
  static names(): { [key: string]: string } {
5591
6009
  return {
@@ -5601,6 +6019,7 @@ export class StartExecutionShrinkRequest extends $tea.Model {
5601
6019
  tagsShrink: 'Tags',
5602
6020
  templateContent: 'TemplateContent',
5603
6021
  templateName: 'TemplateName',
6022
+ templateURL: 'TemplateURL',
5604
6023
  templateVersion: 'TemplateVersion',
5605
6024
  };
5606
6025
  }
@@ -5619,6 +6038,7 @@ export class StartExecutionShrinkRequest extends $tea.Model {
5619
6038
  tagsShrink: 'string',
5620
6039
  templateContent: 'string',
5621
6040
  templateName: 'string',
6041
+ templateURL: 'string',
5622
6042
  templateVersion: 'string',
5623
6043
  };
5624
6044
  }
@@ -6206,6 +6626,175 @@ export class UpdateExecutionResponse extends $tea.Model {
6206
6626
  }
6207
6627
  }
6208
6628
 
6629
+ export class UpdateOpsItemRequest extends $tea.Model {
6630
+ category?: string;
6631
+ clientToken?: string;
6632
+ dedupString?: string;
6633
+ description?: string;
6634
+ opsItemId?: string;
6635
+ priority?: number;
6636
+ regionId?: string;
6637
+ resourceGroupId?: string;
6638
+ resources?: string;
6639
+ severity?: string;
6640
+ solutions?: string;
6641
+ source?: string;
6642
+ status?: string;
6643
+ tags?: { [key: string]: any };
6644
+ title?: string;
6645
+ static names(): { [key: string]: string } {
6646
+ return {
6647
+ category: 'Category',
6648
+ clientToken: 'ClientToken',
6649
+ dedupString: 'DedupString',
6650
+ description: 'Description',
6651
+ opsItemId: 'OpsItemId',
6652
+ priority: 'Priority',
6653
+ regionId: 'RegionId',
6654
+ resourceGroupId: 'ResourceGroupId',
6655
+ resources: 'Resources',
6656
+ severity: 'Severity',
6657
+ solutions: 'Solutions',
6658
+ source: 'Source',
6659
+ status: 'Status',
6660
+ tags: 'Tags',
6661
+ title: 'Title',
6662
+ };
6663
+ }
6664
+
6665
+ static types(): { [key: string]: any } {
6666
+ return {
6667
+ category: 'string',
6668
+ clientToken: 'string',
6669
+ dedupString: 'string',
6670
+ description: 'string',
6671
+ opsItemId: 'string',
6672
+ priority: 'number',
6673
+ regionId: 'string',
6674
+ resourceGroupId: 'string',
6675
+ resources: 'string',
6676
+ severity: 'string',
6677
+ solutions: 'string',
6678
+ source: 'string',
6679
+ status: 'string',
6680
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6681
+ title: 'string',
6682
+ };
6683
+ }
6684
+
6685
+ constructor(map?: { [key: string]: any }) {
6686
+ super(map);
6687
+ }
6688
+ }
6689
+
6690
+ export class UpdateOpsItemShrinkRequest extends $tea.Model {
6691
+ category?: string;
6692
+ clientToken?: string;
6693
+ dedupString?: string;
6694
+ description?: string;
6695
+ opsItemId?: string;
6696
+ priority?: number;
6697
+ regionId?: string;
6698
+ resourceGroupId?: string;
6699
+ resources?: string;
6700
+ severity?: string;
6701
+ solutions?: string;
6702
+ source?: string;
6703
+ status?: string;
6704
+ tagsShrink?: string;
6705
+ title?: string;
6706
+ static names(): { [key: string]: string } {
6707
+ return {
6708
+ category: 'Category',
6709
+ clientToken: 'ClientToken',
6710
+ dedupString: 'DedupString',
6711
+ description: 'Description',
6712
+ opsItemId: 'OpsItemId',
6713
+ priority: 'Priority',
6714
+ regionId: 'RegionId',
6715
+ resourceGroupId: 'ResourceGroupId',
6716
+ resources: 'Resources',
6717
+ severity: 'Severity',
6718
+ solutions: 'Solutions',
6719
+ source: 'Source',
6720
+ status: 'Status',
6721
+ tagsShrink: 'Tags',
6722
+ title: 'Title',
6723
+ };
6724
+ }
6725
+
6726
+ static types(): { [key: string]: any } {
6727
+ return {
6728
+ category: 'string',
6729
+ clientToken: 'string',
6730
+ dedupString: 'string',
6731
+ description: 'string',
6732
+ opsItemId: 'string',
6733
+ priority: 'number',
6734
+ regionId: 'string',
6735
+ resourceGroupId: 'string',
6736
+ resources: 'string',
6737
+ severity: 'string',
6738
+ solutions: 'string',
6739
+ source: 'string',
6740
+ status: 'string',
6741
+ tagsShrink: 'string',
6742
+ title: 'string',
6743
+ };
6744
+ }
6745
+
6746
+ constructor(map?: { [key: string]: any }) {
6747
+ super(map);
6748
+ }
6749
+ }
6750
+
6751
+ export class UpdateOpsItemResponseBody extends $tea.Model {
6752
+ opsItem?: UpdateOpsItemResponseBodyOpsItem;
6753
+ requestId?: string;
6754
+ static names(): { [key: string]: string } {
6755
+ return {
6756
+ opsItem: 'OpsItem',
6757
+ requestId: 'RequestId',
6758
+ };
6759
+ }
6760
+
6761
+ static types(): { [key: string]: any } {
6762
+ return {
6763
+ opsItem: UpdateOpsItemResponseBodyOpsItem,
6764
+ requestId: 'string',
6765
+ };
6766
+ }
6767
+
6768
+ constructor(map?: { [key: string]: any }) {
6769
+ super(map);
6770
+ }
6771
+ }
6772
+
6773
+ export class UpdateOpsItemResponse extends $tea.Model {
6774
+ headers: { [key: string]: string };
6775
+ statusCode: number;
6776
+ body: UpdateOpsItemResponseBody;
6777
+ static names(): { [key: string]: string } {
6778
+ return {
6779
+ headers: 'headers',
6780
+ statusCode: 'statusCode',
6781
+ body: 'body',
6782
+ };
6783
+ }
6784
+
6785
+ static types(): { [key: string]: any } {
6786
+ return {
6787
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6788
+ statusCode: 'number',
6789
+ body: UpdateOpsItemResponseBody,
6790
+ };
6791
+ }
6792
+
6793
+ constructor(map?: { [key: string]: any }) {
6794
+ super(map);
6795
+ }
6796
+ }
6797
+
6209
6798
  export class UpdateParameterRequest extends $tea.Model {
6210
6799
  description?: string;
6211
6800
  name?: string;
@@ -6743,10 +7332,12 @@ export class UpdateTemplateResponse extends $tea.Model {
6743
7332
  export class ValidateTemplateContentRequest extends $tea.Model {
6744
7333
  content?: string;
6745
7334
  regionId?: string;
7335
+ templateURL?: string;
6746
7336
  static names(): { [key: string]: string } {
6747
7337
  return {
6748
7338
  content: 'Content',
6749
7339
  regionId: 'RegionId',
7340
+ templateURL: 'TemplateURL',
6750
7341
  };
6751
7342
  }
6752
7343
 
@@ -6754,6 +7345,7 @@ export class ValidateTemplateContentRequest extends $tea.Model {
6754
7345
  return {
6755
7346
  content: 'string',
6756
7347
  regionId: 'string',
7348
+ templateURL: 'string',
6757
7349
  };
6758
7350
  }
6759
7351
 
@@ -6892,6 +7484,73 @@ export class CreateApplicationGroupResponseBodyApplicationGroup extends $tea.Mod
6892
7484
  }
6893
7485
  }
6894
7486
 
7487
+ export class CreateOpsItemResponseBodyOpsItem extends $tea.Model {
7488
+ attributes?: string;
7489
+ category?: string;
7490
+ createDate?: string;
7491
+ createdBy?: string;
7492
+ description?: string;
7493
+ lastModifiedBy?: string;
7494
+ opsItemId?: string;
7495
+ priority?: number;
7496
+ resourceGroupId?: string;
7497
+ resources?: string;
7498
+ severity?: string;
7499
+ solutions?: string;
7500
+ source?: string;
7501
+ status?: string;
7502
+ tags?: { [key: string]: any };
7503
+ title?: string;
7504
+ updateDate?: string;
7505
+ static names(): { [key: string]: string } {
7506
+ return {
7507
+ attributes: 'Attributes',
7508
+ category: 'Category',
7509
+ createDate: 'CreateDate',
7510
+ createdBy: 'CreatedBy',
7511
+ description: 'Description',
7512
+ lastModifiedBy: 'LastModifiedBy',
7513
+ opsItemId: 'OpsItemId',
7514
+ priority: 'Priority',
7515
+ resourceGroupId: 'ResourceGroupId',
7516
+ resources: 'Resources',
7517
+ severity: 'Severity',
7518
+ solutions: 'Solutions',
7519
+ source: 'Source',
7520
+ status: 'Status',
7521
+ tags: 'Tags',
7522
+ title: 'Title',
7523
+ updateDate: 'UpdateDate',
7524
+ };
7525
+ }
7526
+
7527
+ static types(): { [key: string]: any } {
7528
+ return {
7529
+ attributes: 'string',
7530
+ category: 'string',
7531
+ createDate: 'string',
7532
+ createdBy: 'string',
7533
+ description: 'string',
7534
+ lastModifiedBy: 'string',
7535
+ opsItemId: 'string',
7536
+ priority: 'number',
7537
+ resourceGroupId: 'string',
7538
+ resources: 'string',
7539
+ severity: 'string',
7540
+ solutions: 'string',
7541
+ source: 'string',
7542
+ status: 'string',
7543
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7544
+ title: 'string',
7545
+ updateDate: 'string',
7546
+ };
7547
+ }
7548
+
7549
+ constructor(map?: { [key: string]: any }) {
7550
+ super(map);
7551
+ }
7552
+ }
7553
+
6895
7554
  export class CreateParameterResponseBodyParameter extends $tea.Model {
6896
7555
  constraints?: string;
6897
7556
  createdBy?: string;
@@ -7004,7 +7663,7 @@ export class CreateSecretParameterResponseBodyParameter extends $tea.Model {
7004
7663
  parameterVersion?: number;
7005
7664
  resourceGroupId?: string;
7006
7665
  shareType?: string;
7007
- tags?: string;
7666
+ tags?: { [key: string]: any };
7008
7667
  type?: string;
7009
7668
  updatedBy?: string;
7010
7669
  updatedDate?: string;
@@ -7039,7 +7698,7 @@ export class CreateSecretParameterResponseBodyParameter extends $tea.Model {
7039
7698
  parameterVersion: 'number',
7040
7699
  resourceGroupId: 'string',
7041
7700
  shareType: 'string',
7042
- tags: 'string',
7701
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7043
7702
  type: 'string',
7044
7703
  updatedBy: 'string',
7045
7704
  updatedDate: 'string',
@@ -7234,6 +7893,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
7234
7893
  importTagKey?: string;
7235
7894
  importTagValue?: string;
7236
7895
  name?: string;
7896
+ progress?: string;
7237
7897
  status?: string;
7238
7898
  statusReason?: string;
7239
7899
  updateDate?: string;
@@ -7249,6 +7909,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
7249
7909
  importTagKey: 'ImportTagKey',
7250
7910
  importTagValue: 'ImportTagValue',
7251
7911
  name: 'Name',
7912
+ progress: 'Progress',
7252
7913
  status: 'Status',
7253
7914
  statusReason: 'StatusReason',
7254
7915
  updateDate: 'UpdateDate',
@@ -7267,6 +7928,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
7267
7928
  importTagKey: 'string',
7268
7929
  importTagValue: 'string',
7269
7930
  name: 'string',
7931
+ progress: 'string',
7270
7932
  status: 'string',
7271
7933
  statusReason: 'string',
7272
7934
  updateDate: 'string',
@@ -7377,6 +8039,76 @@ export class GetInventorySchemaResponseBodySchemas extends $tea.Model {
7377
8039
  }
7378
8040
  }
7379
8041
 
8042
+ export class GetOpsItemResponseBodyOpsItem extends $tea.Model {
8043
+ attributes?: { [key: string]: any };
8044
+ category?: string;
8045
+ createBy?: string;
8046
+ createDate?: string;
8047
+ dedupString?: string;
8048
+ description?: string;
8049
+ lastModifiedBy?: string;
8050
+ opsItemId?: string;
8051
+ priority?: number;
8052
+ resourceGroupId?: string;
8053
+ resources?: string[];
8054
+ severity?: string;
8055
+ solutions?: { [key: string]: any }[];
8056
+ source?: string;
8057
+ status?: string;
8058
+ tags?: { [key: string]: any };
8059
+ title?: string;
8060
+ updateDate?: string;
8061
+ static names(): { [key: string]: string } {
8062
+ return {
8063
+ attributes: 'Attributes',
8064
+ category: 'Category',
8065
+ createBy: 'CreateBy',
8066
+ createDate: 'CreateDate',
8067
+ dedupString: 'DedupString',
8068
+ description: 'Description',
8069
+ lastModifiedBy: 'LastModifiedBy',
8070
+ opsItemId: 'OpsItemId',
8071
+ priority: 'Priority',
8072
+ resourceGroupId: 'ResourceGroupId',
8073
+ resources: 'Resources',
8074
+ severity: 'Severity',
8075
+ solutions: 'Solutions',
8076
+ source: 'Source',
8077
+ status: 'Status',
8078
+ tags: 'Tags',
8079
+ title: 'Title',
8080
+ updateDate: 'UpdateDate',
8081
+ };
8082
+ }
8083
+
8084
+ static types(): { [key: string]: any } {
8085
+ return {
8086
+ attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8087
+ category: 'string',
8088
+ createBy: 'string',
8089
+ createDate: 'string',
8090
+ dedupString: 'string',
8091
+ description: 'string',
8092
+ lastModifiedBy: 'string',
8093
+ opsItemId: 'string',
8094
+ priority: 'number',
8095
+ resourceGroupId: 'string',
8096
+ resources: { 'type': 'array', 'itemType': 'string' },
8097
+ severity: 'string',
8098
+ solutions: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
8099
+ source: 'string',
8100
+ status: 'string',
8101
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8102
+ title: 'string',
8103
+ updateDate: 'string',
8104
+ };
8105
+ }
8106
+
8107
+ constructor(map?: { [key: string]: any }) {
8108
+ super(map);
8109
+ }
8110
+ }
8111
+
7380
8112
  export class GetParameterResponseBodyParameter extends $tea.Model {
7381
8113
  constraints?: string;
7382
8114
  createdBy?: string;
@@ -8296,6 +9028,105 @@ export class ListInventoryEntriesRequestFilter extends $tea.Model {
8296
9028
  }
8297
9029
  }
8298
9030
 
9031
+ export class ListOpsItemsRequestFilter extends $tea.Model {
9032
+ name?: string;
9033
+ operator?: string;
9034
+ value?: string[];
9035
+ static names(): { [key: string]: string } {
9036
+ return {
9037
+ name: 'Name',
9038
+ operator: 'Operator',
9039
+ value: 'Value',
9040
+ };
9041
+ }
9042
+
9043
+ static types(): { [key: string]: any } {
9044
+ return {
9045
+ name: 'string',
9046
+ operator: 'string',
9047
+ value: { 'type': 'array', 'itemType': 'string' },
9048
+ };
9049
+ }
9050
+
9051
+ constructor(map?: { [key: string]: any }) {
9052
+ super(map);
9053
+ }
9054
+ }
9055
+
9056
+ export class ListOpsItemsShrinkRequestFilter extends $tea.Model {
9057
+ name?: string;
9058
+ operator?: string;
9059
+ value?: string[];
9060
+ static names(): { [key: string]: string } {
9061
+ return {
9062
+ name: 'Name',
9063
+ operator: 'Operator',
9064
+ value: 'Value',
9065
+ };
9066
+ }
9067
+
9068
+ static types(): { [key: string]: any } {
9069
+ return {
9070
+ name: 'string',
9071
+ operator: 'string',
9072
+ value: { 'type': 'array', 'itemType': 'string' },
9073
+ };
9074
+ }
9075
+
9076
+ constructor(map?: { [key: string]: any }) {
9077
+ super(map);
9078
+ }
9079
+ }
9080
+
9081
+ export class ListOpsItemsResponseBodyOpsItems extends $tea.Model {
9082
+ category?: string;
9083
+ createDate?: string;
9084
+ opsItemId?: string;
9085
+ priority?: number;
9086
+ resources?: string[];
9087
+ severity?: string;
9088
+ source?: string;
9089
+ status?: string;
9090
+ tags?: { [key: string]: any };
9091
+ title?: string;
9092
+ updateDate?: string;
9093
+ static names(): { [key: string]: string } {
9094
+ return {
9095
+ category: 'Category',
9096
+ createDate: 'CreateDate',
9097
+ opsItemId: 'OpsItemId',
9098
+ priority: 'Priority',
9099
+ resources: 'Resources',
9100
+ severity: 'Severity',
9101
+ source: 'Source',
9102
+ status: 'Status',
9103
+ tags: 'Tags',
9104
+ title: 'Title',
9105
+ updateDate: 'UpdateDate',
9106
+ };
9107
+ }
9108
+
9109
+ static types(): { [key: string]: any } {
9110
+ return {
9111
+ category: 'string',
9112
+ createDate: 'string',
9113
+ opsItemId: 'string',
9114
+ priority: 'number',
9115
+ resources: { 'type': 'array', 'itemType': 'string' },
9116
+ severity: 'string',
9117
+ source: 'string',
9118
+ status: 'string',
9119
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9120
+ title: 'string',
9121
+ updateDate: 'string',
9122
+ };
9123
+ }
9124
+
9125
+ constructor(map?: { [key: string]: any }) {
9126
+ super(map);
9127
+ }
9128
+ }
9129
+
8299
9130
  export class ListParameterVersionsResponseBodyParameterVersions extends $tea.Model {
8300
9131
  parameterVersion?: number;
8301
9132
  updatedBy?: string;
@@ -9094,14 +9925,81 @@ export class UpdateApplicationGroupResponseBodyApplicationGroup extends $tea.Mod
9094
9925
 
9095
9926
  static types(): { [key: string]: any } {
9096
9927
  return {
9097
- applicationName: 'string',
9098
- createdDate: 'string',
9099
- deployRegionId: 'string',
9928
+ applicationName: 'string',
9929
+ createdDate: 'string',
9930
+ deployRegionId: 'string',
9931
+ description: 'string',
9932
+ importTagKey: 'string',
9933
+ importTagValue: 'string',
9934
+ name: 'string',
9935
+ updatedDate: 'string',
9936
+ };
9937
+ }
9938
+
9939
+ constructor(map?: { [key: string]: any }) {
9940
+ super(map);
9941
+ }
9942
+ }
9943
+
9944
+ export class UpdateOpsItemResponseBodyOpsItem extends $tea.Model {
9945
+ attributes?: string;
9946
+ category?: string;
9947
+ createDate?: string;
9948
+ createdBy?: string;
9949
+ description?: string;
9950
+ lastModifiedBy?: string;
9951
+ opsItemId?: string;
9952
+ priority?: number;
9953
+ resourceGroupId?: string;
9954
+ resources?: string[];
9955
+ severity?: string;
9956
+ solutions?: string[];
9957
+ source?: string;
9958
+ status?: string;
9959
+ tags?: { [key: string]: any };
9960
+ title?: string;
9961
+ updateDate?: string;
9962
+ static names(): { [key: string]: string } {
9963
+ return {
9964
+ attributes: 'Attributes',
9965
+ category: 'Category',
9966
+ createDate: 'CreateDate',
9967
+ createdBy: 'CreatedBy',
9968
+ description: 'Description',
9969
+ lastModifiedBy: 'LastModifiedBy',
9970
+ opsItemId: 'OpsItemId',
9971
+ priority: 'Priority',
9972
+ resourceGroupId: 'ResourceGroupId',
9973
+ resources: 'Resources',
9974
+ severity: 'Severity',
9975
+ solutions: 'Solutions',
9976
+ source: 'Source',
9977
+ status: 'Status',
9978
+ tags: 'Tags',
9979
+ title: 'Title',
9980
+ updateDate: 'UpdateDate',
9981
+ };
9982
+ }
9983
+
9984
+ static types(): { [key: string]: any } {
9985
+ return {
9986
+ attributes: 'string',
9987
+ category: 'string',
9988
+ createDate: 'string',
9989
+ createdBy: 'string',
9100
9990
  description: 'string',
9101
- importTagKey: 'string',
9102
- importTagValue: 'string',
9103
- name: 'string',
9104
- updatedDate: 'string',
9991
+ lastModifiedBy: 'string',
9992
+ opsItemId: 'string',
9993
+ priority: 'number',
9994
+ resourceGroupId: 'string',
9995
+ resources: { 'type': 'array', 'itemType': 'string' },
9996
+ severity: 'string',
9997
+ solutions: { 'type': 'array', 'itemType': 'string' },
9998
+ source: 'string',
9999
+ status: 'string',
10000
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10001
+ title: 'string',
10002
+ updateDate: 'string',
9105
10003
  };
9106
10004
  }
9107
10005
 
@@ -9670,6 +10568,89 @@ export default class Client extends OpenApi {
9670
10568
  return await this.createApplicationGroupWithOptions(request, runtime);
9671
10569
  }
9672
10570
 
10571
+ async createOpsItemWithOptions(tmpReq: CreateOpsItemRequest, runtime: $Util.RuntimeOptions): Promise<CreateOpsItemResponse> {
10572
+ Util.validateModel(tmpReq);
10573
+ let request = new CreateOpsItemShrinkRequest({ });
10574
+ OpenApiUtil.convert(tmpReq, request);
10575
+ if (!Util.isUnset(tmpReq.tags)) {
10576
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
10577
+ }
10578
+
10579
+ let query = { };
10580
+ if (!Util.isUnset(request.category)) {
10581
+ query["Category"] = request.category;
10582
+ }
10583
+
10584
+ if (!Util.isUnset(request.clientToken)) {
10585
+ query["ClientToken"] = request.clientToken;
10586
+ }
10587
+
10588
+ if (!Util.isUnset(request.dedupString)) {
10589
+ query["DedupString"] = request.dedupString;
10590
+ }
10591
+
10592
+ if (!Util.isUnset(request.description)) {
10593
+ query["Description"] = request.description;
10594
+ }
10595
+
10596
+ if (!Util.isUnset(request.priority)) {
10597
+ query["Priority"] = request.priority;
10598
+ }
10599
+
10600
+ if (!Util.isUnset(request.regionId)) {
10601
+ query["RegionId"] = request.regionId;
10602
+ }
10603
+
10604
+ if (!Util.isUnset(request.resourceGroupId)) {
10605
+ query["ResourceGroupId"] = request.resourceGroupId;
10606
+ }
10607
+
10608
+ if (!Util.isUnset(request.resources)) {
10609
+ query["Resources"] = request.resources;
10610
+ }
10611
+
10612
+ if (!Util.isUnset(request.severity)) {
10613
+ query["Severity"] = request.severity;
10614
+ }
10615
+
10616
+ if (!Util.isUnset(request.solutions)) {
10617
+ query["Solutions"] = request.solutions;
10618
+ }
10619
+
10620
+ if (!Util.isUnset(request.source)) {
10621
+ query["Source"] = request.source;
10622
+ }
10623
+
10624
+ if (!Util.isUnset(request.tagsShrink)) {
10625
+ query["Tags"] = request.tagsShrink;
10626
+ }
10627
+
10628
+ if (!Util.isUnset(request.title)) {
10629
+ query["Title"] = request.title;
10630
+ }
10631
+
10632
+ let req = new $OpenApi.OpenApiRequest({
10633
+ query: OpenApiUtil.query(query),
10634
+ });
10635
+ let params = new $OpenApi.Params({
10636
+ action: "CreateOpsItem",
10637
+ version: "2019-06-01",
10638
+ protocol: "HTTPS",
10639
+ pathname: "/",
10640
+ method: "POST",
10641
+ authType: "AK",
10642
+ style: "RPC",
10643
+ reqBodyType: "formData",
10644
+ bodyType: "json",
10645
+ });
10646
+ return $tea.cast<CreateOpsItemResponse>(await this.callApi(params, req, runtime), new CreateOpsItemResponse({}));
10647
+ }
10648
+
10649
+ async createOpsItem(request: CreateOpsItemRequest): Promise<CreateOpsItemResponse> {
10650
+ let runtime = new $Util.RuntimeOptions({ });
10651
+ return await this.createOpsItemWithOptions(request, runtime);
10652
+ }
10653
+
9673
10654
  async createParameterWithOptions(tmpReq: CreateParameterRequest, runtime: $Util.RuntimeOptions): Promise<CreateParameterResponse> {
9674
10655
  Util.validateModel(tmpReq);
9675
10656
  let request = new CreateParameterShrinkRequest({ });
@@ -9786,8 +10767,14 @@ export default class Client extends OpenApi {
9786
10767
  return await this.createPatchBaselineWithOptions(request, runtime);
9787
10768
  }
9788
10769
 
9789
- async createSecretParameterWithOptions(request: CreateSecretParameterRequest, runtime: $Util.RuntimeOptions): Promise<CreateSecretParameterResponse> {
9790
- Util.validateModel(request);
10770
+ async createSecretParameterWithOptions(tmpReq: CreateSecretParameterRequest, runtime: $Util.RuntimeOptions): Promise<CreateSecretParameterResponse> {
10771
+ Util.validateModel(tmpReq);
10772
+ let request = new CreateSecretParameterShrinkRequest({ });
10773
+ OpenApiUtil.convert(tmpReq, request);
10774
+ if (!Util.isUnset(tmpReq.tags)) {
10775
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
10776
+ }
10777
+
9791
10778
  let query = { };
9792
10779
  if (!Util.isUnset(request.clientToken)) {
9793
10780
  query["ClientToken"] = request.clientToken;
@@ -9817,8 +10804,8 @@ export default class Client extends OpenApi {
9817
10804
  query["ResourceGroupId"] = request.resourceGroupId;
9818
10805
  }
9819
10806
 
9820
- if (!Util.isUnset(request.tags)) {
9821
- query["Tags"] = request.tags;
10807
+ if (!Util.isUnset(request.tagsShrink)) {
10808
+ query["Tags"] = request.tagsShrink;
9822
10809
  }
9823
10810
 
9824
10811
  if (!Util.isUnset(request.type)) {
@@ -9988,6 +10975,10 @@ export default class Client extends OpenApi {
9988
10975
  async deleteApplicationWithOptions(request: DeleteApplicationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApplicationResponse> {
9989
10976
  Util.validateModel(request);
9990
10977
  let query = { };
10978
+ if (!Util.isUnset(request.force)) {
10979
+ query["Force"] = request.force;
10980
+ }
10981
+
9991
10982
  if (!Util.isUnset(request.name)) {
9992
10983
  query["Name"] = request.name;
9993
10984
  }
@@ -10557,6 +11548,39 @@ export default class Client extends OpenApi {
10557
11548
  return await this.getInventorySchemaWithOptions(request, runtime);
10558
11549
  }
10559
11550
 
11551
+ async getOpsItemWithOptions(request: GetOpsItemRequest, runtime: $Util.RuntimeOptions): Promise<GetOpsItemResponse> {
11552
+ Util.validateModel(request);
11553
+ let query = { };
11554
+ if (!Util.isUnset(request.opsItemId)) {
11555
+ query["OpsItemId"] = request.opsItemId;
11556
+ }
11557
+
11558
+ if (!Util.isUnset(request.regionId)) {
11559
+ query["RegionId"] = request.regionId;
11560
+ }
11561
+
11562
+ let req = new $OpenApi.OpenApiRequest({
11563
+ query: OpenApiUtil.query(query),
11564
+ });
11565
+ let params = new $OpenApi.Params({
11566
+ action: "GetOpsItem",
11567
+ version: "2019-06-01",
11568
+ protocol: "HTTPS",
11569
+ pathname: "/",
11570
+ method: "POST",
11571
+ authType: "AK",
11572
+ style: "RPC",
11573
+ reqBodyType: "formData",
11574
+ bodyType: "json",
11575
+ });
11576
+ return $tea.cast<GetOpsItemResponse>(await this.callApi(params, req, runtime), new GetOpsItemResponse({}));
11577
+ }
11578
+
11579
+ async getOpsItem(request: GetOpsItemRequest): Promise<GetOpsItemResponse> {
11580
+ let runtime = new $Util.RuntimeOptions({ });
11581
+ return await this.getOpsItemWithOptions(request, runtime);
11582
+ }
11583
+
10560
11584
  async getParameterWithOptions(request: GetParameterRequest, runtime: $Util.RuntimeOptions): Promise<GetParameterResponse> {
10561
11585
  Util.validateModel(request);
10562
11586
  let query = { };
@@ -10962,10 +11986,26 @@ export default class Client extends OpenApi {
10962
11986
  query["NextToken"] = request.nextToken;
10963
11987
  }
10964
11988
 
11989
+ if (!Util.isUnset(request.product)) {
11990
+ query["Product"] = request.product;
11991
+ }
11992
+
10965
11993
  if (!Util.isUnset(request.regionId)) {
10966
11994
  query["RegionId"] = request.regionId;
10967
11995
  }
10968
11996
 
11997
+ if (!Util.isUnset(request.resourceId)) {
11998
+ query["ResourceId"] = request.resourceId;
11999
+ }
12000
+
12001
+ if (!Util.isUnset(request.resourceProduct)) {
12002
+ query["ResourceProduct"] = request.resourceProduct;
12003
+ }
12004
+
12005
+ if (!Util.isUnset(request.resourceType)) {
12006
+ query["ResourceType"] = request.resourceType;
12007
+ }
12008
+
10969
12009
  let req = new $OpenApi.OpenApiRequest({
10970
12010
  query: OpenApiUtil.query(query),
10971
12011
  });
@@ -11379,6 +12419,65 @@ export default class Client extends OpenApi {
11379
12419
  return await this.listInventoryEntriesWithOptions(request, runtime);
11380
12420
  }
11381
12421
 
12422
+ async listOpsItemsWithOptions(tmpReq: ListOpsItemsRequest, runtime: $Util.RuntimeOptions): Promise<ListOpsItemsResponse> {
12423
+ Util.validateModel(tmpReq);
12424
+ let request = new ListOpsItemsShrinkRequest({ });
12425
+ OpenApiUtil.convert(tmpReq, request);
12426
+ if (!Util.isUnset(tmpReq.resourceTags)) {
12427
+ request.resourceTagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceTags, "ResourceTags", "json");
12428
+ }
12429
+
12430
+ if (!Util.isUnset(tmpReq.tags)) {
12431
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
12432
+ }
12433
+
12434
+ let query = { };
12435
+ if (!Util.isUnset(request.filter)) {
12436
+ query["Filter"] = request.filter;
12437
+ }
12438
+
12439
+ if (!Util.isUnset(request.maxResults)) {
12440
+ query["MaxResults"] = request.maxResults;
12441
+ }
12442
+
12443
+ if (!Util.isUnset(request.nextToken)) {
12444
+ query["NextToken"] = request.nextToken;
12445
+ }
12446
+
12447
+ if (!Util.isUnset(request.regionId)) {
12448
+ query["RegionId"] = request.regionId;
12449
+ }
12450
+
12451
+ if (!Util.isUnset(request.resourceTagsShrink)) {
12452
+ query["ResourceTags"] = request.resourceTagsShrink;
12453
+ }
12454
+
12455
+ if (!Util.isUnset(request.tagsShrink)) {
12456
+ query["Tags"] = request.tagsShrink;
12457
+ }
12458
+
12459
+ let req = new $OpenApi.OpenApiRequest({
12460
+ query: OpenApiUtil.query(query),
12461
+ });
12462
+ let params = new $OpenApi.Params({
12463
+ action: "ListOpsItems",
12464
+ version: "2019-06-01",
12465
+ protocol: "HTTPS",
12466
+ pathname: "/",
12467
+ method: "POST",
12468
+ authType: "AK",
12469
+ style: "RPC",
12470
+ reqBodyType: "formData",
12471
+ bodyType: "json",
12472
+ });
12473
+ return $tea.cast<ListOpsItemsResponse>(await this.callApi(params, req, runtime), new ListOpsItemsResponse({}));
12474
+ }
12475
+
12476
+ async listOpsItems(request: ListOpsItemsRequest): Promise<ListOpsItemsResponse> {
12477
+ let runtime = new $Util.RuntimeOptions({ });
12478
+ return await this.listOpsItemsWithOptions(request, runtime);
12479
+ }
12480
+
11382
12481
  async listParameterVersionsWithOptions(request: ListParameterVersionsRequest, runtime: $Util.RuntimeOptions): Promise<ListParameterVersionsResponse> {
11383
12482
  Util.validateModel(request);
11384
12483
  let query = { };
@@ -12395,6 +13494,10 @@ export default class Client extends OpenApi {
12395
13494
  query["TemplateName"] = request.templateName;
12396
13495
  }
12397
13496
 
13497
+ if (!Util.isUnset(request.templateURL)) {
13498
+ query["TemplateURL"] = request.templateURL;
13499
+ }
13500
+
12398
13501
  if (!Util.isUnset(request.templateVersion)) {
12399
13502
  query["TemplateVersion"] = request.templateVersion;
12400
13503
  }
@@ -12701,6 +13804,97 @@ export default class Client extends OpenApi {
12701
13804
  return await this.updateExecutionWithOptions(request, runtime);
12702
13805
  }
12703
13806
 
13807
+ async updateOpsItemWithOptions(tmpReq: UpdateOpsItemRequest, runtime: $Util.RuntimeOptions): Promise<UpdateOpsItemResponse> {
13808
+ Util.validateModel(tmpReq);
13809
+ let request = new UpdateOpsItemShrinkRequest({ });
13810
+ OpenApiUtil.convert(tmpReq, request);
13811
+ if (!Util.isUnset(tmpReq.tags)) {
13812
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
13813
+ }
13814
+
13815
+ let query = { };
13816
+ if (!Util.isUnset(request.category)) {
13817
+ query["Category"] = request.category;
13818
+ }
13819
+
13820
+ if (!Util.isUnset(request.clientToken)) {
13821
+ query["ClientToken"] = request.clientToken;
13822
+ }
13823
+
13824
+ if (!Util.isUnset(request.dedupString)) {
13825
+ query["DedupString"] = request.dedupString;
13826
+ }
13827
+
13828
+ if (!Util.isUnset(request.description)) {
13829
+ query["Description"] = request.description;
13830
+ }
13831
+
13832
+ if (!Util.isUnset(request.opsItemId)) {
13833
+ query["OpsItemId"] = request.opsItemId;
13834
+ }
13835
+
13836
+ if (!Util.isUnset(request.priority)) {
13837
+ query["Priority"] = request.priority;
13838
+ }
13839
+
13840
+ if (!Util.isUnset(request.regionId)) {
13841
+ query["RegionId"] = request.regionId;
13842
+ }
13843
+
13844
+ if (!Util.isUnset(request.resourceGroupId)) {
13845
+ query["ResourceGroupId"] = request.resourceGroupId;
13846
+ }
13847
+
13848
+ if (!Util.isUnset(request.resources)) {
13849
+ query["Resources"] = request.resources;
13850
+ }
13851
+
13852
+ if (!Util.isUnset(request.severity)) {
13853
+ query["Severity"] = request.severity;
13854
+ }
13855
+
13856
+ if (!Util.isUnset(request.solutions)) {
13857
+ query["Solutions"] = request.solutions;
13858
+ }
13859
+
13860
+ if (!Util.isUnset(request.source)) {
13861
+ query["Source"] = request.source;
13862
+ }
13863
+
13864
+ if (!Util.isUnset(request.status)) {
13865
+ query["Status"] = request.status;
13866
+ }
13867
+
13868
+ if (!Util.isUnset(request.tagsShrink)) {
13869
+ query["Tags"] = request.tagsShrink;
13870
+ }
13871
+
13872
+ if (!Util.isUnset(request.title)) {
13873
+ query["Title"] = request.title;
13874
+ }
13875
+
13876
+ let req = new $OpenApi.OpenApiRequest({
13877
+ query: OpenApiUtil.query(query),
13878
+ });
13879
+ let params = new $OpenApi.Params({
13880
+ action: "UpdateOpsItem",
13881
+ version: "2019-06-01",
13882
+ protocol: "HTTPS",
13883
+ pathname: "/",
13884
+ method: "POST",
13885
+ authType: "AK",
13886
+ style: "RPC",
13887
+ reqBodyType: "formData",
13888
+ bodyType: "json",
13889
+ });
13890
+ return $tea.cast<UpdateOpsItemResponse>(await this.callApi(params, req, runtime), new UpdateOpsItemResponse({}));
13891
+ }
13892
+
13893
+ async updateOpsItem(request: UpdateOpsItemRequest): Promise<UpdateOpsItemResponse> {
13894
+ let runtime = new $Util.RuntimeOptions({ });
13895
+ return await this.updateOpsItemWithOptions(request, runtime);
13896
+ }
13897
+
12704
13898
  async updateParameterWithOptions(request: UpdateParameterRequest, runtime: $Util.RuntimeOptions): Promise<UpdateParameterResponse> {
12705
13899
  Util.validateModel(request);
12706
13900
  let query = { };
@@ -12995,6 +14189,10 @@ export default class Client extends OpenApi {
12995
14189
  query["RegionId"] = request.regionId;
12996
14190
  }
12997
14191
 
14192
+ if (!Util.isUnset(request.templateURL)) {
14193
+ query["TemplateURL"] = request.templateURL;
14194
+ }
14195
+
12998
14196
  let req = new $OpenApi.OpenApiRequest({
12999
14197
  query: OpenApiUtil.query(query),
13000
14198
  });