@alicloud/vpc20160428 6.5.4 → 6.6.1

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
@@ -1998,7 +1998,7 @@ export class AllocateEipSegmentAddressRequest extends $tea.Model {
1998
1998
  eipMask?: string;
1999
1999
  /**
2000
2000
  * @remarks
2001
- * The metering method of the contiguous EIP group. Valid values:
2001
+ * The metering method of contiguous EIPs. Valid values:
2002
2002
  *
2003
2003
  * * **PayByBandwidth** (default)
2004
2004
  * * **PayByTraffic**
@@ -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
  */
@@ -16819,6 +16865,7 @@ export class CreateVpcRequest extends $tea.Model {
16819
16865
  * false
16820
16866
  */
16821
16867
  dryRun?: boolean;
16868
+ enableDnsHostname?: boolean;
16822
16869
  /**
16823
16870
  * @remarks
16824
16871
  * Specifies whether to enable IPv6. Valid values:
@@ -16919,6 +16966,7 @@ export class CreateVpcRequest extends $tea.Model {
16919
16966
  clientToken: 'ClientToken',
16920
16967
  description: 'Description',
16921
16968
  dryRun: 'DryRun',
16969
+ enableDnsHostname: 'EnableDnsHostname',
16922
16970
  enableIpv6: 'EnableIpv6',
16923
16971
  ipv4CidrMask: 'Ipv4CidrMask',
16924
16972
  ipv4IpamPoolId: 'Ipv4IpamPoolId',
@@ -16942,6 +16990,7 @@ export class CreateVpcRequest extends $tea.Model {
16942
16990
  clientToken: 'string',
16943
16991
  description: 'string',
16944
16992
  dryRun: 'boolean',
16993
+ enableDnsHostname: 'boolean',
16945
16994
  enableIpv6: 'boolean',
16946
16995
  ipv4CidrMask: 'number',
16947
16996
  ipv4IpamPoolId: 'string',
@@ -32795,6 +32844,167 @@ export class DescribeIpv6GatewaysResponse extends $tea.Model {
32795
32844
  }
32796
32845
  }
32797
32846
 
32847
+ export class DescribeNatGatewayAssociateNetworkInterfacesRequest extends $tea.Model {
32848
+ /**
32849
+ * @example
32850
+ * 5A2CFF0E-5718-45B5-9D4D-70B3FF****
32851
+ */
32852
+ clientToken?: string;
32853
+ filter?: DescribeNatGatewayAssociateNetworkInterfacesRequestFilter[];
32854
+ /**
32855
+ * @example
32856
+ * 20
32857
+ */
32858
+ maxResults?: number;
32859
+ /**
32860
+ * @remarks
32861
+ * This parameter is required.
32862
+ *
32863
+ * @example
32864
+ * ngw-bp1uewa15k4iy5770****
32865
+ */
32866
+ natGatewayId?: string;
32867
+ /**
32868
+ * @example
32869
+ * caeba0bbb2be03f84eb48b699f0a****
32870
+ */
32871
+ nextToken?: string;
32872
+ ownerAccount?: string;
32873
+ ownerId?: number;
32874
+ /**
32875
+ * @remarks
32876
+ * This parameter is required.
32877
+ *
32878
+ * @example
32879
+ * cn-hangzhou
32880
+ */
32881
+ regionId?: string;
32882
+ /**
32883
+ * @example
32884
+ * rg-acfmxazdjdhd****
32885
+ */
32886
+ resourceGroupId?: string;
32887
+ resourceOwnerAccount?: string;
32888
+ resourceOwnerId?: number;
32889
+ tag?: DescribeNatGatewayAssociateNetworkInterfacesRequestTag[];
32890
+ static names(): { [key: string]: string } {
32891
+ return {
32892
+ clientToken: 'ClientToken',
32893
+ filter: 'Filter',
32894
+ maxResults: 'MaxResults',
32895
+ natGatewayId: 'NatGatewayId',
32896
+ nextToken: 'NextToken',
32897
+ ownerAccount: 'OwnerAccount',
32898
+ ownerId: 'OwnerId',
32899
+ regionId: 'RegionId',
32900
+ resourceGroupId: 'ResourceGroupId',
32901
+ resourceOwnerAccount: 'ResourceOwnerAccount',
32902
+ resourceOwnerId: 'ResourceOwnerId',
32903
+ tag: 'Tag',
32904
+ };
32905
+ }
32906
+
32907
+ static types(): { [key: string]: any } {
32908
+ return {
32909
+ clientToken: 'string',
32910
+ filter: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesRequestFilter },
32911
+ maxResults: 'number',
32912
+ natGatewayId: 'string',
32913
+ nextToken: 'string',
32914
+ ownerAccount: 'string',
32915
+ ownerId: 'number',
32916
+ regionId: 'string',
32917
+ resourceGroupId: 'string',
32918
+ resourceOwnerAccount: 'string',
32919
+ resourceOwnerId: 'number',
32920
+ tag: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesRequestTag },
32921
+ };
32922
+ }
32923
+
32924
+ constructor(map?: { [key: string]: any }) {
32925
+ super(map);
32926
+ }
32927
+ }
32928
+
32929
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBody extends $tea.Model {
32930
+ associateNetworkInterfaces?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces;
32931
+ /**
32932
+ * @example
32933
+ * 20
32934
+ */
32935
+ maxResults?: number;
32936
+ /**
32937
+ * @example
32938
+ * ngw-bp1uewa15k4iy5770****
32939
+ */
32940
+ natGatewayId?: string;
32941
+ /**
32942
+ * @example
32943
+ * caeba0bbb2be03f84eb48b699f0a****
32944
+ */
32945
+ nextToken?: string;
32946
+ /**
32947
+ * @example
32948
+ * 2315DEB7-5E92-423A-91F7-4C1EC9AD****
32949
+ */
32950
+ requestId?: string;
32951
+ /**
32952
+ * @example
32953
+ * 1
32954
+ */
32955
+ totalCount?: number;
32956
+ static names(): { [key: string]: string } {
32957
+ return {
32958
+ associateNetworkInterfaces: 'AssociateNetworkInterfaces',
32959
+ maxResults: 'MaxResults',
32960
+ natGatewayId: 'NatGatewayId',
32961
+ nextToken: 'NextToken',
32962
+ requestId: 'RequestId',
32963
+ totalCount: 'TotalCount',
32964
+ };
32965
+ }
32966
+
32967
+ static types(): { [key: string]: any } {
32968
+ return {
32969
+ associateNetworkInterfaces: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces,
32970
+ maxResults: 'number',
32971
+ natGatewayId: 'string',
32972
+ nextToken: 'string',
32973
+ requestId: 'string',
32974
+ totalCount: 'number',
32975
+ };
32976
+ }
32977
+
32978
+ constructor(map?: { [key: string]: any }) {
32979
+ super(map);
32980
+ }
32981
+ }
32982
+
32983
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponse extends $tea.Model {
32984
+ headers?: { [key: string]: string };
32985
+ statusCode?: number;
32986
+ body?: DescribeNatGatewayAssociateNetworkInterfacesResponseBody;
32987
+ static names(): { [key: string]: string } {
32988
+ return {
32989
+ headers: 'headers',
32990
+ statusCode: 'statusCode',
32991
+ body: 'body',
32992
+ };
32993
+ }
32994
+
32995
+ static types(): { [key: string]: any } {
32996
+ return {
32997
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
32998
+ statusCode: 'number',
32999
+ body: DescribeNatGatewayAssociateNetworkInterfacesResponseBody,
33000
+ };
33001
+ }
33002
+
33003
+ constructor(map?: { [key: string]: any }) {
33004
+ super(map);
33005
+ }
33006
+ }
33007
+
32798
33008
  export class DescribeNatGatewaysRequest extends $tea.Model {
32799
33009
  /**
32800
33010
  * @remarks
@@ -38911,6 +39121,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
38911
39121
  * Available
38912
39122
  */
38913
39123
  dhcpOptionsSetStatus?: string;
39124
+ dnsHostnameStatus?: string;
38914
39125
  /**
38915
39126
  * @remarks
38916
39127
  * Indicates whether the VPC enables IPv6 .
@@ -39062,6 +39273,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
39062
39273
  description: 'Description',
39063
39274
  dhcpOptionsSetId: 'DhcpOptionsSetId',
39064
39275
  dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
39276
+ dnsHostnameStatus: 'DnsHostnameStatus',
39065
39277
  enabledIpv6: 'EnabledIpv6',
39066
39278
  ipv4GatewayId: 'Ipv4GatewayId',
39067
39279
  ipv6CidrBlock: 'Ipv6CidrBlock',
@@ -39094,6 +39306,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
39094
39306
  description: 'string',
39095
39307
  dhcpOptionsSetId: 'string',
39096
39308
  dhcpOptionsSetStatus: 'string',
39309
+ dnsHostnameStatus: 'string',
39097
39310
  enabledIpv6: 'boolean',
39098
39311
  ipv4GatewayId: 'string',
39099
39312
  ipv6CidrBlock: 'string',
@@ -50688,6 +50901,147 @@ export class ListVpcGatewayEndpointsResponse extends $tea.Model {
50688
50901
  }
50689
50902
  }
50690
50903
 
50904
+ export class ListVpcPublishedRouteEntriesRequest extends $tea.Model {
50905
+ /**
50906
+ * @example
50907
+ * 47.100.XX.XX/16
50908
+ */
50909
+ destinationCidrBlock?: string;
50910
+ /**
50911
+ * @example
50912
+ * 50
50913
+ */
50914
+ maxResults?: number;
50915
+ /**
50916
+ * @example
50917
+ * FFmyTO70tTpLG6I3FmYAXGKPd****
50918
+ */
50919
+ nextToken?: string;
50920
+ ownerAccount?: string;
50921
+ ownerId?: number;
50922
+ /**
50923
+ * @example
50924
+ * cn-hangzhou
50925
+ */
50926
+ regionId?: string;
50927
+ resourceOwnerAccount?: string;
50928
+ resourceOwnerId?: number;
50929
+ /**
50930
+ * @remarks
50931
+ * This parameter is required.
50932
+ *
50933
+ * @example
50934
+ * vtb-bp145q7glnuzd****
50935
+ */
50936
+ routeTableId?: string;
50937
+ /**
50938
+ * @example
50939
+ * ecr-dhw2xsds5****
50940
+ */
50941
+ targetInstanceId?: string;
50942
+ /**
50943
+ * @remarks
50944
+ * This parameter is required.
50945
+ *
50946
+ * @example
50947
+ * ECR
50948
+ */
50949
+ targetType?: string;
50950
+ static names(): { [key: string]: string } {
50951
+ return {
50952
+ destinationCidrBlock: 'DestinationCidrBlock',
50953
+ maxResults: 'MaxResults',
50954
+ nextToken: 'NextToken',
50955
+ ownerAccount: 'OwnerAccount',
50956
+ ownerId: 'OwnerId',
50957
+ regionId: 'RegionId',
50958
+ resourceOwnerAccount: 'ResourceOwnerAccount',
50959
+ resourceOwnerId: 'ResourceOwnerId',
50960
+ routeTableId: 'RouteTableId',
50961
+ targetInstanceId: 'TargetInstanceId',
50962
+ targetType: 'TargetType',
50963
+ };
50964
+ }
50965
+
50966
+ static types(): { [key: string]: any } {
50967
+ return {
50968
+ destinationCidrBlock: 'string',
50969
+ maxResults: 'number',
50970
+ nextToken: 'string',
50971
+ ownerAccount: 'string',
50972
+ ownerId: 'number',
50973
+ regionId: 'string',
50974
+ resourceOwnerAccount: 'string',
50975
+ resourceOwnerId: 'number',
50976
+ routeTableId: 'string',
50977
+ targetInstanceId: 'string',
50978
+ targetType: 'string',
50979
+ };
50980
+ }
50981
+
50982
+ constructor(map?: { [key: string]: any }) {
50983
+ super(map);
50984
+ }
50985
+ }
50986
+
50987
+ export class ListVpcPublishedRouteEntriesResponseBody extends $tea.Model {
50988
+ /**
50989
+ * @example
50990
+ * FFmyTO70tTpLG6I3FmYAXGKPd****
50991
+ */
50992
+ nextToken?: string;
50993
+ /**
50994
+ * @example
50995
+ * 1D0971B2-A35A-42C1-A44C-E91360C36C0B
50996
+ */
50997
+ requestId?: string;
50998
+ routeEntries?: ListVpcPublishedRouteEntriesResponseBodyRouteEntries[];
50999
+ static names(): { [key: string]: string } {
51000
+ return {
51001
+ nextToken: 'NextToken',
51002
+ requestId: 'RequestId',
51003
+ routeEntries: 'RouteEntries',
51004
+ };
51005
+ }
51006
+
51007
+ static types(): { [key: string]: any } {
51008
+ return {
51009
+ nextToken: 'string',
51010
+ requestId: 'string',
51011
+ routeEntries: { 'type': 'array', 'itemType': ListVpcPublishedRouteEntriesResponseBodyRouteEntries },
51012
+ };
51013
+ }
51014
+
51015
+ constructor(map?: { [key: string]: any }) {
51016
+ super(map);
51017
+ }
51018
+ }
51019
+
51020
+ export class ListVpcPublishedRouteEntriesResponse extends $tea.Model {
51021
+ headers?: { [key: string]: string };
51022
+ statusCode?: number;
51023
+ body?: ListVpcPublishedRouteEntriesResponseBody;
51024
+ static names(): { [key: string]: string } {
51025
+ return {
51026
+ headers: 'headers',
51027
+ statusCode: 'statusCode',
51028
+ body: 'body',
51029
+ };
51030
+ }
51031
+
51032
+ static types(): { [key: string]: any } {
51033
+ return {
51034
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51035
+ statusCode: 'number',
51036
+ body: ListVpcPublishedRouteEntriesResponseBody,
51037
+ };
51038
+ }
51039
+
51040
+ constructor(map?: { [key: string]: any }) {
51041
+ super(map);
51042
+ }
51043
+ }
51044
+
50691
51045
  export class ListVpnCertificateAssociationsRequest extends $tea.Model {
50692
51046
  /**
50693
51047
  * @remarks
@@ -58788,6 +59142,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
58788
59142
  * This is my VPC.
58789
59143
  */
58790
59144
  description?: string;
59145
+ enableDnsHostname?: boolean;
58791
59146
  /**
58792
59147
  * @remarks
58793
59148
  * Specifies whether to enable IPv6 CIDR blocks. Valid values:
@@ -58860,6 +59215,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
58860
59215
  return {
58861
59216
  cidrBlock: 'CidrBlock',
58862
59217
  description: 'Description',
59218
+ enableDnsHostname: 'EnableDnsHostname',
58863
59219
  enableIPv6: 'EnableIPv6',
58864
59220
  ipv6CidrBlock: 'Ipv6CidrBlock',
58865
59221
  ipv6Isp: 'Ipv6Isp',
@@ -58877,6 +59233,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
58877
59233
  return {
58878
59234
  cidrBlock: 'string',
58879
59235
  description: 'string',
59236
+ enableDnsHostname: 'boolean',
58880
59237
  enableIPv6: 'boolean',
58881
59238
  ipv6CidrBlock: 'string',
58882
59239
  ipv6Isp: 'string',
@@ -62190,6 +62547,119 @@ export class OpenTrafficMirrorServiceResponse extends $tea.Model {
62190
62547
  }
62191
62548
  }
62192
62549
 
62550
+ export class PublishVpcRouteEntriesRequest extends $tea.Model {
62551
+ /**
62552
+ * @example
62553
+ * false
62554
+ */
62555
+ dryRun?: boolean;
62556
+ ownerAccount?: string;
62557
+ ownerId?: number;
62558
+ /**
62559
+ * @example
62560
+ * cn-hangzhou
62561
+ */
62562
+ regionId?: string;
62563
+ resourceOwnerAccount?: string;
62564
+ resourceOwnerId?: number;
62565
+ routeEntries?: PublishVpcRouteEntriesRequestRouteEntries[];
62566
+ /**
62567
+ * @remarks
62568
+ * This parameter is required.
62569
+ *
62570
+ * @example
62571
+ * ecr-dhw2xsds5****
62572
+ */
62573
+ targetInstanceId?: string;
62574
+ /**
62575
+ * @remarks
62576
+ * This parameter is required.
62577
+ *
62578
+ * @example
62579
+ * ECR
62580
+ */
62581
+ targetType?: string;
62582
+ static names(): { [key: string]: string } {
62583
+ return {
62584
+ dryRun: 'DryRun',
62585
+ ownerAccount: 'OwnerAccount',
62586
+ ownerId: 'OwnerId',
62587
+ regionId: 'RegionId',
62588
+ resourceOwnerAccount: 'ResourceOwnerAccount',
62589
+ resourceOwnerId: 'ResourceOwnerId',
62590
+ routeEntries: 'RouteEntries',
62591
+ targetInstanceId: 'TargetInstanceId',
62592
+ targetType: 'TargetType',
62593
+ };
62594
+ }
62595
+
62596
+ static types(): { [key: string]: any } {
62597
+ return {
62598
+ dryRun: 'boolean',
62599
+ ownerAccount: 'string',
62600
+ ownerId: 'number',
62601
+ regionId: 'string',
62602
+ resourceOwnerAccount: 'string',
62603
+ resourceOwnerId: 'number',
62604
+ routeEntries: { 'type': 'array', 'itemType': PublishVpcRouteEntriesRequestRouteEntries },
62605
+ targetInstanceId: 'string',
62606
+ targetType: 'string',
62607
+ };
62608
+ }
62609
+
62610
+ constructor(map?: { [key: string]: any }) {
62611
+ super(map);
62612
+ }
62613
+ }
62614
+
62615
+ export class PublishVpcRouteEntriesResponseBody extends $tea.Model {
62616
+ /**
62617
+ * @example
62618
+ * 980960B0-2969-40BF-8542-EBB34FD358AB
62619
+ */
62620
+ requestId?: string;
62621
+ static names(): { [key: string]: string } {
62622
+ return {
62623
+ requestId: 'RequestId',
62624
+ };
62625
+ }
62626
+
62627
+ static types(): { [key: string]: any } {
62628
+ return {
62629
+ requestId: 'string',
62630
+ };
62631
+ }
62632
+
62633
+ constructor(map?: { [key: string]: any }) {
62634
+ super(map);
62635
+ }
62636
+ }
62637
+
62638
+ export class PublishVpcRouteEntriesResponse extends $tea.Model {
62639
+ headers?: { [key: string]: string };
62640
+ statusCode?: number;
62641
+ body?: PublishVpcRouteEntriesResponseBody;
62642
+ static names(): { [key: string]: string } {
62643
+ return {
62644
+ headers: 'headers',
62645
+ statusCode: 'statusCode',
62646
+ body: 'body',
62647
+ };
62648
+ }
62649
+
62650
+ static types(): { [key: string]: any } {
62651
+ return {
62652
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
62653
+ statusCode: 'number',
62654
+ body: PublishVpcRouteEntriesResponseBody,
62655
+ };
62656
+ }
62657
+
62658
+ constructor(map?: { [key: string]: any }) {
62659
+ super(map);
62660
+ }
62661
+ }
62662
+
62193
62663
  export class PublishVpnRouteEntryRequest extends $tea.Model {
62194
62664
  /**
62195
62665
  * @remarks
@@ -69154,6 +69624,119 @@ export class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $tea.
69154
69624
  }
69155
69625
  }
69156
69626
 
69627
+ export class WithdrawVpcPublishedRouteEntriesRequest extends $tea.Model {
69628
+ /**
69629
+ * @example
69630
+ * false
69631
+ */
69632
+ dryRun?: boolean;
69633
+ ownerAccount?: string;
69634
+ ownerId?: number;
69635
+ /**
69636
+ * @example
69637
+ * cn-hangzhou
69638
+ */
69639
+ regionId?: string;
69640
+ resourceOwnerAccount?: string;
69641
+ resourceOwnerId?: number;
69642
+ routeEntries?: WithdrawVpcPublishedRouteEntriesRequestRouteEntries[];
69643
+ /**
69644
+ * @remarks
69645
+ * This parameter is required.
69646
+ *
69647
+ * @example
69648
+ * ecr-dhw2xsds5****
69649
+ */
69650
+ targetInstanceId?: string;
69651
+ /**
69652
+ * @remarks
69653
+ * This parameter is required.
69654
+ *
69655
+ * @example
69656
+ * ECR
69657
+ */
69658
+ targetType?: string;
69659
+ static names(): { [key: string]: string } {
69660
+ return {
69661
+ dryRun: 'DryRun',
69662
+ ownerAccount: 'OwnerAccount',
69663
+ ownerId: 'OwnerId',
69664
+ regionId: 'RegionId',
69665
+ resourceOwnerAccount: 'ResourceOwnerAccount',
69666
+ resourceOwnerId: 'ResourceOwnerId',
69667
+ routeEntries: 'RouteEntries',
69668
+ targetInstanceId: 'TargetInstanceId',
69669
+ targetType: 'TargetType',
69670
+ };
69671
+ }
69672
+
69673
+ static types(): { [key: string]: any } {
69674
+ return {
69675
+ dryRun: 'boolean',
69676
+ ownerAccount: 'string',
69677
+ ownerId: 'number',
69678
+ regionId: 'string',
69679
+ resourceOwnerAccount: 'string',
69680
+ resourceOwnerId: 'number',
69681
+ routeEntries: { 'type': 'array', 'itemType': WithdrawVpcPublishedRouteEntriesRequestRouteEntries },
69682
+ targetInstanceId: 'string',
69683
+ targetType: 'string',
69684
+ };
69685
+ }
69686
+
69687
+ constructor(map?: { [key: string]: any }) {
69688
+ super(map);
69689
+ }
69690
+ }
69691
+
69692
+ export class WithdrawVpcPublishedRouteEntriesResponseBody extends $tea.Model {
69693
+ /**
69694
+ * @example
69695
+ * 0ED8D006-F706-4D23-88ED-E11ED28DCAC0
69696
+ */
69697
+ requestId?: string;
69698
+ static names(): { [key: string]: string } {
69699
+ return {
69700
+ requestId: 'RequestId',
69701
+ };
69702
+ }
69703
+
69704
+ static types(): { [key: string]: any } {
69705
+ return {
69706
+ requestId: 'string',
69707
+ };
69708
+ }
69709
+
69710
+ constructor(map?: { [key: string]: any }) {
69711
+ super(map);
69712
+ }
69713
+ }
69714
+
69715
+ export class WithdrawVpcPublishedRouteEntriesResponse extends $tea.Model {
69716
+ headers?: { [key: string]: string };
69717
+ statusCode?: number;
69718
+ body?: WithdrawVpcPublishedRouteEntriesResponseBody;
69719
+ static names(): { [key: string]: string } {
69720
+ return {
69721
+ headers: 'headers',
69722
+ statusCode: 'statusCode',
69723
+ body: 'body',
69724
+ };
69725
+ }
69726
+
69727
+ static types(): { [key: string]: any } {
69728
+ return {
69729
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
69730
+ statusCode: 'number',
69731
+ body: WithdrawVpcPublishedRouteEntriesResponseBody,
69732
+ };
69733
+ }
69734
+
69735
+ constructor(map?: { [key: string]: any }) {
69736
+ super(map);
69737
+ }
69738
+ }
69739
+
69157
69740
  export class AllocateIpv6AddressRequestTag extends $tea.Model {
69158
69741
  /**
69159
69742
  * @remarks
@@ -78495,6 +79078,181 @@ export class DescribeIpv6GatewaysResponseBodyIpv6Gateways extends $tea.Model {
78495
79078
  }
78496
79079
  }
78497
79080
 
79081
+ export class DescribeNatGatewayAssociateNetworkInterfacesRequestFilter extends $tea.Model {
79082
+ /**
79083
+ * @example
79084
+ * ResourceId
79085
+ */
79086
+ key?: string;
79087
+ /**
79088
+ * @example
79089
+ * ep-8psre8c8936596cd****
79090
+ */
79091
+ value?: string;
79092
+ static names(): { [key: string]: string } {
79093
+ return {
79094
+ key: 'Key',
79095
+ value: 'Value',
79096
+ };
79097
+ }
79098
+
79099
+ static types(): { [key: string]: any } {
79100
+ return {
79101
+ key: 'string',
79102
+ value: 'string',
79103
+ };
79104
+ }
79105
+
79106
+ constructor(map?: { [key: string]: any }) {
79107
+ super(map);
79108
+ }
79109
+ }
79110
+
79111
+ export class DescribeNatGatewayAssociateNetworkInterfacesRequestTag extends $tea.Model {
79112
+ /**
79113
+ * @example
79114
+ * FinanceDept
79115
+ */
79116
+ key?: string;
79117
+ /**
79118
+ * @example
79119
+ * FinanceJoshua
79120
+ */
79121
+ value?: string;
79122
+ static names(): { [key: string]: string } {
79123
+ return {
79124
+ key: 'Key',
79125
+ value: 'Value',
79126
+ };
79127
+ }
79128
+
79129
+ static types(): { [key: string]: any } {
79130
+ return {
79131
+ key: 'string',
79132
+ value: 'string',
79133
+ };
79134
+ }
79135
+
79136
+ constructor(map?: { [key: string]: any }) {
79137
+ super(map);
79138
+ }
79139
+ }
79140
+
79141
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set extends $tea.Model {
79142
+ /**
79143
+ * @example
79144
+ * 172.17.\*\*.**
79145
+ */
79146
+ IPv4Address?: string;
79147
+ /**
79148
+ * @example
79149
+ * true
79150
+ */
79151
+ primary?: boolean;
79152
+ static names(): { [key: string]: string } {
79153
+ return {
79154
+ IPv4Address: 'IPv4Address',
79155
+ primary: 'Primary',
79156
+ };
79157
+ }
79158
+
79159
+ static types(): { [key: string]: any } {
79160
+ return {
79161
+ IPv4Address: 'string',
79162
+ primary: 'boolean',
79163
+ };
79164
+ }
79165
+
79166
+ constructor(map?: { [key: string]: any }) {
79167
+ super(map);
79168
+ }
79169
+ }
79170
+
79171
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets extends $tea.Model {
79172
+ IPv4Set?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set[];
79173
+ static names(): { [key: string]: string } {
79174
+ return {
79175
+ IPv4Set: 'IPv4Set',
79176
+ };
79177
+ }
79178
+
79179
+ static types(): { [key: string]: any } {
79180
+ return {
79181
+ IPv4Set: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set },
79182
+ };
79183
+ }
79184
+
79185
+ constructor(map?: { [key: string]: any }) {
79186
+ super(map);
79187
+ }
79188
+ }
79189
+
79190
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface extends $tea.Model {
79191
+ IPv4Sets?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets;
79192
+ /**
79193
+ * @example
79194
+ * eni-gw8g131ef2dnbu3k****
79195
+ */
79196
+ networkInterfaceId?: string;
79197
+ /**
79198
+ * @example
79199
+ * ep-8psre8c8936596cd****
79200
+ */
79201
+ resourceId?: string;
79202
+ /**
79203
+ * @example
79204
+ * 138859086900****
79205
+ */
79206
+ resourceOwnerId?: string;
79207
+ /**
79208
+ * @example
79209
+ * PrivateLink
79210
+ */
79211
+ resourceType?: string;
79212
+ static names(): { [key: string]: string } {
79213
+ return {
79214
+ IPv4Sets: 'IPv4Sets',
79215
+ networkInterfaceId: 'NetworkInterfaceId',
79216
+ resourceId: 'ResourceId',
79217
+ resourceOwnerId: 'ResourceOwnerId',
79218
+ resourceType: 'ResourceType',
79219
+ };
79220
+ }
79221
+
79222
+ static types(): { [key: string]: any } {
79223
+ return {
79224
+ IPv4Sets: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets,
79225
+ networkInterfaceId: 'string',
79226
+ resourceId: 'string',
79227
+ resourceOwnerId: 'string',
79228
+ resourceType: 'string',
79229
+ };
79230
+ }
79231
+
79232
+ constructor(map?: { [key: string]: any }) {
79233
+ super(map);
79234
+ }
79235
+ }
79236
+
79237
+ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces extends $tea.Model {
79238
+ associateNetworkInterface?: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface[];
79239
+ static names(): { [key: string]: string } {
79240
+ return {
79241
+ associateNetworkInterface: 'AssociateNetworkInterface',
79242
+ };
79243
+ }
79244
+
79245
+ static types(): { [key: string]: any } {
79246
+ return {
79247
+ associateNetworkInterface: { 'type': 'array', 'itemType': DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface },
79248
+ };
79249
+ }
79250
+
79251
+ constructor(map?: { [key: string]: any }) {
79252
+ super(map);
79253
+ }
79254
+ }
79255
+
78498
79256
  export class DescribeNatGatewaysRequestTag extends $tea.Model {
78499
79257
  /**
78500
79258
  * @remarks
@@ -86529,6 +87287,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
86529
87287
  * Available
86530
87288
  */
86531
87289
  dhcpOptionsSetStatus?: string;
87290
+ dnsHostnameStatus?: string;
86532
87291
  enabledIpv6?: boolean;
86533
87292
  /**
86534
87293
  * @remarks
@@ -86653,6 +87412,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
86653
87412
  description: 'Description',
86654
87413
  dhcpOptionsSetId: 'DhcpOptionsSetId',
86655
87414
  dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
87415
+ dnsHostnameStatus: 'DnsHostnameStatus',
86656
87416
  enabledIpv6: 'EnabledIpv6',
86657
87417
  ipv6CidrBlock: 'Ipv6CidrBlock',
86658
87418
  ipv6CidrBlocks: 'Ipv6CidrBlocks',
@@ -86681,6 +87441,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
86681
87441
  description: 'string',
86682
87442
  dhcpOptionsSetId: 'string',
86683
87443
  dhcpOptionsSetStatus: 'string',
87444
+ dnsHostnameStatus: 'string',
86684
87445
  enabledIpv6: 'boolean',
86685
87446
  ipv6CidrBlock: 'string',
86686
87447
  ipv6CidrBlocks: DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks,
@@ -95817,6 +96578,76 @@ export class ListVpcGatewayEndpointsResponseBodyEndpoints extends $tea.Model {
95817
96578
  }
95818
96579
  }
95819
96580
 
96581
+ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTargets extends $tea.Model {
96582
+ /**
96583
+ * @example
96584
+ * Published
96585
+ */
96586
+ publishStatus?: string;
96587
+ /**
96588
+ * @example
96589
+ * ECR
96590
+ */
96591
+ publishTargetType?: string;
96592
+ static names(): { [key: string]: string } {
96593
+ return {
96594
+ publishStatus: 'PublishStatus',
96595
+ publishTargetType: 'PublishTargetType',
96596
+ };
96597
+ }
96598
+
96599
+ static types(): { [key: string]: any } {
96600
+ return {
96601
+ publishStatus: 'string',
96602
+ publishTargetType: 'string',
96603
+ };
96604
+ }
96605
+
96606
+ constructor(map?: { [key: string]: any }) {
96607
+ super(map);
96608
+ }
96609
+ }
96610
+
96611
+ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntries extends $tea.Model {
96612
+ /**
96613
+ * @example
96614
+ * 10.0.0.0/24
96615
+ */
96616
+ destinationCidrBlock?: string;
96617
+ /**
96618
+ * @example
96619
+ * rte-bp1mnnr2al0naomnpv****
96620
+ */
96621
+ routeEntryId?: string;
96622
+ routePublishTargets?: ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTargets[];
96623
+ /**
96624
+ * @example
96625
+ * vtb-2ze3jgygk9bmsj23s****
96626
+ */
96627
+ routeTableId?: string;
96628
+ static names(): { [key: string]: string } {
96629
+ return {
96630
+ destinationCidrBlock: 'DestinationCidrBlock',
96631
+ routeEntryId: 'RouteEntryId',
96632
+ routePublishTargets: 'RoutePublishTargets',
96633
+ routeTableId: 'RouteTableId',
96634
+ };
96635
+ }
96636
+
96637
+ static types(): { [key: string]: any } {
96638
+ return {
96639
+ destinationCidrBlock: 'string',
96640
+ routeEntryId: 'string',
96641
+ routePublishTargets: { 'type': 'array', 'itemType': ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTargets },
96642
+ routeTableId: 'string',
96643
+ };
96644
+ }
96645
+
96646
+ constructor(map?: { [key: string]: any }) {
96647
+ super(map);
96648
+ }
96649
+ }
96650
+
95820
96651
  export class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations extends $tea.Model {
95821
96652
  /**
95822
96653
  * @remarks
@@ -98011,6 +98842,42 @@ export class ModifyVpnConnectionAttributeResponseBodyVpnBgpConfig extends $tea.M
98011
98842
  }
98012
98843
  }
98013
98844
 
98845
+ export class PublishVpcRouteEntriesRequestRouteEntries extends $tea.Model {
98846
+ /**
98847
+ * @remarks
98848
+ * This parameter is required.
98849
+ *
98850
+ * @example
98851
+ * 121.41.165.123/32
98852
+ */
98853
+ destinationCidrBlock?: string;
98854
+ /**
98855
+ * @remarks
98856
+ * This parameter is required.
98857
+ *
98858
+ * @example
98859
+ * vtb-2ze3jgygk9bmsj23s****
98860
+ */
98861
+ routeTableId?: string;
98862
+ static names(): { [key: string]: string } {
98863
+ return {
98864
+ destinationCidrBlock: 'DestinationCidrBlock',
98865
+ routeTableId: 'RouteTableId',
98866
+ };
98867
+ }
98868
+
98869
+ static types(): { [key: string]: any } {
98870
+ return {
98871
+ destinationCidrBlock: 'string',
98872
+ routeTableId: 'string',
98873
+ };
98874
+ }
98875
+
98876
+ constructor(map?: { [key: string]: any }) {
98877
+ super(map);
98878
+ }
98879
+ }
98880
+
98014
98881
  export class SecondApplyPhysicalConnectionLOARequestPMInfo extends $tea.Model {
98015
98882
  /**
98016
98883
  * @remarks
@@ -98458,6 +99325,42 @@ export class UpdateNetworkAclEntriesRequestIngressAclEntries extends $tea.Model
98458
99325
  }
98459
99326
  }
98460
99327
 
99328
+ export class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends $tea.Model {
99329
+ /**
99330
+ * @remarks
99331
+ * This parameter is required.
99332
+ *
99333
+ * @example
99334
+ * 10.0.0.0/24
99335
+ */
99336
+ destinationCidrBlock?: string;
99337
+ /**
99338
+ * @remarks
99339
+ * This parameter is required.
99340
+ *
99341
+ * @example
99342
+ * vtb-bp145q7glnuzd****
99343
+ */
99344
+ routeTableId?: string;
99345
+ static names(): { [key: string]: string } {
99346
+ return {
99347
+ destinationCidrBlock: 'DestinationCidrBlock',
99348
+ routeTableId: 'RouteTableId',
99349
+ };
99350
+ }
99351
+
99352
+ static types(): { [key: string]: any } {
99353
+ return {
99354
+ destinationCidrBlock: 'string',
99355
+ routeTableId: 'string',
99356
+ };
99357
+ }
99358
+
99359
+ constructor(map?: { [key: string]: any }) {
99360
+ super(map);
99361
+ }
99362
+ }
99363
+
98461
99364
 
98462
99365
  export default class Client extends OpenApi {
98463
99366
 
@@ -102864,7 +103767,17 @@ export default class Client extends OpenApi {
102864
103767
  }
102865
103768
 
102866
103769
  /**
102867
- * 创建故障演练任务
103770
+ * Creates a failover test.
103771
+ *
103772
+ * @remarks
103773
+ * You cannot create a failover test in the following scenarios:
103774
+ * * You have created a failover test in the region and its type is StartNow.
103775
+ * * The Express Connect circuit or hosted connection has pending orders or overdue payments.
103776
+ * * A failover test is already performed on the Express Connect circuit or hosted connection.
103777
+ * * More than one hosted connection is created over the Express Connect circuit.
103778
+ * * More than one cross-account VBR is created on the Express Connect circuit.
103779
+ * * No VBR is associated with the hosted connection.
103780
+ * * The VLAN ID of the hosted connection is set to 0.
102868
103781
  *
102869
103782
  * @param request - CreateFailoverTestJobRequest
102870
103783
  * @param runtime - runtime options for this request RuntimeOptions
@@ -102943,7 +103856,17 @@ export default class Client extends OpenApi {
102943
103856
  }
102944
103857
 
102945
103858
  /**
102946
- * 创建故障演练任务
103859
+ * Creates a failover test.
103860
+ *
103861
+ * @remarks
103862
+ * You cannot create a failover test in the following scenarios:
103863
+ * * You have created a failover test in the region and its type is StartNow.
103864
+ * * The Express Connect circuit or hosted connection has pending orders or overdue payments.
103865
+ * * A failover test is already performed on the Express Connect circuit or hosted connection.
103866
+ * * More than one hosted connection is created over the Express Connect circuit.
103867
+ * * More than one cross-account VBR is created on the Express Connect circuit.
103868
+ * * No VBR is associated with the hosted connection.
103869
+ * * The VLAN ID of the hosted connection is set to 0.
102947
103870
  *
102948
103871
  * @param request - CreateFailoverTestJobRequest
102949
103872
  * @returns CreateFailoverTestJobResponse
@@ -104826,7 +105749,7 @@ export default class Client extends OpenApi {
104826
105749
  }
104827
105750
 
104828
105751
  /**
104829
- * Creates an order for resource usage fees.
105752
+ * Creates an order for resource occupation of an Express Connect circuit.
104830
105753
  *
104831
105754
  * @remarks
104832
105755
  * > You can call this operation only when the Express Connect circuit is in the **Complete** state.
@@ -104900,7 +105823,7 @@ export default class Client extends OpenApi {
104900
105823
  }
104901
105824
 
104902
105825
  /**
104903
- * Creates an order for resource usage fees.
105826
+ * Creates an order for resource occupation of an Express Connect circuit.
104904
105827
  *
104905
105828
  * @remarks
104906
105829
  * > You can call this operation only when the Express Connect circuit is in the **Complete** state.
@@ -106927,6 +107850,10 @@ export default class Client extends OpenApi {
106927
107850
  query["DryRun"] = request.dryRun;
106928
107851
  }
106929
107852
 
107853
+ if (!Util.isUnset(request.enableDnsHostname)) {
107854
+ query["EnableDnsHostname"] = request.enableDnsHostname;
107855
+ }
107856
+
106930
107857
  if (!Util.isUnset(request.enableIpv6)) {
106931
107858
  query["EnableIpv6"] = request.enableIpv6;
106932
107859
  }
@@ -115056,6 +115983,96 @@ export default class Client extends OpenApi {
115056
115983
  return await this.describeIpv6GatewaysWithOptions(request, runtime);
115057
115984
  }
115058
115985
 
115986
+ /**
115987
+ * 查询NAT已绑定ENI信息
115988
+ *
115989
+ * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
115990
+ * @param runtime - runtime options for this request RuntimeOptions
115991
+ * @returns DescribeNatGatewayAssociateNetworkInterfacesResponse
115992
+ */
115993
+ async describeNatGatewayAssociateNetworkInterfacesWithOptions(request: DescribeNatGatewayAssociateNetworkInterfacesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNatGatewayAssociateNetworkInterfacesResponse> {
115994
+ Util.validateModel(request);
115995
+ let query = { };
115996
+ if (!Util.isUnset(request.clientToken)) {
115997
+ query["ClientToken"] = request.clientToken;
115998
+ }
115999
+
116000
+ if (!Util.isUnset(request.filter)) {
116001
+ query["Filter"] = request.filter;
116002
+ }
116003
+
116004
+ if (!Util.isUnset(request.maxResults)) {
116005
+ query["MaxResults"] = request.maxResults;
116006
+ }
116007
+
116008
+ if (!Util.isUnset(request.natGatewayId)) {
116009
+ query["NatGatewayId"] = request.natGatewayId;
116010
+ }
116011
+
116012
+ if (!Util.isUnset(request.nextToken)) {
116013
+ query["NextToken"] = request.nextToken;
116014
+ }
116015
+
116016
+ if (!Util.isUnset(request.ownerAccount)) {
116017
+ query["OwnerAccount"] = request.ownerAccount;
116018
+ }
116019
+
116020
+ if (!Util.isUnset(request.ownerId)) {
116021
+ query["OwnerId"] = request.ownerId;
116022
+ }
116023
+
116024
+ if (!Util.isUnset(request.regionId)) {
116025
+ query["RegionId"] = request.regionId;
116026
+ }
116027
+
116028
+ if (!Util.isUnset(request.regionId)) {
116029
+ query["RegionId"] = request.regionId;
116030
+ }
116031
+
116032
+ if (!Util.isUnset(request.resourceGroupId)) {
116033
+ query["ResourceGroupId"] = request.resourceGroupId;
116034
+ }
116035
+
116036
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
116037
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
116038
+ }
116039
+
116040
+ if (!Util.isUnset(request.resourceOwnerId)) {
116041
+ query["ResourceOwnerId"] = request.resourceOwnerId;
116042
+ }
116043
+
116044
+ if (!Util.isUnset(request.tag)) {
116045
+ query["Tag"] = request.tag;
116046
+ }
116047
+
116048
+ let req = new $OpenApi.OpenApiRequest({
116049
+ query: OpenApiUtil.query(query),
116050
+ });
116051
+ let params = new $OpenApi.Params({
116052
+ action: "DescribeNatGatewayAssociateNetworkInterfaces",
116053
+ version: "2016-04-28",
116054
+ protocol: "HTTPS",
116055
+ pathname: "/",
116056
+ method: "POST",
116057
+ authType: "AK",
116058
+ style: "RPC",
116059
+ reqBodyType: "formData",
116060
+ bodyType: "json",
116061
+ });
116062
+ return $tea.cast<DescribeNatGatewayAssociateNetworkInterfacesResponse>(await this.callApi(params, req, runtime), new DescribeNatGatewayAssociateNetworkInterfacesResponse({}));
116063
+ }
116064
+
116065
+ /**
116066
+ * 查询NAT已绑定ENI信息
116067
+ *
116068
+ * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
116069
+ * @returns DescribeNatGatewayAssociateNetworkInterfacesResponse
116070
+ */
116071
+ async describeNatGatewayAssociateNetworkInterfaces(request: DescribeNatGatewayAssociateNetworkInterfacesRequest): Promise<DescribeNatGatewayAssociateNetworkInterfacesResponse> {
116072
+ let runtime = new $Util.RuntimeOptions({ });
116073
+ return await this.describeNatGatewayAssociateNetworkInterfacesWithOptions(request, runtime);
116074
+ }
116075
+
115059
116076
  /**
115060
116077
  * Queries NAT gateways that meet specific conditions in a specified region.
115061
116078
  *
@@ -122152,6 +123169,92 @@ export default class Client extends OpenApi {
122152
123169
  return await this.listVpcGatewayEndpointsWithOptions(request, runtime);
122153
123170
  }
122154
123171
 
123172
+ /**
123173
+ * 查询路由发布情况
123174
+ *
123175
+ * @param request - ListVpcPublishedRouteEntriesRequest
123176
+ * @param runtime - runtime options for this request RuntimeOptions
123177
+ * @returns ListVpcPublishedRouteEntriesResponse
123178
+ */
123179
+ async listVpcPublishedRouteEntriesWithOptions(request: ListVpcPublishedRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<ListVpcPublishedRouteEntriesResponse> {
123180
+ Util.validateModel(request);
123181
+ let query = { };
123182
+ if (!Util.isUnset(request.destinationCidrBlock)) {
123183
+ query["DestinationCidrBlock"] = request.destinationCidrBlock;
123184
+ }
123185
+
123186
+ if (!Util.isUnset(request.maxResults)) {
123187
+ query["MaxResults"] = request.maxResults;
123188
+ }
123189
+
123190
+ if (!Util.isUnset(request.nextToken)) {
123191
+ query["NextToken"] = request.nextToken;
123192
+ }
123193
+
123194
+ if (!Util.isUnset(request.ownerAccount)) {
123195
+ query["OwnerAccount"] = request.ownerAccount;
123196
+ }
123197
+
123198
+ if (!Util.isUnset(request.ownerId)) {
123199
+ query["OwnerId"] = request.ownerId;
123200
+ }
123201
+
123202
+ if (!Util.isUnset(request.regionId)) {
123203
+ query["RegionId"] = request.regionId;
123204
+ }
123205
+
123206
+ if (!Util.isUnset(request.regionId)) {
123207
+ query["RegionId"] = request.regionId;
123208
+ }
123209
+
123210
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
123211
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
123212
+ }
123213
+
123214
+ if (!Util.isUnset(request.resourceOwnerId)) {
123215
+ query["ResourceOwnerId"] = request.resourceOwnerId;
123216
+ }
123217
+
123218
+ if (!Util.isUnset(request.routeTableId)) {
123219
+ query["RouteTableId"] = request.routeTableId;
123220
+ }
123221
+
123222
+ if (!Util.isUnset(request.targetInstanceId)) {
123223
+ query["TargetInstanceId"] = request.targetInstanceId;
123224
+ }
123225
+
123226
+ if (!Util.isUnset(request.targetType)) {
123227
+ query["TargetType"] = request.targetType;
123228
+ }
123229
+
123230
+ let req = new $OpenApi.OpenApiRequest({
123231
+ query: OpenApiUtil.query(query),
123232
+ });
123233
+ let params = new $OpenApi.Params({
123234
+ action: "ListVpcPublishedRouteEntries",
123235
+ version: "2016-04-28",
123236
+ protocol: "HTTPS",
123237
+ pathname: "/",
123238
+ method: "POST",
123239
+ authType: "AK",
123240
+ style: "RPC",
123241
+ reqBodyType: "formData",
123242
+ bodyType: "json",
123243
+ });
123244
+ return $tea.cast<ListVpcPublishedRouteEntriesResponse>(await this.callApi(params, req, runtime), new ListVpcPublishedRouteEntriesResponse({}));
123245
+ }
123246
+
123247
+ /**
123248
+ * 查询路由发布情况
123249
+ *
123250
+ * @param request - ListVpcPublishedRouteEntriesRequest
123251
+ * @returns ListVpcPublishedRouteEntriesResponse
123252
+ */
123253
+ async listVpcPublishedRouteEntries(request: ListVpcPublishedRouteEntriesRequest): Promise<ListVpcPublishedRouteEntriesResponse> {
123254
+ let runtime = new $Util.RuntimeOptions({ });
123255
+ return await this.listVpcPublishedRouteEntriesWithOptions(request, runtime);
123256
+ }
123257
+
122155
123258
  /**
122156
123259
  * Queries the association between VPN gateways and certificates in a region.
122157
123260
  *
@@ -126248,6 +127351,10 @@ export default class Client extends OpenApi {
126248
127351
  query["Description"] = request.description;
126249
127352
  }
126250
127353
 
127354
+ if (!Util.isUnset(request.enableDnsHostname)) {
127355
+ query["EnableDnsHostname"] = request.enableDnsHostname;
127356
+ }
127357
+
126251
127358
  if (!Util.isUnset(request.enableIPv6)) {
126252
127359
  query["EnableIPv6"] = request.enableIPv6;
126253
127360
  }
@@ -127633,6 +128740,84 @@ export default class Client extends OpenApi {
127633
128740
  return await this.openTrafficMirrorServiceWithOptions(request, runtime);
127634
128741
  }
127635
128742
 
128743
+ /**
128744
+ * 发布VPC路由
128745
+ *
128746
+ * @param request - PublishVpcRouteEntriesRequest
128747
+ * @param runtime - runtime options for this request RuntimeOptions
128748
+ * @returns PublishVpcRouteEntriesResponse
128749
+ */
128750
+ async publishVpcRouteEntriesWithOptions(request: PublishVpcRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<PublishVpcRouteEntriesResponse> {
128751
+ Util.validateModel(request);
128752
+ let query = { };
128753
+ if (!Util.isUnset(request.dryRun)) {
128754
+ query["DryRun"] = request.dryRun;
128755
+ }
128756
+
128757
+ if (!Util.isUnset(request.ownerAccount)) {
128758
+ query["OwnerAccount"] = request.ownerAccount;
128759
+ }
128760
+
128761
+ if (!Util.isUnset(request.ownerId)) {
128762
+ query["OwnerId"] = request.ownerId;
128763
+ }
128764
+
128765
+ if (!Util.isUnset(request.regionId)) {
128766
+ query["RegionId"] = request.regionId;
128767
+ }
128768
+
128769
+ if (!Util.isUnset(request.regionId)) {
128770
+ query["RegionId"] = request.regionId;
128771
+ }
128772
+
128773
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
128774
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
128775
+ }
128776
+
128777
+ if (!Util.isUnset(request.resourceOwnerId)) {
128778
+ query["ResourceOwnerId"] = request.resourceOwnerId;
128779
+ }
128780
+
128781
+ if (!Util.isUnset(request.routeEntries)) {
128782
+ query["RouteEntries"] = request.routeEntries;
128783
+ }
128784
+
128785
+ if (!Util.isUnset(request.targetInstanceId)) {
128786
+ query["TargetInstanceId"] = request.targetInstanceId;
128787
+ }
128788
+
128789
+ if (!Util.isUnset(request.targetType)) {
128790
+ query["TargetType"] = request.targetType;
128791
+ }
128792
+
128793
+ let req = new $OpenApi.OpenApiRequest({
128794
+ query: OpenApiUtil.query(query),
128795
+ });
128796
+ let params = new $OpenApi.Params({
128797
+ action: "PublishVpcRouteEntries",
128798
+ version: "2016-04-28",
128799
+ protocol: "HTTPS",
128800
+ pathname: "/",
128801
+ method: "POST",
128802
+ authType: "AK",
128803
+ style: "RPC",
128804
+ reqBodyType: "formData",
128805
+ bodyType: "json",
128806
+ });
128807
+ return $tea.cast<PublishVpcRouteEntriesResponse>(await this.callApi(params, req, runtime), new PublishVpcRouteEntriesResponse({}));
128808
+ }
128809
+
128810
+ /**
128811
+ * 发布VPC路由
128812
+ *
128813
+ * @param request - PublishVpcRouteEntriesRequest
128814
+ * @returns PublishVpcRouteEntriesResponse
128815
+ */
128816
+ async publishVpcRouteEntries(request: PublishVpcRouteEntriesRequest): Promise<PublishVpcRouteEntriesResponse> {
128817
+ let runtime = new $Util.RuntimeOptions({ });
128818
+ return await this.publishVpcRouteEntriesWithOptions(request, runtime);
128819
+ }
128820
+
127636
128821
  /**
127637
128822
  * Advertises a VPN route to a VPC.
127638
128823
  *
@@ -131469,4 +132654,82 @@ export default class Client extends OpenApi {
131469
132654
  return await this.vpcDescribeVpcNatGatewayNetworkInterfaceQuotaWithOptions(request, runtime);
131470
132655
  }
131471
132656
 
132657
+ /**
132658
+ * 撤回VPC已发布路由
132659
+ *
132660
+ * @param request - WithdrawVpcPublishedRouteEntriesRequest
132661
+ * @param runtime - runtime options for this request RuntimeOptions
132662
+ * @returns WithdrawVpcPublishedRouteEntriesResponse
132663
+ */
132664
+ async withdrawVpcPublishedRouteEntriesWithOptions(request: WithdrawVpcPublishedRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<WithdrawVpcPublishedRouteEntriesResponse> {
132665
+ Util.validateModel(request);
132666
+ let query = { };
132667
+ if (!Util.isUnset(request.dryRun)) {
132668
+ query["DryRun"] = request.dryRun;
132669
+ }
132670
+
132671
+ if (!Util.isUnset(request.ownerAccount)) {
132672
+ query["OwnerAccount"] = request.ownerAccount;
132673
+ }
132674
+
132675
+ if (!Util.isUnset(request.ownerId)) {
132676
+ query["OwnerId"] = request.ownerId;
132677
+ }
132678
+
132679
+ if (!Util.isUnset(request.regionId)) {
132680
+ query["RegionId"] = request.regionId;
132681
+ }
132682
+
132683
+ if (!Util.isUnset(request.regionId)) {
132684
+ query["RegionId"] = request.regionId;
132685
+ }
132686
+
132687
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
132688
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
132689
+ }
132690
+
132691
+ if (!Util.isUnset(request.resourceOwnerId)) {
132692
+ query["ResourceOwnerId"] = request.resourceOwnerId;
132693
+ }
132694
+
132695
+ if (!Util.isUnset(request.routeEntries)) {
132696
+ query["RouteEntries"] = request.routeEntries;
132697
+ }
132698
+
132699
+ if (!Util.isUnset(request.targetInstanceId)) {
132700
+ query["TargetInstanceId"] = request.targetInstanceId;
132701
+ }
132702
+
132703
+ if (!Util.isUnset(request.targetType)) {
132704
+ query["TargetType"] = request.targetType;
132705
+ }
132706
+
132707
+ let req = new $OpenApi.OpenApiRequest({
132708
+ query: OpenApiUtil.query(query),
132709
+ });
132710
+ let params = new $OpenApi.Params({
132711
+ action: "WithdrawVpcPublishedRouteEntries",
132712
+ version: "2016-04-28",
132713
+ protocol: "HTTPS",
132714
+ pathname: "/",
132715
+ method: "POST",
132716
+ authType: "AK",
132717
+ style: "RPC",
132718
+ reqBodyType: "formData",
132719
+ bodyType: "json",
132720
+ });
132721
+ return $tea.cast<WithdrawVpcPublishedRouteEntriesResponse>(await this.callApi(params, req, runtime), new WithdrawVpcPublishedRouteEntriesResponse({}));
132722
+ }
132723
+
132724
+ /**
132725
+ * 撤回VPC已发布路由
132726
+ *
132727
+ * @param request - WithdrawVpcPublishedRouteEntriesRequest
132728
+ * @returns WithdrawVpcPublishedRouteEntriesResponse
132729
+ */
132730
+ async withdrawVpcPublishedRouteEntries(request: WithdrawVpcPublishedRouteEntriesRequest): Promise<WithdrawVpcPublishedRouteEntriesResponse> {
132731
+ let runtime = new $Util.RuntimeOptions({ });
132732
+ return await this.withdrawVpcPublishedRouteEntriesWithOptions(request, runtime);
132733
+ }
132734
+
131472
132735
  }