@alicloud/oos20190601 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +312 -4
- package/dist/client.js +594 -11
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +778 -13
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',
|
|
@@ -715,30 +721,100 @@ export class CreateParameterResponse extends $tea.Model {
|
|
|
715
721
|
|
|
716
722
|
export class CreatePatchBaselineRequest extends $tea.Model {
|
|
717
723
|
approvalRules?: string;
|
|
724
|
+
approvedPatches?: string[];
|
|
725
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
718
726
|
clientToken?: string;
|
|
719
727
|
description?: string;
|
|
720
728
|
name?: string;
|
|
721
729
|
operationSystem?: string;
|
|
722
730
|
regionId?: string;
|
|
731
|
+
rejectedPatches?: string[];
|
|
732
|
+
rejectedPatchesAction?: string;
|
|
733
|
+
sources?: string[];
|
|
734
|
+
tags?: CreatePatchBaselineRequestTags[];
|
|
723
735
|
static names(): { [key: string]: string } {
|
|
724
736
|
return {
|
|
725
737
|
approvalRules: 'ApprovalRules',
|
|
738
|
+
approvedPatches: 'ApprovedPatches',
|
|
739
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
726
740
|
clientToken: 'ClientToken',
|
|
727
741
|
description: 'Description',
|
|
728
742
|
name: 'Name',
|
|
729
743
|
operationSystem: 'OperationSystem',
|
|
730
744
|
regionId: 'RegionId',
|
|
745
|
+
rejectedPatches: 'RejectedPatches',
|
|
746
|
+
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
747
|
+
sources: 'Sources',
|
|
748
|
+
tags: 'Tags',
|
|
731
749
|
};
|
|
732
750
|
}
|
|
733
751
|
|
|
734
752
|
static types(): { [key: string]: any } {
|
|
735
753
|
return {
|
|
736
754
|
approvalRules: 'string',
|
|
755
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
756
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
737
757
|
clientToken: 'string',
|
|
738
758
|
description: 'string',
|
|
739
759
|
name: 'string',
|
|
740
760
|
operationSystem: 'string',
|
|
741
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;
|
|
778
|
+
clientToken?: string;
|
|
779
|
+
description?: string;
|
|
780
|
+
name?: string;
|
|
781
|
+
operationSystem?: string;
|
|
782
|
+
regionId?: string;
|
|
783
|
+
rejectedPatchesShrink?: string;
|
|
784
|
+
rejectedPatchesAction?: string;
|
|
785
|
+
sourcesShrink?: string;
|
|
786
|
+
tagsShrink?: string;
|
|
787
|
+
static names(): { [key: string]: string } {
|
|
788
|
+
return {
|
|
789
|
+
approvalRules: 'ApprovalRules',
|
|
790
|
+
approvedPatchesShrink: 'ApprovedPatches',
|
|
791
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
792
|
+
clientToken: 'ClientToken',
|
|
793
|
+
description: 'Description',
|
|
794
|
+
name: 'Name',
|
|
795
|
+
operationSystem: 'OperationSystem',
|
|
796
|
+
regionId: 'RegionId',
|
|
797
|
+
rejectedPatchesShrink: 'RejectedPatches',
|
|
798
|
+
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
799
|
+
sourcesShrink: 'Sources',
|
|
800
|
+
tagsShrink: 'Tags',
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
static types(): { [key: string]: any } {
|
|
805
|
+
return {
|
|
806
|
+
approvalRules: 'string',
|
|
807
|
+
approvedPatchesShrink: 'string',
|
|
808
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
809
|
+
clientToken: 'string',
|
|
810
|
+
description: 'string',
|
|
811
|
+
name: 'string',
|
|
812
|
+
operationSystem: 'string',
|
|
813
|
+
regionId: 'string',
|
|
814
|
+
rejectedPatchesShrink: 'string',
|
|
815
|
+
rejectedPatchesAction: 'string',
|
|
816
|
+
sourcesShrink: 'string',
|
|
817
|
+
tagsShrink: 'string',
|
|
742
818
|
};
|
|
743
819
|
}
|
|
744
820
|
|
|
@@ -1953,11 +2029,13 @@ export class DescribeRegionsResponse extends $tea.Model {
|
|
|
1953
2029
|
}
|
|
1954
2030
|
|
|
1955
2031
|
export class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
2032
|
+
ramRole?: string;
|
|
1956
2033
|
regionId?: string;
|
|
1957
2034
|
templateName?: string;
|
|
1958
2035
|
templateVersion?: string;
|
|
1959
2036
|
static names(): { [key: string]: string } {
|
|
1960
2037
|
return {
|
|
2038
|
+
ramRole: 'RamRole',
|
|
1961
2039
|
regionId: 'RegionId',
|
|
1962
2040
|
templateName: 'TemplateName',
|
|
1963
2041
|
templateVersion: 'TemplateVersion',
|
|
@@ -1966,6 +2044,7 @@ export class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
1966
2044
|
|
|
1967
2045
|
static types(): { [key: string]: any } {
|
|
1968
2046
|
return {
|
|
2047
|
+
ramRole: 'string',
|
|
1969
2048
|
regionId: 'string',
|
|
1970
2049
|
templateName: 'string',
|
|
1971
2050
|
templateVersion: 'string',
|
|
@@ -1978,10 +2057,12 @@ export class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
1978
2057
|
}
|
|
1979
2058
|
|
|
1980
2059
|
export class GenerateExecutionPolicyResponseBody extends $tea.Model {
|
|
2060
|
+
missingPolicy?: string;
|
|
1981
2061
|
policy?: string;
|
|
1982
2062
|
requestId?: string;
|
|
1983
2063
|
static names(): { [key: string]: string } {
|
|
1984
2064
|
return {
|
|
2065
|
+
missingPolicy: 'MissingPolicy',
|
|
1985
2066
|
policy: 'Policy',
|
|
1986
2067
|
requestId: 'RequestId',
|
|
1987
2068
|
};
|
|
@@ -1989,6 +2070,7 @@ export class GenerateExecutionPolicyResponseBody extends $tea.Model {
|
|
|
1989
2070
|
|
|
1990
2071
|
static types(): { [key: string]: any } {
|
|
1991
2072
|
return {
|
|
2073
|
+
missingPolicy: 'string',
|
|
1992
2074
|
policy: 'string',
|
|
1993
2075
|
requestId: 'string',
|
|
1994
2076
|
};
|
|
@@ -3160,7 +3242,6 @@ export class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
3160
3242
|
deployRegionId?: string;
|
|
3161
3243
|
maxResults?: number;
|
|
3162
3244
|
nextToken?: string;
|
|
3163
|
-
product?: string;
|
|
3164
3245
|
regionId?: string;
|
|
3165
3246
|
resourceId?: string;
|
|
3166
3247
|
resourceProduct?: string;
|
|
@@ -3171,7 +3252,6 @@ export class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
3171
3252
|
deployRegionId: 'DeployRegionId',
|
|
3172
3253
|
maxResults: 'MaxResults',
|
|
3173
3254
|
nextToken: 'NextToken',
|
|
3174
|
-
product: 'Product',
|
|
3175
3255
|
regionId: 'RegionId',
|
|
3176
3256
|
resourceId: 'ResourceId',
|
|
3177
3257
|
resourceProduct: 'ResourceProduct',
|
|
@@ -3185,7 +3265,6 @@ export class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
3185
3265
|
deployRegionId: 'string',
|
|
3186
3266
|
maxResults: 'number',
|
|
3187
3267
|
nextToken: 'string',
|
|
3188
|
-
product: 'string',
|
|
3189
3268
|
regionId: 'string',
|
|
3190
3269
|
resourceId: 'string',
|
|
3191
3270
|
resourceProduct: 'string',
|
|
@@ -3252,6 +3331,7 @@ export class ListApplicationGroupsResponse extends $tea.Model {
|
|
|
3252
3331
|
}
|
|
3253
3332
|
|
|
3254
3333
|
export class ListApplicationsRequest extends $tea.Model {
|
|
3334
|
+
applicationType?: string;
|
|
3255
3335
|
maxResults?: number;
|
|
3256
3336
|
name?: string;
|
|
3257
3337
|
names?: string;
|
|
@@ -3260,6 +3340,7 @@ export class ListApplicationsRequest extends $tea.Model {
|
|
|
3260
3340
|
tags?: { [key: string]: any };
|
|
3261
3341
|
static names(): { [key: string]: string } {
|
|
3262
3342
|
return {
|
|
3343
|
+
applicationType: 'ApplicationType',
|
|
3263
3344
|
maxResults: 'MaxResults',
|
|
3264
3345
|
name: 'Name',
|
|
3265
3346
|
names: 'Names',
|
|
@@ -3271,6 +3352,7 @@ export class ListApplicationsRequest extends $tea.Model {
|
|
|
3271
3352
|
|
|
3272
3353
|
static types(): { [key: string]: any } {
|
|
3273
3354
|
return {
|
|
3355
|
+
applicationType: 'string',
|
|
3274
3356
|
maxResults: 'number',
|
|
3275
3357
|
name: 'string',
|
|
3276
3358
|
names: 'string',
|
|
@@ -3286,6 +3368,7 @@ export class ListApplicationsRequest extends $tea.Model {
|
|
|
3286
3368
|
}
|
|
3287
3369
|
|
|
3288
3370
|
export class ListApplicationsShrinkRequest extends $tea.Model {
|
|
3371
|
+
applicationType?: string;
|
|
3289
3372
|
maxResults?: number;
|
|
3290
3373
|
name?: string;
|
|
3291
3374
|
names?: string;
|
|
@@ -3294,6 +3377,7 @@ export class ListApplicationsShrinkRequest extends $tea.Model {
|
|
|
3294
3377
|
tagsShrink?: string;
|
|
3295
3378
|
static names(): { [key: string]: string } {
|
|
3296
3379
|
return {
|
|
3380
|
+
applicationType: 'ApplicationType',
|
|
3297
3381
|
maxResults: 'MaxResults',
|
|
3298
3382
|
name: 'Name',
|
|
3299
3383
|
names: 'Names',
|
|
@@ -3305,6 +3389,7 @@ export class ListApplicationsShrinkRequest extends $tea.Model {
|
|
|
3305
3389
|
|
|
3306
3390
|
static types(): { [key: string]: any } {
|
|
3307
3391
|
return {
|
|
3392
|
+
applicationType: 'string',
|
|
3308
3393
|
maxResults: 'number',
|
|
3309
3394
|
name: 'string',
|
|
3310
3395
|
names: 'string',
|
|
@@ -3532,7 +3617,10 @@ export class ListExecutionRiskyTasksResponse extends $tea.Model {
|
|
|
3532
3617
|
}
|
|
3533
3618
|
|
|
3534
3619
|
export class ListExecutionsRequest extends $tea.Model {
|
|
3620
|
+
categories?: string;
|
|
3535
3621
|
category?: string;
|
|
3622
|
+
depth?: string;
|
|
3623
|
+
description?: string;
|
|
3536
3624
|
endDateAfter?: string;
|
|
3537
3625
|
endDateBefore?: string;
|
|
3538
3626
|
executedBy?: string;
|
|
@@ -3556,7 +3644,10 @@ export class ListExecutionsRequest extends $tea.Model {
|
|
|
3556
3644
|
templateName?: string;
|
|
3557
3645
|
static names(): { [key: string]: string } {
|
|
3558
3646
|
return {
|
|
3647
|
+
categories: 'Categories',
|
|
3559
3648
|
category: 'Category',
|
|
3649
|
+
depth: 'Depth',
|
|
3650
|
+
description: 'Description',
|
|
3560
3651
|
endDateAfter: 'EndDateAfter',
|
|
3561
3652
|
endDateBefore: 'EndDateBefore',
|
|
3562
3653
|
executedBy: 'ExecutedBy',
|
|
@@ -3583,7 +3674,10 @@ export class ListExecutionsRequest extends $tea.Model {
|
|
|
3583
3674
|
|
|
3584
3675
|
static types(): { [key: string]: any } {
|
|
3585
3676
|
return {
|
|
3677
|
+
categories: 'string',
|
|
3586
3678
|
category: 'string',
|
|
3679
|
+
depth: 'string',
|
|
3680
|
+
description: 'string',
|
|
3587
3681
|
endDateAfter: 'string',
|
|
3588
3682
|
endDateBefore: 'string',
|
|
3589
3683
|
executedBy: 'string',
|
|
@@ -3614,7 +3708,10 @@ export class ListExecutionsRequest extends $tea.Model {
|
|
|
3614
3708
|
}
|
|
3615
3709
|
|
|
3616
3710
|
export class ListExecutionsShrinkRequest extends $tea.Model {
|
|
3711
|
+
categories?: string;
|
|
3617
3712
|
category?: string;
|
|
3713
|
+
depth?: string;
|
|
3714
|
+
description?: string;
|
|
3618
3715
|
endDateAfter?: string;
|
|
3619
3716
|
endDateBefore?: string;
|
|
3620
3717
|
executedBy?: string;
|
|
@@ -3638,7 +3735,10 @@ export class ListExecutionsShrinkRequest extends $tea.Model {
|
|
|
3638
3735
|
templateName?: string;
|
|
3639
3736
|
static names(): { [key: string]: string } {
|
|
3640
3737
|
return {
|
|
3738
|
+
categories: 'Categories',
|
|
3641
3739
|
category: 'Category',
|
|
3740
|
+
depth: 'Depth',
|
|
3741
|
+
description: 'Description',
|
|
3642
3742
|
endDateAfter: 'EndDateAfter',
|
|
3643
3743
|
endDateBefore: 'EndDateBefore',
|
|
3644
3744
|
executedBy: 'ExecutedBy',
|
|
@@ -3665,7 +3765,10 @@ export class ListExecutionsShrinkRequest extends $tea.Model {
|
|
|
3665
3765
|
|
|
3666
3766
|
static types(): { [key: string]: any } {
|
|
3667
3767
|
return {
|
|
3768
|
+
categories: 'string',
|
|
3668
3769
|
category: 'string',
|
|
3770
|
+
depth: 'string',
|
|
3771
|
+
description: 'string',
|
|
3669
3772
|
endDateAfter: 'string',
|
|
3670
3773
|
endDateBefore: 'string',
|
|
3671
3774
|
executedBy: 'string',
|
|
@@ -4249,6 +4352,7 @@ export class ListParametersRequest extends $tea.Model {
|
|
|
4249
4352
|
recursive?: boolean;
|
|
4250
4353
|
regionId?: string;
|
|
4251
4354
|
resourceGroupId?: string;
|
|
4355
|
+
shareType?: string;
|
|
4252
4356
|
sortField?: string;
|
|
4253
4357
|
sortOrder?: string;
|
|
4254
4358
|
tags?: { [key: string]: any };
|
|
@@ -4262,6 +4366,7 @@ export class ListParametersRequest extends $tea.Model {
|
|
|
4262
4366
|
recursive: 'Recursive',
|
|
4263
4367
|
regionId: 'RegionId',
|
|
4264
4368
|
resourceGroupId: 'ResourceGroupId',
|
|
4369
|
+
shareType: 'ShareType',
|
|
4265
4370
|
sortField: 'SortField',
|
|
4266
4371
|
sortOrder: 'SortOrder',
|
|
4267
4372
|
tags: 'Tags',
|
|
@@ -4278,6 +4383,7 @@ export class ListParametersRequest extends $tea.Model {
|
|
|
4278
4383
|
recursive: 'boolean',
|
|
4279
4384
|
regionId: 'string',
|
|
4280
4385
|
resourceGroupId: 'string',
|
|
4386
|
+
shareType: 'string',
|
|
4281
4387
|
sortField: 'string',
|
|
4282
4388
|
sortOrder: 'string',
|
|
4283
4389
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -4298,6 +4404,7 @@ export class ListParametersShrinkRequest extends $tea.Model {
|
|
|
4298
4404
|
recursive?: boolean;
|
|
4299
4405
|
regionId?: string;
|
|
4300
4406
|
resourceGroupId?: string;
|
|
4407
|
+
shareType?: string;
|
|
4301
4408
|
sortField?: string;
|
|
4302
4409
|
sortOrder?: string;
|
|
4303
4410
|
tagsShrink?: string;
|
|
@@ -4311,6 +4418,7 @@ export class ListParametersShrinkRequest extends $tea.Model {
|
|
|
4311
4418
|
recursive: 'Recursive',
|
|
4312
4419
|
regionId: 'RegionId',
|
|
4313
4420
|
resourceGroupId: 'ResourceGroupId',
|
|
4421
|
+
shareType: 'ShareType',
|
|
4314
4422
|
sortField: 'SortField',
|
|
4315
4423
|
sortOrder: 'SortOrder',
|
|
4316
4424
|
tagsShrink: 'Tags',
|
|
@@ -4327,6 +4435,7 @@ export class ListParametersShrinkRequest extends $tea.Model {
|
|
|
4327
4435
|
recursive: 'boolean',
|
|
4328
4436
|
regionId: 'string',
|
|
4329
4437
|
resourceGroupId: 'string',
|
|
4438
|
+
shareType: 'string',
|
|
4330
4439
|
sortField: 'string',
|
|
4331
4440
|
sortOrder: 'string',
|
|
4332
4441
|
tagsShrink: 'string',
|
|
@@ -4396,31 +4505,89 @@ export class ListParametersResponse extends $tea.Model {
|
|
|
4396
4505
|
}
|
|
4397
4506
|
|
|
4398
4507
|
export class ListPatchBaselinesRequest extends $tea.Model {
|
|
4508
|
+
approvedPatches?: string[];
|
|
4509
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
4399
4510
|
maxResults?: number;
|
|
4400
4511
|
name?: string;
|
|
4401
4512
|
nextToken?: string;
|
|
4402
4513
|
operationSystem?: string;
|
|
4403
4514
|
regionId?: string;
|
|
4404
4515
|
shareType?: string;
|
|
4516
|
+
sources?: string[];
|
|
4517
|
+
tags?: ListPatchBaselinesRequestTags[];
|
|
4405
4518
|
static names(): { [key: string]: string } {
|
|
4406
4519
|
return {
|
|
4520
|
+
approvedPatches: 'ApprovedPatches',
|
|
4521
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
4407
4522
|
maxResults: 'MaxResults',
|
|
4408
4523
|
name: 'Name',
|
|
4409
4524
|
nextToken: 'NextToken',
|
|
4410
4525
|
operationSystem: 'OperationSystem',
|
|
4411
4526
|
regionId: 'RegionId',
|
|
4412
4527
|
shareType: 'ShareType',
|
|
4528
|
+
sources: 'Sources',
|
|
4529
|
+
tags: 'Tags',
|
|
4413
4530
|
};
|
|
4414
4531
|
}
|
|
4415
4532
|
|
|
4416
4533
|
static types(): { [key: string]: any } {
|
|
4417
4534
|
return {
|
|
4535
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
4536
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
4418
4537
|
maxResults: 'number',
|
|
4419
4538
|
name: 'string',
|
|
4420
4539
|
nextToken: 'string',
|
|
4421
4540
|
operationSystem: 'string',
|
|
4422
4541
|
regionId: 'string',
|
|
4423
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;
|
|
4556
|
+
maxResults?: number;
|
|
4557
|
+
name?: string;
|
|
4558
|
+
nextToken?: string;
|
|
4559
|
+
operationSystem?: string;
|
|
4560
|
+
regionId?: string;
|
|
4561
|
+
shareType?: string;
|
|
4562
|
+
sourcesShrink?: string;
|
|
4563
|
+
tagsShrink?: string;
|
|
4564
|
+
static names(): { [key: string]: string } {
|
|
4565
|
+
return {
|
|
4566
|
+
approvedPatchesShrink: 'ApprovedPatches',
|
|
4567
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
4568
|
+
maxResults: 'MaxResults',
|
|
4569
|
+
name: 'Name',
|
|
4570
|
+
nextToken: 'NextToken',
|
|
4571
|
+
operationSystem: 'OperationSystem',
|
|
4572
|
+
regionId: 'RegionId',
|
|
4573
|
+
shareType: 'ShareType',
|
|
4574
|
+
sourcesShrink: 'Sources',
|
|
4575
|
+
tagsShrink: 'Tags',
|
|
4576
|
+
};
|
|
4577
|
+
}
|
|
4578
|
+
|
|
4579
|
+
static types(): { [key: string]: any } {
|
|
4580
|
+
return {
|
|
4581
|
+
approvedPatchesShrink: 'string',
|
|
4582
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
4583
|
+
maxResults: 'number',
|
|
4584
|
+
name: 'string',
|
|
4585
|
+
nextToken: 'string',
|
|
4586
|
+
operationSystem: 'string',
|
|
4587
|
+
regionId: 'string',
|
|
4588
|
+
shareType: 'string',
|
|
4589
|
+
sourcesShrink: 'string',
|
|
4590
|
+
tagsShrink: 'string',
|
|
4424
4591
|
};
|
|
4425
4592
|
}
|
|
4426
4593
|
|
|
@@ -6377,12 +6544,16 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
6377
6544
|
}
|
|
6378
6545
|
|
|
6379
6546
|
export class UpdateApplicationRequest extends $tea.Model {
|
|
6547
|
+
alarmConfig?: UpdateApplicationRequestAlarmConfig;
|
|
6548
|
+
deleteAlarmRulesBeforeUpdate?: boolean;
|
|
6380
6549
|
description?: string;
|
|
6381
6550
|
name?: string;
|
|
6382
6551
|
regionId?: string;
|
|
6383
6552
|
tags?: { [key: string]: any };
|
|
6384
6553
|
static names(): { [key: string]: string } {
|
|
6385
6554
|
return {
|
|
6555
|
+
alarmConfig: 'AlarmConfig',
|
|
6556
|
+
deleteAlarmRulesBeforeUpdate: 'DeleteAlarmRulesBeforeUpdate',
|
|
6386
6557
|
description: 'Description',
|
|
6387
6558
|
name: 'Name',
|
|
6388
6559
|
regionId: 'RegionId',
|
|
@@ -6392,6 +6563,8 @@ export class UpdateApplicationRequest extends $tea.Model {
|
|
|
6392
6563
|
|
|
6393
6564
|
static types(): { [key: string]: any } {
|
|
6394
6565
|
return {
|
|
6566
|
+
alarmConfig: UpdateApplicationRequestAlarmConfig,
|
|
6567
|
+
deleteAlarmRulesBeforeUpdate: 'boolean',
|
|
6395
6568
|
description: 'string',
|
|
6396
6569
|
name: 'string',
|
|
6397
6570
|
regionId: 'string',
|
|
@@ -6405,12 +6578,16 @@ export class UpdateApplicationRequest extends $tea.Model {
|
|
|
6405
6578
|
}
|
|
6406
6579
|
|
|
6407
6580
|
export class UpdateApplicationShrinkRequest extends $tea.Model {
|
|
6581
|
+
alarmConfigShrink?: string;
|
|
6582
|
+
deleteAlarmRulesBeforeUpdate?: boolean;
|
|
6408
6583
|
description?: string;
|
|
6409
6584
|
name?: string;
|
|
6410
6585
|
regionId?: string;
|
|
6411
6586
|
tagsShrink?: string;
|
|
6412
6587
|
static names(): { [key: string]: string } {
|
|
6413
6588
|
return {
|
|
6589
|
+
alarmConfigShrink: 'AlarmConfig',
|
|
6590
|
+
deleteAlarmRulesBeforeUpdate: 'DeleteAlarmRulesBeforeUpdate',
|
|
6414
6591
|
description: 'Description',
|
|
6415
6592
|
name: 'Name',
|
|
6416
6593
|
regionId: 'RegionId',
|
|
@@ -6420,6 +6597,8 @@ export class UpdateApplicationShrinkRequest extends $tea.Model {
|
|
|
6420
6597
|
|
|
6421
6598
|
static types(): { [key: string]: any } {
|
|
6422
6599
|
return {
|
|
6600
|
+
alarmConfigShrink: 'string',
|
|
6601
|
+
deleteAlarmRulesBeforeUpdate: 'boolean',
|
|
6423
6602
|
description: 'string',
|
|
6424
6603
|
name: 'string',
|
|
6425
6604
|
regionId: 'string',
|
|
@@ -6556,12 +6735,14 @@ export class UpdateApplicationGroupResponse extends $tea.Model {
|
|
|
6556
6735
|
|
|
6557
6736
|
export class UpdateExecutionRequest extends $tea.Model {
|
|
6558
6737
|
clientToken?: string;
|
|
6738
|
+
description?: string;
|
|
6559
6739
|
executionId?: string;
|
|
6560
6740
|
parameters?: string;
|
|
6561
6741
|
regionId?: string;
|
|
6562
6742
|
static names(): { [key: string]: string } {
|
|
6563
6743
|
return {
|
|
6564
6744
|
clientToken: 'ClientToken',
|
|
6745
|
+
description: 'Description',
|
|
6565
6746
|
executionId: 'ExecutionId',
|
|
6566
6747
|
parameters: 'Parameters',
|
|
6567
6748
|
regionId: 'RegionId',
|
|
@@ -6571,6 +6752,7 @@ export class UpdateExecutionRequest extends $tea.Model {
|
|
|
6571
6752
|
static types(): { [key: string]: any } {
|
|
6572
6753
|
return {
|
|
6573
6754
|
clientToken: 'string',
|
|
6755
|
+
description: 'string',
|
|
6574
6756
|
executionId: 'string',
|
|
6575
6757
|
parameters: 'string',
|
|
6576
6758
|
regionId: 'string',
|
|
@@ -6878,27 +7060,94 @@ export class UpdateParameterResponse extends $tea.Model {
|
|
|
6878
7060
|
|
|
6879
7061
|
export class UpdatePatchBaselineRequest extends $tea.Model {
|
|
6880
7062
|
approvalRules?: string;
|
|
7063
|
+
approvedPatches?: string[];
|
|
7064
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
6881
7065
|
clientToken?: string;
|
|
6882
7066
|
description?: string;
|
|
6883
7067
|
name?: string;
|
|
6884
7068
|
regionId?: string;
|
|
7069
|
+
rejectedPatches?: string[];
|
|
7070
|
+
rejectedPatchesAction?: string;
|
|
7071
|
+
sources?: string[];
|
|
7072
|
+
tags?: UpdatePatchBaselineRequestTags[];
|
|
6885
7073
|
static names(): { [key: string]: string } {
|
|
6886
7074
|
return {
|
|
6887
7075
|
approvalRules: 'ApprovalRules',
|
|
7076
|
+
approvedPatches: 'ApprovedPatches',
|
|
7077
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
6888
7078
|
clientToken: 'ClientToken',
|
|
6889
7079
|
description: 'Description',
|
|
6890
7080
|
name: 'Name',
|
|
6891
7081
|
regionId: 'RegionId',
|
|
7082
|
+
rejectedPatches: 'RejectedPatches',
|
|
7083
|
+
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
7084
|
+
sources: 'Sources',
|
|
7085
|
+
tags: 'Tags',
|
|
6892
7086
|
};
|
|
6893
7087
|
}
|
|
6894
7088
|
|
|
6895
7089
|
static types(): { [key: string]: any } {
|
|
6896
7090
|
return {
|
|
6897
7091
|
approvalRules: 'string',
|
|
7092
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
7093
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
6898
7094
|
clientToken: 'string',
|
|
6899
7095
|
description: 'string',
|
|
6900
7096
|
name: 'string',
|
|
6901
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',
|
|
6902
7151
|
};
|
|
6903
7152
|
}
|
|
6904
7153
|
|
|
@@ -7410,6 +7659,31 @@ export class ValidateTemplateContentResponse extends $tea.Model {
|
|
|
7410
7659
|
}
|
|
7411
7660
|
}
|
|
7412
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
|
+
|
|
7413
7687
|
export class CreateApplicationResponseBodyApplication extends $tea.Model {
|
|
7414
7688
|
createDate?: string;
|
|
7415
7689
|
description?: string;
|
|
@@ -7606,27 +7880,83 @@ export class CreateParameterResponseBodyParameter extends $tea.Model {
|
|
|
7606
7880
|
}
|
|
7607
7881
|
}
|
|
7608
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
|
+
|
|
7609
7927
|
export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
7610
7928
|
approvalRules?: string;
|
|
7929
|
+
approvedPatches?: string[];
|
|
7930
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
7611
7931
|
createdBy?: string;
|
|
7612
7932
|
createdDate?: string;
|
|
7613
7933
|
description?: string;
|
|
7614
7934
|
id?: string;
|
|
7615
7935
|
name?: string;
|
|
7616
7936
|
operationSystem?: string;
|
|
7937
|
+
rejectedPatches?: string[];
|
|
7938
|
+
rejectedPatchesAction?: string;
|
|
7617
7939
|
shareType?: string;
|
|
7940
|
+
sources?: string[];
|
|
7941
|
+
tags?: CreatePatchBaselineResponseBodyPatchBaselineTags[];
|
|
7618
7942
|
updatedBy?: string;
|
|
7619
7943
|
updatedDate?: string;
|
|
7620
7944
|
static names(): { [key: string]: string } {
|
|
7621
7945
|
return {
|
|
7622
7946
|
approvalRules: 'ApprovalRules',
|
|
7947
|
+
approvedPatches: 'ApprovedPatches',
|
|
7948
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
7623
7949
|
createdBy: 'CreatedBy',
|
|
7624
7950
|
createdDate: 'CreatedDate',
|
|
7625
7951
|
description: 'Description',
|
|
7626
7952
|
id: 'Id',
|
|
7627
7953
|
name: 'Name',
|
|
7628
7954
|
operationSystem: 'OperationSystem',
|
|
7955
|
+
rejectedPatches: 'RejectedPatches',
|
|
7956
|
+
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
7629
7957
|
shareType: 'ShareType',
|
|
7958
|
+
sources: 'Sources',
|
|
7959
|
+
tags: 'Tags',
|
|
7630
7960
|
updatedBy: 'UpdatedBy',
|
|
7631
7961
|
updatedDate: 'UpdatedDate',
|
|
7632
7962
|
};
|
|
@@ -7635,13 +7965,19 @@ export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
7635
7965
|
static types(): { [key: string]: any } {
|
|
7636
7966
|
return {
|
|
7637
7967
|
approvalRules: 'string',
|
|
7968
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
7969
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
7638
7970
|
createdBy: 'string',
|
|
7639
7971
|
createdDate: 'string',
|
|
7640
7972
|
description: 'string',
|
|
7641
7973
|
id: 'string',
|
|
7642
7974
|
name: 'string',
|
|
7643
7975
|
operationSystem: 'string',
|
|
7976
|
+
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
7977
|
+
rejectedPatchesAction: 'string',
|
|
7644
7978
|
shareType: 'string',
|
|
7979
|
+
sources: { 'type': 'array', 'itemType': 'string' },
|
|
7980
|
+
tags: { 'type': 'array', 'itemType': CreatePatchBaselineResponseBodyPatchBaselineTags },
|
|
7645
7981
|
updatedBy: 'string',
|
|
7646
7982
|
updatedDate: 'string',
|
|
7647
7983
|
};
|
|
@@ -7848,7 +8184,34 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
7848
8184
|
}
|
|
7849
8185
|
}
|
|
7850
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
|
+
|
|
7851
8212
|
export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
8213
|
+
alarmConfig?: GetApplicationResponseBodyApplicationAlarmConfig;
|
|
8214
|
+
applicationType?: string;
|
|
7852
8215
|
createDate?: string;
|
|
7853
8216
|
description?: string;
|
|
7854
8217
|
name?: string;
|
|
@@ -7857,6 +8220,8 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
7857
8220
|
updateDate?: string;
|
|
7858
8221
|
static names(): { [key: string]: string } {
|
|
7859
8222
|
return {
|
|
8223
|
+
alarmConfig: 'AlarmConfig',
|
|
8224
|
+
applicationType: 'ApplicationType',
|
|
7860
8225
|
createDate: 'CreateDate',
|
|
7861
8226
|
description: 'Description',
|
|
7862
8227
|
name: 'Name',
|
|
@@ -7868,6 +8233,8 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
7868
8233
|
|
|
7869
8234
|
static types(): { [key: string]: any } {
|
|
7870
8235
|
return {
|
|
8236
|
+
alarmConfig: GetApplicationResponseBodyApplicationAlarmConfig,
|
|
8237
|
+
applicationType: 'string',
|
|
7871
8238
|
createDate: 'string',
|
|
7872
8239
|
description: 'string',
|
|
7873
8240
|
name: 'string',
|
|
@@ -8234,6 +8601,7 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
|
|
|
8234
8601
|
name?: string;
|
|
8235
8602
|
parameterVersion?: number;
|
|
8236
8603
|
shareType?: string;
|
|
8604
|
+
tags?: { [key: string]: any };
|
|
8237
8605
|
type?: string;
|
|
8238
8606
|
updatedBy?: string;
|
|
8239
8607
|
updatedDate?: string;
|
|
@@ -8248,6 +8616,7 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
|
|
|
8248
8616
|
name: 'Name',
|
|
8249
8617
|
parameterVersion: 'ParameterVersion',
|
|
8250
8618
|
shareType: 'ShareType',
|
|
8619
|
+
tags: 'Tags',
|
|
8251
8620
|
type: 'Type',
|
|
8252
8621
|
updatedBy: 'UpdatedBy',
|
|
8253
8622
|
updatedDate: 'UpdatedDate',
|
|
@@ -8265,6 +8634,7 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
|
|
|
8265
8634
|
name: 'string',
|
|
8266
8635
|
parameterVersion: 'number',
|
|
8267
8636
|
shareType: 'string',
|
|
8637
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
8268
8638
|
type: 'string',
|
|
8269
8639
|
updatedBy: 'string',
|
|
8270
8640
|
updatedDate: 'string',
|
|
@@ -8277,8 +8647,32 @@ export class GetParametersByPathResponseBodyParameters extends $tea.Model {
|
|
|
8277
8647
|
}
|
|
8278
8648
|
}
|
|
8279
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
|
+
|
|
8280
8672
|
export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
8281
8673
|
approvalRules?: string;
|
|
8674
|
+
approvedPatches?: string[];
|
|
8675
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
8282
8676
|
createdBy?: string;
|
|
8283
8677
|
createdDate?: string;
|
|
8284
8678
|
description?: string;
|
|
@@ -8286,12 +8680,18 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8286
8680
|
isDefault?: boolean;
|
|
8287
8681
|
name?: string;
|
|
8288
8682
|
operationSystem?: string;
|
|
8683
|
+
rejectedPatches?: string[];
|
|
8684
|
+
rejectedPatchesAction?: string;
|
|
8289
8685
|
shareType?: string;
|
|
8686
|
+
sources?: string[];
|
|
8687
|
+
tags?: GetPatchBaselineResponseBodyPatchBaselineTags[];
|
|
8290
8688
|
updatedBy?: string;
|
|
8291
8689
|
updatedDate?: string;
|
|
8292
8690
|
static names(): { [key: string]: string } {
|
|
8293
8691
|
return {
|
|
8294
8692
|
approvalRules: 'ApprovalRules',
|
|
8693
|
+
approvedPatches: 'ApprovedPatches',
|
|
8694
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
8295
8695
|
createdBy: 'CreatedBy',
|
|
8296
8696
|
createdDate: 'CreatedDate',
|
|
8297
8697
|
description: 'Description',
|
|
@@ -8299,7 +8699,11 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8299
8699
|
isDefault: 'IsDefault',
|
|
8300
8700
|
name: 'Name',
|
|
8301
8701
|
operationSystem: 'OperationSystem',
|
|
8702
|
+
rejectedPatches: 'RejectedPatches',
|
|
8703
|
+
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
8302
8704
|
shareType: 'ShareType',
|
|
8705
|
+
sources: 'Sources',
|
|
8706
|
+
tags: 'Tags',
|
|
8303
8707
|
updatedBy: 'UpdatedBy',
|
|
8304
8708
|
updatedDate: 'UpdatedDate',
|
|
8305
8709
|
};
|
|
@@ -8308,6 +8712,8 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8308
8712
|
static types(): { [key: string]: any } {
|
|
8309
8713
|
return {
|
|
8310
8714
|
approvalRules: 'string',
|
|
8715
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
8716
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
8311
8717
|
createdBy: 'string',
|
|
8312
8718
|
createdDate: 'string',
|
|
8313
8719
|
description: 'string',
|
|
@@ -8315,7 +8721,11 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8315
8721
|
isDefault: 'boolean',
|
|
8316
8722
|
name: 'string',
|
|
8317
8723
|
operationSystem: 'string',
|
|
8724
|
+
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
8725
|
+
rejectedPatchesAction: 'string',
|
|
8318
8726
|
shareType: 'string',
|
|
8727
|
+
sources: { 'type': 'array', 'itemType': 'string' },
|
|
8728
|
+
tags: { 'type': 'array', 'itemType': GetPatchBaselineResponseBodyPatchBaselineTags },
|
|
8319
8729
|
updatedBy: 'string',
|
|
8320
8730
|
updatedDate: 'string',
|
|
8321
8731
|
};
|
|
@@ -8691,6 +9101,7 @@ export class ListApplicationGroupsResponseBodyApplicationGroups extends $tea.Mod
|
|
|
8691
9101
|
}
|
|
8692
9102
|
|
|
8693
9103
|
export class ListApplicationsResponseBodyApplications extends $tea.Model {
|
|
9104
|
+
applicationType?: string;
|
|
8694
9105
|
createDate?: string;
|
|
8695
9106
|
description?: string;
|
|
8696
9107
|
name?: string;
|
|
@@ -8699,6 +9110,7 @@ export class ListApplicationsResponseBodyApplications extends $tea.Model {
|
|
|
8699
9110
|
updateDate?: string;
|
|
8700
9111
|
static names(): { [key: string]: string } {
|
|
8701
9112
|
return {
|
|
9113
|
+
applicationType: 'ApplicationType',
|
|
8702
9114
|
createDate: 'CreateDate',
|
|
8703
9115
|
description: 'Description',
|
|
8704
9116
|
name: 'Name',
|
|
@@ -8710,6 +9122,7 @@ export class ListApplicationsResponseBodyApplications extends $tea.Model {
|
|
|
8710
9122
|
|
|
8711
9123
|
static types(): { [key: string]: any } {
|
|
8712
9124
|
return {
|
|
9125
|
+
applicationType: 'string',
|
|
8713
9126
|
createDate: 'string',
|
|
8714
9127
|
description: 'string',
|
|
8715
9128
|
name: 'string',
|
|
@@ -8816,7 +9229,9 @@ export class ListExecutionsResponseBodyExecutions extends $tea.Model {
|
|
|
8816
9229
|
executionId?: string;
|
|
8817
9230
|
isParent?: boolean;
|
|
8818
9231
|
lastSuccessfulTriggerTime?: string;
|
|
9232
|
+
lastTriggerOutputs?: string;
|
|
8819
9233
|
lastTriggerStatus?: string;
|
|
9234
|
+
lastTriggerStatusMessage?: string;
|
|
8820
9235
|
lastTriggerTime?: string;
|
|
8821
9236
|
mode?: string;
|
|
8822
9237
|
outputs?: string;
|
|
@@ -8849,7 +9264,9 @@ export class ListExecutionsResponseBodyExecutions extends $tea.Model {
|
|
|
8849
9264
|
executionId: 'ExecutionId',
|
|
8850
9265
|
isParent: 'IsParent',
|
|
8851
9266
|
lastSuccessfulTriggerTime: 'LastSuccessfulTriggerTime',
|
|
9267
|
+
lastTriggerOutputs: 'LastTriggerOutputs',
|
|
8852
9268
|
lastTriggerStatus: 'LastTriggerStatus',
|
|
9269
|
+
lastTriggerStatusMessage: 'LastTriggerStatusMessage',
|
|
8853
9270
|
lastTriggerTime: 'LastTriggerTime',
|
|
8854
9271
|
mode: 'Mode',
|
|
8855
9272
|
outputs: 'Outputs',
|
|
@@ -8885,7 +9302,9 @@ export class ListExecutionsResponseBodyExecutions extends $tea.Model {
|
|
|
8885
9302
|
executionId: 'string',
|
|
8886
9303
|
isParent: 'boolean',
|
|
8887
9304
|
lastSuccessfulTriggerTime: 'string',
|
|
9305
|
+
lastTriggerOutputs: 'string',
|
|
8888
9306
|
lastTriggerStatus: 'string',
|
|
9307
|
+
lastTriggerStatusMessage: 'string',
|
|
8889
9308
|
lastTriggerTime: 'string',
|
|
8890
9309
|
mode: 'string',
|
|
8891
9310
|
outputs: 'string',
|
|
@@ -9207,7 +9626,53 @@ export class ListParametersResponseBodyParameters extends $tea.Model {
|
|
|
9207
9626
|
}
|
|
9208
9627
|
}
|
|
9209
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
|
+
|
|
9210
9673
|
export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
9674
|
+
approvedPatches?: string[];
|
|
9675
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
9211
9676
|
createdBy?: string;
|
|
9212
9677
|
createdDate?: string;
|
|
9213
9678
|
description?: string;
|
|
@@ -9216,10 +9681,14 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9216
9681
|
name?: string;
|
|
9217
9682
|
operationSystem?: string;
|
|
9218
9683
|
shareType?: string;
|
|
9684
|
+
sources?: string[];
|
|
9685
|
+
tags?: ListPatchBaselinesResponseBodyPatchBaselinesTags[];
|
|
9219
9686
|
updatedBy?: string;
|
|
9220
9687
|
updatedDate?: string;
|
|
9221
9688
|
static names(): { [key: string]: string } {
|
|
9222
9689
|
return {
|
|
9690
|
+
approvedPatches: 'ApprovedPatches',
|
|
9691
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
9223
9692
|
createdBy: 'CreatedBy',
|
|
9224
9693
|
createdDate: 'CreatedDate',
|
|
9225
9694
|
description: 'Description',
|
|
@@ -9228,6 +9697,8 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9228
9697
|
name: 'Name',
|
|
9229
9698
|
operationSystem: 'OperationSystem',
|
|
9230
9699
|
shareType: 'ShareType',
|
|
9700
|
+
sources: 'Sources',
|
|
9701
|
+
tags: 'Tags',
|
|
9231
9702
|
updatedBy: 'UpdatedBy',
|
|
9232
9703
|
updatedDate: 'UpdatedDate',
|
|
9233
9704
|
};
|
|
@@ -9235,6 +9706,8 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9235
9706
|
|
|
9236
9707
|
static types(): { [key: string]: any } {
|
|
9237
9708
|
return {
|
|
9709
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
9710
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
9238
9711
|
createdBy: 'string',
|
|
9239
9712
|
createdDate: 'string',
|
|
9240
9713
|
description: 'string',
|
|
@@ -9243,6 +9716,8 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9243
9716
|
name: 'string',
|
|
9244
9717
|
operationSystem: 'string',
|
|
9245
9718
|
shareType: 'string',
|
|
9719
|
+
sources: { 'type': 'array', 'itemType': 'string' },
|
|
9720
|
+
tags: { 'type': 'array', 'itemType': ListPatchBaselinesResponseBodyPatchBaselinesTags },
|
|
9246
9721
|
updatedBy: 'string',
|
|
9247
9722
|
updatedDate: 'string',
|
|
9248
9723
|
};
|
|
@@ -9867,6 +10342,31 @@ export class StartExecutionResponseBodyExecution extends $tea.Model {
|
|
|
9867
10342
|
}
|
|
9868
10343
|
}
|
|
9869
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
|
+
|
|
9870
10370
|
export class UpdateApplicationResponseBodyApplication extends $tea.Model {
|
|
9871
10371
|
createdDate?: string;
|
|
9872
10372
|
description?: string;
|
|
@@ -10063,27 +10563,83 @@ export class UpdateParameterResponseBodyParameter extends $tea.Model {
|
|
|
10063
10563
|
}
|
|
10064
10564
|
}
|
|
10065
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
|
+
|
|
10066
10610
|
export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
10067
10611
|
approvalRules?: string;
|
|
10612
|
+
approvedPatches?: string[];
|
|
10613
|
+
approvedPatchesEnableNonSecurity?: boolean;
|
|
10068
10614
|
createdBy?: string;
|
|
10069
10615
|
createdDate?: string;
|
|
10070
10616
|
description?: string;
|
|
10071
10617
|
id?: string;
|
|
10072
10618
|
name?: string;
|
|
10073
10619
|
operationSystem?: string;
|
|
10620
|
+
rejectedPatches?: string[];
|
|
10621
|
+
rejectedPatchesAction?: string;
|
|
10074
10622
|
shareType?: string;
|
|
10623
|
+
sources?: string[];
|
|
10624
|
+
tags?: UpdatePatchBaselineResponseBodyPatchBaselineTags[];
|
|
10075
10625
|
updatedBy?: string;
|
|
10076
10626
|
updatedDate?: string;
|
|
10077
10627
|
static names(): { [key: string]: string } {
|
|
10078
10628
|
return {
|
|
10079
10629
|
approvalRules: 'ApprovalRules',
|
|
10630
|
+
approvedPatches: 'ApprovedPatches',
|
|
10631
|
+
approvedPatchesEnableNonSecurity: 'ApprovedPatchesEnableNonSecurity',
|
|
10080
10632
|
createdBy: 'CreatedBy',
|
|
10081
10633
|
createdDate: 'CreatedDate',
|
|
10082
10634
|
description: 'Description',
|
|
10083
10635
|
id: 'Id',
|
|
10084
10636
|
name: 'Name',
|
|
10085
10637
|
operationSystem: 'OperationSystem',
|
|
10638
|
+
rejectedPatches: 'RejectedPatches',
|
|
10639
|
+
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
10086
10640
|
shareType: 'ShareType',
|
|
10641
|
+
sources: 'Sources',
|
|
10642
|
+
tags: 'Tags',
|
|
10087
10643
|
updatedBy: 'UpdatedBy',
|
|
10088
10644
|
updatedDate: 'UpdatedDate',
|
|
10089
10645
|
};
|
|
@@ -10092,13 +10648,19 @@ export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
10092
10648
|
static types(): { [key: string]: any } {
|
|
10093
10649
|
return {
|
|
10094
10650
|
approvalRules: 'string',
|
|
10651
|
+
approvedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
10652
|
+
approvedPatchesEnableNonSecurity: 'boolean',
|
|
10095
10653
|
createdBy: 'string',
|
|
10096
10654
|
createdDate: 'string',
|
|
10097
10655
|
description: 'string',
|
|
10098
10656
|
id: 'string',
|
|
10099
10657
|
name: 'string',
|
|
10100
10658
|
operationSystem: 'string',
|
|
10659
|
+
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
10660
|
+
rejectedPatchesAction: 'string',
|
|
10101
10661
|
shareType: 'string',
|
|
10662
|
+
sources: { 'type': 'array', 'itemType': 'string' },
|
|
10663
|
+
tags: { 'type': 'array', 'itemType': UpdatePatchBaselineResponseBodyPatchBaselineTags },
|
|
10102
10664
|
updatedBy: 'string',
|
|
10103
10665
|
updatedDate: 'string',
|
|
10104
10666
|
};
|
|
@@ -10456,11 +11018,19 @@ export default class Client extends OpenApi {
|
|
|
10456
11018
|
Util.validateModel(tmpReq);
|
|
10457
11019
|
let request = new CreateApplicationShrinkRequest({ });
|
|
10458
11020
|
OpenApiUtil.convert(tmpReq, request);
|
|
11021
|
+
if (!Util.isUnset(tmpReq.alarmConfig)) {
|
|
11022
|
+
request.alarmConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alarmConfig, "AlarmConfig", "json");
|
|
11023
|
+
}
|
|
11024
|
+
|
|
10459
11025
|
if (!Util.isUnset(tmpReq.tags)) {
|
|
10460
11026
|
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
10461
11027
|
}
|
|
10462
11028
|
|
|
10463
11029
|
let query = { };
|
|
11030
|
+
if (!Util.isUnset(request.alarmConfigShrink)) {
|
|
11031
|
+
query["AlarmConfig"] = request.alarmConfigShrink;
|
|
11032
|
+
}
|
|
11033
|
+
|
|
10464
11034
|
if (!Util.isUnset(request.clientToken)) {
|
|
10465
11035
|
query["ClientToken"] = request.clientToken;
|
|
10466
11036
|
}
|
|
@@ -10718,13 +11288,39 @@ export default class Client extends OpenApi {
|
|
|
10718
11288
|
return await this.createParameterWithOptions(request, runtime);
|
|
10719
11289
|
}
|
|
10720
11290
|
|
|
10721
|
-
async createPatchBaselineWithOptions(
|
|
10722
|
-
Util.validateModel(
|
|
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
|
+
|
|
10723
11311
|
let query = { };
|
|
10724
11312
|
if (!Util.isUnset(request.approvalRules)) {
|
|
10725
11313
|
query["ApprovalRules"] = request.approvalRules;
|
|
10726
11314
|
}
|
|
10727
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
|
+
|
|
10728
11324
|
if (!Util.isUnset(request.clientToken)) {
|
|
10729
11325
|
query["ClientToken"] = request.clientToken;
|
|
10730
11326
|
}
|
|
@@ -10745,6 +11341,22 @@ export default class Client extends OpenApi {
|
|
|
10745
11341
|
query["RegionId"] = request.regionId;
|
|
10746
11342
|
}
|
|
10747
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
|
+
|
|
10748
11360
|
let req = new $OpenApi.OpenApiRequest({
|
|
10749
11361
|
query: OpenApiUtil.query(query),
|
|
10750
11362
|
});
|
|
@@ -11366,6 +11978,10 @@ export default class Client extends OpenApi {
|
|
|
11366
11978
|
async generateExecutionPolicyWithOptions(request: GenerateExecutionPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GenerateExecutionPolicyResponse> {
|
|
11367
11979
|
Util.validateModel(request);
|
|
11368
11980
|
let query = { };
|
|
11981
|
+
if (!Util.isUnset(request.ramRole)) {
|
|
11982
|
+
query["RamRole"] = request.ramRole;
|
|
11983
|
+
}
|
|
11984
|
+
|
|
11369
11985
|
if (!Util.isUnset(request.regionId)) {
|
|
11370
11986
|
query["RegionId"] = request.regionId;
|
|
11371
11987
|
}
|
|
@@ -11986,10 +12602,6 @@ export default class Client extends OpenApi {
|
|
|
11986
12602
|
query["NextToken"] = request.nextToken;
|
|
11987
12603
|
}
|
|
11988
12604
|
|
|
11989
|
-
if (!Util.isUnset(request.product)) {
|
|
11990
|
-
query["Product"] = request.product;
|
|
11991
|
-
}
|
|
11992
|
-
|
|
11993
12605
|
if (!Util.isUnset(request.regionId)) {
|
|
11994
12606
|
query["RegionId"] = request.regionId;
|
|
11995
12607
|
}
|
|
@@ -12037,6 +12649,10 @@ export default class Client extends OpenApi {
|
|
|
12037
12649
|
}
|
|
12038
12650
|
|
|
12039
12651
|
let query = { };
|
|
12652
|
+
if (!Util.isUnset(request.applicationType)) {
|
|
12653
|
+
query["ApplicationType"] = request.applicationType;
|
|
12654
|
+
}
|
|
12655
|
+
|
|
12040
12656
|
if (!Util.isUnset(request.maxResults)) {
|
|
12041
12657
|
query["MaxResults"] = request.maxResults;
|
|
12042
12658
|
}
|
|
@@ -12083,6 +12699,13 @@ export default class Client extends OpenApi {
|
|
|
12083
12699
|
return await this.listApplicationsWithOptions(request, runtime);
|
|
12084
12700
|
}
|
|
12085
12701
|
|
|
12702
|
+
/**
|
|
12703
|
+
* ****
|
|
12704
|
+
*
|
|
12705
|
+
* @param request ListExecutionLogsRequest
|
|
12706
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12707
|
+
* @return ListExecutionLogsResponse
|
|
12708
|
+
*/
|
|
12086
12709
|
async listExecutionLogsWithOptions(request: ListExecutionLogsRequest, runtime: $Util.RuntimeOptions): Promise<ListExecutionLogsResponse> {
|
|
12087
12710
|
Util.validateModel(request);
|
|
12088
12711
|
let query = { };
|
|
@@ -12127,6 +12750,12 @@ export default class Client extends OpenApi {
|
|
|
12127
12750
|
return $tea.cast<ListExecutionLogsResponse>(await this.callApi(params, req, runtime), new ListExecutionLogsResponse({}));
|
|
12128
12751
|
}
|
|
12129
12752
|
|
|
12753
|
+
/**
|
|
12754
|
+
* ****
|
|
12755
|
+
*
|
|
12756
|
+
* @param request ListExecutionLogsRequest
|
|
12757
|
+
* @return ListExecutionLogsResponse
|
|
12758
|
+
*/
|
|
12130
12759
|
async listExecutionLogs(request: ListExecutionLogsRequest): Promise<ListExecutionLogsResponse> {
|
|
12131
12760
|
let runtime = new $Util.RuntimeOptions({ });
|
|
12132
12761
|
return await this.listExecutionLogsWithOptions(request, runtime);
|
|
@@ -12174,10 +12803,22 @@ export default class Client extends OpenApi {
|
|
|
12174
12803
|
}
|
|
12175
12804
|
|
|
12176
12805
|
let query = { };
|
|
12806
|
+
if (!Util.isUnset(request.categories)) {
|
|
12807
|
+
query["Categories"] = request.categories;
|
|
12808
|
+
}
|
|
12809
|
+
|
|
12177
12810
|
if (!Util.isUnset(request.category)) {
|
|
12178
12811
|
query["Category"] = request.category;
|
|
12179
12812
|
}
|
|
12180
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
|
+
|
|
12181
12822
|
if (!Util.isUnset(request.endDateAfter)) {
|
|
12182
12823
|
query["EndDateAfter"] = request.endDateAfter;
|
|
12183
12824
|
}
|
|
@@ -12560,6 +13201,10 @@ export default class Client extends OpenApi {
|
|
|
12560
13201
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
12561
13202
|
}
|
|
12562
13203
|
|
|
13204
|
+
if (!Util.isUnset(request.shareType)) {
|
|
13205
|
+
query["ShareType"] = request.shareType;
|
|
13206
|
+
}
|
|
13207
|
+
|
|
12563
13208
|
if (!Util.isUnset(request.sortField)) {
|
|
12564
13209
|
query["SortField"] = request.sortField;
|
|
12565
13210
|
}
|
|
@@ -12598,9 +13243,31 @@ export default class Client extends OpenApi {
|
|
|
12598
13243
|
return await this.listParametersWithOptions(request, runtime);
|
|
12599
13244
|
}
|
|
12600
13245
|
|
|
12601
|
-
async listPatchBaselinesWithOptions(
|
|
12602
|
-
Util.validateModel(
|
|
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
|
+
|
|
12603
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
|
+
|
|
12604
13271
|
if (!Util.isUnset(request.maxResults)) {
|
|
12605
13272
|
query["MaxResults"] = request.maxResults;
|
|
12606
13273
|
}
|
|
@@ -12625,6 +13292,14 @@ export default class Client extends OpenApi {
|
|
|
12625
13292
|
query["ShareType"] = request.shareType;
|
|
12626
13293
|
}
|
|
12627
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
|
+
|
|
12628
13303
|
let req = new $OpenApi.OpenApiRequest({
|
|
12629
13304
|
query: OpenApiUtil.query(query),
|
|
12630
13305
|
});
|
|
@@ -12737,6 +13412,13 @@ export default class Client extends OpenApi {
|
|
|
12737
13412
|
return await this.listSecretParameterVersionsWithOptions(request, runtime);
|
|
12738
13413
|
}
|
|
12739
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
|
+
*/
|
|
12740
13422
|
async listSecretParametersWithOptions(tmpReq: ListSecretParametersRequest, runtime: $Util.RuntimeOptions): Promise<ListSecretParametersResponse> {
|
|
12741
13423
|
Util.validateModel(tmpReq);
|
|
12742
13424
|
let request = new ListSecretParametersShrinkRequest({ });
|
|
@@ -12803,6 +13485,12 @@ export default class Client extends OpenApi {
|
|
|
12803
13485
|
return $tea.cast<ListSecretParametersResponse>(await this.callApi(params, req, runtime), new ListSecretParametersResponse({}));
|
|
12804
13486
|
}
|
|
12805
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
|
+
*/
|
|
12806
13494
|
async listSecretParameters(request: ListSecretParametersRequest): Promise<ListSecretParametersResponse> {
|
|
12807
13495
|
let runtime = new $Util.RuntimeOptions({ });
|
|
12808
13496
|
return await this.listSecretParametersWithOptions(request, runtime);
|
|
@@ -13241,6 +13929,16 @@ export default class Client extends OpenApi {
|
|
|
13241
13929
|
return await this.listTemplatesWithOptions(request, runtime);
|
|
13242
13930
|
}
|
|
13243
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
|
+
*/
|
|
13244
13942
|
async notifyExecutionWithOptions(request: NotifyExecutionRequest, runtime: $Util.RuntimeOptions): Promise<NotifyExecutionResponse> {
|
|
13245
13943
|
Util.validateModel(request);
|
|
13246
13944
|
let query = { };
|
|
@@ -13301,6 +13999,15 @@ export default class Client extends OpenApi {
|
|
|
13301
13999
|
return $tea.cast<NotifyExecutionResponse>(await this.callApi(params, req, runtime), new NotifyExecutionResponse({}));
|
|
13302
14000
|
}
|
|
13303
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
|
+
*/
|
|
13304
14011
|
async notifyExecution(request: NotifyExecutionRequest): Promise<NotifyExecutionResponse> {
|
|
13305
14012
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13306
14013
|
return await this.notifyExecutionWithOptions(request, runtime);
|
|
@@ -13679,11 +14386,23 @@ export default class Client extends OpenApi {
|
|
|
13679
14386
|
Util.validateModel(tmpReq);
|
|
13680
14387
|
let request = new UpdateApplicationShrinkRequest({ });
|
|
13681
14388
|
OpenApiUtil.convert(tmpReq, request);
|
|
14389
|
+
if (!Util.isUnset(tmpReq.alarmConfig)) {
|
|
14390
|
+
request.alarmConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alarmConfig, "AlarmConfig", "json");
|
|
14391
|
+
}
|
|
14392
|
+
|
|
13682
14393
|
if (!Util.isUnset(tmpReq.tags)) {
|
|
13683
14394
|
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
13684
14395
|
}
|
|
13685
14396
|
|
|
13686
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
|
+
|
|
13687
14406
|
if (!Util.isUnset(request.description)) {
|
|
13688
14407
|
query["Description"] = request.description;
|
|
13689
14408
|
}
|
|
@@ -13770,6 +14489,10 @@ export default class Client extends OpenApi {
|
|
|
13770
14489
|
query["ClientToken"] = request.clientToken;
|
|
13771
14490
|
}
|
|
13772
14491
|
|
|
14492
|
+
if (!Util.isUnset(request.description)) {
|
|
14493
|
+
query["Description"] = request.description;
|
|
14494
|
+
}
|
|
14495
|
+
|
|
13773
14496
|
if (!Util.isUnset(request.executionId)) {
|
|
13774
14497
|
query["ExecutionId"] = request.executionId;
|
|
13775
14498
|
}
|
|
@@ -13944,13 +14667,39 @@ export default class Client extends OpenApi {
|
|
|
13944
14667
|
return await this.updateParameterWithOptions(request, runtime);
|
|
13945
14668
|
}
|
|
13946
14669
|
|
|
13947
|
-
async updatePatchBaselineWithOptions(
|
|
13948
|
-
Util.validateModel(
|
|
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
|
+
|
|
13949
14690
|
let query = { };
|
|
13950
14691
|
if (!Util.isUnset(request.approvalRules)) {
|
|
13951
14692
|
query["ApprovalRules"] = request.approvalRules;
|
|
13952
14693
|
}
|
|
13953
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
|
+
|
|
13954
14703
|
if (!Util.isUnset(request.clientToken)) {
|
|
13955
14704
|
query["ClientToken"] = request.clientToken;
|
|
13956
14705
|
}
|
|
@@ -13967,6 +14716,22 @@ export default class Client extends OpenApi {
|
|
|
13967
14716
|
query["RegionId"] = request.regionId;
|
|
13968
14717
|
}
|
|
13969
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
|
+
|
|
13970
14735
|
let req = new $OpenApi.OpenApiRequest({
|
|
13971
14736
|
query: OpenApiUtil.query(query),
|
|
13972
14737
|
});
|