alibabacloud-fc20230330 4.2.2__py3-none-any.whl → 4.2.4__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_fc20230330/__init__.py +1 -1
- alibabacloud_fc20230330/client.py +452 -1120
- alibabacloud_fc20230330/models.py +114 -102
- {alibabacloud_fc20230330-4.2.2.dist-info → alibabacloud_fc20230330-4.2.4.dist-info}/METADATA +2 -2
- alibabacloud_fc20230330-4.2.4.dist-info/RECORD +8 -0
- alibabacloud_fc20230330-4.2.2.dist-info/RECORD +0 -8
- {alibabacloud_fc20230330-4.2.2.dist-info → alibabacloud_fc20230330-4.2.4.dist-info}/LICENSE +0 -0
- {alibabacloud_fc20230330-4.2.2.dist-info → alibabacloud_fc20230330-4.2.4.dist-info}/WHEEL +0 -0
- {alibabacloud_fc20230330-4.2.2.dist-info → alibabacloud_fc20230330-4.2.4.dist-info}/top_level.txt +0 -0
@@ -2458,6 +2458,103 @@ class DeliveryOption(TeaModel):
|
|
2458
2458
|
return self
|
2459
2459
|
|
2460
2460
|
|
2461
|
+
class DescribeRegionsOutputRegionsRegion(TeaModel):
|
2462
|
+
def __init__(
|
2463
|
+
self,
|
2464
|
+
local_name: str = None,
|
2465
|
+
region_id: str = None,
|
2466
|
+
):
|
2467
|
+
self.local_name = local_name
|
2468
|
+
self.region_id = region_id
|
2469
|
+
|
2470
|
+
def validate(self):
|
2471
|
+
pass
|
2472
|
+
|
2473
|
+
def to_map(self):
|
2474
|
+
_map = super().to_map()
|
2475
|
+
if _map is not None:
|
2476
|
+
return _map
|
2477
|
+
|
2478
|
+
result = dict()
|
2479
|
+
if self.local_name is not None:
|
2480
|
+
result['LocalName'] = self.local_name
|
2481
|
+
if self.region_id is not None:
|
2482
|
+
result['RegionId'] = self.region_id
|
2483
|
+
return result
|
2484
|
+
|
2485
|
+
def from_map(self, m: dict = None):
|
2486
|
+
m = m or dict()
|
2487
|
+
if m.get('LocalName') is not None:
|
2488
|
+
self.local_name = m.get('LocalName')
|
2489
|
+
if m.get('RegionId') is not None:
|
2490
|
+
self.region_id = m.get('RegionId')
|
2491
|
+
return self
|
2492
|
+
|
2493
|
+
|
2494
|
+
class DescribeRegionsOutputRegions(TeaModel):
|
2495
|
+
def __init__(
|
2496
|
+
self,
|
2497
|
+
region: List[DescribeRegionsOutputRegionsRegion] = None,
|
2498
|
+
):
|
2499
|
+
self.region = region
|
2500
|
+
|
2501
|
+
def validate(self):
|
2502
|
+
if self.region:
|
2503
|
+
for k in self.region:
|
2504
|
+
if k:
|
2505
|
+
k.validate()
|
2506
|
+
|
2507
|
+
def to_map(self):
|
2508
|
+
_map = super().to_map()
|
2509
|
+
if _map is not None:
|
2510
|
+
return _map
|
2511
|
+
|
2512
|
+
result = dict()
|
2513
|
+
result['Region'] = []
|
2514
|
+
if self.region is not None:
|
2515
|
+
for k in self.region:
|
2516
|
+
result['Region'].append(k.to_map() if k else None)
|
2517
|
+
return result
|
2518
|
+
|
2519
|
+
def from_map(self, m: dict = None):
|
2520
|
+
m = m or dict()
|
2521
|
+
self.region = []
|
2522
|
+
if m.get('Region') is not None:
|
2523
|
+
for k in m.get('Region'):
|
2524
|
+
temp_model = DescribeRegionsOutputRegionsRegion()
|
2525
|
+
self.region.append(temp_model.from_map(k))
|
2526
|
+
return self
|
2527
|
+
|
2528
|
+
|
2529
|
+
class DescribeRegionsOutput(TeaModel):
|
2530
|
+
def __init__(
|
2531
|
+
self,
|
2532
|
+
regions: DescribeRegionsOutputRegions = None,
|
2533
|
+
):
|
2534
|
+
self.regions = regions
|
2535
|
+
|
2536
|
+
def validate(self):
|
2537
|
+
if self.regions:
|
2538
|
+
self.regions.validate()
|
2539
|
+
|
2540
|
+
def to_map(self):
|
2541
|
+
_map = super().to_map()
|
2542
|
+
if _map is not None:
|
2543
|
+
return _map
|
2544
|
+
|
2545
|
+
result = dict()
|
2546
|
+
if self.regions is not None:
|
2547
|
+
result['Regions'] = self.regions.to_map()
|
2548
|
+
return result
|
2549
|
+
|
2550
|
+
def from_map(self, m: dict = None):
|
2551
|
+
m = m or dict()
|
2552
|
+
if m.get('Regions') is not None:
|
2553
|
+
temp_model = DescribeRegionsOutputRegions()
|
2554
|
+
self.regions = temp_model.from_map(m['Regions'])
|
2555
|
+
return self
|
2556
|
+
|
2557
|
+
|
2461
2558
|
class Error(TeaModel):
|
2462
2559
|
def __init__(
|
2463
2560
|
self,
|
@@ -3238,7 +3335,7 @@ class Filter(TeaModel):
|
|
3238
3335
|
return self
|
3239
3336
|
|
3240
3337
|
|
3241
|
-
class
|
3338
|
+
class FunctionRestriction(TeaModel):
|
3242
3339
|
def __init__(
|
3243
3340
|
self,
|
3244
3341
|
disable: bool = None,
|
@@ -3332,7 +3429,7 @@ class Function(TeaModel):
|
|
3332
3429
|
instance_concurrency: int = None,
|
3333
3430
|
instance_lifecycle_config: InstanceLifecycleConfig = None,
|
3334
3431
|
internet_access: bool = None,
|
3335
|
-
invocation_restriction:
|
3432
|
+
invocation_restriction: FunctionRestriction = None,
|
3336
3433
|
last_modified_time: str = None,
|
3337
3434
|
last_update_status: str = None,
|
3338
3435
|
last_update_status_reason: str = None,
|
@@ -3557,7 +3654,7 @@ class Function(TeaModel):
|
|
3557
3654
|
if m.get('internetAccess') is not None:
|
3558
3655
|
self.internet_access = m.get('internetAccess')
|
3559
3656
|
if m.get('invocationRestriction') is not None:
|
3560
|
-
temp_model =
|
3657
|
+
temp_model = FunctionRestriction()
|
3561
3658
|
self.invocation_restriction = temp_model.from_map(m['invocationRestriction'])
|
3562
3659
|
if m.get('lastModifiedTime') is not None:
|
3563
3660
|
self.last_modified_time = m.get('lastModifiedTime')
|
@@ -5992,103 +6089,6 @@ class UpdateTriggerInput(TeaModel):
|
|
5992
6089
|
return self
|
5993
6090
|
|
5994
6091
|
|
5995
|
-
class OpenStructDescribeRegionsOutputRegionsRegion(TeaModel):
|
5996
|
-
def __init__(
|
5997
|
-
self,
|
5998
|
-
local_name: str = None,
|
5999
|
-
region_id: str = None,
|
6000
|
-
):
|
6001
|
-
self.local_name = local_name
|
6002
|
-
self.region_id = region_id
|
6003
|
-
|
6004
|
-
def validate(self):
|
6005
|
-
pass
|
6006
|
-
|
6007
|
-
def to_map(self):
|
6008
|
-
_map = super().to_map()
|
6009
|
-
if _map is not None:
|
6010
|
-
return _map
|
6011
|
-
|
6012
|
-
result = dict()
|
6013
|
-
if self.local_name is not None:
|
6014
|
-
result['LocalName'] = self.local_name
|
6015
|
-
if self.region_id is not None:
|
6016
|
-
result['RegionId'] = self.region_id
|
6017
|
-
return result
|
6018
|
-
|
6019
|
-
def from_map(self, m: dict = None):
|
6020
|
-
m = m or dict()
|
6021
|
-
if m.get('LocalName') is not None:
|
6022
|
-
self.local_name = m.get('LocalName')
|
6023
|
-
if m.get('RegionId') is not None:
|
6024
|
-
self.region_id = m.get('RegionId')
|
6025
|
-
return self
|
6026
|
-
|
6027
|
-
|
6028
|
-
class OpenStructDescribeRegionsOutputRegions(TeaModel):
|
6029
|
-
def __init__(
|
6030
|
-
self,
|
6031
|
-
region: List[OpenStructDescribeRegionsOutputRegionsRegion] = None,
|
6032
|
-
):
|
6033
|
-
self.region = region
|
6034
|
-
|
6035
|
-
def validate(self):
|
6036
|
-
if self.region:
|
6037
|
-
for k in self.region:
|
6038
|
-
if k:
|
6039
|
-
k.validate()
|
6040
|
-
|
6041
|
-
def to_map(self):
|
6042
|
-
_map = super().to_map()
|
6043
|
-
if _map is not None:
|
6044
|
-
return _map
|
6045
|
-
|
6046
|
-
result = dict()
|
6047
|
-
result['Region'] = []
|
6048
|
-
if self.region is not None:
|
6049
|
-
for k in self.region:
|
6050
|
-
result['Region'].append(k.to_map() if k else None)
|
6051
|
-
return result
|
6052
|
-
|
6053
|
-
def from_map(self, m: dict = None):
|
6054
|
-
m = m or dict()
|
6055
|
-
self.region = []
|
6056
|
-
if m.get('Region') is not None:
|
6057
|
-
for k in m.get('Region'):
|
6058
|
-
temp_model = OpenStructDescribeRegionsOutputRegionsRegion()
|
6059
|
-
self.region.append(temp_model.from_map(k))
|
6060
|
-
return self
|
6061
|
-
|
6062
|
-
|
6063
|
-
class OpenStructDescribeRegionsOutput(TeaModel):
|
6064
|
-
def __init__(
|
6065
|
-
self,
|
6066
|
-
regions: OpenStructDescribeRegionsOutputRegions = None,
|
6067
|
-
):
|
6068
|
-
self.regions = regions
|
6069
|
-
|
6070
|
-
def validate(self):
|
6071
|
-
if self.regions:
|
6072
|
-
self.regions.validate()
|
6073
|
-
|
6074
|
-
def to_map(self):
|
6075
|
-
_map = super().to_map()
|
6076
|
-
if _map is not None:
|
6077
|
-
return _map
|
6078
|
-
|
6079
|
-
result = dict()
|
6080
|
-
if self.regions is not None:
|
6081
|
-
result['Regions'] = self.regions.to_map()
|
6082
|
-
return result
|
6083
|
-
|
6084
|
-
def from_map(self, m: dict = None):
|
6085
|
-
m = m or dict()
|
6086
|
-
if m.get('Regions') is not None:
|
6087
|
-
temp_model = OpenStructDescribeRegionsOutputRegions()
|
6088
|
-
self.regions = temp_model.from_map(m['Regions'])
|
6089
|
-
return self
|
6090
|
-
|
6091
|
-
|
6092
6092
|
class CreateAliasRequest(TeaModel):
|
6093
6093
|
def __init__(
|
6094
6094
|
self,
|
@@ -6937,7 +6937,7 @@ class DescribeRegionsResponse(TeaModel):
|
|
6937
6937
|
self,
|
6938
6938
|
headers: Dict[str, str] = None,
|
6939
6939
|
status_code: int = None,
|
6940
|
-
body:
|
6940
|
+
body: DescribeRegionsOutput = None,
|
6941
6941
|
):
|
6942
6942
|
self.headers = headers
|
6943
6943
|
self.status_code = status_code
|
@@ -6968,7 +6968,7 @@ class DescribeRegionsResponse(TeaModel):
|
|
6968
6968
|
if m.get('statusCode') is not None:
|
6969
6969
|
self.status_code = m.get('statusCode')
|
6970
6970
|
if m.get('body') is not None:
|
6971
|
-
temp_model =
|
6971
|
+
temp_model = DescribeRegionsOutput()
|
6972
6972
|
self.body = temp_model.from_map(m['body'])
|
6973
6973
|
return self
|
6974
6974
|
|
@@ -8424,6 +8424,7 @@ class ListFunctionsRequest(TeaModel):
|
|
8424
8424
|
self,
|
8425
8425
|
description: str = None,
|
8426
8426
|
fc_version: str = None,
|
8427
|
+
function_name: str = None,
|
8427
8428
|
gpu_type: str = None,
|
8428
8429
|
limit: int = None,
|
8429
8430
|
next_token: str = None,
|
@@ -8440,6 +8441,7 @@ class ListFunctionsRequest(TeaModel):
|
|
8440
8441
|
#
|
8441
8442
|
# By default, this parameter is left empty and functions in both Function Compute 3.0 and Function Compute 2.0 are listed.
|
8442
8443
|
self.fc_version = fc_version
|
8444
|
+
self.function_name = function_name
|
8443
8445
|
# The GPU type of the functions to retrieve.
|
8444
8446
|
self.gpu_type = gpu_type
|
8445
8447
|
# The number of functions to return. The minimum value is 1 and the maximum value is 100.
|
@@ -8469,6 +8471,8 @@ class ListFunctionsRequest(TeaModel):
|
|
8469
8471
|
result['description'] = self.description
|
8470
8472
|
if self.fc_version is not None:
|
8471
8473
|
result['fcVersion'] = self.fc_version
|
8474
|
+
if self.function_name is not None:
|
8475
|
+
result['functionName'] = self.function_name
|
8472
8476
|
if self.gpu_type is not None:
|
8473
8477
|
result['gpuType'] = self.gpu_type
|
8474
8478
|
if self.limit is not None:
|
@@ -8491,6 +8495,8 @@ class ListFunctionsRequest(TeaModel):
|
|
8491
8495
|
self.description = m.get('description')
|
8492
8496
|
if m.get('fcVersion') is not None:
|
8493
8497
|
self.fc_version = m.get('fcVersion')
|
8498
|
+
if m.get('functionName') is not None:
|
8499
|
+
self.function_name = m.get('functionName')
|
8494
8500
|
if m.get('gpuType') is not None:
|
8495
8501
|
self.gpu_type = m.get('gpuType')
|
8496
8502
|
if m.get('limit') is not None:
|
@@ -8514,6 +8520,7 @@ class ListFunctionsShrinkRequest(TeaModel):
|
|
8514
8520
|
self,
|
8515
8521
|
description: str = None,
|
8516
8522
|
fc_version: str = None,
|
8523
|
+
function_name: str = None,
|
8517
8524
|
gpu_type: str = None,
|
8518
8525
|
limit: int = None,
|
8519
8526
|
next_token: str = None,
|
@@ -8530,6 +8537,7 @@ class ListFunctionsShrinkRequest(TeaModel):
|
|
8530
8537
|
#
|
8531
8538
|
# By default, this parameter is left empty and functions in both Function Compute 3.0 and Function Compute 2.0 are listed.
|
8532
8539
|
self.fc_version = fc_version
|
8540
|
+
self.function_name = function_name
|
8533
8541
|
# The GPU type of the functions to retrieve.
|
8534
8542
|
self.gpu_type = gpu_type
|
8535
8543
|
# The number of functions to return. The minimum value is 1 and the maximum value is 100.
|
@@ -8556,6 +8564,8 @@ class ListFunctionsShrinkRequest(TeaModel):
|
|
8556
8564
|
result['description'] = self.description
|
8557
8565
|
if self.fc_version is not None:
|
8558
8566
|
result['fcVersion'] = self.fc_version
|
8567
|
+
if self.function_name is not None:
|
8568
|
+
result['functionName'] = self.function_name
|
8559
8569
|
if self.gpu_type is not None:
|
8560
8570
|
result['gpuType'] = self.gpu_type
|
8561
8571
|
if self.limit is not None:
|
@@ -8576,6 +8586,8 @@ class ListFunctionsShrinkRequest(TeaModel):
|
|
8576
8586
|
self.description = m.get('description')
|
8577
8587
|
if m.get('fcVersion') is not None:
|
8578
8588
|
self.fc_version = m.get('fcVersion')
|
8589
|
+
if m.get('functionName') is not None:
|
8590
|
+
self.function_name = m.get('functionName')
|
8579
8591
|
if m.get('gpuType') is not None:
|
8580
8592
|
self.gpu_type = m.get('gpuType')
|
8581
8593
|
if m.get('limit') is not None:
|
{alibabacloud_fc20230330-4.2.2.dist-info → alibabacloud_fc20230330-4.2.4.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: alibabacloud-fc20230330
|
3
|
-
Version: 4.2.
|
3
|
+
Version: 4.2.4
|
4
4
|
Summary: Alibaba Cloud Function Compute (20230330) SDK Library for Python
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
6
6
|
Author: Alibaba Cloud SDK
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
24
24
|
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.3)
|
25
25
|
Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.2)
|
26
|
-
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.14)
|
27
27
|
Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
|
28
28
|
|
29
29
|
English | [简体中文](README-CN.md)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
alibabacloud_fc20230330/__init__.py,sha256=KzWddNZ9Vz8MjA4V3BstmI882pevpoiOKOb9PrIQ_-k,21
|
2
|
+
alibabacloud_fc20230330/client.py,sha256=pbDLF8LF_KkbhHwRfBp4HO5DK80zCkYH7oEfwGcC2l0,229825
|
3
|
+
alibabacloud_fc20230330/models.py,sha256=gWciXmS6aIVnfkjZhJnc6CmDbXIeHGfZG80gRuIt5DA,327327
|
4
|
+
alibabacloud_fc20230330-4.2.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
+
alibabacloud_fc20230330-4.2.4.dist-info/METADATA,sha256=Dn4nPTDnydOXwquNNdk4nkvUErXrLysYlVuTpWLxm1k,2319
|
6
|
+
alibabacloud_fc20230330-4.2.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
7
|
+
alibabacloud_fc20230330-4.2.4.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
+
alibabacloud_fc20230330-4.2.4.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
alibabacloud_fc20230330/__init__.py,sha256=IrKVDqgIO1brLh3oeu9ATDoiDGv6q0AcRzDI2WOM070,21
|
2
|
-
alibabacloud_fc20230330/client.py,sha256=fLJJzV4CIkDiceRlnvTT9nZ4CEaqwrSdNz1Hx_343YM,265335
|
3
|
-
alibabacloud_fc20230330/models.py,sha256=be6zqDSxSI9uqZwlXpaUu0UTBSPEbpkGHTq1_oCsxpU,326891
|
4
|
-
alibabacloud_fc20230330-4.2.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
-
alibabacloud_fc20230330-4.2.2.dist-info/METADATA,sha256=NIMilEpPr2olOck3pJIrHOzD_je_9TCvh_qdfftvg6Q,2319
|
6
|
-
alibabacloud_fc20230330-4.2.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
7
|
-
alibabacloud_fc20230330-4.2.2.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
-
alibabacloud_fc20230330-4.2.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{alibabacloud_fc20230330-4.2.2.dist-info → alibabacloud_fc20230330-4.2.4.dist-info}/top_level.txt
RENAMED
File without changes
|