@alicloud/cloudapi20160714 2.1.0 → 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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +137 -0
- package/dist/client.js +259 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +320 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud CloudAPI SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/cloudapi20160714 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
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(): {
|
|
@@ -1492,6 +1493,47 @@ export declare class DeleteModelResponse extends $tea.Model {
|
|
|
1492
1493
|
[key: string]: any;
|
|
1493
1494
|
});
|
|
1494
1495
|
}
|
|
1496
|
+
export declare class DeleteMonitorGroupRequest extends $tea.Model {
|
|
1497
|
+
groupId?: string;
|
|
1498
|
+
rawMonitorGroupId?: number;
|
|
1499
|
+
securityToken?: string;
|
|
1500
|
+
static names(): {
|
|
1501
|
+
[key: string]: string;
|
|
1502
|
+
};
|
|
1503
|
+
static types(): {
|
|
1504
|
+
[key: string]: any;
|
|
1505
|
+
};
|
|
1506
|
+
constructor(map?: {
|
|
1507
|
+
[key: string]: any;
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1510
|
+
export declare class DeleteMonitorGroupResponseBody extends $tea.Model {
|
|
1511
|
+
requestId?: string;
|
|
1512
|
+
static names(): {
|
|
1513
|
+
[key: string]: string;
|
|
1514
|
+
};
|
|
1515
|
+
static types(): {
|
|
1516
|
+
[key: string]: any;
|
|
1517
|
+
};
|
|
1518
|
+
constructor(map?: {
|
|
1519
|
+
[key: string]: any;
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
export declare class DeleteMonitorGroupResponse extends $tea.Model {
|
|
1523
|
+
headers: {
|
|
1524
|
+
[key: string]: string;
|
|
1525
|
+
};
|
|
1526
|
+
body: DeleteMonitorGroupResponseBody;
|
|
1527
|
+
static names(): {
|
|
1528
|
+
[key: string]: string;
|
|
1529
|
+
};
|
|
1530
|
+
static types(): {
|
|
1531
|
+
[key: string]: any;
|
|
1532
|
+
};
|
|
1533
|
+
constructor(map?: {
|
|
1534
|
+
[key: string]: any;
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1495
1537
|
export declare class DeletePluginRequest extends $tea.Model {
|
|
1496
1538
|
pluginId?: string;
|
|
1497
1539
|
securityToken?: string;
|
|
@@ -4397,6 +4439,49 @@ export declare class DescribeZonesResponse extends $tea.Model {
|
|
|
4397
4439
|
[key: string]: any;
|
|
4398
4440
|
});
|
|
4399
4441
|
}
|
|
4442
|
+
export declare class DetachPluginRequest extends $tea.Model {
|
|
4443
|
+
apiId?: string;
|
|
4444
|
+
groupId?: string;
|
|
4445
|
+
pluginId?: string;
|
|
4446
|
+
securityToken?: string;
|
|
4447
|
+
stageName?: string;
|
|
4448
|
+
static names(): {
|
|
4449
|
+
[key: string]: string;
|
|
4450
|
+
};
|
|
4451
|
+
static types(): {
|
|
4452
|
+
[key: string]: any;
|
|
4453
|
+
};
|
|
4454
|
+
constructor(map?: {
|
|
4455
|
+
[key: string]: any;
|
|
4456
|
+
});
|
|
4457
|
+
}
|
|
4458
|
+
export declare class DetachPluginResponseBody extends $tea.Model {
|
|
4459
|
+
requestId?: string;
|
|
4460
|
+
static names(): {
|
|
4461
|
+
[key: string]: string;
|
|
4462
|
+
};
|
|
4463
|
+
static types(): {
|
|
4464
|
+
[key: string]: any;
|
|
4465
|
+
};
|
|
4466
|
+
constructor(map?: {
|
|
4467
|
+
[key: string]: any;
|
|
4468
|
+
});
|
|
4469
|
+
}
|
|
4470
|
+
export declare class DetachPluginResponse extends $tea.Model {
|
|
4471
|
+
headers: {
|
|
4472
|
+
[key: string]: string;
|
|
4473
|
+
};
|
|
4474
|
+
body: DetachPluginResponseBody;
|
|
4475
|
+
static names(): {
|
|
4476
|
+
[key: string]: string;
|
|
4477
|
+
};
|
|
4478
|
+
static types(): {
|
|
4479
|
+
[key: string]: any;
|
|
4480
|
+
};
|
|
4481
|
+
constructor(map?: {
|
|
4482
|
+
[key: string]: any;
|
|
4483
|
+
});
|
|
4484
|
+
}
|
|
4400
4485
|
export declare class DryRunSwaggerRequest extends $tea.Model {
|
|
4401
4486
|
data?: string;
|
|
4402
4487
|
dataFormat?: string;
|
|
@@ -6757,6 +6842,21 @@ export declare class DescribeApiResponseBodyResultDescriptions extends $tea.Mode
|
|
|
6757
6842
|
[key: string]: any;
|
|
6758
6843
|
});
|
|
6759
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
|
+
}
|
|
6760
6860
|
export declare class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
6761
6861
|
contentTypeCatagory?: string;
|
|
6762
6862
|
contentTypeValue?: string;
|
|
@@ -6840,6 +6940,7 @@ export declare class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
6840
6940
|
aoneAppName?: string;
|
|
6841
6941
|
contentTypeCatagory?: string;
|
|
6842
6942
|
contentTypeValue?: string;
|
|
6943
|
+
eventBridgeConfig?: DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
6843
6944
|
functionComputeConfig?: DescribeApiResponseBodyServiceConfigFunctionComputeConfig;
|
|
6844
6945
|
mock?: string;
|
|
6845
6946
|
mockHeaders?: DescribeApiResponseBodyServiceConfigMockHeaders;
|
|
@@ -7437,6 +7538,21 @@ export declare class DescribeApiHistoryResponseBodyResultDescriptions extends $t
|
|
|
7437
7538
|
[key: string]: any;
|
|
7438
7539
|
});
|
|
7439
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
|
+
}
|
|
7440
7556
|
export declare class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
7441
7557
|
contentTypeCatagory?: string;
|
|
7442
7558
|
contentTypeValue?: string;
|
|
@@ -7519,6 +7635,7 @@ export declare class DescribeApiHistoryResponseBodyServiceConfigVpcConfig extend
|
|
|
7519
7635
|
export declare class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
7520
7636
|
contentTypeCatagory?: string;
|
|
7521
7637
|
contentTypeValue?: string;
|
|
7638
|
+
eventBridgeConfig?: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
7522
7639
|
functionComputeConfig?: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig;
|
|
7523
7640
|
mock?: string;
|
|
7524
7641
|
mockHeaders?: DescribeApiHistoryResponseBodyServiceConfigMockHeaders;
|
|
@@ -8209,6 +8326,21 @@ export declare class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $t
|
|
|
8209
8326
|
[key: string]: any;
|
|
8210
8327
|
});
|
|
8211
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
|
+
}
|
|
8212
8344
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
8213
8345
|
fcBaseUrl?: string;
|
|
8214
8346
|
fcRegionId?: string;
|
|
@@ -8259,6 +8391,7 @@ export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBack
|
|
|
8259
8391
|
});
|
|
8260
8392
|
}
|
|
8261
8393
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
8394
|
+
eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
8262
8395
|
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
8263
8396
|
ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
|
|
8264
8397
|
serviceAddress?: string;
|
|
@@ -9889,6 +10022,8 @@ export default class Client extends OpenApi {
|
|
|
9889
10022
|
deleteLogConfig(request: DeleteLogConfigRequest): Promise<DeleteLogConfigResponse>;
|
|
9890
10023
|
deleteModelWithOptions(request: DeleteModelRequest, runtime: $Util.RuntimeOptions): Promise<DeleteModelResponse>;
|
|
9891
10024
|
deleteModel(request: DeleteModelRequest): Promise<DeleteModelResponse>;
|
|
10025
|
+
deleteMonitorGroupWithOptions(request: DeleteMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMonitorGroupResponse>;
|
|
10026
|
+
deleteMonitorGroup(request: DeleteMonitorGroupRequest): Promise<DeleteMonitorGroupResponse>;
|
|
9892
10027
|
deletePluginWithOptions(request: DeletePluginRequest, runtime: $Util.RuntimeOptions): Promise<DeletePluginResponse>;
|
|
9893
10028
|
deletePlugin(request: DeletePluginRequest): Promise<DeletePluginResponse>;
|
|
9894
10029
|
deleteSignatureWithOptions(request: DeleteSignatureRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSignatureResponse>;
|
|
@@ -10011,6 +10146,8 @@ export default class Client extends OpenApi {
|
|
|
10011
10146
|
describeVpcAccesses(request: DescribeVpcAccessesRequest): Promise<DescribeVpcAccessesResponse>;
|
|
10012
10147
|
describeZonesWithOptions(request: DescribeZonesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeZonesResponse>;
|
|
10013
10148
|
describeZones(request: DescribeZonesRequest): Promise<DescribeZonesResponse>;
|
|
10149
|
+
detachPluginWithOptions(request: DetachPluginRequest, runtime: $Util.RuntimeOptions): Promise<DetachPluginResponse>;
|
|
10150
|
+
detachPlugin(request: DetachPluginRequest): Promise<DetachPluginResponse>;
|
|
10014
10151
|
dryRunSwaggerWithOptions(tmpReq: DryRunSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<DryRunSwaggerResponse>;
|
|
10015
10152
|
dryRunSwagger(request: DryRunSwaggerRequest): Promise<DryRunSwaggerResponse>;
|
|
10016
10153
|
importSwaggerWithOptions(tmpReq: ImportSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<ImportSwaggerResponse>;
|
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
|
};
|
|
@@ -2043,6 +2045,60 @@ class DeleteModelResponse extends $tea.Model {
|
|
|
2043
2045
|
}
|
|
2044
2046
|
}
|
|
2045
2047
|
exports.DeleteModelResponse = DeleteModelResponse;
|
|
2048
|
+
class DeleteMonitorGroupRequest extends $tea.Model {
|
|
2049
|
+
constructor(map) {
|
|
2050
|
+
super(map);
|
|
2051
|
+
}
|
|
2052
|
+
static names() {
|
|
2053
|
+
return {
|
|
2054
|
+
groupId: 'GroupId',
|
|
2055
|
+
rawMonitorGroupId: 'RawMonitorGroupId',
|
|
2056
|
+
securityToken: 'SecurityToken',
|
|
2057
|
+
};
|
|
2058
|
+
}
|
|
2059
|
+
static types() {
|
|
2060
|
+
return {
|
|
2061
|
+
groupId: 'string',
|
|
2062
|
+
rawMonitorGroupId: 'number',
|
|
2063
|
+
securityToken: 'string',
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
exports.DeleteMonitorGroupRequest = DeleteMonitorGroupRequest;
|
|
2068
|
+
class DeleteMonitorGroupResponseBody extends $tea.Model {
|
|
2069
|
+
constructor(map) {
|
|
2070
|
+
super(map);
|
|
2071
|
+
}
|
|
2072
|
+
static names() {
|
|
2073
|
+
return {
|
|
2074
|
+
requestId: 'RequestId',
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
static types() {
|
|
2078
|
+
return {
|
|
2079
|
+
requestId: 'string',
|
|
2080
|
+
};
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
exports.DeleteMonitorGroupResponseBody = DeleteMonitorGroupResponseBody;
|
|
2084
|
+
class DeleteMonitorGroupResponse extends $tea.Model {
|
|
2085
|
+
constructor(map) {
|
|
2086
|
+
super(map);
|
|
2087
|
+
}
|
|
2088
|
+
static names() {
|
|
2089
|
+
return {
|
|
2090
|
+
headers: 'headers',
|
|
2091
|
+
body: 'body',
|
|
2092
|
+
};
|
|
2093
|
+
}
|
|
2094
|
+
static types() {
|
|
2095
|
+
return {
|
|
2096
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2097
|
+
body: DeleteMonitorGroupResponseBody,
|
|
2098
|
+
};
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
exports.DeleteMonitorGroupResponse = DeleteMonitorGroupResponse;
|
|
2046
2102
|
class DeletePluginRequest extends $tea.Model {
|
|
2047
2103
|
constructor(map) {
|
|
2048
2104
|
super(map);
|
|
@@ -6145,6 +6201,64 @@ class DescribeZonesResponse extends $tea.Model {
|
|
|
6145
6201
|
}
|
|
6146
6202
|
}
|
|
6147
6203
|
exports.DescribeZonesResponse = DescribeZonesResponse;
|
|
6204
|
+
class DetachPluginRequest extends $tea.Model {
|
|
6205
|
+
constructor(map) {
|
|
6206
|
+
super(map);
|
|
6207
|
+
}
|
|
6208
|
+
static names() {
|
|
6209
|
+
return {
|
|
6210
|
+
apiId: 'ApiId',
|
|
6211
|
+
groupId: 'GroupId',
|
|
6212
|
+
pluginId: 'PluginId',
|
|
6213
|
+
securityToken: 'SecurityToken',
|
|
6214
|
+
stageName: 'StageName',
|
|
6215
|
+
};
|
|
6216
|
+
}
|
|
6217
|
+
static types() {
|
|
6218
|
+
return {
|
|
6219
|
+
apiId: 'string',
|
|
6220
|
+
groupId: 'string',
|
|
6221
|
+
pluginId: 'string',
|
|
6222
|
+
securityToken: 'string',
|
|
6223
|
+
stageName: 'string',
|
|
6224
|
+
};
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6227
|
+
exports.DetachPluginRequest = DetachPluginRequest;
|
|
6228
|
+
class DetachPluginResponseBody extends $tea.Model {
|
|
6229
|
+
constructor(map) {
|
|
6230
|
+
super(map);
|
|
6231
|
+
}
|
|
6232
|
+
static names() {
|
|
6233
|
+
return {
|
|
6234
|
+
requestId: 'RequestId',
|
|
6235
|
+
};
|
|
6236
|
+
}
|
|
6237
|
+
static types() {
|
|
6238
|
+
return {
|
|
6239
|
+
requestId: 'string',
|
|
6240
|
+
};
|
|
6241
|
+
}
|
|
6242
|
+
}
|
|
6243
|
+
exports.DetachPluginResponseBody = DetachPluginResponseBody;
|
|
6244
|
+
class DetachPluginResponse extends $tea.Model {
|
|
6245
|
+
constructor(map) {
|
|
6246
|
+
super(map);
|
|
6247
|
+
}
|
|
6248
|
+
static names() {
|
|
6249
|
+
return {
|
|
6250
|
+
headers: 'headers',
|
|
6251
|
+
body: 'body',
|
|
6252
|
+
};
|
|
6253
|
+
}
|
|
6254
|
+
static types() {
|
|
6255
|
+
return {
|
|
6256
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6257
|
+
body: DetachPluginResponseBody,
|
|
6258
|
+
};
|
|
6259
|
+
}
|
|
6260
|
+
}
|
|
6261
|
+
exports.DetachPluginResponse = DetachPluginResponse;
|
|
6148
6262
|
class DryRunSwaggerRequest extends $tea.Model {
|
|
6149
6263
|
constructor(map) {
|
|
6150
6264
|
super(map);
|
|
@@ -9401,6 +9515,28 @@ class DescribeApiResponseBodyResultDescriptions extends $tea.Model {
|
|
|
9401
9515
|
}
|
|
9402
9516
|
}
|
|
9403
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;
|
|
9404
9540
|
class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
9405
9541
|
constructor(map) {
|
|
9406
9542
|
super(map);
|
|
@@ -9528,6 +9664,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9528
9664
|
aoneAppName: 'AoneAppName',
|
|
9529
9665
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
9530
9666
|
contentTypeValue: 'ContentTypeValue',
|
|
9667
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
9531
9668
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
9532
9669
|
mock: 'Mock',
|
|
9533
9670
|
mockHeaders: 'MockHeaders',
|
|
@@ -9548,6 +9685,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9548
9685
|
aoneAppName: 'string',
|
|
9549
9686
|
contentTypeCatagory: 'string',
|
|
9550
9687
|
contentTypeValue: 'string',
|
|
9688
|
+
eventBridgeConfig: DescribeApiResponseBodyServiceConfigEventBridgeConfig,
|
|
9551
9689
|
functionComputeConfig: DescribeApiResponseBodyServiceConfigFunctionComputeConfig,
|
|
9552
9690
|
mock: 'string',
|
|
9553
9691
|
mockHeaders: DescribeApiResponseBodyServiceConfigMockHeaders,
|
|
@@ -10409,6 +10547,28 @@ class DescribeApiHistoryResponseBodyResultDescriptions extends $tea.Model {
|
|
|
10409
10547
|
}
|
|
10410
10548
|
}
|
|
10411
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;
|
|
10412
10572
|
class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
10413
10573
|
constructor(map) {
|
|
10414
10574
|
super(map);
|
|
@@ -10535,6 +10695,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10535
10695
|
return {
|
|
10536
10696
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
10537
10697
|
contentTypeValue: 'ContentTypeValue',
|
|
10698
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
10538
10699
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
10539
10700
|
mock: 'Mock',
|
|
10540
10701
|
mockHeaders: 'MockHeaders',
|
|
@@ -10555,6 +10716,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10555
10716
|
return {
|
|
10556
10717
|
contentTypeCatagory: 'string',
|
|
10557
10718
|
contentTypeValue: 'string',
|
|
10719
|
+
eventBridgeConfig: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig,
|
|
10558
10720
|
functionComputeConfig: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig,
|
|
10559
10721
|
mock: 'string',
|
|
10560
10722
|
mockHeaders: DescribeApiHistoryResponseBodyServiceConfigMockHeaders,
|
|
@@ -11529,6 +11691,28 @@ class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model {
|
|
|
11529
11691
|
}
|
|
11530
11692
|
}
|
|
11531
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;
|
|
11532
11716
|
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
11533
11717
|
constructor(map) {
|
|
11534
11718
|
super(map);
|
|
@@ -11609,6 +11793,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11609
11793
|
}
|
|
11610
11794
|
static names() {
|
|
11611
11795
|
return {
|
|
11796
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
11612
11797
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
11613
11798
|
ossConfig: 'OssConfig',
|
|
11614
11799
|
serviceAddress: 'ServiceAddress',
|
|
@@ -11618,6 +11803,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11618
11803
|
}
|
|
11619
11804
|
static types() {
|
|
11620
11805
|
return {
|
|
11806
|
+
eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
|
|
11621
11807
|
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
11622
11808
|
ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
|
|
11623
11809
|
serviceAddress: 'string',
|
|
@@ -14346,6 +14532,9 @@ class Client extends openapi_client_1.default {
|
|
|
14346
14532
|
if (!tea_util_1.default.isUnset(request.backendType)) {
|
|
14347
14533
|
query["BackendType"] = request.backendType;
|
|
14348
14534
|
}
|
|
14535
|
+
if (!tea_util_1.default.isUnset(request.createEventBridgeServiceLinkedRole)) {
|
|
14536
|
+
query["CreateEventBridgeServiceLinkedRole"] = request.createEventBridgeServiceLinkedRole;
|
|
14537
|
+
}
|
|
14349
14538
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
14350
14539
|
query["Description"] = request.description;
|
|
14351
14540
|
}
|
|
@@ -15162,6 +15351,38 @@ class Client extends openapi_client_1.default {
|
|
|
15162
15351
|
let runtime = new $Util.RuntimeOptions({});
|
|
15163
15352
|
return await this.deleteModelWithOptions(request, runtime);
|
|
15164
15353
|
}
|
|
15354
|
+
async deleteMonitorGroupWithOptions(request, runtime) {
|
|
15355
|
+
tea_util_1.default.validateModel(request);
|
|
15356
|
+
let query = {};
|
|
15357
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
15358
|
+
query["GroupId"] = request.groupId;
|
|
15359
|
+
}
|
|
15360
|
+
if (!tea_util_1.default.isUnset(request.rawMonitorGroupId)) {
|
|
15361
|
+
query["RawMonitorGroupId"] = request.rawMonitorGroupId;
|
|
15362
|
+
}
|
|
15363
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
15364
|
+
query["SecurityToken"] = request.securityToken;
|
|
15365
|
+
}
|
|
15366
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15367
|
+
query: openapi_util_1.default.query(query),
|
|
15368
|
+
});
|
|
15369
|
+
let params = new $OpenApi.Params({
|
|
15370
|
+
action: "DeleteMonitorGroup",
|
|
15371
|
+
version: "2016-07-14",
|
|
15372
|
+
protocol: "HTTPS",
|
|
15373
|
+
pathname: "/",
|
|
15374
|
+
method: "POST",
|
|
15375
|
+
authType: "AK",
|
|
15376
|
+
style: "RPC",
|
|
15377
|
+
reqBodyType: "formData",
|
|
15378
|
+
bodyType: "json",
|
|
15379
|
+
});
|
|
15380
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteMonitorGroupResponse({}));
|
|
15381
|
+
}
|
|
15382
|
+
async deleteMonitorGroup(request) {
|
|
15383
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15384
|
+
return await this.deleteMonitorGroupWithOptions(request, runtime);
|
|
15385
|
+
}
|
|
15165
15386
|
async deletePluginWithOptions(request, runtime) {
|
|
15166
15387
|
tea_util_1.default.validateModel(request);
|
|
15167
15388
|
let query = {};
|
|
@@ -17396,6 +17617,44 @@ class Client extends openapi_client_1.default {
|
|
|
17396
17617
|
let runtime = new $Util.RuntimeOptions({});
|
|
17397
17618
|
return await this.describeZonesWithOptions(request, runtime);
|
|
17398
17619
|
}
|
|
17620
|
+
async detachPluginWithOptions(request, runtime) {
|
|
17621
|
+
tea_util_1.default.validateModel(request);
|
|
17622
|
+
let query = {};
|
|
17623
|
+
if (!tea_util_1.default.isUnset(request.apiId)) {
|
|
17624
|
+
query["ApiId"] = request.apiId;
|
|
17625
|
+
}
|
|
17626
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
17627
|
+
query["GroupId"] = request.groupId;
|
|
17628
|
+
}
|
|
17629
|
+
if (!tea_util_1.default.isUnset(request.pluginId)) {
|
|
17630
|
+
query["PluginId"] = request.pluginId;
|
|
17631
|
+
}
|
|
17632
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
17633
|
+
query["SecurityToken"] = request.securityToken;
|
|
17634
|
+
}
|
|
17635
|
+
if (!tea_util_1.default.isUnset(request.stageName)) {
|
|
17636
|
+
query["StageName"] = request.stageName;
|
|
17637
|
+
}
|
|
17638
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17639
|
+
query: openapi_util_1.default.query(query),
|
|
17640
|
+
});
|
|
17641
|
+
let params = new $OpenApi.Params({
|
|
17642
|
+
action: "DetachPlugin",
|
|
17643
|
+
version: "2016-07-14",
|
|
17644
|
+
protocol: "HTTPS",
|
|
17645
|
+
pathname: "/",
|
|
17646
|
+
method: "POST",
|
|
17647
|
+
authType: "AK",
|
|
17648
|
+
style: "RPC",
|
|
17649
|
+
reqBodyType: "formData",
|
|
17650
|
+
bodyType: "json",
|
|
17651
|
+
});
|
|
17652
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachPluginResponse({}));
|
|
17653
|
+
}
|
|
17654
|
+
async detachPlugin(request) {
|
|
17655
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17656
|
+
return await this.detachPluginWithOptions(request, runtime);
|
|
17657
|
+
}
|
|
17399
17658
|
async dryRunSwaggerWithOptions(tmpReq, runtime) {
|
|
17400
17659
|
tea_util_1.default.validateModel(tmpReq);
|
|
17401
17660
|
let request = new DryRunSwaggerShrinkRequest({});
|