@alicloud/vpc20160428 6.5.4 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -8451,18 +8451,39 @@ export class CreateExpressConnectTrafficQosRuleResponse extends $tea.Model {
8451
8451
 
8452
8452
  export class CreateFailoverTestJobRequest extends $tea.Model {
8453
8453
  /**
8454
+ * @remarks
8455
+ * The client token that is used to ensure the idempotence of the request.
8456
+ *
8457
+ * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
8458
+ *
8459
+ * > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
8460
+ *
8454
8461
  * @example
8455
8462
  * 123e4567-e89b-12d3-a456-426655440000
8456
8463
  */
8457
8464
  clientToken?: string;
8458
8465
  /**
8466
+ * @remarks
8467
+ * The description of the failover test.
8468
+ *
8469
+ * The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
8470
+ *
8459
8471
  * @example
8460
8472
  * test
8461
8473
  */
8462
8474
  description?: string;
8475
+ /**
8476
+ * @remarks
8477
+ * If you set the value to true, the system performs only a dry run without actually performing the actual request. If you set the value to false, the system performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
8478
+ *
8479
+ * @example
8480
+ * false
8481
+ */
8463
8482
  dryRun?: boolean;
8464
8483
  /**
8465
8484
  * @remarks
8485
+ * The duration of the failover test. Unit: minutes. Valid values: **1 to 4320**.
8486
+ *
8466
8487
  * This parameter is required.
8467
8488
  *
8468
8489
  * @example
@@ -8471,6 +8492,11 @@ export class CreateFailoverTestJobRequest extends $tea.Model {
8471
8492
  jobDuration?: number;
8472
8493
  /**
8473
8494
  * @remarks
8495
+ * The type of the failover test. Valid values:
8496
+ *
8497
+ * * **StartNow**
8498
+ * * **StartLater**
8499
+ *
8474
8500
  * This parameter is required.
8475
8501
  *
8476
8502
  * @example
@@ -8478,6 +8504,11 @@ export class CreateFailoverTestJobRequest extends $tea.Model {
8478
8504
  */
8479
8505
  jobType?: string;
8480
8506
  /**
8507
+ * @remarks
8508
+ * The name of the failover test.
8509
+ *
8510
+ * The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
8511
+ *
8481
8512
  * @example
8482
8513
  * test
8483
8514
  */
@@ -8485,18 +8516,27 @@ export class CreateFailoverTestJobRequest extends $tea.Model {
8485
8516
  ownerAccount?: string;
8486
8517
  ownerId?: number;
8487
8518
  /**
8519
+ * @remarks
8520
+ * The region ID of the failover test.
8521
+ *
8522
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
8523
+ *
8488
8524
  * @example
8489
8525
  * cn-hangzhou
8490
8526
  */
8491
8527
  regionId?: string;
8492
8528
  /**
8493
8529
  * @remarks
8530
+ * The IDs of failover test resources. You can add at most 16 resources.
8531
+ *
8494
8532
  * This parameter is required.
8495
8533
  */
8496
8534
  resourceId?: string[];
8497
8535
  resourceOwnerAccount?: string;
8498
8536
  /**
8499
8537
  * @remarks
8538
+ * The resource type of the failover test. Set the value to **PHYSICALCONNECTION**.
8539
+ *
8500
8540
  * This parameter is required.
8501
8541
  *
8502
8542
  * @example
@@ -8544,11 +8584,17 @@ export class CreateFailoverTestJobRequest extends $tea.Model {
8544
8584
 
8545
8585
  export class CreateFailoverTestJobResponseBody extends $tea.Model {
8546
8586
  /**
8587
+ * @remarks
8588
+ * The ID of the failover test.
8589
+ *
8547
8590
  * @example
8548
8591
  * ftj-xxxxxxxxx
8549
8592
  */
8550
8593
  jobId?: string;
8551
8594
  /**
8595
+ * @remarks
8596
+ * The request ID.
8597
+ *
8552
8598
  * @example
8553
8599
  * C44F62BE-9CE7-4277-B117-69243F3988BF
8554
8600
  */
@@ -32795,6 +32841,167 @@ export class DescribeIpv6GatewaysResponse extends $tea.Model {
32795
32841
  }
32796
32842
  }
32797
32843
 
32844
+ export class DescribeNatGatewayAssociateNetworkInterfacesRequest extends $tea.Model {
32845
+ /**
32846
+ * @example
32847
+ * 5A2CFF0E-5718-45B5-9D4D-70B3FF****
32848
+ */
32849
+ clientToken?: string;
32850
+ filter?: DescribeNatGatewayAssociateNetworkInterfacesRequestFilter[];
32851
+ /**
32852
+ * @example
32853
+ * 20
32854
+ */
32855
+ maxResults?: number;
32856
+ /**
32857
+ * @remarks
32858
+ * This parameter is required.
32859
+ *
32860
+ * @example
32861
+ * ngw-bp1uewa15k4iy5770****
32862
+ */
32863
+ natGatewayId?: string;
32864
+ /**
32865
+ * @example
32866
+ * caeba0bbb2be03f84eb48b699f0a****
32867
+ */
32868
+ nextToken?: string;
32869
+ ownerAccount?: string;
32870
+ ownerId?: number;
32871
+ /**
32872
+ * @remarks
32873
+ * This parameter is required.
32874
+ *
32875
+ * @example
32876
+ * cn-hangzhou
32877
+ */
32878
+ regionId?: string;
32879
+ /**
32880
+ * @example
32881
+ * rg-acfmxazdjdhd****
32882
+ */
32883
+ resourceGroupId?: string;
32884
+ resourceOwnerAccount?: string;
32885
+ resourceOwnerId?: number;
32886
+ tag?: DescribeNatGatewayAssociateNetworkInterfacesRequestTag[];
32887
+ static names(): { [key: string]: string } {
32888
+ return {
32889
+ clientToken: 'ClientToken',
32890
+ filter: 'Filter',
32891
+ maxResults: 'MaxResults',
32892
+ natGatewayId: 'NatGatewayId',
32893
+ nextToken: 'NextToken',
32894
+ ownerAccount: 'OwnerAccount',
32895
+ ownerId: 'OwnerId',
32896
+ regionId: 'RegionId',
32897
+ resourceGroupId: 'ResourceGroupId',
32898
+ resourceOwnerAccount: 'ResourceOwnerAccount',
32899
+ resourceOwnerId: 'ResourceOwnerId',
32900
+ tag: 'Tag',
32901
+ };
32902
+ }
32903
+
32904
+ static types(): { [key: string]: any } {
32905
+ return {
32906
+ clientToken: 'string',
32907
+ filter: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesRequestFilter },
32908
+ maxResults: 'number',
32909
+ natGatewayId: 'string',
32910
+ nextToken: 'string',
32911
+ ownerAccount: 'string',
32912
+ ownerId: 'number',
32913
+ regionId: 'string',
32914
+ resourceGroupId: 'string',
32915
+ resourceOwnerAccount: 'string',
32916
+ resourceOwnerId: 'number',
32917
+ tag: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesRequestTag },
32918
+ };
32919
+ }
32920
+
32921
+ constructor(map?: { [key: string]: any }) {
32922
+ super(map);
32923
+ }
32924
+ }
32925
+
32926
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBody extends $tea.Model {
32927
+ associateNetworkInterfaces?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces;
32928
+ /**
32929
+ * @example
32930
+ * 20
32931
+ */
32932
+ maxResults?: number;
32933
+ /**
32934
+ * @example
32935
+ * ngw-bp1uewa15k4iy5770****
32936
+ */
32937
+ natGatewayId?: string;
32938
+ /**
32939
+ * @example
32940
+ * caeba0bbb2be03f84eb48b699f0a****
32941
+ */
32942
+ nextToken?: string;
32943
+ /**
32944
+ * @example
32945
+ * 2315DEB7-5E92-423A-91F7-4C1EC9AD****
32946
+ */
32947
+ requestId?: string;
32948
+ /**
32949
+ * @example
32950
+ * 1
32951
+ */
32952
+ totalCount?: number;
32953
+ static names(): { [key: string]: string } {
32954
+ return {
32955
+ associateNetworkInterfaces: 'AssociateNetworkInterfaces',
32956
+ maxResults: 'MaxResults',
32957
+ natGatewayId: 'NatGatewayId',
32958
+ nextToken: 'NextToken',
32959
+ requestId: 'RequestId',
32960
+ totalCount: 'TotalCount',
32961
+ };
32962
+ }
32963
+
32964
+ static types(): { [key: string]: any } {
32965
+ return {
32966
+ associateNetworkInterfaces: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces,
32967
+ maxResults: 'number',
32968
+ natGatewayId: 'string',
32969
+ nextToken: 'string',
32970
+ requestId: 'string',
32971
+ totalCount: 'number',
32972
+ };
32973
+ }
32974
+
32975
+ constructor(map?: { [key: string]: any }) {
32976
+ super(map);
32977
+ }
32978
+ }
32979
+
32980
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponse extends $tea.Model {
32981
+ headers?: { [key: string]: string };
32982
+ statusCode?: number;
32983
+ body?: DescribeNatGatewayAssociateNetworkInterfacesResponseBody;
32984
+ static names(): { [key: string]: string } {
32985
+ return {
32986
+ headers: 'headers',
32987
+ statusCode: 'statusCode',
32988
+ body: 'body',
32989
+ };
32990
+ }
32991
+
32992
+ static types(): { [key: string]: any } {
32993
+ return {
32994
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
32995
+ statusCode: 'number',
32996
+ body: DescribeNatGatewayAssociateNetworkInterfacesResponseBody,
32997
+ };
32998
+ }
32999
+
33000
+ constructor(map?: { [key: string]: any }) {
33001
+ super(map);
33002
+ }
33003
+ }
33004
+
32798
33005
  export class DescribeNatGatewaysRequest extends $tea.Model {
32799
33006
  /**
32800
33007
  * @remarks
@@ -50688,6 +50895,147 @@ export class ListVpcGatewayEndpointsResponse extends $tea.Model {
50688
50895
  }
50689
50896
  }
50690
50897
 
50898
+ export class ListVpcPublishedRouteEntriesRequest extends $tea.Model {
50899
+ /**
50900
+ * @example
50901
+ * 47.100.XX.XX/16
50902
+ */
50903
+ destinationCidrBlock?: string;
50904
+ /**
50905
+ * @example
50906
+ * 50
50907
+ */
50908
+ maxResults?: number;
50909
+ /**
50910
+ * @example
50911
+ * FFmyTO70tTpLG6I3FmYAXGKPd****
50912
+ */
50913
+ nextToken?: string;
50914
+ ownerAccount?: string;
50915
+ ownerId?: number;
50916
+ /**
50917
+ * @example
50918
+ * cn-hangzhou
50919
+ */
50920
+ regionId?: string;
50921
+ resourceOwnerAccount?: string;
50922
+ resourceOwnerId?: number;
50923
+ /**
50924
+ * @remarks
50925
+ * This parameter is required.
50926
+ *
50927
+ * @example
50928
+ * vtb-bp145q7glnuzd****
50929
+ */
50930
+ routeTableId?: string;
50931
+ /**
50932
+ * @example
50933
+ * ecr-dhw2xsds5****
50934
+ */
50935
+ targetInstanceId?: string;
50936
+ /**
50937
+ * @remarks
50938
+ * This parameter is required.
50939
+ *
50940
+ * @example
50941
+ * ECR
50942
+ */
50943
+ targetType?: string;
50944
+ static names(): { [key: string]: string } {
50945
+ return {
50946
+ destinationCidrBlock: 'DestinationCidrBlock',
50947
+ maxResults: 'MaxResults',
50948
+ nextToken: 'NextToken',
50949
+ ownerAccount: 'OwnerAccount',
50950
+ ownerId: 'OwnerId',
50951
+ regionId: 'RegionId',
50952
+ resourceOwnerAccount: 'ResourceOwnerAccount',
50953
+ resourceOwnerId: 'ResourceOwnerId',
50954
+ routeTableId: 'RouteTableId',
50955
+ targetInstanceId: 'TargetInstanceId',
50956
+ targetType: 'TargetType',
50957
+ };
50958
+ }
50959
+
50960
+ static types(): { [key: string]: any } {
50961
+ return {
50962
+ destinationCidrBlock: 'string',
50963
+ maxResults: 'number',
50964
+ nextToken: 'string',
50965
+ ownerAccount: 'string',
50966
+ ownerId: 'number',
50967
+ regionId: 'string',
50968
+ resourceOwnerAccount: 'string',
50969
+ resourceOwnerId: 'number',
50970
+ routeTableId: 'string',
50971
+ targetInstanceId: 'string',
50972
+ targetType: 'string',
50973
+ };
50974
+ }
50975
+
50976
+ constructor(map?: { [key: string]: any }) {
50977
+ super(map);
50978
+ }
50979
+ }
50980
+
50981
+ export class ListVpcPublishedRouteEntriesResponseBody extends $tea.Model {
50982
+ /**
50983
+ * @example
50984
+ * FFmyTO70tTpLG6I3FmYAXGKPd****
50985
+ */
50986
+ nextToken?: string;
50987
+ /**
50988
+ * @example
50989
+ * 1D0971B2-A35A-42C1-A44C-E91360C36C0B
50990
+ */
50991
+ requestId?: string;
50992
+ routeEntries?: ListVpcPublishedRouteEntriesResponseBodyRouteEntries[];
50993
+ static names(): { [key: string]: string } {
50994
+ return {
50995
+ nextToken: 'NextToken',
50996
+ requestId: 'RequestId',
50997
+ routeEntries: 'RouteEntries',
50998
+ };
50999
+ }
51000
+
51001
+ static types(): { [key: string]: any } {
51002
+ return {
51003
+ nextToken: 'string',
51004
+ requestId: 'string',
51005
+ routeEntries: { 'type': 'array', 'itemType': ListVpcPublishedRouteEntriesResponseBodyRouteEntries },
51006
+ };
51007
+ }
51008
+
51009
+ constructor(map?: { [key: string]: any }) {
51010
+ super(map);
51011
+ }
51012
+ }
51013
+
51014
+ export class ListVpcPublishedRouteEntriesResponse extends $tea.Model {
51015
+ headers?: { [key: string]: string };
51016
+ statusCode?: number;
51017
+ body?: ListVpcPublishedRouteEntriesResponseBody;
51018
+ static names(): { [key: string]: string } {
51019
+ return {
51020
+ headers: 'headers',
51021
+ statusCode: 'statusCode',
51022
+ body: 'body',
51023
+ };
51024
+ }
51025
+
51026
+ static types(): { [key: string]: any } {
51027
+ return {
51028
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51029
+ statusCode: 'number',
51030
+ body: ListVpcPublishedRouteEntriesResponseBody,
51031
+ };
51032
+ }
51033
+
51034
+ constructor(map?: { [key: string]: any }) {
51035
+ super(map);
51036
+ }
51037
+ }
51038
+
50691
51039
  export class ListVpnCertificateAssociationsRequest extends $tea.Model {
50692
51040
  /**
50693
51041
  * @remarks
@@ -62190,6 +62538,119 @@ export class OpenTrafficMirrorServiceResponse extends $tea.Model {
62190
62538
  }
62191
62539
  }
62192
62540
 
62541
+ export class PublishVpcRouteEntriesRequest extends $tea.Model {
62542
+ /**
62543
+ * @example
62544
+ * false
62545
+ */
62546
+ dryRun?: boolean;
62547
+ ownerAccount?: string;
62548
+ ownerId?: number;
62549
+ /**
62550
+ * @example
62551
+ * cn-hangzhou
62552
+ */
62553
+ regionId?: string;
62554
+ resourceOwnerAccount?: string;
62555
+ resourceOwnerId?: number;
62556
+ routeEntries?: PublishVpcRouteEntriesRequestRouteEntries[];
62557
+ /**
62558
+ * @remarks
62559
+ * This parameter is required.
62560
+ *
62561
+ * @example
62562
+ * ecr-dhw2xsds5****
62563
+ */
62564
+ targetInstanceId?: string;
62565
+ /**
62566
+ * @remarks
62567
+ * This parameter is required.
62568
+ *
62569
+ * @example
62570
+ * ECR
62571
+ */
62572
+ targetType?: string;
62573
+ static names(): { [key: string]: string } {
62574
+ return {
62575
+ dryRun: 'DryRun',
62576
+ ownerAccount: 'OwnerAccount',
62577
+ ownerId: 'OwnerId',
62578
+ regionId: 'RegionId',
62579
+ resourceOwnerAccount: 'ResourceOwnerAccount',
62580
+ resourceOwnerId: 'ResourceOwnerId',
62581
+ routeEntries: 'RouteEntries',
62582
+ targetInstanceId: 'TargetInstanceId',
62583
+ targetType: 'TargetType',
62584
+ };
62585
+ }
62586
+
62587
+ static types(): { [key: string]: any } {
62588
+ return {
62589
+ dryRun: 'boolean',
62590
+ ownerAccount: 'string',
62591
+ ownerId: 'number',
62592
+ regionId: 'string',
62593
+ resourceOwnerAccount: 'string',
62594
+ resourceOwnerId: 'number',
62595
+ routeEntries: { 'type': 'array', 'itemType': PublishVpcRouteEntriesRequestRouteEntries },
62596
+ targetInstanceId: 'string',
62597
+ targetType: 'string',
62598
+ };
62599
+ }
62600
+
62601
+ constructor(map?: { [key: string]: any }) {
62602
+ super(map);
62603
+ }
62604
+ }
62605
+
62606
+ export class PublishVpcRouteEntriesResponseBody extends $tea.Model {
62607
+ /**
62608
+ * @example
62609
+ * 980960B0-2969-40BF-8542-EBB34FD358AB
62610
+ */
62611
+ requestId?: string;
62612
+ static names(): { [key: string]: string } {
62613
+ return {
62614
+ requestId: 'RequestId',
62615
+ };
62616
+ }
62617
+
62618
+ static types(): { [key: string]: any } {
62619
+ return {
62620
+ requestId: 'string',
62621
+ };
62622
+ }
62623
+
62624
+ constructor(map?: { [key: string]: any }) {
62625
+ super(map);
62626
+ }
62627
+ }
62628
+
62629
+ export class PublishVpcRouteEntriesResponse extends $tea.Model {
62630
+ headers?: { [key: string]: string };
62631
+ statusCode?: number;
62632
+ body?: PublishVpcRouteEntriesResponseBody;
62633
+ static names(): { [key: string]: string } {
62634
+ return {
62635
+ headers: 'headers',
62636
+ statusCode: 'statusCode',
62637
+ body: 'body',
62638
+ };
62639
+ }
62640
+
62641
+ static types(): { [key: string]: any } {
62642
+ return {
62643
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
62644
+ statusCode: 'number',
62645
+ body: PublishVpcRouteEntriesResponseBody,
62646
+ };
62647
+ }
62648
+
62649
+ constructor(map?: { [key: string]: any }) {
62650
+ super(map);
62651
+ }
62652
+ }
62653
+
62193
62654
  export class PublishVpnRouteEntryRequest extends $tea.Model {
62194
62655
  /**
62195
62656
  * @remarks
@@ -69154,6 +69615,119 @@ export class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $tea.
69154
69615
  }
69155
69616
  }
69156
69617
 
69618
+ export class WithdrawVpcPublishedRouteEntriesRequest extends $tea.Model {
69619
+ /**
69620
+ * @example
69621
+ * false
69622
+ */
69623
+ dryRun?: boolean;
69624
+ ownerAccount?: string;
69625
+ ownerId?: number;
69626
+ /**
69627
+ * @example
69628
+ * cn-hangzhou
69629
+ */
69630
+ regionId?: string;
69631
+ resourceOwnerAccount?: string;
69632
+ resourceOwnerId?: number;
69633
+ routeEntries?: WithdrawVpcPublishedRouteEntriesRequestRouteEntries[];
69634
+ /**
69635
+ * @remarks
69636
+ * This parameter is required.
69637
+ *
69638
+ * @example
69639
+ * ecr-dhw2xsds5****
69640
+ */
69641
+ targetInstanceId?: string;
69642
+ /**
69643
+ * @remarks
69644
+ * This parameter is required.
69645
+ *
69646
+ * @example
69647
+ * ECR
69648
+ */
69649
+ targetType?: string;
69650
+ static names(): { [key: string]: string } {
69651
+ return {
69652
+ dryRun: 'DryRun',
69653
+ ownerAccount: 'OwnerAccount',
69654
+ ownerId: 'OwnerId',
69655
+ regionId: 'RegionId',
69656
+ resourceOwnerAccount: 'ResourceOwnerAccount',
69657
+ resourceOwnerId: 'ResourceOwnerId',
69658
+ routeEntries: 'RouteEntries',
69659
+ targetInstanceId: 'TargetInstanceId',
69660
+ targetType: 'TargetType',
69661
+ };
69662
+ }
69663
+
69664
+ static types(): { [key: string]: any } {
69665
+ return {
69666
+ dryRun: 'boolean',
69667
+ ownerAccount: 'string',
69668
+ ownerId: 'number',
69669
+ regionId: 'string',
69670
+ resourceOwnerAccount: 'string',
69671
+ resourceOwnerId: 'number',
69672
+ routeEntries: { 'type': 'array', 'itemType': WithdrawVpcPublishedRouteEntriesRequestRouteEntries },
69673
+ targetInstanceId: 'string',
69674
+ targetType: 'string',
69675
+ };
69676
+ }
69677
+
69678
+ constructor(map?: { [key: string]: any }) {
69679
+ super(map);
69680
+ }
69681
+ }
69682
+
69683
+ export class WithdrawVpcPublishedRouteEntriesResponseBody extends $tea.Model {
69684
+ /**
69685
+ * @example
69686
+ * 0ED8D006-F706-4D23-88ED-E11ED28DCAC0
69687
+ */
69688
+ requestId?: string;
69689
+ static names(): { [key: string]: string } {
69690
+ return {
69691
+ requestId: 'RequestId',
69692
+ };
69693
+ }
69694
+
69695
+ static types(): { [key: string]: any } {
69696
+ return {
69697
+ requestId: 'string',
69698
+ };
69699
+ }
69700
+
69701
+ constructor(map?: { [key: string]: any }) {
69702
+ super(map);
69703
+ }
69704
+ }
69705
+
69706
+ export class WithdrawVpcPublishedRouteEntriesResponse extends $tea.Model {
69707
+ headers?: { [key: string]: string };
69708
+ statusCode?: number;
69709
+ body?: WithdrawVpcPublishedRouteEntriesResponseBody;
69710
+ static names(): { [key: string]: string } {
69711
+ return {
69712
+ headers: 'headers',
69713
+ statusCode: 'statusCode',
69714
+ body: 'body',
69715
+ };
69716
+ }
69717
+
69718
+ static types(): { [key: string]: any } {
69719
+ return {
69720
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
69721
+ statusCode: 'number',
69722
+ body: WithdrawVpcPublishedRouteEntriesResponseBody,
69723
+ };
69724
+ }
69725
+
69726
+ constructor(map?: { [key: string]: any }) {
69727
+ super(map);
69728
+ }
69729
+ }
69730
+
69157
69731
  export class AllocateIpv6AddressRequestTag extends $tea.Model {
69158
69732
  /**
69159
69733
  * @remarks
@@ -78495,6 +79069,181 @@ export class DescribeIpv6GatewaysResponseBodyIpv6Gateways extends $tea.Model {
78495
79069
  }
78496
79070
  }
78497
79071
 
79072
+ export class DescribeNatGatewayAssociateNetworkInterfacesRequestFilter extends $tea.Model {
79073
+ /**
79074
+ * @example
79075
+ * ResourceId
79076
+ */
79077
+ key?: string;
79078
+ /**
79079
+ * @example
79080
+ * ep-8psre8c8936596cd****
79081
+ */
79082
+ value?: string;
79083
+ static names(): { [key: string]: string } {
79084
+ return {
79085
+ key: 'Key',
79086
+ value: 'Value',
79087
+ };
79088
+ }
79089
+
79090
+ static types(): { [key: string]: any } {
79091
+ return {
79092
+ key: 'string',
79093
+ value: 'string',
79094
+ };
79095
+ }
79096
+
79097
+ constructor(map?: { [key: string]: any }) {
79098
+ super(map);
79099
+ }
79100
+ }
79101
+
79102
+ export class DescribeNatGatewayAssociateNetworkInterfacesRequestTag extends $tea.Model {
79103
+ /**
79104
+ * @example
79105
+ * FinanceDept
79106
+ */
79107
+ key?: string;
79108
+ /**
79109
+ * @example
79110
+ * FinanceJoshua
79111
+ */
79112
+ value?: string;
79113
+ static names(): { [key: string]: string } {
79114
+ return {
79115
+ key: 'Key',
79116
+ value: 'Value',
79117
+ };
79118
+ }
79119
+
79120
+ static types(): { [key: string]: any } {
79121
+ return {
79122
+ key: 'string',
79123
+ value: 'string',
79124
+ };
79125
+ }
79126
+
79127
+ constructor(map?: { [key: string]: any }) {
79128
+ super(map);
79129
+ }
79130
+ }
79131
+
79132
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set extends $tea.Model {
79133
+ /**
79134
+ * @example
79135
+ * 172.17.\*\*.**
79136
+ */
79137
+ IPv4Address?: string;
79138
+ /**
79139
+ * @example
79140
+ * true
79141
+ */
79142
+ primary?: boolean;
79143
+ static names(): { [key: string]: string } {
79144
+ return {
79145
+ IPv4Address: 'IPv4Address',
79146
+ primary: 'Primary',
79147
+ };
79148
+ }
79149
+
79150
+ static types(): { [key: string]: any } {
79151
+ return {
79152
+ IPv4Address: 'string',
79153
+ primary: 'boolean',
79154
+ };
79155
+ }
79156
+
79157
+ constructor(map?: { [key: string]: any }) {
79158
+ super(map);
79159
+ }
79160
+ }
79161
+
79162
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets extends $tea.Model {
79163
+ IPv4Set?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set[];
79164
+ static names(): { [key: string]: string } {
79165
+ return {
79166
+ IPv4Set: 'IPv4Set',
79167
+ };
79168
+ }
79169
+
79170
+ static types(): { [key: string]: any } {
79171
+ return {
79172
+ IPv4Set: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set },
79173
+ };
79174
+ }
79175
+
79176
+ constructor(map?: { [key: string]: any }) {
79177
+ super(map);
79178
+ }
79179
+ }
79180
+
79181
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface extends $tea.Model {
79182
+ IPv4Sets?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets;
79183
+ /**
79184
+ * @example
79185
+ * eni-gw8g131ef2dnbu3k****
79186
+ */
79187
+ networkInterfaceId?: string;
79188
+ /**
79189
+ * @example
79190
+ * ep-8psre8c8936596cd****
79191
+ */
79192
+ resourceId?: string;
79193
+ /**
79194
+ * @example
79195
+ * 138859086900****
79196
+ */
79197
+ resourceOwnerId?: string;
79198
+ /**
79199
+ * @example
79200
+ * PrivateLink
79201
+ */
79202
+ resourceType?: string;
79203
+ static names(): { [key: string]: string } {
79204
+ return {
79205
+ IPv4Sets: 'IPv4Sets',
79206
+ networkInterfaceId: 'NetworkInterfaceId',
79207
+ resourceId: 'ResourceId',
79208
+ resourceOwnerId: 'ResourceOwnerId',
79209
+ resourceType: 'ResourceType',
79210
+ };
79211
+ }
79212
+
79213
+ static types(): { [key: string]: any } {
79214
+ return {
79215
+ IPv4Sets: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets,
79216
+ networkInterfaceId: 'string',
79217
+ resourceId: 'string',
79218
+ resourceOwnerId: 'string',
79219
+ resourceType: 'string',
79220
+ };
79221
+ }
79222
+
79223
+ constructor(map?: { [key: string]: any }) {
79224
+ super(map);
79225
+ }
79226
+ }
79227
+
79228
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces extends $tea.Model {
79229
+ associateNetworkInterface?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface[];
79230
+ static names(): { [key: string]: string } {
79231
+ return {
79232
+ associateNetworkInterface: 'AssociateNetworkInterface',
79233
+ };
79234
+ }
79235
+
79236
+ static types(): { [key: string]: any } {
79237
+ return {
79238
+ associateNetworkInterface: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface },
79239
+ };
79240
+ }
79241
+
79242
+ constructor(map?: { [key: string]: any }) {
79243
+ super(map);
79244
+ }
79245
+ }
79246
+
78498
79247
  export class DescribeNatGatewaysRequestTag extends $tea.Model {
78499
79248
  /**
78500
79249
  * @remarks
@@ -95817,6 +96566,76 @@ export class ListVpcGatewayEndpointsResponseBodyEndpoints extends $tea.Model {
95817
96566
  }
95818
96567
  }
95819
96568
 
96569
+ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTargets extends $tea.Model {
96570
+ /**
96571
+ * @example
96572
+ * Published
96573
+ */
96574
+ publishStatus?: string;
96575
+ /**
96576
+ * @example
96577
+ * ECR
96578
+ */
96579
+ publishTargetType?: string;
96580
+ static names(): { [key: string]: string } {
96581
+ return {
96582
+ publishStatus: 'PublishStatus',
96583
+ publishTargetType: 'PublishTargetType',
96584
+ };
96585
+ }
96586
+
96587
+ static types(): { [key: string]: any } {
96588
+ return {
96589
+ publishStatus: 'string',
96590
+ publishTargetType: 'string',
96591
+ };
96592
+ }
96593
+
96594
+ constructor(map?: { [key: string]: any }) {
96595
+ super(map);
96596
+ }
96597
+ }
96598
+
96599
+ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntries extends $tea.Model {
96600
+ /**
96601
+ * @example
96602
+ * 10.0.0.0/24
96603
+ */
96604
+ destinationCidrBlock?: string;
96605
+ /**
96606
+ * @example
96607
+ * rte-bp1mnnr2al0naomnpv****
96608
+ */
96609
+ routeEntryId?: string;
96610
+ routePublishTargets?: ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTargets[];
96611
+ /**
96612
+ * @example
96613
+ * vtb-2ze3jgygk9bmsj23s****
96614
+ */
96615
+ routeTableId?: string;
96616
+ static names(): { [key: string]: string } {
96617
+ return {
96618
+ destinationCidrBlock: 'DestinationCidrBlock',
96619
+ routeEntryId: 'RouteEntryId',
96620
+ routePublishTargets: 'RoutePublishTargets',
96621
+ routeTableId: 'RouteTableId',
96622
+ };
96623
+ }
96624
+
96625
+ static types(): { [key: string]: any } {
96626
+ return {
96627
+ destinationCidrBlock: 'string',
96628
+ routeEntryId: 'string',
96629
+ routePublishTargets: { 'type': 'array', 'itemType': ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTargets },
96630
+ routeTableId: 'string',
96631
+ };
96632
+ }
96633
+
96634
+ constructor(map?: { [key: string]: any }) {
96635
+ super(map);
96636
+ }
96637
+ }
96638
+
95820
96639
  export class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations extends $tea.Model {
95821
96640
  /**
95822
96641
  * @remarks
@@ -98011,6 +98830,42 @@ export class ModifyVpnConnectionAttributeResponseBodyVpnBgpConfig extends $tea.M
98011
98830
  }
98012
98831
  }
98013
98832
 
98833
+ export class PublishVpcRouteEntriesRequestRouteEntries extends $tea.Model {
98834
+ /**
98835
+ * @remarks
98836
+ * This parameter is required.
98837
+ *
98838
+ * @example
98839
+ * 121.41.165.123/32
98840
+ */
98841
+ destinationCidrBlock?: string;
98842
+ /**
98843
+ * @remarks
98844
+ * This parameter is required.
98845
+ *
98846
+ * @example
98847
+ * vtb-2ze3jgygk9bmsj23s****
98848
+ */
98849
+ routeTableId?: string;
98850
+ static names(): { [key: string]: string } {
98851
+ return {
98852
+ destinationCidrBlock: 'DestinationCidrBlock',
98853
+ routeTableId: 'RouteTableId',
98854
+ };
98855
+ }
98856
+
98857
+ static types(): { [key: string]: any } {
98858
+ return {
98859
+ destinationCidrBlock: 'string',
98860
+ routeTableId: 'string',
98861
+ };
98862
+ }
98863
+
98864
+ constructor(map?: { [key: string]: any }) {
98865
+ super(map);
98866
+ }
98867
+ }
98868
+
98014
98869
  export class SecondApplyPhysicalConnectionLOARequestPMInfo extends $tea.Model {
98015
98870
  /**
98016
98871
  * @remarks
@@ -98458,6 +99313,42 @@ export class UpdateNetworkAclEntriesRequestIngressAclEntries extends $tea.Model
98458
99313
  }
98459
99314
  }
98460
99315
 
99316
+ export class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends $tea.Model {
99317
+ /**
99318
+ * @remarks
99319
+ * This parameter is required.
99320
+ *
99321
+ * @example
99322
+ * 10.0.0.0/24
99323
+ */
99324
+ destinationCidrBlock?: string;
99325
+ /**
99326
+ * @remarks
99327
+ * This parameter is required.
99328
+ *
99329
+ * @example
99330
+ * vtb-bp145q7glnuzd****
99331
+ */
99332
+ routeTableId?: string;
99333
+ static names(): { [key: string]: string } {
99334
+ return {
99335
+ destinationCidrBlock: 'DestinationCidrBlock',
99336
+ routeTableId: 'RouteTableId',
99337
+ };
99338
+ }
99339
+
99340
+ static types(): { [key: string]: any } {
99341
+ return {
99342
+ destinationCidrBlock: 'string',
99343
+ routeTableId: 'string',
99344
+ };
99345
+ }
99346
+
99347
+ constructor(map?: { [key: string]: any }) {
99348
+ super(map);
99349
+ }
99350
+ }
99351
+
98461
99352
 
98462
99353
  export default class Client extends OpenApi {
98463
99354
 
@@ -102864,7 +103755,17 @@ export default class Client extends OpenApi {
102864
103755
  }
102865
103756
 
102866
103757
  /**
102867
- * 创建故障演练任务
103758
+ * Creates a failover test.
103759
+ *
103760
+ * @remarks
103761
+ * You cannot create a failover test in the following scenarios:
103762
+ * * You have created a failover test in the region and its type is StartNow.
103763
+ * * The Express Connect circuit or hosted connection has pending orders or overdue payments.
103764
+ * * A failover test is already performed on the Express Connect circuit or hosted connection.
103765
+ * * More than one hosted connection is created over the Express Connect circuit.
103766
+ * * More than one cross-account VBR is created on the Express Connect circuit.
103767
+ * * No VBR is associated with the hosted connection.
103768
+ * * The VLAN ID of the hosted connection is set to 0.
102868
103769
  *
102869
103770
  * @param request - CreateFailoverTestJobRequest
102870
103771
  * @param runtime - runtime options for this request RuntimeOptions
@@ -102943,7 +103844,17 @@ export default class Client extends OpenApi {
102943
103844
  }
102944
103845
 
102945
103846
  /**
102946
- * 创建故障演练任务
103847
+ * Creates a failover test.
103848
+ *
103849
+ * @remarks
103850
+ * You cannot create a failover test in the following scenarios:
103851
+ * * You have created a failover test in the region and its type is StartNow.
103852
+ * * The Express Connect circuit or hosted connection has pending orders or overdue payments.
103853
+ * * A failover test is already performed on the Express Connect circuit or hosted connection.
103854
+ * * More than one hosted connection is created over the Express Connect circuit.
103855
+ * * More than one cross-account VBR is created on the Express Connect circuit.
103856
+ * * No VBR is associated with the hosted connection.
103857
+ * * The VLAN ID of the hosted connection is set to 0.
102947
103858
  *
102948
103859
  * @param request - CreateFailoverTestJobRequest
102949
103860
  * @returns CreateFailoverTestJobResponse
@@ -104826,7 +105737,7 @@ export default class Client extends OpenApi {
104826
105737
  }
104827
105738
 
104828
105739
  /**
104829
- * Creates an order for resource usage fees.
105740
+ * Creates an order for resource occupation of an Express Connect circuit.
104830
105741
  *
104831
105742
  * @remarks
104832
105743
  * > You can call this operation only when the Express Connect circuit is in the **Complete** state.
@@ -104900,7 +105811,7 @@ export default class Client extends OpenApi {
104900
105811
  }
104901
105812
 
104902
105813
  /**
104903
- * Creates an order for resource usage fees.
105814
+ * Creates an order for resource occupation of an Express Connect circuit.
104904
105815
  *
104905
105816
  * @remarks
104906
105817
  * > You can call this operation only when the Express Connect circuit is in the **Complete** state.
@@ -115056,6 +115967,96 @@ export default class Client extends OpenApi {
115056
115967
  return await this.describeIpv6GatewaysWithOptions(request, runtime);
115057
115968
  }
115058
115969
 
115970
+ /**
115971
+ * 查询NAT已绑定ENI信息
115972
+ *
115973
+ * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
115974
+ * @param runtime - runtime options for this request RuntimeOptions
115975
+ * @returns DescribeNatGatewayAssociateNetworkInterfacesResponse
115976
+ */
115977
+ async describeNatGatewayAssociateNetworkInterfacesWithOptions(request: DescribeNatGatewayAssociateNetworkInterfacesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNatGatewayAssociateNetworkInterfacesResponse> {
115978
+ Util.validateModel(request);
115979
+ let query = { };
115980
+ if (!Util.isUnset(request.clientToken)) {
115981
+ query["ClientToken"] = request.clientToken;
115982
+ }
115983
+
115984
+ if (!Util.isUnset(request.filter)) {
115985
+ query["Filter"] = request.filter;
115986
+ }
115987
+
115988
+ if (!Util.isUnset(request.maxResults)) {
115989
+ query["MaxResults"] = request.maxResults;
115990
+ }
115991
+
115992
+ if (!Util.isUnset(request.natGatewayId)) {
115993
+ query["NatGatewayId"] = request.natGatewayId;
115994
+ }
115995
+
115996
+ if (!Util.isUnset(request.nextToken)) {
115997
+ query["NextToken"] = request.nextToken;
115998
+ }
115999
+
116000
+ if (!Util.isUnset(request.ownerAccount)) {
116001
+ query["OwnerAccount"] = request.ownerAccount;
116002
+ }
116003
+
116004
+ if (!Util.isUnset(request.ownerId)) {
116005
+ query["OwnerId"] = request.ownerId;
116006
+ }
116007
+
116008
+ if (!Util.isUnset(request.regionId)) {
116009
+ query["RegionId"] = request.regionId;
116010
+ }
116011
+
116012
+ if (!Util.isUnset(request.regionId)) {
116013
+ query["RegionId"] = request.regionId;
116014
+ }
116015
+
116016
+ if (!Util.isUnset(request.resourceGroupId)) {
116017
+ query["ResourceGroupId"] = request.resourceGroupId;
116018
+ }
116019
+
116020
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
116021
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
116022
+ }
116023
+
116024
+ if (!Util.isUnset(request.resourceOwnerId)) {
116025
+ query["ResourceOwnerId"] = request.resourceOwnerId;
116026
+ }
116027
+
116028
+ if (!Util.isUnset(request.tag)) {
116029
+ query["Tag"] = request.tag;
116030
+ }
116031
+
116032
+ let req = new $OpenApi.OpenApiRequest({
116033
+ query: OpenApiUtil.query(query),
116034
+ });
116035
+ let params = new $OpenApi.Params({
116036
+ action: "DescribeNatGatewayAssociateNetworkInterfaces",
116037
+ version: "2016-04-28",
116038
+ protocol: "HTTPS",
116039
+ pathname: "/",
116040
+ method: "POST",
116041
+ authType: "AK",
116042
+ style: "RPC",
116043
+ reqBodyType: "formData",
116044
+ bodyType: "json",
116045
+ });
116046
+ return $tea.cast<DescribeNatGatewayAssociateNetworkInterfacesResponse>(await this.callApi(params, req, runtime), new DescribeNatGatewayAssociateNetworkInterfacesResponse({}));
116047
+ }
116048
+
116049
+ /**
116050
+ * 查询NAT已绑定ENI信息
116051
+ *
116052
+ * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
116053
+ * @returns DescribeNatGatewayAssociateNetworkInterfacesResponse
116054
+ */
116055
+ async describeNatGatewayAssociateNetworkInterfaces(request: DescribeNatGatewayAssociateNetworkInterfacesRequest): Promise<DescribeNatGatewayAssociateNetworkInterfacesResponse> {
116056
+ let runtime = new $Util.RuntimeOptions({ });
116057
+ return await this.describeNatGatewayAssociateNetworkInterfacesWithOptions(request, runtime);
116058
+ }
116059
+
115059
116060
  /**
115060
116061
  * Queries NAT gateways that meet specific conditions in a specified region.
115061
116062
  *
@@ -122152,6 +123153,92 @@ export default class Client extends OpenApi {
122152
123153
  return await this.listVpcGatewayEndpointsWithOptions(request, runtime);
122153
123154
  }
122154
123155
 
123156
+ /**
123157
+ * 查询路由发布情况
123158
+ *
123159
+ * @param request - ListVpcPublishedRouteEntriesRequest
123160
+ * @param runtime - runtime options for this request RuntimeOptions
123161
+ * @returns ListVpcPublishedRouteEntriesResponse
123162
+ */
123163
+ async listVpcPublishedRouteEntriesWithOptions(request: ListVpcPublishedRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<ListVpcPublishedRouteEntriesResponse> {
123164
+ Util.validateModel(request);
123165
+ let query = { };
123166
+ if (!Util.isUnset(request.destinationCidrBlock)) {
123167
+ query["DestinationCidrBlock"] = request.destinationCidrBlock;
123168
+ }
123169
+
123170
+ if (!Util.isUnset(request.maxResults)) {
123171
+ query["MaxResults"] = request.maxResults;
123172
+ }
123173
+
123174
+ if (!Util.isUnset(request.nextToken)) {
123175
+ query["NextToken"] = request.nextToken;
123176
+ }
123177
+
123178
+ if (!Util.isUnset(request.ownerAccount)) {
123179
+ query["OwnerAccount"] = request.ownerAccount;
123180
+ }
123181
+
123182
+ if (!Util.isUnset(request.ownerId)) {
123183
+ query["OwnerId"] = request.ownerId;
123184
+ }
123185
+
123186
+ if (!Util.isUnset(request.regionId)) {
123187
+ query["RegionId"] = request.regionId;
123188
+ }
123189
+
123190
+ if (!Util.isUnset(request.regionId)) {
123191
+ query["RegionId"] = request.regionId;
123192
+ }
123193
+
123194
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
123195
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
123196
+ }
123197
+
123198
+ if (!Util.isUnset(request.resourceOwnerId)) {
123199
+ query["ResourceOwnerId"] = request.resourceOwnerId;
123200
+ }
123201
+
123202
+ if (!Util.isUnset(request.routeTableId)) {
123203
+ query["RouteTableId"] = request.routeTableId;
123204
+ }
123205
+
123206
+ if (!Util.isUnset(request.targetInstanceId)) {
123207
+ query["TargetInstanceId"] = request.targetInstanceId;
123208
+ }
123209
+
123210
+ if (!Util.isUnset(request.targetType)) {
123211
+ query["TargetType"] = request.targetType;
123212
+ }
123213
+
123214
+ let req = new $OpenApi.OpenApiRequest({
123215
+ query: OpenApiUtil.query(query),
123216
+ });
123217
+ let params = new $OpenApi.Params({
123218
+ action: "ListVpcPublishedRouteEntries",
123219
+ version: "2016-04-28",
123220
+ protocol: "HTTPS",
123221
+ pathname: "/",
123222
+ method: "POST",
123223
+ authType: "AK",
123224
+ style: "RPC",
123225
+ reqBodyType: "formData",
123226
+ bodyType: "json",
123227
+ });
123228
+ return $tea.cast<ListVpcPublishedRouteEntriesResponse>(await this.callApi(params, req, runtime), new ListVpcPublishedRouteEntriesResponse({}));
123229
+ }
123230
+
123231
+ /**
123232
+ * 查询路由发布情况
123233
+ *
123234
+ * @param request - ListVpcPublishedRouteEntriesRequest
123235
+ * @returns ListVpcPublishedRouteEntriesResponse
123236
+ */
123237
+ async listVpcPublishedRouteEntries(request: ListVpcPublishedRouteEntriesRequest): Promise<ListVpcPublishedRouteEntriesResponse> {
123238
+ let runtime = new $Util.RuntimeOptions({ });
123239
+ return await this.listVpcPublishedRouteEntriesWithOptions(request, runtime);
123240
+ }
123241
+
122155
123242
  /**
122156
123243
  * Queries the association between VPN gateways and certificates in a region.
122157
123244
  *
@@ -127633,6 +128720,84 @@ export default class Client extends OpenApi {
127633
128720
  return await this.openTrafficMirrorServiceWithOptions(request, runtime);
127634
128721
  }
127635
128722
 
128723
+ /**
128724
+ * 发布VPC路由
128725
+ *
128726
+ * @param request - PublishVpcRouteEntriesRequest
128727
+ * @param runtime - runtime options for this request RuntimeOptions
128728
+ * @returns PublishVpcRouteEntriesResponse
128729
+ */
128730
+ async publishVpcRouteEntriesWithOptions(request: PublishVpcRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<PublishVpcRouteEntriesResponse> {
128731
+ Util.validateModel(request);
128732
+ let query = { };
128733
+ if (!Util.isUnset(request.dryRun)) {
128734
+ query["DryRun"] = request.dryRun;
128735
+ }
128736
+
128737
+ if (!Util.isUnset(request.ownerAccount)) {
128738
+ query["OwnerAccount"] = request.ownerAccount;
128739
+ }
128740
+
128741
+ if (!Util.isUnset(request.ownerId)) {
128742
+ query["OwnerId"] = request.ownerId;
128743
+ }
128744
+
128745
+ if (!Util.isUnset(request.regionId)) {
128746
+ query["RegionId"] = request.regionId;
128747
+ }
128748
+
128749
+ if (!Util.isUnset(request.regionId)) {
128750
+ query["RegionId"] = request.regionId;
128751
+ }
128752
+
128753
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
128754
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
128755
+ }
128756
+
128757
+ if (!Util.isUnset(request.resourceOwnerId)) {
128758
+ query["ResourceOwnerId"] = request.resourceOwnerId;
128759
+ }
128760
+
128761
+ if (!Util.isUnset(request.routeEntries)) {
128762
+ query["RouteEntries"] = request.routeEntries;
128763
+ }
128764
+
128765
+ if (!Util.isUnset(request.targetInstanceId)) {
128766
+ query["TargetInstanceId"] = request.targetInstanceId;
128767
+ }
128768
+
128769
+ if (!Util.isUnset(request.targetType)) {
128770
+ query["TargetType"] = request.targetType;
128771
+ }
128772
+
128773
+ let req = new $OpenApi.OpenApiRequest({
128774
+ query: OpenApiUtil.query(query),
128775
+ });
128776
+ let params = new $OpenApi.Params({
128777
+ action: "PublishVpcRouteEntries",
128778
+ version: "2016-04-28",
128779
+ protocol: "HTTPS",
128780
+ pathname: "/",
128781
+ method: "POST",
128782
+ authType: "AK",
128783
+ style: "RPC",
128784
+ reqBodyType: "formData",
128785
+ bodyType: "json",
128786
+ });
128787
+ return $tea.cast<PublishVpcRouteEntriesResponse>(await this.callApi(params, req, runtime), new PublishVpcRouteEntriesResponse({}));
128788
+ }
128789
+
128790
+ /**
128791
+ * 发布VPC路由
128792
+ *
128793
+ * @param request - PublishVpcRouteEntriesRequest
128794
+ * @returns PublishVpcRouteEntriesResponse
128795
+ */
128796
+ async publishVpcRouteEntries(request: PublishVpcRouteEntriesRequest): Promise<PublishVpcRouteEntriesResponse> {
128797
+ let runtime = new $Util.RuntimeOptions({ });
128798
+ return await this.publishVpcRouteEntriesWithOptions(request, runtime);
128799
+ }
128800
+
127636
128801
  /**
127637
128802
  * Advertises a VPN route to a VPC.
127638
128803
  *
@@ -131469,4 +132634,82 @@ export default class Client extends OpenApi {
131469
132634
  return await this.vpcDescribeVpcNatGatewayNetworkInterfaceQuotaWithOptions(request, runtime);
131470
132635
  }
131471
132636
 
132637
+ /**
132638
+ * 撤回VPC已发布路由
132639
+ *
132640
+ * @param request - WithdrawVpcPublishedRouteEntriesRequest
132641
+ * @param runtime - runtime options for this request RuntimeOptions
132642
+ * @returns WithdrawVpcPublishedRouteEntriesResponse
132643
+ */
132644
+ async withdrawVpcPublishedRouteEntriesWithOptions(request: WithdrawVpcPublishedRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<WithdrawVpcPublishedRouteEntriesResponse> {
132645
+ Util.validateModel(request);
132646
+ let query = { };
132647
+ if (!Util.isUnset(request.dryRun)) {
132648
+ query["DryRun"] = request.dryRun;
132649
+ }
132650
+
132651
+ if (!Util.isUnset(request.ownerAccount)) {
132652
+ query["OwnerAccount"] = request.ownerAccount;
132653
+ }
132654
+
132655
+ if (!Util.isUnset(request.ownerId)) {
132656
+ query["OwnerId"] = request.ownerId;
132657
+ }
132658
+
132659
+ if (!Util.isUnset(request.regionId)) {
132660
+ query["RegionId"] = request.regionId;
132661
+ }
132662
+
132663
+ if (!Util.isUnset(request.regionId)) {
132664
+ query["RegionId"] = request.regionId;
132665
+ }
132666
+
132667
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
132668
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
132669
+ }
132670
+
132671
+ if (!Util.isUnset(request.resourceOwnerId)) {
132672
+ query["ResourceOwnerId"] = request.resourceOwnerId;
132673
+ }
132674
+
132675
+ if (!Util.isUnset(request.routeEntries)) {
132676
+ query["RouteEntries"] = request.routeEntries;
132677
+ }
132678
+
132679
+ if (!Util.isUnset(request.targetInstanceId)) {
132680
+ query["TargetInstanceId"] = request.targetInstanceId;
132681
+ }
132682
+
132683
+ if (!Util.isUnset(request.targetType)) {
132684
+ query["TargetType"] = request.targetType;
132685
+ }
132686
+
132687
+ let req = new $OpenApi.OpenApiRequest({
132688
+ query: OpenApiUtil.query(query),
132689
+ });
132690
+ let params = new $OpenApi.Params({
132691
+ action: "WithdrawVpcPublishedRouteEntries",
132692
+ version: "2016-04-28",
132693
+ protocol: "HTTPS",
132694
+ pathname: "/",
132695
+ method: "POST",
132696
+ authType: "AK",
132697
+ style: "RPC",
132698
+ reqBodyType: "formData",
132699
+ bodyType: "json",
132700
+ });
132701
+ return $tea.cast<WithdrawVpcPublishedRouteEntriesResponse>(await this.callApi(params, req, runtime), new WithdrawVpcPublishedRouteEntriesResponse({}));
132702
+ }
132703
+
132704
+ /**
132705
+ * 撤回VPC已发布路由
132706
+ *
132707
+ * @param request - WithdrawVpcPublishedRouteEntriesRequest
132708
+ * @returns WithdrawVpcPublishedRouteEntriesResponse
132709
+ */
132710
+ async withdrawVpcPublishedRouteEntries(request: WithdrawVpcPublishedRouteEntriesRequest): Promise<WithdrawVpcPublishedRouteEntriesResponse> {
132711
+ let runtime = new $Util.RuntimeOptions({ });
132712
+ return await this.withdrawVpcPublishedRouteEntriesWithOptions(request, runtime);
132713
+ }
132714
+
131472
132715
  }