@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/dist/client.d.ts +49 -0
- package/dist/client.js +77 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +100 -0
package/dist/client.d.ts
CHANGED
|
@@ -471,6 +471,7 @@ export declare class CreateAppResponse extends $tea.Model {
|
|
|
471
471
|
export declare class CreateBackendRequest extends $tea.Model {
|
|
472
472
|
backendName?: string;
|
|
473
473
|
backendType?: string;
|
|
474
|
+
createEventBridgeServiceLinkedRole?: boolean;
|
|
474
475
|
description?: string;
|
|
475
476
|
securityToken?: string;
|
|
476
477
|
static names(): {
|
|
@@ -6841,6 +6842,21 @@ export declare class DescribeApiResponseBodyResultDescriptions extends $tea.Mode
|
|
|
6841
6842
|
[key: string]: any;
|
|
6842
6843
|
});
|
|
6843
6844
|
}
|
|
6845
|
+
export declare class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
6846
|
+
eventBridgeRegionId?: string;
|
|
6847
|
+
eventBus?: string;
|
|
6848
|
+
eventSource?: string;
|
|
6849
|
+
roleArn?: string;
|
|
6850
|
+
static names(): {
|
|
6851
|
+
[key: string]: string;
|
|
6852
|
+
};
|
|
6853
|
+
static types(): {
|
|
6854
|
+
[key: string]: any;
|
|
6855
|
+
};
|
|
6856
|
+
constructor(map?: {
|
|
6857
|
+
[key: string]: any;
|
|
6858
|
+
});
|
|
6859
|
+
}
|
|
6844
6860
|
export declare class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
6845
6861
|
contentTypeCatagory?: string;
|
|
6846
6862
|
contentTypeValue?: string;
|
|
@@ -6924,6 +6940,7 @@ export declare class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
6924
6940
|
aoneAppName?: string;
|
|
6925
6941
|
contentTypeCatagory?: string;
|
|
6926
6942
|
contentTypeValue?: string;
|
|
6943
|
+
eventBridgeConfig?: DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
6927
6944
|
functionComputeConfig?: DescribeApiResponseBodyServiceConfigFunctionComputeConfig;
|
|
6928
6945
|
mock?: string;
|
|
6929
6946
|
mockHeaders?: DescribeApiResponseBodyServiceConfigMockHeaders;
|
|
@@ -7521,6 +7538,21 @@ export declare class DescribeApiHistoryResponseBodyResultDescriptions extends $t
|
|
|
7521
7538
|
[key: string]: any;
|
|
7522
7539
|
});
|
|
7523
7540
|
}
|
|
7541
|
+
export declare class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
7542
|
+
eventBridgeRegionId?: string;
|
|
7543
|
+
eventBus?: string;
|
|
7544
|
+
eventSource?: string;
|
|
7545
|
+
roleArn?: string;
|
|
7546
|
+
static names(): {
|
|
7547
|
+
[key: string]: string;
|
|
7548
|
+
};
|
|
7549
|
+
static types(): {
|
|
7550
|
+
[key: string]: any;
|
|
7551
|
+
};
|
|
7552
|
+
constructor(map?: {
|
|
7553
|
+
[key: string]: any;
|
|
7554
|
+
});
|
|
7555
|
+
}
|
|
7524
7556
|
export declare class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
7525
7557
|
contentTypeCatagory?: string;
|
|
7526
7558
|
contentTypeValue?: string;
|
|
@@ -7603,6 +7635,7 @@ export declare class DescribeApiHistoryResponseBodyServiceConfigVpcConfig extend
|
|
|
7603
7635
|
export declare class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
7604
7636
|
contentTypeCatagory?: string;
|
|
7605
7637
|
contentTypeValue?: string;
|
|
7638
|
+
eventBridgeConfig?: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
7606
7639
|
functionComputeConfig?: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig;
|
|
7607
7640
|
mock?: string;
|
|
7608
7641
|
mockHeaders?: DescribeApiHistoryResponseBodyServiceConfigMockHeaders;
|
|
@@ -8293,6 +8326,21 @@ export declare class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $t
|
|
|
8293
8326
|
[key: string]: any;
|
|
8294
8327
|
});
|
|
8295
8328
|
}
|
|
8329
|
+
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
8330
|
+
eventBridgeRegionId?: string;
|
|
8331
|
+
eventBus?: string;
|
|
8332
|
+
eventSource?: string;
|
|
8333
|
+
roleArn?: string;
|
|
8334
|
+
static names(): {
|
|
8335
|
+
[key: string]: string;
|
|
8336
|
+
};
|
|
8337
|
+
static types(): {
|
|
8338
|
+
[key: string]: any;
|
|
8339
|
+
};
|
|
8340
|
+
constructor(map?: {
|
|
8341
|
+
[key: string]: any;
|
|
8342
|
+
});
|
|
8343
|
+
}
|
|
8296
8344
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
8297
8345
|
fcBaseUrl?: string;
|
|
8298
8346
|
fcRegionId?: string;
|
|
@@ -8343,6 +8391,7 @@ export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBack
|
|
|
8343
8391
|
});
|
|
8344
8392
|
}
|
|
8345
8393
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
8394
|
+
eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
8346
8395
|
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
8347
8396
|
ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
|
|
8348
8397
|
serviceAddress?: string;
|
package/dist/client.js
CHANGED
|
@@ -675,6 +675,7 @@ class CreateBackendRequest extends $tea.Model {
|
|
|
675
675
|
return {
|
|
676
676
|
backendName: 'BackendName',
|
|
677
677
|
backendType: 'BackendType',
|
|
678
|
+
createEventBridgeServiceLinkedRole: 'CreateEventBridgeServiceLinkedRole',
|
|
678
679
|
description: 'Description',
|
|
679
680
|
securityToken: 'SecurityToken',
|
|
680
681
|
};
|
|
@@ -683,6 +684,7 @@ class CreateBackendRequest extends $tea.Model {
|
|
|
683
684
|
return {
|
|
684
685
|
backendName: 'string',
|
|
685
686
|
backendType: 'string',
|
|
687
|
+
createEventBridgeServiceLinkedRole: 'boolean',
|
|
686
688
|
description: 'string',
|
|
687
689
|
securityToken: 'string',
|
|
688
690
|
};
|
|
@@ -9513,6 +9515,28 @@ class DescribeApiResponseBodyResultDescriptions extends $tea.Model {
|
|
|
9513
9515
|
}
|
|
9514
9516
|
}
|
|
9515
9517
|
exports.DescribeApiResponseBodyResultDescriptions = DescribeApiResponseBodyResultDescriptions;
|
|
9518
|
+
class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
9519
|
+
constructor(map) {
|
|
9520
|
+
super(map);
|
|
9521
|
+
}
|
|
9522
|
+
static names() {
|
|
9523
|
+
return {
|
|
9524
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
9525
|
+
eventBus: 'EventBus',
|
|
9526
|
+
eventSource: 'EventSource',
|
|
9527
|
+
roleArn: 'RoleArn',
|
|
9528
|
+
};
|
|
9529
|
+
}
|
|
9530
|
+
static types() {
|
|
9531
|
+
return {
|
|
9532
|
+
eventBridgeRegionId: 'string',
|
|
9533
|
+
eventBus: 'string',
|
|
9534
|
+
eventSource: 'string',
|
|
9535
|
+
roleArn: 'string',
|
|
9536
|
+
};
|
|
9537
|
+
}
|
|
9538
|
+
}
|
|
9539
|
+
exports.DescribeApiResponseBodyServiceConfigEventBridgeConfig = DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
9516
9540
|
class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
9517
9541
|
constructor(map) {
|
|
9518
9542
|
super(map);
|
|
@@ -9640,6 +9664,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9640
9664
|
aoneAppName: 'AoneAppName',
|
|
9641
9665
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
9642
9666
|
contentTypeValue: 'ContentTypeValue',
|
|
9667
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
9643
9668
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
9644
9669
|
mock: 'Mock',
|
|
9645
9670
|
mockHeaders: 'MockHeaders',
|
|
@@ -9660,6 +9685,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9660
9685
|
aoneAppName: 'string',
|
|
9661
9686
|
contentTypeCatagory: 'string',
|
|
9662
9687
|
contentTypeValue: 'string',
|
|
9688
|
+
eventBridgeConfig: DescribeApiResponseBodyServiceConfigEventBridgeConfig,
|
|
9663
9689
|
functionComputeConfig: DescribeApiResponseBodyServiceConfigFunctionComputeConfig,
|
|
9664
9690
|
mock: 'string',
|
|
9665
9691
|
mockHeaders: DescribeApiResponseBodyServiceConfigMockHeaders,
|
|
@@ -10521,6 +10547,28 @@ class DescribeApiHistoryResponseBodyResultDescriptions extends $tea.Model {
|
|
|
10521
10547
|
}
|
|
10522
10548
|
}
|
|
10523
10549
|
exports.DescribeApiHistoryResponseBodyResultDescriptions = DescribeApiHistoryResponseBodyResultDescriptions;
|
|
10550
|
+
class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
10551
|
+
constructor(map) {
|
|
10552
|
+
super(map);
|
|
10553
|
+
}
|
|
10554
|
+
static names() {
|
|
10555
|
+
return {
|
|
10556
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
10557
|
+
eventBus: 'EventBus',
|
|
10558
|
+
eventSource: 'EventSource',
|
|
10559
|
+
roleArn: 'RoleArn',
|
|
10560
|
+
};
|
|
10561
|
+
}
|
|
10562
|
+
static types() {
|
|
10563
|
+
return {
|
|
10564
|
+
eventBridgeRegionId: 'string',
|
|
10565
|
+
eventBus: 'string',
|
|
10566
|
+
eventSource: 'string',
|
|
10567
|
+
roleArn: 'string',
|
|
10568
|
+
};
|
|
10569
|
+
}
|
|
10570
|
+
}
|
|
10571
|
+
exports.DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig = DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
10524
10572
|
class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
10525
10573
|
constructor(map) {
|
|
10526
10574
|
super(map);
|
|
@@ -10647,6 +10695,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10647
10695
|
return {
|
|
10648
10696
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
10649
10697
|
contentTypeValue: 'ContentTypeValue',
|
|
10698
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
10650
10699
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
10651
10700
|
mock: 'Mock',
|
|
10652
10701
|
mockHeaders: 'MockHeaders',
|
|
@@ -10667,6 +10716,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10667
10716
|
return {
|
|
10668
10717
|
contentTypeCatagory: 'string',
|
|
10669
10718
|
contentTypeValue: 'string',
|
|
10719
|
+
eventBridgeConfig: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig,
|
|
10670
10720
|
functionComputeConfig: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig,
|
|
10671
10721
|
mock: 'string',
|
|
10672
10722
|
mockHeaders: DescribeApiHistoryResponseBodyServiceConfigMockHeaders,
|
|
@@ -11641,6 +11691,28 @@ class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model {
|
|
|
11641
11691
|
}
|
|
11642
11692
|
}
|
|
11643
11693
|
exports.DescribeAuthorizedAppsResponseBodyAuthorizedApps = DescribeAuthorizedAppsResponseBodyAuthorizedApps;
|
|
11694
|
+
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
11695
|
+
constructor(map) {
|
|
11696
|
+
super(map);
|
|
11697
|
+
}
|
|
11698
|
+
static names() {
|
|
11699
|
+
return {
|
|
11700
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
11701
|
+
eventBus: 'EventBus',
|
|
11702
|
+
eventSource: 'EventSource',
|
|
11703
|
+
roleArn: 'RoleArn',
|
|
11704
|
+
};
|
|
11705
|
+
}
|
|
11706
|
+
static types() {
|
|
11707
|
+
return {
|
|
11708
|
+
eventBridgeRegionId: 'string',
|
|
11709
|
+
eventBus: 'string',
|
|
11710
|
+
eventSource: 'string',
|
|
11711
|
+
roleArn: 'string',
|
|
11712
|
+
};
|
|
11713
|
+
}
|
|
11714
|
+
}
|
|
11715
|
+
exports.DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig = DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
11644
11716
|
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
11645
11717
|
constructor(map) {
|
|
11646
11718
|
super(map);
|
|
@@ -11721,6 +11793,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11721
11793
|
}
|
|
11722
11794
|
static names() {
|
|
11723
11795
|
return {
|
|
11796
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
11724
11797
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
11725
11798
|
ossConfig: 'OssConfig',
|
|
11726
11799
|
serviceAddress: 'ServiceAddress',
|
|
@@ -11730,6 +11803,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11730
11803
|
}
|
|
11731
11804
|
static types() {
|
|
11732
11805
|
return {
|
|
11806
|
+
eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
|
|
11733
11807
|
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
11734
11808
|
ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
|
|
11735
11809
|
serviceAddress: 'string',
|
|
@@ -14458,6 +14532,9 @@ class Client extends openapi_client_1.default {
|
|
|
14458
14532
|
if (!tea_util_1.default.isUnset(request.backendType)) {
|
|
14459
14533
|
query["BackendType"] = request.backendType;
|
|
14460
14534
|
}
|
|
14535
|
+
if (!tea_util_1.default.isUnset(request.createEventBridgeServiceLinkedRole)) {
|
|
14536
|
+
query["CreateEventBridgeServiceLinkedRole"] = request.createEventBridgeServiceLinkedRole;
|
|
14537
|
+
}
|
|
14461
14538
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
14462
14539
|
query["Description"] = request.description;
|
|
14463
14540
|
}
|