@alicloud/esa20240910 2.0.1 → 2.1.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/dist/client.d.ts CHANGED
@@ -3280,6 +3280,119 @@ export declare class DeleteCustomScenePolicyResponse extends $tea.Model {
3280
3280
  [key: string]: any;
3281
3281
  });
3282
3282
  }
3283
+ export declare class DeleteKvRequest extends $tea.Model {
3284
+ /**
3285
+ * @remarks
3286
+ * This parameter is required.
3287
+ *
3288
+ * @example
3289
+ * test_key
3290
+ */
3291
+ key?: string;
3292
+ /**
3293
+ * @remarks
3294
+ * This parameter is required.
3295
+ *
3296
+ * @example
3297
+ * test_namespace
3298
+ */
3299
+ namespace?: string;
3300
+ static names(): {
3301
+ [key: string]: string;
3302
+ };
3303
+ static types(): {
3304
+ [key: string]: any;
3305
+ };
3306
+ constructor(map?: {
3307
+ [key: string]: any;
3308
+ });
3309
+ }
3310
+ export declare class DeleteKvResponseBody extends $tea.Model {
3311
+ /**
3312
+ * @remarks
3313
+ * Id of the request
3314
+ *
3315
+ * @example
3316
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
3317
+ */
3318
+ requestId?: string;
3319
+ static names(): {
3320
+ [key: string]: string;
3321
+ };
3322
+ static types(): {
3323
+ [key: string]: any;
3324
+ };
3325
+ constructor(map?: {
3326
+ [key: string]: any;
3327
+ });
3328
+ }
3329
+ export declare class DeleteKvResponse extends $tea.Model {
3330
+ headers?: {
3331
+ [key: string]: string;
3332
+ };
3333
+ statusCode?: number;
3334
+ body?: DeleteKvResponseBody;
3335
+ static names(): {
3336
+ [key: string]: string;
3337
+ };
3338
+ static types(): {
3339
+ [key: string]: any;
3340
+ };
3341
+ constructor(map?: {
3342
+ [key: string]: any;
3343
+ });
3344
+ }
3345
+ export declare class DeleteKvNamespaceRequest extends $tea.Model {
3346
+ /**
3347
+ * @remarks
3348
+ * This parameter is required.
3349
+ *
3350
+ * @example
3351
+ * test_namespace
3352
+ */
3353
+ namespace?: string;
3354
+ static names(): {
3355
+ [key: string]: string;
3356
+ };
3357
+ static types(): {
3358
+ [key: string]: any;
3359
+ };
3360
+ constructor(map?: {
3361
+ [key: string]: any;
3362
+ });
3363
+ }
3364
+ export declare class DeleteKvNamespaceResponseBody extends $tea.Model {
3365
+ /**
3366
+ * @example
3367
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
3368
+ */
3369
+ requestId?: string;
3370
+ static names(): {
3371
+ [key: string]: string;
3372
+ };
3373
+ static types(): {
3374
+ [key: string]: any;
3375
+ };
3376
+ constructor(map?: {
3377
+ [key: string]: any;
3378
+ });
3379
+ }
3380
+ export declare class DeleteKvNamespaceResponse extends $tea.Model {
3381
+ headers?: {
3382
+ [key: string]: string;
3383
+ };
3384
+ statusCode?: number;
3385
+ body?: DeleteKvNamespaceResponseBody;
3386
+ static names(): {
3387
+ [key: string]: string;
3388
+ };
3389
+ static types(): {
3390
+ [key: string]: any;
3391
+ };
3392
+ constructor(map?: {
3393
+ [key: string]: any;
3394
+ });
3395
+ }
3283
3396
  export declare class DeleteListRequest extends $tea.Model {
3284
3397
  /**
3285
3398
  * @remarks
@@ -4373,6 +4486,43 @@ export declare class DescribeIPRangeListResponse extends $tea.Model {
4373
4486
  [key: string]: any;
4374
4487
  });
4375
4488
  }
4489
+ export declare class DescribeKvAccountStatusResponseBody extends $tea.Model {
4490
+ /**
4491
+ * @example
4492
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
4493
+ */
4494
+ requestId?: string;
4495
+ /**
4496
+ * @example
4497
+ * online
4498
+ */
4499
+ status?: string;
4500
+ static names(): {
4501
+ [key: string]: string;
4502
+ };
4503
+ static types(): {
4504
+ [key: string]: any;
4505
+ };
4506
+ constructor(map?: {
4507
+ [key: string]: any;
4508
+ });
4509
+ }
4510
+ export declare class DescribeKvAccountStatusResponse extends $tea.Model {
4511
+ headers?: {
4512
+ [key: string]: string;
4513
+ };
4514
+ statusCode?: number;
4515
+ body?: DescribeKvAccountStatusResponseBody;
4516
+ static names(): {
4517
+ [key: string]: string;
4518
+ };
4519
+ static types(): {
4520
+ [key: string]: any;
4521
+ };
4522
+ constructor(map?: {
4523
+ [key: string]: any;
4524
+ });
4525
+ }
4376
4526
  export declare class DescribePreloadTasksRequest extends $tea.Model {
4377
4527
  /**
4378
4528
  * @example
@@ -4845,6 +4995,143 @@ export declare class GetCacheReserveSpecificationResponse extends $tea.Model {
4845
4995
  [key: string]: any;
4846
4996
  });
4847
4997
  }
4998
+ export declare class GetKvRequest extends $tea.Model {
4999
+ /**
5000
+ * @example
5001
+ * true
5002
+ */
5003
+ base64?: boolean;
5004
+ /**
5005
+ * @remarks
5006
+ * This parameter is required.
5007
+ *
5008
+ * @example
5009
+ * test_key
5010
+ */
5011
+ key?: string;
5012
+ /**
5013
+ * @remarks
5014
+ * This parameter is required.
5015
+ *
5016
+ * @example
5017
+ * test_namespace
5018
+ */
5019
+ namespace?: string;
5020
+ static names(): {
5021
+ [key: string]: string;
5022
+ };
5023
+ static types(): {
5024
+ [key: string]: any;
5025
+ };
5026
+ constructor(map?: {
5027
+ [key: string]: any;
5028
+ });
5029
+ }
5030
+ export declare class GetKvResponseBody extends $tea.Model {
5031
+ /**
5032
+ * @example
5033
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
5034
+ */
5035
+ requestId?: string;
5036
+ /**
5037
+ * @example
5038
+ * test_value
5039
+ */
5040
+ value?: string;
5041
+ static names(): {
5042
+ [key: string]: string;
5043
+ };
5044
+ static types(): {
5045
+ [key: string]: any;
5046
+ };
5047
+ constructor(map?: {
5048
+ [key: string]: any;
5049
+ });
5050
+ }
5051
+ export declare class GetKvResponse extends $tea.Model {
5052
+ headers?: {
5053
+ [key: string]: string;
5054
+ };
5055
+ statusCode?: number;
5056
+ body?: GetKvResponseBody;
5057
+ static names(): {
5058
+ [key: string]: string;
5059
+ };
5060
+ static types(): {
5061
+ [key: string]: any;
5062
+ };
5063
+ constructor(map?: {
5064
+ [key: string]: any;
5065
+ });
5066
+ }
5067
+ export declare class GetKvAccountResponseBody extends $tea.Model {
5068
+ /**
5069
+ * @example
5070
+ * 1073741824
5071
+ */
5072
+ capacity?: number;
5073
+ /**
5074
+ * @example
5075
+ * 1 GB
5076
+ */
5077
+ capacityString?: string;
5078
+ /**
5079
+ * @example
5080
+ * 10048576
5081
+ */
5082
+ capacityUsed?: number;
5083
+ /**
5084
+ * @example
5085
+ * 100 MB
5086
+ */
5087
+ capacityUsedString?: string;
5088
+ namespaceList?: GetKvAccountResponseBodyNamespaceList[];
5089
+ /**
5090
+ * @example
5091
+ * 10
5092
+ */
5093
+ namespaceQuota?: number;
5094
+ /**
5095
+ * @example
5096
+ * 1
5097
+ */
5098
+ namespaceUsed?: number;
5099
+ /**
5100
+ * @example
5101
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
5102
+ */
5103
+ requestId?: string;
5104
+ /**
5105
+ * @example
5106
+ * online
5107
+ */
5108
+ status?: string;
5109
+ static names(): {
5110
+ [key: string]: string;
5111
+ };
5112
+ static types(): {
5113
+ [key: string]: any;
5114
+ };
5115
+ constructor(map?: {
5116
+ [key: string]: any;
5117
+ });
5118
+ }
5119
+ export declare class GetKvAccountResponse extends $tea.Model {
5120
+ headers?: {
5121
+ [key: string]: string;
5122
+ };
5123
+ statusCode?: number;
5124
+ body?: GetKvAccountResponseBody;
5125
+ static names(): {
5126
+ [key: string]: string;
5127
+ };
5128
+ static types(): {
5129
+ [key: string]: any;
5130
+ };
5131
+ constructor(map?: {
5132
+ [key: string]: any;
5133
+ });
5134
+ }
4848
5135
  export declare class GetKvNamespaceRequest extends $tea.Model {
4849
5136
  /**
4850
5137
  * @remarks
@@ -13573,6 +13860,57 @@ export declare class DescribePurgeTasksResponseBodyTasks extends $tea.Model {
13573
13860
  [key: string]: any;
13574
13861
  });
13575
13862
  }
13863
+ export declare class GetKvAccountResponseBodyNamespaceList extends $tea.Model {
13864
+ /**
13865
+ * @example
13866
+ * 1073741824
13867
+ */
13868
+ capacity?: number;
13869
+ /**
13870
+ * @example
13871
+ * 1 GB
13872
+ */
13873
+ capacityString?: string;
13874
+ /**
13875
+ * @example
13876
+ * 100048576
13877
+ */
13878
+ capacityUsed?: number;
13879
+ /**
13880
+ * @example
13881
+ * 100 MB
13882
+ */
13883
+ capacityUsedString?: string;
13884
+ /**
13885
+ * @example
13886
+ * the first namespace
13887
+ */
13888
+ description?: string;
13889
+ /**
13890
+ * @example
13891
+ * test_namespace
13892
+ */
13893
+ namespace?: string;
13894
+ /**
13895
+ * @example
13896
+ * 643355322374688768
13897
+ */
13898
+ namespaceId?: string;
13899
+ /**
13900
+ * @example
13901
+ * online
13902
+ */
13903
+ status?: string;
13904
+ static names(): {
13905
+ [key: string]: string;
13906
+ };
13907
+ static types(): {
13908
+ [key: string]: any;
13909
+ };
13910
+ constructor(map?: {
13911
+ [key: string]: any;
13912
+ });
13913
+ }
13576
13914
  export declare class GetRecordResponseBodyRecordModelAuthConf extends $tea.Model {
13577
13915
  /**
13578
13916
  * @example
@@ -16511,6 +16849,36 @@ export default class Client extends OpenApi {
16511
16849
  * @returns DeleteCustomScenePolicyResponse
16512
16850
  */
16513
16851
  deleteCustomScenePolicy(request: DeleteCustomScenePolicyRequest): Promise<DeleteCustomScenePolicyResponse>;
16852
+ /**
16853
+ * 删除Namespace的Key-Value对
16854
+ *
16855
+ * @param request - DeleteKvRequest
16856
+ * @param runtime - runtime options for this request RuntimeOptions
16857
+ * @returns DeleteKvResponse
16858
+ */
16859
+ deleteKvWithOptions(request: DeleteKvRequest, runtime: $Util.RuntimeOptions): Promise<DeleteKvResponse>;
16860
+ /**
16861
+ * 删除Namespace的Key-Value对
16862
+ *
16863
+ * @param request - DeleteKvRequest
16864
+ * @returns DeleteKvResponse
16865
+ */
16866
+ deleteKv(request: DeleteKvRequest): Promise<DeleteKvResponse>;
16867
+ /**
16868
+ * 删除Namespace
16869
+ *
16870
+ * @param request - DeleteKvNamespaceRequest
16871
+ * @param runtime - runtime options for this request RuntimeOptions
16872
+ * @returns DeleteKvNamespaceResponse
16873
+ */
16874
+ deleteKvNamespaceWithOptions(request: DeleteKvNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteKvNamespaceResponse>;
16875
+ /**
16876
+ * 删除Namespace
16877
+ *
16878
+ * @param request - DeleteKvNamespaceRequest
16879
+ * @returns DeleteKvNamespaceResponse
16880
+ */
16881
+ deleteKvNamespace(request: DeleteKvNamespaceRequest): Promise<DeleteKvNamespaceResponse>;
16514
16882
  /**
16515
16883
  * 删除自定义列表
16516
16884
  *
@@ -16779,6 +17147,19 @@ export default class Client extends OpenApi {
16779
17147
  * @returns DescribeIPRangeListResponse
16780
17148
  */
16781
17149
  describeIPRangeList(): Promise<DescribeIPRangeListResponse>;
17150
+ /**
17151
+ * 查询账户的KV状态信
17152
+ *
17153
+ * @param request - DescribeKvAccountStatusRequest
17154
+ * @param runtime - runtime options for this request RuntimeOptions
17155
+ * @returns DescribeKvAccountStatusResponse
17156
+ */
17157
+ describeKvAccountStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeKvAccountStatusResponse>;
17158
+ /**
17159
+ * 查询账户的KV状态信
17160
+ * @returns DescribeKvAccountStatusResponse
17161
+ */
17162
+ describeKvAccountStatus(): Promise<DescribeKvAccountStatusResponse>;
16782
17163
  /**
16783
17164
  * 预热任务查询接口
16784
17165
  *
@@ -16882,6 +17263,34 @@ export default class Client extends OpenApi {
16882
17263
  * @returns GetCacheReserveSpecificationResponse
16883
17264
  */
16884
17265
  getCacheReserveSpecification(): Promise<GetCacheReserveSpecificationResponse>;
17266
+ /**
17267
+ * 查询Key-Value对的某个Key值
17268
+ *
17269
+ * @param request - GetKvRequest
17270
+ * @param runtime - runtime options for this request RuntimeOptions
17271
+ * @returns GetKvResponse
17272
+ */
17273
+ getKvWithOptions(request: GetKvRequest, runtime: $Util.RuntimeOptions): Promise<GetKvResponse>;
17274
+ /**
17275
+ * 查询Key-Value对的某个Key值
17276
+ *
17277
+ * @param request - GetKvRequest
17278
+ * @returns GetKvResponse
17279
+ */
17280
+ getKv(request: GetKvRequest): Promise<GetKvResponse>;
17281
+ /**
17282
+ * 列出账号下的NS
17283
+ *
17284
+ * @param request - GetKvAccountRequest
17285
+ * @param runtime - runtime options for this request RuntimeOptions
17286
+ * @returns GetKvAccountResponse
17287
+ */
17288
+ getKvAccountWithOptions(runtime: $Util.RuntimeOptions): Promise<GetKvAccountResponse>;
17289
+ /**
17290
+ * 列出账号下的NS
17291
+ * @returns GetKvAccountResponse
17292
+ */
17293
+ getKvAccount(): Promise<GetKvAccountResponse>;
16885
17294
  /**
16886
17295
  * 查询Namespace信息
16887
17296
  *