@alicloud/vpc20160428 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -8120,6 +8120,7 @@ export declare class DescribeNatGatewaysRequest extends $tea.Model {
8120
8120
  resourceOwnerId?: number;
8121
8121
  spec?: string;
8122
8122
  status?: string;
8123
+ tag?: DescribeNatGatewaysRequestTag[];
8123
8124
  vpcId?: string;
8124
8125
  zoneId?: string;
8125
8126
  static names(): {
@@ -10655,6 +10656,52 @@ export declare class GetDhcpOptionsSetResponse extends $tea.Model {
10655
10656
  [key: string]: any;
10656
10657
  });
10657
10658
  }
10659
+ export declare class GetFlowLogServiceStatusRequest extends $tea.Model {
10660
+ clientToken?: string;
10661
+ ownerAccount?: string;
10662
+ ownerId?: number;
10663
+ regionId?: string;
10664
+ resourceOwnerAccount?: string;
10665
+ resourceOwnerId?: number;
10666
+ static names(): {
10667
+ [key: string]: string;
10668
+ };
10669
+ static types(): {
10670
+ [key: string]: any;
10671
+ };
10672
+ constructor(map?: {
10673
+ [key: string]: any;
10674
+ });
10675
+ }
10676
+ export declare class GetFlowLogServiceStatusResponseBody extends $tea.Model {
10677
+ enabled?: boolean;
10678
+ requestId?: string;
10679
+ static names(): {
10680
+ [key: string]: string;
10681
+ };
10682
+ static types(): {
10683
+ [key: string]: any;
10684
+ };
10685
+ constructor(map?: {
10686
+ [key: string]: any;
10687
+ });
10688
+ }
10689
+ export declare class GetFlowLogServiceStatusResponse extends $tea.Model {
10690
+ headers: {
10691
+ [key: string]: string;
10692
+ };
10693
+ statusCode: number;
10694
+ body: GetFlowLogServiceStatusResponseBody;
10695
+ static names(): {
10696
+ [key: string]: string;
10697
+ };
10698
+ static types(): {
10699
+ [key: string]: any;
10700
+ };
10701
+ constructor(map?: {
10702
+ [key: string]: any;
10703
+ });
10704
+ }
10658
10705
  export declare class GetIpv4GatewayAttributeRequest extends $tea.Model {
10659
10706
  ipv4GatewayId?: string;
10660
10707
  ownerAccount?: string;
@@ -14621,6 +14668,51 @@ export declare class MoveResourceGroupResponse extends $tea.Model {
14621
14668
  [key: string]: any;
14622
14669
  });
14623
14670
  }
14671
+ export declare class OpenFlowLogServiceRequest extends $tea.Model {
14672
+ clientToken?: string;
14673
+ ownerAccount?: string;
14674
+ ownerId?: number;
14675
+ regionId?: string;
14676
+ resourceOwnerAccount?: string;
14677
+ resourceOwnerId?: number;
14678
+ static names(): {
14679
+ [key: string]: string;
14680
+ };
14681
+ static types(): {
14682
+ [key: string]: any;
14683
+ };
14684
+ constructor(map?: {
14685
+ [key: string]: any;
14686
+ });
14687
+ }
14688
+ export declare class OpenFlowLogServiceResponseBody extends $tea.Model {
14689
+ requestId?: string;
14690
+ static names(): {
14691
+ [key: string]: string;
14692
+ };
14693
+ static types(): {
14694
+ [key: string]: any;
14695
+ };
14696
+ constructor(map?: {
14697
+ [key: string]: any;
14698
+ });
14699
+ }
14700
+ export declare class OpenFlowLogServiceResponse extends $tea.Model {
14701
+ headers: {
14702
+ [key: string]: string;
14703
+ };
14704
+ statusCode: number;
14705
+ body: OpenFlowLogServiceResponseBody;
14706
+ static names(): {
14707
+ [key: string]: string;
14708
+ };
14709
+ static types(): {
14710
+ [key: string]: any;
14711
+ };
14712
+ constructor(map?: {
14713
+ [key: string]: any;
14714
+ });
14715
+ }
14624
14716
  export declare class OpenPhysicalConnectionServiceRequest extends $tea.Model {
14625
14717
  ownerAccount?: string;
14626
14718
  ownerId?: number;
@@ -17779,6 +17871,19 @@ export declare class DescribeIpv6GatewaysResponseBodyIpv6Gateways extends $tea.M
17779
17871
  [key: string]: any;
17780
17872
  });
17781
17873
  }
17874
+ export declare class DescribeNatGatewaysRequestTag extends $tea.Model {
17875
+ key?: string;
17876
+ value?: string;
17877
+ static names(): {
17878
+ [key: string]: string;
17879
+ };
17880
+ static types(): {
17881
+ [key: string]: any;
17882
+ };
17883
+ constructor(map?: {
17884
+ [key: string]: any;
17885
+ });
17886
+ }
17782
17887
  export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
17783
17888
  forwardTableId?: string[];
17784
17889
  static names(): {
@@ -17862,6 +17967,31 @@ export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTab
17862
17967
  [key: string]: any;
17863
17968
  });
17864
17969
  }
17970
+ export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag extends $tea.Model {
17971
+ tagKey?: string;
17972
+ tagValue?: string;
17973
+ static names(): {
17974
+ [key: string]: string;
17975
+ };
17976
+ static types(): {
17977
+ [key: string]: any;
17978
+ };
17979
+ constructor(map?: {
17980
+ [key: string]: any;
17981
+ });
17982
+ }
17983
+ export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $tea.Model {
17984
+ tag?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag[];
17985
+ static names(): {
17986
+ [key: string]: string;
17987
+ };
17988
+ static types(): {
17989
+ [key: string]: any;
17990
+ };
17991
+ constructor(map?: {
17992
+ [key: string]: any;
17993
+ });
17994
+ }
17865
17995
  export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
17866
17996
  autoPay?: boolean;
17867
17997
  businessStatus?: string;
@@ -17889,6 +18019,7 @@ export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extend
17889
18019
  snatTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds;
17890
18020
  spec?: string;
17891
18021
  status?: string;
18022
+ tags?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags;
17892
18023
  vpcId?: string;
17893
18024
  static names(): {
17894
18025
  [key: string]: string;
@@ -21208,6 +21339,8 @@ export default class Client extends OpenApi {
21208
21339
  enableVpcIpv4Gateway(request: EnableVpcIpv4GatewayRequest): Promise<EnableVpcIpv4GatewayResponse>;
21209
21340
  getDhcpOptionsSetWithOptions(request: GetDhcpOptionsSetRequest, runtime: $Util.RuntimeOptions): Promise<GetDhcpOptionsSetResponse>;
21210
21341
  getDhcpOptionsSet(request: GetDhcpOptionsSetRequest): Promise<GetDhcpOptionsSetResponse>;
21342
+ getFlowLogServiceStatusWithOptions(request: GetFlowLogServiceStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowLogServiceStatusResponse>;
21343
+ getFlowLogServiceStatus(request: GetFlowLogServiceStatusRequest): Promise<GetFlowLogServiceStatusResponse>;
21211
21344
  getIpv4GatewayAttributeWithOptions(request: GetIpv4GatewayAttributeRequest, runtime: $Util.RuntimeOptions): Promise<GetIpv4GatewayAttributeResponse>;
21212
21345
  getIpv4GatewayAttribute(request: GetIpv4GatewayAttributeRequest): Promise<GetIpv4GatewayAttributeResponse>;
21213
21346
  getNatGatewayAttributeWithOptions(request: GetNatGatewayAttributeRequest, runtime: $Util.RuntimeOptions): Promise<GetNatGatewayAttributeResponse>;
@@ -21362,6 +21495,8 @@ export default class Client extends OpenApi {
21362
21495
  modifyVpnRouteEntryWeight(request: ModifyVpnRouteEntryWeightRequest): Promise<ModifyVpnRouteEntryWeightResponse>;
21363
21496
  moveResourceGroupWithOptions(request: MoveResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<MoveResourceGroupResponse>;
21364
21497
  moveResourceGroup(request: MoveResourceGroupRequest): Promise<MoveResourceGroupResponse>;
21498
+ openFlowLogServiceWithOptions(request: OpenFlowLogServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenFlowLogServiceResponse>;
21499
+ openFlowLogService(request: OpenFlowLogServiceRequest): Promise<OpenFlowLogServiceResponse>;
21365
21500
  openPhysicalConnectionServiceWithOptions(request: OpenPhysicalConnectionServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenPhysicalConnectionServiceResponse>;
21366
21501
  openPhysicalConnectionService(request: OpenPhysicalConnectionServiceRequest): Promise<OpenPhysicalConnectionServiceResponse>;
21367
21502
  openTrafficMirrorServiceWithOptions(request: OpenTrafficMirrorServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenTrafficMirrorServiceResponse>;
package/dist/client.js CHANGED
@@ -11759,6 +11759,7 @@ class DescribeNatGatewaysRequest extends $tea.Model {
11759
11759
  resourceOwnerId: 'ResourceOwnerId',
11760
11760
  spec: 'Spec',
11761
11761
  status: 'Status',
11762
+ tag: 'Tag',
11762
11763
  vpcId: 'VpcId',
11763
11764
  zoneId: 'ZoneId',
11764
11765
  };
@@ -11781,6 +11782,7 @@ class DescribeNatGatewaysRequest extends $tea.Model {
11781
11782
  resourceOwnerId: 'number',
11782
11783
  spec: 'string',
11783
11784
  status: 'string',
11785
+ tag: { 'type': 'array', 'itemType': DescribeNatGatewaysRequestTag },
11784
11786
  vpcId: 'string',
11785
11787
  zoneId: 'string',
11786
11788
  };
@@ -15497,6 +15499,70 @@ class GetDhcpOptionsSetResponse extends $tea.Model {
15497
15499
  }
15498
15500
  }
15499
15501
  exports.GetDhcpOptionsSetResponse = GetDhcpOptionsSetResponse;
15502
+ class GetFlowLogServiceStatusRequest extends $tea.Model {
15503
+ constructor(map) {
15504
+ super(map);
15505
+ }
15506
+ static names() {
15507
+ return {
15508
+ clientToken: 'ClientToken',
15509
+ ownerAccount: 'OwnerAccount',
15510
+ ownerId: 'OwnerId',
15511
+ regionId: 'RegionId',
15512
+ resourceOwnerAccount: 'ResourceOwnerAccount',
15513
+ resourceOwnerId: 'ResourceOwnerId',
15514
+ };
15515
+ }
15516
+ static types() {
15517
+ return {
15518
+ clientToken: 'string',
15519
+ ownerAccount: 'string',
15520
+ ownerId: 'number',
15521
+ regionId: 'string',
15522
+ resourceOwnerAccount: 'string',
15523
+ resourceOwnerId: 'number',
15524
+ };
15525
+ }
15526
+ }
15527
+ exports.GetFlowLogServiceStatusRequest = GetFlowLogServiceStatusRequest;
15528
+ class GetFlowLogServiceStatusResponseBody extends $tea.Model {
15529
+ constructor(map) {
15530
+ super(map);
15531
+ }
15532
+ static names() {
15533
+ return {
15534
+ enabled: 'Enabled',
15535
+ requestId: 'RequestId',
15536
+ };
15537
+ }
15538
+ static types() {
15539
+ return {
15540
+ enabled: 'boolean',
15541
+ requestId: 'string',
15542
+ };
15543
+ }
15544
+ }
15545
+ exports.GetFlowLogServiceStatusResponseBody = GetFlowLogServiceStatusResponseBody;
15546
+ class GetFlowLogServiceStatusResponse extends $tea.Model {
15547
+ constructor(map) {
15548
+ super(map);
15549
+ }
15550
+ static names() {
15551
+ return {
15552
+ headers: 'headers',
15553
+ statusCode: 'statusCode',
15554
+ body: 'body',
15555
+ };
15556
+ }
15557
+ static types() {
15558
+ return {
15559
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15560
+ statusCode: 'number',
15561
+ body: GetFlowLogServiceStatusResponseBody,
15562
+ };
15563
+ }
15564
+ }
15565
+ exports.GetFlowLogServiceStatusResponse = GetFlowLogServiceStatusResponse;
15500
15566
  class GetIpv4GatewayAttributeRequest extends $tea.Model {
15501
15567
  constructor(map) {
15502
15568
  super(map);
@@ -21273,6 +21339,68 @@ class MoveResourceGroupResponse extends $tea.Model {
21273
21339
  }
21274
21340
  }
21275
21341
  exports.MoveResourceGroupResponse = MoveResourceGroupResponse;
21342
+ class OpenFlowLogServiceRequest extends $tea.Model {
21343
+ constructor(map) {
21344
+ super(map);
21345
+ }
21346
+ static names() {
21347
+ return {
21348
+ clientToken: 'ClientToken',
21349
+ ownerAccount: 'OwnerAccount',
21350
+ ownerId: 'OwnerId',
21351
+ regionId: 'RegionId',
21352
+ resourceOwnerAccount: 'ResourceOwnerAccount',
21353
+ resourceOwnerId: 'ResourceOwnerId',
21354
+ };
21355
+ }
21356
+ static types() {
21357
+ return {
21358
+ clientToken: 'string',
21359
+ ownerAccount: 'string',
21360
+ ownerId: 'number',
21361
+ regionId: 'string',
21362
+ resourceOwnerAccount: 'string',
21363
+ resourceOwnerId: 'number',
21364
+ };
21365
+ }
21366
+ }
21367
+ exports.OpenFlowLogServiceRequest = OpenFlowLogServiceRequest;
21368
+ class OpenFlowLogServiceResponseBody extends $tea.Model {
21369
+ constructor(map) {
21370
+ super(map);
21371
+ }
21372
+ static names() {
21373
+ return {
21374
+ requestId: 'RequestId',
21375
+ };
21376
+ }
21377
+ static types() {
21378
+ return {
21379
+ requestId: 'string',
21380
+ };
21381
+ }
21382
+ }
21383
+ exports.OpenFlowLogServiceResponseBody = OpenFlowLogServiceResponseBody;
21384
+ class OpenFlowLogServiceResponse extends $tea.Model {
21385
+ constructor(map) {
21386
+ super(map);
21387
+ }
21388
+ static names() {
21389
+ return {
21390
+ headers: 'headers',
21391
+ statusCode: 'statusCode',
21392
+ body: 'body',
21393
+ };
21394
+ }
21395
+ static types() {
21396
+ return {
21397
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21398
+ statusCode: 'number',
21399
+ body: OpenFlowLogServiceResponseBody,
21400
+ };
21401
+ }
21402
+ }
21403
+ exports.OpenFlowLogServiceResponse = OpenFlowLogServiceResponse;
21276
21404
  class OpenPhysicalConnectionServiceRequest extends $tea.Model {
21277
21405
  constructor(map) {
21278
21406
  super(map);
@@ -25835,6 +25963,24 @@ class DescribeIpv6GatewaysResponseBodyIpv6Gateways extends $tea.Model {
25835
25963
  }
25836
25964
  }
25837
25965
  exports.DescribeIpv6GatewaysResponseBodyIpv6Gateways = DescribeIpv6GatewaysResponseBodyIpv6Gateways;
25966
+ class DescribeNatGatewaysRequestTag extends $tea.Model {
25967
+ constructor(map) {
25968
+ super(map);
25969
+ }
25970
+ static names() {
25971
+ return {
25972
+ key: 'Key',
25973
+ value: 'Value',
25974
+ };
25975
+ }
25976
+ static types() {
25977
+ return {
25978
+ key: 'string',
25979
+ value: 'string',
25980
+ };
25981
+ }
25982
+ }
25983
+ exports.DescribeNatGatewaysRequestTag = DescribeNatGatewaysRequestTag;
25838
25984
  class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
25839
25985
  constructor(map) {
25840
25986
  super(map);
@@ -25953,6 +26099,40 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds extends $
25953
26099
  }
25954
26100
  }
25955
26101
  exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds;
26102
+ class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag extends $tea.Model {
26103
+ constructor(map) {
26104
+ super(map);
26105
+ }
26106
+ static names() {
26107
+ return {
26108
+ tagKey: 'TagKey',
26109
+ tagValue: 'TagValue',
26110
+ };
26111
+ }
26112
+ static types() {
26113
+ return {
26114
+ tagKey: 'string',
26115
+ tagValue: 'string',
26116
+ };
26117
+ }
26118
+ }
26119
+ exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag;
26120
+ class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $tea.Model {
26121
+ constructor(map) {
26122
+ super(map);
26123
+ }
26124
+ static names() {
26125
+ return {
26126
+ tag: 'Tag',
26127
+ };
26128
+ }
26129
+ static types() {
26130
+ return {
26131
+ tag: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag },
26132
+ };
26133
+ }
26134
+ }
26135
+ exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags;
25956
26136
  class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
25957
26137
  constructor(map) {
25958
26138
  super(map);
@@ -25985,6 +26165,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
25985
26165
  snatTableIds: 'SnatTableIds',
25986
26166
  spec: 'Spec',
25987
26167
  status: 'Status',
26168
+ tags: 'Tags',
25988
26169
  vpcId: 'VpcId',
25989
26170
  };
25990
26171
  }
@@ -26016,6 +26197,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
26016
26197
  snatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds,
26017
26198
  spec: 'string',
26018
26199
  status: 'string',
26200
+ tags: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags,
26019
26201
  vpcId: 'string',
26020
26202
  };
26021
26203
  }
@@ -39127,6 +39309,9 @@ class Client extends openapi_client_1.default {
39127
39309
  if (!tea_util_1.default.isUnset(request.status)) {
39128
39310
  query["Status"] = request.status;
39129
39311
  }
39312
+ if (!tea_util_1.default.isUnset(request.tag)) {
39313
+ query["Tag"] = request.tag;
39314
+ }
39130
39315
  if (!tea_util_1.default.isUnset(request.vpcId)) {
39131
39316
  query["VpcId"] = request.vpcId;
39132
39317
  }
@@ -41470,6 +41655,50 @@ class Client extends openapi_client_1.default {
41470
41655
  let runtime = new $Util.RuntimeOptions({});
41471
41656
  return await this.getDhcpOptionsSetWithOptions(request, runtime);
41472
41657
  }
41658
+ async getFlowLogServiceStatusWithOptions(request, runtime) {
41659
+ tea_util_1.default.validateModel(request);
41660
+ let query = {};
41661
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
41662
+ query["ClientToken"] = request.clientToken;
41663
+ }
41664
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
41665
+ query["OwnerAccount"] = request.ownerAccount;
41666
+ }
41667
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
41668
+ query["OwnerId"] = request.ownerId;
41669
+ }
41670
+ if (!tea_util_1.default.isUnset(request.regionId)) {
41671
+ query["RegionId"] = request.regionId;
41672
+ }
41673
+ if (!tea_util_1.default.isUnset(request.regionId)) {
41674
+ query["RegionId"] = request.regionId;
41675
+ }
41676
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
41677
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
41678
+ }
41679
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
41680
+ query["ResourceOwnerId"] = request.resourceOwnerId;
41681
+ }
41682
+ let req = new $OpenApi.OpenApiRequest({
41683
+ query: openapi_util_1.default.query(query),
41684
+ });
41685
+ let params = new $OpenApi.Params({
41686
+ action: "GetFlowLogServiceStatus",
41687
+ version: "2016-04-28",
41688
+ protocol: "HTTPS",
41689
+ pathname: "/",
41690
+ method: "POST",
41691
+ authType: "AK",
41692
+ style: "RPC",
41693
+ reqBodyType: "formData",
41694
+ bodyType: "json",
41695
+ });
41696
+ return $tea.cast(await this.callApi(params, req, runtime), new GetFlowLogServiceStatusResponse({}));
41697
+ }
41698
+ async getFlowLogServiceStatus(request) {
41699
+ let runtime = new $Util.RuntimeOptions({});
41700
+ return await this.getFlowLogServiceStatusWithOptions(request, runtime);
41701
+ }
41473
41702
  async getIpv4GatewayAttributeWithOptions(request, runtime) {
41474
41703
  tea_util_1.default.validateModel(request);
41475
41704
  let query = {};
@@ -45614,6 +45843,50 @@ class Client extends openapi_client_1.default {
45614
45843
  let runtime = new $Util.RuntimeOptions({});
45615
45844
  return await this.moveResourceGroupWithOptions(request, runtime);
45616
45845
  }
45846
+ async openFlowLogServiceWithOptions(request, runtime) {
45847
+ tea_util_1.default.validateModel(request);
45848
+ let query = {};
45849
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
45850
+ query["ClientToken"] = request.clientToken;
45851
+ }
45852
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
45853
+ query["OwnerAccount"] = request.ownerAccount;
45854
+ }
45855
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
45856
+ query["OwnerId"] = request.ownerId;
45857
+ }
45858
+ if (!tea_util_1.default.isUnset(request.regionId)) {
45859
+ query["RegionId"] = request.regionId;
45860
+ }
45861
+ if (!tea_util_1.default.isUnset(request.regionId)) {
45862
+ query["RegionId"] = request.regionId;
45863
+ }
45864
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
45865
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
45866
+ }
45867
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
45868
+ query["ResourceOwnerId"] = request.resourceOwnerId;
45869
+ }
45870
+ let req = new $OpenApi.OpenApiRequest({
45871
+ query: openapi_util_1.default.query(query),
45872
+ });
45873
+ let params = new $OpenApi.Params({
45874
+ action: "OpenFlowLogService",
45875
+ version: "2016-04-28",
45876
+ protocol: "HTTPS",
45877
+ pathname: "/",
45878
+ method: "POST",
45879
+ authType: "AK",
45880
+ style: "RPC",
45881
+ reqBodyType: "formData",
45882
+ bodyType: "json",
45883
+ });
45884
+ return $tea.cast(await this.callApi(params, req, runtime), new OpenFlowLogServiceResponse({}));
45885
+ }
45886
+ async openFlowLogService(request) {
45887
+ let runtime = new $Util.RuntimeOptions({});
45888
+ return await this.openFlowLogServiceWithOptions(request, runtime);
45889
+ }
45617
45890
  async openPhysicalConnectionServiceWithOptions(request, runtime) {
45618
45891
  tea_util_1.default.validateModel(request);
45619
45892
  let query = {};