tccli 3.0.1321.1__py2.py3-none-any.whl → 3.0.1323.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/batch/v20170312/api.json +18 -18
- tccli/services/bh/v20230418/api.json +203 -0
- tccli/services/bi/v20220105/api.json +69 -1
- tccli/services/cam/v20190116/api.json +18 -18
- tccli/services/cbs/v20170312/api.json +5 -5
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +506 -1
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +10 -1
- tccli/services/cfw/v20190904/api.json +6 -6
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +10 -0
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +148 -4
- tccli/services/dlc/v20210125/api.json +11 -9
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +218 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/goosefs/v20220519/api.json +4 -4
- tccli/services/gs/v20191118/api.json +10 -0
- tccli/services/gs/v20191118/examples.json +1 -1
- tccli/services/keewidb/v20220308/api.json +6 -4
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +2 -2
- tccli/services/lkeap/v20240522/api.json +2 -2
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +27 -0
- tccli/services/oceanus/v20190422/api.json +425 -13
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ses/ses_client.py +53 -0
- tccli/services/ses/v20201002/api.json +102 -0
- tccli/services/ses/v20201002/examples.json +8 -0
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/ssl/v20191205/api.json +10 -0
- tccli/services/tag/v20180813/api.json +26 -26
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/tione/v20211111/api.json +43 -1
- tccli/services/trabbit/v20230418/api.json +20 -0
- tccli/services/trabbit/v20230418/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +2 -2
- tccli/services/tsf/v20180326/api.json +12 -1
- tccli/services/vpc/v20170312/api.json +62 -4
- tccli/services/vpc/v20170312/examples.json +28 -0
- tccli/services/vpc/vpc_client.py +122 -16
- tccli/services/wedata/v20210820/api.json +110 -6
- tccli/services/wedata/v20210820/examples.json +3 -3
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1323.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1323.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1323.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1323.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1323.1.dist-info}/license_files/LICENSE +0 -0
@@ -442,7 +442,7 @@
|
|
442
442
|
{
|
443
443
|
"disabled": false,
|
444
444
|
"document": "集群名称",
|
445
|
-
"example": "
|
445
|
+
"example": "cluster",
|
446
446
|
"member": "string",
|
447
447
|
"name": "Name",
|
448
448
|
"output_required": true,
|
@@ -491,7 +491,7 @@
|
|
491
491
|
},
|
492
492
|
{
|
493
493
|
"disabled": false,
|
494
|
-
"document": "集群状态, 1
|
494
|
+
"document": "集群状态, 1 未初始化,3 初始化中,2 运行中",
|
495
495
|
"example": "1",
|
496
496
|
"member": "int64",
|
497
497
|
"name": "Status",
|
@@ -572,7 +572,7 @@
|
|
572
572
|
{
|
573
573
|
"disabled": false,
|
574
574
|
"document": "网络",
|
575
|
-
"example": "
|
575
|
+
"example": "ccn-a",
|
576
576
|
"member": "CCN",
|
577
577
|
"name": "CCNs",
|
578
578
|
"output_required": true,
|
@@ -602,7 +602,7 @@
|
|
602
602
|
{
|
603
603
|
"disabled": false,
|
604
604
|
"document": "集群绑定的标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
605
|
-
"example": "
|
605
|
+
"example": "tag",
|
606
606
|
"member": "Tag",
|
607
607
|
"name": "Tags",
|
608
608
|
"output_required": true,
|
@@ -612,7 +612,7 @@
|
|
612
612
|
{
|
613
613
|
"disabled": false,
|
614
614
|
"document": "集群隔离时间; 没隔离时间,则为 -\n注意:此字段可能返回 null,表示取不到有效值。",
|
615
|
-
"example": "-",
|
615
|
+
"example": "2024-12-12 10:00:00",
|
616
616
|
"member": "string",
|
617
617
|
"name": "IsolatedTime",
|
618
618
|
"output_required": true,
|
@@ -622,7 +622,7 @@
|
|
622
622
|
{
|
623
623
|
"disabled": false,
|
624
624
|
"document": "集群过期时间; 没过期概念,则为 -\n注意:此字段可能返回 null,表示取不到有效值。",
|
625
|
-
"example": "-",
|
625
|
+
"example": "2024-12-12 10:00:00",
|
626
626
|
"member": "string",
|
627
627
|
"name": "ExpireTime",
|
628
628
|
"output_required": true,
|
@@ -632,7 +632,7 @@
|
|
632
632
|
{
|
633
633
|
"disabled": false,
|
634
634
|
"document": "距离过期还有多少秒; 没过期概念,则为 -\n注意:此字段可能返回 null,表示取不到有效值。",
|
635
|
-
"example": "-",
|
635
|
+
"example": "2024-12-12 10:00:00",
|
636
636
|
"member": "string",
|
637
637
|
"name": "SecondsUntilExpiry",
|
638
638
|
"output_required": true,
|
@@ -702,7 +702,7 @@
|
|
702
702
|
{
|
703
703
|
"disabled": false,
|
704
704
|
"document": "集群的版本信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
705
|
-
"example": "
|
705
|
+
"example": "2019",
|
706
706
|
"member": "ClusterVersion",
|
707
707
|
"name": "Version",
|
708
708
|
"output_required": true,
|
@@ -722,7 +722,7 @@
|
|
722
722
|
{
|
723
723
|
"disabled": false,
|
724
724
|
"document": "集群的默认日志采集配置\n注意:此字段可能返回 null,表示取不到有效值。",
|
725
|
-
"example": "
|
725
|
+
"example": "log",
|
726
726
|
"member": "string",
|
727
727
|
"name": "DefaultLogCollectConf",
|
728
728
|
"output_required": true,
|
@@ -742,7 +742,7 @@
|
|
742
742
|
{
|
743
743
|
"disabled": false,
|
744
744
|
"document": "空间信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
745
|
-
"example": "
|
745
|
+
"example": "space-aa",
|
746
746
|
"member": "WorkSpaceClusterItem",
|
747
747
|
"name": "Correlations",
|
748
748
|
"output_required": true,
|
@@ -882,7 +882,7 @@
|
|
882
882
|
{
|
883
883
|
"disabled": false,
|
884
884
|
"document": "集群类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
885
|
-
"example": "\"\"",
|
885
|
+
"example": "\"1\"",
|
886
886
|
"member": "string",
|
887
887
|
"name": "BillingResourceMode",
|
888
888
|
"output_required": false,
|
@@ -948,6 +948,16 @@
|
|
948
948
|
"output_required": false,
|
949
949
|
"type": "float",
|
950
950
|
"value_allowed_null": false
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"disabled": false,
|
954
|
+
"document": "setats集群\n注意:此字段可能返回 null,表示取不到有效值。",
|
955
|
+
"example": "无",
|
956
|
+
"member": "Setats",
|
957
|
+
"name": "Setats",
|
958
|
+
"output_required": false,
|
959
|
+
"type": "object",
|
960
|
+
"value_allowed_null": true
|
951
961
|
}
|
952
962
|
],
|
953
963
|
"usage": "out"
|
@@ -3453,7 +3463,7 @@
|
|
3453
3463
|
{
|
3454
3464
|
"disabled": false,
|
3455
3465
|
"document": "按照一个或者多个作业ID查询。作业ID形如:cql-11112222,每次请求的作业上限为100。参数不支持同时指定JobIds和Filters。",
|
3456
|
-
"example": "[]",
|
3466
|
+
"example": "[\"cql-123\"]",
|
3457
3467
|
"member": "string",
|
3458
3468
|
"name": "JobIds",
|
3459
3469
|
"required": false,
|
@@ -3503,6 +3513,15 @@
|
|
3503
3513
|
"name": "ExtraResult",
|
3504
3514
|
"required": false,
|
3505
3515
|
"type": "list"
|
3516
|
+
},
|
3517
|
+
{
|
3518
|
+
"disabled": false,
|
3519
|
+
"document": "查询引用connector",
|
3520
|
+
"example": "setats",
|
3521
|
+
"member": "string",
|
3522
|
+
"name": "ConnectorOptions",
|
3523
|
+
"required": false,
|
3524
|
+
"type": "string"
|
3506
3525
|
}
|
3507
3526
|
],
|
3508
3527
|
"type": "object"
|
@@ -3523,7 +3542,7 @@
|
|
3523
3542
|
{
|
3524
3543
|
"disabled": false,
|
3525
3544
|
"document": "作业列表",
|
3526
|
-
"example": "[]",
|
3545
|
+
"example": "[{}]",
|
3527
3546
|
"member": "JobV1",
|
3528
3547
|
"name": "JobSet",
|
3529
3548
|
"output_required": true,
|
@@ -6732,6 +6751,78 @@
|
|
6732
6751
|
],
|
6733
6752
|
"usage": "out"
|
6734
6753
|
},
|
6754
|
+
"ResourceRefLatest": {
|
6755
|
+
"document": "资源引用",
|
6756
|
+
"members": [
|
6757
|
+
{
|
6758
|
+
"disabled": false,
|
6759
|
+
"document": "资源id\n注意:此字段可能返回 null,表示取不到有效值。",
|
6760
|
+
"example": "resource-123",
|
6761
|
+
"member": "string",
|
6762
|
+
"name": "ResourceId",
|
6763
|
+
"output_required": false,
|
6764
|
+
"required": false,
|
6765
|
+
"type": "string",
|
6766
|
+
"value_allowed_null": true
|
6767
|
+
},
|
6768
|
+
{
|
6769
|
+
"disabled": false,
|
6770
|
+
"document": "版本号\n注意:此字段可能返回 null,表示取不到有效值。",
|
6771
|
+
"example": "1",
|
6772
|
+
"member": "int64",
|
6773
|
+
"name": "Version",
|
6774
|
+
"output_required": false,
|
6775
|
+
"required": false,
|
6776
|
+
"type": "int",
|
6777
|
+
"value_allowed_null": true
|
6778
|
+
},
|
6779
|
+
{
|
6780
|
+
"disabled": false,
|
6781
|
+
"document": "资源类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
6782
|
+
"example": "1",
|
6783
|
+
"member": "int64",
|
6784
|
+
"name": "Type",
|
6785
|
+
"output_required": false,
|
6786
|
+
"required": false,
|
6787
|
+
"type": "int",
|
6788
|
+
"value_allowed_null": true
|
6789
|
+
},
|
6790
|
+
{
|
6791
|
+
"disabled": false,
|
6792
|
+
"document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
6793
|
+
"example": "1",
|
6794
|
+
"member": "int64",
|
6795
|
+
"name": "Status",
|
6796
|
+
"output_required": false,
|
6797
|
+
"required": false,
|
6798
|
+
"type": "int",
|
6799
|
+
"value_allowed_null": true
|
6800
|
+
},
|
6801
|
+
{
|
6802
|
+
"disabled": false,
|
6803
|
+
"document": "空间id\n注意:此字段可能返回 null,表示取不到有效值。",
|
6804
|
+
"example": "space-g7pfiemf",
|
6805
|
+
"member": "string",
|
6806
|
+
"name": "WorkspaceId",
|
6807
|
+
"output_required": false,
|
6808
|
+
"required": false,
|
6809
|
+
"type": "string",
|
6810
|
+
"value_allowed_null": true
|
6811
|
+
},
|
6812
|
+
{
|
6813
|
+
"disabled": false,
|
6814
|
+
"document": "资源名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
6815
|
+
"example": "c.conf",
|
6816
|
+
"member": "string",
|
6817
|
+
"name": "Name",
|
6818
|
+
"output_required": false,
|
6819
|
+
"required": false,
|
6820
|
+
"type": "string",
|
6821
|
+
"value_allowed_null": true
|
6822
|
+
}
|
6823
|
+
],
|
6824
|
+
"usage": "both"
|
6825
|
+
},
|
6735
6826
|
"ResultColumn": {
|
6736
6827
|
"document": "Sql Gateway返回Column类型",
|
6737
6828
|
"members": [
|
@@ -7314,6 +7405,222 @@
|
|
7314
7405
|
],
|
7315
7406
|
"usage": "both"
|
7316
7407
|
},
|
7408
|
+
"Setats": {
|
7409
|
+
"document": "setats类型",
|
7410
|
+
"members": [
|
7411
|
+
{
|
7412
|
+
"disabled": false,
|
7413
|
+
"document": "setats serialId\n注意:此字段可能返回 null,表示取不到有效值。",
|
7414
|
+
"example": "setats-dx1",
|
7415
|
+
"member": "string",
|
7416
|
+
"name": "SetatsSerialId",
|
7417
|
+
"output_required": false,
|
7418
|
+
"required": false,
|
7419
|
+
"type": "string",
|
7420
|
+
"value_allowed_null": true
|
7421
|
+
},
|
7422
|
+
{
|
7423
|
+
"disabled": false,
|
7424
|
+
"document": "1 // 停止\n2 // 运行中\n3 // 初始化中\n4 // 扩容中\n5 // Warehoouse未配置\n6 // Warehoouse配置中\n7 // 重启中\n-2 // 已删除(集群被销毁时更新为此状态)\n注意:此字段可能返回 null,表示取不到有效值。",
|
7425
|
+
"example": "2",
|
7426
|
+
"member": "int64",
|
7427
|
+
"name": "Status",
|
7428
|
+
"output_required": false,
|
7429
|
+
"required": false,
|
7430
|
+
"type": "int",
|
7431
|
+
"value_allowed_null": true
|
7432
|
+
},
|
7433
|
+
{
|
7434
|
+
"disabled": false,
|
7435
|
+
"document": "setats warehouse\n注意:此字段可能返回 null,表示取不到有效值。",
|
7436
|
+
"example": "{\"\"}",
|
7437
|
+
"member": "Warehouse",
|
7438
|
+
"name": "Warehouse",
|
7439
|
+
"output_required": false,
|
7440
|
+
"required": false,
|
7441
|
+
"type": "object",
|
7442
|
+
"value_allowed_null": true
|
7443
|
+
},
|
7444
|
+
{
|
7445
|
+
"disabled": false,
|
7446
|
+
"document": "setats master 机器规格\n注意:此字段可能返回 null,表示取不到有效值。",
|
7447
|
+
"example": "{\"\"}",
|
7448
|
+
"member": "SetatsCvmInfo",
|
7449
|
+
"name": "MasterInfo",
|
7450
|
+
"output_required": false,
|
7451
|
+
"required": false,
|
7452
|
+
"type": "object",
|
7453
|
+
"value_allowed_null": true
|
7454
|
+
},
|
7455
|
+
{
|
7456
|
+
"disabled": false,
|
7457
|
+
"document": "setats worker规格\n注意:此字段可能返回 null,表示取不到有效值。",
|
7458
|
+
"example": "{\"\"}",
|
7459
|
+
"member": "SetatsCvmInfo",
|
7460
|
+
"name": "WorkerInfo",
|
7461
|
+
"output_required": false,
|
7462
|
+
"required": false,
|
7463
|
+
"type": "object",
|
7464
|
+
"value_allowed_null": true
|
7465
|
+
},
|
7466
|
+
{
|
7467
|
+
"disabled": false,
|
7468
|
+
"document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
7469
|
+
"example": "[\"\"]",
|
7470
|
+
"member": "Tag",
|
7471
|
+
"name": "Tags",
|
7472
|
+
"output_required": false,
|
7473
|
+
"required": false,
|
7474
|
+
"type": "list",
|
7475
|
+
"value_allowed_null": true
|
7476
|
+
},
|
7477
|
+
{
|
7478
|
+
"disabled": false,
|
7479
|
+
"document": "自动续费\n注意:此字段可能返回 null,表示取不到有效值。",
|
7480
|
+
"example": "1",
|
7481
|
+
"member": "int64",
|
7482
|
+
"name": "AutoRenewFlag",
|
7483
|
+
"output_required": false,
|
7484
|
+
"required": false,
|
7485
|
+
"type": "int",
|
7486
|
+
"value_allowed_null": true
|
7487
|
+
},
|
7488
|
+
{
|
7489
|
+
"disabled": false,
|
7490
|
+
"document": "过期时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7491
|
+
"example": "2025-11-11 11:11:11",
|
7492
|
+
"member": "string",
|
7493
|
+
"name": "ExpireTime",
|
7494
|
+
"output_required": false,
|
7495
|
+
"required": false,
|
7496
|
+
"type": "string",
|
7497
|
+
"value_allowed_null": true
|
7498
|
+
},
|
7499
|
+
{
|
7500
|
+
"disabled": false,
|
7501
|
+
"document": "过期时间 秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
7502
|
+
"example": "123",
|
7503
|
+
"member": "string",
|
7504
|
+
"name": "SecondsUntilExpiry",
|
7505
|
+
"output_required": false,
|
7506
|
+
"required": false,
|
7507
|
+
"type": "string",
|
7508
|
+
"value_allowed_null": true
|
7509
|
+
},
|
7510
|
+
{
|
7511
|
+
"disabled": false,
|
7512
|
+
"document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7513
|
+
"example": "2025-11-11 11:11:11",
|
7514
|
+
"member": "string",
|
7515
|
+
"name": "CreateTime",
|
7516
|
+
"output_required": false,
|
7517
|
+
"required": false,
|
7518
|
+
"type": "string",
|
7519
|
+
"value_allowed_null": true
|
7520
|
+
},
|
7521
|
+
{
|
7522
|
+
"disabled": false,
|
7523
|
+
"document": "manager url\n注意:此字段可能返回 null,表示取不到有效值。",
|
7524
|
+
"example": "127.0.0.1:6072",
|
7525
|
+
"member": "string",
|
7526
|
+
"name": "ManagerUrl",
|
7527
|
+
"output_required": false,
|
7528
|
+
"required": false,
|
7529
|
+
"type": "string",
|
7530
|
+
"value_allowed_null": true
|
7531
|
+
},
|
7532
|
+
{
|
7533
|
+
"disabled": false,
|
7534
|
+
"document": "隔离时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7535
|
+
"example": "2025-11-11 11:11:11",
|
7536
|
+
"member": "string",
|
7537
|
+
"name": "IsolatedTime",
|
7538
|
+
"output_required": false,
|
7539
|
+
"required": false,
|
7540
|
+
"type": "string",
|
7541
|
+
"value_allowed_null": true
|
7542
|
+
}
|
7543
|
+
],
|
7544
|
+
"usage": "both"
|
7545
|
+
},
|
7546
|
+
"SetatsCvmInfo": {
|
7547
|
+
"document": "setats 机器规格",
|
7548
|
+
"members": [
|
7549
|
+
{
|
7550
|
+
"disabled": false,
|
7551
|
+
"document": "setats机器cpu\n注意:此字段可能返回 null,表示取不到有效值。",
|
7552
|
+
"example": "8",
|
7553
|
+
"member": "float",
|
7554
|
+
"name": "Cpu",
|
7555
|
+
"output_required": false,
|
7556
|
+
"required": false,
|
7557
|
+
"type": "float",
|
7558
|
+
"value_allowed_null": true
|
7559
|
+
},
|
7560
|
+
{
|
7561
|
+
"disabled": false,
|
7562
|
+
"document": "setats机器内存\n注意:此字段可能返回 null,表示取不到有效值。",
|
7563
|
+
"example": "32",
|
7564
|
+
"member": "float",
|
7565
|
+
"name": "Mem",
|
7566
|
+
"output_required": false,
|
7567
|
+
"required": false,
|
7568
|
+
"type": "float",
|
7569
|
+
"value_allowed_null": true
|
7570
|
+
},
|
7571
|
+
{
|
7572
|
+
"disabled": false,
|
7573
|
+
"document": "setats worker 并行度\n注意:此字段可能返回 null,表示取不到有效值。",
|
7574
|
+
"example": "2",
|
7575
|
+
"member": "int64",
|
7576
|
+
"name": "DefaultParallelism",
|
7577
|
+
"output_required": false,
|
7578
|
+
"required": false,
|
7579
|
+
"type": "int",
|
7580
|
+
"value_allowed_null": true
|
7581
|
+
},
|
7582
|
+
{
|
7583
|
+
"disabled": false,
|
7584
|
+
"document": "setats 机器磁盘\n注意:此字段可能返回 null,表示取不到有效值。",
|
7585
|
+
"example": "无",
|
7586
|
+
"member": "SetatsDisk",
|
7587
|
+
"name": "Disk",
|
7588
|
+
"output_required": false,
|
7589
|
+
"required": false,
|
7590
|
+
"type": "object",
|
7591
|
+
"value_allowed_null": true
|
7592
|
+
}
|
7593
|
+
],
|
7594
|
+
"usage": "both"
|
7595
|
+
},
|
7596
|
+
"SetatsDisk": {
|
7597
|
+
"document": "setats disk",
|
7598
|
+
"members": [
|
7599
|
+
{
|
7600
|
+
"disabled": false,
|
7601
|
+
"document": "磁盘类型\nCLOUD_BSSD\nCLOUD_SSD\nCLOUD_HSSD\nCLOUD_PREMIUM\n注意:此字段可能返回 null,表示取不到有效值。",
|
7602
|
+
"example": "CLOUD_PREMIUM",
|
7603
|
+
"member": "string",
|
7604
|
+
"name": "DiskType",
|
7605
|
+
"output_required": false,
|
7606
|
+
"required": false,
|
7607
|
+
"type": "string",
|
7608
|
+
"value_allowed_null": true
|
7609
|
+
},
|
7610
|
+
{
|
7611
|
+
"disabled": false,
|
7612
|
+
"document": "磁盘大小\n注意:此字段可能返回 null,表示取不到有效值。",
|
7613
|
+
"example": "160",
|
7614
|
+
"member": "int64",
|
7615
|
+
"name": "DiskSize",
|
7616
|
+
"output_required": false,
|
7617
|
+
"required": false,
|
7618
|
+
"type": "int",
|
7619
|
+
"value_allowed_null": true
|
7620
|
+
}
|
7621
|
+
],
|
7622
|
+
"usage": "both"
|
7623
|
+
},
|
7317
7624
|
"SlotSharingGroup": {
|
7318
7625
|
"document": "SlotSharingGroup 描述",
|
7319
7626
|
"members": [
|
@@ -8142,6 +8449,111 @@
|
|
8142
8449
|
],
|
8143
8450
|
"type": "object"
|
8144
8451
|
},
|
8452
|
+
"Warehouse": {
|
8453
|
+
"document": "Setats Warehouse结构",
|
8454
|
+
"members": [
|
8455
|
+
{
|
8456
|
+
"disabled": false,
|
8457
|
+
"document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
8458
|
+
"example": "2",
|
8459
|
+
"member": "int64",
|
8460
|
+
"name": "Status",
|
8461
|
+
"output_required": false,
|
8462
|
+
"required": false,
|
8463
|
+
"type": "int",
|
8464
|
+
"value_allowed_null": true
|
8465
|
+
},
|
8466
|
+
{
|
8467
|
+
"disabled": false,
|
8468
|
+
"document": "location\n注意:此字段可能返回 null,表示取不到有效值。",
|
8469
|
+
"example": "cos",
|
8470
|
+
"member": "string",
|
8471
|
+
"name": "Location",
|
8472
|
+
"output_required": false,
|
8473
|
+
"required": false,
|
8474
|
+
"type": "string",
|
8475
|
+
"value_allowed_null": true
|
8476
|
+
},
|
8477
|
+
{
|
8478
|
+
"disabled": false,
|
8479
|
+
"document": "catalogtype\n注意:此字段可能返回 null,表示取不到有效值。",
|
8480
|
+
"example": "hadoop",
|
8481
|
+
"member": "string",
|
8482
|
+
"name": "CatalogType",
|
8483
|
+
"output_required": false,
|
8484
|
+
"required": false,
|
8485
|
+
"type": "string",
|
8486
|
+
"value_allowed_null": true
|
8487
|
+
},
|
8488
|
+
{
|
8489
|
+
"disabled": false,
|
8490
|
+
"document": "uri\n注意:此字段可能返回 null,表示取不到有效值。",
|
8491
|
+
"example": "uri",
|
8492
|
+
"member": "string",
|
8493
|
+
"name": "Uri",
|
8494
|
+
"output_required": false,
|
8495
|
+
"required": false,
|
8496
|
+
"type": "string",
|
8497
|
+
"value_allowed_null": true
|
8498
|
+
},
|
8499
|
+
{
|
8500
|
+
"disabled": false,
|
8501
|
+
"document": "warehouse url\n注意:此字段可能返回 null,表示取不到有效值。",
|
8502
|
+
"example": "hdfs://HDFS1018835/usr/setats",
|
8503
|
+
"member": "string",
|
8504
|
+
"name": "WarehouseUrl",
|
8505
|
+
"output_required": false,
|
8506
|
+
"required": false,
|
8507
|
+
"type": "string",
|
8508
|
+
"value_allowed_null": true
|
8509
|
+
},
|
8510
|
+
{
|
8511
|
+
"disabled": false,
|
8512
|
+
"document": "认证方式\n注意:此字段可能返回 null,表示取不到有效值。",
|
8513
|
+
"example": "kerberos",
|
8514
|
+
"member": "string",
|
8515
|
+
"name": "Authentication",
|
8516
|
+
"output_required": false,
|
8517
|
+
"required": false,
|
8518
|
+
"type": "string",
|
8519
|
+
"value_allowed_null": true
|
8520
|
+
},
|
8521
|
+
{
|
8522
|
+
"disabled": false,
|
8523
|
+
"document": "资源\n注意:此字段可能返回 null,表示取不到有效值。",
|
8524
|
+
"example": "无",
|
8525
|
+
"member": "ResourceRefLatest",
|
8526
|
+
"name": "ResourceRefs",
|
8527
|
+
"output_required": false,
|
8528
|
+
"required": false,
|
8529
|
+
"type": "list",
|
8530
|
+
"value_allowed_null": true
|
8531
|
+
},
|
8532
|
+
{
|
8533
|
+
"disabled": false,
|
8534
|
+
"document": "hive warehouse uri\n注意:此字段可能返回 null,表示取不到有效值。",
|
8535
|
+
"example": "thrift://172.28.22.40:7004",
|
8536
|
+
"member": "string",
|
8537
|
+
"name": "HiveUri",
|
8538
|
+
"output_required": false,
|
8539
|
+
"required": false,
|
8540
|
+
"type": "string",
|
8541
|
+
"value_allowed_null": true
|
8542
|
+
},
|
8543
|
+
{
|
8544
|
+
"disabled": false,
|
8545
|
+
"document": "高级参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
8546
|
+
"example": "{\"\"}",
|
8547
|
+
"member": "Property",
|
8548
|
+
"name": "Properties",
|
8549
|
+
"output_required": false,
|
8550
|
+
"required": false,
|
8551
|
+
"type": "list",
|
8552
|
+
"value_allowed_null": true
|
8553
|
+
}
|
8554
|
+
],
|
8555
|
+
"usage": "both"
|
8556
|
+
},
|
8145
8557
|
"WorkSpaceClusterItem": {
|
8146
8558
|
"document": "空间和集群绑定关系",
|
8147
8559
|
"members": [
|
@@ -204,7 +204,7 @@
|
|
204
204
|
{
|
205
205
|
"document": "查询作业",
|
206
206
|
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobs\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"WorkSpaceId\": \"space-53rqk422\"\n}",
|
207
|
-
"output": "{\n \"Response\": {\n \"JobSet\": [\n {\n \"AppId\": 1257048945,\n \"ClusterId\": \"cluster-5c43n3a5\",\n \"ClusterName\": \"cluster-test\",\n \"ClusterStatus\": 2,\n \"CreateTime\": \"2023-11-20 15:19:57\",\n \"CreatorUin\": \"100032489761\",\n \"CuMem\": 4,\n \"CurrentRunMillis\": 0,\n \"FlinkVersion\": \"Flink-1.13\",\n \"JobId\": \"cql-e92rh2pb\",\n \"JobType\": 1,\n \"LastOpResult\": \"\",\n \"LatestJobConfigVersion\": 0,\n \"Name\": \"create_job_test\",\n \"OwnerUin\": \"100006376216\",\n \"PublishedJobConfigVersion\": -1,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"\",\n \"RunningCu\": 0,\n \"RunningCuNum\": 0,\n \"SchedulerType\": 2,\n \"StartTime\": \"
|
207
|
+
"output": "{\n \"Response\": {\n \"JobSet\": [\n {\n \"AppId\": 1257048945,\n \"ClusterId\": \"cluster-5c43n3a5\",\n \"ClusterName\": \"cluster-test\",\n \"ClusterStatus\": 2,\n \"CreateTime\": \"2023-11-20 15:19:57\",\n \"CreatorUin\": \"100032489761\",\n \"CuMem\": 4,\n \"CurrentRunMillis\": 0,\n \"FlinkVersion\": \"Flink-1.13\",\n \"JobId\": \"cql-e92rh2pb\",\n \"JobType\": 1,\n \"LastOpResult\": \"\",\n \"LatestJobConfigVersion\": 0,\n \"Name\": \"create_job_test\",\n \"OwnerUin\": \"100006376216\",\n \"PublishedJobConfigVersion\": -1,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"\",\n \"RunningCu\": 0,\n \"RunningCuNum\": 0,\n \"SchedulerType\": 2,\n \"StartTime\": \"2025-11-11 11:11:11\",\n \"Status\": 1,\n \"StatusDesc\": \"create\",\n \"StopTime\": \"2025-11-11 11:11:11\",\n \"Tags\": null,\n \"TotalRunMillis\": 0,\n \"UpdateTime\": \"2023-11-20 15:19:57\",\n \"WebUIUrl\": \"\",\n \"WorkSpaceId\": \"space-53rek422\",\n \"WorkSpaceName\": \"name\",\n \"Zone\": \"ap-guangzhou-7\"\n }\n ],\n \"RequestId\": \"ac6a62a7-45f1-4066-963d-eabea0f2824d\",\n \"TotalCount\": 5\n }\n}",
|
208
208
|
"title": "查询作业"
|
209
209
|
}
|
210
210
|
],
|
tccli/services/ses/ses_client.py
CHANGED
@@ -537,6 +537,58 @@ def doListBlackEmailAddress(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
+
def doListAddressUnsubscribeConfig(args, parsed_globals):
|
541
|
+
g_param = parse_global_arg(parsed_globals)
|
542
|
+
|
543
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
544
|
+
cred = credential.CVMRoleCredential()
|
545
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
546
|
+
cred = credential.STSAssumeRoleCredential(
|
547
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
548
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
549
|
+
)
|
550
|
+
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):
|
551
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
552
|
+
else:
|
553
|
+
cred = credential.Credential(
|
554
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
555
|
+
)
|
556
|
+
http_profile = HttpProfile(
|
557
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
558
|
+
reqMethod="POST",
|
559
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
560
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
561
|
+
)
|
562
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
563
|
+
if g_param[OptionsDefine.Language]:
|
564
|
+
profile.language = g_param[OptionsDefine.Language]
|
565
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
566
|
+
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
567
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
568
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
+
model = models.ListAddressUnsubscribeConfigRequest()
|
570
|
+
model.from_json_string(json.dumps(args))
|
571
|
+
start_time = time.time()
|
572
|
+
while True:
|
573
|
+
rsp = client.ListAddressUnsubscribeConfig(model)
|
574
|
+
result = rsp.to_json_string()
|
575
|
+
try:
|
576
|
+
json_obj = json.loads(result)
|
577
|
+
except TypeError as e:
|
578
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
579
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
580
|
+
break
|
581
|
+
cur_time = time.time()
|
582
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
583
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
584
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
585
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
586
|
+
else:
|
587
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
588
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
589
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
|
+
|
591
|
+
|
540
592
|
def doUpdateEmailTemplate(args, parsed_globals):
|
541
593
|
g_param = parse_global_arg(parsed_globals)
|
542
594
|
|
@@ -1650,6 +1702,7 @@ ACTION_MAP = {
|
|
1650
1702
|
"GetEmailTemplate": doGetEmailTemplate,
|
1651
1703
|
"UpdateCustomBlackList": doUpdateCustomBlackList,
|
1652
1704
|
"ListBlackEmailAddress": doListBlackEmailAddress,
|
1705
|
+
"ListAddressUnsubscribeConfig": doListAddressUnsubscribeConfig,
|
1653
1706
|
"UpdateEmailTemplate": doUpdateEmailTemplate,
|
1654
1707
|
"UpdateEmailIdentity": doUpdateEmailIdentity,
|
1655
1708
|
"DeleteEmailIdentity": doDeleteEmailIdentity,
|