alibabacloud-fc20230330 4.1.2__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.
- alibabacloud_fc20230330/__init__.py +1 -1
- alibabacloud_fc20230330/client.py +36 -8
- alibabacloud_fc20230330/models.py +200 -10
- {alibabacloud_fc20230330-4.1.2.dist-info → alibabacloud_fc20230330-4.1.4.dist-info}/METADATA +7 -8
- alibabacloud_fc20230330-4.1.4.dist-info/RECORD +8 -0
- {alibabacloud_fc20230330-4.1.2.dist-info → alibabacloud_fc20230330-4.1.4.dist-info}/WHEEL +1 -1
- alibabacloud_fc20230330-4.1.2.dist-info/RECORD +0 -8
- {alibabacloud_fc20230330-4.1.2.dist-info → alibabacloud_fc20230330-4.1.4.dist-info}/LICENSE +0 -0
- {alibabacloud_fc20230330-4.1.2.dist-info → alibabacloud_fc20230330-4.1.4.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = '4.1.
|
1
|
+
__version__ = '4.1.4'
|
@@ -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 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.
|
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 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.
|
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 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.
|
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 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.
|
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 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
|
+
|
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 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
|
+
|
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 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
|
+
|
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 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
|
+
|
335
351
|
@param request: CreateFunctionRequest
|
336
352
|
@return: CreateFunctionResponse
|
337
353
|
"""
|
@@ -2103,7 +2119,7 @@ class Client(OpenApiClient):
|
|
2103
2119
|
runtime: util_models.RuntimeOptions,
|
2104
2120
|
) -> fc20230330_models.GetFunctionResponse:
|
2105
2121
|
"""
|
2106
|
-
@summary
|
2122
|
+
@summary http://pre.hhht/#vpc
|
2107
2123
|
|
2108
2124
|
@param request: GetFunctionRequest
|
2109
2125
|
@param headers: map
|
@@ -2142,7 +2158,7 @@ class Client(OpenApiClient):
|
|
2142
2158
|
runtime: util_models.RuntimeOptions,
|
2143
2159
|
) -> fc20230330_models.GetFunctionResponse:
|
2144
2160
|
"""
|
2145
|
-
@summary
|
2161
|
+
@summary http://pre.hhht/#vpc
|
2146
2162
|
|
2147
2163
|
@param request: GetFunctionRequest
|
2148
2164
|
@param headers: map
|
@@ -2179,7 +2195,7 @@ class Client(OpenApiClient):
|
|
2179
2195
|
request: fc20230330_models.GetFunctionRequest,
|
2180
2196
|
) -> fc20230330_models.GetFunctionResponse:
|
2181
2197
|
"""
|
2182
|
-
@summary
|
2198
|
+
@summary http://pre.hhht/#vpc
|
2183
2199
|
|
2184
2200
|
@param request: GetFunctionRequest
|
2185
2201
|
@return: GetFunctionResponse
|
@@ -2194,7 +2210,7 @@ class Client(OpenApiClient):
|
|
2194
2210
|
request: fc20230330_models.GetFunctionRequest,
|
2195
2211
|
) -> fc20230330_models.GetFunctionResponse:
|
2196
2212
|
"""
|
2197
|
-
@summary
|
2213
|
+
@summary http://pre.hhht/#vpc
|
2198
2214
|
|
2199
2215
|
@param request: GetFunctionRequest
|
2200
2216
|
@return: GetFunctionResponse
|
@@ -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
|
@@ -1693,10 +1854,12 @@ class TracingConfig(TeaModel):
|
|
1693
1854
|
class VPCConfig(TeaModel):
|
1694
1855
|
def __init__(
|
1695
1856
|
self,
|
1857
|
+
role: str = None,
|
1696
1858
|
security_group_id: str = None,
|
1697
1859
|
v_switch_ids: List[str] = None,
|
1698
1860
|
vpc_id: str = None,
|
1699
1861
|
):
|
1862
|
+
self.role = role
|
1700
1863
|
self.security_group_id = security_group_id
|
1701
1864
|
self.v_switch_ids = v_switch_ids
|
1702
1865
|
self.vpc_id = vpc_id
|
@@ -1710,6 +1873,8 @@ class VPCConfig(TeaModel):
|
|
1710
1873
|
return _map
|
1711
1874
|
|
1712
1875
|
result = dict()
|
1876
|
+
if self.role is not None:
|
1877
|
+
result['role'] = self.role
|
1713
1878
|
if self.security_group_id is not None:
|
1714
1879
|
result['securityGroupId'] = self.security_group_id
|
1715
1880
|
if self.v_switch_ids is not None:
|
@@ -1720,6 +1885,8 @@ class VPCConfig(TeaModel):
|
|
1720
1885
|
|
1721
1886
|
def from_map(self, m: dict = None):
|
1722
1887
|
m = m or dict()
|
1888
|
+
if m.get('role') is not None:
|
1889
|
+
self.role = m.get('role')
|
1723
1890
|
if m.get('securityGroupId') is not None:
|
1724
1891
|
self.security_group_id = m.get('securityGroupId')
|
1725
1892
|
if m.get('vSwitchIds') is not None:
|
@@ -3996,6 +4163,7 @@ class ScheduledAction(TeaModel):
|
|
3996
4163
|
schedule_expression: str = None,
|
3997
4164
|
start_time: str = None,
|
3998
4165
|
target: int = None,
|
4166
|
+
time_zone: str = None,
|
3999
4167
|
):
|
4000
4168
|
self.end_time = end_time
|
4001
4169
|
# This parameter is required.
|
@@ -4005,6 +4173,7 @@ class ScheduledAction(TeaModel):
|
|
4005
4173
|
self.start_time = start_time
|
4006
4174
|
# This parameter is required.
|
4007
4175
|
self.target = target
|
4176
|
+
self.time_zone = time_zone
|
4008
4177
|
|
4009
4178
|
def validate(self):
|
4010
4179
|
pass
|
@@ -4025,6 +4194,8 @@ class ScheduledAction(TeaModel):
|
|
4025
4194
|
result['startTime'] = self.start_time
|
4026
4195
|
if self.target is not None:
|
4027
4196
|
result['target'] = self.target
|
4197
|
+
if self.time_zone is not None:
|
4198
|
+
result['timeZone'] = self.time_zone
|
4028
4199
|
return result
|
4029
4200
|
|
4030
4201
|
def from_map(self, m: dict = None):
|
@@ -4039,6 +4210,8 @@ class ScheduledAction(TeaModel):
|
|
4039
4210
|
self.start_time = m.get('startTime')
|
4040
4211
|
if m.get('target') is not None:
|
4041
4212
|
self.target = m.get('target')
|
4213
|
+
if m.get('timeZone') is not None:
|
4214
|
+
self.time_zone = m.get('timeZone')
|
4042
4215
|
return self
|
4043
4216
|
|
4044
4217
|
|
@@ -4052,6 +4225,7 @@ class TargetTrackingPolicy(TeaModel):
|
|
4052
4225
|
min_capacity: int = None,
|
4053
4226
|
name: str = None,
|
4054
4227
|
start_time: str = None,
|
4228
|
+
time_zone: str = None,
|
4055
4229
|
):
|
4056
4230
|
self.end_time = end_time
|
4057
4231
|
# This parameter is required.
|
@@ -4065,6 +4239,7 @@ class TargetTrackingPolicy(TeaModel):
|
|
4065
4239
|
# This parameter is required.
|
4066
4240
|
self.name = name
|
4067
4241
|
self.start_time = start_time
|
4242
|
+
self.time_zone = time_zone
|
4068
4243
|
|
4069
4244
|
def validate(self):
|
4070
4245
|
pass
|
@@ -4089,6 +4264,8 @@ class TargetTrackingPolicy(TeaModel):
|
|
4089
4264
|
result['name'] = self.name
|
4090
4265
|
if self.start_time is not None:
|
4091
4266
|
result['startTime'] = self.start_time
|
4267
|
+
if self.time_zone is not None:
|
4268
|
+
result['timeZone'] = self.time_zone
|
4092
4269
|
return result
|
4093
4270
|
|
4094
4271
|
def from_map(self, m: dict = None):
|
@@ -4107,6 +4284,8 @@ class TargetTrackingPolicy(TeaModel):
|
|
4107
4284
|
self.name = m.get('name')
|
4108
4285
|
if m.get('startTime') is not None:
|
4109
4286
|
self.start_time = m.get('startTime')
|
4287
|
+
if m.get('timeZone') is not None:
|
4288
|
+
self.time_zone = m.get('timeZone')
|
4110
4289
|
return self
|
4111
4290
|
|
4112
4291
|
|
@@ -5945,7 +6124,7 @@ class CreateVpcBindingRequest(TeaModel):
|
|
5945
6124
|
self,
|
5946
6125
|
body: CreateVpcBindingInput = None,
|
5947
6126
|
):
|
5948
|
-
# The
|
6127
|
+
# The VPC binding configurations.
|
5949
6128
|
#
|
5950
6129
|
# This parameter is required.
|
5951
6130
|
self.body = body
|
@@ -6506,7 +6685,7 @@ class GetAsyncTaskRequest(TeaModel):
|
|
6506
6685
|
self,
|
6507
6686
|
qualifier: str = None,
|
6508
6687
|
):
|
6509
|
-
# The
|
6688
|
+
# The version or alias of the function.
|
6510
6689
|
self.qualifier = qualifier
|
6511
6690
|
|
6512
6691
|
def validate(self):
|
@@ -6657,7 +6836,7 @@ class GetFunctionRequest(TeaModel):
|
|
6657
6836
|
self,
|
6658
6837
|
qualifier: str = None,
|
6659
6838
|
):
|
6660
|
-
#
|
6839
|
+
# 2023-03-10T10:10:10Z
|
6661
6840
|
self.qualifier = qualifier
|
6662
6841
|
|
6663
6842
|
def validate(self):
|
@@ -6991,6 +7170,9 @@ class InvokeFunctionHeaders(TeaModel):
|
|
6991
7170
|
x_fc_log_type: str = None,
|
6992
7171
|
):
|
6993
7172
|
self.common_headers = common_headers
|
7173
|
+
# The ID of the asynchronous task. You must enable the asynchronous task feature in advance.
|
7174
|
+
#
|
7175
|
+
# > 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.
|
6994
7176
|
self.x_fc_async_task_id = x_fc_async_task_id
|
6995
7177
|
# The type of function invocation. Valid values: Sync and Async.
|
6996
7178
|
self.x_fc_invocation_type = x_fc_invocation_type
|
@@ -7289,22 +7471,22 @@ class ListAsyncTasksRequest(TeaModel):
|
|
7289
7471
|
#
|
7290
7472
|
# > The `invocationPayload` parameter indicates the input parameters of an asynchronous task.
|
7291
7473
|
self.include_payload = include_payload
|
7292
|
-
# The number of asynchronous tasks to return. Valid values: [1,100]. Default value:
|
7474
|
+
# The number of asynchronous tasks to return. Valid values: [1,100]. Default value: 20.
|
7293
7475
|
self.limit = limit
|
7294
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.
|
7295
7477
|
self.next_token = next_token
|
7296
7478
|
# The ID prefix of asynchronous tasks. If this parameter is specified, a list of asynchronous tasks whose IDs match the prefix is returned.
|
7297
7479
|
self.prefix = prefix
|
7298
|
-
# The
|
7480
|
+
# The version or alias of the function.
|
7299
7481
|
self.qualifier = qualifier
|
7300
7482
|
# The order in which the returned asynchronous tasks are sorted.
|
7301
7483
|
#
|
7302
7484
|
# * asc: in ascending order.
|
7303
7485
|
# * desc: in descending order.
|
7304
7486
|
self.sort_order_by_time = sort_order_by_time
|
7305
|
-
# The start time of the period
|
7487
|
+
# The start time of the period during which the asynchronous tasks are initiated.
|
7306
7488
|
self.started_time_begin = started_time_begin
|
7307
|
-
# The end time of the period
|
7489
|
+
# The end time of the period during which the asynchronous tasks are initiated.
|
7308
7490
|
self.started_time_end = started_time_end
|
7309
7491
|
# The state of asynchronous tasks. The following items list the states of an asynchronous task:
|
7310
7492
|
#
|
@@ -7664,10 +7846,13 @@ class ListFunctionVersionsResponse(TeaModel):
|
|
7664
7846
|
class ListFunctionsRequest(TeaModel):
|
7665
7847
|
def __init__(
|
7666
7848
|
self,
|
7849
|
+
fc_version: str = None,
|
7667
7850
|
limit: int = None,
|
7668
7851
|
next_token: str = None,
|
7669
7852
|
prefix: str = None,
|
7670
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.
|
7855
|
+
self.fc_version = fc_version
|
7671
7856
|
# The number of functions to return. The minimum value is 1 and the maximum value is 100.
|
7672
7857
|
self.limit = limit
|
7673
7858
|
# The pagination token.
|
@@ -7684,6 +7869,8 @@ class ListFunctionsRequest(TeaModel):
|
|
7684
7869
|
return _map
|
7685
7870
|
|
7686
7871
|
result = dict()
|
7872
|
+
if self.fc_version is not None:
|
7873
|
+
result['fcVersion'] = self.fc_version
|
7687
7874
|
if self.limit is not None:
|
7688
7875
|
result['limit'] = self.limit
|
7689
7876
|
if self.next_token is not None:
|
@@ -7694,6 +7881,8 @@ class ListFunctionsRequest(TeaModel):
|
|
7694
7881
|
|
7695
7882
|
def from_map(self, m: dict = None):
|
7696
7883
|
m = m or dict()
|
7884
|
+
if m.get('fcVersion') is not None:
|
7885
|
+
self.fc_version = m.get('fcVersion')
|
7697
7886
|
if m.get('limit') is not None:
|
7698
7887
|
self.limit = m.get('limit')
|
7699
7888
|
if m.get('nextToken') is not None:
|
@@ -8487,7 +8676,7 @@ class PutAsyncInvokeConfigRequest(TeaModel):
|
|
8487
8676
|
body: PutAsyncInvokeConfigInput = None,
|
8488
8677
|
qualifier: str = None,
|
8489
8678
|
):
|
8490
|
-
# The
|
8679
|
+
# The asynchronous invocation configurations.
|
8491
8680
|
#
|
8492
8681
|
# This parameter is required.
|
8493
8682
|
self.body = body
|
@@ -8640,8 +8829,9 @@ class PutLayerACLRequest(TeaModel):
|
|
8640
8829
|
acl: str = None,
|
8641
8830
|
public: str = None,
|
8642
8831
|
):
|
8832
|
+
# 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.
|
8643
8833
|
self.acl = acl
|
8644
|
-
#
|
8834
|
+
# Specify whether the layer is a public layer. Valid values: true and false.
|
8645
8835
|
self.public = public
|
8646
8836
|
|
8647
8837
|
def validate(self):
|
@@ -8786,7 +8976,7 @@ class StopAsyncTaskRequest(TeaModel):
|
|
8786
8976
|
self,
|
8787
8977
|
qualifier: str = None,
|
8788
8978
|
):
|
8789
|
-
# The
|
8979
|
+
# The version or alias of the function.
|
8790
8980
|
self.qualifier = qualifier
|
8791
8981
|
|
8792
8982
|
def validate(self):
|
{alibabacloud_fc20230330-4.1.2.dist-info → alibabacloud_fc20230330-4.1.4.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: alibabacloud-fc20230330
|
3
|
-
Version: 4.1.
|
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
|
@@ -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
|
-
|
24
|
-
Requires-Dist: alibabacloud-
|
25
|
-
Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
|
26
|
-
Requires-Dist: alibabacloud-
|
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.12)
|
27
|
+
Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
|
27
28
|
|
28
29
|
English | [简体中文](README-CN.md)
|
29
30
|

|
@@ -32,7 +33,7 @@ English | [简体中文](README-CN.md)
|
|
32
33
|
|
33
34
|
## Requirements
|
34
35
|
|
35
|
-
- Python >= 3.
|
36
|
+
- Python >= 3.7
|
36
37
|
|
37
38
|
## Installation
|
38
39
|
|
@@ -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=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=Q1kc4yZVJCde5u2k5QGBDcAyUKkNxEYKZUaMCnMKYIg,21
|
2
|
-
alibabacloud_fc20230330/client.py,sha256=nKYk4AqMunzCDME9p__X17GefH9Sy1I2Dpt0O5WGwK8,207793
|
3
|
-
alibabacloud_fc20230330/models.py,sha256=02zr6ypojScE3fwOskZtyWa3eMklrvuS-TN4ZMD9LaU,293288
|
4
|
-
alibabacloud_fc20230330-4.1.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
-
alibabacloud_fc20230330-4.1.2.dist-info/METADATA,sha256=klt2u7Tn1YSvfGs2kLjDiil2W6ue1qqdCmlNAZvb3hI,2291
|
6
|
-
alibabacloud_fc20230330-4.1.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
7
|
-
alibabacloud_fc20230330-4.1.2.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
-
alibabacloud_fc20230330-4.1.2.dist-info/RECORD,,
|
File without changes
|
{alibabacloud_fc20230330-4.1.2.dist-info → alibabacloud_fc20230330-4.1.4.dist-info}/top_level.txt
RENAMED
File without changes
|