@alicloud/cloudapi20160714 2.1.1 → 2.1.4
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 +96 -0
- package/dist/client.js +180 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +227 -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(): {
|
|
@@ -4438,6 +4439,49 @@ export declare class DescribeZonesResponse extends $tea.Model {
|
|
|
4438
4439
|
[key: string]: any;
|
|
4439
4440
|
});
|
|
4440
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
|
+
}
|
|
4441
4485
|
export declare class DryRunSwaggerRequest extends $tea.Model {
|
|
4442
4486
|
data?: string;
|
|
4443
4487
|
dataFormat?: string;
|
|
@@ -6202,6 +6246,7 @@ export declare class SetVpcAccessRequest extends $tea.Model {
|
|
|
6202
6246
|
port?: number;
|
|
6203
6247
|
securityToken?: string;
|
|
6204
6248
|
vpcId?: string;
|
|
6249
|
+
vpcTargetHostName?: string;
|
|
6205
6250
|
static names(): {
|
|
6206
6251
|
[key: string]: string;
|
|
6207
6252
|
};
|
|
@@ -6798,6 +6843,21 @@ export declare class DescribeApiResponseBodyResultDescriptions extends $tea.Mode
|
|
|
6798
6843
|
[key: string]: any;
|
|
6799
6844
|
});
|
|
6800
6845
|
}
|
|
6846
|
+
export declare class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
6847
|
+
eventBridgeRegionId?: string;
|
|
6848
|
+
eventBus?: string;
|
|
6849
|
+
eventSource?: string;
|
|
6850
|
+
roleArn?: string;
|
|
6851
|
+
static names(): {
|
|
6852
|
+
[key: string]: string;
|
|
6853
|
+
};
|
|
6854
|
+
static types(): {
|
|
6855
|
+
[key: string]: any;
|
|
6856
|
+
};
|
|
6857
|
+
constructor(map?: {
|
|
6858
|
+
[key: string]: any;
|
|
6859
|
+
});
|
|
6860
|
+
}
|
|
6801
6861
|
export declare class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
6802
6862
|
contentTypeCatagory?: string;
|
|
6803
6863
|
contentTypeValue?: string;
|
|
@@ -6881,6 +6941,7 @@ export declare class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
6881
6941
|
aoneAppName?: string;
|
|
6882
6942
|
contentTypeCatagory?: string;
|
|
6883
6943
|
contentTypeValue?: string;
|
|
6944
|
+
eventBridgeConfig?: DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
6884
6945
|
functionComputeConfig?: DescribeApiResponseBodyServiceConfigFunctionComputeConfig;
|
|
6885
6946
|
mock?: string;
|
|
6886
6947
|
mockHeaders?: DescribeApiResponseBodyServiceConfigMockHeaders;
|
|
@@ -7478,6 +7539,21 @@ export declare class DescribeApiHistoryResponseBodyResultDescriptions extends $t
|
|
|
7478
7539
|
[key: string]: any;
|
|
7479
7540
|
});
|
|
7480
7541
|
}
|
|
7542
|
+
export declare class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
7543
|
+
eventBridgeRegionId?: string;
|
|
7544
|
+
eventBus?: string;
|
|
7545
|
+
eventSource?: string;
|
|
7546
|
+
roleArn?: string;
|
|
7547
|
+
static names(): {
|
|
7548
|
+
[key: string]: string;
|
|
7549
|
+
};
|
|
7550
|
+
static types(): {
|
|
7551
|
+
[key: string]: any;
|
|
7552
|
+
};
|
|
7553
|
+
constructor(map?: {
|
|
7554
|
+
[key: string]: any;
|
|
7555
|
+
});
|
|
7556
|
+
}
|
|
7481
7557
|
export declare class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
7482
7558
|
contentTypeCatagory?: string;
|
|
7483
7559
|
contentTypeValue?: string;
|
|
@@ -7560,6 +7636,7 @@ export declare class DescribeApiHistoryResponseBodyServiceConfigVpcConfig extend
|
|
|
7560
7636
|
export declare class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
7561
7637
|
contentTypeCatagory?: string;
|
|
7562
7638
|
contentTypeValue?: string;
|
|
7639
|
+
eventBridgeConfig?: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
7563
7640
|
functionComputeConfig?: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig;
|
|
7564
7641
|
mock?: string;
|
|
7565
7642
|
mockHeaders?: DescribeApiHistoryResponseBodyServiceConfigMockHeaders;
|
|
@@ -8250,6 +8327,21 @@ export declare class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $t
|
|
|
8250
8327
|
[key: string]: any;
|
|
8251
8328
|
});
|
|
8252
8329
|
}
|
|
8330
|
+
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
8331
|
+
eventBridgeRegionId?: string;
|
|
8332
|
+
eventBus?: string;
|
|
8333
|
+
eventSource?: string;
|
|
8334
|
+
roleArn?: string;
|
|
8335
|
+
static names(): {
|
|
8336
|
+
[key: string]: string;
|
|
8337
|
+
};
|
|
8338
|
+
static types(): {
|
|
8339
|
+
[key: string]: any;
|
|
8340
|
+
};
|
|
8341
|
+
constructor(map?: {
|
|
8342
|
+
[key: string]: any;
|
|
8343
|
+
});
|
|
8344
|
+
}
|
|
8253
8345
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
8254
8346
|
fcBaseUrl?: string;
|
|
8255
8347
|
fcRegionId?: string;
|
|
@@ -8300,6 +8392,7 @@ export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBack
|
|
|
8300
8392
|
});
|
|
8301
8393
|
}
|
|
8302
8394
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
8395
|
+
eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
8303
8396
|
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
8304
8397
|
ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
|
|
8305
8398
|
serviceAddress?: string;
|
|
@@ -9479,6 +9572,7 @@ export declare class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccess
|
|
|
9479
9572
|
regionId?: string;
|
|
9480
9573
|
vpcAccessId?: string;
|
|
9481
9574
|
vpcId?: string;
|
|
9575
|
+
vpcTargetHostName?: string;
|
|
9482
9576
|
static names(): {
|
|
9483
9577
|
[key: string]: string;
|
|
9484
9578
|
};
|
|
@@ -10054,6 +10148,8 @@ export default class Client extends OpenApi {
|
|
|
10054
10148
|
describeVpcAccesses(request: DescribeVpcAccessesRequest): Promise<DescribeVpcAccessesResponse>;
|
|
10055
10149
|
describeZonesWithOptions(request: DescribeZonesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeZonesResponse>;
|
|
10056
10150
|
describeZones(request: DescribeZonesRequest): Promise<DescribeZonesResponse>;
|
|
10151
|
+
detachPluginWithOptions(request: DetachPluginRequest, runtime: $Util.RuntimeOptions): Promise<DetachPluginResponse>;
|
|
10152
|
+
detachPlugin(request: DetachPluginRequest): Promise<DetachPluginResponse>;
|
|
10057
10153
|
dryRunSwaggerWithOptions(tmpReq: DryRunSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<DryRunSwaggerResponse>;
|
|
10058
10154
|
dryRunSwagger(request: DryRunSwaggerRequest): Promise<DryRunSwaggerResponse>;
|
|
10059
10155
|
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
|
};
|
|
@@ -6199,6 +6201,64 @@ class DescribeZonesResponse extends $tea.Model {
|
|
|
6199
6201
|
}
|
|
6200
6202
|
}
|
|
6201
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;
|
|
6202
6262
|
class DryRunSwaggerRequest extends $tea.Model {
|
|
6203
6263
|
constructor(map) {
|
|
6204
6264
|
super(map);
|
|
@@ -8617,6 +8677,7 @@ class SetVpcAccessRequest extends $tea.Model {
|
|
|
8617
8677
|
port: 'Port',
|
|
8618
8678
|
securityToken: 'SecurityToken',
|
|
8619
8679
|
vpcId: 'VpcId',
|
|
8680
|
+
vpcTargetHostName: 'VpcTargetHostName',
|
|
8620
8681
|
};
|
|
8621
8682
|
}
|
|
8622
8683
|
static types() {
|
|
@@ -8627,6 +8688,7 @@ class SetVpcAccessRequest extends $tea.Model {
|
|
|
8627
8688
|
port: 'number',
|
|
8628
8689
|
securityToken: 'string',
|
|
8629
8690
|
vpcId: 'string',
|
|
8691
|
+
vpcTargetHostName: 'string',
|
|
8630
8692
|
};
|
|
8631
8693
|
}
|
|
8632
8694
|
}
|
|
@@ -9455,6 +9517,28 @@ class DescribeApiResponseBodyResultDescriptions extends $tea.Model {
|
|
|
9455
9517
|
}
|
|
9456
9518
|
}
|
|
9457
9519
|
exports.DescribeApiResponseBodyResultDescriptions = DescribeApiResponseBodyResultDescriptions;
|
|
9520
|
+
class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
9521
|
+
constructor(map) {
|
|
9522
|
+
super(map);
|
|
9523
|
+
}
|
|
9524
|
+
static names() {
|
|
9525
|
+
return {
|
|
9526
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
9527
|
+
eventBus: 'EventBus',
|
|
9528
|
+
eventSource: 'EventSource',
|
|
9529
|
+
roleArn: 'RoleArn',
|
|
9530
|
+
};
|
|
9531
|
+
}
|
|
9532
|
+
static types() {
|
|
9533
|
+
return {
|
|
9534
|
+
eventBridgeRegionId: 'string',
|
|
9535
|
+
eventBus: 'string',
|
|
9536
|
+
eventSource: 'string',
|
|
9537
|
+
roleArn: 'string',
|
|
9538
|
+
};
|
|
9539
|
+
}
|
|
9540
|
+
}
|
|
9541
|
+
exports.DescribeApiResponseBodyServiceConfigEventBridgeConfig = DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
9458
9542
|
class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
9459
9543
|
constructor(map) {
|
|
9460
9544
|
super(map);
|
|
@@ -9582,6 +9666,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9582
9666
|
aoneAppName: 'AoneAppName',
|
|
9583
9667
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
9584
9668
|
contentTypeValue: 'ContentTypeValue',
|
|
9669
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
9585
9670
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
9586
9671
|
mock: 'Mock',
|
|
9587
9672
|
mockHeaders: 'MockHeaders',
|
|
@@ -9602,6 +9687,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9602
9687
|
aoneAppName: 'string',
|
|
9603
9688
|
contentTypeCatagory: 'string',
|
|
9604
9689
|
contentTypeValue: 'string',
|
|
9690
|
+
eventBridgeConfig: DescribeApiResponseBodyServiceConfigEventBridgeConfig,
|
|
9605
9691
|
functionComputeConfig: DescribeApiResponseBodyServiceConfigFunctionComputeConfig,
|
|
9606
9692
|
mock: 'string',
|
|
9607
9693
|
mockHeaders: DescribeApiResponseBodyServiceConfigMockHeaders,
|
|
@@ -10463,6 +10549,28 @@ class DescribeApiHistoryResponseBodyResultDescriptions extends $tea.Model {
|
|
|
10463
10549
|
}
|
|
10464
10550
|
}
|
|
10465
10551
|
exports.DescribeApiHistoryResponseBodyResultDescriptions = DescribeApiHistoryResponseBodyResultDescriptions;
|
|
10552
|
+
class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
10553
|
+
constructor(map) {
|
|
10554
|
+
super(map);
|
|
10555
|
+
}
|
|
10556
|
+
static names() {
|
|
10557
|
+
return {
|
|
10558
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
10559
|
+
eventBus: 'EventBus',
|
|
10560
|
+
eventSource: 'EventSource',
|
|
10561
|
+
roleArn: 'RoleArn',
|
|
10562
|
+
};
|
|
10563
|
+
}
|
|
10564
|
+
static types() {
|
|
10565
|
+
return {
|
|
10566
|
+
eventBridgeRegionId: 'string',
|
|
10567
|
+
eventBus: 'string',
|
|
10568
|
+
eventSource: 'string',
|
|
10569
|
+
roleArn: 'string',
|
|
10570
|
+
};
|
|
10571
|
+
}
|
|
10572
|
+
}
|
|
10573
|
+
exports.DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig = DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
10466
10574
|
class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
10467
10575
|
constructor(map) {
|
|
10468
10576
|
super(map);
|
|
@@ -10589,6 +10697,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10589
10697
|
return {
|
|
10590
10698
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
10591
10699
|
contentTypeValue: 'ContentTypeValue',
|
|
10700
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
10592
10701
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
10593
10702
|
mock: 'Mock',
|
|
10594
10703
|
mockHeaders: 'MockHeaders',
|
|
@@ -10609,6 +10718,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10609
10718
|
return {
|
|
10610
10719
|
contentTypeCatagory: 'string',
|
|
10611
10720
|
contentTypeValue: 'string',
|
|
10721
|
+
eventBridgeConfig: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig,
|
|
10612
10722
|
functionComputeConfig: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig,
|
|
10613
10723
|
mock: 'string',
|
|
10614
10724
|
mockHeaders: DescribeApiHistoryResponseBodyServiceConfigMockHeaders,
|
|
@@ -11583,6 +11693,28 @@ class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model {
|
|
|
11583
11693
|
}
|
|
11584
11694
|
}
|
|
11585
11695
|
exports.DescribeAuthorizedAppsResponseBodyAuthorizedApps = DescribeAuthorizedAppsResponseBodyAuthorizedApps;
|
|
11696
|
+
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
11697
|
+
constructor(map) {
|
|
11698
|
+
super(map);
|
|
11699
|
+
}
|
|
11700
|
+
static names() {
|
|
11701
|
+
return {
|
|
11702
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
11703
|
+
eventBus: 'EventBus',
|
|
11704
|
+
eventSource: 'EventSource',
|
|
11705
|
+
roleArn: 'RoleArn',
|
|
11706
|
+
};
|
|
11707
|
+
}
|
|
11708
|
+
static types() {
|
|
11709
|
+
return {
|
|
11710
|
+
eventBridgeRegionId: 'string',
|
|
11711
|
+
eventBus: 'string',
|
|
11712
|
+
eventSource: 'string',
|
|
11713
|
+
roleArn: 'string',
|
|
11714
|
+
};
|
|
11715
|
+
}
|
|
11716
|
+
}
|
|
11717
|
+
exports.DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig = DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
11586
11718
|
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
11587
11719
|
constructor(map) {
|
|
11588
11720
|
super(map);
|
|
@@ -11663,6 +11795,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11663
11795
|
}
|
|
11664
11796
|
static names() {
|
|
11665
11797
|
return {
|
|
11798
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
11666
11799
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
11667
11800
|
ossConfig: 'OssConfig',
|
|
11668
11801
|
serviceAddress: 'ServiceAddress',
|
|
@@ -11672,6 +11805,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11672
11805
|
}
|
|
11673
11806
|
static types() {
|
|
11674
11807
|
return {
|
|
11808
|
+
eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
|
|
11675
11809
|
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
11676
11810
|
ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
|
|
11677
11811
|
serviceAddress: 'string',
|
|
@@ -13381,6 +13515,7 @@ class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribute exten
|
|
|
13381
13515
|
regionId: 'RegionId',
|
|
13382
13516
|
vpcAccessId: 'VpcAccessId',
|
|
13383
13517
|
vpcId: 'VpcId',
|
|
13518
|
+
vpcTargetHostName: 'VpcTargetHostName',
|
|
13384
13519
|
};
|
|
13385
13520
|
}
|
|
13386
13521
|
static types() {
|
|
@@ -13393,6 +13528,7 @@ class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribute exten
|
|
|
13393
13528
|
regionId: 'string',
|
|
13394
13529
|
vpcAccessId: 'string',
|
|
13395
13530
|
vpcId: 'string',
|
|
13531
|
+
vpcTargetHostName: 'string',
|
|
13396
13532
|
};
|
|
13397
13533
|
}
|
|
13398
13534
|
}
|
|
@@ -14400,6 +14536,9 @@ class Client extends openapi_client_1.default {
|
|
|
14400
14536
|
if (!tea_util_1.default.isUnset(request.backendType)) {
|
|
14401
14537
|
query["BackendType"] = request.backendType;
|
|
14402
14538
|
}
|
|
14539
|
+
if (!tea_util_1.default.isUnset(request.createEventBridgeServiceLinkedRole)) {
|
|
14540
|
+
query["CreateEventBridgeServiceLinkedRole"] = request.createEventBridgeServiceLinkedRole;
|
|
14541
|
+
}
|
|
14403
14542
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
14404
14543
|
query["Description"] = request.description;
|
|
14405
14544
|
}
|
|
@@ -17482,6 +17621,44 @@ class Client extends openapi_client_1.default {
|
|
|
17482
17621
|
let runtime = new $Util.RuntimeOptions({});
|
|
17483
17622
|
return await this.describeZonesWithOptions(request, runtime);
|
|
17484
17623
|
}
|
|
17624
|
+
async detachPluginWithOptions(request, runtime) {
|
|
17625
|
+
tea_util_1.default.validateModel(request);
|
|
17626
|
+
let query = {};
|
|
17627
|
+
if (!tea_util_1.default.isUnset(request.apiId)) {
|
|
17628
|
+
query["ApiId"] = request.apiId;
|
|
17629
|
+
}
|
|
17630
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
17631
|
+
query["GroupId"] = request.groupId;
|
|
17632
|
+
}
|
|
17633
|
+
if (!tea_util_1.default.isUnset(request.pluginId)) {
|
|
17634
|
+
query["PluginId"] = request.pluginId;
|
|
17635
|
+
}
|
|
17636
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
17637
|
+
query["SecurityToken"] = request.securityToken;
|
|
17638
|
+
}
|
|
17639
|
+
if (!tea_util_1.default.isUnset(request.stageName)) {
|
|
17640
|
+
query["StageName"] = request.stageName;
|
|
17641
|
+
}
|
|
17642
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17643
|
+
query: openapi_util_1.default.query(query),
|
|
17644
|
+
});
|
|
17645
|
+
let params = new $OpenApi.Params({
|
|
17646
|
+
action: "DetachPlugin",
|
|
17647
|
+
version: "2016-07-14",
|
|
17648
|
+
protocol: "HTTPS",
|
|
17649
|
+
pathname: "/",
|
|
17650
|
+
method: "POST",
|
|
17651
|
+
authType: "AK",
|
|
17652
|
+
style: "RPC",
|
|
17653
|
+
reqBodyType: "formData",
|
|
17654
|
+
bodyType: "json",
|
|
17655
|
+
});
|
|
17656
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachPluginResponse({}));
|
|
17657
|
+
}
|
|
17658
|
+
async detachPlugin(request) {
|
|
17659
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17660
|
+
return await this.detachPluginWithOptions(request, runtime);
|
|
17661
|
+
}
|
|
17485
17662
|
async dryRunSwaggerWithOptions(tmpReq, runtime) {
|
|
17486
17663
|
tea_util_1.default.validateModel(tmpReq);
|
|
17487
17664
|
let request = new DryRunSwaggerShrinkRequest({});
|
|
@@ -19058,6 +19235,9 @@ class Client extends openapi_client_1.default {
|
|
|
19058
19235
|
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
19059
19236
|
query["VpcId"] = request.vpcId;
|
|
19060
19237
|
}
|
|
19238
|
+
if (!tea_util_1.default.isUnset(request.vpcTargetHostName)) {
|
|
19239
|
+
query["VpcTargetHostName"] = request.vpcTargetHostName;
|
|
19240
|
+
}
|
|
19061
19241
|
let req = new $OpenApi.OpenApiRequest({
|
|
19062
19242
|
query: openapi_util_1.default.query(query),
|
|
19063
19243
|
});
|