@alicloud/esa20240910 2.8.4 → 2.8.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 +2 -88
- package/dist/client.js +10 -104
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -140
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -11833,108 +11833,6 @@ export class GetEdgeContainerTerminalResponse extends $tea.Model {
|
|
|
11833
11833
|
}
|
|
11834
11834
|
}
|
|
11835
11835
|
|
|
11836
|
-
export class GetErServiceRequest extends $tea.Model {
|
|
11837
|
-
ownerId?: number;
|
|
11838
|
-
securityToken?: string;
|
|
11839
|
-
static names(): { [key: string]: string } {
|
|
11840
|
-
return {
|
|
11841
|
-
ownerId: 'OwnerId',
|
|
11842
|
-
securityToken: 'SecurityToken',
|
|
11843
|
-
};
|
|
11844
|
-
}
|
|
11845
|
-
|
|
11846
|
-
static types(): { [key: string]: any } {
|
|
11847
|
-
return {
|
|
11848
|
-
ownerId: 'number',
|
|
11849
|
-
securityToken: 'string',
|
|
11850
|
-
};
|
|
11851
|
-
}
|
|
11852
|
-
|
|
11853
|
-
constructor(map?: { [key: string]: any }) {
|
|
11854
|
-
super(map);
|
|
11855
|
-
}
|
|
11856
|
-
}
|
|
11857
|
-
|
|
11858
|
-
export class GetErServiceResponseBody extends $tea.Model {
|
|
11859
|
-
/**
|
|
11860
|
-
* @remarks
|
|
11861
|
-
* The billing mode. Valid values:
|
|
11862
|
-
*
|
|
11863
|
-
* * er_paymode: billed for customers on the China site.
|
|
11864
|
-
* * er_freemode: free for customers on the China site.
|
|
11865
|
-
* * er_paymodeintl: billed for customers on the International site.
|
|
11866
|
-
* * err_freemodeintl: free for customers on the International site
|
|
11867
|
-
*
|
|
11868
|
-
* @example
|
|
11869
|
-
* er_paymode
|
|
11870
|
-
*/
|
|
11871
|
-
planName?: string;
|
|
11872
|
-
/**
|
|
11873
|
-
* @remarks
|
|
11874
|
-
* The request ID.
|
|
11875
|
-
*
|
|
11876
|
-
* @example
|
|
11877
|
-
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
11878
|
-
*/
|
|
11879
|
-
requestId?: string;
|
|
11880
|
-
/**
|
|
11881
|
-
* @remarks
|
|
11882
|
-
* The service status. Valid values:
|
|
11883
|
-
*
|
|
11884
|
-
* * Creating
|
|
11885
|
-
* * Running
|
|
11886
|
-
* * NotOpened
|
|
11887
|
-
*
|
|
11888
|
-
* @example
|
|
11889
|
-
* Running
|
|
11890
|
-
*/
|
|
11891
|
-
status?: string;
|
|
11892
|
-
static names(): { [key: string]: string } {
|
|
11893
|
-
return {
|
|
11894
|
-
planName: 'PlanName',
|
|
11895
|
-
requestId: 'RequestId',
|
|
11896
|
-
status: 'Status',
|
|
11897
|
-
};
|
|
11898
|
-
}
|
|
11899
|
-
|
|
11900
|
-
static types(): { [key: string]: any } {
|
|
11901
|
-
return {
|
|
11902
|
-
planName: 'string',
|
|
11903
|
-
requestId: 'string',
|
|
11904
|
-
status: 'string',
|
|
11905
|
-
};
|
|
11906
|
-
}
|
|
11907
|
-
|
|
11908
|
-
constructor(map?: { [key: string]: any }) {
|
|
11909
|
-
super(map);
|
|
11910
|
-
}
|
|
11911
|
-
}
|
|
11912
|
-
|
|
11913
|
-
export class GetErServiceResponse extends $tea.Model {
|
|
11914
|
-
headers?: { [key: string]: string };
|
|
11915
|
-
statusCode?: number;
|
|
11916
|
-
body?: GetErServiceResponseBody;
|
|
11917
|
-
static names(): { [key: string]: string } {
|
|
11918
|
-
return {
|
|
11919
|
-
headers: 'headers',
|
|
11920
|
-
statusCode: 'statusCode',
|
|
11921
|
-
body: 'body',
|
|
11922
|
-
};
|
|
11923
|
-
}
|
|
11924
|
-
|
|
11925
|
-
static types(): { [key: string]: any } {
|
|
11926
|
-
return {
|
|
11927
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11928
|
-
statusCode: 'number',
|
|
11929
|
-
body: GetErServiceResponseBody,
|
|
11930
|
-
};
|
|
11931
|
-
}
|
|
11932
|
-
|
|
11933
|
-
constructor(map?: { [key: string]: any }) {
|
|
11934
|
-
super(map);
|
|
11935
|
-
}
|
|
11936
|
-
}
|
|
11937
|
-
|
|
11938
11836
|
export class GetKvRequest extends $tea.Model {
|
|
11939
11837
|
/**
|
|
11940
11838
|
* @remarks
|
|
@@ -12482,6 +12380,8 @@ export class GetOriginProtectionRequest extends $tea.Model {
|
|
|
12482
12380
|
* @remarks
|
|
12483
12381
|
* The website ID. You can call the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation to obtain the ID.
|
|
12484
12382
|
*
|
|
12383
|
+
* This parameter is required.
|
|
12384
|
+
*
|
|
12485
12385
|
* @example
|
|
12486
12386
|
* 123456789****
|
|
12487
12387
|
*/
|
|
@@ -43079,44 +42979,6 @@ export default class Client extends OpenApi {
|
|
|
43079
42979
|
return await this.getEdgeContainerTerminalWithOptions(request, runtime);
|
|
43080
42980
|
}
|
|
43081
42981
|
|
|
43082
|
-
/**
|
|
43083
|
-
* Checks the status of Edge Routine.
|
|
43084
|
-
*
|
|
43085
|
-
* @param request - GetErServiceRequest
|
|
43086
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
43087
|
-
* @returns GetErServiceResponse
|
|
43088
|
-
*/
|
|
43089
|
-
async getErServiceWithOptions(request: GetErServiceRequest, runtime: $Util.RuntimeOptions): Promise<GetErServiceResponse> {
|
|
43090
|
-
Util.validateModel(request);
|
|
43091
|
-
let query = OpenApiUtil.query(Util.toMap(request));
|
|
43092
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
43093
|
-
query: OpenApiUtil.query(query),
|
|
43094
|
-
});
|
|
43095
|
-
let params = new $OpenApi.Params({
|
|
43096
|
-
action: "GetErService",
|
|
43097
|
-
version: "2024-09-10",
|
|
43098
|
-
protocol: "HTTPS",
|
|
43099
|
-
pathname: "/",
|
|
43100
|
-
method: "GET",
|
|
43101
|
-
authType: "AK",
|
|
43102
|
-
style: "RPC",
|
|
43103
|
-
reqBodyType: "formData",
|
|
43104
|
-
bodyType: "json",
|
|
43105
|
-
});
|
|
43106
|
-
return $tea.cast<GetErServiceResponse>(await this.callApi(params, req, runtime), new GetErServiceResponse({}));
|
|
43107
|
-
}
|
|
43108
|
-
|
|
43109
|
-
/**
|
|
43110
|
-
* Checks the status of Edge Routine.
|
|
43111
|
-
*
|
|
43112
|
-
* @param request - GetErServiceRequest
|
|
43113
|
-
* @returns GetErServiceResponse
|
|
43114
|
-
*/
|
|
43115
|
-
async getErService(request: GetErServiceRequest): Promise<GetErServiceResponse> {
|
|
43116
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
43117
|
-
return await this.getErServiceWithOptions(request, runtime);
|
|
43118
|
-
}
|
|
43119
|
-
|
|
43120
42982
|
/**
|
|
43121
42983
|
* Queries the value of a key in a key-value pair.
|
|
43122
42984
|
*
|