tccli 3.0.1181.1__py2.py3-none-any.whl → 3.0.1182.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- 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 +18 -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 +50 -11
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/dasb/v20191018/api.json +11 -1
- tccli/services/es/v20180416/api.json +1 -1
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.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/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 +18 -8
- tccli/services/ses/v20201002/api.json +148 -11
- 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 +1558 -0
- tccli/services/wedata/v20210820/examples.json +54 -0
- tccli/services/wedata/wedata_client.py +334 -16
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1182.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1182.1.dist-info}/RECORD +47 -43
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1182.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1182.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1182.1.dist-info}/license_files/LICENSE +0 -0
@@ -28,6 +28,13 @@
|
|
28
28
|
"output": "GetTokenCountResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
|
+
"QueryHunyuanImageChatJob": {
|
32
|
+
"document": "混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。\n提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。\n混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
33
|
+
"input": "QueryHunyuanImageChatJobRequest",
|
34
|
+
"name": "查询混元生图(多轮对话)任务",
|
35
|
+
"output": "QueryHunyuanImageChatJobResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
31
38
|
"QueryHunyuanImageJob": {
|
32
39
|
"document": "混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
33
40
|
"input": "QueryHunyuanImageJobRequest",
|
@@ -42,6 +49,13 @@
|
|
42
49
|
"output": "SetPayModeResponse",
|
43
50
|
"status": "online"
|
44
51
|
},
|
52
|
+
"SubmitHunyuanImageChatJob": {
|
53
|
+
"document": "混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。\n提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。\n混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
54
|
+
"input": "SubmitHunyuanImageChatJobRequest",
|
55
|
+
"name": "提交混元生图(多轮对话)任务",
|
56
|
+
"output": "SubmitHunyuanImageChatJobResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
45
59
|
"SubmitHunyuanImageJob": {
|
46
60
|
"document": "混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
47
61
|
"input": "SubmitHunyuanImageJobRequest",
|
@@ -609,6 +623,56 @@
|
|
609
623
|
],
|
610
624
|
"type": "object"
|
611
625
|
},
|
626
|
+
"History": {
|
627
|
+
"document": "混元生图多轮对话历史记录。",
|
628
|
+
"members": [
|
629
|
+
{
|
630
|
+
"disabled": false,
|
631
|
+
"document": "对话的 ID,用于唯一标识一轮对话\n注意:此字段可能返回 null,表示取不到有效值。",
|
632
|
+
"example": "无",
|
633
|
+
"member": "string",
|
634
|
+
"name": "ChatId",
|
635
|
+
"output_required": false,
|
636
|
+
"required": false,
|
637
|
+
"type": "string",
|
638
|
+
"value_allowed_null": true
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"disabled": false,
|
642
|
+
"document": "原始输入的 Prompt 文本\n注意:此字段可能返回 null,表示取不到有效值。",
|
643
|
+
"example": "无",
|
644
|
+
"member": "string",
|
645
|
+
"name": "Prompt",
|
646
|
+
"output_required": false,
|
647
|
+
"required": false,
|
648
|
+
"type": "string",
|
649
|
+
"value_allowed_null": true
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"disabled": false,
|
653
|
+
"document": "扩写后的 Prompt 文本\n注意:此字段可能返回 null,表示取不到有效值。",
|
654
|
+
"example": "无",
|
655
|
+
"member": "string",
|
656
|
+
"name": "RevisedPrompt",
|
657
|
+
"output_required": false,
|
658
|
+
"required": false,
|
659
|
+
"type": "string",
|
660
|
+
"value_allowed_null": true
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"disabled": false,
|
664
|
+
"document": "生成图的随机种子\n注意:此字段可能返回 null,表示取不到有效值。",
|
665
|
+
"example": "无",
|
666
|
+
"member": "int64",
|
667
|
+
"name": "Seed",
|
668
|
+
"output_required": false,
|
669
|
+
"required": false,
|
670
|
+
"type": "int",
|
671
|
+
"value_allowed_null": true
|
672
|
+
}
|
673
|
+
],
|
674
|
+
"usage": "both"
|
675
|
+
},
|
612
676
|
"ImageUrl": {
|
613
677
|
"document": "具体的图片内容",
|
614
678
|
"members": [
|
@@ -762,6 +826,113 @@
|
|
762
826
|
],
|
763
827
|
"usage": "both"
|
764
828
|
},
|
829
|
+
"QueryHunyuanImageChatJobRequest": {
|
830
|
+
"document": "QueryHunyuanImageChatJob请求参数结构体",
|
831
|
+
"members": [
|
832
|
+
{
|
833
|
+
"disabled": false,
|
834
|
+
"document": "任务 ID。",
|
835
|
+
"example": "无",
|
836
|
+
"member": "string",
|
837
|
+
"name": "JobId",
|
838
|
+
"required": false,
|
839
|
+
"type": "string"
|
840
|
+
}
|
841
|
+
],
|
842
|
+
"type": "object"
|
843
|
+
},
|
844
|
+
"QueryHunyuanImageChatJobResponse": {
|
845
|
+
"document": "QueryHunyuanImageChatJob返回参数结构体",
|
846
|
+
"members": [
|
847
|
+
{
|
848
|
+
"disabled": false,
|
849
|
+
"document": "当前任务状态码:\n1:等待中、2:运行中、4:处理失败、5:处理完成。",
|
850
|
+
"example": "无",
|
851
|
+
"member": "string",
|
852
|
+
"name": "JobStatusCode",
|
853
|
+
"output_required": false,
|
854
|
+
"type": "string",
|
855
|
+
"value_allowed_null": false
|
856
|
+
},
|
857
|
+
{
|
858
|
+
"disabled": false,
|
859
|
+
"document": "当前任务状态:排队中、处理中、处理失败或者处理完成。\n",
|
860
|
+
"example": "无",
|
861
|
+
"member": "string",
|
862
|
+
"name": "JobStatusMsg",
|
863
|
+
"output_required": false,
|
864
|
+
"type": "string",
|
865
|
+
"value_allowed_null": false
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"disabled": false,
|
869
|
+
"document": "任务处理失败错误码。\n",
|
870
|
+
"example": "无",
|
871
|
+
"member": "string",
|
872
|
+
"name": "JobErrorCode",
|
873
|
+
"output_required": false,
|
874
|
+
"type": "string",
|
875
|
+
"value_allowed_null": false
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"disabled": false,
|
879
|
+
"document": "任务处理失败错误信息。\n",
|
880
|
+
"example": "无",
|
881
|
+
"member": "string",
|
882
|
+
"name": "JobErrorMsg",
|
883
|
+
"output_required": false,
|
884
|
+
"type": "string",
|
885
|
+
"value_allowed_null": false
|
886
|
+
},
|
887
|
+
{
|
888
|
+
"disabled": false,
|
889
|
+
"document": "本轮对话的 ChatId,ChatId 用于唯一标识一轮对话。\n一个对话组中,最多支持进行100轮对话。\n每轮对话数据有效期为7天,到期后 ChatId 失效,有效期内的历史对话数据可通过 History 查询,如有长期使用需求请及时保存输入输出数据。",
|
890
|
+
"example": "无",
|
891
|
+
"member": "string",
|
892
|
+
"name": "ChatId",
|
893
|
+
"output_required": false,
|
894
|
+
"type": "string",
|
895
|
+
"value_allowed_null": false
|
896
|
+
},
|
897
|
+
{
|
898
|
+
"disabled": false,
|
899
|
+
"document": "生成图 URL 列表,有效期7天,请及时保存。",
|
900
|
+
"example": "无",
|
901
|
+
"member": "string",
|
902
|
+
"name": "ResultImage",
|
903
|
+
"output_required": false,
|
904
|
+
"type": "list",
|
905
|
+
"value_allowed_null": false
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"disabled": false,
|
909
|
+
"document": "结果 detail 数组,Success 代表成功。\n",
|
910
|
+
"example": "无",
|
911
|
+
"member": "string",
|
912
|
+
"name": "ResultDetails",
|
913
|
+
"output_required": false,
|
914
|
+
"type": "list",
|
915
|
+
"value_allowed_null": false
|
916
|
+
},
|
917
|
+
{
|
918
|
+
"disabled": false,
|
919
|
+
"document": "本轮对话前置的历史对话数据(不含生成图)。",
|
920
|
+
"example": "无",
|
921
|
+
"member": "History",
|
922
|
+
"name": "History",
|
923
|
+
"output_required": false,
|
924
|
+
"type": "list",
|
925
|
+
"value_allowed_null": false
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
929
|
+
"member": "string",
|
930
|
+
"name": "RequestId",
|
931
|
+
"type": "string"
|
932
|
+
}
|
933
|
+
],
|
934
|
+
"type": "object"
|
935
|
+
},
|
765
936
|
"QueryHunyuanImageJobRequest": {
|
766
937
|
"document": "QueryHunyuanImageJob请求参数结构体",
|
767
938
|
"members": [
|
@@ -942,6 +1113,70 @@
|
|
942
1113
|
],
|
943
1114
|
"type": "object"
|
944
1115
|
},
|
1116
|
+
"SubmitHunyuanImageChatJobRequest": {
|
1117
|
+
"document": "SubmitHunyuanImageChatJob请求参数结构体",
|
1118
|
+
"members": [
|
1119
|
+
{
|
1120
|
+
"disabled": false,
|
1121
|
+
"document": "本轮对话的文本描述。\n提交一个任务请求对应发起一轮生图对话,每轮对话中可输入一条 Prompt,生成一张图像,支持通过多轮输入 Prompt 来不断调整图像内容。\n推荐使用中文,最多可传1024个 utf-8 字符。\n输入示例:\n<li> 第一轮对话:一颗红色的苹果 </li>\n<li> 第二轮对话:将苹果改为绿色 </li>\n<li> 第三轮对话:苹果放在桌子上 </li>",
|
1122
|
+
"example": "无",
|
1123
|
+
"member": "string",
|
1124
|
+
"name": "Prompt",
|
1125
|
+
"required": true,
|
1126
|
+
"type": "string"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"disabled": false,
|
1130
|
+
"document": "上传上一轮对话的 ChatId,本轮对话将在指定的上一轮对话结果基础上继续生成图像。\n如果不传代表新建一个对话组,重新开启一轮新的对话。\n一个对话组中,最多支持进行100轮对话。",
|
1131
|
+
"example": "无",
|
1132
|
+
"member": "string",
|
1133
|
+
"name": "ChatId",
|
1134
|
+
"required": false,
|
1135
|
+
"type": "string"
|
1136
|
+
},
|
1137
|
+
{
|
1138
|
+
"disabled": false,
|
1139
|
+
"document": "为生成结果图添加显式水印标识的开关,默认为1。 \n1:添加。 \n0:不添加。 \n其他数值:默认按1处理。 \n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
1140
|
+
"example": "无",
|
1141
|
+
"member": "int64",
|
1142
|
+
"name": "LogoAdd",
|
1143
|
+
"required": false,
|
1144
|
+
"type": "int"
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"disabled": false,
|
1148
|
+
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
1149
|
+
"example": "无",
|
1150
|
+
"member": "LogoParam",
|
1151
|
+
"name": "LogoParam",
|
1152
|
+
"required": false,
|
1153
|
+
"type": "object"
|
1154
|
+
}
|
1155
|
+
],
|
1156
|
+
"type": "object"
|
1157
|
+
},
|
1158
|
+
"SubmitHunyuanImageChatJobResponse": {
|
1159
|
+
"document": "SubmitHunyuanImageChatJob返回参数结构体",
|
1160
|
+
"members": [
|
1161
|
+
{
|
1162
|
+
"disabled": false,
|
1163
|
+
"document": "任务 ID。",
|
1164
|
+
"example": "无",
|
1165
|
+
"member": "string",
|
1166
|
+
"name": "JobId",
|
1167
|
+
"output_required": false,
|
1168
|
+
"type": "string",
|
1169
|
+
"value_allowed_null": false
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1173
|
+
"member": "string",
|
1174
|
+
"name": "RequestId",
|
1175
|
+
"type": "string"
|
1176
|
+
}
|
1177
|
+
],
|
1178
|
+
"type": "object"
|
1179
|
+
},
|
945
1180
|
"SubmitHunyuanImageJobRequest": {
|
946
1181
|
"document": "SubmitHunyuanImageJob请求参数结构体",
|
947
1182
|
"members": [
|
@@ -80,6 +80,14 @@
|
|
80
80
|
"title": "调用接口成功案例"
|
81
81
|
}
|
82
82
|
],
|
83
|
+
"QueryHunyuanImageChatJob": [
|
84
|
+
{
|
85
|
+
"document": "成功查询",
|
86
|
+
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryHunyuanImageChatJob\n<公共请求参数>\n\n{\n \"JobId\": \"test\"\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"ChatId\": \"1219898325508988928\",\n \"History\": [\n {\n \"ChatId\": \"1219898325508988928\",\n \"Prompt\": \"雪山\",\n \"RevisedPrompt\": \"摄影风格,画面主要描述一座雄伟的山峰,山顶覆盖着白雪,阳光照耀下闪耀着光芒,背景是蔚蓝的天空,镜头是全景\",\n \"Seed\": 1763557528\n }\n ],\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"5\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"da0634c6-7b6b-4115-9081-bd2d20a860ca\",\n \"ResultDetails\": [\n \"Success\"\n ],\n \"ResultImage\": [\n \"https:/result.jpg\"\n ]\n }\n}",
|
88
|
+
"title": "成功查询"
|
89
|
+
}
|
90
|
+
],
|
83
91
|
"QueryHunyuanImageJob": [
|
84
92
|
{
|
85
93
|
"document": "成功查询",
|
@@ -96,6 +104,14 @@
|
|
96
104
|
"title": "示例\t"
|
97
105
|
}
|
98
106
|
],
|
107
|
+
"SubmitHunyuanImageChatJob": [
|
108
|
+
{
|
109
|
+
"document": "调用成功",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitHunyuanImageChatJob\n<公共请求参数>\n\n{\n \"Prompt\": \"雪山\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"test\",\n \"RequestId\": \"9723dd95-d217-46ff-a556-2cc760142737\"\n }\n}",
|
112
|
+
"title": "调用成功"
|
113
|
+
}
|
114
|
+
],
|
99
115
|
"SubmitHunyuanImageJob": [
|
100
116
|
{
|
101
117
|
"document": "调用成功",
|
@@ -1213,8 +1213,8 @@
|
|
1213
1213
|
},
|
1214
1214
|
{
|
1215
1215
|
"disabled": false,
|
1216
|
-
"document": "License
|
1217
|
-
"example": "
|
1216
|
+
"document": "License数,只支持50,500,1000,5000,10000,20000,50000",
|
1217
|
+
"example": "50",
|
1218
1218
|
"member": "int64",
|
1219
1219
|
"name": "DeductNum",
|
1220
1220
|
"required": true,
|
@@ -5063,6 +5063,58 @@ def doDescribeIdentityCenter(args, parsed_globals):
|
|
5063
5063
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5064
5064
|
|
5065
5065
|
|
5066
|
+
def doSendOrgMemberAccountBindEmail(args, parsed_globals):
|
5067
|
+
g_param = parse_global_arg(parsed_globals)
|
5068
|
+
|
5069
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5070
|
+
cred = credential.CVMRoleCredential()
|
5071
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5072
|
+
cred = credential.STSAssumeRoleCredential(
|
5073
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5074
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5075
|
+
)
|
5076
|
+
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):
|
5077
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5078
|
+
else:
|
5079
|
+
cred = credential.Credential(
|
5080
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5081
|
+
)
|
5082
|
+
http_profile = HttpProfile(
|
5083
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5084
|
+
reqMethod="POST",
|
5085
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5086
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5087
|
+
)
|
5088
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5089
|
+
if g_param[OptionsDefine.Language]:
|
5090
|
+
profile.language = g_param[OptionsDefine.Language]
|
5091
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5092
|
+
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
5093
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5094
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5095
|
+
model = models.SendOrgMemberAccountBindEmailRequest()
|
5096
|
+
model.from_json_string(json.dumps(args))
|
5097
|
+
start_time = time.time()
|
5098
|
+
while True:
|
5099
|
+
rsp = client.SendOrgMemberAccountBindEmail(model)
|
5100
|
+
result = rsp.to_json_string()
|
5101
|
+
try:
|
5102
|
+
json_obj = json.loads(result)
|
5103
|
+
except TypeError as e:
|
5104
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5105
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5106
|
+
break
|
5107
|
+
cur_time = time.time()
|
5108
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5109
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5110
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5111
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5112
|
+
else:
|
5113
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5114
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5115
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5116
|
+
|
5117
|
+
|
5066
5118
|
def doGetZoneStatistics(args, parsed_globals):
|
5067
5119
|
g_param = parse_global_arg(parsed_globals)
|
5068
5120
|
|
@@ -6733,6 +6785,7 @@ ACTION_MAP = {
|
|
6733
6785
|
"ListPoliciesForTarget": doListPoliciesForTarget,
|
6734
6786
|
"DescribeOrganizationMemberAuthIdentities": doDescribeOrganizationMemberAuthIdentities,
|
6735
6787
|
"DescribeIdentityCenter": doDescribeIdentityCenter,
|
6788
|
+
"SendOrgMemberAccountBindEmail": doSendOrgMemberAccountBindEmail,
|
6736
6789
|
"GetZoneStatistics": doGetZoneStatistics,
|
6737
6790
|
"DetachPolicy": doDetachPolicy,
|
6738
6791
|
"DeleteShareUnitMembers": doDeleteShareUnitMembers,
|
@@ -714,6 +714,13 @@
|
|
714
714
|
"output": "RemoveUserFromGroupResponse",
|
715
715
|
"status": "online"
|
716
716
|
},
|
717
|
+
"SendOrgMemberAccountBindEmail": {
|
718
|
+
"document": "重新发送成员绑定邮箱激活邮件",
|
719
|
+
"input": "SendOrgMemberAccountBindEmailRequest",
|
720
|
+
"name": "重新发送成员绑定邮箱激活邮件",
|
721
|
+
"output": "SendOrgMemberAccountBindEmailResponse",
|
722
|
+
"status": "online"
|
723
|
+
},
|
717
724
|
"SetExternalSAMLIdentityProvider": {
|
718
725
|
"document": "配置SAML身份提供商信息",
|
719
726
|
"input": "SetExternalSAMLIdentityProviderRequest",
|
@@ -10012,6 +10019,42 @@
|
|
10012
10019
|
],
|
10013
10020
|
"usage": "both"
|
10014
10021
|
},
|
10022
|
+
"SendOrgMemberAccountBindEmailRequest": {
|
10023
|
+
"document": "SendOrgMemberAccountBindEmail请求参数结构体",
|
10024
|
+
"members": [
|
10025
|
+
{
|
10026
|
+
"disabled": false,
|
10027
|
+
"document": "成员Uin。",
|
10028
|
+
"example": "111111111111",
|
10029
|
+
"member": "int64",
|
10030
|
+
"name": "MemberUin",
|
10031
|
+
"required": true,
|
10032
|
+
"type": "int"
|
10033
|
+
},
|
10034
|
+
{
|
10035
|
+
"disabled": false,
|
10036
|
+
"document": "绑定ID。可以通过[DescribeOrganizationMemberEmailBind](https://cloud.tencent.com/document/product/850/93332)获取",
|
10037
|
+
"example": "12",
|
10038
|
+
"member": "int64",
|
10039
|
+
"name": "BindId",
|
10040
|
+
"required": true,
|
10041
|
+
"type": "int"
|
10042
|
+
}
|
10043
|
+
],
|
10044
|
+
"type": "object"
|
10045
|
+
},
|
10046
|
+
"SendOrgMemberAccountBindEmailResponse": {
|
10047
|
+
"document": "SendOrgMemberAccountBindEmail返回参数结构体",
|
10048
|
+
"members": [
|
10049
|
+
{
|
10050
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10051
|
+
"member": "string",
|
10052
|
+
"name": "RequestId",
|
10053
|
+
"type": "string"
|
10054
|
+
}
|
10055
|
+
],
|
10056
|
+
"type": "object"
|
10057
|
+
},
|
10015
10058
|
"SetExternalSAMLIdentityProviderRequest": {
|
10016
10059
|
"document": "SetExternalSAMLIdentityProvider请求参数结构体",
|
10017
10060
|
"members": [
|
@@ -816,6 +816,14 @@
|
|
816
816
|
"title": "从用户组中移除用户"
|
817
817
|
}
|
818
818
|
],
|
819
|
+
"SendOrgMemberAccountBindEmail": [
|
820
|
+
{
|
821
|
+
"document": "",
|
822
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendOrgMemberAccountBindEmail\n<公共请求参数>\n\n{\n \"MemberUin\": 111111111111,\n \"BindId\": 12\n}",
|
823
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
|
824
|
+
"title": "重新发送成员绑定邮箱激活邮件"
|
825
|
+
}
|
826
|
+
],
|
819
827
|
"SetExternalSAMLIdentityProvider": [
|
820
828
|
{
|
821
829
|
"document": "配置SAML身份提供商信息",
|
@@ -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
|
}
|
@@ -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"
|