tccli 3.0.1180.1__py2.py3-none-any.whl → 3.0.1182.1__py2.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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +185 -0
- tccli/services/cdb/v20170320/examples.json +17 -1
- tccli/services/cdwdoris/v20211228/api.json +27 -0
- tccli/services/clb/v20180317/api.json +59 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/controlcenter/__init__.py +4 -0
- tccli/services/controlcenter/controlcenter_client.py +195 -0
- tccli/services/controlcenter/v20230110/api.json +82 -0
- tccli/services/controlcenter/v20230110/examples.json +13 -0
- tccli/services/csip/v20221121/api.json +308 -1
- tccli/services/cvm/v20170312/api.json +20 -20
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cwp/v20180228/api.json +3 -3
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +51 -12
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/dasb/v20191018/api.json +11 -1
- tccli/services/dsgc/v20190723/api.json +18 -0
- tccli/services/es/v20180416/api.json +39 -1
- tccli/services/ess/v20201111/api.json +12 -2
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +12 -2
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +106 -0
- tccli/services/hunyuan/v20230901/api.json +235 -0
- tccli/services/hunyuan/v20230901/examples.json +16 -0
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +43 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +16 -16
- tccli/services/scf/v20180416/api.json +29 -9
- tccli/services/ses/v20201002/api.json +148 -11
- tccli/services/sqlserver/v20180328/api.json +2 -2
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +10 -0
- tccli/services/tdmq/v20200217/api.json +10 -0
- tccli/services/tms/tms_client.py +0 -53
- tccli/services/tms/v20201229/api.json +2 -46
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +3 -3
- tccli/services/wedata/v20210820/api.json +1568 -0
- tccli/services/wedata/v20210820/examples.json +54 -0
- tccli/services/wedata/wedata_client.py +334 -16
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/RECORD +54 -50
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/license_files/LICENSE +0 -0
@@ -3531,80 +3531,80 @@
|
|
3531
3531
|
{
|
3532
3532
|
"disabled": false,
|
3533
3533
|
"document": "地域 ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3534
|
-
"example": "
|
3534
|
+
"example": "1",
|
3535
3535
|
"member": "int64",
|
3536
3536
|
"name": "RegionId",
|
3537
|
-
"
|
3537
|
+
"output_required": true,
|
3538
3538
|
"type": "int",
|
3539
3539
|
"value_allowed_null": true
|
3540
3540
|
},
|
3541
3541
|
{
|
3542
3542
|
"disabled": false,
|
3543
3543
|
"document": "实例 ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3544
|
-
"example": "
|
3544
|
+
"example": "crs-o7vdf2no",
|
3545
3545
|
"member": "string",
|
3546
3546
|
"name": "InstanceId",
|
3547
|
-
"
|
3547
|
+
"output_required": true,
|
3548
3548
|
"type": "string",
|
3549
3549
|
"value_allowed_null": true
|
3550
3550
|
},
|
3551
3551
|
{
|
3552
3552
|
"disabled": false,
|
3553
3553
|
"document": "仓库ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3554
|
-
"example": "
|
3554
|
+
"example": "14300",
|
3555
3555
|
"member": "int64",
|
3556
3556
|
"name": "SetId",
|
3557
|
-
"
|
3557
|
+
"output_required": true,
|
3558
3558
|
"type": "int",
|
3559
3559
|
"value_allowed_null": true
|
3560
3560
|
},
|
3561
3561
|
{
|
3562
3562
|
"disabled": false,
|
3563
3563
|
"document": "可用区ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3564
|
-
"example": "
|
3564
|
+
"example": "30001",
|
3565
3565
|
"member": "int64",
|
3566
3566
|
"name": "ZoneId",
|
3567
|
-
"
|
3567
|
+
"output_required": true,
|
3568
3568
|
"type": "int",
|
3569
3569
|
"value_allowed_null": true
|
3570
3570
|
},
|
3571
3571
|
{
|
3572
3572
|
"disabled": false,
|
3573
3573
|
"document": "实例类型。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3574
|
-
"example": "
|
3574
|
+
"example": "8",
|
3575
3575
|
"member": "int64",
|
3576
3576
|
"name": "Type",
|
3577
|
-
"
|
3577
|
+
"output_required": true,
|
3578
3578
|
"type": "int",
|
3579
3579
|
"value_allowed_null": true
|
3580
3580
|
},
|
3581
3581
|
{
|
3582
3582
|
"disabled": false,
|
3583
3583
|
"document": "实例名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3584
|
-
"example": "
|
3584
|
+
"example": "测试专用",
|
3585
3585
|
"member": "string",
|
3586
3586
|
"name": "InstanceName",
|
3587
|
-
"
|
3587
|
+
"output_required": true,
|
3588
3588
|
"type": "string",
|
3589
3589
|
"value_allowed_null": true
|
3590
3590
|
},
|
3591
3591
|
{
|
3592
3592
|
"disabled": false,
|
3593
3593
|
"document": "实例访问地址。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3594
|
-
"example": "
|
3594
|
+
"example": "10.0.0.16:6379",
|
3595
3595
|
"member": "string",
|
3596
3596
|
"name": "Vip",
|
3597
|
-
"
|
3597
|
+
"output_required": true,
|
3598
3598
|
"type": "string",
|
3599
3599
|
"value_allowed_null": true
|
3600
3600
|
},
|
3601
3601
|
{
|
3602
3602
|
"disabled": false,
|
3603
3603
|
"document": "状态。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3604
|
-
"example": "
|
3604
|
+
"example": "2",
|
3605
3605
|
"member": "int64",
|
3606
3606
|
"name": "Status",
|
3607
|
-
"
|
3607
|
+
"output_required": true,
|
3608
3608
|
"type": "int",
|
3609
3609
|
"value_allowed_null": true
|
3610
3610
|
}
|
@@ -3627,7 +3627,7 @@
|
|
3627
3627
|
},
|
3628
3628
|
{
|
3629
3629
|
"disabled": false,
|
3630
|
-
"document": "
|
3630
|
+
"document": "镜像函数端口设置,可指定镜像类型\nWeb Server镜像:9000\nJob 镜像:-1\n注意:此字段可能返回 null,表示取不到有效值。\n默认值:9000\n示例值:9000\n注意:此字段可能返回 null,表示取不到有效值。",
|
3631
3631
|
"example": "9000",
|
3632
3632
|
"member": "int64",
|
3633
3633
|
"name": "ImagePort",
|
@@ -3974,7 +3974,7 @@
|
|
3974
3974
|
"example": "无",
|
3975
3975
|
"member": "string",
|
3976
3976
|
"name": "CompatibleRuntimes",
|
3977
|
-
"
|
3977
|
+
"output_required": true,
|
3978
3978
|
"type": "list",
|
3979
3979
|
"value_allowed_null": true
|
3980
3980
|
},
|
@@ -3984,7 +3984,7 @@
|
|
3984
3984
|
"example": "无",
|
3985
3985
|
"member": "string",
|
3986
3986
|
"name": "AddTime",
|
3987
|
-
"
|
3987
|
+
"output_required": true,
|
3988
3988
|
"type": "string",
|
3989
3989
|
"value_allowed_null": false
|
3990
3990
|
},
|
@@ -3994,7 +3994,7 @@
|
|
3994
3994
|
"example": "无",
|
3995
3995
|
"member": "string",
|
3996
3996
|
"name": "Description",
|
3997
|
-
"
|
3997
|
+
"output_required": true,
|
3998
3998
|
"type": "string",
|
3999
3999
|
"value_allowed_null": true
|
4000
4000
|
},
|
@@ -4004,7 +4004,7 @@
|
|
4004
4004
|
"example": "无",
|
4005
4005
|
"member": "string",
|
4006
4006
|
"name": "LicenseInfo",
|
4007
|
-
"
|
4007
|
+
"output_required": true,
|
4008
4008
|
"type": "string",
|
4009
4009
|
"value_allowed_null": true
|
4010
4010
|
},
|
@@ -4014,7 +4014,7 @@
|
|
4014
4014
|
"example": "无",
|
4015
4015
|
"member": "int64",
|
4016
4016
|
"name": "LayerVersion",
|
4017
|
-
"
|
4017
|
+
"output_required": true,
|
4018
4018
|
"type": "int",
|
4019
4019
|
"value_allowed_null": false
|
4020
4020
|
},
|
@@ -4024,7 +4024,7 @@
|
|
4024
4024
|
"example": "无",
|
4025
4025
|
"member": "string",
|
4026
4026
|
"name": "LayerName",
|
4027
|
-
"
|
4027
|
+
"output_required": true,
|
4028
4028
|
"type": "string",
|
4029
4029
|
"value_allowed_null": false
|
4030
4030
|
},
|
@@ -4034,7 +4034,7 @@
|
|
4034
4034
|
"example": "无",
|
4035
4035
|
"member": "string",
|
4036
4036
|
"name": "Status",
|
4037
|
-
"
|
4037
|
+
"output_required": true,
|
4038
4038
|
"type": "string",
|
4039
4039
|
"value_allowed_null": false
|
4040
4040
|
},
|
@@ -4044,9 +4044,19 @@
|
|
4044
4044
|
"example": "无",
|
4045
4045
|
"member": "string",
|
4046
4046
|
"name": "Stamp",
|
4047
|
-
"
|
4047
|
+
"output_required": true,
|
4048
4048
|
"type": "string",
|
4049
4049
|
"value_allowed_null": true
|
4050
|
+
},
|
4051
|
+
{
|
4052
|
+
"disabled": false,
|
4053
|
+
"document": "返回层绑定的标签信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
4054
|
+
"example": "无",
|
4055
|
+
"member": "Tag",
|
4056
|
+
"name": "Tags",
|
4057
|
+
"output_required": false,
|
4058
|
+
"type": "list",
|
4059
|
+
"value_allowed_null": true
|
4050
4060
|
}
|
4051
4061
|
],
|
4052
4062
|
"usage": "out"
|
@@ -5358,6 +5368,15 @@
|
|
5358
5368
|
"name": "LicenseInfo",
|
5359
5369
|
"required": false,
|
5360
5370
|
"type": "string"
|
5371
|
+
},
|
5372
|
+
{
|
5373
|
+
"disabled": false,
|
5374
|
+
"document": "层Tag 参数,以键值对数组形式传入",
|
5375
|
+
"example": "无",
|
5376
|
+
"member": "Tag",
|
5377
|
+
"name": "Tags",
|
5378
|
+
"required": false,
|
5379
|
+
"type": "list"
|
5361
5380
|
}
|
5362
5381
|
],
|
5363
5382
|
"type": "object"
|
@@ -5371,6 +5390,7 @@
|
|
5371
5390
|
"example": "1",
|
5372
5391
|
"member": "int64",
|
5373
5392
|
"name": "LayerVersion",
|
5393
|
+
"output_required": true,
|
5374
5394
|
"type": "int",
|
5375
5395
|
"value_allowed_null": false
|
5376
5396
|
},
|
@@ -712,6 +712,56 @@
|
|
712
712
|
"CreateReceiverDetailWithDataResponse": {
|
713
713
|
"document": "CreateReceiverDetailWithData返回参数结构体",
|
714
714
|
"members": [
|
715
|
+
{
|
716
|
+
"disabled": false,
|
717
|
+
"document": "收件人总数\n注意:此字段可能返回 null,表示取不到有效值。",
|
718
|
+
"example": "1",
|
719
|
+
"member": "uint64",
|
720
|
+
"name": "TotalCount",
|
721
|
+
"output_required": false,
|
722
|
+
"type": "int",
|
723
|
+
"value_allowed_null": true
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"disabled": false,
|
727
|
+
"document": "实际上传数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
728
|
+
"example": "1",
|
729
|
+
"member": "uint64",
|
730
|
+
"name": "ValidCount",
|
731
|
+
"output_required": false,
|
732
|
+
"type": "int",
|
733
|
+
"value_allowed_null": true
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"disabled": false,
|
737
|
+
"document": "数据过长数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
738
|
+
"example": "1",
|
739
|
+
"member": "uint64",
|
740
|
+
"name": "TooLongCount",
|
741
|
+
"output_required": false,
|
742
|
+
"type": "int",
|
743
|
+
"value_allowed_null": true
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"disabled": false,
|
747
|
+
"document": "邮件地址为空数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
748
|
+
"example": "1",
|
749
|
+
"member": "uint64",
|
750
|
+
"name": "EmptyEmailCount",
|
751
|
+
"output_required": false,
|
752
|
+
"type": "int",
|
753
|
+
"value_allowed_null": true
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"disabled": false,
|
757
|
+
"document": "重复数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
758
|
+
"example": "1",
|
759
|
+
"member": "uint64",
|
760
|
+
"name": "RepeatCount",
|
761
|
+
"output_required": false,
|
762
|
+
"type": "int",
|
763
|
+
"value_allowed_null": true
|
764
|
+
},
|
715
765
|
{
|
716
766
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
717
767
|
"member": "string",
|
@@ -1704,6 +1754,33 @@
|
|
1704
1754
|
"name": "Email",
|
1705
1755
|
"required": false,
|
1706
1756
|
"type": "string"
|
1757
|
+
},
|
1758
|
+
{
|
1759
|
+
"disabled": false,
|
1760
|
+
"document": "搜索开始时间",
|
1761
|
+
"example": "2024-08-13",
|
1762
|
+
"member": "string",
|
1763
|
+
"name": "CreateTimeBegin",
|
1764
|
+
"required": false,
|
1765
|
+
"type": "string"
|
1766
|
+
},
|
1767
|
+
{
|
1768
|
+
"disabled": false,
|
1769
|
+
"document": "搜索结束时间",
|
1770
|
+
"example": "2024-08-14",
|
1771
|
+
"member": "string",
|
1772
|
+
"name": "CreateTimeEnd",
|
1773
|
+
"required": false,
|
1774
|
+
"type": "string"
|
1775
|
+
},
|
1776
|
+
{
|
1777
|
+
"disabled": false,
|
1778
|
+
"document": "1:有效,2:无效",
|
1779
|
+
"example": "1",
|
1780
|
+
"member": "uint64",
|
1781
|
+
"name": "Status",
|
1782
|
+
"required": false,
|
1783
|
+
"type": "int"
|
1707
1784
|
}
|
1708
1785
|
],
|
1709
1786
|
"type": "object"
|
@@ -1717,7 +1794,7 @@
|
|
1717
1794
|
"example": "123",
|
1718
1795
|
"member": "uint64",
|
1719
1796
|
"name": "TotalCount",
|
1720
|
-
"
|
1797
|
+
"output_required": true,
|
1721
1798
|
"type": "int",
|
1722
1799
|
"value_allowed_null": false
|
1723
1800
|
},
|
@@ -1727,10 +1804,30 @@
|
|
1727
1804
|
"example": "无",
|
1728
1805
|
"member": "ReceiverDetail",
|
1729
1806
|
"name": "Data",
|
1730
|
-
"
|
1807
|
+
"output_required": true,
|
1731
1808
|
"type": "list",
|
1732
1809
|
"value_allowed_null": false
|
1733
1810
|
},
|
1811
|
+
{
|
1812
|
+
"disabled": false,
|
1813
|
+
"document": "有效邮件地址数",
|
1814
|
+
"example": "1",
|
1815
|
+
"member": "uint64",
|
1816
|
+
"name": "ValidCount",
|
1817
|
+
"output_required": false,
|
1818
|
+
"type": "int",
|
1819
|
+
"value_allowed_null": false
|
1820
|
+
},
|
1821
|
+
{
|
1822
|
+
"disabled": false,
|
1823
|
+
"document": "无效邮件地址数",
|
1824
|
+
"example": "1",
|
1825
|
+
"member": "uint64",
|
1826
|
+
"name": "InvalidCount",
|
1827
|
+
"output_required": false,
|
1828
|
+
"type": "int",
|
1829
|
+
"value_allowed_null": false
|
1830
|
+
},
|
1734
1831
|
{
|
1735
1832
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1736
1833
|
"member": "string",
|
@@ -1906,7 +2003,7 @@
|
|
1906
2003
|
"example": "123",
|
1907
2004
|
"member": "uint64",
|
1908
2005
|
"name": "ReceiverId",
|
1909
|
-
"
|
2006
|
+
"output_required": true,
|
1910
2007
|
"type": "int",
|
1911
2008
|
"value_allowed_null": false
|
1912
2009
|
},
|
@@ -1916,7 +2013,7 @@
|
|
1916
2013
|
"example": "收件人列表",
|
1917
2014
|
"member": "string",
|
1918
2015
|
"name": "ReceiversName",
|
1919
|
-
"
|
2016
|
+
"output_required": true,
|
1920
2017
|
"type": "string",
|
1921
2018
|
"value_allowed_null": false
|
1922
2019
|
},
|
@@ -1926,7 +2023,7 @@
|
|
1926
2023
|
"example": "1",
|
1927
2024
|
"member": "uint64",
|
1928
2025
|
"name": "Count",
|
1929
|
-
"
|
2026
|
+
"output_required": true,
|
1930
2027
|
"type": "int",
|
1931
2028
|
"value_allowed_null": false
|
1932
2029
|
},
|
@@ -1936,7 +2033,7 @@
|
|
1936
2033
|
"example": "收件人列表描述",
|
1937
2034
|
"member": "string",
|
1938
2035
|
"name": "Desc",
|
1939
|
-
"
|
2036
|
+
"output_required": true,
|
1940
2037
|
"type": "string",
|
1941
2038
|
"value_allowed_null": true
|
1942
2039
|
},
|
@@ -1946,7 +2043,7 @@
|
|
1946
2043
|
"example": "1",
|
1947
2044
|
"member": "uint64",
|
1948
2045
|
"name": "ReceiversStatus",
|
1949
|
-
"
|
2046
|
+
"output_required": true,
|
1950
2047
|
"type": "int",
|
1951
2048
|
"value_allowed_null": true
|
1952
2049
|
},
|
@@ -1956,9 +2053,19 @@
|
|
1956
2053
|
"example": "2021-09-28 16:40:35",
|
1957
2054
|
"member": "string",
|
1958
2055
|
"name": "CreateTime",
|
1959
|
-
"
|
2056
|
+
"output_required": true,
|
1960
2057
|
"type": "string",
|
1961
2058
|
"value_allowed_null": false
|
2059
|
+
},
|
2060
|
+
{
|
2061
|
+
"disabled": false,
|
2062
|
+
"document": "无效收件人数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
2063
|
+
"example": "1",
|
2064
|
+
"member": "uint64",
|
2065
|
+
"name": "InvalidCount",
|
2066
|
+
"output_required": false,
|
2067
|
+
"type": "int",
|
2068
|
+
"value_allowed_null": true
|
1962
2069
|
}
|
1963
2070
|
],
|
1964
2071
|
"usage": "out"
|
@@ -1972,7 +2079,7 @@
|
|
1972
2079
|
"example": "123@abc.com",
|
1973
2080
|
"member": "string",
|
1974
2081
|
"name": "Email",
|
1975
|
-
"
|
2082
|
+
"output_required": true,
|
1976
2083
|
"type": "string",
|
1977
2084
|
"value_allowed_null": false
|
1978
2085
|
},
|
@@ -1982,7 +2089,7 @@
|
|
1982
2089
|
"example": "2021-09-09 12:13:14",
|
1983
2090
|
"member": "string",
|
1984
2091
|
"name": "CreateTime",
|
1985
|
-
"
|
2092
|
+
"output_required": true,
|
1986
2093
|
"type": "string",
|
1987
2094
|
"value_allowed_null": false
|
1988
2095
|
},
|
@@ -1992,9 +2099,39 @@
|
|
1992
2099
|
"example": "{\"name\":\"xxx\",\"age\":\"xx\"}",
|
1993
2100
|
"member": "string",
|
1994
2101
|
"name": "TemplateData",
|
1995
|
-
"
|
2102
|
+
"output_required": true,
|
1996
2103
|
"type": "string",
|
1997
2104
|
"value_allowed_null": false
|
2105
|
+
},
|
2106
|
+
{
|
2107
|
+
"disabled": false,
|
2108
|
+
"document": "无效原因\n注意:此字段可能返回 null,表示取不到有效值。",
|
2109
|
+
"example": "无效原因",
|
2110
|
+
"member": "string",
|
2111
|
+
"name": "Reason",
|
2112
|
+
"output_required": false,
|
2113
|
+
"type": "string",
|
2114
|
+
"value_allowed_null": true
|
2115
|
+
},
|
2116
|
+
{
|
2117
|
+
"disabled": false,
|
2118
|
+
"document": "1:有效,2:无效\n注意:此字段可能返回 null,表示取不到有效值。",
|
2119
|
+
"example": "1",
|
2120
|
+
"member": "uint64",
|
2121
|
+
"name": "Status",
|
2122
|
+
"output_required": false,
|
2123
|
+
"type": "int",
|
2124
|
+
"value_allowed_null": true
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
"disabled": false,
|
2128
|
+
"document": "收件人地址id\n注意:此字段可能返回 null,表示取不到有效值。",
|
2129
|
+
"example": "1",
|
2130
|
+
"member": "uint64",
|
2131
|
+
"name": "EmailId",
|
2132
|
+
"output_required": false,
|
2133
|
+
"type": "int",
|
2134
|
+
"value_allowed_null": true
|
1998
2135
|
}
|
1999
2136
|
],
|
2000
2137
|
"usage": "out"
|
@@ -10485,7 +10485,7 @@
|
|
10485
10485
|
"example": "9",
|
10486
10486
|
"member": "int64",
|
10487
10487
|
"name": "TotalCount",
|
10488
|
-
"
|
10488
|
+
"output_required": true,
|
10489
10489
|
"type": "int",
|
10490
10490
|
"value_allowed_null": false
|
10491
10491
|
},
|
@@ -10495,7 +10495,7 @@
|
|
10495
10495
|
"example": "无",
|
10496
10496
|
"member": "RegionInfo",
|
10497
10497
|
"name": "RegionSet",
|
10498
|
-
"
|
10498
|
+
"output_required": true,
|
10499
10499
|
"type": "list",
|
10500
10500
|
"value_allowed_null": false
|
10501
10501
|
},
|
@@ -668,7 +668,7 @@
|
|
668
668
|
{
|
669
669
|
"document": "",
|
670
670
|
"input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeRegions\n&<公共请求参数>",
|
671
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"9b0beca5-f3ea-44d3-97de-ec8f02effaea\",\n \"TotalCount\": 9,\n \"RegionSet\": [\n {\n \"Region\": \"ap-hongkong\",\n \"RegionName\": \"中国香港\",\n \"RegionId\": 5,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-shanghai-fsi\",\n \"RegionName\": \"上海金融\",\n \"RegionId\": 7,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-shantou\",\n \"RegionName\": \"汕头\",\n \"RegionId\": 2,\n \"RegionState\": \"UNAVAILABLE\"\n },\n {\n \"Region\": \"ap-tianjin\",\n \"RegionName\": \"天津\",\n \"RegionId\": 3,\n \"RegionState\": \"UNAVAILABLE\"\n },\n {\n \"Region\": \"
|
671
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9b0beca5-f3ea-44d3-97de-ec8f02effaea\",\n \"TotalCount\": 9,\n \"RegionSet\": [\n {\n \"Region\": \"ap-hongkong\",\n \"RegionName\": \"中国香港\",\n \"RegionId\": 5,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-shanghai-fsi\",\n \"RegionName\": \"上海金融\",\n \"RegionId\": 7,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-shantou\",\n \"RegionName\": \"汕头\",\n \"RegionId\": 2,\n \"RegionState\": \"UNAVAILABLE\"\n },\n {\n \"Region\": \"ap-tianjin\",\n \"RegionName\": \"天津\",\n \"RegionId\": 3,\n \"RegionState\": \"UNAVAILABLE\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"RegionName\": \"北京\",\n \"RegionId\": 8,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-shenzhen-fsi\",\n \"RegionName\": \"深圳金融\",\n \"RegionId\": 11,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionName\": \"广州\",\n \"RegionId\": 1,\n \"RegionState\": \"AVAILABLE\"\n },\n {\n \"Region\": \"ap-shanghai\",\n \"RegionName\": \"上海\",\n \"RegionId\": 4,\n \"RegionState\": \"AVAILABLE\"\n }\n ]\n }\n}",
|
672
672
|
"title": "查询所有地域"
|
673
673
|
}
|
674
674
|
],
|
@@ -1657,6 +1657,16 @@
|
|
1657
1657
|
"output_required": true,
|
1658
1658
|
"type": "object",
|
1659
1659
|
"value_allowed_null": true
|
1660
|
+
},
|
1661
|
+
{
|
1662
|
+
"disabled": false,
|
1663
|
+
"document": "证书吊销完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1664
|
+
"example": "无",
|
1665
|
+
"member": "string",
|
1666
|
+
"name": "CertRevokedTime",
|
1667
|
+
"output_required": false,
|
1668
|
+
"type": "string",
|
1669
|
+
"value_allowed_null": true
|
1660
1670
|
}
|
1661
1671
|
],
|
1662
1672
|
"usage": "out"
|
@@ -14352,6 +14352,16 @@
|
|
14352
14352
|
"output_required": true,
|
14353
14353
|
"type": "string",
|
14354
14354
|
"value_allowed_null": true
|
14355
|
+
},
|
14356
|
+
{
|
14357
|
+
"disabled": false,
|
14358
|
+
"document": "实例到期时间戳,毫秒级精度。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14359
|
+
"example": "1725165113283",
|
14360
|
+
"member": "int64",
|
14361
|
+
"name": "ExpireTime",
|
14362
|
+
"output_required": true,
|
14363
|
+
"type": "int",
|
14364
|
+
"value_allowed_null": true
|
14355
14365
|
}
|
14356
14366
|
],
|
14357
14367
|
"usage": "out"
|
tccli/services/tms/tms_client.py
CHANGED
@@ -175,58 +175,6 @@ def doTextModeration(args, parsed_globals):
|
|
175
175
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
176
176
|
|
177
177
|
|
178
|
-
def doAnswerQuestion(args, parsed_globals):
|
179
|
-
g_param = parse_global_arg(parsed_globals)
|
180
|
-
|
181
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
182
|
-
cred = credential.CVMRoleCredential()
|
183
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
184
|
-
cred = credential.STSAssumeRoleCredential(
|
185
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
186
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
187
|
-
)
|
188
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
189
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
190
|
-
else:
|
191
|
-
cred = credential.Credential(
|
192
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
193
|
-
)
|
194
|
-
http_profile = HttpProfile(
|
195
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
196
|
-
reqMethod="POST",
|
197
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
198
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
199
|
-
)
|
200
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
201
|
-
if g_param[OptionsDefine.Language]:
|
202
|
-
profile.language = g_param[OptionsDefine.Language]
|
203
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
204
|
-
client = mod.TmsClient(cred, g_param[OptionsDefine.Region], profile)
|
205
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
206
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
207
|
-
model = models.AnswerQuestionRequest()
|
208
|
-
model.from_json_string(json.dumps(args))
|
209
|
-
start_time = time.time()
|
210
|
-
while True:
|
211
|
-
rsp = client.AnswerQuestion(model)
|
212
|
-
result = rsp.to_json_string()
|
213
|
-
try:
|
214
|
-
json_obj = json.loads(result)
|
215
|
-
except TypeError as e:
|
216
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
217
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
218
|
-
break
|
219
|
-
cur_time = time.time()
|
220
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
221
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
222
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
223
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
224
|
-
else:
|
225
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
226
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
227
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
228
|
-
|
229
|
-
|
230
178
|
def doDescribeTextLib(args, parsed_globals):
|
231
179
|
g_param = parse_global_arg(parsed_globals)
|
232
180
|
|
@@ -347,7 +295,6 @@ ACTION_MAP = {
|
|
347
295
|
"DescribeTextStat": doDescribeTextStat,
|
348
296
|
"ModerateText": doModerateText,
|
349
297
|
"TextModeration": doTextModeration,
|
350
|
-
"AnswerQuestion": doAnswerQuestion,
|
351
298
|
"DescribeTextLib": doDescribeTextLib,
|
352
299
|
"AccountTipoffAccess": doAccountTipoffAccess,
|
353
300
|
|