alibabacloud-fc20230330 4.2.4__tar.gz → 4.2.6__tar.gz
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-4.2.4 → alibabacloud_fc20230330-4.2.6}/ChangeLog.md +11 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/PKG-INFO +1 -1
- alibabacloud_fc20230330-4.2.6/alibabacloud_fc20230330/__init__.py +1 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330/models.py +42 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330.egg-info/PKG-INFO +1 -1
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/setup.py +1 -1
- alibabacloud_fc20230330-4.2.4/alibabacloud_fc20230330/__init__.py +0 -1
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/LICENSE +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/MANIFEST.in +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/README-CN.md +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/README.md +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330/client.py +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330.egg-info/SOURCES.txt +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330.egg-info/dependency_links.txt +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330.egg-info/requires.txt +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330.egg-info/top_level.txt +0 -0
- {alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/setup.cfg +0 -0
@@ -1,3 +1,14 @@
|
|
1
|
+
2025-04-21 Version: 4.2.5
|
2
|
+
- Generated python 2023-03-30 for FC.
|
3
|
+
|
4
|
+
2025-04-18 Version: 4.2.4
|
5
|
+
- Update API ListFunctions: add request parameters functionName.
|
6
|
+
|
7
|
+
|
8
|
+
2025-04-18 Version: 4.2.4
|
9
|
+
- Update API ListFunctions: add request parameters functionName.
|
10
|
+
|
11
|
+
|
1
12
|
2025-04-17 Version: 4.2.3
|
2
13
|
- Generated python 2023-03-30 for FC.
|
3
14
|
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '4.2.6'
|
{alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330/models.py
RENAMED
@@ -1527,9 +1527,11 @@ class GPUConfig(TeaModel):
|
|
1527
1527
|
class LifecycleHook(TeaModel):
|
1528
1528
|
def __init__(
|
1529
1529
|
self,
|
1530
|
+
command: List[str] = None,
|
1530
1531
|
handler: str = None,
|
1531
1532
|
timeout: int = None,
|
1532
1533
|
):
|
1534
|
+
self.command = command
|
1533
1535
|
self.handler = handler
|
1534
1536
|
self.timeout = timeout
|
1535
1537
|
|
@@ -1542,6 +1544,8 @@ class LifecycleHook(TeaModel):
|
|
1542
1544
|
return _map
|
1543
1545
|
|
1544
1546
|
result = dict()
|
1547
|
+
if self.command is not None:
|
1548
|
+
result['command'] = self.command
|
1545
1549
|
if self.handler is not None:
|
1546
1550
|
result['handler'] = self.handler
|
1547
1551
|
if self.timeout is not None:
|
@@ -1550,6 +1554,8 @@ class LifecycleHook(TeaModel):
|
|
1550
1554
|
|
1551
1555
|
def from_map(self, m: dict = None):
|
1552
1556
|
m = m or dict()
|
1557
|
+
if m.get('command') is not None:
|
1558
|
+
self.command = m.get('command')
|
1553
1559
|
if m.get('handler') is not None:
|
1554
1560
|
self.handler = m.get('handler')
|
1555
1561
|
if m.get('timeout') is not None:
|
@@ -1940,6 +1946,7 @@ class CreateFunctionInput(TeaModel):
|
|
1940
1946
|
description: str = None,
|
1941
1947
|
disable_ondemand: bool = None,
|
1942
1948
|
disk_size: int = None,
|
1949
|
+
enable_long_living: bool = None,
|
1943
1950
|
environment_variables: Dict[str, str] = None,
|
1944
1951
|
function_name: str = None,
|
1945
1952
|
gpu_config: GPUConfig = None,
|
@@ -1954,6 +1961,7 @@ class CreateFunctionInput(TeaModel):
|
|
1954
1961
|
oss_mount_config: OSSMountConfig = None,
|
1955
1962
|
role: str = None,
|
1956
1963
|
runtime: str = None,
|
1964
|
+
session_affinity: str = None,
|
1957
1965
|
tags: List[Tag] = None,
|
1958
1966
|
timeout: int = None,
|
1959
1967
|
tracing_config: TracingConfig = None,
|
@@ -1967,6 +1975,7 @@ class CreateFunctionInput(TeaModel):
|
|
1967
1975
|
self.description = description
|
1968
1976
|
self.disable_ondemand = disable_ondemand
|
1969
1977
|
self.disk_size = disk_size
|
1978
|
+
self.enable_long_living = enable_long_living
|
1970
1979
|
self.environment_variables = environment_variables
|
1971
1980
|
# This parameter is required.
|
1972
1981
|
self.function_name = function_name
|
@@ -1984,6 +1993,7 @@ class CreateFunctionInput(TeaModel):
|
|
1984
1993
|
self.role = role
|
1985
1994
|
# This parameter is required.
|
1986
1995
|
self.runtime = runtime
|
1996
|
+
self.session_affinity = session_affinity
|
1987
1997
|
self.tags = tags
|
1988
1998
|
self.timeout = timeout
|
1989
1999
|
self.tracing_config = tracing_config
|
@@ -2039,6 +2049,8 @@ class CreateFunctionInput(TeaModel):
|
|
2039
2049
|
result['disableOndemand'] = self.disable_ondemand
|
2040
2050
|
if self.disk_size is not None:
|
2041
2051
|
result['diskSize'] = self.disk_size
|
2052
|
+
if self.enable_long_living is not None:
|
2053
|
+
result['enableLongLiving'] = self.enable_long_living
|
2042
2054
|
if self.environment_variables is not None:
|
2043
2055
|
result['environmentVariables'] = self.environment_variables
|
2044
2056
|
if self.function_name is not None:
|
@@ -2067,6 +2079,8 @@ class CreateFunctionInput(TeaModel):
|
|
2067
2079
|
result['role'] = self.role
|
2068
2080
|
if self.runtime is not None:
|
2069
2081
|
result['runtime'] = self.runtime
|
2082
|
+
if self.session_affinity is not None:
|
2083
|
+
result['sessionAffinity'] = self.session_affinity
|
2070
2084
|
result['tags'] = []
|
2071
2085
|
if self.tags is not None:
|
2072
2086
|
for k in self.tags:
|
@@ -2101,6 +2115,8 @@ class CreateFunctionInput(TeaModel):
|
|
2101
2115
|
self.disable_ondemand = m.get('disableOndemand')
|
2102
2116
|
if m.get('diskSize') is not None:
|
2103
2117
|
self.disk_size = m.get('diskSize')
|
2118
|
+
if m.get('enableLongLiving') is not None:
|
2119
|
+
self.enable_long_living = m.get('enableLongLiving')
|
2104
2120
|
if m.get('environmentVariables') is not None:
|
2105
2121
|
self.environment_variables = m.get('environmentVariables')
|
2106
2122
|
if m.get('functionName') is not None:
|
@@ -2134,6 +2150,8 @@ class CreateFunctionInput(TeaModel):
|
|
2134
2150
|
self.role = m.get('role')
|
2135
2151
|
if m.get('runtime') is not None:
|
2136
2152
|
self.runtime = m.get('runtime')
|
2153
|
+
if m.get('sessionAffinity') is not None:
|
2154
|
+
self.session_affinity = m.get('sessionAffinity')
|
2137
2155
|
self.tags = []
|
2138
2156
|
if m.get('tags') is not None:
|
2139
2157
|
for k in m.get('tags'):
|
@@ -3420,6 +3438,7 @@ class Function(TeaModel):
|
|
3420
3438
|
description: str = None,
|
3421
3439
|
disable_ondemand: bool = None,
|
3422
3440
|
disk_size: int = None,
|
3441
|
+
enable_long_living: bool = None,
|
3423
3442
|
environment_variables: Dict[str, str] = None,
|
3424
3443
|
function_arn: str = None,
|
3425
3444
|
function_id: str = None,
|
@@ -3441,6 +3460,7 @@ class Function(TeaModel):
|
|
3441
3460
|
oss_mount_config: OSSMountConfig = None,
|
3442
3461
|
role: str = None,
|
3443
3462
|
runtime: str = None,
|
3463
|
+
session_affinity: str = None,
|
3444
3464
|
state: str = None,
|
3445
3465
|
state_reason: str = None,
|
3446
3466
|
state_reason_code: str = None,
|
@@ -3459,6 +3479,7 @@ class Function(TeaModel):
|
|
3459
3479
|
self.description = description
|
3460
3480
|
self.disable_ondemand = disable_ondemand
|
3461
3481
|
self.disk_size = disk_size
|
3482
|
+
self.enable_long_living = enable_long_living
|
3462
3483
|
self.environment_variables = environment_variables
|
3463
3484
|
self.function_arn = function_arn
|
3464
3485
|
self.function_id = function_id
|
@@ -3480,6 +3501,7 @@ class Function(TeaModel):
|
|
3480
3501
|
self.oss_mount_config = oss_mount_config
|
3481
3502
|
self.role = role
|
3482
3503
|
self.runtime = runtime
|
3504
|
+
self.session_affinity = session_affinity
|
3483
3505
|
self.state = state
|
3484
3506
|
self.state_reason = state_reason
|
3485
3507
|
self.state_reason_code = state_reason_code
|
@@ -3546,6 +3568,8 @@ class Function(TeaModel):
|
|
3546
3568
|
result['disableOndemand'] = self.disable_ondemand
|
3547
3569
|
if self.disk_size is not None:
|
3548
3570
|
result['diskSize'] = self.disk_size
|
3571
|
+
if self.enable_long_living is not None:
|
3572
|
+
result['enableLongLiving'] = self.enable_long_living
|
3549
3573
|
if self.environment_variables is not None:
|
3550
3574
|
result['environmentVariables'] = self.environment_variables
|
3551
3575
|
if self.function_arn is not None:
|
@@ -3590,6 +3614,8 @@ class Function(TeaModel):
|
|
3590
3614
|
result['role'] = self.role
|
3591
3615
|
if self.runtime is not None:
|
3592
3616
|
result['runtime'] = self.runtime
|
3617
|
+
if self.session_affinity is not None:
|
3618
|
+
result['sessionAffinity'] = self.session_affinity
|
3593
3619
|
if self.state is not None:
|
3594
3620
|
result['state'] = self.state
|
3595
3621
|
if self.state_reason is not None:
|
@@ -3633,6 +3659,8 @@ class Function(TeaModel):
|
|
3633
3659
|
self.disable_ondemand = m.get('disableOndemand')
|
3634
3660
|
if m.get('diskSize') is not None:
|
3635
3661
|
self.disk_size = m.get('diskSize')
|
3662
|
+
if m.get('enableLongLiving') is not None:
|
3663
|
+
self.enable_long_living = m.get('enableLongLiving')
|
3636
3664
|
if m.get('environmentVariables') is not None:
|
3637
3665
|
self.environment_variables = m.get('environmentVariables')
|
3638
3666
|
if m.get('functionArn') is not None:
|
@@ -3684,6 +3712,8 @@ class Function(TeaModel):
|
|
3684
3712
|
self.role = m.get('role')
|
3685
3713
|
if m.get('runtime') is not None:
|
3686
3714
|
self.runtime = m.get('runtime')
|
3715
|
+
if m.get('sessionAffinity') is not None:
|
3716
|
+
self.session_affinity = m.get('sessionAffinity')
|
3687
3717
|
if m.get('state') is not None:
|
3688
3718
|
self.state = m.get('state')
|
3689
3719
|
if m.get('stateReason') is not None:
|
@@ -5858,6 +5888,7 @@ class UpdateFunctionInput(TeaModel):
|
|
5858
5888
|
description: str = None,
|
5859
5889
|
disable_ondemand: bool = None,
|
5860
5890
|
disk_size: int = None,
|
5891
|
+
enable_long_living: bool = None,
|
5861
5892
|
environment_variables: Dict[str, str] = None,
|
5862
5893
|
gpu_config: GPUConfig = None,
|
5863
5894
|
handler: str = None,
|
@@ -5871,6 +5902,7 @@ class UpdateFunctionInput(TeaModel):
|
|
5871
5902
|
oss_mount_config: OSSMountConfig = None,
|
5872
5903
|
role: str = None,
|
5873
5904
|
runtime: str = None,
|
5905
|
+
session_affinity: str = None,
|
5874
5906
|
timeout: int = None,
|
5875
5907
|
tracing_config: TracingConfig = None,
|
5876
5908
|
vpc_config: VPCConfig = None,
|
@@ -5883,6 +5915,7 @@ class UpdateFunctionInput(TeaModel):
|
|
5883
5915
|
self.description = description
|
5884
5916
|
self.disable_ondemand = disable_ondemand
|
5885
5917
|
self.disk_size = disk_size
|
5918
|
+
self.enable_long_living = enable_long_living
|
5886
5919
|
self.environment_variables = environment_variables
|
5887
5920
|
self.gpu_config = gpu_config
|
5888
5921
|
self.handler = handler
|
@@ -5896,6 +5929,7 @@ class UpdateFunctionInput(TeaModel):
|
|
5896
5929
|
self.oss_mount_config = oss_mount_config
|
5897
5930
|
self.role = role
|
5898
5931
|
self.runtime = runtime
|
5932
|
+
self.session_affinity = session_affinity
|
5899
5933
|
self.timeout = timeout
|
5900
5934
|
self.tracing_config = tracing_config
|
5901
5935
|
self.vpc_config = vpc_config
|
@@ -5946,6 +5980,8 @@ class UpdateFunctionInput(TeaModel):
|
|
5946
5980
|
result['disableOndemand'] = self.disable_ondemand
|
5947
5981
|
if self.disk_size is not None:
|
5948
5982
|
result['diskSize'] = self.disk_size
|
5983
|
+
if self.enable_long_living is not None:
|
5984
|
+
result['enableLongLiving'] = self.enable_long_living
|
5949
5985
|
if self.environment_variables is not None:
|
5950
5986
|
result['environmentVariables'] = self.environment_variables
|
5951
5987
|
if self.gpu_config is not None:
|
@@ -5972,6 +6008,8 @@ class UpdateFunctionInput(TeaModel):
|
|
5972
6008
|
result['role'] = self.role
|
5973
6009
|
if self.runtime is not None:
|
5974
6010
|
result['runtime'] = self.runtime
|
6011
|
+
if self.session_affinity is not None:
|
6012
|
+
result['sessionAffinity'] = self.session_affinity
|
5975
6013
|
if self.timeout is not None:
|
5976
6014
|
result['timeout'] = self.timeout
|
5977
6015
|
if self.tracing_config is not None:
|
@@ -6002,6 +6040,8 @@ class UpdateFunctionInput(TeaModel):
|
|
6002
6040
|
self.disable_ondemand = m.get('disableOndemand')
|
6003
6041
|
if m.get('diskSize') is not None:
|
6004
6042
|
self.disk_size = m.get('diskSize')
|
6043
|
+
if m.get('enableLongLiving') is not None:
|
6044
|
+
self.enable_long_living = m.get('enableLongLiving')
|
6005
6045
|
if m.get('environmentVariables') is not None:
|
6006
6046
|
self.environment_variables = m.get('environmentVariables')
|
6007
6047
|
if m.get('gpuConfig') is not None:
|
@@ -6033,6 +6073,8 @@ class UpdateFunctionInput(TeaModel):
|
|
6033
6073
|
self.role = m.get('role')
|
6034
6074
|
if m.get('runtime') is not None:
|
6035
6075
|
self.runtime = m.get('runtime')
|
6076
|
+
if m.get('sessionAffinity') is not None:
|
6077
|
+
self.session_affinity = m.get('sessionAffinity')
|
6036
6078
|
if m.get('timeout') is not None:
|
6037
6079
|
self.timeout = m.get('timeout')
|
6038
6080
|
if m.get('tracingConfig') is not None:
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '4.2.4'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{alibabacloud_fc20230330-4.2.4 → alibabacloud_fc20230330-4.2.6}/alibabacloud_fc20230330/client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|