alibabacloud-esa20240910 2.33.0__py3-none-any.whl → 2.34.0__py3-none-any.whl
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.
- alibabacloud_esa20240910/__init__.py +1 -1
- alibabacloud_esa20240910/client.py +74 -0
- alibabacloud_esa20240910/models/__init__.py +6 -0
- alibabacloud_esa20240910/models/_get_kv_detail_request.py +43 -0
- alibabacloud_esa20240910/models/_get_kv_detail_response.py +54 -0
- alibabacloud_esa20240910/models/_get_kv_detail_response_body.py +49 -0
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/METADATA +1 -1
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/RECORD +11 -8
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/LICENSE +0 -0
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/WHEEL +0 -0
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.
|
|
1
|
+
__version__ = '2.34.0'
|
|
@@ -14265,6 +14265,80 @@ class Client(OpenApiClient):
|
|
|
14265
14265
|
runtime = RuntimeOptions()
|
|
14266
14266
|
return await self.get_kv_account_with_options_async(runtime)
|
|
14267
14267
|
|
|
14268
|
+
def get_kv_detail_with_options(
|
|
14269
|
+
self,
|
|
14270
|
+
request: main_models.GetKvDetailRequest,
|
|
14271
|
+
runtime: RuntimeOptions,
|
|
14272
|
+
) -> main_models.GetKvDetailResponse:
|
|
14273
|
+
request.validate()
|
|
14274
|
+
query = {}
|
|
14275
|
+
if not DaraCore.is_null(request.key):
|
|
14276
|
+
query['Key'] = request.key
|
|
14277
|
+
if not DaraCore.is_null(request.namespace):
|
|
14278
|
+
query['Namespace'] = request.namespace
|
|
14279
|
+
req = open_api_util_models.OpenApiRequest(
|
|
14280
|
+
query = Utils.query(query)
|
|
14281
|
+
)
|
|
14282
|
+
params = open_api_util_models.Params(
|
|
14283
|
+
action = 'GetKvDetail',
|
|
14284
|
+
version = '2024-09-10',
|
|
14285
|
+
protocol = 'HTTPS',
|
|
14286
|
+
pathname = '/',
|
|
14287
|
+
method = 'POST',
|
|
14288
|
+
auth_type = 'AK',
|
|
14289
|
+
style = 'RPC',
|
|
14290
|
+
req_body_type = 'formData',
|
|
14291
|
+
body_type = 'json'
|
|
14292
|
+
)
|
|
14293
|
+
return DaraCore.from_map(
|
|
14294
|
+
main_models.GetKvDetailResponse(),
|
|
14295
|
+
self.call_api(params, req, runtime)
|
|
14296
|
+
)
|
|
14297
|
+
|
|
14298
|
+
async def get_kv_detail_with_options_async(
|
|
14299
|
+
self,
|
|
14300
|
+
request: main_models.GetKvDetailRequest,
|
|
14301
|
+
runtime: RuntimeOptions,
|
|
14302
|
+
) -> main_models.GetKvDetailResponse:
|
|
14303
|
+
request.validate()
|
|
14304
|
+
query = {}
|
|
14305
|
+
if not DaraCore.is_null(request.key):
|
|
14306
|
+
query['Key'] = request.key
|
|
14307
|
+
if not DaraCore.is_null(request.namespace):
|
|
14308
|
+
query['Namespace'] = request.namespace
|
|
14309
|
+
req = open_api_util_models.OpenApiRequest(
|
|
14310
|
+
query = Utils.query(query)
|
|
14311
|
+
)
|
|
14312
|
+
params = open_api_util_models.Params(
|
|
14313
|
+
action = 'GetKvDetail',
|
|
14314
|
+
version = '2024-09-10',
|
|
14315
|
+
protocol = 'HTTPS',
|
|
14316
|
+
pathname = '/',
|
|
14317
|
+
method = 'POST',
|
|
14318
|
+
auth_type = 'AK',
|
|
14319
|
+
style = 'RPC',
|
|
14320
|
+
req_body_type = 'formData',
|
|
14321
|
+
body_type = 'json'
|
|
14322
|
+
)
|
|
14323
|
+
return DaraCore.from_map(
|
|
14324
|
+
main_models.GetKvDetailResponse(),
|
|
14325
|
+
await self.call_api_async(params, req, runtime)
|
|
14326
|
+
)
|
|
14327
|
+
|
|
14328
|
+
def get_kv_detail(
|
|
14329
|
+
self,
|
|
14330
|
+
request: main_models.GetKvDetailRequest,
|
|
14331
|
+
) -> main_models.GetKvDetailResponse:
|
|
14332
|
+
runtime = RuntimeOptions()
|
|
14333
|
+
return self.get_kv_detail_with_options(request, runtime)
|
|
14334
|
+
|
|
14335
|
+
async def get_kv_detail_async(
|
|
14336
|
+
self,
|
|
14337
|
+
request: main_models.GetKvDetailRequest,
|
|
14338
|
+
) -> main_models.GetKvDetailResponse:
|
|
14339
|
+
runtime = RuntimeOptions()
|
|
14340
|
+
return await self.get_kv_detail_with_options_async(request, runtime)
|
|
14341
|
+
|
|
14268
14342
|
def get_kv_namespace_with_options(
|
|
14269
14343
|
self,
|
|
14270
14344
|
request: main_models.GetKvNamespaceRequest,
|
|
@@ -552,6 +552,9 @@ from ._get_kv_response_body import GetKvResponseBody
|
|
|
552
552
|
from ._get_kv_response import GetKvResponse
|
|
553
553
|
from ._get_kv_account_response_body import GetKvAccountResponseBody
|
|
554
554
|
from ._get_kv_account_response import GetKvAccountResponse
|
|
555
|
+
from ._get_kv_detail_request import GetKvDetailRequest
|
|
556
|
+
from ._get_kv_detail_response_body import GetKvDetailResponseBody
|
|
557
|
+
from ._get_kv_detail_response import GetKvDetailResponse
|
|
555
558
|
from ._get_kv_namespace_request import GetKvNamespaceRequest
|
|
556
559
|
from ._get_kv_namespace_response_body import GetKvNamespaceResponseBody
|
|
557
560
|
from ._get_kv_namespace_response import GetKvNamespaceResponse
|
|
@@ -2039,6 +2042,9 @@ __all__ = [
|
|
|
2039
2042
|
GetKvResponse,
|
|
2040
2043
|
GetKvAccountResponseBody,
|
|
2041
2044
|
GetKvAccountResponse,
|
|
2045
|
+
GetKvDetailRequest,
|
|
2046
|
+
GetKvDetailResponseBody,
|
|
2047
|
+
GetKvDetailResponse,
|
|
2042
2048
|
GetKvNamespaceRequest,
|
|
2043
2049
|
GetKvNamespaceResponseBody,
|
|
2044
2050
|
GetKvNamespaceResponse,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class GetKvDetailRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
key: str = None,
|
|
11
|
+
namespace: str = None,
|
|
12
|
+
):
|
|
13
|
+
# This parameter is required.
|
|
14
|
+
self.key = key
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.namespace = namespace
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.key is not None:
|
|
27
|
+
result['Key'] = self.key
|
|
28
|
+
|
|
29
|
+
if self.namespace is not None:
|
|
30
|
+
result['Namespace'] = self.namespace
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('Key') is not None:
|
|
37
|
+
self.key = m.get('Key')
|
|
38
|
+
|
|
39
|
+
if m.get('Namespace') is not None:
|
|
40
|
+
self.namespace = m.get('Namespace')
|
|
41
|
+
|
|
42
|
+
return self
|
|
43
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_esa20240910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetKvDetailResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetKvDetailResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.GetKvDetailResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class GetKvDetailResponseBody(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
expiration_ttl: str = None,
|
|
11
|
+
request_id: str = None,
|
|
12
|
+
value: str = None,
|
|
13
|
+
):
|
|
14
|
+
self.expiration_ttl = expiration_ttl
|
|
15
|
+
self.request_id = request_id
|
|
16
|
+
self.value = value
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.expiration_ttl is not None:
|
|
27
|
+
result['ExpirationTtl'] = self.expiration_ttl
|
|
28
|
+
|
|
29
|
+
if self.request_id is not None:
|
|
30
|
+
result['RequestId'] = self.request_id
|
|
31
|
+
|
|
32
|
+
if self.value is not None:
|
|
33
|
+
result['Value'] = self.value
|
|
34
|
+
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def from_map(self, m: dict = None):
|
|
38
|
+
m = m or dict()
|
|
39
|
+
if m.get('ExpirationTtl') is not None:
|
|
40
|
+
self.expiration_ttl = m.get('ExpirationTtl')
|
|
41
|
+
|
|
42
|
+
if m.get('RequestId') is not None:
|
|
43
|
+
self.request_id = m.get('RequestId')
|
|
44
|
+
|
|
45
|
+
if m.get('Value') is not None:
|
|
46
|
+
self.value = m.get('Value')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
{alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_esa20240910/__init__.py,sha256=
|
|
2
|
-
alibabacloud_esa20240910/client.py,sha256=
|
|
3
|
-
alibabacloud_esa20240910/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_esa20240910/__init__.py,sha256=dXXR_iJcOajeLHdb3q64eATODSBd-NE4yFdDH72XLAo,22
|
|
2
|
+
alibabacloud_esa20240910/client.py,sha256=WWhSmZ-dZfWBz_Qgg-iOeihPqmeVgv5eOylV91uGKRg,1194759
|
|
3
|
+
alibabacloud_esa20240910/models/__init__.py,sha256=aH_NPiykOUuVb3tbFPbZmarh2ONN4OiH6l_Cal0P08g,185786
|
|
4
4
|
alibabacloud_esa20240910/models/_activate_client_certificate_request.py,sha256=qD0wFfftv6CMuqEkFZCXPsGxAArQJVVlLCGMGp_K8Vs,1328
|
|
5
5
|
alibabacloud_esa20240910/models/_activate_client_certificate_response.py,sha256=Ag-7WJgEmNCxuhh6FkUU6mJ_tYnlzYhD9qdGv9IhsSs,1507
|
|
6
6
|
alibabacloud_esa20240910/models/_activate_client_certificate_response_body.py,sha256=VkfUIJPHZget0KZksZ7S7sI36CpSoWBwim3PRRlNJrE,1545
|
|
@@ -535,6 +535,9 @@ alibabacloud_esa20240910/models/_get_ipv_6response.py,sha256=jlu3_4XAD9T81mVbuIG
|
|
|
535
535
|
alibabacloud_esa20240910/models/_get_ipv_6response_body.py,sha256=Byqvj_XLRg2hmHDGixAwp3FjZCRm1IQzsy9mww6aDU4,1342
|
|
536
536
|
alibabacloud_esa20240910/models/_get_kv_account_response.py,sha256=BPdiixHCi_8Ew_jORA9G7OUV4drVuk0WYfzX8bPajYI,1468
|
|
537
537
|
alibabacloud_esa20240910/models/_get_kv_account_response_body.py,sha256=GkIzeu4_B0ZKJFMuz9p_QKDxFX6hDIVRzN5JgmEVFoo,7293
|
|
538
|
+
alibabacloud_esa20240910/models/_get_kv_detail_request.py,sha256=M4dXBy58viTrrvC_goVG5zUuVjYd0VS4uJspE7ynqpI,1025
|
|
539
|
+
alibabacloud_esa20240910/models/_get_kv_detail_response.py,sha256=GLkir7Im_9rCzLA8gFUdjjRgv6YYbX4sajr9CO8WitI,1465
|
|
540
|
+
alibabacloud_esa20240910/models/_get_kv_detail_response_body.py,sha256=dMPlwy2SJxibYz5aEZQZa53dDO-wyLTEKzIx04wb4ec,1267
|
|
538
541
|
alibabacloud_esa20240910/models/_get_kv_namespace_request.py,sha256=S5wBjF52js3ad35bS_Z_1Mv82QoP9J1imUaufBxOQsE,964
|
|
539
542
|
alibabacloud_esa20240910/models/_get_kv_namespace_response.py,sha256=fo4R6VoPmhzGXfAcDHkFu1mTZuJEQprjFsoweNu5IpM,1474
|
|
540
543
|
alibabacloud_esa20240910/models/_get_kv_namespace_response_body.py,sha256=_2BilaKoWmBOSY_coMmN34rBUIfS0fFE0hbnWsbqCIk,3525
|
|
@@ -1172,8 +1175,8 @@ alibabacloud_esa20240910/models/_waf_rule_match.py,sha256=tBXeHdqNkZdlA0xqHvIrue
|
|
|
1172
1175
|
alibabacloud_esa20240910/models/_waf_rule_match_2.py,sha256=L1qn4efgj4O4zp6LJmKAPggW5ea3MENNK3-oiSU1kO8,9567
|
|
1173
1176
|
alibabacloud_esa20240910/models/_waf_site_settings.py,sha256=Uip--MdaS9rU4WO1va55VSV9PPkR-2eL_1abwjAOezM,15237
|
|
1174
1177
|
alibabacloud_esa20240910/models/_waf_timer.py,sha256=bPd5Rnfh8jbMK3791m7L7yZVvYWmamTB8XcRWjaewtc,5117
|
|
1175
|
-
alibabacloud_esa20240910-2.
|
|
1176
|
-
alibabacloud_esa20240910-2.
|
|
1177
|
-
alibabacloud_esa20240910-2.
|
|
1178
|
-
alibabacloud_esa20240910-2.
|
|
1179
|
-
alibabacloud_esa20240910-2.
|
|
1178
|
+
alibabacloud_esa20240910-2.34.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1179
|
+
alibabacloud_esa20240910-2.34.0.dist-info/METADATA,sha256=j70Arn9Ae9pM6IcpRzDqc3aVdD5vYcD4qUfpfRMV5tk,2347
|
|
1180
|
+
alibabacloud_esa20240910-2.34.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1181
|
+
alibabacloud_esa20240910-2.34.0.dist-info/top_level.txt,sha256=UwB5mJD6kzbiOpjgs_X2DcSHEx_SWYSnT9Lw4oPVeQI,25
|
|
1182
|
+
alibabacloud_esa20240910-2.34.0.dist-info/RECORD,,
|
{alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.34.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|