@alicloud/cloudapi20160714 2.1.2 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cloudapi20160714",
3
- "version": "2.1.2",
3
+ "version": "2.1.5",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -833,12 +833,14 @@ export class CreateAppResponse extends $tea.Model {
833
833
  export class CreateBackendRequest extends $tea.Model {
834
834
  backendName?: string;
835
835
  backendType?: string;
836
+ createEventBridgeServiceLinkedRole?: boolean;
836
837
  description?: string;
837
838
  securityToken?: string;
838
839
  static names(): { [key: string]: string } {
839
840
  return {
840
841
  backendName: 'BackendName',
841
842
  backendType: 'BackendType',
843
+ createEventBridgeServiceLinkedRole: 'CreateEventBridgeServiceLinkedRole',
842
844
  description: 'Description',
843
845
  securityToken: 'SecurityToken',
844
846
  };
@@ -848,6 +850,7 @@ export class CreateBackendRequest extends $tea.Model {
848
850
  return {
849
851
  backendName: 'string',
850
852
  backendType: 'string',
853
+ createEventBridgeServiceLinkedRole: 'boolean',
851
854
  description: 'string',
852
855
  securityToken: 'string',
853
856
  };
@@ -8377,6 +8380,171 @@ export class ModifyApiResponse extends $tea.Model {
8377
8380
  }
8378
8381
  }
8379
8382
 
8383
+ export class ModifyApiConfigurationRequest extends $tea.Model {
8384
+ allowSignatureMethod?: string;
8385
+ apiId?: string;
8386
+ apiName?: string;
8387
+ appCodeAuthType?: string;
8388
+ authType?: string;
8389
+ backendName?: string;
8390
+ bodyFormat?: string;
8391
+ bodyModel?: string;
8392
+ contentTypeCategory?: string;
8393
+ contentTypeValue?: string;
8394
+ description?: string;
8395
+ disableInternet?: boolean;
8396
+ errorCodeSamples?: string;
8397
+ failResultSample?: string;
8398
+ forceNonceCheck?: boolean;
8399
+ functionComputeConfig?: string;
8400
+ httpConfig?: string;
8401
+ mockConfig?: string;
8402
+ modelName?: string;
8403
+ ossConfig?: string;
8404
+ postBodyDescription?: string;
8405
+ requestHttpMethod?: string;
8406
+ requestMode?: string;
8407
+ requestParameters?: string;
8408
+ requestPath?: string;
8409
+ requestProtocol?: string;
8410
+ resultSample?: string;
8411
+ resultType?: string;
8412
+ securityToken?: string;
8413
+ serviceParameters?: string;
8414
+ serviceParametersMap?: string;
8415
+ serviceProtocol?: string;
8416
+ serviceTimeout?: number;
8417
+ useBackendService?: boolean;
8418
+ visibility?: string;
8419
+ vpcConfig?: string;
8420
+ static names(): { [key: string]: string } {
8421
+ return {
8422
+ allowSignatureMethod: 'AllowSignatureMethod',
8423
+ apiId: 'ApiId',
8424
+ apiName: 'ApiName',
8425
+ appCodeAuthType: 'AppCodeAuthType',
8426
+ authType: 'AuthType',
8427
+ backendName: 'BackendName',
8428
+ bodyFormat: 'BodyFormat',
8429
+ bodyModel: 'BodyModel',
8430
+ contentTypeCategory: 'ContentTypeCategory',
8431
+ contentTypeValue: 'ContentTypeValue',
8432
+ description: 'Description',
8433
+ disableInternet: 'DisableInternet',
8434
+ errorCodeSamples: 'ErrorCodeSamples',
8435
+ failResultSample: 'FailResultSample',
8436
+ forceNonceCheck: 'ForceNonceCheck',
8437
+ functionComputeConfig: 'FunctionComputeConfig',
8438
+ httpConfig: 'HttpConfig',
8439
+ mockConfig: 'MockConfig',
8440
+ modelName: 'ModelName',
8441
+ ossConfig: 'OssConfig',
8442
+ postBodyDescription: 'PostBodyDescription',
8443
+ requestHttpMethod: 'RequestHttpMethod',
8444
+ requestMode: 'RequestMode',
8445
+ requestParameters: 'RequestParameters',
8446
+ requestPath: 'RequestPath',
8447
+ requestProtocol: 'RequestProtocol',
8448
+ resultSample: 'ResultSample',
8449
+ resultType: 'ResultType',
8450
+ securityToken: 'SecurityToken',
8451
+ serviceParameters: 'ServiceParameters',
8452
+ serviceParametersMap: 'ServiceParametersMap',
8453
+ serviceProtocol: 'ServiceProtocol',
8454
+ serviceTimeout: 'ServiceTimeout',
8455
+ useBackendService: 'UseBackendService',
8456
+ visibility: 'Visibility',
8457
+ vpcConfig: 'VpcConfig',
8458
+ };
8459
+ }
8460
+
8461
+ static types(): { [key: string]: any } {
8462
+ return {
8463
+ allowSignatureMethod: 'string',
8464
+ apiId: 'string',
8465
+ apiName: 'string',
8466
+ appCodeAuthType: 'string',
8467
+ authType: 'string',
8468
+ backendName: 'string',
8469
+ bodyFormat: 'string',
8470
+ bodyModel: 'string',
8471
+ contentTypeCategory: 'string',
8472
+ contentTypeValue: 'string',
8473
+ description: 'string',
8474
+ disableInternet: 'boolean',
8475
+ errorCodeSamples: 'string',
8476
+ failResultSample: 'string',
8477
+ forceNonceCheck: 'boolean',
8478
+ functionComputeConfig: 'string',
8479
+ httpConfig: 'string',
8480
+ mockConfig: 'string',
8481
+ modelName: 'string',
8482
+ ossConfig: 'string',
8483
+ postBodyDescription: 'string',
8484
+ requestHttpMethod: 'string',
8485
+ requestMode: 'string',
8486
+ requestParameters: 'string',
8487
+ requestPath: 'string',
8488
+ requestProtocol: 'string',
8489
+ resultSample: 'string',
8490
+ resultType: 'string',
8491
+ securityToken: 'string',
8492
+ serviceParameters: 'string',
8493
+ serviceParametersMap: 'string',
8494
+ serviceProtocol: 'string',
8495
+ serviceTimeout: 'number',
8496
+ useBackendService: 'boolean',
8497
+ visibility: 'string',
8498
+ vpcConfig: 'string',
8499
+ };
8500
+ }
8501
+
8502
+ constructor(map?: { [key: string]: any }) {
8503
+ super(map);
8504
+ }
8505
+ }
8506
+
8507
+ export class ModifyApiConfigurationResponseBody extends $tea.Model {
8508
+ requestId?: string;
8509
+ static names(): { [key: string]: string } {
8510
+ return {
8511
+ requestId: 'RequestId',
8512
+ };
8513
+ }
8514
+
8515
+ static types(): { [key: string]: any } {
8516
+ return {
8517
+ requestId: 'string',
8518
+ };
8519
+ }
8520
+
8521
+ constructor(map?: { [key: string]: any }) {
8522
+ super(map);
8523
+ }
8524
+ }
8525
+
8526
+ export class ModifyApiConfigurationResponse extends $tea.Model {
8527
+ headers: { [key: string]: string };
8528
+ body: ModifyApiConfigurationResponseBody;
8529
+ static names(): { [key: string]: string } {
8530
+ return {
8531
+ headers: 'headers',
8532
+ body: 'body',
8533
+ };
8534
+ }
8535
+
8536
+ static types(): { [key: string]: any } {
8537
+ return {
8538
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8539
+ body: ModifyApiConfigurationResponseBody,
8540
+ };
8541
+ }
8542
+
8543
+ constructor(map?: { [key: string]: any }) {
8544
+ super(map);
8545
+ }
8546
+ }
8547
+
8380
8548
  export class ModifyApiGroupRequest extends $tea.Model {
8381
8549
  basePath?: string;
8382
8550
  compatibleFlags?: string;
@@ -10936,6 +11104,7 @@ export class SetVpcAccessRequest extends $tea.Model {
10936
11104
  port?: number;
10937
11105
  securityToken?: string;
10938
11106
  vpcId?: string;
11107
+ vpcTargetHostName?: string;
10939
11108
  static names(): { [key: string]: string } {
10940
11109
  return {
10941
11110
  description: 'Description',
@@ -10944,6 +11113,7 @@ export class SetVpcAccessRequest extends $tea.Model {
10944
11113
  port: 'Port',
10945
11114
  securityToken: 'SecurityToken',
10946
11115
  vpcId: 'VpcId',
11116
+ vpcTargetHostName: 'VpcTargetHostName',
10947
11117
  };
10948
11118
  }
10949
11119
 
@@ -10955,6 +11125,7 @@ export class SetVpcAccessRequest extends $tea.Model {
10955
11125
  port: 'number',
10956
11126
  securityToken: 'string',
10957
11127
  vpcId: 'string',
11128
+ vpcTargetHostName: 'string',
10958
11129
  };
10959
11130
  }
10960
11131
 
@@ -11994,6 +12165,34 @@ export class DescribeApiResponseBodyResultDescriptions extends $tea.Model {
11994
12165
  }
11995
12166
  }
11996
12167
 
12168
+ export class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
12169
+ eventBridgeRegionId?: string;
12170
+ eventBus?: string;
12171
+ eventSource?: string;
12172
+ roleArn?: string;
12173
+ static names(): { [key: string]: string } {
12174
+ return {
12175
+ eventBridgeRegionId: 'EventBridgeRegionId',
12176
+ eventBus: 'EventBus',
12177
+ eventSource: 'EventSource',
12178
+ roleArn: 'RoleArn',
12179
+ };
12180
+ }
12181
+
12182
+ static types(): { [key: string]: any } {
12183
+ return {
12184
+ eventBridgeRegionId: 'string',
12185
+ eventBus: 'string',
12186
+ eventSource: 'string',
12187
+ roleArn: 'string',
12188
+ };
12189
+ }
12190
+
12191
+ constructor(map?: { [key: string]: any }) {
12192
+ super(map);
12193
+ }
12194
+ }
12195
+
11997
12196
  export class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
11998
12197
  contentTypeCatagory?: string;
11999
12198
  contentTypeValue?: string;
@@ -12150,6 +12349,7 @@ export class DescribeApiResponseBodyServiceConfig extends $tea.Model {
12150
12349
  aoneAppName?: string;
12151
12350
  contentTypeCatagory?: string;
12152
12351
  contentTypeValue?: string;
12352
+ eventBridgeConfig?: DescribeApiResponseBodyServiceConfigEventBridgeConfig;
12153
12353
  functionComputeConfig?: DescribeApiResponseBodyServiceConfigFunctionComputeConfig;
12154
12354
  mock?: string;
12155
12355
  mockHeaders?: DescribeApiResponseBodyServiceConfigMockHeaders;
@@ -12168,6 +12368,7 @@ export class DescribeApiResponseBodyServiceConfig extends $tea.Model {
12168
12368
  aoneAppName: 'AoneAppName',
12169
12369
  contentTypeCatagory: 'ContentTypeCatagory',
12170
12370
  contentTypeValue: 'ContentTypeValue',
12371
+ eventBridgeConfig: 'EventBridgeConfig',
12171
12372
  functionComputeConfig: 'FunctionComputeConfig',
12172
12373
  mock: 'Mock',
12173
12374
  mockHeaders: 'MockHeaders',
@@ -12189,6 +12390,7 @@ export class DescribeApiResponseBodyServiceConfig extends $tea.Model {
12189
12390
  aoneAppName: 'string',
12190
12391
  contentTypeCatagory: 'string',
12191
12392
  contentTypeValue: 'string',
12393
+ eventBridgeConfig: DescribeApiResponseBodyServiceConfigEventBridgeConfig,
12192
12394
  functionComputeConfig: DescribeApiResponseBodyServiceConfigFunctionComputeConfig,
12193
12395
  mock: 'string',
12194
12396
  mockHeaders: DescribeApiResponseBodyServiceConfigMockHeaders,
@@ -13286,6 +13488,34 @@ export class DescribeApiHistoryResponseBodyResultDescriptions extends $tea.Model
13286
13488
  }
13287
13489
  }
13288
13490
 
13491
+ export class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
13492
+ eventBridgeRegionId?: string;
13493
+ eventBus?: string;
13494
+ eventSource?: string;
13495
+ roleArn?: string;
13496
+ static names(): { [key: string]: string } {
13497
+ return {
13498
+ eventBridgeRegionId: 'EventBridgeRegionId',
13499
+ eventBus: 'EventBus',
13500
+ eventSource: 'EventSource',
13501
+ roleArn: 'RoleArn',
13502
+ };
13503
+ }
13504
+
13505
+ static types(): { [key: string]: any } {
13506
+ return {
13507
+ eventBridgeRegionId: 'string',
13508
+ eventBus: 'string',
13509
+ eventSource: 'string',
13510
+ roleArn: 'string',
13511
+ };
13512
+ }
13513
+
13514
+ constructor(map?: { [key: string]: any }) {
13515
+ super(map);
13516
+ }
13517
+ }
13518
+
13289
13519
  export class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
13290
13520
  contentTypeCatagory?: string;
13291
13521
  contentTypeValue?: string;
@@ -13441,6 +13671,7 @@ export class DescribeApiHistoryResponseBodyServiceConfigVpcConfig extends $tea.M
13441
13671
  export class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
13442
13672
  contentTypeCatagory?: string;
13443
13673
  contentTypeValue?: string;
13674
+ eventBridgeConfig?: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
13444
13675
  functionComputeConfig?: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig;
13445
13676
  mock?: string;
13446
13677
  mockHeaders?: DescribeApiHistoryResponseBodyServiceConfigMockHeaders;
@@ -13459,6 +13690,7 @@ export class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
13459
13690
  return {
13460
13691
  contentTypeCatagory: 'ContentTypeCatagory',
13461
13692
  contentTypeValue: 'ContentTypeValue',
13693
+ eventBridgeConfig: 'EventBridgeConfig',
13462
13694
  functionComputeConfig: 'FunctionComputeConfig',
13463
13695
  mock: 'Mock',
13464
13696
  mockHeaders: 'MockHeaders',
@@ -13480,6 +13712,7 @@ export class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
13480
13712
  return {
13481
13713
  contentTypeCatagory: 'string',
13482
13714
  contentTypeValue: 'string',
13715
+ eventBridgeConfig: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig,
13483
13716
  functionComputeConfig: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig,
13484
13717
  mock: 'string',
13485
13718
  mockHeaders: DescribeApiHistoryResponseBodyServiceConfigMockHeaders,
@@ -14701,6 +14934,34 @@ export class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model
14701
14934
  }
14702
14935
  }
14703
14936
 
14937
+ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
14938
+ eventBridgeRegionId?: string;
14939
+ eventBus?: string;
14940
+ eventSource?: string;
14941
+ roleArn?: string;
14942
+ static names(): { [key: string]: string } {
14943
+ return {
14944
+ eventBridgeRegionId: 'EventBridgeRegionId',
14945
+ eventBus: 'EventBus',
14946
+ eventSource: 'EventSource',
14947
+ roleArn: 'RoleArn',
14948
+ };
14949
+ }
14950
+
14951
+ static types(): { [key: string]: any } {
14952
+ return {
14953
+ eventBridgeRegionId: 'string',
14954
+ eventBus: 'string',
14955
+ eventSource: 'string',
14956
+ roleArn: 'string',
14957
+ };
14958
+ }
14959
+
14960
+ constructor(map?: { [key: string]: any }) {
14961
+ super(map);
14962
+ }
14963
+ }
14964
+
14704
14965
  export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
14705
14966
  fcBaseUrl?: string;
14706
14967
  fcRegionId?: string;
@@ -14798,6 +15059,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
14798
15059
  }
14799
15060
 
14800
15061
  export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
15062
+ eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
14801
15063
  functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
14802
15064
  ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
14803
15065
  serviceAddress?: string;
@@ -14805,6 +15067,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
14805
15067
  vpcConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig;
14806
15068
  static names(): { [key: string]: string } {
14807
15069
  return {
15070
+ eventBridgeConfig: 'EventBridgeConfig',
14808
15071
  functionComputeConfig: 'FunctionComputeConfig',
14809
15072
  ossConfig: 'OssConfig',
14810
15073
  serviceAddress: 'ServiceAddress',
@@ -14815,6 +15078,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
14815
15078
 
14816
15079
  static types(): { [key: string]: any } {
14817
15080
  return {
15081
+ eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
14818
15082
  functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
14819
15083
  ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
14820
15084
  serviceAddress: 'string',
@@ -16976,6 +17240,7 @@ export class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribut
16976
17240
  regionId?: string;
16977
17241
  vpcAccessId?: string;
16978
17242
  vpcId?: string;
17243
+ vpcTargetHostName?: string;
16979
17244
  static names(): { [key: string]: string } {
16980
17245
  return {
16981
17246
  createdTime: 'CreatedTime',
@@ -16986,6 +17251,7 @@ export class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribut
16986
17251
  regionId: 'RegionId',
16987
17252
  vpcAccessId: 'VpcAccessId',
16988
17253
  vpcId: 'VpcId',
17254
+ vpcTargetHostName: 'VpcTargetHostName',
16989
17255
  };
16990
17256
  }
16991
17257
 
@@ -16999,6 +17265,7 @@ export class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribut
16999
17265
  regionId: 'string',
17000
17266
  vpcAccessId: 'string',
17001
17267
  vpcId: 'string',
17268
+ vpcTargetHostName: 'string',
17002
17269
  };
17003
17270
  }
17004
17271
 
@@ -18225,6 +18492,10 @@ export default class Client extends OpenApi {
18225
18492
  query["BackendType"] = request.backendType;
18226
18493
  }
18227
18494
 
18495
+ if (!Util.isUnset(request.createEventBridgeServiceLinkedRole)) {
18496
+ query["CreateEventBridgeServiceLinkedRole"] = request.createEventBridgeServiceLinkedRole;
18497
+ }
18498
+
18228
18499
  if (!Util.isUnset(request.description)) {
18229
18500
  query["Description"] = request.description;
18230
18501
  }
@@ -22189,6 +22460,175 @@ export default class Client extends OpenApi {
22189
22460
  return await this.modifyApiWithOptions(request, runtime);
22190
22461
  }
22191
22462
 
22463
+ async modifyApiConfigurationWithOptions(request: ModifyApiConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiConfigurationResponse> {
22464
+ Util.validateModel(request);
22465
+ let query = { };
22466
+ if (!Util.isUnset(request.allowSignatureMethod)) {
22467
+ query["AllowSignatureMethod"] = request.allowSignatureMethod;
22468
+ }
22469
+
22470
+ if (!Util.isUnset(request.apiId)) {
22471
+ query["ApiId"] = request.apiId;
22472
+ }
22473
+
22474
+ if (!Util.isUnset(request.apiName)) {
22475
+ query["ApiName"] = request.apiName;
22476
+ }
22477
+
22478
+ if (!Util.isUnset(request.appCodeAuthType)) {
22479
+ query["AppCodeAuthType"] = request.appCodeAuthType;
22480
+ }
22481
+
22482
+ if (!Util.isUnset(request.authType)) {
22483
+ query["AuthType"] = request.authType;
22484
+ }
22485
+
22486
+ if (!Util.isUnset(request.backendName)) {
22487
+ query["BackendName"] = request.backendName;
22488
+ }
22489
+
22490
+ if (!Util.isUnset(request.bodyFormat)) {
22491
+ query["BodyFormat"] = request.bodyFormat;
22492
+ }
22493
+
22494
+ if (!Util.isUnset(request.bodyModel)) {
22495
+ query["BodyModel"] = request.bodyModel;
22496
+ }
22497
+
22498
+ if (!Util.isUnset(request.contentTypeCategory)) {
22499
+ query["ContentTypeCategory"] = request.contentTypeCategory;
22500
+ }
22501
+
22502
+ if (!Util.isUnset(request.contentTypeValue)) {
22503
+ query["ContentTypeValue"] = request.contentTypeValue;
22504
+ }
22505
+
22506
+ if (!Util.isUnset(request.description)) {
22507
+ query["Description"] = request.description;
22508
+ }
22509
+
22510
+ if (!Util.isUnset(request.disableInternet)) {
22511
+ query["DisableInternet"] = request.disableInternet;
22512
+ }
22513
+
22514
+ if (!Util.isUnset(request.errorCodeSamples)) {
22515
+ query["ErrorCodeSamples"] = request.errorCodeSamples;
22516
+ }
22517
+
22518
+ if (!Util.isUnset(request.failResultSample)) {
22519
+ query["FailResultSample"] = request.failResultSample;
22520
+ }
22521
+
22522
+ if (!Util.isUnset(request.forceNonceCheck)) {
22523
+ query["ForceNonceCheck"] = request.forceNonceCheck;
22524
+ }
22525
+
22526
+ if (!Util.isUnset(request.functionComputeConfig)) {
22527
+ query["FunctionComputeConfig"] = request.functionComputeConfig;
22528
+ }
22529
+
22530
+ if (!Util.isUnset(request.httpConfig)) {
22531
+ query["HttpConfig"] = request.httpConfig;
22532
+ }
22533
+
22534
+ if (!Util.isUnset(request.mockConfig)) {
22535
+ query["MockConfig"] = request.mockConfig;
22536
+ }
22537
+
22538
+ if (!Util.isUnset(request.modelName)) {
22539
+ query["ModelName"] = request.modelName;
22540
+ }
22541
+
22542
+ if (!Util.isUnset(request.ossConfig)) {
22543
+ query["OssConfig"] = request.ossConfig;
22544
+ }
22545
+
22546
+ if (!Util.isUnset(request.postBodyDescription)) {
22547
+ query["PostBodyDescription"] = request.postBodyDescription;
22548
+ }
22549
+
22550
+ if (!Util.isUnset(request.requestHttpMethod)) {
22551
+ query["RequestHttpMethod"] = request.requestHttpMethod;
22552
+ }
22553
+
22554
+ if (!Util.isUnset(request.requestMode)) {
22555
+ query["RequestMode"] = request.requestMode;
22556
+ }
22557
+
22558
+ if (!Util.isUnset(request.requestParameters)) {
22559
+ query["RequestParameters"] = request.requestParameters;
22560
+ }
22561
+
22562
+ if (!Util.isUnset(request.requestPath)) {
22563
+ query["RequestPath"] = request.requestPath;
22564
+ }
22565
+
22566
+ if (!Util.isUnset(request.requestProtocol)) {
22567
+ query["RequestProtocol"] = request.requestProtocol;
22568
+ }
22569
+
22570
+ if (!Util.isUnset(request.resultSample)) {
22571
+ query["ResultSample"] = request.resultSample;
22572
+ }
22573
+
22574
+ if (!Util.isUnset(request.resultType)) {
22575
+ query["ResultType"] = request.resultType;
22576
+ }
22577
+
22578
+ if (!Util.isUnset(request.securityToken)) {
22579
+ query["SecurityToken"] = request.securityToken;
22580
+ }
22581
+
22582
+ if (!Util.isUnset(request.serviceParameters)) {
22583
+ query["ServiceParameters"] = request.serviceParameters;
22584
+ }
22585
+
22586
+ if (!Util.isUnset(request.serviceParametersMap)) {
22587
+ query["ServiceParametersMap"] = request.serviceParametersMap;
22588
+ }
22589
+
22590
+ if (!Util.isUnset(request.serviceProtocol)) {
22591
+ query["ServiceProtocol"] = request.serviceProtocol;
22592
+ }
22593
+
22594
+ if (!Util.isUnset(request.serviceTimeout)) {
22595
+ query["ServiceTimeout"] = request.serviceTimeout;
22596
+ }
22597
+
22598
+ if (!Util.isUnset(request.useBackendService)) {
22599
+ query["UseBackendService"] = request.useBackendService;
22600
+ }
22601
+
22602
+ if (!Util.isUnset(request.visibility)) {
22603
+ query["Visibility"] = request.visibility;
22604
+ }
22605
+
22606
+ if (!Util.isUnset(request.vpcConfig)) {
22607
+ query["VpcConfig"] = request.vpcConfig;
22608
+ }
22609
+
22610
+ let req = new $OpenApi.OpenApiRequest({
22611
+ query: OpenApiUtil.query(query),
22612
+ });
22613
+ let params = new $OpenApi.Params({
22614
+ action: "ModifyApiConfiguration",
22615
+ version: "2016-07-14",
22616
+ protocol: "HTTPS",
22617
+ pathname: "/",
22618
+ method: "POST",
22619
+ authType: "AK",
22620
+ style: "RPC",
22621
+ reqBodyType: "formData",
22622
+ bodyType: "json",
22623
+ });
22624
+ return $tea.cast<ModifyApiConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyApiConfigurationResponse({}));
22625
+ }
22626
+
22627
+ async modifyApiConfiguration(request: ModifyApiConfigurationRequest): Promise<ModifyApiConfigurationResponse> {
22628
+ let runtime = new $Util.RuntimeOptions({ });
22629
+ return await this.modifyApiConfigurationWithOptions(request, runtime);
22630
+ }
22631
+
22192
22632
  async modifyApiGroupWithOptions(request: ModifyApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiGroupResponse> {
22193
22633
  Util.validateModel(request);
22194
22634
  let query = { };
@@ -23771,6 +24211,10 @@ export default class Client extends OpenApi {
23771
24211
  query["VpcId"] = request.vpcId;
23772
24212
  }
23773
24213
 
24214
+ if (!Util.isUnset(request.vpcTargetHostName)) {
24215
+ query["VpcTargetHostName"] = request.vpcTargetHostName;
24216
+ }
24217
+
23774
24218
  let req = new $OpenApi.OpenApiRequest({
23775
24219
  query: OpenApiUtil.query(query),
23776
24220
  });