alibabacloud-fc20230330 4.1.3__py3-none-any.whl → 4.1.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.
@@ -1 +1 @@
1
- __version__ = '4.1.3'
1
+ __version__ = '4.1.4'
@@ -152,7 +152,7 @@ class Client(OpenApiClient):
152
152
  """
153
153
  @summary Creates a custom domain name.
154
154
 
155
- @description If you wish to access applications or functions created in Function Compute via a fixed domain name in a production environment, or if you need to address the forced download behavior when accessing HTTP triggers, you can achieve this by binding a custom domain to your application or function.
155
+ @description If you want to use a fixed domain name to access an application or function in a production environment of Function Compute, or to resolve the issue of forced downloads when accessing an HTTP trigger, you can bind a custom domain name to the application or function.
156
156
 
157
157
  @param request: CreateCustomDomainRequest
158
158
  @param headers: map
@@ -189,7 +189,7 @@ class Client(OpenApiClient):
189
189
  """
190
190
  @summary Creates a custom domain name.
191
191
 
192
- @description If you wish to access applications or functions created in Function Compute via a fixed domain name in a production environment, or if you need to address the forced download behavior when accessing HTTP triggers, you can achieve this by binding a custom domain to your application or function.
192
+ @description If you want to use a fixed domain name to access an application or function in a production environment of Function Compute, or to resolve the issue of forced downloads when accessing an HTTP trigger, you can bind a custom domain name to the application or function.
193
193
 
194
194
  @param request: CreateCustomDomainRequest
195
195
  @param headers: map
@@ -224,7 +224,7 @@ class Client(OpenApiClient):
224
224
  """
225
225
  @summary Creates a custom domain name.
226
226
 
227
- @description If you wish to access applications or functions created in Function Compute via a fixed domain name in a production environment, or if you need to address the forced download behavior when accessing HTTP triggers, you can achieve this by binding a custom domain to your application or function.
227
+ @description If you want to use a fixed domain name to access an application or function in a production environment of Function Compute, or to resolve the issue of forced downloads when accessing an HTTP trigger, you can bind a custom domain name to the application or function.
228
228
 
229
229
  @param request: CreateCustomDomainRequest
230
230
  @return: CreateCustomDomainResponse
@@ -240,7 +240,7 @@ class Client(OpenApiClient):
240
240
  """
241
241
  @summary Creates a custom domain name.
242
242
 
243
- @description If you wish to access applications or functions created in Function Compute via a fixed domain name in a production environment, or if you need to address the forced download behavior when accessing HTTP triggers, you can achieve this by binding a custom domain to your application or function.
243
+ @description If you want to use a fixed domain name to access an application or function in a production environment of Function Compute, or to resolve the issue of forced downloads when accessing an HTTP trigger, you can bind a custom domain name to the application or function.
244
244
 
245
245
  @param request: CreateCustomDomainRequest
246
246
  @return: CreateCustomDomainResponse
@@ -258,7 +258,7 @@ class Client(OpenApiClient):
258
258
  """
259
259
  @summary Creates a function.
260
260
 
261
- @description In Function Compute, a function serves as the smallest unit of resource scheduling and execution, typically referring to a piece of code written by users that can execute independently in response to specific events or requests.
261
+ @description Resources of Function Compute are scheduled and run based on functions. A function usually refers to a code snippet that is written by a user and can be independently executed to respond to events and requests.
262
262
 
263
263
  @param request: CreateFunctionRequest
264
264
  @param headers: map
@@ -295,7 +295,7 @@ class Client(OpenApiClient):
295
295
  """
296
296
  @summary Creates a function.
297
297
 
298
- @description In Function Compute, a function serves as the smallest unit of resource scheduling and execution, typically referring to a piece of code written by users that can execute independently in response to specific events or requests.
298
+ @description Resources of Function Compute are scheduled and run based on functions. A function usually refers to a code snippet that is written by a user and can be independently executed to respond to events and requests.
299
299
 
300
300
  @param request: CreateFunctionRequest
301
301
  @param headers: map
@@ -330,7 +330,7 @@ class Client(OpenApiClient):
330
330
  """
331
331
  @summary Creates a function.
332
332
 
333
- @description In Function Compute, a function serves as the smallest unit of resource scheduling and execution, typically referring to a piece of code written by users that can execute independently in response to specific events or requests.
333
+ @description Resources of Function Compute are scheduled and run based on functions. A function usually refers to a code snippet that is written by a user and can be independently executed to respond to events and requests.
334
334
 
335
335
  @param request: CreateFunctionRequest
336
336
  @return: CreateFunctionResponse
@@ -346,7 +346,7 @@ class Client(OpenApiClient):
346
346
  """
347
347
  @summary Creates a function.
348
348
 
349
- @description In Function Compute, a function serves as the smallest unit of resource scheduling and execution, typically referring to a piece of code written by users that can execute independently in response to specific events or requests.
349
+ @description Resources of Function Compute are scheduled and run based on functions. A function usually refers to a code snippet that is written by a user and can be independently executed to respond to events and requests.
350
350
 
351
351
  @param request: CreateFunctionRequest
352
352
  @return: CreateFunctionResponse
@@ -2119,7 +2119,7 @@ class Client(OpenApiClient):
2119
2119
  runtime: util_models.RuntimeOptions,
2120
2120
  ) -> fc20230330_models.GetFunctionResponse:
2121
2121
  """
2122
- @summary Queries information about a function.
2122
+ @summary http://pre.hhht/#vpc
2123
2123
 
2124
2124
  @param request: GetFunctionRequest
2125
2125
  @param headers: map
@@ -2158,7 +2158,7 @@ class Client(OpenApiClient):
2158
2158
  runtime: util_models.RuntimeOptions,
2159
2159
  ) -> fc20230330_models.GetFunctionResponse:
2160
2160
  """
2161
- @summary Queries information about a function.
2161
+ @summary http://pre.hhht/#vpc
2162
2162
 
2163
2163
  @param request: GetFunctionRequest
2164
2164
  @param headers: map
@@ -2195,7 +2195,7 @@ class Client(OpenApiClient):
2195
2195
  request: fc20230330_models.GetFunctionRequest,
2196
2196
  ) -> fc20230330_models.GetFunctionResponse:
2197
2197
  """
2198
- @summary Queries information about a function.
2198
+ @summary http://pre.hhht/#vpc
2199
2199
 
2200
2200
  @param request: GetFunctionRequest
2201
2201
  @return: GetFunctionResponse
@@ -2210,7 +2210,7 @@ class Client(OpenApiClient):
2210
2210
  request: fc20230330_models.GetFunctionRequest,
2211
2211
  ) -> fc20230330_models.GetFunctionResponse:
2212
2212
  """
2213
- @summary Queries information about a function.
2213
+ @summary http://pre.hhht/#vpc
2214
2214
 
2215
2215
  @param request: GetFunctionRequest
2216
2216
  @return: GetFunctionResponse
@@ -1854,10 +1854,12 @@ class TracingConfig(TeaModel):
1854
1854
  class VPCConfig(TeaModel):
1855
1855
  def __init__(
1856
1856
  self,
1857
+ role: str = None,
1857
1858
  security_group_id: str = None,
1858
1859
  v_switch_ids: List[str] = None,
1859
1860
  vpc_id: str = None,
1860
1861
  ):
1862
+ self.role = role
1861
1863
  self.security_group_id = security_group_id
1862
1864
  self.v_switch_ids = v_switch_ids
1863
1865
  self.vpc_id = vpc_id
@@ -1871,6 +1873,8 @@ class VPCConfig(TeaModel):
1871
1873
  return _map
1872
1874
 
1873
1875
  result = dict()
1876
+ if self.role is not None:
1877
+ result['role'] = self.role
1874
1878
  if self.security_group_id is not None:
1875
1879
  result['securityGroupId'] = self.security_group_id
1876
1880
  if self.v_switch_ids is not None:
@@ -1881,6 +1885,8 @@ class VPCConfig(TeaModel):
1881
1885
 
1882
1886
  def from_map(self, m: dict = None):
1883
1887
  m = m or dict()
1888
+ if m.get('role') is not None:
1889
+ self.role = m.get('role')
1884
1890
  if m.get('securityGroupId') is not None:
1885
1891
  self.security_group_id = m.get('securityGroupId')
1886
1892
  if m.get('vSwitchIds') is not None:
@@ -6118,7 +6124,7 @@ class CreateVpcBindingRequest(TeaModel):
6118
6124
  self,
6119
6125
  body: CreateVpcBindingInput = None,
6120
6126
  ):
6121
- # The configurations of the virtual private cloud (VPC) binding.
6127
+ # The VPC binding configurations.
6122
6128
  #
6123
6129
  # This parameter is required.
6124
6130
  self.body = body
@@ -6830,7 +6836,7 @@ class GetFunctionRequest(TeaModel):
6830
6836
  self,
6831
6837
  qualifier: str = None,
6832
6838
  ):
6833
- # The version or alias of the function.
6839
+ # 2023-03-10T10:10:10Z
6834
6840
  self.qualifier = qualifier
6835
6841
 
6836
6842
  def validate(self):
@@ -7465,7 +7471,7 @@ class ListAsyncTasksRequest(TeaModel):
7465
7471
  #
7466
7472
  # > The `invocationPayload` parameter indicates the input parameters of an asynchronous task.
7467
7473
  self.include_payload = include_payload
7468
- # The number of asynchronous tasks to return. Valid values: [1,100]. Default value: 50.
7474
+ # The number of asynchronous tasks to return. Valid values: [1,100]. Default value: 20.
7469
7475
  self.limit = limit
7470
7476
  # The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
7471
7477
  self.next_token = next_token
@@ -7845,6 +7851,7 @@ class ListFunctionsRequest(TeaModel):
7845
7851
  next_token: str = None,
7846
7852
  prefix: str = None,
7847
7853
  ):
7854
+ # The version of Function Compute to which the functions belong. Valid values: v3 and v2. v3: only lists functions of Function Compute 3.0. v2: only lists functions of Function Compute 2.0. By default, this parameter is left empty and functions in both Function Compute 2.0 and Function Compute 3.0 are listed.
7848
7855
  self.fc_version = fc_version
7849
7856
  # The number of functions to return. The minimum value is 1 and the maximum value is 100.
7850
7857
  self.limit = limit
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-fc20230330
3
- Version: 4.1.3
3
+ Version: 4.1.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.1)
26
- Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.11)
26
+ Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.12)
27
27
  Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
28
28
 
29
29
  English | [简体中文](README-CN.md)
@@ -33,7 +33,7 @@ English | [简体中文](README-CN.md)
33
33
 
34
34
  ## Requirements
35
35
 
36
- - Python >= 3.6
36
+ - Python >= 3.7
37
37
 
38
38
  ## Installation
39
39
 
@@ -0,0 +1,8 @@
1
+ alibabacloud_fc20230330/__init__.py,sha256=isN_taDDTcqTbfWnxMnmLdhepHhB0Doy_9yj6md1t9E,21
2
+ alibabacloud_fc20230330/client.py,sha256=FW-y7sqdkkmh2Vgf5b8V-84LC4RRI-673N8TCxLPD2g,211425
3
+ alibabacloud_fc20230330/models.py,sha256=1YHCukT_NtwG4K3RxZx9dYg0Z7cVZOMsPqu2JaukqX4,300351
4
+ alibabacloud_fc20230330-4.1.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_fc20230330-4.1.4.dist-info/METADATA,sha256=rPb1o0CHF8HnxiS42SVOwzuwzuPg5fAwa53B2WHUn0I,2319
6
+ alibabacloud_fc20230330-4.1.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_fc20230330-4.1.4.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
8
+ alibabacloud_fc20230330-4.1.4.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_fc20230330/__init__.py,sha256=3ecRpVhKSzH-4_LJNeLvIAMoWhEr0U_so_WB0ileHbI,21
2
- alibabacloud_fc20230330/client.py,sha256=RvsTcODVzzlRqj6Kv_o9DVCVfKR3360aK53x_1vMn54,211677
3
- alibabacloud_fc20230330/models.py,sha256=cRRYc2KhuwIR5I7FNwaP38yE6KnwfnGehVOaN5MZ7ys,299880
4
- alibabacloud_fc20230330-4.1.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_fc20230330-4.1.3.dist-info/METADATA,sha256=DqxXv2goAFITjyhDVYTIA3qrAabOJ4QPk5seHFC9gTE,2319
6
- alibabacloud_fc20230330-4.1.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_fc20230330-4.1.3.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
8
- alibabacloud_fc20230330-4.1.3.dist-info/RECORD,,