tccli 3.0.1127.1__py2.py3-none-any.whl → 3.0.1129.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/asr/v20190614/api.json +7 -7
- tccli/services/asr/v20190614/examples.json +1 -1
- tccli/services/billing/v20180709/api.json +3 -2
- tccli/services/bpaas/v20181217/api.json +5 -0
- tccli/services/cat/v20180409/api.json +1 -0
- tccli/services/ccc/v20200210/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +20 -0
- tccli/services/cls/v20201016/api.json +9 -0
- tccli/services/cynosdb/v20190107/api.json +5 -3
- tccli/services/dc/v20180410/api.json +139 -121
- tccli/services/dc/v20180410/examples.json +6 -6
- tccli/services/domain/v20180808/api.json +16 -16
- tccli/services/domain/v20180808/examples.json +9 -9
- tccli/services/dsgc/v20190723/api.json +10 -1
- tccli/services/dts/v20180330/api.json +2 -2
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +354 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +10 -0
- tccli/services/ess/v20201111/api.json +4 -4
- tccli/services/ess/v20201111/examples.json +0 -6
- tccli/services/essbasic/v20210526/api.json +49 -7
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +12 -118
- tccli/services/hunyuan/v20230901/api.json +4 -264
- tccli/services/hunyuan/v20230901/examples.json +0 -58
- tccli/services/iotexplorer/v20190423/api.json +9 -0
- tccli/services/lighthouse/v20200324/api.json +2 -4
- tccli/services/monitor/v20180724/api.json +35 -21
- tccli/services/monitor/v20180724/examples.json +1 -1
- tccli/services/mps/v20190612/api.json +122 -4
- tccli/services/mrs/v20200910/api.json +315 -65
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/organization/v20210331/api.json +28 -0
- tccli/services/rce/v20201103/api.json +9 -9
- tccli/services/redis/v20180412/api.json +34 -28
- tccli/services/redis/v20180412/examples.json +4 -4
- tccli/services/tdmq/v20200217/api.json +8 -8
- tccli/services/tdmq/v20200217/examples.json +5 -5
- tccli/services/teo/v20220901/api.json +4 -4
- tccli/services/tke/v20180525/api.json +36 -28
- tccli/services/tke/v20180525/examples.json +3 -3
- tccli/services/tse/v20201207/api.json +2 -2
- tccli/services/tse/v20201207/examples.json +2 -2
- tccli/services/waf/v20180125/api.json +94 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +106 -1
- tccli/services/wedata/v20210820/examples.json +2 -2
- {tccli-3.0.1127.1.dist-info → tccli-3.0.1129.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1127.1.dist-info → tccli-3.0.1129.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1127.1.dist-info → tccli-3.0.1129.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1127.1.dist-info → tccli-3.0.1129.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1127.1.dist-info → tccli-3.0.1129.1.dist-info}/license_files/LICENSE +0 -0
@@ -1492,7 +1492,7 @@
|
|
1492
1492
|
"status": "online"
|
1493
1493
|
},
|
1494
1494
|
"UpdateEKSCluster": {
|
1495
|
-
"document": "修改弹性集群名称等属性
|
1495
|
+
"document": "修改弹性集群名称等属性",
|
1496
1496
|
"input": "UpdateEKSClusterRequest",
|
1497
1497
|
"name": "修改弹性集群EKS",
|
1498
1498
|
"output": "UpdateEKSClusterResponse",
|
@@ -3521,26 +3521,28 @@
|
|
3521
3521
|
"members": [
|
3522
3522
|
{
|
3523
3523
|
"disabled": false,
|
3524
|
-
"document": "是否开启内网访问LB",
|
3525
|
-
"example": "",
|
3524
|
+
"document": "是否开启内网访问LB\n注意:此字段可能返回 null,表示取不到有效值。",
|
3525
|
+
"example": "无",
|
3526
3526
|
"member": "bool",
|
3527
3527
|
"name": "Enabled",
|
3528
|
+
"output_required": false,
|
3528
3529
|
"required": true,
|
3529
3530
|
"type": "bool",
|
3530
|
-
"value_allowed_null":
|
3531
|
+
"value_allowed_null": true
|
3531
3532
|
},
|
3532
3533
|
{
|
3533
3534
|
"disabled": false,
|
3534
|
-
"document": "内网访问LB关联的子网Id",
|
3535
|
-
"example": "",
|
3535
|
+
"document": "内网访问LB关联的子网Id\n注意:此字段可能返回 null,表示取不到有效值。",
|
3536
|
+
"example": "无",
|
3536
3537
|
"member": "string",
|
3537
3538
|
"name": "SubnetId",
|
3539
|
+
"output_required": false,
|
3538
3540
|
"required": false,
|
3539
3541
|
"type": "string",
|
3540
|
-
"value_allowed_null":
|
3542
|
+
"value_allowed_null": true
|
3541
3543
|
}
|
3542
3544
|
],
|
3543
|
-
"usage": "
|
3545
|
+
"usage": "both"
|
3544
3546
|
},
|
3545
3547
|
"ClusterLevelAttribute": {
|
3546
3548
|
"document": "托管集群等级属性",
|
@@ -3911,56 +3913,61 @@
|
|
3911
3913
|
"members": [
|
3912
3914
|
{
|
3913
3915
|
"disabled": false,
|
3914
|
-
"document": "是否开启公网访问LB",
|
3916
|
+
"document": "是否开启公网访问LB\n注意:此字段可能返回 null,表示取不到有效值。",
|
3915
3917
|
"example": "true",
|
3916
3918
|
"member": "bool",
|
3917
3919
|
"name": "Enabled",
|
3920
|
+
"output_required": false,
|
3918
3921
|
"required": true,
|
3919
3922
|
"type": "bool",
|
3920
|
-
"value_allowed_null":
|
3923
|
+
"value_allowed_null": true
|
3921
3924
|
},
|
3922
3925
|
{
|
3923
3926
|
"disabled": false,
|
3924
|
-
"document": "允许访问的来源CIDR
|
3927
|
+
"document": "允许访问的来源CIDR列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
3925
3928
|
"example": "[]",
|
3926
3929
|
"member": "string",
|
3927
3930
|
"name": "AllowFromCidrs",
|
3931
|
+
"output_required": false,
|
3928
3932
|
"required": false,
|
3929
3933
|
"type": "list",
|
3930
|
-
"value_allowed_null":
|
3934
|
+
"value_allowed_null": true
|
3931
3935
|
},
|
3932
3936
|
{
|
3933
3937
|
"disabled": false,
|
3934
|
-
"document": "安全策略放通单个IP或CIDR(例如: \"192.168.1.0/24\",默认为拒绝所有)",
|
3938
|
+
"document": "安全策略放通单个IP或CIDR(例如: \"192.168.1.0/24\",默认为拒绝所有)\n注意:此字段可能返回 null,表示取不到有效值。",
|
3935
3939
|
"example": "[]",
|
3936
3940
|
"member": "string",
|
3937
3941
|
"name": "SecurityPolicies",
|
3942
|
+
"output_required": false,
|
3938
3943
|
"required": false,
|
3939
3944
|
"type": "list",
|
3940
|
-
"value_allowed_null":
|
3945
|
+
"value_allowed_null": true
|
3941
3946
|
},
|
3942
3947
|
{
|
3943
3948
|
"disabled": false,
|
3944
|
-
"document": "外网访问相关的扩展参数,格式为json",
|
3949
|
+
"document": "外网访问相关的扩展参数,格式为json\n注意:此字段可能返回 null,表示取不到有效值。",
|
3945
3950
|
"example": "{}",
|
3946
3951
|
"member": "string",
|
3947
3952
|
"name": "ExtraParam",
|
3953
|
+
"output_required": false,
|
3948
3954
|
"required": false,
|
3949
3955
|
"type": "string",
|
3950
|
-
"value_allowed_null":
|
3956
|
+
"value_allowed_null": true
|
3951
3957
|
},
|
3952
3958
|
{
|
3953
3959
|
"disabled": false,
|
3954
|
-
"document": "
|
3960
|
+
"document": "新内外网功能,需要传递安全组\n注意:此字段可能返回 null,表示取不到有效值。",
|
3955
3961
|
"example": "\"\"",
|
3956
3962
|
"member": "string",
|
3957
3963
|
"name": "SecurityGroup",
|
3964
|
+
"output_required": false,
|
3958
3965
|
"required": false,
|
3959
3966
|
"type": "string",
|
3960
|
-
"value_allowed_null":
|
3967
|
+
"value_allowed_null": true
|
3961
3968
|
}
|
3962
3969
|
],
|
3963
|
-
"usage": "
|
3970
|
+
"usage": "both"
|
3964
3971
|
},
|
3965
3972
|
"ClusterStatus": {
|
3966
3973
|
"document": "集群状态信息",
|
@@ -5625,7 +5632,7 @@
|
|
5625
5632
|
"example": "cls-hofqp2ie",
|
5626
5633
|
"member": "string",
|
5627
5634
|
"name": "ClusterId",
|
5628
|
-
"
|
5635
|
+
"output_required": true,
|
5629
5636
|
"type": "string",
|
5630
5637
|
"value_allowed_null": false
|
5631
5638
|
},
|
@@ -10136,7 +10143,7 @@
|
|
10136
10143
|
"example": "无",
|
10137
10144
|
"member": "IPAddress",
|
10138
10145
|
"name": "Addresses",
|
10139
|
-
"
|
10146
|
+
"output_required": true,
|
10140
10147
|
"type": "list",
|
10141
10148
|
"value_allowed_null": false
|
10142
10149
|
},
|
@@ -10146,7 +10153,7 @@
|
|
10146
10153
|
"example": "无",
|
10147
10154
|
"member": "ClusterCredential",
|
10148
10155
|
"name": "Credential",
|
10149
|
-
"
|
10156
|
+
"output_required": true,
|
10150
10157
|
"type": "object",
|
10151
10158
|
"value_allowed_null": false
|
10152
10159
|
},
|
@@ -10156,7 +10163,7 @@
|
|
10156
10163
|
"example": "无",
|
10157
10164
|
"member": "ClusterPublicLB",
|
10158
10165
|
"name": "PublicLB",
|
10159
|
-
"
|
10166
|
+
"output_required": true,
|
10160
10167
|
"type": "object",
|
10161
10168
|
"value_allowed_null": false
|
10162
10169
|
},
|
@@ -10166,7 +10173,7 @@
|
|
10166
10173
|
"example": "无",
|
10167
10174
|
"member": "ClusterInternalLB",
|
10168
10175
|
"name": "InternalLB",
|
10169
|
-
"
|
10176
|
+
"output_required": true,
|
10170
10177
|
"type": "object",
|
10171
10178
|
"value_allowed_null": false
|
10172
10179
|
},
|
@@ -10176,7 +10183,7 @@
|
|
10176
10183
|
"example": "false",
|
10177
10184
|
"member": "bool",
|
10178
10185
|
"name": "ProxyLB",
|
10179
|
-
"
|
10186
|
+
"output_required": true,
|
10180
10187
|
"type": "bool",
|
10181
10188
|
"value_allowed_null": false
|
10182
10189
|
},
|
@@ -10186,7 +10193,7 @@
|
|
10186
10193
|
"example": "\"\"",
|
10187
10194
|
"member": "string",
|
10188
10195
|
"name": "Kubeconfig",
|
10189
|
-
"
|
10196
|
+
"output_required": true,
|
10190
10197
|
"type": "string",
|
10191
10198
|
"value_allowed_null": false
|
10192
10199
|
},
|
@@ -16151,6 +16158,7 @@
|
|
16151
16158
|
"example": "无",
|
16152
16159
|
"member": "AppChart",
|
16153
16160
|
"name": "AppCharts",
|
16161
|
+
"output_required": true,
|
16154
16162
|
"type": "list",
|
16155
16163
|
"value_allowed_null": true
|
16156
16164
|
},
|
@@ -23500,7 +23508,7 @@
|
|
23500
23508
|
},
|
23501
23509
|
{
|
23502
23510
|
"disabled": false,
|
23503
|
-
"document": "
|
23511
|
+
"document": "系统,默认linux",
|
23504
23512
|
"example": "linux",
|
23505
23513
|
"member": "string",
|
23506
23514
|
"name": "Os",
|
@@ -23510,7 +23518,7 @@
|
|
23510
23518
|
},
|
23511
23519
|
{
|
23512
23520
|
"disabled": false,
|
23513
|
-
"document": "
|
23521
|
+
"document": "硬件架构,默认amd64",
|
23514
23522
|
"example": "amd64",
|
23515
23523
|
"member": "string",
|
23516
23524
|
"name": "Arch",
|
@@ -434,8 +434,8 @@
|
|
434
434
|
],
|
435
435
|
"DeleteEKSCluster": [
|
436
436
|
{
|
437
|
-
"document": "
|
438
|
-
"input": "
|
437
|
+
"document": "",
|
438
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteEKSCluster\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxxxxx\"\n}",
|
439
439
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
440
440
|
"title": "删除弹性集群"
|
441
441
|
}
|
@@ -1833,7 +1833,7 @@
|
|
1833
1833
|
"UpdateEKSCluster": [
|
1834
1834
|
{
|
1835
1835
|
"document": "修改弹性集群",
|
1836
|
-
"input": "
|
1836
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateEKSCluster\n<公共请求参数>\n\n{\n \"ServiceSubnetId\": \"subnet-xxxx\",\n \"ClusterName\": \"test_cluster1\",\n \"SubnetIds\": [\n \"subnet-xxxx\"\n ],\n \"ClusterId\": \"cls-xxxxxx\",\n \"DnsServers\": [\n {\n \"Domain\": \"exam.com\",\n \"DnsServers\": [\n \"10.2.2.88:53\"\n ]\n }\n ],\n \"ClusterDesc\": \"my_test_cluster888\"\n}",
|
1837
1837
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1838
1838
|
"title": "修改弹性集群"
|
1839
1839
|
}
|
@@ -9597,7 +9597,7 @@
|
|
9597
9597
|
"example": "20",
|
9598
9598
|
"member": "uint64",
|
9599
9599
|
"name": "TotalCount",
|
9600
|
-
"
|
9600
|
+
"output_required": true,
|
9601
9601
|
"type": "int",
|
9602
9602
|
"value_allowed_null": false
|
9603
9603
|
},
|
@@ -9607,7 +9607,7 @@
|
|
9607
9607
|
"example": "无",
|
9608
9608
|
"member": "ZookeeperServerInterface",
|
9609
9609
|
"name": "Content",
|
9610
|
-
"
|
9610
|
+
"output_required": true,
|
9611
9611
|
"type": "list",
|
9612
9612
|
"value_allowed_null": false
|
9613
9613
|
},
|
@@ -673,8 +673,8 @@
|
|
673
673
|
"DescribeZookeeperServerInterfaces": [
|
674
674
|
{
|
675
675
|
"document": "查询nacos服务接口列表",
|
676
|
-
"input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZookeeperServerInterfaces\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
677
|
-
"output": "{\n \"Response\": {\n \"Content\": [\n {\n \"Interface\": \"
|
676
|
+
"input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZookeeperServerInterfaces\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Limit\": 1,\n \"Offset\": 1\n}",
|
677
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Content\": [\n {\n \"Interface\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
678
678
|
"title": "查询nacos服务接口列表"
|
679
679
|
}
|
680
680
|
],
|
@@ -238,6 +238,13 @@
|
|
238
238
|
"output": "DescribeAntiInfoLeakageRulesResponse",
|
239
239
|
"status": "online"
|
240
240
|
},
|
241
|
+
"DescribeAreaBanSupportAreas": {
|
242
|
+
"document": "获取WAF地域封禁支持的地域列表",
|
243
|
+
"input": "DescribeAreaBanSupportAreasRequest",
|
244
|
+
"name": "获取WAF地域封禁支持的地域列表",
|
245
|
+
"output": "DescribeAreaBanSupportAreasResponse",
|
246
|
+
"status": "online"
|
247
|
+
},
|
241
248
|
"DescribeAttackOverview": {
|
242
249
|
"document": "攻击总览",
|
243
250
|
"input": "DescribeAttackOverviewRequest",
|
@@ -679,6 +686,13 @@
|
|
679
686
|
"output": "ModifyApiSecEventChangeResponse",
|
680
687
|
"status": "online"
|
681
688
|
},
|
689
|
+
"ModifyAreaBanAreas": {
|
690
|
+
"document": "修改地域封禁中的地域信息",
|
691
|
+
"input": "ModifyAreaBanAreasRequest",
|
692
|
+
"name": "修改地域封禁中地域信息",
|
693
|
+
"output": "ModifyAreaBanAreasResponse",
|
694
|
+
"status": "online"
|
695
|
+
},
|
682
696
|
"ModifyAreaBanStatus": {
|
683
697
|
"document": "修改防护域名的地域封禁状态",
|
684
698
|
"input": "ModifyAreaBanStatusRequest",
|
@@ -5920,6 +5934,32 @@
|
|
5920
5934
|
],
|
5921
5935
|
"usage": "out"
|
5922
5936
|
},
|
5937
|
+
"DescribeAreaBanSupportAreasRequest": {
|
5938
|
+
"document": "DescribeAreaBanSupportAreas请求参数结构体",
|
5939
|
+
"members": [],
|
5940
|
+
"type": "object"
|
5941
|
+
},
|
5942
|
+
"DescribeAreaBanSupportAreasResponse": {
|
5943
|
+
"document": "DescribeAreaBanSupportAreas返回参数结构体",
|
5944
|
+
"members": [
|
5945
|
+
{
|
5946
|
+
"disabled": false,
|
5947
|
+
"document": "地域封禁的地域列表,要解析成json后使用",
|
5948
|
+
"example": "",
|
5949
|
+
"member": "string",
|
5950
|
+
"name": "Data",
|
5951
|
+
"type": "string",
|
5952
|
+
"value_allowed_null": false
|
5953
|
+
},
|
5954
|
+
{
|
5955
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5956
|
+
"member": "string",
|
5957
|
+
"name": "RequestId",
|
5958
|
+
"type": "string"
|
5959
|
+
}
|
5960
|
+
],
|
5961
|
+
"type": "object"
|
5962
|
+
},
|
5923
5963
|
"DescribeAttackOverviewRequest": {
|
5924
5964
|
"document": "DescribeAttackOverview请求参数结构体",
|
5925
5965
|
"members": [
|
@@ -14297,6 +14337,60 @@
|
|
14297
14337
|
],
|
14298
14338
|
"type": "object"
|
14299
14339
|
},
|
14340
|
+
"ModifyAreaBanAreasRequest": {
|
14341
|
+
"document": "ModifyAreaBanAreas请求参数结构体",
|
14342
|
+
"members": [
|
14343
|
+
{
|
14344
|
+
"disabled": false,
|
14345
|
+
"document": "需要修改的域名",
|
14346
|
+
"example": "无",
|
14347
|
+
"member": "string",
|
14348
|
+
"name": "Domain",
|
14349
|
+
"required": true,
|
14350
|
+
"type": "string"
|
14351
|
+
},
|
14352
|
+
{
|
14353
|
+
"disabled": false,
|
14354
|
+
"document": "需要调整的地域信息,一个字符串数组",
|
14355
|
+
"example": "无",
|
14356
|
+
"member": "string",
|
14357
|
+
"name": "Areas",
|
14358
|
+
"required": true,
|
14359
|
+
"type": "list"
|
14360
|
+
},
|
14361
|
+
{
|
14362
|
+
"disabled": false,
|
14363
|
+
"document": "定时任务类型",
|
14364
|
+
"example": "无",
|
14365
|
+
"member": "string",
|
14366
|
+
"name": "JobType",
|
14367
|
+
"required": false,
|
14368
|
+
"type": "string"
|
14369
|
+
},
|
14370
|
+
{
|
14371
|
+
"disabled": false,
|
14372
|
+
"document": "定时任务配置",
|
14373
|
+
"example": "无",
|
14374
|
+
"member": "JobDateTime",
|
14375
|
+
"name": "JobDateTime",
|
14376
|
+
"required": false,
|
14377
|
+
"type": "object"
|
14378
|
+
}
|
14379
|
+
],
|
14380
|
+
"type": "object"
|
14381
|
+
},
|
14382
|
+
"ModifyAreaBanAreasResponse": {
|
14383
|
+
"document": "ModifyAreaBanAreas返回参数结构体",
|
14384
|
+
"members": [
|
14385
|
+
{
|
14386
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
14387
|
+
"member": "string",
|
14388
|
+
"name": "RequestId",
|
14389
|
+
"type": "string"
|
14390
|
+
}
|
14391
|
+
],
|
14392
|
+
"type": "object"
|
14393
|
+
},
|
14300
14394
|
"ModifyAreaBanStatusRequest": {
|
14301
14395
|
"document": "ModifyAreaBanStatus请求参数结构体",
|
14302
14396
|
"members": [
|
@@ -294,6 +294,14 @@
|
|
294
294
|
"title": "获取信息防泄漏规则列表"
|
295
295
|
}
|
296
296
|
],
|
297
|
+
"DescribeAreaBanSupportAreas": [
|
298
|
+
{
|
299
|
+
"document": "",
|
300
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeAreaBanSupportAreas\r\n&<公共请求参数>",
|
301
|
+
"output": "{\n \"Response\": {\n \"Data\": \"{\\\"areas\\\":[{\\\"en_abbr\\\":\\\"US\\\",\\\"en\\\":\\\"United States\\\",\\\"zh\\\":\\\"美国\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"China\\\",\\\"zh\\\":\\\"中国\\\"},{\\\"en_abbr\\\":\\\"JP\\\",\\\"en\\\":\\\"Japan\\\",\\\"zh\\\":\\\"日本\\\"},{\\\"en_abbr\\\":\\\"DE\\\",\\\"en\\\":\\\"Germany\\\",\\\"zh\\\":\\\"德国\\\"},{\\\"en_abbr\\\":\\\"UK\\\",\\\"en\\\":\\\"United Kingdom\\\",\\\"zh\\\":\\\"英国\\\"},{\\\"en_abbr\\\":\\\"KR\\\",\\\"en\\\":\\\"South Korea\\\",\\\"zh\\\":\\\"韩国\\\"},{\\\"en_abbr\\\":\\\"BR\\\",\\\"en\\\":\\\"Brazil\\\",\\\"zh\\\":\\\"巴西\\\"},{\\\"en_abbr\\\":\\\"FR\\\",\\\"en\\\":\\\"France\\\",\\\"zh\\\":\\\"法国\\\"},{\\\"en_abbr\\\":\\\"CA\\\",\\\"en\\\":\\\"Canada\\\",\\\"zh\\\":\\\"加拿大\\\"},{\\\"en_abbr\\\":\\\"IT\\\",\\\"en\\\":\\\"Italy\\\",\\\"zh\\\":\\\"意大利\\\"},{\\\"en_abbr\\\":\\\"AU\\\",\\\"en\\\":\\\"Australia\\\",\\\"zh\\\":\\\"澳大利亚\\\"},{\\\"en_abbr\\\":\\\"NL\\\",\\\"en\\\":\\\"Netherlands\\\",\\\"zh\\\":\\\"荷兰\\\"},{\\\"en_abbr\\\":\\\"RU\\\",\\\"en\\\":\\\"Russia\\\",\\\"zh\\\":\\\"俄罗斯\\\"},{\\\"en_abbr\\\":\\\"IN\\\",\\\"en\\\":\\\"India\\\",\\\"zh\\\":\\\"印度\\\"},{\\\"en_abbr\\\":\\\"ES\\\",\\\"en\\\":\\\"Spain\\\",\\\"zh\\\":\\\"西班牙\\\"},{\\\"en_abbr\\\":\\\"SE\\\",\\\"en\\\":\\\"Sweden\\\",\\\"zh\\\":\\\"瑞典\\\"},{\\\"en_abbr\\\":\\\"ZA\\\",\\\"en\\\":\\\"South Africa\\\",\\\"zh\\\":\\\"南非\\\"},{\\\"en_abbr\\\":\\\"MX\\\",\\\"en\\\":\\\"Mexico\\\",\\\"zh\\\":\\\"墨西哥\\\"},{\\\"en_abbr\\\":\\\"BE\\\",\\\"en\\\":\\\"Belgium\\\",\\\"zh\\\":\\\"比利时\\\"},{\\\"en_abbr\\\":\\\"EG\\\",\\\"en\\\":\\\"Egypt\\\",\\\"zh\\\":\\\"埃及\\\"},{\\\"en_abbr\\\":\\\"PL\\\",\\\"en\\\":\\\"Poland\\\",\\\"zh\\\":\\\"波兰\\\"},{\\\"en_abbr\\\":\\\"CH\\\",\\\"en\\\":\\\"Switzerland\\\",\\\"zh\\\":\\\"瑞士\\\"},{\\\"en_abbr\\\":\\\"AR\\\",\\\"en\\\":\\\"Argentina\\\",\\\"zh\\\":\\\"阿根廷\\\"},{\\\"en_abbr\\\":\\\"ID\\\",\\\"en\\\":\\\"Indonesia\\\",\\\"zh\\\":\\\"印度尼西亚\\\"},{\\\"en_abbr\\\":\\\"CO\\\",\\\"en\\\":\\\"Colombia\\\",\\\"zh\\\":\\\"哥伦比亚\\\"},{\\\"en_abbr\\\":\\\"TR\\\",\\\"en\\\":\\\"Turkey\\\",\\\"zh\\\":\\\"土耳其\\\"},{\\\"en_abbr\\\":\\\"NO\\\",\\\"en\\\":\\\"Norway\\\",\\\"zh\\\":\\\"挪威\\\"},{\\\"en_abbr\\\":\\\"VN\\\",\\\"en\\\":\\\"Vietnam\\\",\\\"zh\\\":\\\"越南\\\"},{\\\"en_abbr\\\":\\\"SG\\\",\\\"en\\\":\\\"Singapore\\\",\\\"zh\\\":\\\"新加坡\\\"},{\\\"en_abbr\\\":\\\"FI\\\",\\\"en\\\":\\\"Finland\\\",\\\"zh\\\":\\\"芬兰\\\"},{\\\"en_abbr\\\":\\\"IR\\\",\\\"en\\\":\\\"Iran\\\",\\\"zh\\\":\\\"伊朗\\\"},{\\\"en_abbr\\\":\\\"DK\\\",\\\"en\\\":\\\"Denmark\\\",\\\"zh\\\":\\\"丹麦\\\"},{\\\"en_abbr\\\":\\\"MA\\\",\\\"en\\\":\\\"Morocco\\\",\\\"zh\\\":\\\"摩洛哥\\\"},{\\\"en_abbr\\\":\\\"AT\\\",\\\"en\\\":\\\"Austria\\\",\\\"zh\\\":\\\"奥地利\\\"},{\\\"en_abbr\\\":\\\"UA\\\",\\\"en\\\":\\\"Ukraine\\\",\\\"zh\\\":\\\"乌克兰\\\"},{\\\"en_abbr\\\":\\\"SA\\\",\\\"en\\\":\\\"Saudi Arabia\\\",\\\"zh\\\":\\\"沙特阿拉伯\\\"},{\\\"en_abbr\\\":\\\"CL\\\",\\\"en\\\":\\\"Chile\\\",\\\"zh\\\":\\\"智利\\\"},{\\\"en_abbr\\\":\\\"CZ\\\",\\\"en\\\":\\\"Czech\\\",\\\"zh\\\":\\\"捷克\\\"},{\\\"en_abbr\\\":\\\"TH\\\",\\\"en\\\":\\\"Thailand\\\",\\\"zh\\\":\\\"泰国\\\"},{\\\"en_abbr\\\":\\\"RO\\\",\\\"en\\\":\\\"Romania\\\",\\\"zh\\\":\\\"罗马尼亚\\\"},{\\\"en_abbr\\\":\\\"SC\\\",\\\"en\\\":\\\"Seychelles\\\",\\\"zh\\\":\\\"塞舌尔\\\"},{\\\"en_abbr\\\":\\\"IL\\\",\\\"en\\\":\\\"Israel\\\",\\\"zh\\\":\\\"以色列\\\"},{\\\"en_abbr\\\":\\\"NZ\\\",\\\"en\\\":\\\"New Zealand\\\",\\\"zh\\\":\\\"新西兰\\\"},{\\\"en_abbr\\\":\\\"TN\\\",\\\"en\\\":\\\"Tunisia\\\",\\\"zh\\\":\\\"突尼斯\\\"},{\\\"en_abbr\\\":\\\"VE\\\",\\\"en\\\":\\\"Venezuela\\\",\\\"zh\\\":\\\"委内瑞拉\\\"},{\\\"en_abbr\\\":\\\"PT\\\",\\\"en\\\":\\\"Portugal\\\",\\\"zh\\\":\\\"葡萄牙\\\"},{\\\"en_abbr\\\":\\\"MY\\\",\\\"en\\\":\\\"Malaysia\\\",\\\"zh\\\":\\\"马来西亚\\\"},{\\\"en_abbr\\\":\\\"IE\\\",\\\"en\\\":\\\"Ireland\\\",\\\"zh\\\":\\\"爱尔兰\\\"},{\\\"en_abbr\\\":\\\"HU\\\",\\\"en\\\":\\\"Hungary\\\",\\\"zh\\\":\\\"匈牙利\\\"},{\\\"en_abbr\\\":\\\"GR\\\",\\\"en\\\":\\\"Greece\\\",\\\"zh\\\":\\\"希腊\\\"},{\\\"en_abbr\\\":\\\"PH\\\",\\\"en\\\":\\\"Philippines\\\",\\\"zh\\\":\\\"菲律宾\\\"},{\\\"en_abbr\\\":\\\"KE\\\",\\\"en\\\":\\\"Kenya\\\",\\\"zh\\\":\\\"肯尼亚\\\"},{\\\"en_abbr\\\":\\\"PK\\\",\\\"en\\\":\\\"Pakistan\\\",\\\"zh\\\":\\\"巴基斯坦\\\"},{\\\"en_abbr\\\":\\\"DZ\\\",\\\"en\\\":\\\"Algeria\\\",\\\"zh\\\":\\\"阿尔及利亚\\\"},{\\\"en_abbr\\\":\\\"BG\\\",\\\"en\\\":\\\"Bulgaria\\\",\\\"zh\\\":\\\"保加利亚\\\"},{\\\"en_abbr\\\":\\\"AE\\\",\\\"en\\\":\\\"United Arab Emirates\\\",\\\"zh\\\":\\\"阿联酋\\\"},{\\\"en_abbr\\\":\\\"PE\\\",\\\"en\\\":\\\"Peru\\\",\\\"zh\\\":\\\"秘鲁\\\"},{\\\"en_abbr\\\":\\\"NG\\\",\\\"en\\\":\\\"Nigeria\\\",\\\"zh\\\":\\\"尼日利亚\\\"},{\\\"en_abbr\\\":\\\"KZ\\\",\\\"en\\\":\\\"Kazakhstan\\\",\\\"zh\\\":\\\"哈萨克斯坦\\\"},{\\\"en_abbr\\\":\\\"SK\\\",\\\"en\\\":\\\"Slovakia\\\",\\\"zh\\\":\\\"斯洛伐克\\\"},{\\\"en_abbr\\\":\\\"EC\\\",\\\"en\\\":\\\"Ecuador\\\",\\\"zh\\\":\\\"厄瓜多尔\\\"},{\\\"en_abbr\\\":\\\"SI\\\",\\\"en\\\":\\\"Slovenia\\\",\\\"zh\\\":\\\"斯洛文尼亚\\\"},{\\\"en_abbr\\\":\\\"CR\\\",\\\"en\\\":\\\"Costa Rica\\\",\\\"zh\\\":\\\"哥斯达黎加\\\"},{\\\"en_abbr\\\":\\\"MU\\\",\\\"en\\\":\\\"Mauritius\\\",\\\"zh\\\":\\\"毛里求斯\\\"},{\\\"en_abbr\\\":\\\"LT\\\",\\\"en\\\":\\\"Lithuania\\\",\\\"zh\\\":\\\"立陶宛\\\"},{\\\"en_abbr\\\":\\\"UY\\\",\\\"en\\\":\\\"Uruguay\\\",\\\"zh\\\":\\\"乌拉圭\\\"},{\\\"en_abbr\\\":\\\"RS\\\",\\\"en\\\":\\\"Serbia\\\",\\\"zh\\\":\\\"塞尔维亚\\\"},{\\\"en_abbr\\\":\\\"GH\\\",\\\"en\\\":\\\"Ghana\\\",\\\"zh\\\":\\\"加纳\\\"},{\\\"en_abbr\\\":\\\"HR\\\",\\\"en\\\":\\\"Croatia\\\",\\\"zh\\\":\\\"克罗地亚\\\"},{\\\"en_abbr\\\":\\\"KW\\\",\\\"en\\\":\\\"Kuwait\\\",\\\"zh\\\":\\\"科威特\\\"},{\\\"en_abbr\\\":\\\"SD\\\",\\\"en\\\":\\\"Sudan\\\",\\\"zh\\\":\\\"苏丹\\\"},{\\\"en_abbr\\\":\\\"PA\\\",\\\"en\\\":\\\"Panama\\\",\\\"zh\\\":\\\"巴拿马\\\"},{\\\"en_abbr\\\":\\\"BY\\\",\\\"en\\\":\\\"Belarus\\\",\\\"zh\\\":\\\"白俄罗斯\\\"},{\\\"en_abbr\\\":\\\"LV\\\",\\\"en\\\":\\\"Latvia\\\",\\\"zh\\\":\\\"拉脱维亚\\\"},{\\\"en_abbr\\\":\\\"BD\\\",\\\"en\\\":\\\"Bangladesh\\\",\\\"zh\\\":\\\"孟加拉\\\"},{\\\"en_abbr\\\":\\\"ZM\\\",\\\"en\\\":\\\"Zambia\\\",\\\"zh\\\":\\\"赞比亚\\\"},{\\\"en_abbr\\\":\\\"DM\\\",\\\"en\\\":\\\"Dominica\\\",\\\"zh\\\":\\\"多米尼加\\\"},{\\\"en_abbr\\\":\\\"LU\\\",\\\"en\\\":\\\"Luxembourg\\\",\\\"zh\\\":\\\"卢森堡\\\"},{\\\"en_abbr\\\":\\\"UG\\\",\\\"en\\\":\\\"Uganda\\\",\\\"zh\\\":\\\"乌干达\\\"},{\\\"en_abbr\\\":\\\"EE\\\",\\\"en\\\":\\\"Estonia\\\",\\\"zh\\\":\\\"爱沙尼亚\\\"},{\\\"en_abbr\\\":\\\"MD\\\",\\\"en\\\":\\\"Moldova\\\",\\\"zh\\\":\\\"摩尔多瓦\\\"},{\\\"en_abbr\\\":\\\"GE\\\",\\\"en\\\":\\\"Georgia\\\",\\\"zh\\\":\\\"格鲁吉亚\\\"},{\\\"en_abbr\\\":\\\"AO\\\",\\\"en\\\":\\\"Angola\\\",\\\"zh\\\":\\\"安哥拉\\\"},{\\\"en_abbr\\\":\\\"CI\\\",\\\"en\\\":\\\"Cote D'Ivoire\\\",\\\"zh\\\":\\\"科特迪瓦\\\"},{\\\"en_abbr\\\":\\\"SY\\\",\\\"en\\\":\\\"Syria\\\",\\\"zh\\\":\\\"叙利亚\\\"},{\\\"en_abbr\\\":\\\"BO\\\",\\\"en\\\":\\\"Bolivia\\\",\\\"zh\\\":\\\"玻利维亚\\\"},{\\\"en_abbr\\\":\\\"PY\\\",\\\"en\\\":\\\"Paraguay\\\",\\\"zh\\\":\\\"巴拉圭\\\"},{\\\"en_abbr\\\":\\\"TZ\\\",\\\"en\\\":\\\"Tanzania\\\",\\\"zh\\\":\\\"坦桑尼亚\\\"},{\\\"en_abbr\\\":\\\"OM\\\",\\\"en\\\":\\\"Oman\\\",\\\"zh\\\":\\\"阿曼\\\"},{\\\"en_abbr\\\":\\\"CY\\\",\\\"en\\\":\\\"Cyprus\\\",\\\"zh\\\":\\\"塞浦路斯\\\"},{\\\"en_abbr\\\":\\\"PR\\\",\\\"en\\\":\\\"Puerto Rico\\\",\\\"zh\\\":\\\"波多黎各\\\"},{\\\"en_abbr\\\":\\\"IS\\\",\\\"en\\\":\\\"Iceland\\\",\\\"zh\\\":\\\"冰岛\\\"},{\\\"en_abbr\\\":\\\"QA\\\",\\\"en\\\":\\\"Qatar\\\",\\\"zh\\\":\\\"卡塔尔\\\"},{\\\"en_abbr\\\":\\\"BA\\\",\\\"en\\\":\\\"Bosnia and Herzegovina\\\",\\\"zh\\\":\\\"波斯尼亚和黑塞哥维那\\\"},{\\\"en_abbr\\\":\\\"AZ\\\",\\\"en\\\":\\\"Azerbaijan\\\",\\\"zh\\\":\\\"阿塞拜疆\\\"},{\\\"en_abbr\\\":\\\"CM\\\",\\\"en\\\":\\\"Cameroon\\\",\\\"zh\\\":\\\"喀麦隆\\\"},{\\\"en_abbr\\\":\\\"PS\\\",\\\"en\\\":\\\"Palestine\\\",\\\"zh\\\":\\\"巴勒斯坦\\\"},{\\\"en_abbr\\\":\\\"MK\\\",\\\"en\\\":\\\"Macedonia\\\",\\\"zh\\\":\\\"马其顿\\\"},{\\\"en_abbr\\\":\\\"IQ\\\",\\\"en\\\":\\\"Iraq\\\",\\\"zh\\\":\\\"伊拉克\\\"},{\\\"en_abbr\\\":\\\"JO\\\",\\\"en\\\":\\\"Jordan\\\",\\\"zh\\\":\\\"约旦\\\"},{\\\"en_abbr\\\":\\\"SV\\\",\\\"en\\\":\\\"El Salvador\\\",\\\"zh\\\":\\\"萨尔瓦多\\\"},{\\\"en_abbr\\\":\\\"MT\\\",\\\"en\\\":\\\"Malta\\\",\\\"zh\\\":\\\"马耳他\\\"},{\\\"en_abbr\\\":\\\"AM\\\",\\\"en\\\":\\\"Armenia\\\",\\\"zh\\\":\\\"亚美尼亚\\\"},{\\\"en_abbr\\\":\\\"LB\\\",\\\"en\\\":\\\"Lebanon\\\",\\\"zh\\\":\\\"黎巴嫩\\\"},{\\\"en_abbr\\\":\\\"GT\\\",\\\"en\\\":\\\"Guatemala\\\",\\\"zh\\\":\\\"危地马拉\\\"},{\\\"en_abbr\\\":\\\"NP\\\",\\\"en\\\":\\\"Nepal\\\",\\\"zh\\\":\\\"尼泊尔\\\"},{\\\"en_abbr\\\":\\\"LK\\\",\\\"en\\\":\\\"Sri Lanka\\\",\\\"zh\\\":\\\"斯里兰卡\\\"},{\\\"en_abbr\\\":\\\"MW\\\",\\\"en\\\":\\\"Malawi\\\",\\\"zh\\\":\\\"马拉维\\\"},{\\\"en_abbr\\\":\\\"TT\\\",\\\"en\\\":\\\"Trinidad and Tobago\\\",\\\"zh\\\":\\\"特立尼达和多巴哥\\\"},{\\\"en_abbr\\\":\\\"HN\\\",\\\"en\\\":\\\"Honduras\\\",\\\"zh\\\":\\\"洪都拉斯\\\"},{\\\"en_abbr\\\":\\\"NA\\\",\\\"en\\\":\\\"Namibia\\\",\\\"zh\\\":\\\"纳米比亚\\\"},{\\\"en_abbr\\\":\\\"BH\\\",\\\"en\\\":\\\"Bahrain\\\",\\\"zh\\\":\\\"巴林\\\"},{\\\"en_abbr\\\":\\\"MZ\\\",\\\"en\\\":\\\"Mozambique\\\",\\\"zh\\\":\\\"莫桑比克\\\"},{\\\"en_abbr\\\":\\\"GA\\\",\\\"en\\\":\\\"Gabon\\\",\\\"zh\\\":\\\"加蓬\\\"},{\\\"en_abbr\\\":\\\"NI\\\",\\\"en\\\":\\\"Nicaragua\\\",\\\"zh\\\":\\\"尼加拉瓜\\\"},{\\\"en_abbr\\\":\\\"LY\\\",\\\"en\\\":\\\"Libya\\\",\\\"zh\\\":\\\"利比亚\\\"},{\\\"en_abbr\\\":\\\"AL\\\",\\\"en\\\":\\\"Albania\\\",\\\"zh\\\":\\\"阿尔巴尼亚\\\"},{\\\"en_abbr\\\":\\\"SN\\\",\\\"en\\\":\\\"Senegal\\\",\\\"zh\\\":\\\"塞内加尔\\\"},{\\\"en_abbr\\\":\\\"KH\\\",\\\"en\\\":\\\"Cambodia\\\",\\\"zh\\\":\\\"柬埔寨\\\"},{\\\"en_abbr\\\":\\\"ET\\\",\\\"en\\\":\\\"Ethiopia\\\",\\\"zh\\\":\\\"埃塞俄比亚\\\"},{\\\"en_abbr\\\":\\\"TG\\\",\\\"en\\\":\\\"Togo\\\",\\\"zh\\\":\\\"多哥\\\"},{\\\"en_abbr\\\":\\\"BF\\\",\\\"en\\\":\\\"Burkina Faso\\\",\\\"zh\\\":\\\"布基纳法索\\\"},{\\\"en_abbr\\\":\\\"RE\\\",\\\"en\\\":\\\"Reunion\\\",\\\"zh\\\":\\\"留尼汪\\\"},{\\\"en_abbr\\\":\\\"KG\\\",\\\"en\\\":\\\"Kyrgyzstan\\\",\\\"zh\\\":\\\"吉尔吉斯斯坦\\\"},{\\\"en_abbr\\\":\\\"GM\\\",\\\"en\\\":\\\"Gambia\\\",\\\"zh\\\":\\\"冈比亚\\\"},{\\\"en_abbr\\\":\\\"RW\\\",\\\"en\\\":\\\"Rwanda\\\",\\\"zh\\\":\\\"卢旺达\\\"},{\\\"en_abbr\\\":\\\"CU\\\",\\\"en\\\":\\\"Cuba\\\",\\\"zh\\\":\\\"古巴\\\"},{\\\"en_abbr\\\":\\\"MN\\\",\\\"en\\\":\\\"Mongolia\\\",\\\"zh\\\":\\\"蒙古\\\"},{\\\"en_abbr\\\":\\\"UZ\\\",\\\"en\\\":\\\"Uzbekistan\\\",\\\"zh\\\":\\\"乌兹别克斯坦\\\"},{\\\"en_abbr\\\":\\\"ME\\\",\\\"en\\\":\\\"Montenegro\\\",\\\"zh\\\":\\\"黑山\\\"},{\\\"en_abbr\\\":\\\"GU\\\",\\\"en\\\":\\\"Guam\\\",\\\"zh\\\":\\\"关岛\\\"},{\\\"en_abbr\\\":\\\"JM\\\",\\\"en\\\":\\\"Jamaica\\\",\\\"zh\\\":\\\"牙买加\\\"},{\\\"en_abbr\\\":\\\"BN\\\",\\\"en\\\":\\\"Brunei\\\",\\\"zh\\\":\\\"文莱\\\"},{\\\"en_abbr\\\":\\\"CRC\\\",\\\"en\\\":\\\"Curaçao\\\",\\\"zh\\\":\\\"库拉索\\\"},{\\\"en_abbr\\\":\\\"MG\\\",\\\"en\\\":\\\"Madagascar\\\",\\\"zh\\\":\\\"马达加斯加\\\"},{\\\"en_abbr\\\":\\\"MM\\\",\\\"en\\\":\\\"Myanmar\\\",\\\"zh\\\":\\\"缅甸\\\"},{\\\"en_abbr\\\":\\\"YE\\\",\\\"en\\\":\\\"Yemen\\\",\\\"zh\\\":\\\"也门\\\"},{\\\"en_abbr\\\":\\\"KY\\\",\\\"en\\\":\\\"Cayman Islands\\\",\\\"zh\\\":\\\"开曼群岛\\\"},{\\\"en_abbr\\\":\\\"GI\\\",\\\"en\\\":\\\"Gibraltar\\\",\\\"zh\\\":\\\"直布罗陀\\\"},{\\\"en_abbr\\\":\\\"BB\\\",\\\"en\\\":\\\"Barbados\\\",\\\"zh\\\":\\\"巴巴多斯\\\"},{\\\"en_abbr\\\":\\\"BZ\\\",\\\"en\\\":\\\"Belize\\\",\\\"zh\\\":\\\"伯利兹\\\"},{\\\"en_abbr\\\":\\\"AF\\\",\\\"en\\\":\\\"Afghanistan\\\",\\\"zh\\\":\\\"阿富汗\\\"},{\\\"en_abbr\\\":\\\"HT\\\",\\\"en\\\":\\\"Haiti\\\",\\\"zh\\\":\\\"海地\\\"},{\\\"en_abbr\\\":\\\"BJ\\\",\\\"en\\\":\\\"Benin\\\",\\\"zh\\\":\\\"贝宁\\\"},{\\\"en_abbr\\\":\\\"NC\\\",\\\"en\\\":\\\"New Caledonia\\\",\\\"zh\\\":\\\"新喀里多尼亚\\\"},{\\\"en_abbr\\\":\\\"CD\\\",\\\"en\\\":\\\"Congo (Congo-Kinshasa)\\\",\\\"zh\\\":\\\"刚果(金)\\\"},{\\\"en_abbr\\\":\\\"BW\\\",\\\"en\\\":\\\"Botswana\\\",\\\"zh\\\":\\\"博茨瓦纳\\\"},{\\\"en_abbr\\\":\\\"FJ\\\",\\\"en\\\":\\\"Fiji\\\",\\\"zh\\\":\\\"斐济群岛\\\"},{\\\"en_abbr\\\":\\\"CG\\\",\\\"en\\\":\\\"Congo\\\",\\\"zh\\\":\\\"刚果(布)\\\"},{\\\"en_abbr\\\":\\\"BS\\\",\\\"en\\\":\\\"Bahamas\\\",\\\"zh\\\":\\\"巴哈马\\\"},{\\\"en_abbr\\\":\\\"ZW\\\",\\\"en\\\":\\\"Zimbabwe\\\",\\\"zh\\\":\\\"津巴布韦\\\"},{\\\"en_abbr\\\":\\\"LS\\\",\\\"en\\\":\\\"Lesotho\\\",\\\"zh\\\":\\\"莱索托\\\"},{\\\"en_abbr\\\":\\\"USV\\\",\\\"en\\\":\\\"U.S. Virgin Islands\\\",\\\"zh\\\":\\\"美属维尔京群岛\\\"},{\\\"en_abbr\\\":\\\"BM\\\",\\\"en\\\":\\\"Bermuda\\\",\\\"zh\\\":\\\"百慕大\\\"},{\\\"en_abbr\\\":\\\"LI\\\",\\\"en\\\":\\\"Liechtenstein\\\",\\\"zh\\\":\\\"列支敦士登\\\"},{\\\"en_abbr\\\":\\\"LR\\\",\\\"en\\\":\\\"Liberia\\\",\\\"zh\\\":\\\"利比里亚\\\"},{\\\"en_abbr\\\":\\\"AW\\\",\\\"en\\\":\\\"Aruba\\\",\\\"zh\\\":\\\"阿鲁巴\\\"},{\\\"en_abbr\\\":\\\"SL\\\",\\\"en\\\":\\\"Sierra Leone\\\",\\\"zh\\\":\\\"塞拉利昂\\\"},{\\\"en_abbr\\\":\\\"ML\\\",\\\"en\\\":\\\"Mali\\\",\\\"zh\\\":\\\"马里\\\"},{\\\"en_abbr\\\":\\\"MV\\\",\\\"en\\\":\\\"Maldives\\\",\\\"zh\\\":\\\"马尔代夫\\\"},{\\\"en_abbr\\\":\\\"SR\\\",\\\"en\\\":\\\"Suriname\\\",\\\"zh\\\":\\\"苏里南\\\"},{\\\"en_abbr\\\":\\\"LO\\\",\\\"en\\\":\\\"Laos\\\",\\\"zh\\\":\\\"老挝\\\"},{\\\"en_abbr\\\":\\\"TJ\\\",\\\"en\\\":\\\"Tajikistan\\\",\\\"zh\\\":\\\"塔吉克斯坦\\\"},{\\\"en_abbr\\\":\\\"MC\\\",\\\"en\\\":\\\"Monaco\\\",\\\"zh\\\":\\\"摩纳哥\\\"},{\\\"en_abbr\\\":\\\"GY\\\",\\\"en\\\":\\\"Guyana\\\",\\\"zh\\\":\\\"圭亚那\\\"},{\\\"en_abbr\\\":\\\"AG\\\",\\\"en\\\":\\\"Antigua and Barbuda\\\",\\\"zh\\\":\\\"安提瓜和巴布达\\\"},{\\\"en_abbr\\\":\\\"PG\\\",\\\"en\\\":\\\"Papua New Guinea\\\",\\\"zh\\\":\\\"巴布亚新几内亚\\\"},{\\\"en_abbr\\\":\\\"JE\\\",\\\"en\\\":\\\"Jersey\\\",\\\"zh\\\":\\\"泽西岛\\\"},{\\\"en_abbr\\\":\\\"PF\\\",\\\"en\\\":\\\"French Polynesia\\\",\\\"zh\\\":\\\"法属波利尼西亚\\\"},{\\\"en_abbr\\\":\\\"AD\\\",\\\"en\\\":\\\"Andorra\\\",\\\"zh\\\":\\\"安道尔\\\"},{\\\"en_abbr\\\":\\\"DJ\\\",\\\"en\\\":\\\"Djibouti\\\",\\\"zh\\\":\\\"吉布提\\\"},{\\\"en_abbr\\\":\\\"SZ\\\",\\\"en\\\":\\\"Swaziland\\\",\\\"zh\\\":\\\"斯威士兰\\\"},{\\\"en_abbr\\\":\\\"FO\\\",\\\"en\\\":\\\"Faroe Islands\\\",\\\"zh\\\":\\\"法罗群岛\\\"},{\\\"en_abbr\\\":\\\"SO\\\",\\\"en\\\":\\\"Somalia\\\",\\\"zh\\\":\\\"索马里\\\"},{\\\"en_abbr\\\":\\\"MR\\\",\\\"en\\\":\\\"Mauritania\\\",\\\"zh\\\":\\\"毛里塔尼亚\\\"},{\\\"en_abbr\\\":\\\"BSV\\\",\\\"en\\\":\\\"The British Virgin Islands\\\",\\\"zh\\\":\\\"英属维尔京群岛\\\"},{\\\"en_abbr\\\":\\\"NE\\\",\\\"en\\\":\\\"Niger\\\",\\\"zh\\\":\\\"尼日尔\\\"},{\\\"en_abbr\\\":\\\"BI\\\",\\\"en\\\":\\\"Burundi\\\",\\\"zh\\\":\\\"布隆迪\\\"},{\\\"en_abbr\\\":\\\"SM\\\",\\\"en\\\":\\\"San Marino\\\",\\\"zh\\\":\\\"圣马力诺\\\"},{\\\"en_abbr\\\":\\\"MF\\\",\\\"en\\\":\\\"Sint Maarten\\\",\\\"zh\\\":\\\"荷属圣马丁\\\"},{\\\"en_abbr\\\":\\\"BT\\\",\\\"en\\\":\\\"Bhutan\\\",\\\"zh\\\":\\\"不丹\\\"},{\\\"en_abbr\\\":\\\"GN\\\",\\\"en\\\":\\\"Guinea\\\",\\\"zh\\\":\\\"几内亚\\\"},{\\\"en_abbr\\\":\\\"GL\\\",\\\"en\\\":\\\"Greenland\\\",\\\"zh\\\":\\\"格陵兰\\\"},{\\\"en_abbr\\\":\\\"IM\\\",\\\"en\\\":\\\"Isle of Man\\\",\\\"zh\\\":\\\"马恩岛\\\"},{\\\"en_abbr\\\":\\\"CV\\\",\\\"en\\\":\\\"Cape Verde\\\",\\\"zh\\\":\\\"佛得角\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"Caribisch Nederland\\\",\\\"zh\\\":\\\"荷兰加勒比区\\\"},{\\\"en_abbr\\\":\\\"GF\\\",\\\"en\\\":\\\"French Guiana\\\",\\\"zh\\\":\\\"法属圭亚那\\\"},{\\\"en_abbr\\\":\\\"TD\\\",\\\"en\\\":\\\"Chad\\\",\\\"zh\\\":\\\"乍得\\\"},{\\\"en_abbr\\\":\\\"GG\\\",\\\"en\\\":\\\"Guernsey\\\",\\\"zh\\\":\\\"根西岛\\\"},{\\\"en_abbr\\\":\\\"GQ\\\",\\\"en\\\":\\\"Equatorial Guinea\\\",\\\"zh\\\":\\\"赤道几内亚\\\"},{\\\"en_abbr\\\":\\\"LC\\\",\\\"en\\\":\\\"Saint Lucia\\\",\\\"zh\\\":\\\"圣卢西亚\\\"},{\\\"en_abbr\\\":\\\"WS\\\",\\\"en\\\":\\\"Samoa\\\",\\\"zh\\\":\\\"萨摩亚\\\"},{\\\"en_abbr\\\":\\\"VN\\\",\\\"en\\\":\\\"Vanuatu\\\",\\\"zh\\\":\\\"瓦努阿图\\\"},{\\\"en_abbr\\\":\\\"GP\\\",\\\"en\\\":\\\"Guadeloupe\\\",\\\"zh\\\":\\\"瓜德罗普\\\"},{\\\"en_abbr\\\":\\\"EastTimor\\\",\\\"en\\\":\\\"East Timor\\\",\\\"zh\\\":\\\"东帝汶\\\"},{\\\"en_abbr\\\":\\\"NM\\\",\\\"en\\\":\\\"Northern Mariana Islands\\\",\\\"zh\\\":\\\"北马里亚纳群岛\\\"},{\\\"en_abbr\\\":\\\"TM\\\",\\\"en\\\":\\\"Turkmenistan\\\",\\\"zh\\\":\\\"土库曼斯坦\\\"},{\\\"en_abbr\\\":\\\"KN\\\",\\\"en\\\":\\\"Saint Kitts-Nevis\\\",\\\"zh\\\":\\\"圣基茨和尼维斯\\\"},{\\\"en_abbr\\\":\\\"SD\\\",\\\"en\\\":\\\"South Sudan\\\",\\\"zh\\\":\\\"南苏丹\\\"},{\\\"en_abbr\\\":\\\"MQ\\\",\\\"en\\\":\\\"Martinique\\\",\\\"zh\\\":\\\"马提尼克\\\"},{\\\"en_abbr\\\":\\\"VA\\\",\\\"en\\\":\\\"Vatican City\\\",\\\"zh\\\":\\\"梵蒂冈\\\"},{\\\"en_abbr\\\":\\\"SB\\\",\\\"en\\\":\\\"Solomon Islands\\\",\\\"zh\\\":\\\"所罗门群岛\\\"},{\\\"en_abbr\\\":\\\"DM\\\",\\\"en\\\":\\\"The Commonwealth of Dominica\\\",\\\"zh\\\":\\\"多米尼克\\\"},{\\\"en_abbr\\\":\\\"TC\\\",\\\"en\\\":\\\"The Turks and Caicos Islands\\\",\\\"zh\\\":\\\"特克斯和凯科斯群岛\\\"},{\\\"en_abbr\\\":\\\"TO\\\",\\\"en\\\":\\\"Tonga\\\",\\\"zh\\\":\\\"汤加\\\"},{\\\"en_abbr\\\":\\\"NR\\\",\\\"en\\\":\\\"Nauru\\\",\\\"zh\\\":\\\"瑙鲁\\\"},{\\\"en_abbr\\\":\\\"AN\\\",\\\"en\\\":\\\"Saint Martin\\\",\\\"zh\\\":\\\"法属圣马丁\\\"},{\\\"en_abbr\\\":\\\"GD\\\",\\\"en\\\":\\\"Grenada\\\",\\\"zh\\\":\\\"格林纳达\\\"},{\\\"en_abbr\\\":\\\"ST\\\",\\\"en\\\":\\\"Sao Tome and Principe\\\",\\\"zh\\\":\\\"圣多美和普林西比\\\"},{\\\"en_abbr\\\":\\\"VG\\\",\\\"en\\\":\\\"Saint Vincent and the Grenadines\\\",\\\"zh\\\":\\\"圣文森特和格林纳丁斯\\\"},{\\\"en_abbr\\\":\\\"AI\\\",\\\"en\\\":\\\"Anguilla\\\",\\\"zh\\\":\\\"安圭拉\\\"},{\\\"en_abbr\\\":\\\"MF\\\",\\\"en\\\":\\\"Micronesia\\\",\\\"zh\\\":\\\"密克罗尼西亚联邦\\\"},{\\\"en_abbr\\\":\\\"CK\\\",\\\"en\\\":\\\"Cook Islands\\\",\\\"zh\\\":\\\"库克群岛\\\"},{\\\"en_abbr\\\":\\\"TV\\\",\\\"en\\\":\\\"Tuvalu\\\",\\\"zh\\\":\\\"图瓦卢\\\"},{\\\"en_abbr\\\":\\\"GW\\\",\\\"en\\\":\\\"Guinea-Bissau\\\",\\\"zh\\\":\\\"几内亚比绍\\\"},{\\\"en_abbr\\\":\\\"AS\\\",\\\"en\\\":\\\"American Samoa\\\",\\\"zh\\\":\\\"美属萨摩亚\\\"},{\\\"en_abbr\\\":\\\"PW\\\",\\\"en\\\":\\\"Palau\\\",\\\"zh\\\":\\\"帕劳\\\"},{\\\"en_abbr\\\":\\\"CF\\\",\\\"en\\\":\\\"Central African Republic\\\",\\\"zh\\\":\\\"中非\\\"},{\\\"en_abbr\\\":\\\"KM\\\",\\\"en\\\":\\\"Comoros\\\",\\\"zh\\\":\\\"科摩罗\\\"}],\\\"provinces\\\":[{\\\"en\\\":\\\"Beijing\\\",\\\"zh\\\":\\\"北京\\\"},{\\\"en\\\":\\\"Tianjing\\\",\\\"zh\\\":\\\"天津\\\"},{\\\"en\\\":\\\"Hebei\\\",\\\"zh\\\":\\\"河北\\\"},{\\\"en\\\":\\\"Macao\\\",\\\"zh\\\":\\\"澳门\\\"},{\\\"en\\\":\\\"Anhui\\\",\\\"zh\\\":\\\"安徽\\\"},{\\\"en\\\":\\\"Chongqing\\\",\\\"zh\\\":\\\"重庆\\\"},{\\\"en\\\":\\\"Fujian\\\",\\\"zh\\\":\\\"福建\\\"},{\\\"en\\\":\\\"Guangdong\\\",\\\"zh\\\":\\\"广东\\\"},{\\\"en\\\":\\\"Guangxi\\\",\\\"zh\\\":\\\"广西\\\"},{\\\"en\\\":\\\"Guizhou\\\",\\\"zh\\\":\\\"贵州\\\"},{\\\"en\\\":\\\"Gansu\\\",\\\"zh\\\":\\\"甘肃\\\"},{\\\"en\\\":\\\"Henan\\\",\\\"zh\\\":\\\"河南\\\"},{\\\"en\\\":\\\"Hubei\\\",\\\"zh\\\":\\\"湖北\\\"},{\\\"en\\\":\\\"Hunan\\\",\\\"zh\\\":\\\"湖南\\\"},{\\\"en\\\":\\\"Hainan\\\",\\\"zh\\\":\\\"海南\\\"},{\\\"en\\\":\\\"Jiangsu\\\",\\\"zh\\\":\\\"江苏\\\"},{\\\"en\\\":\\\"Jilin\\\",\\\"zh\\\":\\\"吉林\\\"},{\\\"en\\\":\\\"Jiangxi\\\",\\\"zh\\\":\\\"江西\\\"},{\\\"en\\\":\\\"Liaoning\\\",\\\"zh\\\":\\\"辽宁\\\"},{\\\"en\\\":\\\"Ningxia\\\",\\\"zh\\\":\\\"宁夏\\\"},{\\\"en\\\":\\\"Qinghai\\\",\\\"zh\\\":\\\"青海\\\"},{\\\"en\\\":\\\"Shanxi\\\",\\\"zh\\\":\\\"山西\\\"},{\\\"en\\\":\\\"Shanghai\\\",\\\"zh\\\":\\\"上海\\\"},{\\\"en\\\":\\\"Shandong\\\",\\\"zh\\\":\\\"山东\\\"},{\\\"en\\\":\\\"Sichuan\\\",\\\"zh\\\":\\\"四川\\\"},{\\\"en\\\":\\\"Shaanxi\\\",\\\"zh\\\":\\\"陕西\\\"},{\\\"en\\\":\\\"Taiwan\\\",\\\"zh\\\":\\\"台湾\\\"},{\\\"en\\\":\\\"Tibet\\\",\\\"zh\\\":\\\"西藏\\\"},{\\\"en\\\":\\\"Xinjiang\\\",\\\"zh\\\":\\\"新疆\\\"},{\\\"en\\\":\\\"Hong Kong\\\",\\\"zh\\\":\\\"香港\\\"},{\\\"en\\\":\\\"Yunnan\\\",\\\"zh\\\":\\\"云南\\\"},{\\\"en\\\":\\\"Zhejiang\\\",\\\"zh\\\":\\\"浙江\\\"},{\\\"en\\\":\\\"Guangzhou\\\",\\\"zh\\\":\\\"广州\\\"},{\\\"en\\\":\\\"Shenzhen\\\",\\\"zh\\\":\\\"深圳\\\"},{\\\"en\\\":\\\"Heilongjiang\\\",\\\"zh\\\":\\\"黑龙江\\\"},{\\\"en\\\":\\\"Inner Mongolia Autonomous Regio\\\",\\\"zh\\\":\\\"内蒙古\\\"}]}\\n\",\n \"RequestId\": \"05ba4f7c-f1b7-40c3-9038-a5fb74e8873a\"\n }\n}",
|
302
|
+
"title": "获取WAF地域封禁支持的地域列表"
|
303
|
+
}
|
304
|
+
],
|
297
305
|
"DescribeAttackOverview": [
|
298
306
|
{
|
299
307
|
"document": "获取指定时间段内请求总数,这个接口不需要客户购买日志服务",
|
@@ -840,6 +848,14 @@
|
|
840
848
|
"title": "test111"
|
841
849
|
}
|
842
850
|
],
|
851
|
+
"ModifyAreaBanAreas": [
|
852
|
+
{
|
853
|
+
"document": "",
|
854
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAreaBanAreas\r\n&Domain=www.test.com\r\n&Areas.0=新疆\r\n&Areas.1=内蒙古\r\n&<公共请求参数>",
|
855
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
856
|
+
"title": "ModifyAreaBanAreas"
|
857
|
+
}
|
858
|
+
],
|
843
859
|
"ModifyAreaBanStatus": [
|
844
860
|
{
|
845
861
|
"document": "",
|
tccli/services/waf/waf_client.py
CHANGED
@@ -1681,6 +1681,58 @@ def doDeleteAntiInfoLeakRule(args, parsed_globals):
|
|
1681
1681
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
1682
|
|
1683
1683
|
|
1684
|
+
def doModifyAreaBanAreas(args, parsed_globals):
|
1685
|
+
g_param = parse_global_arg(parsed_globals)
|
1686
|
+
|
1687
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1688
|
+
cred = credential.CVMRoleCredential()
|
1689
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1690
|
+
cred = credential.STSAssumeRoleCredential(
|
1691
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1692
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1693
|
+
)
|
1694
|
+
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):
|
1695
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1696
|
+
else:
|
1697
|
+
cred = credential.Credential(
|
1698
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1699
|
+
)
|
1700
|
+
http_profile = HttpProfile(
|
1701
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1702
|
+
reqMethod="POST",
|
1703
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1704
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1705
|
+
)
|
1706
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1707
|
+
if g_param[OptionsDefine.Language]:
|
1708
|
+
profile.language = g_param[OptionsDefine.Language]
|
1709
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1710
|
+
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1711
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1712
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1713
|
+
model = models.ModifyAreaBanAreasRequest()
|
1714
|
+
model.from_json_string(json.dumps(args))
|
1715
|
+
start_time = time.time()
|
1716
|
+
while True:
|
1717
|
+
rsp = client.ModifyAreaBanAreas(model)
|
1718
|
+
result = rsp.to_json_string()
|
1719
|
+
try:
|
1720
|
+
json_obj = json.loads(result)
|
1721
|
+
except TypeError as e:
|
1722
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1723
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1724
|
+
break
|
1725
|
+
cur_time = time.time()
|
1726
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1727
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1728
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1729
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1730
|
+
else:
|
1731
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1732
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1733
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
|
+
|
1735
|
+
|
1684
1736
|
def doCreateDeals(args, parsed_globals):
|
1685
1737
|
g_param = parse_global_arg(parsed_globals)
|
1686
1738
|
|
@@ -1733,6 +1785,58 @@ def doCreateDeals(args, parsed_globals):
|
|
1733
1785
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
1786
|
|
1735
1787
|
|
1788
|
+
def doDescribeAreaBanSupportAreas(args, parsed_globals):
|
1789
|
+
g_param = parse_global_arg(parsed_globals)
|
1790
|
+
|
1791
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1792
|
+
cred = credential.CVMRoleCredential()
|
1793
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1794
|
+
cred = credential.STSAssumeRoleCredential(
|
1795
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1796
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1797
|
+
)
|
1798
|
+
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):
|
1799
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1800
|
+
else:
|
1801
|
+
cred = credential.Credential(
|
1802
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1803
|
+
)
|
1804
|
+
http_profile = HttpProfile(
|
1805
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1806
|
+
reqMethod="POST",
|
1807
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1808
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1809
|
+
)
|
1810
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1811
|
+
if g_param[OptionsDefine.Language]:
|
1812
|
+
profile.language = g_param[OptionsDefine.Language]
|
1813
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1814
|
+
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1815
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1816
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1817
|
+
model = models.DescribeAreaBanSupportAreasRequest()
|
1818
|
+
model.from_json_string(json.dumps(args))
|
1819
|
+
start_time = time.time()
|
1820
|
+
while True:
|
1821
|
+
rsp = client.DescribeAreaBanSupportAreas(model)
|
1822
|
+
result = rsp.to_json_string()
|
1823
|
+
try:
|
1824
|
+
json_obj = json.loads(result)
|
1825
|
+
except TypeError as e:
|
1826
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1827
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1828
|
+
break
|
1829
|
+
cur_time = time.time()
|
1830
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1831
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1832
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1833
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1834
|
+
else:
|
1835
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1836
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1837
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
|
+
|
1839
|
+
|
1736
1840
|
def doUpsertCCAutoStatus(args, parsed_globals):
|
1737
1841
|
g_param = parse_global_arg(parsed_globals)
|
1738
1842
|
|
@@ -7236,7 +7340,9 @@ ACTION_MAP = {
|
|
7236
7340
|
"DescribeWebshellStatus": doDescribeWebshellStatus,
|
7237
7341
|
"GenerateDealsAndPayNew": doGenerateDealsAndPayNew,
|
7238
7342
|
"DeleteAntiInfoLeakRule": doDeleteAntiInfoLeakRule,
|
7343
|
+
"ModifyAreaBanAreas": doModifyAreaBanAreas,
|
7239
7344
|
"CreateDeals": doCreateDeals,
|
7345
|
+
"DescribeAreaBanSupportAreas": doDescribeAreaBanSupportAreas,
|
7240
7346
|
"UpsertCCAutoStatus": doUpsertCCAutoStatus,
|
7241
7347
|
"DescribeRuleLimit": doDescribeRuleLimit,
|
7242
7348
|
"DescribeDomains": doDescribeDomains,
|