@alicloud/cloudapi20160714 2.1.2 → 2.1.3

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.3",
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
  };
@@ -11994,6 +11997,34 @@ export class DescribeApiResponseBodyResultDescriptions extends $tea.Model {
11994
11997
  }
11995
11998
  }
11996
11999
 
12000
+ export class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
12001
+ eventBridgeRegionId?: string;
12002
+ eventBus?: string;
12003
+ eventSource?: string;
12004
+ roleArn?: string;
12005
+ static names(): { [key: string]: string } {
12006
+ return {
12007
+ eventBridgeRegionId: 'EventBridgeRegionId',
12008
+ eventBus: 'EventBus',
12009
+ eventSource: 'EventSource',
12010
+ roleArn: 'RoleArn',
12011
+ };
12012
+ }
12013
+
12014
+ static types(): { [key: string]: any } {
12015
+ return {
12016
+ eventBridgeRegionId: 'string',
12017
+ eventBus: 'string',
12018
+ eventSource: 'string',
12019
+ roleArn: 'string',
12020
+ };
12021
+ }
12022
+
12023
+ constructor(map?: { [key: string]: any }) {
12024
+ super(map);
12025
+ }
12026
+ }
12027
+
11997
12028
  export class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
11998
12029
  contentTypeCatagory?: string;
11999
12030
  contentTypeValue?: string;
@@ -12150,6 +12181,7 @@ export class DescribeApiResponseBodyServiceConfig extends $tea.Model {
12150
12181
  aoneAppName?: string;
12151
12182
  contentTypeCatagory?: string;
12152
12183
  contentTypeValue?: string;
12184
+ eventBridgeConfig?: DescribeApiResponseBodyServiceConfigEventBridgeConfig;
12153
12185
  functionComputeConfig?: DescribeApiResponseBodyServiceConfigFunctionComputeConfig;
12154
12186
  mock?: string;
12155
12187
  mockHeaders?: DescribeApiResponseBodyServiceConfigMockHeaders;
@@ -12168,6 +12200,7 @@ export class DescribeApiResponseBodyServiceConfig extends $tea.Model {
12168
12200
  aoneAppName: 'AoneAppName',
12169
12201
  contentTypeCatagory: 'ContentTypeCatagory',
12170
12202
  contentTypeValue: 'ContentTypeValue',
12203
+ eventBridgeConfig: 'EventBridgeConfig',
12171
12204
  functionComputeConfig: 'FunctionComputeConfig',
12172
12205
  mock: 'Mock',
12173
12206
  mockHeaders: 'MockHeaders',
@@ -12189,6 +12222,7 @@ export class DescribeApiResponseBodyServiceConfig extends $tea.Model {
12189
12222
  aoneAppName: 'string',
12190
12223
  contentTypeCatagory: 'string',
12191
12224
  contentTypeValue: 'string',
12225
+ eventBridgeConfig: DescribeApiResponseBodyServiceConfigEventBridgeConfig,
12192
12226
  functionComputeConfig: DescribeApiResponseBodyServiceConfigFunctionComputeConfig,
12193
12227
  mock: 'string',
12194
12228
  mockHeaders: DescribeApiResponseBodyServiceConfigMockHeaders,
@@ -13286,6 +13320,34 @@ export class DescribeApiHistoryResponseBodyResultDescriptions extends $tea.Model
13286
13320
  }
13287
13321
  }
13288
13322
 
13323
+ export class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
13324
+ eventBridgeRegionId?: string;
13325
+ eventBus?: string;
13326
+ eventSource?: string;
13327
+ roleArn?: string;
13328
+ static names(): { [key: string]: string } {
13329
+ return {
13330
+ eventBridgeRegionId: 'EventBridgeRegionId',
13331
+ eventBus: 'EventBus',
13332
+ eventSource: 'EventSource',
13333
+ roleArn: 'RoleArn',
13334
+ };
13335
+ }
13336
+
13337
+ static types(): { [key: string]: any } {
13338
+ return {
13339
+ eventBridgeRegionId: 'string',
13340
+ eventBus: 'string',
13341
+ eventSource: 'string',
13342
+ roleArn: 'string',
13343
+ };
13344
+ }
13345
+
13346
+ constructor(map?: { [key: string]: any }) {
13347
+ super(map);
13348
+ }
13349
+ }
13350
+
13289
13351
  export class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
13290
13352
  contentTypeCatagory?: string;
13291
13353
  contentTypeValue?: string;
@@ -13441,6 +13503,7 @@ export class DescribeApiHistoryResponseBodyServiceConfigVpcConfig extends $tea.M
13441
13503
  export class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
13442
13504
  contentTypeCatagory?: string;
13443
13505
  contentTypeValue?: string;
13506
+ eventBridgeConfig?: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
13444
13507
  functionComputeConfig?: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig;
13445
13508
  mock?: string;
13446
13509
  mockHeaders?: DescribeApiHistoryResponseBodyServiceConfigMockHeaders;
@@ -13459,6 +13522,7 @@ export class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
13459
13522
  return {
13460
13523
  contentTypeCatagory: 'ContentTypeCatagory',
13461
13524
  contentTypeValue: 'ContentTypeValue',
13525
+ eventBridgeConfig: 'EventBridgeConfig',
13462
13526
  functionComputeConfig: 'FunctionComputeConfig',
13463
13527
  mock: 'Mock',
13464
13528
  mockHeaders: 'MockHeaders',
@@ -13480,6 +13544,7 @@ export class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
13480
13544
  return {
13481
13545
  contentTypeCatagory: 'string',
13482
13546
  contentTypeValue: 'string',
13547
+ eventBridgeConfig: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig,
13483
13548
  functionComputeConfig: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig,
13484
13549
  mock: 'string',
13485
13550
  mockHeaders: DescribeApiHistoryResponseBodyServiceConfigMockHeaders,
@@ -14701,6 +14766,34 @@ export class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model
14701
14766
  }
14702
14767
  }
14703
14768
 
14769
+ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
14770
+ eventBridgeRegionId?: string;
14771
+ eventBus?: string;
14772
+ eventSource?: string;
14773
+ roleArn?: string;
14774
+ static names(): { [key: string]: string } {
14775
+ return {
14776
+ eventBridgeRegionId: 'EventBridgeRegionId',
14777
+ eventBus: 'EventBus',
14778
+ eventSource: 'EventSource',
14779
+ roleArn: 'RoleArn',
14780
+ };
14781
+ }
14782
+
14783
+ static types(): { [key: string]: any } {
14784
+ return {
14785
+ eventBridgeRegionId: 'string',
14786
+ eventBus: 'string',
14787
+ eventSource: 'string',
14788
+ roleArn: 'string',
14789
+ };
14790
+ }
14791
+
14792
+ constructor(map?: { [key: string]: any }) {
14793
+ super(map);
14794
+ }
14795
+ }
14796
+
14704
14797
  export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
14705
14798
  fcBaseUrl?: string;
14706
14799
  fcRegionId?: string;
@@ -14798,6 +14891,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
14798
14891
  }
14799
14892
 
14800
14893
  export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
14894
+ eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
14801
14895
  functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
14802
14896
  ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
14803
14897
  serviceAddress?: string;
@@ -14805,6 +14899,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
14805
14899
  vpcConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig;
14806
14900
  static names(): { [key: string]: string } {
14807
14901
  return {
14902
+ eventBridgeConfig: 'EventBridgeConfig',
14808
14903
  functionComputeConfig: 'FunctionComputeConfig',
14809
14904
  ossConfig: 'OssConfig',
14810
14905
  serviceAddress: 'ServiceAddress',
@@ -14815,6 +14910,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
14815
14910
 
14816
14911
  static types(): { [key: string]: any } {
14817
14912
  return {
14913
+ eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
14818
14914
  functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
14819
14915
  ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
14820
14916
  serviceAddress: 'string',
@@ -18225,6 +18321,10 @@ export default class Client extends OpenApi {
18225
18321
  query["BackendType"] = request.backendType;
18226
18322
  }
18227
18323
 
18324
+ if (!Util.isUnset(request.createEventBridgeServiceLinkedRole)) {
18325
+ query["CreateEventBridgeServiceLinkedRole"] = request.createEventBridgeServiceLinkedRole;
18326
+ }
18327
+
18228
18328
  if (!Util.isUnset(request.description)) {
18229
18329
  query["Description"] = request.description;
18230
18330
  }