@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/dist/client.d.ts +127 -0
- package/dist/client.js +335 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +444 -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(): {
|
|
@@ -4728,6 +4729,80 @@ export declare class ModifyApiResponse extends $tea.Model {
|
|
|
4728
4729
|
[key: string]: any;
|
|
4729
4730
|
});
|
|
4730
4731
|
}
|
|
4732
|
+
export declare class ModifyApiConfigurationRequest extends $tea.Model {
|
|
4733
|
+
allowSignatureMethod?: string;
|
|
4734
|
+
apiId?: string;
|
|
4735
|
+
apiName?: string;
|
|
4736
|
+
appCodeAuthType?: string;
|
|
4737
|
+
authType?: string;
|
|
4738
|
+
backendName?: string;
|
|
4739
|
+
bodyFormat?: string;
|
|
4740
|
+
bodyModel?: string;
|
|
4741
|
+
contentTypeCategory?: string;
|
|
4742
|
+
contentTypeValue?: string;
|
|
4743
|
+
description?: string;
|
|
4744
|
+
disableInternet?: boolean;
|
|
4745
|
+
errorCodeSamples?: string;
|
|
4746
|
+
failResultSample?: string;
|
|
4747
|
+
forceNonceCheck?: boolean;
|
|
4748
|
+
functionComputeConfig?: string;
|
|
4749
|
+
httpConfig?: string;
|
|
4750
|
+
mockConfig?: string;
|
|
4751
|
+
modelName?: string;
|
|
4752
|
+
ossConfig?: string;
|
|
4753
|
+
postBodyDescription?: string;
|
|
4754
|
+
requestHttpMethod?: string;
|
|
4755
|
+
requestMode?: string;
|
|
4756
|
+
requestParameters?: string;
|
|
4757
|
+
requestPath?: string;
|
|
4758
|
+
requestProtocol?: string;
|
|
4759
|
+
resultSample?: string;
|
|
4760
|
+
resultType?: string;
|
|
4761
|
+
securityToken?: string;
|
|
4762
|
+
serviceParameters?: string;
|
|
4763
|
+
serviceParametersMap?: string;
|
|
4764
|
+
serviceProtocol?: string;
|
|
4765
|
+
serviceTimeout?: number;
|
|
4766
|
+
useBackendService?: boolean;
|
|
4767
|
+
visibility?: string;
|
|
4768
|
+
vpcConfig?: string;
|
|
4769
|
+
static names(): {
|
|
4770
|
+
[key: string]: string;
|
|
4771
|
+
};
|
|
4772
|
+
static types(): {
|
|
4773
|
+
[key: string]: any;
|
|
4774
|
+
};
|
|
4775
|
+
constructor(map?: {
|
|
4776
|
+
[key: string]: any;
|
|
4777
|
+
});
|
|
4778
|
+
}
|
|
4779
|
+
export declare class ModifyApiConfigurationResponseBody extends $tea.Model {
|
|
4780
|
+
requestId?: string;
|
|
4781
|
+
static names(): {
|
|
4782
|
+
[key: string]: string;
|
|
4783
|
+
};
|
|
4784
|
+
static types(): {
|
|
4785
|
+
[key: string]: any;
|
|
4786
|
+
};
|
|
4787
|
+
constructor(map?: {
|
|
4788
|
+
[key: string]: any;
|
|
4789
|
+
});
|
|
4790
|
+
}
|
|
4791
|
+
export declare class ModifyApiConfigurationResponse extends $tea.Model {
|
|
4792
|
+
headers: {
|
|
4793
|
+
[key: string]: string;
|
|
4794
|
+
};
|
|
4795
|
+
body: ModifyApiConfigurationResponseBody;
|
|
4796
|
+
static names(): {
|
|
4797
|
+
[key: string]: string;
|
|
4798
|
+
};
|
|
4799
|
+
static types(): {
|
|
4800
|
+
[key: string]: any;
|
|
4801
|
+
};
|
|
4802
|
+
constructor(map?: {
|
|
4803
|
+
[key: string]: any;
|
|
4804
|
+
});
|
|
4805
|
+
}
|
|
4731
4806
|
export declare class ModifyApiGroupRequest extends $tea.Model {
|
|
4732
4807
|
basePath?: string;
|
|
4733
4808
|
compatibleFlags?: string;
|
|
@@ -6245,6 +6320,7 @@ export declare class SetVpcAccessRequest extends $tea.Model {
|
|
|
6245
6320
|
port?: number;
|
|
6246
6321
|
securityToken?: string;
|
|
6247
6322
|
vpcId?: string;
|
|
6323
|
+
vpcTargetHostName?: string;
|
|
6248
6324
|
static names(): {
|
|
6249
6325
|
[key: string]: string;
|
|
6250
6326
|
};
|
|
@@ -6841,6 +6917,21 @@ export declare class DescribeApiResponseBodyResultDescriptions extends $tea.Mode
|
|
|
6841
6917
|
[key: string]: any;
|
|
6842
6918
|
});
|
|
6843
6919
|
}
|
|
6920
|
+
export declare class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
6921
|
+
eventBridgeRegionId?: string;
|
|
6922
|
+
eventBus?: string;
|
|
6923
|
+
eventSource?: string;
|
|
6924
|
+
roleArn?: string;
|
|
6925
|
+
static names(): {
|
|
6926
|
+
[key: string]: string;
|
|
6927
|
+
};
|
|
6928
|
+
static types(): {
|
|
6929
|
+
[key: string]: any;
|
|
6930
|
+
};
|
|
6931
|
+
constructor(map?: {
|
|
6932
|
+
[key: string]: any;
|
|
6933
|
+
});
|
|
6934
|
+
}
|
|
6844
6935
|
export declare class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
6845
6936
|
contentTypeCatagory?: string;
|
|
6846
6937
|
contentTypeValue?: string;
|
|
@@ -6924,6 +7015,7 @@ export declare class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
6924
7015
|
aoneAppName?: string;
|
|
6925
7016
|
contentTypeCatagory?: string;
|
|
6926
7017
|
contentTypeValue?: string;
|
|
7018
|
+
eventBridgeConfig?: DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
6927
7019
|
functionComputeConfig?: DescribeApiResponseBodyServiceConfigFunctionComputeConfig;
|
|
6928
7020
|
mock?: string;
|
|
6929
7021
|
mockHeaders?: DescribeApiResponseBodyServiceConfigMockHeaders;
|
|
@@ -7521,6 +7613,21 @@ export declare class DescribeApiHistoryResponseBodyResultDescriptions extends $t
|
|
|
7521
7613
|
[key: string]: any;
|
|
7522
7614
|
});
|
|
7523
7615
|
}
|
|
7616
|
+
export declare class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
7617
|
+
eventBridgeRegionId?: string;
|
|
7618
|
+
eventBus?: string;
|
|
7619
|
+
eventSource?: string;
|
|
7620
|
+
roleArn?: string;
|
|
7621
|
+
static names(): {
|
|
7622
|
+
[key: string]: string;
|
|
7623
|
+
};
|
|
7624
|
+
static types(): {
|
|
7625
|
+
[key: string]: any;
|
|
7626
|
+
};
|
|
7627
|
+
constructor(map?: {
|
|
7628
|
+
[key: string]: any;
|
|
7629
|
+
});
|
|
7630
|
+
}
|
|
7524
7631
|
export declare class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
7525
7632
|
contentTypeCatagory?: string;
|
|
7526
7633
|
contentTypeValue?: string;
|
|
@@ -7603,6 +7710,7 @@ export declare class DescribeApiHistoryResponseBodyServiceConfigVpcConfig extend
|
|
|
7603
7710
|
export declare class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
7604
7711
|
contentTypeCatagory?: string;
|
|
7605
7712
|
contentTypeValue?: string;
|
|
7713
|
+
eventBridgeConfig?: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
7606
7714
|
functionComputeConfig?: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig;
|
|
7607
7715
|
mock?: string;
|
|
7608
7716
|
mockHeaders?: DescribeApiHistoryResponseBodyServiceConfigMockHeaders;
|
|
@@ -8293,6 +8401,21 @@ export declare class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $t
|
|
|
8293
8401
|
[key: string]: any;
|
|
8294
8402
|
});
|
|
8295
8403
|
}
|
|
8404
|
+
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
8405
|
+
eventBridgeRegionId?: string;
|
|
8406
|
+
eventBus?: string;
|
|
8407
|
+
eventSource?: string;
|
|
8408
|
+
roleArn?: string;
|
|
8409
|
+
static names(): {
|
|
8410
|
+
[key: string]: string;
|
|
8411
|
+
};
|
|
8412
|
+
static types(): {
|
|
8413
|
+
[key: string]: any;
|
|
8414
|
+
};
|
|
8415
|
+
constructor(map?: {
|
|
8416
|
+
[key: string]: any;
|
|
8417
|
+
});
|
|
8418
|
+
}
|
|
8296
8419
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
8297
8420
|
fcBaseUrl?: string;
|
|
8298
8421
|
fcRegionId?: string;
|
|
@@ -8343,6 +8466,7 @@ export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBack
|
|
|
8343
8466
|
});
|
|
8344
8467
|
}
|
|
8345
8468
|
export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
8469
|
+
eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
8346
8470
|
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
8347
8471
|
ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
|
|
8348
8472
|
serviceAddress?: string;
|
|
@@ -9522,6 +9646,7 @@ export declare class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccess
|
|
|
9522
9646
|
regionId?: string;
|
|
9523
9647
|
vpcAccessId?: string;
|
|
9524
9648
|
vpcId?: string;
|
|
9649
|
+
vpcTargetHostName?: string;
|
|
9525
9650
|
static names(): {
|
|
9526
9651
|
[key: string]: string;
|
|
9527
9652
|
};
|
|
@@ -10107,6 +10232,8 @@ export default class Client extends OpenApi {
|
|
|
10107
10232
|
listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
|
|
10108
10233
|
modifyApiWithOptions(request: ModifyApiRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiResponse>;
|
|
10109
10234
|
modifyApi(request: ModifyApiRequest): Promise<ModifyApiResponse>;
|
|
10235
|
+
modifyApiConfigurationWithOptions(request: ModifyApiConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiConfigurationResponse>;
|
|
10236
|
+
modifyApiConfiguration(request: ModifyApiConfigurationRequest): Promise<ModifyApiConfigurationResponse>;
|
|
10110
10237
|
modifyApiGroupWithOptions(request: ModifyApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiGroupResponse>;
|
|
10111
10238
|
modifyApiGroup(request: ModifyApiGroupRequest): Promise<ModifyApiGroupResponse>;
|
|
10112
10239
|
modifyApiGroupVpcWhitelistWithOptions(request: ModifyApiGroupVpcWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiGroupVpcWhitelistResponse>;
|
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
|
};
|
|
@@ -6615,6 +6617,126 @@ class ModifyApiResponse extends $tea.Model {
|
|
|
6615
6617
|
}
|
|
6616
6618
|
}
|
|
6617
6619
|
exports.ModifyApiResponse = ModifyApiResponse;
|
|
6620
|
+
class ModifyApiConfigurationRequest extends $tea.Model {
|
|
6621
|
+
constructor(map) {
|
|
6622
|
+
super(map);
|
|
6623
|
+
}
|
|
6624
|
+
static names() {
|
|
6625
|
+
return {
|
|
6626
|
+
allowSignatureMethod: 'AllowSignatureMethod',
|
|
6627
|
+
apiId: 'ApiId',
|
|
6628
|
+
apiName: 'ApiName',
|
|
6629
|
+
appCodeAuthType: 'AppCodeAuthType',
|
|
6630
|
+
authType: 'AuthType',
|
|
6631
|
+
backendName: 'BackendName',
|
|
6632
|
+
bodyFormat: 'BodyFormat',
|
|
6633
|
+
bodyModel: 'BodyModel',
|
|
6634
|
+
contentTypeCategory: 'ContentTypeCategory',
|
|
6635
|
+
contentTypeValue: 'ContentTypeValue',
|
|
6636
|
+
description: 'Description',
|
|
6637
|
+
disableInternet: 'DisableInternet',
|
|
6638
|
+
errorCodeSamples: 'ErrorCodeSamples',
|
|
6639
|
+
failResultSample: 'FailResultSample',
|
|
6640
|
+
forceNonceCheck: 'ForceNonceCheck',
|
|
6641
|
+
functionComputeConfig: 'FunctionComputeConfig',
|
|
6642
|
+
httpConfig: 'HttpConfig',
|
|
6643
|
+
mockConfig: 'MockConfig',
|
|
6644
|
+
modelName: 'ModelName',
|
|
6645
|
+
ossConfig: 'OssConfig',
|
|
6646
|
+
postBodyDescription: 'PostBodyDescription',
|
|
6647
|
+
requestHttpMethod: 'RequestHttpMethod',
|
|
6648
|
+
requestMode: 'RequestMode',
|
|
6649
|
+
requestParameters: 'RequestParameters',
|
|
6650
|
+
requestPath: 'RequestPath',
|
|
6651
|
+
requestProtocol: 'RequestProtocol',
|
|
6652
|
+
resultSample: 'ResultSample',
|
|
6653
|
+
resultType: 'ResultType',
|
|
6654
|
+
securityToken: 'SecurityToken',
|
|
6655
|
+
serviceParameters: 'ServiceParameters',
|
|
6656
|
+
serviceParametersMap: 'ServiceParametersMap',
|
|
6657
|
+
serviceProtocol: 'ServiceProtocol',
|
|
6658
|
+
serviceTimeout: 'ServiceTimeout',
|
|
6659
|
+
useBackendService: 'UseBackendService',
|
|
6660
|
+
visibility: 'Visibility',
|
|
6661
|
+
vpcConfig: 'VpcConfig',
|
|
6662
|
+
};
|
|
6663
|
+
}
|
|
6664
|
+
static types() {
|
|
6665
|
+
return {
|
|
6666
|
+
allowSignatureMethod: 'string',
|
|
6667
|
+
apiId: 'string',
|
|
6668
|
+
apiName: 'string',
|
|
6669
|
+
appCodeAuthType: 'string',
|
|
6670
|
+
authType: 'string',
|
|
6671
|
+
backendName: 'string',
|
|
6672
|
+
bodyFormat: 'string',
|
|
6673
|
+
bodyModel: 'string',
|
|
6674
|
+
contentTypeCategory: 'string',
|
|
6675
|
+
contentTypeValue: 'string',
|
|
6676
|
+
description: 'string',
|
|
6677
|
+
disableInternet: 'boolean',
|
|
6678
|
+
errorCodeSamples: 'string',
|
|
6679
|
+
failResultSample: 'string',
|
|
6680
|
+
forceNonceCheck: 'boolean',
|
|
6681
|
+
functionComputeConfig: 'string',
|
|
6682
|
+
httpConfig: 'string',
|
|
6683
|
+
mockConfig: 'string',
|
|
6684
|
+
modelName: 'string',
|
|
6685
|
+
ossConfig: 'string',
|
|
6686
|
+
postBodyDescription: 'string',
|
|
6687
|
+
requestHttpMethod: 'string',
|
|
6688
|
+
requestMode: 'string',
|
|
6689
|
+
requestParameters: 'string',
|
|
6690
|
+
requestPath: 'string',
|
|
6691
|
+
requestProtocol: 'string',
|
|
6692
|
+
resultSample: 'string',
|
|
6693
|
+
resultType: 'string',
|
|
6694
|
+
securityToken: 'string',
|
|
6695
|
+
serviceParameters: 'string',
|
|
6696
|
+
serviceParametersMap: 'string',
|
|
6697
|
+
serviceProtocol: 'string',
|
|
6698
|
+
serviceTimeout: 'number',
|
|
6699
|
+
useBackendService: 'boolean',
|
|
6700
|
+
visibility: 'string',
|
|
6701
|
+
vpcConfig: 'string',
|
|
6702
|
+
};
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
exports.ModifyApiConfigurationRequest = ModifyApiConfigurationRequest;
|
|
6706
|
+
class ModifyApiConfigurationResponseBody extends $tea.Model {
|
|
6707
|
+
constructor(map) {
|
|
6708
|
+
super(map);
|
|
6709
|
+
}
|
|
6710
|
+
static names() {
|
|
6711
|
+
return {
|
|
6712
|
+
requestId: 'RequestId',
|
|
6713
|
+
};
|
|
6714
|
+
}
|
|
6715
|
+
static types() {
|
|
6716
|
+
return {
|
|
6717
|
+
requestId: 'string',
|
|
6718
|
+
};
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6721
|
+
exports.ModifyApiConfigurationResponseBody = ModifyApiConfigurationResponseBody;
|
|
6722
|
+
class ModifyApiConfigurationResponse extends $tea.Model {
|
|
6723
|
+
constructor(map) {
|
|
6724
|
+
super(map);
|
|
6725
|
+
}
|
|
6726
|
+
static names() {
|
|
6727
|
+
return {
|
|
6728
|
+
headers: 'headers',
|
|
6729
|
+
body: 'body',
|
|
6730
|
+
};
|
|
6731
|
+
}
|
|
6732
|
+
static types() {
|
|
6733
|
+
return {
|
|
6734
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6735
|
+
body: ModifyApiConfigurationResponseBody,
|
|
6736
|
+
};
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
exports.ModifyApiConfigurationResponse = ModifyApiConfigurationResponse;
|
|
6618
6740
|
class ModifyApiGroupRequest extends $tea.Model {
|
|
6619
6741
|
constructor(map) {
|
|
6620
6742
|
super(map);
|
|
@@ -8675,6 +8797,7 @@ class SetVpcAccessRequest extends $tea.Model {
|
|
|
8675
8797
|
port: 'Port',
|
|
8676
8798
|
securityToken: 'SecurityToken',
|
|
8677
8799
|
vpcId: 'VpcId',
|
|
8800
|
+
vpcTargetHostName: 'VpcTargetHostName',
|
|
8678
8801
|
};
|
|
8679
8802
|
}
|
|
8680
8803
|
static types() {
|
|
@@ -8685,6 +8808,7 @@ class SetVpcAccessRequest extends $tea.Model {
|
|
|
8685
8808
|
port: 'number',
|
|
8686
8809
|
securityToken: 'string',
|
|
8687
8810
|
vpcId: 'string',
|
|
8811
|
+
vpcTargetHostName: 'string',
|
|
8688
8812
|
};
|
|
8689
8813
|
}
|
|
8690
8814
|
}
|
|
@@ -9513,6 +9637,28 @@ class DescribeApiResponseBodyResultDescriptions extends $tea.Model {
|
|
|
9513
9637
|
}
|
|
9514
9638
|
}
|
|
9515
9639
|
exports.DescribeApiResponseBodyResultDescriptions = DescribeApiResponseBodyResultDescriptions;
|
|
9640
|
+
class DescribeApiResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
9641
|
+
constructor(map) {
|
|
9642
|
+
super(map);
|
|
9643
|
+
}
|
|
9644
|
+
static names() {
|
|
9645
|
+
return {
|
|
9646
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
9647
|
+
eventBus: 'EventBus',
|
|
9648
|
+
eventSource: 'EventSource',
|
|
9649
|
+
roleArn: 'RoleArn',
|
|
9650
|
+
};
|
|
9651
|
+
}
|
|
9652
|
+
static types() {
|
|
9653
|
+
return {
|
|
9654
|
+
eventBridgeRegionId: 'string',
|
|
9655
|
+
eventBus: 'string',
|
|
9656
|
+
eventSource: 'string',
|
|
9657
|
+
roleArn: 'string',
|
|
9658
|
+
};
|
|
9659
|
+
}
|
|
9660
|
+
}
|
|
9661
|
+
exports.DescribeApiResponseBodyServiceConfigEventBridgeConfig = DescribeApiResponseBodyServiceConfigEventBridgeConfig;
|
|
9516
9662
|
class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
9517
9663
|
constructor(map) {
|
|
9518
9664
|
super(map);
|
|
@@ -9640,6 +9786,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9640
9786
|
aoneAppName: 'AoneAppName',
|
|
9641
9787
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
9642
9788
|
contentTypeValue: 'ContentTypeValue',
|
|
9789
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
9643
9790
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
9644
9791
|
mock: 'Mock',
|
|
9645
9792
|
mockHeaders: 'MockHeaders',
|
|
@@ -9660,6 +9807,7 @@ class DescribeApiResponseBodyServiceConfig extends $tea.Model {
|
|
|
9660
9807
|
aoneAppName: 'string',
|
|
9661
9808
|
contentTypeCatagory: 'string',
|
|
9662
9809
|
contentTypeValue: 'string',
|
|
9810
|
+
eventBridgeConfig: DescribeApiResponseBodyServiceConfigEventBridgeConfig,
|
|
9663
9811
|
functionComputeConfig: DescribeApiResponseBodyServiceConfigFunctionComputeConfig,
|
|
9664
9812
|
mock: 'string',
|
|
9665
9813
|
mockHeaders: DescribeApiResponseBodyServiceConfigMockHeaders,
|
|
@@ -10521,6 +10669,28 @@ class DescribeApiHistoryResponseBodyResultDescriptions extends $tea.Model {
|
|
|
10521
10669
|
}
|
|
10522
10670
|
}
|
|
10523
10671
|
exports.DescribeApiHistoryResponseBodyResultDescriptions = DescribeApiHistoryResponseBodyResultDescriptions;
|
|
10672
|
+
class DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig extends $tea.Model {
|
|
10673
|
+
constructor(map) {
|
|
10674
|
+
super(map);
|
|
10675
|
+
}
|
|
10676
|
+
static names() {
|
|
10677
|
+
return {
|
|
10678
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
10679
|
+
eventBus: 'EventBus',
|
|
10680
|
+
eventSource: 'EventSource',
|
|
10681
|
+
roleArn: 'RoleArn',
|
|
10682
|
+
};
|
|
10683
|
+
}
|
|
10684
|
+
static types() {
|
|
10685
|
+
return {
|
|
10686
|
+
eventBridgeRegionId: 'string',
|
|
10687
|
+
eventBus: 'string',
|
|
10688
|
+
eventSource: 'string',
|
|
10689
|
+
roleArn: 'string',
|
|
10690
|
+
};
|
|
10691
|
+
}
|
|
10692
|
+
}
|
|
10693
|
+
exports.DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig = DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig;
|
|
10524
10694
|
class DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig extends $tea.Model {
|
|
10525
10695
|
constructor(map) {
|
|
10526
10696
|
super(map);
|
|
@@ -10647,6 +10817,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10647
10817
|
return {
|
|
10648
10818
|
contentTypeCatagory: 'ContentTypeCatagory',
|
|
10649
10819
|
contentTypeValue: 'ContentTypeValue',
|
|
10820
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
10650
10821
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
10651
10822
|
mock: 'Mock',
|
|
10652
10823
|
mockHeaders: 'MockHeaders',
|
|
@@ -10667,6 +10838,7 @@ class DescribeApiHistoryResponseBodyServiceConfig extends $tea.Model {
|
|
|
10667
10838
|
return {
|
|
10668
10839
|
contentTypeCatagory: 'string',
|
|
10669
10840
|
contentTypeValue: 'string',
|
|
10841
|
+
eventBridgeConfig: DescribeApiHistoryResponseBodyServiceConfigEventBridgeConfig,
|
|
10670
10842
|
functionComputeConfig: DescribeApiHistoryResponseBodyServiceConfigFunctionComputeConfig,
|
|
10671
10843
|
mock: 'string',
|
|
10672
10844
|
mockHeaders: DescribeApiHistoryResponseBodyServiceConfigMockHeaders,
|
|
@@ -11641,6 +11813,28 @@ class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model {
|
|
|
11641
11813
|
}
|
|
11642
11814
|
}
|
|
11643
11815
|
exports.DescribeAuthorizedAppsResponseBodyAuthorizedApps = DescribeAuthorizedAppsResponseBodyAuthorizedApps;
|
|
11816
|
+
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
11817
|
+
constructor(map) {
|
|
11818
|
+
super(map);
|
|
11819
|
+
}
|
|
11820
|
+
static names() {
|
|
11821
|
+
return {
|
|
11822
|
+
eventBridgeRegionId: 'EventBridgeRegionId',
|
|
11823
|
+
eventBus: 'EventBus',
|
|
11824
|
+
eventSource: 'EventSource',
|
|
11825
|
+
roleArn: 'RoleArn',
|
|
11826
|
+
};
|
|
11827
|
+
}
|
|
11828
|
+
static types() {
|
|
11829
|
+
return {
|
|
11830
|
+
eventBridgeRegionId: 'string',
|
|
11831
|
+
eventBus: 'string',
|
|
11832
|
+
eventSource: 'string',
|
|
11833
|
+
roleArn: 'string',
|
|
11834
|
+
};
|
|
11835
|
+
}
|
|
11836
|
+
}
|
|
11837
|
+
exports.DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig = DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
11644
11838
|
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
11645
11839
|
constructor(map) {
|
|
11646
11840
|
super(map);
|
|
@@ -11721,6 +11915,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11721
11915
|
}
|
|
11722
11916
|
static names() {
|
|
11723
11917
|
return {
|
|
11918
|
+
eventBridgeConfig: 'EventBridgeConfig',
|
|
11724
11919
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
11725
11920
|
ossConfig: 'OssConfig',
|
|
11726
11921
|
serviceAddress: 'ServiceAddress',
|
|
@@ -11730,6 +11925,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
11730
11925
|
}
|
|
11731
11926
|
static types() {
|
|
11732
11927
|
return {
|
|
11928
|
+
eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
|
|
11733
11929
|
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
11734
11930
|
ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
|
|
11735
11931
|
serviceAddress: 'string',
|
|
@@ -13439,6 +13635,7 @@ class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribute exten
|
|
|
13439
13635
|
regionId: 'RegionId',
|
|
13440
13636
|
vpcAccessId: 'VpcAccessId',
|
|
13441
13637
|
vpcId: 'VpcId',
|
|
13638
|
+
vpcTargetHostName: 'VpcTargetHostName',
|
|
13442
13639
|
};
|
|
13443
13640
|
}
|
|
13444
13641
|
static types() {
|
|
@@ -13451,6 +13648,7 @@ class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribute exten
|
|
|
13451
13648
|
regionId: 'string',
|
|
13452
13649
|
vpcAccessId: 'string',
|
|
13453
13650
|
vpcId: 'string',
|
|
13651
|
+
vpcTargetHostName: 'string',
|
|
13454
13652
|
};
|
|
13455
13653
|
}
|
|
13456
13654
|
}
|
|
@@ -14458,6 +14656,9 @@ class Client extends openapi_client_1.default {
|
|
|
14458
14656
|
if (!tea_util_1.default.isUnset(request.backendType)) {
|
|
14459
14657
|
query["BackendType"] = request.backendType;
|
|
14460
14658
|
}
|
|
14659
|
+
if (!tea_util_1.default.isUnset(request.createEventBridgeServiceLinkedRole)) {
|
|
14660
|
+
query["CreateEventBridgeServiceLinkedRole"] = request.createEventBridgeServiceLinkedRole;
|
|
14661
|
+
}
|
|
14461
14662
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
14462
14663
|
query["Description"] = request.description;
|
|
14463
14664
|
}
|
|
@@ -17819,6 +18020,137 @@ class Client extends openapi_client_1.default {
|
|
|
17819
18020
|
let runtime = new $Util.RuntimeOptions({});
|
|
17820
18021
|
return await this.modifyApiWithOptions(request, runtime);
|
|
17821
18022
|
}
|
|
18023
|
+
async modifyApiConfigurationWithOptions(request, runtime) {
|
|
18024
|
+
tea_util_1.default.validateModel(request);
|
|
18025
|
+
let query = {};
|
|
18026
|
+
if (!tea_util_1.default.isUnset(request.allowSignatureMethod)) {
|
|
18027
|
+
query["AllowSignatureMethod"] = request.allowSignatureMethod;
|
|
18028
|
+
}
|
|
18029
|
+
if (!tea_util_1.default.isUnset(request.apiId)) {
|
|
18030
|
+
query["ApiId"] = request.apiId;
|
|
18031
|
+
}
|
|
18032
|
+
if (!tea_util_1.default.isUnset(request.apiName)) {
|
|
18033
|
+
query["ApiName"] = request.apiName;
|
|
18034
|
+
}
|
|
18035
|
+
if (!tea_util_1.default.isUnset(request.appCodeAuthType)) {
|
|
18036
|
+
query["AppCodeAuthType"] = request.appCodeAuthType;
|
|
18037
|
+
}
|
|
18038
|
+
if (!tea_util_1.default.isUnset(request.authType)) {
|
|
18039
|
+
query["AuthType"] = request.authType;
|
|
18040
|
+
}
|
|
18041
|
+
if (!tea_util_1.default.isUnset(request.backendName)) {
|
|
18042
|
+
query["BackendName"] = request.backendName;
|
|
18043
|
+
}
|
|
18044
|
+
if (!tea_util_1.default.isUnset(request.bodyFormat)) {
|
|
18045
|
+
query["BodyFormat"] = request.bodyFormat;
|
|
18046
|
+
}
|
|
18047
|
+
if (!tea_util_1.default.isUnset(request.bodyModel)) {
|
|
18048
|
+
query["BodyModel"] = request.bodyModel;
|
|
18049
|
+
}
|
|
18050
|
+
if (!tea_util_1.default.isUnset(request.contentTypeCategory)) {
|
|
18051
|
+
query["ContentTypeCategory"] = request.contentTypeCategory;
|
|
18052
|
+
}
|
|
18053
|
+
if (!tea_util_1.default.isUnset(request.contentTypeValue)) {
|
|
18054
|
+
query["ContentTypeValue"] = request.contentTypeValue;
|
|
18055
|
+
}
|
|
18056
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
18057
|
+
query["Description"] = request.description;
|
|
18058
|
+
}
|
|
18059
|
+
if (!tea_util_1.default.isUnset(request.disableInternet)) {
|
|
18060
|
+
query["DisableInternet"] = request.disableInternet;
|
|
18061
|
+
}
|
|
18062
|
+
if (!tea_util_1.default.isUnset(request.errorCodeSamples)) {
|
|
18063
|
+
query["ErrorCodeSamples"] = request.errorCodeSamples;
|
|
18064
|
+
}
|
|
18065
|
+
if (!tea_util_1.default.isUnset(request.failResultSample)) {
|
|
18066
|
+
query["FailResultSample"] = request.failResultSample;
|
|
18067
|
+
}
|
|
18068
|
+
if (!tea_util_1.default.isUnset(request.forceNonceCheck)) {
|
|
18069
|
+
query["ForceNonceCheck"] = request.forceNonceCheck;
|
|
18070
|
+
}
|
|
18071
|
+
if (!tea_util_1.default.isUnset(request.functionComputeConfig)) {
|
|
18072
|
+
query["FunctionComputeConfig"] = request.functionComputeConfig;
|
|
18073
|
+
}
|
|
18074
|
+
if (!tea_util_1.default.isUnset(request.httpConfig)) {
|
|
18075
|
+
query["HttpConfig"] = request.httpConfig;
|
|
18076
|
+
}
|
|
18077
|
+
if (!tea_util_1.default.isUnset(request.mockConfig)) {
|
|
18078
|
+
query["MockConfig"] = request.mockConfig;
|
|
18079
|
+
}
|
|
18080
|
+
if (!tea_util_1.default.isUnset(request.modelName)) {
|
|
18081
|
+
query["ModelName"] = request.modelName;
|
|
18082
|
+
}
|
|
18083
|
+
if (!tea_util_1.default.isUnset(request.ossConfig)) {
|
|
18084
|
+
query["OssConfig"] = request.ossConfig;
|
|
18085
|
+
}
|
|
18086
|
+
if (!tea_util_1.default.isUnset(request.postBodyDescription)) {
|
|
18087
|
+
query["PostBodyDescription"] = request.postBodyDescription;
|
|
18088
|
+
}
|
|
18089
|
+
if (!tea_util_1.default.isUnset(request.requestHttpMethod)) {
|
|
18090
|
+
query["RequestHttpMethod"] = request.requestHttpMethod;
|
|
18091
|
+
}
|
|
18092
|
+
if (!tea_util_1.default.isUnset(request.requestMode)) {
|
|
18093
|
+
query["RequestMode"] = request.requestMode;
|
|
18094
|
+
}
|
|
18095
|
+
if (!tea_util_1.default.isUnset(request.requestParameters)) {
|
|
18096
|
+
query["RequestParameters"] = request.requestParameters;
|
|
18097
|
+
}
|
|
18098
|
+
if (!tea_util_1.default.isUnset(request.requestPath)) {
|
|
18099
|
+
query["RequestPath"] = request.requestPath;
|
|
18100
|
+
}
|
|
18101
|
+
if (!tea_util_1.default.isUnset(request.requestProtocol)) {
|
|
18102
|
+
query["RequestProtocol"] = request.requestProtocol;
|
|
18103
|
+
}
|
|
18104
|
+
if (!tea_util_1.default.isUnset(request.resultSample)) {
|
|
18105
|
+
query["ResultSample"] = request.resultSample;
|
|
18106
|
+
}
|
|
18107
|
+
if (!tea_util_1.default.isUnset(request.resultType)) {
|
|
18108
|
+
query["ResultType"] = request.resultType;
|
|
18109
|
+
}
|
|
18110
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
18111
|
+
query["SecurityToken"] = request.securityToken;
|
|
18112
|
+
}
|
|
18113
|
+
if (!tea_util_1.default.isUnset(request.serviceParameters)) {
|
|
18114
|
+
query["ServiceParameters"] = request.serviceParameters;
|
|
18115
|
+
}
|
|
18116
|
+
if (!tea_util_1.default.isUnset(request.serviceParametersMap)) {
|
|
18117
|
+
query["ServiceParametersMap"] = request.serviceParametersMap;
|
|
18118
|
+
}
|
|
18119
|
+
if (!tea_util_1.default.isUnset(request.serviceProtocol)) {
|
|
18120
|
+
query["ServiceProtocol"] = request.serviceProtocol;
|
|
18121
|
+
}
|
|
18122
|
+
if (!tea_util_1.default.isUnset(request.serviceTimeout)) {
|
|
18123
|
+
query["ServiceTimeout"] = request.serviceTimeout;
|
|
18124
|
+
}
|
|
18125
|
+
if (!tea_util_1.default.isUnset(request.useBackendService)) {
|
|
18126
|
+
query["UseBackendService"] = request.useBackendService;
|
|
18127
|
+
}
|
|
18128
|
+
if (!tea_util_1.default.isUnset(request.visibility)) {
|
|
18129
|
+
query["Visibility"] = request.visibility;
|
|
18130
|
+
}
|
|
18131
|
+
if (!tea_util_1.default.isUnset(request.vpcConfig)) {
|
|
18132
|
+
query["VpcConfig"] = request.vpcConfig;
|
|
18133
|
+
}
|
|
18134
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18135
|
+
query: openapi_util_1.default.query(query),
|
|
18136
|
+
});
|
|
18137
|
+
let params = new $OpenApi.Params({
|
|
18138
|
+
action: "ModifyApiConfiguration",
|
|
18139
|
+
version: "2016-07-14",
|
|
18140
|
+
protocol: "HTTPS",
|
|
18141
|
+
pathname: "/",
|
|
18142
|
+
method: "POST",
|
|
18143
|
+
authType: "AK",
|
|
18144
|
+
style: "RPC",
|
|
18145
|
+
reqBodyType: "formData",
|
|
18146
|
+
bodyType: "json",
|
|
18147
|
+
});
|
|
18148
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyApiConfigurationResponse({}));
|
|
18149
|
+
}
|
|
18150
|
+
async modifyApiConfiguration(request) {
|
|
18151
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18152
|
+
return await this.modifyApiConfigurationWithOptions(request, runtime);
|
|
18153
|
+
}
|
|
17822
18154
|
async modifyApiGroupWithOptions(request, runtime) {
|
|
17823
18155
|
tea_util_1.default.validateModel(request);
|
|
17824
18156
|
let query = {};
|
|
@@ -19154,6 +19486,9 @@ class Client extends openapi_client_1.default {
|
|
|
19154
19486
|
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
19155
19487
|
query["VpcId"] = request.vpcId;
|
|
19156
19488
|
}
|
|
19489
|
+
if (!tea_util_1.default.isUnset(request.vpcTargetHostName)) {
|
|
19490
|
+
query["VpcTargetHostName"] = request.vpcTargetHostName;
|
|
19491
|
+
}
|
|
19157
19492
|
let req = new $OpenApi.OpenApiRequest({
|
|
19158
19493
|
query: openapi_util_1.default.query(query),
|
|
19159
19494
|
});
|