alibabacloud-fc20230330 1.0.0__py3-none-any.whl → 3.0.0__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 +516 -230
- alibabacloud_fc20230330/models.py +393 -485
- {alibabacloud_fc20230330-1.0.0.dist-info → alibabacloud_fc20230330-3.0.0.dist-info}/METADATA +2 -2
- alibabacloud_fc20230330-3.0.0.dist-info/RECORD +8 -0
- alibabacloud_fc20230330-1.0.0.dist-info/RECORD +0 -8
- {alibabacloud_fc20230330-1.0.0.dist-info → alibabacloud_fc20230330-3.0.0.dist-info}/LICENSE +0 -0
- {alibabacloud_fc20230330-1.0.0.dist-info → alibabacloud_fc20230330-3.0.0.dist-info}/WHEEL +0 -0
- {alibabacloud_fc20230330-1.0.0.dist-info → alibabacloud_fc20230330-3.0.0.dist-info}/top_level.txt +0 -0
@@ -158,19 +158,17 @@ class AsyncConfig(TeaModel):
|
|
158
158
|
self,
|
159
159
|
created_time: str = None,
|
160
160
|
destination_config: DestinationConfig = None,
|
161
|
-
|
161
|
+
function_arn: str = None,
|
162
162
|
last_modified_time: str = None,
|
163
163
|
max_async_event_age_in_seconds: int = None,
|
164
164
|
max_async_retry_attempts: int = None,
|
165
|
-
qualifier: str = None,
|
166
165
|
):
|
167
166
|
self.created_time = created_time
|
168
167
|
self.destination_config = destination_config
|
169
|
-
self.
|
168
|
+
self.function_arn = function_arn
|
170
169
|
self.last_modified_time = last_modified_time
|
171
170
|
self.max_async_event_age_in_seconds = max_async_event_age_in_seconds
|
172
171
|
self.max_async_retry_attempts = max_async_retry_attempts
|
173
|
-
self.qualifier = qualifier
|
174
172
|
|
175
173
|
def validate(self):
|
176
174
|
if self.destination_config:
|
@@ -186,16 +184,14 @@ class AsyncConfig(TeaModel):
|
|
186
184
|
result['createdTime'] = self.created_time
|
187
185
|
if self.destination_config is not None:
|
188
186
|
result['destinationConfig'] = self.destination_config.to_map()
|
189
|
-
if self.
|
190
|
-
result['
|
187
|
+
if self.function_arn is not None:
|
188
|
+
result['functionArn'] = self.function_arn
|
191
189
|
if self.last_modified_time is not None:
|
192
190
|
result['lastModifiedTime'] = self.last_modified_time
|
193
191
|
if self.max_async_event_age_in_seconds is not None:
|
194
192
|
result['maxAsyncEventAgeInSeconds'] = self.max_async_event_age_in_seconds
|
195
193
|
if self.max_async_retry_attempts is not None:
|
196
194
|
result['maxAsyncRetryAttempts'] = self.max_async_retry_attempts
|
197
|
-
if self.qualifier is not None:
|
198
|
-
result['qualifier'] = self.qualifier
|
199
195
|
return result
|
200
196
|
|
201
197
|
def from_map(self, m: dict = None):
|
@@ -205,16 +201,47 @@ class AsyncConfig(TeaModel):
|
|
205
201
|
if m.get('destinationConfig') is not None:
|
206
202
|
temp_model = DestinationConfig()
|
207
203
|
self.destination_config = temp_model.from_map(m['destinationConfig'])
|
208
|
-
if m.get('
|
209
|
-
self.
|
204
|
+
if m.get('functionArn') is not None:
|
205
|
+
self.function_arn = m.get('functionArn')
|
210
206
|
if m.get('lastModifiedTime') is not None:
|
211
207
|
self.last_modified_time = m.get('lastModifiedTime')
|
212
208
|
if m.get('maxAsyncEventAgeInSeconds') is not None:
|
213
209
|
self.max_async_event_age_in_seconds = m.get('maxAsyncEventAgeInSeconds')
|
214
210
|
if m.get('maxAsyncRetryAttempts') is not None:
|
215
211
|
self.max_async_retry_attempts = m.get('maxAsyncRetryAttempts')
|
216
|
-
|
217
|
-
|
212
|
+
return self
|
213
|
+
|
214
|
+
|
215
|
+
class AuthConfig(TeaModel):
|
216
|
+
def __init__(
|
217
|
+
self,
|
218
|
+
auth_info: str = None,
|
219
|
+
auth_type: str = None,
|
220
|
+
):
|
221
|
+
self.auth_info = auth_info
|
222
|
+
self.auth_type = auth_type
|
223
|
+
|
224
|
+
def validate(self):
|
225
|
+
pass
|
226
|
+
|
227
|
+
def to_map(self):
|
228
|
+
_map = super().to_map()
|
229
|
+
if _map is not None:
|
230
|
+
return _map
|
231
|
+
|
232
|
+
result = dict()
|
233
|
+
if self.auth_info is not None:
|
234
|
+
result['authInfo'] = self.auth_info
|
235
|
+
if self.auth_type is not None:
|
236
|
+
result['authType'] = self.auth_type
|
237
|
+
return result
|
238
|
+
|
239
|
+
def from_map(self, m: dict = None):
|
240
|
+
m = m or dict()
|
241
|
+
if m.get('authInfo') is not None:
|
242
|
+
self.auth_info = m.get('authInfo')
|
243
|
+
if m.get('authType') is not None:
|
244
|
+
self.auth_type = m.get('authType')
|
218
245
|
return self
|
219
246
|
|
220
247
|
|
@@ -335,74 +362,6 @@ class CreateAliasInput(TeaModel):
|
|
335
362
|
return self
|
336
363
|
|
337
364
|
|
338
|
-
class RewriteRegexRule(TeaModel):
|
339
|
-
def __init__(
|
340
|
-
self,
|
341
|
-
regex_str: str = None,
|
342
|
-
replacement: str = None,
|
343
|
-
):
|
344
|
-
self.regex_str = regex_str
|
345
|
-
self.replacement = replacement
|
346
|
-
|
347
|
-
def validate(self):
|
348
|
-
pass
|
349
|
-
|
350
|
-
def to_map(self):
|
351
|
-
_map = super().to_map()
|
352
|
-
if _map is not None:
|
353
|
-
return _map
|
354
|
-
|
355
|
-
result = dict()
|
356
|
-
if self.regex_str is not None:
|
357
|
-
result['regexStr'] = self.regex_str
|
358
|
-
if self.replacement is not None:
|
359
|
-
result['replacement'] = self.replacement
|
360
|
-
return result
|
361
|
-
|
362
|
-
def from_map(self, m: dict = None):
|
363
|
-
m = m or dict()
|
364
|
-
if m.get('regexStr') is not None:
|
365
|
-
self.regex_str = m.get('regexStr')
|
366
|
-
if m.get('replacement') is not None:
|
367
|
-
self.replacement = m.get('replacement')
|
368
|
-
return self
|
369
|
-
|
370
|
-
|
371
|
-
class InnerRewriteConfig(TeaModel):
|
372
|
-
def __init__(
|
373
|
-
self,
|
374
|
-
regex_rules: List[RewriteRegexRule] = None,
|
375
|
-
):
|
376
|
-
self.regex_rules = regex_rules
|
377
|
-
|
378
|
-
def validate(self):
|
379
|
-
if self.regex_rules:
|
380
|
-
for k in self.regex_rules:
|
381
|
-
if k:
|
382
|
-
k.validate()
|
383
|
-
|
384
|
-
def to_map(self):
|
385
|
-
_map = super().to_map()
|
386
|
-
if _map is not None:
|
387
|
-
return _map
|
388
|
-
|
389
|
-
result = dict()
|
390
|
-
result['regexRules'] = []
|
391
|
-
if self.regex_rules is not None:
|
392
|
-
for k in self.regex_rules:
|
393
|
-
result['regexRules'].append(k.to_map() if k else None)
|
394
|
-
return result
|
395
|
-
|
396
|
-
def from_map(self, m: dict = None):
|
397
|
-
m = m or dict()
|
398
|
-
self.regex_rules = []
|
399
|
-
if m.get('regexRules') is not None:
|
400
|
-
for k in m.get('regexRules'):
|
401
|
-
temp_model = RewriteRegexRule()
|
402
|
-
self.regex_rules.append(temp_model.from_map(k))
|
403
|
-
return self
|
404
|
-
|
405
|
-
|
406
365
|
class EqualRule(TeaModel):
|
407
366
|
def __init__(
|
408
367
|
self,
|
@@ -570,27 +529,19 @@ class RewriteConfig(TeaModel):
|
|
570
529
|
class PathConfig(TeaModel):
|
571
530
|
def __init__(
|
572
531
|
self,
|
573
|
-
account_id: str = None,
|
574
532
|
function_name: str = None,
|
575
|
-
inner_rewrite_config: InnerRewriteConfig = None,
|
576
533
|
methods: List[str] = None,
|
577
534
|
path: str = None,
|
578
535
|
qualifier: str = None,
|
579
536
|
rewrite_config: RewriteConfig = None,
|
580
|
-
service_name: str = None,
|
581
537
|
):
|
582
|
-
self.account_id = account_id
|
583
538
|
self.function_name = function_name
|
584
|
-
self.inner_rewrite_config = inner_rewrite_config
|
585
539
|
self.methods = methods
|
586
540
|
self.path = path
|
587
541
|
self.qualifier = qualifier
|
588
542
|
self.rewrite_config = rewrite_config
|
589
|
-
self.service_name = service_name
|
590
543
|
|
591
544
|
def validate(self):
|
592
|
-
if self.inner_rewrite_config:
|
593
|
-
self.inner_rewrite_config.validate()
|
594
545
|
if self.rewrite_config:
|
595
546
|
self.rewrite_config.validate()
|
596
547
|
|
@@ -600,12 +551,8 @@ class PathConfig(TeaModel):
|
|
600
551
|
return _map
|
601
552
|
|
602
553
|
result = dict()
|
603
|
-
if self.account_id is not None:
|
604
|
-
result['accountId'] = self.account_id
|
605
554
|
if self.function_name is not None:
|
606
555
|
result['functionName'] = self.function_name
|
607
|
-
if self.inner_rewrite_config is not None:
|
608
|
-
result['innerRewriteConfig'] = self.inner_rewrite_config.to_map()
|
609
556
|
if self.methods is not None:
|
610
557
|
result['methods'] = self.methods
|
611
558
|
if self.path is not None:
|
@@ -614,19 +561,12 @@ class PathConfig(TeaModel):
|
|
614
561
|
result['qualifier'] = self.qualifier
|
615
562
|
if self.rewrite_config is not None:
|
616
563
|
result['rewriteConfig'] = self.rewrite_config.to_map()
|
617
|
-
if self.service_name is not None:
|
618
|
-
result['serviceName'] = self.service_name
|
619
564
|
return result
|
620
565
|
|
621
566
|
def from_map(self, m: dict = None):
|
622
567
|
m = m or dict()
|
623
|
-
if m.get('accountId') is not None:
|
624
|
-
self.account_id = m.get('accountId')
|
625
568
|
if m.get('functionName') is not None:
|
626
569
|
self.function_name = m.get('functionName')
|
627
|
-
if m.get('innerRewriteConfig') is not None:
|
628
|
-
temp_model = InnerRewriteConfig()
|
629
|
-
self.inner_rewrite_config = temp_model.from_map(m['innerRewriteConfig'])
|
630
570
|
if m.get('methods') is not None:
|
631
571
|
self.methods = m.get('methods')
|
632
572
|
if m.get('path') is not None:
|
@@ -636,8 +576,6 @@ class PathConfig(TeaModel):
|
|
636
576
|
if m.get('rewriteConfig') is not None:
|
637
577
|
temp_model = RewriteConfig()
|
638
578
|
self.rewrite_config = temp_model.from_map(m['rewriteConfig'])
|
639
|
-
if m.get('serviceName') is not None:
|
640
|
-
self.service_name = m.get('serviceName')
|
641
579
|
return self
|
642
580
|
|
643
581
|
|
@@ -745,6 +683,7 @@ class WAFConfig(TeaModel):
|
|
745
683
|
class CreateCustomDomainInput(TeaModel):
|
746
684
|
def __init__(
|
747
685
|
self,
|
686
|
+
auth_config: AuthConfig = None,
|
748
687
|
cert_config: CertConfig = None,
|
749
688
|
domain_name: str = None,
|
750
689
|
protocol: str = None,
|
@@ -752,6 +691,7 @@ class CreateCustomDomainInput(TeaModel):
|
|
752
691
|
tls_config: TLSConfig = None,
|
753
692
|
waf_config: WAFConfig = None,
|
754
693
|
):
|
694
|
+
self.auth_config = auth_config
|
755
695
|
self.cert_config = cert_config
|
756
696
|
self.domain_name = domain_name
|
757
697
|
self.protocol = protocol
|
@@ -760,6 +700,8 @@ class CreateCustomDomainInput(TeaModel):
|
|
760
700
|
self.waf_config = waf_config
|
761
701
|
|
762
702
|
def validate(self):
|
703
|
+
if self.auth_config:
|
704
|
+
self.auth_config.validate()
|
763
705
|
if self.cert_config:
|
764
706
|
self.cert_config.validate()
|
765
707
|
if self.route_config:
|
@@ -775,6 +717,8 @@ class CreateCustomDomainInput(TeaModel):
|
|
775
717
|
return _map
|
776
718
|
|
777
719
|
result = dict()
|
720
|
+
if self.auth_config is not None:
|
721
|
+
result['authConfig'] = self.auth_config.to_map()
|
778
722
|
if self.cert_config is not None:
|
779
723
|
result['certConfig'] = self.cert_config.to_map()
|
780
724
|
if self.domain_name is not None:
|
@@ -791,6 +735,9 @@ class CreateCustomDomainInput(TeaModel):
|
|
791
735
|
|
792
736
|
def from_map(self, m: dict = None):
|
793
737
|
m = m or dict()
|
738
|
+
if m.get('authConfig') is not None:
|
739
|
+
temp_model = AuthConfig()
|
740
|
+
self.auth_config = temp_model.from_map(m['authConfig'])
|
794
741
|
if m.get('certConfig') is not None:
|
795
742
|
temp_model = CertConfig()
|
796
743
|
self.cert_config = temp_model.from_map(m['certConfig'])
|
@@ -950,7 +897,7 @@ class CustomContainerConfig(TeaModel):
|
|
950
897
|
if self.acceleration_type is not None:
|
951
898
|
result['accelerationType'] = self.acceleration_type
|
952
899
|
if self.acr_instance_id is not None:
|
953
|
-
result['
|
900
|
+
result['acrInstanceId'] = self.acr_instance_id
|
954
901
|
if self.command is not None:
|
955
902
|
result['command'] = self.command
|
956
903
|
if self.entrypoint is not None:
|
@@ -970,8 +917,8 @@ class CustomContainerConfig(TeaModel):
|
|
970
917
|
self.acceleration_info = temp_model.from_map(m['accelerationInfo'])
|
971
918
|
if m.get('accelerationType') is not None:
|
972
919
|
self.acceleration_type = m.get('accelerationType')
|
973
|
-
if m.get('
|
974
|
-
self.acr_instance_id = m.get('
|
920
|
+
if m.get('acrInstanceId') is not None:
|
921
|
+
self.acr_instance_id = m.get('acrInstanceId')
|
975
922
|
if m.get('command') is not None:
|
976
923
|
self.command = m.get('command')
|
977
924
|
if m.get('entrypoint') is not None:
|
@@ -1473,33 +1420,6 @@ class TracingConfig(TeaModel):
|
|
1473
1420
|
return self
|
1474
1421
|
|
1475
1422
|
|
1476
|
-
class VPCBinding(TeaModel):
|
1477
|
-
def __init__(
|
1478
|
-
self,
|
1479
|
-
vpc_ids: List[str] = None,
|
1480
|
-
):
|
1481
|
-
self.vpc_ids = vpc_ids
|
1482
|
-
|
1483
|
-
def validate(self):
|
1484
|
-
pass
|
1485
|
-
|
1486
|
-
def to_map(self):
|
1487
|
-
_map = super().to_map()
|
1488
|
-
if _map is not None:
|
1489
|
-
return _map
|
1490
|
-
|
1491
|
-
result = dict()
|
1492
|
-
if self.vpc_ids is not None:
|
1493
|
-
result['vpcIds'] = self.vpc_ids
|
1494
|
-
return result
|
1495
|
-
|
1496
|
-
def from_map(self, m: dict = None):
|
1497
|
-
m = m or dict()
|
1498
|
-
if m.get('vpcIds') is not None:
|
1499
|
-
self.vpc_ids = m.get('vpcIds')
|
1500
|
-
return self
|
1501
|
-
|
1502
|
-
|
1503
1423
|
class VPCConfig(TeaModel):
|
1504
1424
|
def __init__(
|
1505
1425
|
self,
|
@@ -1565,7 +1485,6 @@ class CreateFunctionInput(TeaModel):
|
|
1565
1485
|
runtime: str = None,
|
1566
1486
|
timeout: int = None,
|
1567
1487
|
tracing_config: TracingConfig = None,
|
1568
|
-
vpc_binding: VPCBinding = None,
|
1569
1488
|
vpc_config: VPCConfig = None,
|
1570
1489
|
):
|
1571
1490
|
self.code = code
|
@@ -1591,7 +1510,6 @@ class CreateFunctionInput(TeaModel):
|
|
1591
1510
|
self.runtime = runtime
|
1592
1511
|
self.timeout = timeout
|
1593
1512
|
self.tracing_config = tracing_config
|
1594
|
-
self.vpc_binding = vpc_binding
|
1595
1513
|
self.vpc_config = vpc_config
|
1596
1514
|
|
1597
1515
|
def validate(self):
|
@@ -1615,8 +1533,6 @@ class CreateFunctionInput(TeaModel):
|
|
1615
1533
|
self.oss_mount_config.validate()
|
1616
1534
|
if self.tracing_config:
|
1617
1535
|
self.tracing_config.validate()
|
1618
|
-
if self.vpc_binding:
|
1619
|
-
self.vpc_binding.validate()
|
1620
1536
|
if self.vpc_config:
|
1621
1537
|
self.vpc_config.validate()
|
1622
1538
|
|
@@ -1672,8 +1588,6 @@ class CreateFunctionInput(TeaModel):
|
|
1672
1588
|
result['timeout'] = self.timeout
|
1673
1589
|
if self.tracing_config is not None:
|
1674
1590
|
result['tracingConfig'] = self.tracing_config.to_map()
|
1675
|
-
if self.vpc_binding is not None:
|
1676
|
-
result['vpcBinding'] = self.vpc_binding.to_map()
|
1677
1591
|
if self.vpc_config is not None:
|
1678
1592
|
result['vpcConfig'] = self.vpc_config.to_map()
|
1679
1593
|
return result
|
@@ -1736,9 +1650,6 @@ class CreateFunctionInput(TeaModel):
|
|
1736
1650
|
if m.get('tracingConfig') is not None:
|
1737
1651
|
temp_model = TracingConfig()
|
1738
1652
|
self.tracing_config = temp_model.from_map(m['tracingConfig'])
|
1739
|
-
if m.get('vpcBinding') is not None:
|
1740
|
-
temp_model = VPCBinding()
|
1741
|
-
self.vpc_binding = temp_model.from_map(m['vpcBinding'])
|
1742
1653
|
if m.get('vpcConfig') is not None:
|
1743
1654
|
temp_model = VPCConfig()
|
1744
1655
|
self.vpc_config = temp_model.from_map(m['vpcConfig'])
|
@@ -1855,11 +1766,39 @@ class CreateTriggerInput(TeaModel):
|
|
1855
1766
|
return self
|
1856
1767
|
|
1857
1768
|
|
1769
|
+
class CreateVpcBindingInput(TeaModel):
|
1770
|
+
def __init__(
|
1771
|
+
self,
|
1772
|
+
vpc_id: str = None,
|
1773
|
+
):
|
1774
|
+
self.vpc_id = vpc_id
|
1775
|
+
|
1776
|
+
def validate(self):
|
1777
|
+
pass
|
1778
|
+
|
1779
|
+
def to_map(self):
|
1780
|
+
_map = super().to_map()
|
1781
|
+
if _map is not None:
|
1782
|
+
return _map
|
1783
|
+
|
1784
|
+
result = dict()
|
1785
|
+
if self.vpc_id is not None:
|
1786
|
+
result['vpcId'] = self.vpc_id
|
1787
|
+
return result
|
1788
|
+
|
1789
|
+
def from_map(self, m: dict = None):
|
1790
|
+
m = m or dict()
|
1791
|
+
if m.get('vpcId') is not None:
|
1792
|
+
self.vpc_id = m.get('vpcId')
|
1793
|
+
return self
|
1794
|
+
|
1795
|
+
|
1858
1796
|
class CustomDomain(TeaModel):
|
1859
1797
|
def __init__(
|
1860
1798
|
self,
|
1861
1799
|
account_id: str = None,
|
1862
1800
|
api_version: str = None,
|
1801
|
+
auth_config: AuthConfig = None,
|
1863
1802
|
cert_config: CertConfig = None,
|
1864
1803
|
created_time: str = None,
|
1865
1804
|
domain_name: str = None,
|
@@ -1872,6 +1811,7 @@ class CustomDomain(TeaModel):
|
|
1872
1811
|
):
|
1873
1812
|
self.account_id = account_id
|
1874
1813
|
self.api_version = api_version
|
1814
|
+
self.auth_config = auth_config
|
1875
1815
|
self.cert_config = cert_config
|
1876
1816
|
self.created_time = created_time
|
1877
1817
|
self.domain_name = domain_name
|
@@ -1883,6 +1823,8 @@ class CustomDomain(TeaModel):
|
|
1883
1823
|
self.waf_config = waf_config
|
1884
1824
|
|
1885
1825
|
def validate(self):
|
1826
|
+
if self.auth_config:
|
1827
|
+
self.auth_config.validate()
|
1886
1828
|
if self.cert_config:
|
1887
1829
|
self.cert_config.validate()
|
1888
1830
|
if self.route_config:
|
@@ -1902,6 +1844,8 @@ class CustomDomain(TeaModel):
|
|
1902
1844
|
result['accountId'] = self.account_id
|
1903
1845
|
if self.api_version is not None:
|
1904
1846
|
result['apiVersion'] = self.api_version
|
1847
|
+
if self.auth_config is not None:
|
1848
|
+
result['authConfig'] = self.auth_config.to_map()
|
1905
1849
|
if self.cert_config is not None:
|
1906
1850
|
result['certConfig'] = self.cert_config.to_map()
|
1907
1851
|
if self.created_time is not None:
|
@@ -1928,6 +1872,9 @@ class CustomDomain(TeaModel):
|
|
1928
1872
|
self.account_id = m.get('accountId')
|
1929
1873
|
if m.get('apiVersion') is not None:
|
1930
1874
|
self.api_version = m.get('apiVersion')
|
1875
|
+
if m.get('authConfig') is not None:
|
1876
|
+
temp_model = AuthConfig()
|
1877
|
+
self.auth_config = temp_model.from_map(m['authConfig'])
|
1931
1878
|
if m.get('certConfig') is not None:
|
1932
1879
|
temp_model = CertConfig()
|
1933
1880
|
self.cert_config = temp_model.from_map(m['certConfig'])
|
@@ -1974,21 +1921,21 @@ class Error(TeaModel):
|
|
1974
1921
|
|
1975
1922
|
result = dict()
|
1976
1923
|
if self.code is not None:
|
1977
|
-
result['
|
1924
|
+
result['Code'] = self.code
|
1978
1925
|
if self.message is not None:
|
1979
|
-
result['
|
1926
|
+
result['Message'] = self.message
|
1980
1927
|
if self.request_id is not None:
|
1981
|
-
result['
|
1928
|
+
result['RequestId'] = self.request_id
|
1982
1929
|
return result
|
1983
1930
|
|
1984
1931
|
def from_map(self, m: dict = None):
|
1985
1932
|
m = m or dict()
|
1986
|
-
if m.get('
|
1987
|
-
self.code = m.get('
|
1988
|
-
if m.get('
|
1989
|
-
self.message = m.get('
|
1990
|
-
if m.get('
|
1991
|
-
self.request_id = m.get('
|
1933
|
+
if m.get('Code') is not None:
|
1934
|
+
self.code = m.get('Code')
|
1935
|
+
if m.get('Message') is not None:
|
1936
|
+
self.message = m.get('Message')
|
1937
|
+
if m.get('RequestId') is not None:
|
1938
|
+
self.request_id = m.get('RequestId')
|
1992
1939
|
return self
|
1993
1940
|
|
1994
1941
|
|
@@ -2056,7 +2003,6 @@ class Function(TeaModel):
|
|
2056
2003
|
runtime: str = None,
|
2057
2004
|
timeout: int = None,
|
2058
2005
|
tracing_config: TracingConfig = None,
|
2059
|
-
vpc_binding: VPCBinding = None,
|
2060
2006
|
vpc_config: VPCConfig = None,
|
2061
2007
|
):
|
2062
2008
|
self.code_checksum = code_checksum
|
@@ -2087,7 +2033,6 @@ class Function(TeaModel):
|
|
2087
2033
|
self.runtime = runtime
|
2088
2034
|
self.timeout = timeout
|
2089
2035
|
self.tracing_config = tracing_config
|
2090
|
-
self.vpc_binding = vpc_binding
|
2091
2036
|
self.vpc_config = vpc_config
|
2092
2037
|
|
2093
2038
|
def validate(self):
|
@@ -2113,8 +2058,6 @@ class Function(TeaModel):
|
|
2113
2058
|
self.oss_mount_config.validate()
|
2114
2059
|
if self.tracing_config:
|
2115
2060
|
self.tracing_config.validate()
|
2116
|
-
if self.vpc_binding:
|
2117
|
-
self.vpc_binding.validate()
|
2118
2061
|
if self.vpc_config:
|
2119
2062
|
self.vpc_config.validate()
|
2120
2063
|
|
@@ -2182,8 +2125,6 @@ class Function(TeaModel):
|
|
2182
2125
|
result['timeout'] = self.timeout
|
2183
2126
|
if self.tracing_config is not None:
|
2184
2127
|
result['tracingConfig'] = self.tracing_config.to_map()
|
2185
|
-
if self.vpc_binding is not None:
|
2186
|
-
result['vpcBinding'] = self.vpc_binding.to_map()
|
2187
2128
|
if self.vpc_config is not None:
|
2188
2129
|
result['vpcConfig'] = self.vpc_config.to_map()
|
2189
2130
|
return result
|
@@ -2258,9 +2199,6 @@ class Function(TeaModel):
|
|
2258
2199
|
if m.get('tracingConfig') is not None:
|
2259
2200
|
temp_model = TracingConfig()
|
2260
2201
|
self.tracing_config = temp_model.from_map(m['tracingConfig'])
|
2261
|
-
if m.get('vpcBinding') is not None:
|
2262
|
-
temp_model = VPCBinding()
|
2263
|
-
self.vpc_binding = temp_model.from_map(m['vpcBinding'])
|
2264
2202
|
if m.get('vpcConfig') is not None:
|
2265
2203
|
temp_model = VPCConfig()
|
2266
2204
|
self.vpc_config = temp_model.from_map(m['vpcConfig'])
|
@@ -2333,63 +2271,6 @@ class HTTPTrigger(TeaModel):
|
|
2333
2271
|
return self
|
2334
2272
|
|
2335
2273
|
|
2336
|
-
class HealthCheckConfig(TeaModel):
|
2337
|
-
def __init__(
|
2338
|
-
self,
|
2339
|
-
failure_threshold: int = None,
|
2340
|
-
http_get_url: str = None,
|
2341
|
-
initial_delay_seconds: int = None,
|
2342
|
-
period_seconds: int = None,
|
2343
|
-
success_threshold: int = None,
|
2344
|
-
timeout_seconds: int = None,
|
2345
|
-
):
|
2346
|
-
self.failure_threshold = failure_threshold
|
2347
|
-
self.http_get_url = http_get_url
|
2348
|
-
self.initial_delay_seconds = initial_delay_seconds
|
2349
|
-
self.period_seconds = period_seconds
|
2350
|
-
self.success_threshold = success_threshold
|
2351
|
-
self.timeout_seconds = timeout_seconds
|
2352
|
-
|
2353
|
-
def validate(self):
|
2354
|
-
pass
|
2355
|
-
|
2356
|
-
def to_map(self):
|
2357
|
-
_map = super().to_map()
|
2358
|
-
if _map is not None:
|
2359
|
-
return _map
|
2360
|
-
|
2361
|
-
result = dict()
|
2362
|
-
if self.failure_threshold is not None:
|
2363
|
-
result['failureThreshold'] = self.failure_threshold
|
2364
|
-
if self.http_get_url is not None:
|
2365
|
-
result['httpGetUrl'] = self.http_get_url
|
2366
|
-
if self.initial_delay_seconds is not None:
|
2367
|
-
result['initialDelaySeconds'] = self.initial_delay_seconds
|
2368
|
-
if self.period_seconds is not None:
|
2369
|
-
result['periodSeconds'] = self.period_seconds
|
2370
|
-
if self.success_threshold is not None:
|
2371
|
-
result['successThreshold'] = self.success_threshold
|
2372
|
-
if self.timeout_seconds is not None:
|
2373
|
-
result['timeoutSeconds'] = self.timeout_seconds
|
2374
|
-
return result
|
2375
|
-
|
2376
|
-
def from_map(self, m: dict = None):
|
2377
|
-
m = m or dict()
|
2378
|
-
if m.get('failureThreshold') is not None:
|
2379
|
-
self.failure_threshold = m.get('failureThreshold')
|
2380
|
-
if m.get('httpGetUrl') is not None:
|
2381
|
-
self.http_get_url = m.get('httpGetUrl')
|
2382
|
-
if m.get('initialDelaySeconds') is not None:
|
2383
|
-
self.initial_delay_seconds = m.get('initialDelaySeconds')
|
2384
|
-
if m.get('periodSeconds') is not None:
|
2385
|
-
self.period_seconds = m.get('periodSeconds')
|
2386
|
-
if m.get('successThreshold') is not None:
|
2387
|
-
self.success_threshold = m.get('successThreshold')
|
2388
|
-
if m.get('timeoutSeconds') is not None:
|
2389
|
-
self.timeout_seconds = m.get('timeoutSeconds')
|
2390
|
-
return self
|
2391
|
-
|
2392
|
-
|
2393
2274
|
class InstanceInfo(TeaModel):
|
2394
2275
|
def __init__(
|
2395
2276
|
self,
|
@@ -3323,13 +3204,11 @@ class Version(TeaModel):
|
|
3323
3204
|
self,
|
3324
3205
|
created_time: str = None,
|
3325
3206
|
description: str = None,
|
3326
|
-
function_version_arn: str = None,
|
3327
3207
|
last_modified_time: str = None,
|
3328
3208
|
version_id: str = None,
|
3329
3209
|
):
|
3330
3210
|
self.created_time = created_time
|
3331
3211
|
self.description = description
|
3332
|
-
self.function_version_arn = function_version_arn
|
3333
3212
|
self.last_modified_time = last_modified_time
|
3334
3213
|
self.version_id = version_id
|
3335
3214
|
|
@@ -3346,8 +3225,6 @@ class Version(TeaModel):
|
|
3346
3225
|
result['createdTime'] = self.created_time
|
3347
3226
|
if self.description is not None:
|
3348
3227
|
result['description'] = self.description
|
3349
|
-
if self.function_version_arn is not None:
|
3350
|
-
result['functionVersionArn'] = self.function_version_arn
|
3351
3228
|
if self.last_modified_time is not None:
|
3352
3229
|
result['lastModifiedTime'] = self.last_modified_time
|
3353
3230
|
if self.version_id is not None:
|
@@ -3360,8 +3237,6 @@ class Version(TeaModel):
|
|
3360
3237
|
self.created_time = m.get('createdTime')
|
3361
3238
|
if m.get('description') is not None:
|
3362
3239
|
self.description = m.get('description')
|
3363
|
-
if m.get('functionVersionArn') is not None:
|
3364
|
-
self.function_version_arn = m.get('functionVersionArn')
|
3365
3240
|
if m.get('lastModifiedTime') is not None:
|
3366
3241
|
self.last_modified_time = m.get('lastModifiedTime')
|
3367
3242
|
if m.get('versionId') is not None:
|
@@ -3416,14 +3291,12 @@ class ListVersionsOutput(TeaModel):
|
|
3416
3291
|
return self
|
3417
3292
|
|
3418
3293
|
|
3419
|
-
class
|
3294
|
+
class ListVpcBindingsOutput(TeaModel):
|
3420
3295
|
def __init__(
|
3421
3296
|
self,
|
3422
|
-
|
3423
|
-
url: str = None,
|
3297
|
+
vpc_ids: List[str] = None,
|
3424
3298
|
):
|
3425
|
-
self.
|
3426
|
-
self.url = url
|
3299
|
+
self.vpc_ids = vpc_ids
|
3427
3300
|
|
3428
3301
|
def validate(self):
|
3429
3302
|
pass
|
@@ -3434,33 +3307,25 @@ class OutputFuncCode(TeaModel):
|
|
3434
3307
|
return _map
|
3435
3308
|
|
3436
3309
|
result = dict()
|
3437
|
-
if self.
|
3438
|
-
result['
|
3439
|
-
if self.url is not None:
|
3440
|
-
result['url'] = self.url
|
3310
|
+
if self.vpc_ids is not None:
|
3311
|
+
result['vpcIds'] = self.vpc_ids
|
3441
3312
|
return result
|
3442
3313
|
|
3443
3314
|
def from_map(self, m: dict = None):
|
3444
3315
|
m = m or dict()
|
3445
|
-
if m.get('
|
3446
|
-
self.
|
3447
|
-
if m.get('url') is not None:
|
3448
|
-
self.url = m.get('url')
|
3316
|
+
if m.get('vpcIds') is not None:
|
3317
|
+
self.vpc_ids = m.get('vpcIds')
|
3449
3318
|
return self
|
3450
3319
|
|
3451
3320
|
|
3452
|
-
class
|
3321
|
+
class OutputFuncCode(TeaModel):
|
3453
3322
|
def __init__(
|
3454
3323
|
self,
|
3455
|
-
|
3456
|
-
|
3457
|
-
type: str = None,
|
3458
|
-
value: str = None,
|
3324
|
+
checksum: str = None,
|
3325
|
+
url: str = None,
|
3459
3326
|
):
|
3460
|
-
self.
|
3461
|
-
self.
|
3462
|
-
self.type = type
|
3463
|
-
self.value = value
|
3327
|
+
self.checksum = checksum
|
3328
|
+
self.url = url
|
3464
3329
|
|
3465
3330
|
def validate(self):
|
3466
3331
|
pass
|
@@ -3471,26 +3336,18 @@ class PolicyItem(TeaModel):
|
|
3471
3336
|
return _map
|
3472
3337
|
|
3473
3338
|
result = dict()
|
3474
|
-
if self.
|
3475
|
-
result['
|
3476
|
-
if self.
|
3477
|
-
result['
|
3478
|
-
if self.type is not None:
|
3479
|
-
result['type'] = self.type
|
3480
|
-
if self.value is not None:
|
3481
|
-
result['value'] = self.value
|
3339
|
+
if self.checksum is not None:
|
3340
|
+
result['checksum'] = self.checksum
|
3341
|
+
if self.url is not None:
|
3342
|
+
result['url'] = self.url
|
3482
3343
|
return result
|
3483
3344
|
|
3484
3345
|
def from_map(self, m: dict = None):
|
3485
3346
|
m = m or dict()
|
3486
|
-
if m.get('
|
3487
|
-
self.
|
3488
|
-
if m.get('
|
3489
|
-
self.
|
3490
|
-
if m.get('type') is not None:
|
3491
|
-
self.type = m.get('type')
|
3492
|
-
if m.get('value') is not None:
|
3493
|
-
self.value = m.get('value')
|
3347
|
+
if m.get('checksum') is not None:
|
3348
|
+
self.checksum = m.get('checksum')
|
3349
|
+
if m.get('url') is not None:
|
3350
|
+
self.url = m.get('url')
|
3494
3351
|
return self
|
3495
3352
|
|
3496
3353
|
|
@@ -3641,87 +3498,13 @@ class PutProvisionConfigInput(TeaModel):
|
|
3641
3498
|
for k in m.get('scheduledActions'):
|
3642
3499
|
temp_model = ScheduledAction()
|
3643
3500
|
self.scheduled_actions.append(temp_model.from_map(k))
|
3644
|
-
if m.get('target') is not None:
|
3645
|
-
self.target = m.get('target')
|
3646
|
-
self.target_tracking_policies = []
|
3647
|
-
if m.get('targetTrackingPolicies') is not None:
|
3648
|
-
for k in m.get('targetTrackingPolicies'):
|
3649
|
-
temp_model = TargetTrackingPolicy()
|
3650
|
-
self.target_tracking_policies.append(temp_model.from_map(k))
|
3651
|
-
return self
|
3652
|
-
|
3653
|
-
|
3654
|
-
class RoutePolicy(TeaModel):
|
3655
|
-
def __init__(
|
3656
|
-
self,
|
3657
|
-
condition: str = None,
|
3658
|
-
policy_items: List[PolicyItem] = None,
|
3659
|
-
):
|
3660
|
-
self.condition = condition
|
3661
|
-
self.policy_items = policy_items
|
3662
|
-
|
3663
|
-
def validate(self):
|
3664
|
-
if self.policy_items:
|
3665
|
-
for k in self.policy_items:
|
3666
|
-
if k:
|
3667
|
-
k.validate()
|
3668
|
-
|
3669
|
-
def to_map(self):
|
3670
|
-
_map = super().to_map()
|
3671
|
-
if _map is not None:
|
3672
|
-
return _map
|
3673
|
-
|
3674
|
-
result = dict()
|
3675
|
-
if self.condition is not None:
|
3676
|
-
result['condition'] = self.condition
|
3677
|
-
result['policyItems'] = []
|
3678
|
-
if self.policy_items is not None:
|
3679
|
-
for k in self.policy_items:
|
3680
|
-
result['policyItems'].append(k.to_map() if k else None)
|
3681
|
-
return result
|
3682
|
-
|
3683
|
-
def from_map(self, m: dict = None):
|
3684
|
-
m = m or dict()
|
3685
|
-
if m.get('condition') is not None:
|
3686
|
-
self.condition = m.get('condition')
|
3687
|
-
self.policy_items = []
|
3688
|
-
if m.get('policyItems') is not None:
|
3689
|
-
for k in m.get('policyItems'):
|
3690
|
-
temp_model = PolicyItem()
|
3691
|
-
self.policy_items.append(temp_model.from_map(k))
|
3692
|
-
return self
|
3693
|
-
|
3694
|
-
|
3695
|
-
class Tag(TeaModel):
|
3696
|
-
def __init__(
|
3697
|
-
self,
|
3698
|
-
key: str = None,
|
3699
|
-
value: str = None,
|
3700
|
-
):
|
3701
|
-
self.key = key
|
3702
|
-
self.value = value
|
3703
|
-
|
3704
|
-
def validate(self):
|
3705
|
-
pass
|
3706
|
-
|
3707
|
-
def to_map(self):
|
3708
|
-
_map = super().to_map()
|
3709
|
-
if _map is not None:
|
3710
|
-
return _map
|
3711
|
-
|
3712
|
-
result = dict()
|
3713
|
-
if self.key is not None:
|
3714
|
-
result['key'] = self.key
|
3715
|
-
if self.value is not None:
|
3716
|
-
result['value'] = self.value
|
3717
|
-
return result
|
3718
|
-
|
3719
|
-
def from_map(self, m: dict = None):
|
3720
|
-
m = m or dict()
|
3721
|
-
if m.get('key') is not None:
|
3722
|
-
self.key = m.get('key')
|
3723
|
-
if m.get('value') is not None:
|
3724
|
-
self.value = m.get('value')
|
3501
|
+
if m.get('target') is not None:
|
3502
|
+
self.target = m.get('target')
|
3503
|
+
self.target_tracking_policies = []
|
3504
|
+
if m.get('targetTrackingPolicies') is not None:
|
3505
|
+
for k in m.get('targetTrackingPolicies'):
|
3506
|
+
temp_model = TargetTrackingPolicy()
|
3507
|
+
self.target_tracking_policies.append(temp_model.from_map(k))
|
3725
3508
|
return self
|
3726
3509
|
|
3727
3510
|
|
@@ -3729,11 +3512,9 @@ class TagResourceInput(TeaModel):
|
|
3729
3512
|
def __init__(
|
3730
3513
|
self,
|
3731
3514
|
resource_arn: str = None,
|
3732
|
-
resource_type: str = None,
|
3733
3515
|
tags: Dict[str, str] = None,
|
3734
3516
|
):
|
3735
3517
|
self.resource_arn = resource_arn
|
3736
|
-
self.resource_type = resource_type
|
3737
3518
|
self.tags = tags
|
3738
3519
|
|
3739
3520
|
def validate(self):
|
@@ -3747,8 +3528,6 @@ class TagResourceInput(TeaModel):
|
|
3747
3528
|
result = dict()
|
3748
3529
|
if self.resource_arn is not None:
|
3749
3530
|
result['resourceArn'] = self.resource_arn
|
3750
|
-
if self.resource_type is not None:
|
3751
|
-
result['resourceType'] = self.resource_type
|
3752
3531
|
if self.tags is not None:
|
3753
3532
|
result['tags'] = self.tags
|
3754
3533
|
return result
|
@@ -3757,8 +3536,6 @@ class TagResourceInput(TeaModel):
|
|
3757
3536
|
m = m or dict()
|
3758
3537
|
if m.get('resourceArn') is not None:
|
3759
3538
|
self.resource_arn = m.get('resourceArn')
|
3760
|
-
if m.get('resourceType') is not None:
|
3761
|
-
self.resource_type = m.get('resourceType')
|
3762
3539
|
if m.get('tags') is not None:
|
3763
3540
|
self.tags = m.get('tags')
|
3764
3541
|
return self
|
@@ -3806,12 +3583,14 @@ class UpdateAliasInput(TeaModel):
|
|
3806
3583
|
class UpdateCustomDomainInput(TeaModel):
|
3807
3584
|
def __init__(
|
3808
3585
|
self,
|
3586
|
+
auth_config: AuthConfig = None,
|
3809
3587
|
cert_config: CertConfig = None,
|
3810
3588
|
protocol: str = None,
|
3811
3589
|
route_config: RouteConfig = None,
|
3812
3590
|
tls_config: TLSConfig = None,
|
3813
3591
|
waf_config: WAFConfig = None,
|
3814
3592
|
):
|
3593
|
+
self.auth_config = auth_config
|
3815
3594
|
self.cert_config = cert_config
|
3816
3595
|
self.protocol = protocol
|
3817
3596
|
self.route_config = route_config
|
@@ -3819,6 +3598,8 @@ class UpdateCustomDomainInput(TeaModel):
|
|
3819
3598
|
self.waf_config = waf_config
|
3820
3599
|
|
3821
3600
|
def validate(self):
|
3601
|
+
if self.auth_config:
|
3602
|
+
self.auth_config.validate()
|
3822
3603
|
if self.cert_config:
|
3823
3604
|
self.cert_config.validate()
|
3824
3605
|
if self.route_config:
|
@@ -3834,6 +3615,8 @@ class UpdateCustomDomainInput(TeaModel):
|
|
3834
3615
|
return _map
|
3835
3616
|
|
3836
3617
|
result = dict()
|
3618
|
+
if self.auth_config is not None:
|
3619
|
+
result['authConfig'] = self.auth_config.to_map()
|
3837
3620
|
if self.cert_config is not None:
|
3838
3621
|
result['certConfig'] = self.cert_config.to_map()
|
3839
3622
|
if self.protocol is not None:
|
@@ -3848,6 +3631,9 @@ class UpdateCustomDomainInput(TeaModel):
|
|
3848
3631
|
|
3849
3632
|
def from_map(self, m: dict = None):
|
3850
3633
|
m = m or dict()
|
3634
|
+
if m.get('authConfig') is not None:
|
3635
|
+
temp_model = AuthConfig()
|
3636
|
+
self.auth_config = temp_model.from_map(m['authConfig'])
|
3851
3637
|
if m.get('certConfig') is not None:
|
3852
3638
|
temp_model = CertConfig()
|
3853
3639
|
self.cert_config = temp_model.from_map(m['certConfig'])
|
@@ -3890,7 +3676,6 @@ class UpdateFunctionInput(TeaModel):
|
|
3890
3676
|
runtime: str = None,
|
3891
3677
|
timeout: int = None,
|
3892
3678
|
tracing_config: TracingConfig = None,
|
3893
|
-
vpc_binding: VPCBinding = None,
|
3894
3679
|
vpc_config: VPCConfig = None,
|
3895
3680
|
):
|
3896
3681
|
self.code = code
|
@@ -3915,7 +3700,6 @@ class UpdateFunctionInput(TeaModel):
|
|
3915
3700
|
self.runtime = runtime
|
3916
3701
|
self.timeout = timeout
|
3917
3702
|
self.tracing_config = tracing_config
|
3918
|
-
self.vpc_binding = vpc_binding
|
3919
3703
|
self.vpc_config = vpc_config
|
3920
3704
|
|
3921
3705
|
def validate(self):
|
@@ -3939,8 +3723,6 @@ class UpdateFunctionInput(TeaModel):
|
|
3939
3723
|
self.oss_mount_config.validate()
|
3940
3724
|
if self.tracing_config:
|
3941
3725
|
self.tracing_config.validate()
|
3942
|
-
if self.vpc_binding:
|
3943
|
-
self.vpc_binding.validate()
|
3944
3726
|
if self.vpc_config:
|
3945
3727
|
self.vpc_config.validate()
|
3946
3728
|
|
@@ -3994,8 +3776,6 @@ class UpdateFunctionInput(TeaModel):
|
|
3994
3776
|
result['timeout'] = self.timeout
|
3995
3777
|
if self.tracing_config is not None:
|
3996
3778
|
result['tracingConfig'] = self.tracing_config.to_map()
|
3997
|
-
if self.vpc_binding is not None:
|
3998
|
-
result['vpcBinding'] = self.vpc_binding.to_map()
|
3999
3779
|
if self.vpc_config is not None:
|
4000
3780
|
result['vpcConfig'] = self.vpc_config.to_map()
|
4001
3781
|
return result
|
@@ -4056,9 +3836,6 @@ class UpdateFunctionInput(TeaModel):
|
|
4056
3836
|
if m.get('tracingConfig') is not None:
|
4057
3837
|
temp_model = TracingConfig()
|
4058
3838
|
self.tracing_config = temp_model.from_map(m['tracingConfig'])
|
4059
|
-
if m.get('vpcBinding') is not None:
|
4060
|
-
temp_model = VPCBinding()
|
4061
|
-
self.vpc_binding = temp_model.from_map(m['vpcBinding'])
|
4062
3839
|
if m.get('vpcConfig') is not None:
|
4063
3840
|
temp_model = VPCConfig()
|
4064
3841
|
self.vpc_config = temp_model.from_map(m['vpcConfig'])
|
@@ -4113,13 +3890,13 @@ class UpdateTriggerInput(TeaModel):
|
|
4113
3890
|
class CreateAliasRequest(TeaModel):
|
4114
3891
|
def __init__(
|
4115
3892
|
self,
|
4116
|
-
|
3893
|
+
body: CreateAliasInput = None,
|
4117
3894
|
):
|
4118
|
-
self.
|
3895
|
+
self.body = body
|
4119
3896
|
|
4120
3897
|
def validate(self):
|
4121
|
-
if self.
|
4122
|
-
self.
|
3898
|
+
if self.body:
|
3899
|
+
self.body.validate()
|
4123
3900
|
|
4124
3901
|
def to_map(self):
|
4125
3902
|
_map = super().to_map()
|
@@ -4127,15 +3904,15 @@ class CreateAliasRequest(TeaModel):
|
|
4127
3904
|
return _map
|
4128
3905
|
|
4129
3906
|
result = dict()
|
4130
|
-
if self.
|
4131
|
-
result['
|
3907
|
+
if self.body is not None:
|
3908
|
+
result['body'] = self.body.to_map()
|
4132
3909
|
return result
|
4133
3910
|
|
4134
3911
|
def from_map(self, m: dict = None):
|
4135
3912
|
m = m or dict()
|
4136
|
-
if m.get('
|
3913
|
+
if m.get('body') is not None:
|
4137
3914
|
temp_model = CreateAliasInput()
|
4138
|
-
self.
|
3915
|
+
self.body = temp_model.from_map(m['body'])
|
4139
3916
|
return self
|
4140
3917
|
|
4141
3918
|
|
@@ -4186,13 +3963,13 @@ class CreateAliasResponse(TeaModel):
|
|
4186
3963
|
class CreateCustomDomainRequest(TeaModel):
|
4187
3964
|
def __init__(
|
4188
3965
|
self,
|
4189
|
-
|
3966
|
+
body: CreateCustomDomainInput = None,
|
4190
3967
|
):
|
4191
|
-
self.
|
3968
|
+
self.body = body
|
4192
3969
|
|
4193
3970
|
def validate(self):
|
4194
|
-
if self.
|
4195
|
-
self.
|
3971
|
+
if self.body:
|
3972
|
+
self.body.validate()
|
4196
3973
|
|
4197
3974
|
def to_map(self):
|
4198
3975
|
_map = super().to_map()
|
@@ -4200,15 +3977,15 @@ class CreateCustomDomainRequest(TeaModel):
|
|
4200
3977
|
return _map
|
4201
3978
|
|
4202
3979
|
result = dict()
|
4203
|
-
if self.
|
4204
|
-
result['
|
3980
|
+
if self.body is not None:
|
3981
|
+
result['body'] = self.body.to_map()
|
4205
3982
|
return result
|
4206
3983
|
|
4207
3984
|
def from_map(self, m: dict = None):
|
4208
3985
|
m = m or dict()
|
4209
|
-
if m.get('
|
3986
|
+
if m.get('body') is not None:
|
4210
3987
|
temp_model = CreateCustomDomainInput()
|
4211
|
-
self.
|
3988
|
+
self.body = temp_model.from_map(m['body'])
|
4212
3989
|
return self
|
4213
3990
|
|
4214
3991
|
|
@@ -4259,13 +4036,13 @@ class CreateCustomDomainResponse(TeaModel):
|
|
4259
4036
|
class CreateFunctionRequest(TeaModel):
|
4260
4037
|
def __init__(
|
4261
4038
|
self,
|
4262
|
-
|
4039
|
+
body: CreateFunctionInput = None,
|
4263
4040
|
):
|
4264
|
-
self.
|
4041
|
+
self.body = body
|
4265
4042
|
|
4266
4043
|
def validate(self):
|
4267
|
-
if self.
|
4268
|
-
self.
|
4044
|
+
if self.body:
|
4045
|
+
self.body.validate()
|
4269
4046
|
|
4270
4047
|
def to_map(self):
|
4271
4048
|
_map = super().to_map()
|
@@ -4273,15 +4050,15 @@ class CreateFunctionRequest(TeaModel):
|
|
4273
4050
|
return _map
|
4274
4051
|
|
4275
4052
|
result = dict()
|
4276
|
-
if self.
|
4277
|
-
result['
|
4053
|
+
if self.body is not None:
|
4054
|
+
result['body'] = self.body.to_map()
|
4278
4055
|
return result
|
4279
4056
|
|
4280
4057
|
def from_map(self, m: dict = None):
|
4281
4058
|
m = m or dict()
|
4282
|
-
if m.get('
|
4059
|
+
if m.get('body') is not None:
|
4283
4060
|
temp_model = CreateFunctionInput()
|
4284
|
-
self.
|
4061
|
+
self.body = temp_model.from_map(m['body'])
|
4285
4062
|
return self
|
4286
4063
|
|
4287
4064
|
|
@@ -4332,13 +4109,13 @@ class CreateFunctionResponse(TeaModel):
|
|
4332
4109
|
class CreateLayerVersionRequest(TeaModel):
|
4333
4110
|
def __init__(
|
4334
4111
|
self,
|
4335
|
-
|
4112
|
+
body: CreateLayerVersionInput = None,
|
4336
4113
|
):
|
4337
|
-
self.
|
4114
|
+
self.body = body
|
4338
4115
|
|
4339
4116
|
def validate(self):
|
4340
|
-
if self.
|
4341
|
-
self.
|
4117
|
+
if self.body:
|
4118
|
+
self.body.validate()
|
4342
4119
|
|
4343
4120
|
def to_map(self):
|
4344
4121
|
_map = super().to_map()
|
@@ -4346,15 +4123,15 @@ class CreateLayerVersionRequest(TeaModel):
|
|
4346
4123
|
return _map
|
4347
4124
|
|
4348
4125
|
result = dict()
|
4349
|
-
if self.
|
4350
|
-
result['
|
4126
|
+
if self.body is not None:
|
4127
|
+
result['body'] = self.body.to_map()
|
4351
4128
|
return result
|
4352
4129
|
|
4353
4130
|
def from_map(self, m: dict = None):
|
4354
4131
|
m = m or dict()
|
4355
|
-
if m.get('
|
4132
|
+
if m.get('body') is not None:
|
4356
4133
|
temp_model = CreateLayerVersionInput()
|
4357
|
-
self.
|
4134
|
+
self.body = temp_model.from_map(m['body'])
|
4358
4135
|
return self
|
4359
4136
|
|
4360
4137
|
|
@@ -4405,13 +4182,13 @@ class CreateLayerVersionResponse(TeaModel):
|
|
4405
4182
|
class CreateTriggerRequest(TeaModel):
|
4406
4183
|
def __init__(
|
4407
4184
|
self,
|
4408
|
-
|
4185
|
+
body: CreateTriggerInput = None,
|
4409
4186
|
):
|
4410
|
-
self.
|
4187
|
+
self.body = body
|
4411
4188
|
|
4412
4189
|
def validate(self):
|
4413
|
-
if self.
|
4414
|
-
self.
|
4190
|
+
if self.body:
|
4191
|
+
self.body.validate()
|
4415
4192
|
|
4416
4193
|
def to_map(self):
|
4417
4194
|
_map = super().to_map()
|
@@ -4419,15 +4196,15 @@ class CreateTriggerRequest(TeaModel):
|
|
4419
4196
|
return _map
|
4420
4197
|
|
4421
4198
|
result = dict()
|
4422
|
-
if self.
|
4423
|
-
result['
|
4199
|
+
if self.body is not None:
|
4200
|
+
result['body'] = self.body.to_map()
|
4424
4201
|
return result
|
4425
4202
|
|
4426
4203
|
def from_map(self, m: dict = None):
|
4427
4204
|
m = m or dict()
|
4428
|
-
if m.get('
|
4205
|
+
if m.get('body') is not None:
|
4429
4206
|
temp_model = CreateTriggerInput()
|
4430
|
-
self.
|
4207
|
+
self.body = temp_model.from_map(m['body'])
|
4431
4208
|
return self
|
4432
4209
|
|
4433
4210
|
|
@@ -4475,6 +4252,69 @@ class CreateTriggerResponse(TeaModel):
|
|
4475
4252
|
return self
|
4476
4253
|
|
4477
4254
|
|
4255
|
+
class CreateVpcBindingRequest(TeaModel):
|
4256
|
+
def __init__(
|
4257
|
+
self,
|
4258
|
+
body: CreateVpcBindingInput = None,
|
4259
|
+
):
|
4260
|
+
self.body = body
|
4261
|
+
|
4262
|
+
def validate(self):
|
4263
|
+
if self.body:
|
4264
|
+
self.body.validate()
|
4265
|
+
|
4266
|
+
def to_map(self):
|
4267
|
+
_map = super().to_map()
|
4268
|
+
if _map is not None:
|
4269
|
+
return _map
|
4270
|
+
|
4271
|
+
result = dict()
|
4272
|
+
if self.body is not None:
|
4273
|
+
result['body'] = self.body.to_map()
|
4274
|
+
return result
|
4275
|
+
|
4276
|
+
def from_map(self, m: dict = None):
|
4277
|
+
m = m or dict()
|
4278
|
+
if m.get('body') is not None:
|
4279
|
+
temp_model = CreateVpcBindingInput()
|
4280
|
+
self.body = temp_model.from_map(m['body'])
|
4281
|
+
return self
|
4282
|
+
|
4283
|
+
|
4284
|
+
class CreateVpcBindingResponse(TeaModel):
|
4285
|
+
def __init__(
|
4286
|
+
self,
|
4287
|
+
headers: Dict[str, str] = None,
|
4288
|
+
status_code: int = None,
|
4289
|
+
):
|
4290
|
+
self.headers = headers
|
4291
|
+
self.status_code = status_code
|
4292
|
+
|
4293
|
+
def validate(self):
|
4294
|
+
self.validate_required(self.headers, 'headers')
|
4295
|
+
self.validate_required(self.status_code, 'status_code')
|
4296
|
+
|
4297
|
+
def to_map(self):
|
4298
|
+
_map = super().to_map()
|
4299
|
+
if _map is not None:
|
4300
|
+
return _map
|
4301
|
+
|
4302
|
+
result = dict()
|
4303
|
+
if self.headers is not None:
|
4304
|
+
result['headers'] = self.headers
|
4305
|
+
if self.status_code is not None:
|
4306
|
+
result['statusCode'] = self.status_code
|
4307
|
+
return result
|
4308
|
+
|
4309
|
+
def from_map(self, m: dict = None):
|
4310
|
+
m = m or dict()
|
4311
|
+
if m.get('headers') is not None:
|
4312
|
+
self.headers = m.get('headers')
|
4313
|
+
if m.get('statusCode') is not None:
|
4314
|
+
self.status_code = m.get('statusCode')
|
4315
|
+
return self
|
4316
|
+
|
4317
|
+
|
4478
4318
|
class DeleteAliasResponse(TeaModel):
|
4479
4319
|
def __init__(
|
4480
4320
|
self,
|
@@ -4835,6 +4675,40 @@ class DeleteTriggerResponse(TeaModel):
|
|
4835
4675
|
return self
|
4836
4676
|
|
4837
4677
|
|
4678
|
+
class DeleteVpcBindingResponse(TeaModel):
|
4679
|
+
def __init__(
|
4680
|
+
self,
|
4681
|
+
headers: Dict[str, str] = None,
|
4682
|
+
status_code: int = None,
|
4683
|
+
):
|
4684
|
+
self.headers = headers
|
4685
|
+
self.status_code = status_code
|
4686
|
+
|
4687
|
+
def validate(self):
|
4688
|
+
self.validate_required(self.headers, 'headers')
|
4689
|
+
self.validate_required(self.status_code, 'status_code')
|
4690
|
+
|
4691
|
+
def to_map(self):
|
4692
|
+
_map = super().to_map()
|
4693
|
+
if _map is not None:
|
4694
|
+
return _map
|
4695
|
+
|
4696
|
+
result = dict()
|
4697
|
+
if self.headers is not None:
|
4698
|
+
result['headers'] = self.headers
|
4699
|
+
if self.status_code is not None:
|
4700
|
+
result['statusCode'] = self.status_code
|
4701
|
+
return result
|
4702
|
+
|
4703
|
+
def from_map(self, m: dict = None):
|
4704
|
+
m = m or dict()
|
4705
|
+
if m.get('headers') is not None:
|
4706
|
+
self.headers = m.get('headers')
|
4707
|
+
if m.get('statusCode') is not None:
|
4708
|
+
self.status_code = m.get('statusCode')
|
4709
|
+
return self
|
4710
|
+
|
4711
|
+
|
4838
4712
|
class GetAliasResponse(TeaModel):
|
4839
4713
|
def __init__(
|
4840
4714
|
self,
|
@@ -5496,11 +5370,11 @@ class InvokeFunctionHeaders(TeaModel):
|
|
5496
5370
|
class InvokeFunctionRequest(TeaModel):
|
5497
5371
|
def __init__(
|
5498
5372
|
self,
|
5373
|
+
body: BinaryIO = None,
|
5499
5374
|
qualifier: str = None,
|
5500
|
-
request: BinaryIO = None,
|
5501
5375
|
):
|
5376
|
+
self.body = body
|
5502
5377
|
self.qualifier = qualifier
|
5503
|
-
self.request = request
|
5504
5378
|
|
5505
5379
|
def validate(self):
|
5506
5380
|
pass
|
@@ -5511,18 +5385,18 @@ class InvokeFunctionRequest(TeaModel):
|
|
5511
5385
|
return _map
|
5512
5386
|
|
5513
5387
|
result = dict()
|
5388
|
+
if self.body is not None:
|
5389
|
+
result['body'] = self.body
|
5514
5390
|
if self.qualifier is not None:
|
5515
5391
|
result['qualifier'] = self.qualifier
|
5516
|
-
if self.request is not None:
|
5517
|
-
result['request'] = self.request
|
5518
5392
|
return result
|
5519
5393
|
|
5520
5394
|
def from_map(self, m: dict = None):
|
5521
5395
|
m = m or dict()
|
5396
|
+
if m.get('body') is not None:
|
5397
|
+
self.body = m.get('body')
|
5522
5398
|
if m.get('qualifier') is not None:
|
5523
5399
|
self.qualifier = m.get('qualifier')
|
5524
|
-
if m.get('request') is not None:
|
5525
|
-
self.request = m.get('request')
|
5526
5400
|
return self
|
5527
5401
|
|
5528
5402
|
|
@@ -6557,16 +6431,60 @@ class ListTriggersResponse(TeaModel):
|
|
6557
6431
|
return self
|
6558
6432
|
|
6559
6433
|
|
6434
|
+
class ListVpcBindingsResponse(TeaModel):
|
6435
|
+
def __init__(
|
6436
|
+
self,
|
6437
|
+
headers: Dict[str, str] = None,
|
6438
|
+
status_code: int = None,
|
6439
|
+
body: ListVpcBindingsOutput = None,
|
6440
|
+
):
|
6441
|
+
self.headers = headers
|
6442
|
+
self.status_code = status_code
|
6443
|
+
self.body = body
|
6444
|
+
|
6445
|
+
def validate(self):
|
6446
|
+
self.validate_required(self.headers, 'headers')
|
6447
|
+
self.validate_required(self.status_code, 'status_code')
|
6448
|
+
self.validate_required(self.body, 'body')
|
6449
|
+
if self.body:
|
6450
|
+
self.body.validate()
|
6451
|
+
|
6452
|
+
def to_map(self):
|
6453
|
+
_map = super().to_map()
|
6454
|
+
if _map is not None:
|
6455
|
+
return _map
|
6456
|
+
|
6457
|
+
result = dict()
|
6458
|
+
if self.headers is not None:
|
6459
|
+
result['headers'] = self.headers
|
6460
|
+
if self.status_code is not None:
|
6461
|
+
result['statusCode'] = self.status_code
|
6462
|
+
if self.body is not None:
|
6463
|
+
result['body'] = self.body.to_map()
|
6464
|
+
return result
|
6465
|
+
|
6466
|
+
def from_map(self, m: dict = None):
|
6467
|
+
m = m or dict()
|
6468
|
+
if m.get('headers') is not None:
|
6469
|
+
self.headers = m.get('headers')
|
6470
|
+
if m.get('statusCode') is not None:
|
6471
|
+
self.status_code = m.get('statusCode')
|
6472
|
+
if m.get('body') is not None:
|
6473
|
+
temp_model = ListVpcBindingsOutput()
|
6474
|
+
self.body = temp_model.from_map(m['body'])
|
6475
|
+
return self
|
6476
|
+
|
6477
|
+
|
6560
6478
|
class PublishFunctionVersionRequest(TeaModel):
|
6561
6479
|
def __init__(
|
6562
6480
|
self,
|
6563
|
-
|
6481
|
+
body: PublishVersionInput = None,
|
6564
6482
|
):
|
6565
|
-
self.
|
6483
|
+
self.body = body
|
6566
6484
|
|
6567
6485
|
def validate(self):
|
6568
|
-
if self.
|
6569
|
-
self.
|
6486
|
+
if self.body:
|
6487
|
+
self.body.validate()
|
6570
6488
|
|
6571
6489
|
def to_map(self):
|
6572
6490
|
_map = super().to_map()
|
@@ -6574,15 +6492,15 @@ class PublishFunctionVersionRequest(TeaModel):
|
|
6574
6492
|
return _map
|
6575
6493
|
|
6576
6494
|
result = dict()
|
6577
|
-
if self.
|
6578
|
-
result['
|
6495
|
+
if self.body is not None:
|
6496
|
+
result['body'] = self.body.to_map()
|
6579
6497
|
return result
|
6580
6498
|
|
6581
6499
|
def from_map(self, m: dict = None):
|
6582
6500
|
m = m or dict()
|
6583
|
-
if m.get('
|
6501
|
+
if m.get('body') is not None:
|
6584
6502
|
temp_model = PublishVersionInput()
|
6585
|
-
self.
|
6503
|
+
self.body = temp_model.from_map(m['body'])
|
6586
6504
|
return self
|
6587
6505
|
|
6588
6506
|
|
@@ -6633,15 +6551,15 @@ class PublishFunctionVersionResponse(TeaModel):
|
|
6633
6551
|
class PutAsyncInvokeConfigRequest(TeaModel):
|
6634
6552
|
def __init__(
|
6635
6553
|
self,
|
6554
|
+
body: PutAsyncInvokeConfigInput = None,
|
6636
6555
|
qualifier: str = None,
|
6637
|
-
request: PutAsyncInvokeConfigInput = None,
|
6638
6556
|
):
|
6557
|
+
self.body = body
|
6639
6558
|
self.qualifier = qualifier
|
6640
|
-
self.request = request
|
6641
6559
|
|
6642
6560
|
def validate(self):
|
6643
|
-
if self.
|
6644
|
-
self.
|
6561
|
+
if self.body:
|
6562
|
+
self.body.validate()
|
6645
6563
|
|
6646
6564
|
def to_map(self):
|
6647
6565
|
_map = super().to_map()
|
@@ -6649,19 +6567,19 @@ class PutAsyncInvokeConfigRequest(TeaModel):
|
|
6649
6567
|
return _map
|
6650
6568
|
|
6651
6569
|
result = dict()
|
6570
|
+
if self.body is not None:
|
6571
|
+
result['body'] = self.body.to_map()
|
6652
6572
|
if self.qualifier is not None:
|
6653
6573
|
result['qualifier'] = self.qualifier
|
6654
|
-
if self.request is not None:
|
6655
|
-
result['request'] = self.request.to_map()
|
6656
6574
|
return result
|
6657
6575
|
|
6658
6576
|
def from_map(self, m: dict = None):
|
6659
6577
|
m = m or dict()
|
6578
|
+
if m.get('body') is not None:
|
6579
|
+
temp_model = PutAsyncInvokeConfigInput()
|
6580
|
+
self.body = temp_model.from_map(m['body'])
|
6660
6581
|
if m.get('qualifier') is not None:
|
6661
6582
|
self.qualifier = m.get('qualifier')
|
6662
|
-
if m.get('request') is not None:
|
6663
|
-
temp_model = PutAsyncInvokeConfigInput()
|
6664
|
-
self.request = temp_model.from_map(m['request'])
|
6665
6583
|
return self
|
6666
6584
|
|
6667
6585
|
|
@@ -6712,13 +6630,13 @@ class PutAsyncInvokeConfigResponse(TeaModel):
|
|
6712
6630
|
class PutConcurrencyConfigRequest(TeaModel):
|
6713
6631
|
def __init__(
|
6714
6632
|
self,
|
6715
|
-
|
6633
|
+
body: PutConcurrencyInput = None,
|
6716
6634
|
):
|
6717
|
-
self.
|
6635
|
+
self.body = body
|
6718
6636
|
|
6719
6637
|
def validate(self):
|
6720
|
-
if self.
|
6721
|
-
self.
|
6638
|
+
if self.body:
|
6639
|
+
self.body.validate()
|
6722
6640
|
|
6723
6641
|
def to_map(self):
|
6724
6642
|
_map = super().to_map()
|
@@ -6726,15 +6644,15 @@ class PutConcurrencyConfigRequest(TeaModel):
|
|
6726
6644
|
return _map
|
6727
6645
|
|
6728
6646
|
result = dict()
|
6729
|
-
if self.
|
6730
|
-
result['
|
6647
|
+
if self.body is not None:
|
6648
|
+
result['body'] = self.body.to_map()
|
6731
6649
|
return result
|
6732
6650
|
|
6733
6651
|
def from_map(self, m: dict = None):
|
6734
6652
|
m = m or dict()
|
6735
|
-
if m.get('
|
6653
|
+
if m.get('body') is not None:
|
6736
6654
|
temp_model = PutConcurrencyInput()
|
6737
|
-
self.
|
6655
|
+
self.body = temp_model.from_map(m['body'])
|
6738
6656
|
return self
|
6739
6657
|
|
6740
6658
|
|
@@ -6846,15 +6764,15 @@ class PutLayerACLResponse(TeaModel):
|
|
6846
6764
|
class PutProvisionConfigRequest(TeaModel):
|
6847
6765
|
def __init__(
|
6848
6766
|
self,
|
6767
|
+
body: PutProvisionConfigInput = None,
|
6849
6768
|
qualifier: str = None,
|
6850
|
-
request: PutProvisionConfigInput = None,
|
6851
6769
|
):
|
6770
|
+
self.body = body
|
6852
6771
|
self.qualifier = qualifier
|
6853
|
-
self.request = request
|
6854
6772
|
|
6855
6773
|
def validate(self):
|
6856
|
-
if self.
|
6857
|
-
self.
|
6774
|
+
if self.body:
|
6775
|
+
self.body.validate()
|
6858
6776
|
|
6859
6777
|
def to_map(self):
|
6860
6778
|
_map = super().to_map()
|
@@ -6862,19 +6780,19 @@ class PutProvisionConfigRequest(TeaModel):
|
|
6862
6780
|
return _map
|
6863
6781
|
|
6864
6782
|
result = dict()
|
6783
|
+
if self.body is not None:
|
6784
|
+
result['body'] = self.body.to_map()
|
6865
6785
|
if self.qualifier is not None:
|
6866
6786
|
result['qualifier'] = self.qualifier
|
6867
|
-
if self.request is not None:
|
6868
|
-
result['request'] = self.request.to_map()
|
6869
6787
|
return result
|
6870
6788
|
|
6871
6789
|
def from_map(self, m: dict = None):
|
6872
6790
|
m = m or dict()
|
6791
|
+
if m.get('body') is not None:
|
6792
|
+
temp_model = PutProvisionConfigInput()
|
6793
|
+
self.body = temp_model.from_map(m['body'])
|
6873
6794
|
if m.get('qualifier') is not None:
|
6874
6795
|
self.qualifier = m.get('qualifier')
|
6875
|
-
if m.get('request') is not None:
|
6876
|
-
temp_model = PutProvisionConfigInput()
|
6877
|
-
self.request = temp_model.from_map(m['request'])
|
6878
6796
|
return self
|
6879
6797
|
|
6880
6798
|
|
@@ -6925,13 +6843,13 @@ class PutProvisionConfigResponse(TeaModel):
|
|
6925
6843
|
class TagResourceRequest(TeaModel):
|
6926
6844
|
def __init__(
|
6927
6845
|
self,
|
6928
|
-
|
6846
|
+
body: TagResourceInput = None,
|
6929
6847
|
):
|
6930
|
-
self.
|
6848
|
+
self.body = body
|
6931
6849
|
|
6932
6850
|
def validate(self):
|
6933
|
-
if self.
|
6934
|
-
self.
|
6851
|
+
if self.body:
|
6852
|
+
self.body.validate()
|
6935
6853
|
|
6936
6854
|
def to_map(self):
|
6937
6855
|
_map = super().to_map()
|
@@ -6939,15 +6857,15 @@ class TagResourceRequest(TeaModel):
|
|
6939
6857
|
return _map
|
6940
6858
|
|
6941
6859
|
result = dict()
|
6942
|
-
if self.
|
6943
|
-
result['
|
6860
|
+
if self.body is not None:
|
6861
|
+
result['body'] = self.body.to_map()
|
6944
6862
|
return result
|
6945
6863
|
|
6946
6864
|
def from_map(self, m: dict = None):
|
6947
6865
|
m = m or dict()
|
6948
|
-
if m.get('
|
6866
|
+
if m.get('body') is not None:
|
6949
6867
|
temp_model = TagResourceInput()
|
6950
|
-
self.
|
6868
|
+
self.body = temp_model.from_map(m['body'])
|
6951
6869
|
return self
|
6952
6870
|
|
6953
6871
|
|
@@ -6956,18 +6874,13 @@ class TagResourceResponse(TeaModel):
|
|
6956
6874
|
self,
|
6957
6875
|
headers: Dict[str, str] = None,
|
6958
6876
|
status_code: int = None,
|
6959
|
-
body: Tag = None,
|
6960
6877
|
):
|
6961
6878
|
self.headers = headers
|
6962
6879
|
self.status_code = status_code
|
6963
|
-
self.body = body
|
6964
6880
|
|
6965
6881
|
def validate(self):
|
6966
6882
|
self.validate_required(self.headers, 'headers')
|
6967
6883
|
self.validate_required(self.status_code, 'status_code')
|
6968
|
-
self.validate_required(self.body, 'body')
|
6969
|
-
if self.body:
|
6970
|
-
self.body.validate()
|
6971
6884
|
|
6972
6885
|
def to_map(self):
|
6973
6886
|
_map = super().to_map()
|
@@ -6979,8 +6892,6 @@ class TagResourceResponse(TeaModel):
|
|
6979
6892
|
result['headers'] = self.headers
|
6980
6893
|
if self.status_code is not None:
|
6981
6894
|
result['statusCode'] = self.status_code
|
6982
|
-
if self.body is not None:
|
6983
|
-
result['body'] = self.body.to_map()
|
6984
6895
|
return result
|
6985
6896
|
|
6986
6897
|
def from_map(self, m: dict = None):
|
@@ -6989,9 +6900,6 @@ class TagResourceResponse(TeaModel):
|
|
6989
6900
|
self.headers = m.get('headers')
|
6990
6901
|
if m.get('statusCode') is not None:
|
6991
6902
|
self.status_code = m.get('statusCode')
|
6992
|
-
if m.get('body') is not None:
|
6993
|
-
temp_model = Tag()
|
6994
|
-
self.body = temp_model.from_map(m['body'])
|
6995
6903
|
return self
|
6996
6904
|
|
6997
6905
|
|
@@ -7071,13 +6979,13 @@ class UntagResourceResponse(TeaModel):
|
|
7071
6979
|
class UpdateAliasRequest(TeaModel):
|
7072
6980
|
def __init__(
|
7073
6981
|
self,
|
7074
|
-
|
6982
|
+
body: UpdateAliasInput = None,
|
7075
6983
|
):
|
7076
|
-
self.
|
6984
|
+
self.body = body
|
7077
6985
|
|
7078
6986
|
def validate(self):
|
7079
|
-
if self.
|
7080
|
-
self.
|
6987
|
+
if self.body:
|
6988
|
+
self.body.validate()
|
7081
6989
|
|
7082
6990
|
def to_map(self):
|
7083
6991
|
_map = super().to_map()
|
@@ -7085,15 +6993,15 @@ class UpdateAliasRequest(TeaModel):
|
|
7085
6993
|
return _map
|
7086
6994
|
|
7087
6995
|
result = dict()
|
7088
|
-
if self.
|
7089
|
-
result['
|
6996
|
+
if self.body is not None:
|
6997
|
+
result['body'] = self.body.to_map()
|
7090
6998
|
return result
|
7091
6999
|
|
7092
7000
|
def from_map(self, m: dict = None):
|
7093
7001
|
m = m or dict()
|
7094
|
-
if m.get('
|
7002
|
+
if m.get('body') is not None:
|
7095
7003
|
temp_model = UpdateAliasInput()
|
7096
|
-
self.
|
7004
|
+
self.body = temp_model.from_map(m['body'])
|
7097
7005
|
return self
|
7098
7006
|
|
7099
7007
|
|
@@ -7144,13 +7052,13 @@ class UpdateAliasResponse(TeaModel):
|
|
7144
7052
|
class UpdateCustomDomainRequest(TeaModel):
|
7145
7053
|
def __init__(
|
7146
7054
|
self,
|
7147
|
-
|
7055
|
+
body: UpdateCustomDomainInput = None,
|
7148
7056
|
):
|
7149
|
-
self.
|
7057
|
+
self.body = body
|
7150
7058
|
|
7151
7059
|
def validate(self):
|
7152
|
-
if self.
|
7153
|
-
self.
|
7060
|
+
if self.body:
|
7061
|
+
self.body.validate()
|
7154
7062
|
|
7155
7063
|
def to_map(self):
|
7156
7064
|
_map = super().to_map()
|
@@ -7158,15 +7066,15 @@ class UpdateCustomDomainRequest(TeaModel):
|
|
7158
7066
|
return _map
|
7159
7067
|
|
7160
7068
|
result = dict()
|
7161
|
-
if self.
|
7162
|
-
result['
|
7069
|
+
if self.body is not None:
|
7070
|
+
result['body'] = self.body.to_map()
|
7163
7071
|
return result
|
7164
7072
|
|
7165
7073
|
def from_map(self, m: dict = None):
|
7166
7074
|
m = m or dict()
|
7167
|
-
if m.get('
|
7075
|
+
if m.get('body') is not None:
|
7168
7076
|
temp_model = UpdateCustomDomainInput()
|
7169
|
-
self.
|
7077
|
+
self.body = temp_model.from_map(m['body'])
|
7170
7078
|
return self
|
7171
7079
|
|
7172
7080
|
|
@@ -7217,13 +7125,13 @@ class UpdateCustomDomainResponse(TeaModel):
|
|
7217
7125
|
class UpdateFunctionRequest(TeaModel):
|
7218
7126
|
def __init__(
|
7219
7127
|
self,
|
7220
|
-
|
7128
|
+
body: UpdateFunctionInput = None,
|
7221
7129
|
):
|
7222
|
-
self.
|
7130
|
+
self.body = body
|
7223
7131
|
|
7224
7132
|
def validate(self):
|
7225
|
-
if self.
|
7226
|
-
self.
|
7133
|
+
if self.body:
|
7134
|
+
self.body.validate()
|
7227
7135
|
|
7228
7136
|
def to_map(self):
|
7229
7137
|
_map = super().to_map()
|
@@ -7231,15 +7139,15 @@ class UpdateFunctionRequest(TeaModel):
|
|
7231
7139
|
return _map
|
7232
7140
|
|
7233
7141
|
result = dict()
|
7234
|
-
if self.
|
7235
|
-
result['
|
7142
|
+
if self.body is not None:
|
7143
|
+
result['body'] = self.body.to_map()
|
7236
7144
|
return result
|
7237
7145
|
|
7238
7146
|
def from_map(self, m: dict = None):
|
7239
7147
|
m = m or dict()
|
7240
|
-
if m.get('
|
7148
|
+
if m.get('body') is not None:
|
7241
7149
|
temp_model = UpdateFunctionInput()
|
7242
|
-
self.
|
7150
|
+
self.body = temp_model.from_map(m['body'])
|
7243
7151
|
return self
|
7244
7152
|
|
7245
7153
|
|
@@ -7290,13 +7198,13 @@ class UpdateFunctionResponse(TeaModel):
|
|
7290
7198
|
class UpdateTriggerRequest(TeaModel):
|
7291
7199
|
def __init__(
|
7292
7200
|
self,
|
7293
|
-
|
7201
|
+
body: UpdateTriggerInput = None,
|
7294
7202
|
):
|
7295
|
-
self.
|
7203
|
+
self.body = body
|
7296
7204
|
|
7297
7205
|
def validate(self):
|
7298
|
-
if self.
|
7299
|
-
self.
|
7206
|
+
if self.body:
|
7207
|
+
self.body.validate()
|
7300
7208
|
|
7301
7209
|
def to_map(self):
|
7302
7210
|
_map = super().to_map()
|
@@ -7304,15 +7212,15 @@ class UpdateTriggerRequest(TeaModel):
|
|
7304
7212
|
return _map
|
7305
7213
|
|
7306
7214
|
result = dict()
|
7307
|
-
if self.
|
7308
|
-
result['
|
7215
|
+
if self.body is not None:
|
7216
|
+
result['body'] = self.body.to_map()
|
7309
7217
|
return result
|
7310
7218
|
|
7311
7219
|
def from_map(self, m: dict = None):
|
7312
7220
|
m = m or dict()
|
7313
|
-
if m.get('
|
7221
|
+
if m.get('body') is not None:
|
7314
7222
|
temp_model = UpdateTriggerInput()
|
7315
|
-
self.
|
7223
|
+
self.body = temp_model.from_map(m['body'])
|
7316
7224
|
return self
|
7317
7225
|
|
7318
7226
|
|