@alicloud/esa20240910 2.2.0 → 2.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/esa20240910",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7295,6 +7295,93 @@ export class GetCacheReserveSpecificationResponse extends $tea.Model {
7295
7295
  }
7296
7296
  }
7297
7297
 
7298
+ export class GetErServiceRequest extends $tea.Model {
7299
+ ownerId?: number;
7300
+ securityToken?: string;
7301
+ static names(): { [key: string]: string } {
7302
+ return {
7303
+ ownerId: 'OwnerId',
7304
+ securityToken: 'SecurityToken',
7305
+ };
7306
+ }
7307
+
7308
+ static types(): { [key: string]: any } {
7309
+ return {
7310
+ ownerId: 'number',
7311
+ securityToken: 'string',
7312
+ };
7313
+ }
7314
+
7315
+ constructor(map?: { [key: string]: any }) {
7316
+ super(map);
7317
+ }
7318
+ }
7319
+
7320
+ export class GetErServiceResponseBody extends $tea.Model {
7321
+ /**
7322
+ * @example
7323
+ * er_paymode
7324
+ */
7325
+ planName?: string;
7326
+ /**
7327
+ * @remarks
7328
+ * Id of the request
7329
+ *
7330
+ * @example
7331
+ * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
7332
+ */
7333
+ requestId?: string;
7334
+ /**
7335
+ * @example
7336
+ * Running
7337
+ */
7338
+ status?: string;
7339
+ static names(): { [key: string]: string } {
7340
+ return {
7341
+ planName: 'PlanName',
7342
+ requestId: 'RequestId',
7343
+ status: 'Status',
7344
+ };
7345
+ }
7346
+
7347
+ static types(): { [key: string]: any } {
7348
+ return {
7349
+ planName: 'string',
7350
+ requestId: 'string',
7351
+ status: 'string',
7352
+ };
7353
+ }
7354
+
7355
+ constructor(map?: { [key: string]: any }) {
7356
+ super(map);
7357
+ }
7358
+ }
7359
+
7360
+ export class GetErServiceResponse extends $tea.Model {
7361
+ headers?: { [key: string]: string };
7362
+ statusCode?: number;
7363
+ body?: GetErServiceResponseBody;
7364
+ static names(): { [key: string]: string } {
7365
+ return {
7366
+ headers: 'headers',
7367
+ statusCode: 'statusCode',
7368
+ body: 'body',
7369
+ };
7370
+ }
7371
+
7372
+ static types(): { [key: string]: any } {
7373
+ return {
7374
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7375
+ statusCode: 'number',
7376
+ body: GetErServiceResponseBody,
7377
+ };
7378
+ }
7379
+
7380
+ constructor(map?: { [key: string]: any }) {
7381
+ super(map);
7382
+ }
7383
+ }
7384
+
7298
7385
  export class GetKvRequest extends $tea.Model {
7299
7386
  /**
7300
7387
  * @example
@@ -27635,6 +27722,44 @@ export default class Client extends OpenApi {
27635
27722
  return await this.getCacheReserveSpecificationWithOptions(runtime);
27636
27723
  }
27637
27724
 
27725
+ /**
27726
+ * GetErService
27727
+ *
27728
+ * @param request - GetErServiceRequest
27729
+ * @param runtime - runtime options for this request RuntimeOptions
27730
+ * @returns GetErServiceResponse
27731
+ */
27732
+ async getErServiceWithOptions(request: GetErServiceRequest, runtime: $Util.RuntimeOptions): Promise<GetErServiceResponse> {
27733
+ Util.validateModel(request);
27734
+ let query = OpenApiUtil.query(Util.toMap(request));
27735
+ let req = new $OpenApi.OpenApiRequest({
27736
+ query: OpenApiUtil.query(query),
27737
+ });
27738
+ let params = new $OpenApi.Params({
27739
+ action: "GetErService",
27740
+ version: "2024-09-10",
27741
+ protocol: "HTTPS",
27742
+ pathname: "/",
27743
+ method: "GET",
27744
+ authType: "AK",
27745
+ style: "RPC",
27746
+ reqBodyType: "formData",
27747
+ bodyType: "json",
27748
+ });
27749
+ return $tea.cast<GetErServiceResponse>(await this.callApi(params, req, runtime), new GetErServiceResponse({}));
27750
+ }
27751
+
27752
+ /**
27753
+ * GetErService
27754
+ *
27755
+ * @param request - GetErServiceRequest
27756
+ * @returns GetErServiceResponse
27757
+ */
27758
+ async getErService(request: GetErServiceRequest): Promise<GetErServiceResponse> {
27759
+ let runtime = new $Util.RuntimeOptions({ });
27760
+ return await this.getErServiceWithOptions(request, runtime);
27761
+ }
27762
+
27638
27763
  /**
27639
27764
  * 查询Key-Value对的某个Key值
27640
27765
  *