alibabacloud-fc20230330 4.1.1__py3-none-any.whl → 4.1.3__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.1'
1
+ __version__ = '4.1.3'
@@ -150,7 +150,9 @@ class Client(OpenApiClient):
150
150
  runtime: util_models.RuntimeOptions,
151
151
  ) -> fc20230330_models.CreateCustomDomainResponse:
152
152
  """
153
- @summary 创建自定义域名。
153
+ @summary Creates a custom domain name.
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.
154
156
 
155
157
  @param request: CreateCustomDomainRequest
156
158
  @param headers: map
@@ -185,7 +187,9 @@ class Client(OpenApiClient):
185
187
  runtime: util_models.RuntimeOptions,
186
188
  ) -> fc20230330_models.CreateCustomDomainResponse:
187
189
  """
188
- @summary 创建自定义域名。
190
+ @summary Creates a custom domain name.
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.
189
193
 
190
194
  @param request: CreateCustomDomainRequest
191
195
  @param headers: map
@@ -218,7 +222,9 @@ class Client(OpenApiClient):
218
222
  request: fc20230330_models.CreateCustomDomainRequest,
219
223
  ) -> fc20230330_models.CreateCustomDomainResponse:
220
224
  """
221
- @summary 创建自定义域名。
225
+ @summary Creates a custom domain name.
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.
222
228
 
223
229
  @param request: CreateCustomDomainRequest
224
230
  @return: CreateCustomDomainResponse
@@ -232,7 +238,9 @@ class Client(OpenApiClient):
232
238
  request: fc20230330_models.CreateCustomDomainRequest,
233
239
  ) -> fc20230330_models.CreateCustomDomainResponse:
234
240
  """
235
- @summary 创建自定义域名。
241
+ @summary Creates a custom domain name.
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.
236
244
 
237
245
  @param request: CreateCustomDomainRequest
238
246
  @return: CreateCustomDomainResponse
@@ -250,6 +258,8 @@ class Client(OpenApiClient):
250
258
  """
251
259
  @summary Creates a function.
252
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.
262
+
253
263
  @param request: CreateFunctionRequest
254
264
  @param headers: map
255
265
  @param runtime: runtime options for this request RuntimeOptions
@@ -285,6 +295,8 @@ class Client(OpenApiClient):
285
295
  """
286
296
  @summary Creates a function.
287
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.
299
+
288
300
  @param request: CreateFunctionRequest
289
301
  @param headers: map
290
302
  @param runtime: runtime options for this request RuntimeOptions
@@ -318,6 +330,8 @@ class Client(OpenApiClient):
318
330
  """
319
331
  @summary Creates a function.
320
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.
334
+
321
335
  @param request: CreateFunctionRequest
322
336
  @return: CreateFunctionResponse
323
337
  """
@@ -332,6 +346,8 @@ class Client(OpenApiClient):
332
346
  """
333
347
  @summary Creates a function.
334
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.
350
+
335
351
  @param request: CreateFunctionRequest
336
352
  @return: CreateFunctionResponse
337
353
  """
@@ -3567,6 +3583,8 @@ class Client(OpenApiClient):
3567
3583
  """
3568
3584
  UtilClient.validate_model(request)
3569
3585
  query = {}
3586
+ if not UtilClient.is_unset(request.fc_version):
3587
+ query['fcVersion'] = request.fc_version
3570
3588
  if not UtilClient.is_unset(request.limit):
3571
3589
  query['limit'] = request.limit
3572
3590
  if not UtilClient.is_unset(request.next_token):
@@ -3609,6 +3627,8 @@ class Client(OpenApiClient):
3609
3627
  """
3610
3628
  UtilClient.validate_model(request)
3611
3629
  query = {}
3630
+ if not UtilClient.is_unset(request.fc_version):
3631
+ query['fcVersion'] = request.fc_version
3612
3632
  if not UtilClient.is_unset(request.limit):
3613
3633
  query['limit'] = request.limit
3614
3634
  if not UtilClient.is_unset(request.next_token):
@@ -5114,6 +5134,8 @@ class Client(OpenApiClient):
5114
5134
  """
5115
5135
  @summary Adds tags to a resource.
5116
5136
 
5137
+ @description Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](https://help.aliyun.com/document_detail/156983.html).
5138
+
5117
5139
  @param request: TagResourcesRequest
5118
5140
  @param headers: map
5119
5141
  @param runtime: runtime options for this request RuntimeOptions
@@ -5149,6 +5171,8 @@ class Client(OpenApiClient):
5149
5171
  """
5150
5172
  @summary Adds tags to a resource.
5151
5173
 
5174
+ @description Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](https://help.aliyun.com/document_detail/156983.html).
5175
+
5152
5176
  @param request: TagResourcesRequest
5153
5177
  @param headers: map
5154
5178
  @param runtime: runtime options for this request RuntimeOptions
@@ -5182,6 +5206,8 @@ class Client(OpenApiClient):
5182
5206
  """
5183
5207
  @summary Adds tags to a resource.
5184
5208
 
5209
+ @description Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](https://help.aliyun.com/document_detail/156983.html).
5210
+
5185
5211
  @param request: TagResourcesRequest
5186
5212
  @return: TagResourcesResponse
5187
5213
  """
@@ -5196,6 +5222,8 @@ class Client(OpenApiClient):
5196
5222
  """
5197
5223
  @summary Adds tags to a resource.
5198
5224
 
5225
+ @description Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](https://help.aliyun.com/document_detail/156983.html).
5226
+
5199
5227
  @param request: TagResourcesRequest
5200
5228
  @return: TagResourcesResponse
5201
5229
  """
@@ -1123,6 +1123,158 @@ class CustomHealthCheckConfig(TeaModel):
1123
1123
  return self
1124
1124
 
1125
1125
 
1126
+ class RegistryAuthConfig(TeaModel):
1127
+ def __init__(
1128
+ self,
1129
+ password: str = None,
1130
+ user_name: str = None,
1131
+ ):
1132
+ self.password = password
1133
+ self.user_name = user_name
1134
+
1135
+ def validate(self):
1136
+ pass
1137
+
1138
+ def to_map(self):
1139
+ _map = super().to_map()
1140
+ if _map is not None:
1141
+ return _map
1142
+
1143
+ result = dict()
1144
+ if self.password is not None:
1145
+ result['password'] = self.password
1146
+ if self.user_name is not None:
1147
+ result['userName'] = self.user_name
1148
+ return result
1149
+
1150
+ def from_map(self, m: dict = None):
1151
+ m = m or dict()
1152
+ if m.get('password') is not None:
1153
+ self.password = m.get('password')
1154
+ if m.get('userName') is not None:
1155
+ self.user_name = m.get('userName')
1156
+ return self
1157
+
1158
+
1159
+ class RegistryCertConfig(TeaModel):
1160
+ def __init__(
1161
+ self,
1162
+ insecure: bool = None,
1163
+ root_ca_cert_base_64: str = None,
1164
+ ):
1165
+ self.insecure = insecure
1166
+ self.root_ca_cert_base_64 = root_ca_cert_base_64
1167
+
1168
+ def validate(self):
1169
+ pass
1170
+
1171
+ def to_map(self):
1172
+ _map = super().to_map()
1173
+ if _map is not None:
1174
+ return _map
1175
+
1176
+ result = dict()
1177
+ if self.insecure is not None:
1178
+ result['insecure'] = self.insecure
1179
+ if self.root_ca_cert_base_64 is not None:
1180
+ result['rootCaCertBase64'] = self.root_ca_cert_base_64
1181
+ return result
1182
+
1183
+ def from_map(self, m: dict = None):
1184
+ m = m or dict()
1185
+ if m.get('insecure') is not None:
1186
+ self.insecure = m.get('insecure')
1187
+ if m.get('rootCaCertBase64') is not None:
1188
+ self.root_ca_cert_base_64 = m.get('rootCaCertBase64')
1189
+ return self
1190
+
1191
+
1192
+ class RegistryNetworkConfig(TeaModel):
1193
+ def __init__(
1194
+ self,
1195
+ security_group_id: str = None,
1196
+ v_switch_id: str = None,
1197
+ vpc_id: str = None,
1198
+ ):
1199
+ self.security_group_id = security_group_id
1200
+ self.v_switch_id = v_switch_id
1201
+ self.vpc_id = vpc_id
1202
+
1203
+ def validate(self):
1204
+ pass
1205
+
1206
+ def to_map(self):
1207
+ _map = super().to_map()
1208
+ if _map is not None:
1209
+ return _map
1210
+
1211
+ result = dict()
1212
+ if self.security_group_id is not None:
1213
+ result['securityGroupId'] = self.security_group_id
1214
+ if self.v_switch_id is not None:
1215
+ result['vSwitchId'] = self.v_switch_id
1216
+ if self.vpc_id is not None:
1217
+ result['vpcId'] = self.vpc_id
1218
+ return result
1219
+
1220
+ def from_map(self, m: dict = None):
1221
+ m = m or dict()
1222
+ if m.get('securityGroupId') is not None:
1223
+ self.security_group_id = m.get('securityGroupId')
1224
+ if m.get('vSwitchId') is not None:
1225
+ self.v_switch_id = m.get('vSwitchId')
1226
+ if m.get('vpcId') is not None:
1227
+ self.vpc_id = m.get('vpcId')
1228
+ return self
1229
+
1230
+
1231
+ class RegistryConfig(TeaModel):
1232
+ def __init__(
1233
+ self,
1234
+ auth_config: RegistryAuthConfig = None,
1235
+ cert_config: RegistryCertConfig = None,
1236
+ network_config: RegistryNetworkConfig = None,
1237
+ ):
1238
+ self.auth_config = auth_config
1239
+ self.cert_config = cert_config
1240
+ self.network_config = network_config
1241
+
1242
+ def validate(self):
1243
+ if self.auth_config:
1244
+ self.auth_config.validate()
1245
+ if self.cert_config:
1246
+ self.cert_config.validate()
1247
+ if self.network_config:
1248
+ self.network_config.validate()
1249
+
1250
+ def to_map(self):
1251
+ _map = super().to_map()
1252
+ if _map is not None:
1253
+ return _map
1254
+
1255
+ result = dict()
1256
+ if self.auth_config is not None:
1257
+ result['authConfig'] = self.auth_config.to_map()
1258
+ if self.cert_config is not None:
1259
+ result['certConfig'] = self.cert_config.to_map()
1260
+ if self.network_config is not None:
1261
+ result['networkConfig'] = self.network_config.to_map()
1262
+ return result
1263
+
1264
+ def from_map(self, m: dict = None):
1265
+ m = m or dict()
1266
+ if m.get('authConfig') is not None:
1267
+ temp_model = RegistryAuthConfig()
1268
+ self.auth_config = temp_model.from_map(m['authConfig'])
1269
+ if m.get('certConfig') is not None:
1270
+ temp_model = RegistryCertConfig()
1271
+ self.cert_config = temp_model.from_map(m['certConfig'])
1272
+ if m.get('networkConfig') is not None:
1273
+ temp_model = RegistryNetworkConfig()
1274
+ self.network_config = temp_model.from_map(m['networkConfig'])
1275
+ return self
1276
+
1277
+
1126
1278
  class CustomContainerConfig(TeaModel):
1127
1279
  def __init__(
1128
1280
  self,
@@ -1134,6 +1286,7 @@ class CustomContainerConfig(TeaModel):
1134
1286
  health_check_config: CustomHealthCheckConfig = None,
1135
1287
  image: str = None,
1136
1288
  port: int = None,
1289
+ registry_config: RegistryConfig = None,
1137
1290
  resolved_image_uri: str = None,
1138
1291
  ):
1139
1292
  self.acceleration_info = acceleration_info
@@ -1144,6 +1297,7 @@ class CustomContainerConfig(TeaModel):
1144
1297
  self.health_check_config = health_check_config
1145
1298
  self.image = image
1146
1299
  self.port = port
1300
+ self.registry_config = registry_config
1147
1301
  self.resolved_image_uri = resolved_image_uri
1148
1302
 
1149
1303
  def validate(self):
@@ -1151,6 +1305,8 @@ class CustomContainerConfig(TeaModel):
1151
1305
  self.acceleration_info.validate()
1152
1306
  if self.health_check_config:
1153
1307
  self.health_check_config.validate()
1308
+ if self.registry_config:
1309
+ self.registry_config.validate()
1154
1310
 
1155
1311
  def to_map(self):
1156
1312
  _map = super().to_map()
@@ -1174,6 +1330,8 @@ class CustomContainerConfig(TeaModel):
1174
1330
  result['image'] = self.image
1175
1331
  if self.port is not None:
1176
1332
  result['port'] = self.port
1333
+ if self.registry_config is not None:
1334
+ result['registryConfig'] = self.registry_config.to_map()
1177
1335
  if self.resolved_image_uri is not None:
1178
1336
  result['resolvedImageUri'] = self.resolved_image_uri
1179
1337
  return result
@@ -1198,6 +1356,9 @@ class CustomContainerConfig(TeaModel):
1198
1356
  self.image = m.get('image')
1199
1357
  if m.get('port') is not None:
1200
1358
  self.port = m.get('port')
1359
+ if m.get('registryConfig') is not None:
1360
+ temp_model = RegistryConfig()
1361
+ self.registry_config = temp_model.from_map(m['registryConfig'])
1201
1362
  if m.get('resolvedImageUri') is not None:
1202
1363
  self.resolved_image_uri = m.get('resolvedImageUri')
1203
1364
  return self
@@ -3996,6 +4157,7 @@ class ScheduledAction(TeaModel):
3996
4157
  schedule_expression: str = None,
3997
4158
  start_time: str = None,
3998
4159
  target: int = None,
4160
+ time_zone: str = None,
3999
4161
  ):
4000
4162
  self.end_time = end_time
4001
4163
  # This parameter is required.
@@ -4005,6 +4167,7 @@ class ScheduledAction(TeaModel):
4005
4167
  self.start_time = start_time
4006
4168
  # This parameter is required.
4007
4169
  self.target = target
4170
+ self.time_zone = time_zone
4008
4171
 
4009
4172
  def validate(self):
4010
4173
  pass
@@ -4025,6 +4188,8 @@ class ScheduledAction(TeaModel):
4025
4188
  result['startTime'] = self.start_time
4026
4189
  if self.target is not None:
4027
4190
  result['target'] = self.target
4191
+ if self.time_zone is not None:
4192
+ result['timeZone'] = self.time_zone
4028
4193
  return result
4029
4194
 
4030
4195
  def from_map(self, m: dict = None):
@@ -4039,6 +4204,8 @@ class ScheduledAction(TeaModel):
4039
4204
  self.start_time = m.get('startTime')
4040
4205
  if m.get('target') is not None:
4041
4206
  self.target = m.get('target')
4207
+ if m.get('timeZone') is not None:
4208
+ self.time_zone = m.get('timeZone')
4042
4209
  return self
4043
4210
 
4044
4211
 
@@ -4052,6 +4219,7 @@ class TargetTrackingPolicy(TeaModel):
4052
4219
  min_capacity: int = None,
4053
4220
  name: str = None,
4054
4221
  start_time: str = None,
4222
+ time_zone: str = None,
4055
4223
  ):
4056
4224
  self.end_time = end_time
4057
4225
  # This parameter is required.
@@ -4065,6 +4233,7 @@ class TargetTrackingPolicy(TeaModel):
4065
4233
  # This parameter is required.
4066
4234
  self.name = name
4067
4235
  self.start_time = start_time
4236
+ self.time_zone = time_zone
4068
4237
 
4069
4238
  def validate(self):
4070
4239
  pass
@@ -4089,6 +4258,8 @@ class TargetTrackingPolicy(TeaModel):
4089
4258
  result['name'] = self.name
4090
4259
  if self.start_time is not None:
4091
4260
  result['startTime'] = self.start_time
4261
+ if self.time_zone is not None:
4262
+ result['timeZone'] = self.time_zone
4092
4263
  return result
4093
4264
 
4094
4265
  def from_map(self, m: dict = None):
@@ -4107,6 +4278,8 @@ class TargetTrackingPolicy(TeaModel):
4107
4278
  self.name = m.get('name')
4108
4279
  if m.get('startTime') is not None:
4109
4280
  self.start_time = m.get('startTime')
4281
+ if m.get('timeZone') is not None:
4282
+ self.time_zone = m.get('timeZone')
4110
4283
  return self
4111
4284
 
4112
4285
 
@@ -4114,6 +4287,7 @@ class ProvisionConfig(TeaModel):
4114
4287
  def __init__(
4115
4288
  self,
4116
4289
  always_allocate_cpu: bool = None,
4290
+ always_allocate_gpu: bool = None,
4117
4291
  current: int = None,
4118
4292
  current_error: str = None,
4119
4293
  function_arn: str = None,
@@ -4122,6 +4296,7 @@ class ProvisionConfig(TeaModel):
4122
4296
  target_tracking_policies: List[TargetTrackingPolicy] = None,
4123
4297
  ):
4124
4298
  self.always_allocate_cpu = always_allocate_cpu
4299
+ self.always_allocate_gpu = always_allocate_gpu
4125
4300
  self.current = current
4126
4301
  self.current_error = current_error
4127
4302
  self.function_arn = function_arn
@@ -4147,6 +4322,8 @@ class ProvisionConfig(TeaModel):
4147
4322
  result = dict()
4148
4323
  if self.always_allocate_cpu is not None:
4149
4324
  result['alwaysAllocateCPU'] = self.always_allocate_cpu
4325
+ if self.always_allocate_gpu is not None:
4326
+ result['alwaysAllocateGPU'] = self.always_allocate_gpu
4150
4327
  if self.current is not None:
4151
4328
  result['current'] = self.current
4152
4329
  if self.current_error is not None:
@@ -4169,6 +4346,8 @@ class ProvisionConfig(TeaModel):
4169
4346
  m = m or dict()
4170
4347
  if m.get('alwaysAllocateCPU') is not None:
4171
4348
  self.always_allocate_cpu = m.get('alwaysAllocateCPU')
4349
+ if m.get('alwaysAllocateGPU') is not None:
4350
+ self.always_allocate_gpu = m.get('alwaysAllocateGPU')
4172
4351
  if m.get('current') is not None:
4173
4352
  self.current = m.get('current')
4174
4353
  if m.get('currentError') is not None:
@@ -4877,11 +5056,13 @@ class PutProvisionConfigInput(TeaModel):
4877
5056
  def __init__(
4878
5057
  self,
4879
5058
  always_allocate_cpu: bool = None,
5059
+ always_allocate_gpu: bool = None,
4880
5060
  scheduled_actions: List[ScheduledAction] = None,
4881
5061
  target: int = None,
4882
5062
  target_tracking_policies: List[TargetTrackingPolicy] = None,
4883
5063
  ):
4884
5064
  self.always_allocate_cpu = always_allocate_cpu
5065
+ self.always_allocate_gpu = always_allocate_gpu
4885
5066
  self.scheduled_actions = scheduled_actions
4886
5067
  # This parameter is required.
4887
5068
  self.target = target
@@ -4905,6 +5086,8 @@ class PutProvisionConfigInput(TeaModel):
4905
5086
  result = dict()
4906
5087
  if self.always_allocate_cpu is not None:
4907
5088
  result['alwaysAllocateCPU'] = self.always_allocate_cpu
5089
+ if self.always_allocate_gpu is not None:
5090
+ result['alwaysAllocateGPU'] = self.always_allocate_gpu
4908
5091
  result['scheduledActions'] = []
4909
5092
  if self.scheduled_actions is not None:
4910
5093
  for k in self.scheduled_actions:
@@ -4921,6 +5104,8 @@ class PutProvisionConfigInput(TeaModel):
4921
5104
  m = m or dict()
4922
5105
  if m.get('alwaysAllocateCPU') is not None:
4923
5106
  self.always_allocate_cpu = m.get('alwaysAllocateCPU')
5107
+ if m.get('alwaysAllocateGPU') is not None:
5108
+ self.always_allocate_gpu = m.get('alwaysAllocateGPU')
4924
5109
  self.scheduled_actions = []
4925
5110
  if m.get('scheduledActions') is not None:
4926
5111
  for k in m.get('scheduledActions'):
@@ -6494,7 +6679,7 @@ class GetAsyncTaskRequest(TeaModel):
6494
6679
  self,
6495
6680
  qualifier: str = None,
6496
6681
  ):
6497
- # The function version or alias.
6682
+ # The version or alias of the function.
6498
6683
  self.qualifier = qualifier
6499
6684
 
6500
6685
  def validate(self):
@@ -6979,6 +7164,9 @@ class InvokeFunctionHeaders(TeaModel):
6979
7164
  x_fc_log_type: str = None,
6980
7165
  ):
6981
7166
  self.common_headers = common_headers
7167
+ # The ID of the asynchronous task. You must enable the asynchronous task feature in advance.
7168
+ #
7169
+ # > If you use an SDK to invoke a function, we recommend that you specify a business-related ID to facilitate subsequent operations. For example, a video processing function can use video file names as invocation IDs. This way, you can easily check whether a video is successfully processed or terminated before it is processed. The ID can start only with letters or underscores. An ID can contain *letters, digits (0 - 9), underscores*, and hyphens (-). It can be up to 128 characters in length. If you do not specify the ID of the asynchronous invocation, the system automatically generates an ID.
6982
7170
  self.x_fc_async_task_id = x_fc_async_task_id
6983
7171
  # The type of function invocation. Valid values: Sync and Async.
6984
7172
  self.x_fc_invocation_type = x_fc_invocation_type
@@ -7283,16 +7471,16 @@ class ListAsyncTasksRequest(TeaModel):
7283
7471
  self.next_token = next_token
7284
7472
  # The ID prefix of asynchronous tasks. If this parameter is specified, a list of asynchronous tasks whose IDs match the prefix is returned.
7285
7473
  self.prefix = prefix
7286
- # The function version or alias.
7474
+ # The version or alias of the function.
7287
7475
  self.qualifier = qualifier
7288
7476
  # The order in which the returned asynchronous tasks are sorted.
7289
7477
  #
7290
7478
  # * asc: in ascending order.
7291
7479
  # * desc: in descending order.
7292
7480
  self.sort_order_by_time = sort_order_by_time
7293
- # The start time of the period in which the asynchronous tasks are launched.
7481
+ # The start time of the period during which the asynchronous tasks are initiated.
7294
7482
  self.started_time_begin = started_time_begin
7295
- # The end time of the period in which the asynchronous tasks are launched.
7483
+ # The end time of the period during which the asynchronous tasks are initiated.
7296
7484
  self.started_time_end = started_time_end
7297
7485
  # The state of asynchronous tasks. The following items list the states of an asynchronous task:
7298
7486
  #
@@ -7652,10 +7840,12 @@ class ListFunctionVersionsResponse(TeaModel):
7652
7840
  class ListFunctionsRequest(TeaModel):
7653
7841
  def __init__(
7654
7842
  self,
7843
+ fc_version: str = None,
7655
7844
  limit: int = None,
7656
7845
  next_token: str = None,
7657
7846
  prefix: str = None,
7658
7847
  ):
7848
+ self.fc_version = fc_version
7659
7849
  # The number of functions to return. The minimum value is 1 and the maximum value is 100.
7660
7850
  self.limit = limit
7661
7851
  # The pagination token.
@@ -7672,6 +7862,8 @@ class ListFunctionsRequest(TeaModel):
7672
7862
  return _map
7673
7863
 
7674
7864
  result = dict()
7865
+ if self.fc_version is not None:
7866
+ result['fcVersion'] = self.fc_version
7675
7867
  if self.limit is not None:
7676
7868
  result['limit'] = self.limit
7677
7869
  if self.next_token is not None:
@@ -7682,6 +7874,8 @@ class ListFunctionsRequest(TeaModel):
7682
7874
 
7683
7875
  def from_map(self, m: dict = None):
7684
7876
  m = m or dict()
7877
+ if m.get('fcVersion') is not None:
7878
+ self.fc_version = m.get('fcVersion')
7685
7879
  if m.get('limit') is not None:
7686
7880
  self.limit = m.get('limit')
7687
7881
  if m.get('nextToken') is not None:
@@ -8475,7 +8669,7 @@ class PutAsyncInvokeConfigRequest(TeaModel):
8475
8669
  body: PutAsyncInvokeConfigInput = None,
8476
8670
  qualifier: str = None,
8477
8671
  ):
8478
- # The configurations of asynchronous function invocation.
8672
+ # The asynchronous invocation configurations.
8479
8673
  #
8480
8674
  # This parameter is required.
8481
8675
  self.body = body
@@ -8628,8 +8822,9 @@ class PutLayerACLRequest(TeaModel):
8628
8822
  acl: str = None,
8629
8823
  public: str = None,
8630
8824
  ):
8825
+ # Specify the access permission of the layer. A value of 1 indicates public and a value of 0 indicates private. The default value is 0.
8631
8826
  self.acl = acl
8632
- # Specifies whether the layer is a public layer. Valid values: true and false.
8827
+ # Specify whether the layer is a public layer. Valid values: true and false.
8633
8828
  self.public = public
8634
8829
 
8635
8830
  def validate(self):
@@ -8774,7 +8969,7 @@ class StopAsyncTaskRequest(TeaModel):
8774
8969
  self,
8775
8970
  qualifier: str = None,
8776
8971
  ):
8777
- # The function version or alias.
8972
+ # The version or alias of the function.
8778
8973
  self.qualifier = qualifier
8779
8974
 
8780
8975
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-fc20230330
3
- Version: 4.1.1
3
+ Version: 4.1.3
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
@@ -20,10 +20,11 @@ Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Topic :: Software Development
21
21
  Requires-Python: >=3.6
22
22
  Description-Content-Type: text/markdown
23
- Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.12
24
- Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.10
25
- Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
26
- Requires-Dist: alibabacloud-endpoint-util <1.0.0,>=0.0.3
23
+ License-File: LICENSE
24
+ Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.3)
25
+ Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.1)
26
+ Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.11)
27
+ Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
27
28
 
28
29
  English | [简体中文](README-CN.md)
29
30
  ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
@@ -66,5 +67,3 @@ Detailed changes for each release are documented in the [release notes](https://
66
67
  [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
67
68
 
68
69
  Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
69
-
70
-
@@ -0,0 +1,8 @@
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.38.4)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- alibabacloud_fc20230330/__init__.py,sha256=9s_-kFNVIJvwc6-4mHs-DFU56OCC5TEDwXiEgMZS1Yg,21
2
- alibabacloud_fc20230330/client.py,sha256=nKYk4AqMunzCDME9p__X17GefH9Sy1I2Dpt0O5WGwK8,207793
3
- alibabacloud_fc20230330/models.py,sha256=66bp1-tmeoW6SvU0DkvUWhRbELCGarsfkcDn6SegbYw,292628
4
- alibabacloud_fc20230330-4.1.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_fc20230330-4.1.1.dist-info/METADATA,sha256=IaiLBk_7jGoCDgjs3dCAPmorhqCtNtqlRubSQEGVxbQ,2291
6
- alibabacloud_fc20230330-4.1.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- alibabacloud_fc20230330-4.1.1.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
8
- alibabacloud_fc20230330-4.1.1.dist-info/RECORD,,