@alicloud/ga20191120 1.0.16 → 1.0.17
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 +198 -21
- package/dist/client.js +388 -34
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +480 -46
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6194,6 +6194,7 @@ export class GetBasicAccelerateIpEndpointRelationRequest extends $tea.Model {
|
|
|
6194
6194
|
|
|
6195
6195
|
export class GetBasicAccelerateIpEndpointRelationResponseBody extends $tea.Model {
|
|
6196
6196
|
accelerateIpId?: string;
|
|
6197
|
+
acceleratorId?: string;
|
|
6197
6198
|
endpointAddress?: string;
|
|
6198
6199
|
endpointId?: string;
|
|
6199
6200
|
endpointName?: string;
|
|
@@ -6207,6 +6208,7 @@ export class GetBasicAccelerateIpEndpointRelationResponseBody extends $tea.Model
|
|
|
6207
6208
|
static names(): { [key: string]: string } {
|
|
6208
6209
|
return {
|
|
6209
6210
|
accelerateIpId: 'AccelerateIpId',
|
|
6211
|
+
acceleratorId: 'AcceleratorId',
|
|
6210
6212
|
endpointAddress: 'EndpointAddress',
|
|
6211
6213
|
endpointId: 'EndpointId',
|
|
6212
6214
|
endpointName: 'EndpointName',
|
|
@@ -6223,6 +6225,7 @@ export class GetBasicAccelerateIpEndpointRelationResponseBody extends $tea.Model
|
|
|
6223
6225
|
static types(): { [key: string]: any } {
|
|
6224
6226
|
return {
|
|
6225
6227
|
accelerateIpId: 'string',
|
|
6228
|
+
acceleratorId: 'string',
|
|
6226
6229
|
endpointAddress: 'string',
|
|
6227
6230
|
endpointId: 'string',
|
|
6228
6231
|
endpointName: 'string',
|
|
@@ -9248,6 +9251,93 @@ export class ListSystemSecurityPoliciesResponse extends $tea.Model {
|
|
|
9248
9251
|
}
|
|
9249
9252
|
}
|
|
9250
9253
|
|
|
9254
|
+
export class ListTagResourcesRequest extends $tea.Model {
|
|
9255
|
+
clientToken?: string;
|
|
9256
|
+
nextToken?: string;
|
|
9257
|
+
regionId?: string;
|
|
9258
|
+
resourceId?: string[];
|
|
9259
|
+
resourceType?: string;
|
|
9260
|
+
tag?: ListTagResourcesRequestTag[];
|
|
9261
|
+
static names(): { [key: string]: string } {
|
|
9262
|
+
return {
|
|
9263
|
+
clientToken: 'ClientToken',
|
|
9264
|
+
nextToken: 'NextToken',
|
|
9265
|
+
regionId: 'RegionId',
|
|
9266
|
+
resourceId: 'ResourceId',
|
|
9267
|
+
resourceType: 'ResourceType',
|
|
9268
|
+
tag: 'Tag',
|
|
9269
|
+
};
|
|
9270
|
+
}
|
|
9271
|
+
|
|
9272
|
+
static types(): { [key: string]: any } {
|
|
9273
|
+
return {
|
|
9274
|
+
clientToken: 'string',
|
|
9275
|
+
nextToken: 'string',
|
|
9276
|
+
regionId: 'string',
|
|
9277
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
9278
|
+
resourceType: 'string',
|
|
9279
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
9280
|
+
};
|
|
9281
|
+
}
|
|
9282
|
+
|
|
9283
|
+
constructor(map?: { [key: string]: any }) {
|
|
9284
|
+
super(map);
|
|
9285
|
+
}
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9288
|
+
export class ListTagResourcesResponseBody extends $tea.Model {
|
|
9289
|
+
nextToken?: string;
|
|
9290
|
+
requestId?: string;
|
|
9291
|
+
tagResources?: ListTagResourcesResponseBodyTagResources;
|
|
9292
|
+
totalCount?: number;
|
|
9293
|
+
static names(): { [key: string]: string } {
|
|
9294
|
+
return {
|
|
9295
|
+
nextToken: 'NextToken',
|
|
9296
|
+
requestId: 'RequestId',
|
|
9297
|
+
tagResources: 'TagResources',
|
|
9298
|
+
totalCount: 'TotalCount',
|
|
9299
|
+
};
|
|
9300
|
+
}
|
|
9301
|
+
|
|
9302
|
+
static types(): { [key: string]: any } {
|
|
9303
|
+
return {
|
|
9304
|
+
nextToken: 'string',
|
|
9305
|
+
requestId: 'string',
|
|
9306
|
+
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
9307
|
+
totalCount: 'number',
|
|
9308
|
+
};
|
|
9309
|
+
}
|
|
9310
|
+
|
|
9311
|
+
constructor(map?: { [key: string]: any }) {
|
|
9312
|
+
super(map);
|
|
9313
|
+
}
|
|
9314
|
+
}
|
|
9315
|
+
|
|
9316
|
+
export class ListTagResourcesResponse extends $tea.Model {
|
|
9317
|
+
headers: { [key: string]: string };
|
|
9318
|
+
statusCode: number;
|
|
9319
|
+
body: ListTagResourcesResponseBody;
|
|
9320
|
+
static names(): { [key: string]: string } {
|
|
9321
|
+
return {
|
|
9322
|
+
headers: 'headers',
|
|
9323
|
+
statusCode: 'statusCode',
|
|
9324
|
+
body: 'body',
|
|
9325
|
+
};
|
|
9326
|
+
}
|
|
9327
|
+
|
|
9328
|
+
static types(): { [key: string]: any } {
|
|
9329
|
+
return {
|
|
9330
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9331
|
+
statusCode: 'number',
|
|
9332
|
+
body: ListTagResourcesResponseBody,
|
|
9333
|
+
};
|
|
9334
|
+
}
|
|
9335
|
+
|
|
9336
|
+
constructor(map?: { [key: string]: any }) {
|
|
9337
|
+
super(map);
|
|
9338
|
+
}
|
|
9339
|
+
}
|
|
9340
|
+
|
|
9251
9341
|
export class RemoveEntriesFromAclRequest extends $tea.Model {
|
|
9252
9342
|
aclEntries?: RemoveEntriesFromAclRequestAclEntries[];
|
|
9253
9343
|
aclId?: string;
|
|
@@ -9398,6 +9488,159 @@ export class ReplaceBandwidthPackageResponse extends $tea.Model {
|
|
|
9398
9488
|
}
|
|
9399
9489
|
}
|
|
9400
9490
|
|
|
9491
|
+
export class TagResourcesRequest extends $tea.Model {
|
|
9492
|
+
clientToken?: string;
|
|
9493
|
+
regionId?: string;
|
|
9494
|
+
resourceId?: string[];
|
|
9495
|
+
resourceType?: string;
|
|
9496
|
+
tag?: TagResourcesRequestTag[];
|
|
9497
|
+
static names(): { [key: string]: string } {
|
|
9498
|
+
return {
|
|
9499
|
+
clientToken: 'ClientToken',
|
|
9500
|
+
regionId: 'RegionId',
|
|
9501
|
+
resourceId: 'ResourceId',
|
|
9502
|
+
resourceType: 'ResourceType',
|
|
9503
|
+
tag: 'Tag',
|
|
9504
|
+
};
|
|
9505
|
+
}
|
|
9506
|
+
|
|
9507
|
+
static types(): { [key: string]: any } {
|
|
9508
|
+
return {
|
|
9509
|
+
clientToken: 'string',
|
|
9510
|
+
regionId: 'string',
|
|
9511
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
9512
|
+
resourceType: 'string',
|
|
9513
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
9514
|
+
};
|
|
9515
|
+
}
|
|
9516
|
+
|
|
9517
|
+
constructor(map?: { [key: string]: any }) {
|
|
9518
|
+
super(map);
|
|
9519
|
+
}
|
|
9520
|
+
}
|
|
9521
|
+
|
|
9522
|
+
export class TagResourcesResponseBody extends $tea.Model {
|
|
9523
|
+
requestId?: string;
|
|
9524
|
+
static names(): { [key: string]: string } {
|
|
9525
|
+
return {
|
|
9526
|
+
requestId: 'RequestId',
|
|
9527
|
+
};
|
|
9528
|
+
}
|
|
9529
|
+
|
|
9530
|
+
static types(): { [key: string]: any } {
|
|
9531
|
+
return {
|
|
9532
|
+
requestId: 'string',
|
|
9533
|
+
};
|
|
9534
|
+
}
|
|
9535
|
+
|
|
9536
|
+
constructor(map?: { [key: string]: any }) {
|
|
9537
|
+
super(map);
|
|
9538
|
+
}
|
|
9539
|
+
}
|
|
9540
|
+
|
|
9541
|
+
export class TagResourcesResponse extends $tea.Model {
|
|
9542
|
+
headers: { [key: string]: string };
|
|
9543
|
+
statusCode: number;
|
|
9544
|
+
body: TagResourcesResponseBody;
|
|
9545
|
+
static names(): { [key: string]: string } {
|
|
9546
|
+
return {
|
|
9547
|
+
headers: 'headers',
|
|
9548
|
+
statusCode: 'statusCode',
|
|
9549
|
+
body: 'body',
|
|
9550
|
+
};
|
|
9551
|
+
}
|
|
9552
|
+
|
|
9553
|
+
static types(): { [key: string]: any } {
|
|
9554
|
+
return {
|
|
9555
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9556
|
+
statusCode: 'number',
|
|
9557
|
+
body: TagResourcesResponseBody,
|
|
9558
|
+
};
|
|
9559
|
+
}
|
|
9560
|
+
|
|
9561
|
+
constructor(map?: { [key: string]: any }) {
|
|
9562
|
+
super(map);
|
|
9563
|
+
}
|
|
9564
|
+
}
|
|
9565
|
+
|
|
9566
|
+
export class UntagResourcesRequest extends $tea.Model {
|
|
9567
|
+
all?: boolean;
|
|
9568
|
+
clientToken?: string;
|
|
9569
|
+
regionId?: string;
|
|
9570
|
+
resourceId?: string[];
|
|
9571
|
+
resourceType?: string;
|
|
9572
|
+
tagKey?: string[];
|
|
9573
|
+
static names(): { [key: string]: string } {
|
|
9574
|
+
return {
|
|
9575
|
+
all: 'All',
|
|
9576
|
+
clientToken: 'ClientToken',
|
|
9577
|
+
regionId: 'RegionId',
|
|
9578
|
+
resourceId: 'ResourceId',
|
|
9579
|
+
resourceType: 'ResourceType',
|
|
9580
|
+
tagKey: 'TagKey',
|
|
9581
|
+
};
|
|
9582
|
+
}
|
|
9583
|
+
|
|
9584
|
+
static types(): { [key: string]: any } {
|
|
9585
|
+
return {
|
|
9586
|
+
all: 'boolean',
|
|
9587
|
+
clientToken: 'string',
|
|
9588
|
+
regionId: 'string',
|
|
9589
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
9590
|
+
resourceType: 'string',
|
|
9591
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
9592
|
+
};
|
|
9593
|
+
}
|
|
9594
|
+
|
|
9595
|
+
constructor(map?: { [key: string]: any }) {
|
|
9596
|
+
super(map);
|
|
9597
|
+
}
|
|
9598
|
+
}
|
|
9599
|
+
|
|
9600
|
+
export class UntagResourcesResponseBody extends $tea.Model {
|
|
9601
|
+
requestId?: string;
|
|
9602
|
+
static names(): { [key: string]: string } {
|
|
9603
|
+
return {
|
|
9604
|
+
requestId: 'RequestId',
|
|
9605
|
+
};
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
static types(): { [key: string]: any } {
|
|
9609
|
+
return {
|
|
9610
|
+
requestId: 'string',
|
|
9611
|
+
};
|
|
9612
|
+
}
|
|
9613
|
+
|
|
9614
|
+
constructor(map?: { [key: string]: any }) {
|
|
9615
|
+
super(map);
|
|
9616
|
+
}
|
|
9617
|
+
}
|
|
9618
|
+
|
|
9619
|
+
export class UntagResourcesResponse extends $tea.Model {
|
|
9620
|
+
headers: { [key: string]: string };
|
|
9621
|
+
statusCode: number;
|
|
9622
|
+
body: UntagResourcesResponseBody;
|
|
9623
|
+
static names(): { [key: string]: string } {
|
|
9624
|
+
return {
|
|
9625
|
+
headers: 'headers',
|
|
9626
|
+
statusCode: 'statusCode',
|
|
9627
|
+
body: 'body',
|
|
9628
|
+
};
|
|
9629
|
+
}
|
|
9630
|
+
|
|
9631
|
+
static types(): { [key: string]: any } {
|
|
9632
|
+
return {
|
|
9633
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9634
|
+
statusCode: 'number',
|
|
9635
|
+
body: UntagResourcesResponseBody,
|
|
9636
|
+
};
|
|
9637
|
+
}
|
|
9638
|
+
|
|
9639
|
+
constructor(map?: { [key: string]: any }) {
|
|
9640
|
+
super(map);
|
|
9641
|
+
}
|
|
9642
|
+
}
|
|
9643
|
+
|
|
9401
9644
|
export class UpdateAcceleratorRequest extends $tea.Model {
|
|
9402
9645
|
acceleratorId?: string;
|
|
9403
9646
|
autoPay?: boolean;
|
|
@@ -13675,6 +13918,7 @@ export class ListBandwidthackagesResponseBodyBandwidthPackages extends $tea.Mode
|
|
|
13675
13918
|
|
|
13676
13919
|
export class ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpointRelations extends $tea.Model {
|
|
13677
13920
|
accelerateIpId?: string;
|
|
13921
|
+
acceleratorId?: string;
|
|
13678
13922
|
endpointAddress?: string;
|
|
13679
13923
|
endpointId?: string;
|
|
13680
13924
|
endpointName?: string;
|
|
@@ -13687,6 +13931,7 @@ export class ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpo
|
|
|
13687
13931
|
static names(): { [key: string]: string } {
|
|
13688
13932
|
return {
|
|
13689
13933
|
accelerateIpId: 'AccelerateIpId',
|
|
13934
|
+
acceleratorId: 'AcceleratorId',
|
|
13690
13935
|
endpointAddress: 'EndpointAddress',
|
|
13691
13936
|
endpointId: 'EndpointId',
|
|
13692
13937
|
endpointName: 'EndpointName',
|
|
@@ -13702,6 +13947,7 @@ export class ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpo
|
|
|
13702
13947
|
static types(): { [key: string]: any } {
|
|
13703
13948
|
return {
|
|
13704
13949
|
accelerateIpId: 'string',
|
|
13950
|
+
acceleratorId: 'string',
|
|
13705
13951
|
endpointAddress: 'string',
|
|
13706
13952
|
endpointId: 'string',
|
|
13707
13953
|
endpointName: 'string',
|
|
@@ -13719,54 +13965,10 @@ export class ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpo
|
|
|
13719
13965
|
}
|
|
13720
13966
|
}
|
|
13721
13967
|
|
|
13722
|
-
export class ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint extends $tea.Model {
|
|
13723
|
-
endPointId?: string;
|
|
13724
|
-
endpointAddress?: string;
|
|
13725
|
-
endpointGroupId?: string;
|
|
13726
|
-
endpointSubAddress?: string;
|
|
13727
|
-
endpointSubAddressType?: string;
|
|
13728
|
-
endpointType?: string;
|
|
13729
|
-
endpointZoneId?: string;
|
|
13730
|
-
name?: string;
|
|
13731
|
-
state?: string;
|
|
13732
|
-
static names(): { [key: string]: string } {
|
|
13733
|
-
return {
|
|
13734
|
-
endPointId: 'EndPointId',
|
|
13735
|
-
endpointAddress: 'EndpointAddress',
|
|
13736
|
-
endpointGroupId: 'EndpointGroupId',
|
|
13737
|
-
endpointSubAddress: 'EndpointSubAddress',
|
|
13738
|
-
endpointSubAddressType: 'EndpointSubAddressType',
|
|
13739
|
-
endpointType: 'EndpointType',
|
|
13740
|
-
endpointZoneId: 'EndpointZoneId',
|
|
13741
|
-
name: 'Name',
|
|
13742
|
-
state: 'State',
|
|
13743
|
-
};
|
|
13744
|
-
}
|
|
13745
|
-
|
|
13746
|
-
static types(): { [key: string]: any } {
|
|
13747
|
-
return {
|
|
13748
|
-
endPointId: 'string',
|
|
13749
|
-
endpointAddress: 'string',
|
|
13750
|
-
endpointGroupId: 'string',
|
|
13751
|
-
endpointSubAddress: 'string',
|
|
13752
|
-
endpointSubAddressType: 'string',
|
|
13753
|
-
endpointType: 'string',
|
|
13754
|
-
endpointZoneId: 'string',
|
|
13755
|
-
name: 'string',
|
|
13756
|
-
state: 'string',
|
|
13757
|
-
};
|
|
13758
|
-
}
|
|
13759
|
-
|
|
13760
|
-
constructor(map?: { [key: string]: any }) {
|
|
13761
|
-
super(map);
|
|
13762
|
-
}
|
|
13763
|
-
}
|
|
13764
|
-
|
|
13765
13968
|
export class ListBasicAccelerateIpsResponseBodyAccelerateIps extends $tea.Model {
|
|
13766
13969
|
accelerateIpAddress?: string;
|
|
13767
13970
|
accelerateIpId?: string;
|
|
13768
13971
|
acceleratorId?: string;
|
|
13769
|
-
endpoint?: ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint;
|
|
13770
13972
|
ipSetId?: string;
|
|
13771
13973
|
state?: string;
|
|
13772
13974
|
static names(): { [key: string]: string } {
|
|
@@ -13774,7 +13976,6 @@ export class ListBasicAccelerateIpsResponseBodyAccelerateIps extends $tea.Model
|
|
|
13774
13976
|
accelerateIpAddress: 'AccelerateIpAddress',
|
|
13775
13977
|
accelerateIpId: 'AccelerateIpId',
|
|
13776
13978
|
acceleratorId: 'AcceleratorId',
|
|
13777
|
-
endpoint: 'Endpoint',
|
|
13778
13979
|
ipSetId: 'IpSetId',
|
|
13779
13980
|
state: 'State',
|
|
13780
13981
|
};
|
|
@@ -13785,7 +13986,6 @@ export class ListBasicAccelerateIpsResponseBodyAccelerateIps extends $tea.Model
|
|
|
13785
13986
|
accelerateIpAddress: 'string',
|
|
13786
13987
|
accelerateIpId: 'string',
|
|
13787
13988
|
acceleratorId: 'string',
|
|
13788
|
-
endpoint: ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint,
|
|
13789
13989
|
ipSetId: 'string',
|
|
13790
13990
|
state: 'string',
|
|
13791
13991
|
};
|
|
@@ -14958,6 +15158,75 @@ export class ListSystemSecurityPoliciesResponseBodySecurityPolicies extends $tea
|
|
|
14958
15158
|
}
|
|
14959
15159
|
}
|
|
14960
15160
|
|
|
15161
|
+
export class ListTagResourcesRequestTag extends $tea.Model {
|
|
15162
|
+
key?: string;
|
|
15163
|
+
value?: string;
|
|
15164
|
+
static names(): { [key: string]: string } {
|
|
15165
|
+
return {
|
|
15166
|
+
key: 'Key',
|
|
15167
|
+
value: 'Value',
|
|
15168
|
+
};
|
|
15169
|
+
}
|
|
15170
|
+
|
|
15171
|
+
static types(): { [key: string]: any } {
|
|
15172
|
+
return {
|
|
15173
|
+
key: 'string',
|
|
15174
|
+
value: 'string',
|
|
15175
|
+
};
|
|
15176
|
+
}
|
|
15177
|
+
|
|
15178
|
+
constructor(map?: { [key: string]: any }) {
|
|
15179
|
+
super(map);
|
|
15180
|
+
}
|
|
15181
|
+
}
|
|
15182
|
+
|
|
15183
|
+
export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
15184
|
+
resourceId?: string;
|
|
15185
|
+
resourceType?: string;
|
|
15186
|
+
tagKey?: string;
|
|
15187
|
+
tagValue?: string;
|
|
15188
|
+
static names(): { [key: string]: string } {
|
|
15189
|
+
return {
|
|
15190
|
+
resourceId: 'ResourceId',
|
|
15191
|
+
resourceType: 'ResourceType',
|
|
15192
|
+
tagKey: 'TagKey',
|
|
15193
|
+
tagValue: 'TagValue',
|
|
15194
|
+
};
|
|
15195
|
+
}
|
|
15196
|
+
|
|
15197
|
+
static types(): { [key: string]: any } {
|
|
15198
|
+
return {
|
|
15199
|
+
resourceId: 'string',
|
|
15200
|
+
resourceType: 'string',
|
|
15201
|
+
tagKey: 'string',
|
|
15202
|
+
tagValue: 'string',
|
|
15203
|
+
};
|
|
15204
|
+
}
|
|
15205
|
+
|
|
15206
|
+
constructor(map?: { [key: string]: any }) {
|
|
15207
|
+
super(map);
|
|
15208
|
+
}
|
|
15209
|
+
}
|
|
15210
|
+
|
|
15211
|
+
export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
15212
|
+
tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
|
|
15213
|
+
static names(): { [key: string]: string } {
|
|
15214
|
+
return {
|
|
15215
|
+
tagResource: 'TagResource',
|
|
15216
|
+
};
|
|
15217
|
+
}
|
|
15218
|
+
|
|
15219
|
+
static types(): { [key: string]: any } {
|
|
15220
|
+
return {
|
|
15221
|
+
tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
|
|
15222
|
+
};
|
|
15223
|
+
}
|
|
15224
|
+
|
|
15225
|
+
constructor(map?: { [key: string]: any }) {
|
|
15226
|
+
super(map);
|
|
15227
|
+
}
|
|
15228
|
+
}
|
|
15229
|
+
|
|
14961
15230
|
export class RemoveEntriesFromAclRequestAclEntries extends $tea.Model {
|
|
14962
15231
|
entry?: string;
|
|
14963
15232
|
static names(): { [key: string]: string } {
|
|
@@ -14977,6 +15246,28 @@ export class RemoveEntriesFromAclRequestAclEntries extends $tea.Model {
|
|
|
14977
15246
|
}
|
|
14978
15247
|
}
|
|
14979
15248
|
|
|
15249
|
+
export class TagResourcesRequestTag extends $tea.Model {
|
|
15250
|
+
key?: string;
|
|
15251
|
+
value?: string;
|
|
15252
|
+
static names(): { [key: string]: string } {
|
|
15253
|
+
return {
|
|
15254
|
+
key: 'Key',
|
|
15255
|
+
value: 'Value',
|
|
15256
|
+
};
|
|
15257
|
+
}
|
|
15258
|
+
|
|
15259
|
+
static types(): { [key: string]: any } {
|
|
15260
|
+
return {
|
|
15261
|
+
key: 'string',
|
|
15262
|
+
value: 'string',
|
|
15263
|
+
};
|
|
15264
|
+
}
|
|
15265
|
+
|
|
15266
|
+
constructor(map?: { [key: string]: any }) {
|
|
15267
|
+
super(map);
|
|
15268
|
+
}
|
|
15269
|
+
}
|
|
15270
|
+
|
|
14980
15271
|
export class UpdateCustomRoutingEndpointGroupDestinationsRequestDestinationConfigurations extends $tea.Model {
|
|
14981
15272
|
destinationId?: string;
|
|
14982
15273
|
fromPort?: number;
|
|
@@ -20444,6 +20735,55 @@ export default class Client extends OpenApi {
|
|
|
20444
20735
|
return await this.listSystemSecurityPoliciesWithOptions(request, runtime);
|
|
20445
20736
|
}
|
|
20446
20737
|
|
|
20738
|
+
async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
20739
|
+
Util.validateModel(request);
|
|
20740
|
+
let query = { };
|
|
20741
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
20742
|
+
query["ClientToken"] = request.clientToken;
|
|
20743
|
+
}
|
|
20744
|
+
|
|
20745
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
20746
|
+
query["NextToken"] = request.nextToken;
|
|
20747
|
+
}
|
|
20748
|
+
|
|
20749
|
+
if (!Util.isUnset(request.regionId)) {
|
|
20750
|
+
query["RegionId"] = request.regionId;
|
|
20751
|
+
}
|
|
20752
|
+
|
|
20753
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
20754
|
+
query["ResourceId"] = request.resourceId;
|
|
20755
|
+
}
|
|
20756
|
+
|
|
20757
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
20758
|
+
query["ResourceType"] = request.resourceType;
|
|
20759
|
+
}
|
|
20760
|
+
|
|
20761
|
+
if (!Util.isUnset(request.tag)) {
|
|
20762
|
+
query["Tag"] = request.tag;
|
|
20763
|
+
}
|
|
20764
|
+
|
|
20765
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20766
|
+
query: OpenApiUtil.query(query),
|
|
20767
|
+
});
|
|
20768
|
+
let params = new $OpenApi.Params({
|
|
20769
|
+
action: "ListTagResources",
|
|
20770
|
+
version: "2019-11-20",
|
|
20771
|
+
protocol: "HTTPS",
|
|
20772
|
+
pathname: "/",
|
|
20773
|
+
method: "POST",
|
|
20774
|
+
authType: "AK",
|
|
20775
|
+
style: "RPC",
|
|
20776
|
+
reqBodyType: "formData",
|
|
20777
|
+
bodyType: "json",
|
|
20778
|
+
});
|
|
20779
|
+
return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
20780
|
+
}
|
|
20781
|
+
|
|
20782
|
+
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
20783
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20784
|
+
return await this.listTagResourcesWithOptions(request, runtime);
|
|
20785
|
+
}
|
|
20786
|
+
|
|
20447
20787
|
async removeEntriesFromAclWithOptions(request: RemoveEntriesFromAclRequest, runtime: $Util.RuntimeOptions): Promise<RemoveEntriesFromAclResponse> {
|
|
20448
20788
|
Util.validateModel(request);
|
|
20449
20789
|
let query = { };
|
|
@@ -20530,6 +20870,100 @@ export default class Client extends OpenApi {
|
|
|
20530
20870
|
return await this.replaceBandwidthPackageWithOptions(request, runtime);
|
|
20531
20871
|
}
|
|
20532
20872
|
|
|
20873
|
+
async tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
20874
|
+
Util.validateModel(request);
|
|
20875
|
+
let query = { };
|
|
20876
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
20877
|
+
query["ClientToken"] = request.clientToken;
|
|
20878
|
+
}
|
|
20879
|
+
|
|
20880
|
+
if (!Util.isUnset(request.regionId)) {
|
|
20881
|
+
query["RegionId"] = request.regionId;
|
|
20882
|
+
}
|
|
20883
|
+
|
|
20884
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
20885
|
+
query["ResourceId"] = request.resourceId;
|
|
20886
|
+
}
|
|
20887
|
+
|
|
20888
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
20889
|
+
query["ResourceType"] = request.resourceType;
|
|
20890
|
+
}
|
|
20891
|
+
|
|
20892
|
+
if (!Util.isUnset(request.tag)) {
|
|
20893
|
+
query["Tag"] = request.tag;
|
|
20894
|
+
}
|
|
20895
|
+
|
|
20896
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20897
|
+
query: OpenApiUtil.query(query),
|
|
20898
|
+
});
|
|
20899
|
+
let params = new $OpenApi.Params({
|
|
20900
|
+
action: "TagResources",
|
|
20901
|
+
version: "2019-11-20",
|
|
20902
|
+
protocol: "HTTPS",
|
|
20903
|
+
pathname: "/",
|
|
20904
|
+
method: "POST",
|
|
20905
|
+
authType: "AK",
|
|
20906
|
+
style: "RPC",
|
|
20907
|
+
reqBodyType: "formData",
|
|
20908
|
+
bodyType: "json",
|
|
20909
|
+
});
|
|
20910
|
+
return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
20911
|
+
}
|
|
20912
|
+
|
|
20913
|
+
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
20914
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20915
|
+
return await this.tagResourcesWithOptions(request, runtime);
|
|
20916
|
+
}
|
|
20917
|
+
|
|
20918
|
+
async untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
20919
|
+
Util.validateModel(request);
|
|
20920
|
+
let query = { };
|
|
20921
|
+
if (!Util.isUnset(request.all)) {
|
|
20922
|
+
query["All"] = request.all;
|
|
20923
|
+
}
|
|
20924
|
+
|
|
20925
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
20926
|
+
query["ClientToken"] = request.clientToken;
|
|
20927
|
+
}
|
|
20928
|
+
|
|
20929
|
+
if (!Util.isUnset(request.regionId)) {
|
|
20930
|
+
query["RegionId"] = request.regionId;
|
|
20931
|
+
}
|
|
20932
|
+
|
|
20933
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
20934
|
+
query["ResourceId"] = request.resourceId;
|
|
20935
|
+
}
|
|
20936
|
+
|
|
20937
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
20938
|
+
query["ResourceType"] = request.resourceType;
|
|
20939
|
+
}
|
|
20940
|
+
|
|
20941
|
+
if (!Util.isUnset(request.tagKey)) {
|
|
20942
|
+
query["TagKey"] = request.tagKey;
|
|
20943
|
+
}
|
|
20944
|
+
|
|
20945
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20946
|
+
query: OpenApiUtil.query(query),
|
|
20947
|
+
});
|
|
20948
|
+
let params = new $OpenApi.Params({
|
|
20949
|
+
action: "UntagResources",
|
|
20950
|
+
version: "2019-11-20",
|
|
20951
|
+
protocol: "HTTPS",
|
|
20952
|
+
pathname: "/",
|
|
20953
|
+
method: "POST",
|
|
20954
|
+
authType: "AK",
|
|
20955
|
+
style: "RPC",
|
|
20956
|
+
reqBodyType: "formData",
|
|
20957
|
+
bodyType: "json",
|
|
20958
|
+
});
|
|
20959
|
+
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
20960
|
+
}
|
|
20961
|
+
|
|
20962
|
+
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
20963
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20964
|
+
return await this.untagResourcesWithOptions(request, runtime);
|
|
20965
|
+
}
|
|
20966
|
+
|
|
20533
20967
|
async updateAcceleratorWithOptions(request: UpdateAcceleratorRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAcceleratorResponse> {
|
|
20534
20968
|
Util.validateModel(request);
|
|
20535
20969
|
let query = { };
|