tccli 3.0.1125.1__py2.py3-none-any.whl → 3.0.1127.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +2 -2
  3. tccli/services/cam/cam_client.py +110 -57
  4. tccli/services/cam/v20190116/api.json +128 -0
  5. tccli/services/cam/v20190116/examples.json +8 -0
  6. tccli/services/cat/v20180409/api.json +10 -0
  7. tccli/services/cds/v20180420/api.json +2 -2
  8. tccli/services/cls/v20201016/api.json +19 -0
  9. tccli/services/domain/v20180808/api.json +702 -40
  10. tccli/services/domain/v20180808/examples.json +13 -13
  11. tccli/services/emr/v20190103/api.json +20 -0
  12. tccli/services/essbasic/v20210526/api.json +1 -1
  13. tccli/services/iotexplorer/v20190423/api.json +31 -23
  14. tccli/services/iotexplorer/v20190423/examples.json +4 -4
  15. tccli/services/mongodb/mongodb_client.py +212 -0
  16. tccli/services/mongodb/v20190725/api.json +322 -0
  17. tccli/services/mongodb/v20190725/examples.json +32 -0
  18. tccli/services/monitor/v20180724/api.json +1 -0
  19. tccli/services/monitor/v20180724/examples.json +2 -2
  20. tccli/services/postgres/v20170312/api.json +11 -11
  21. tccli/services/redis/redis_client.py +53 -0
  22. tccli/services/redis/v20180412/api.json +151 -0
  23. tccli/services/redis/v20180412/examples.json +8 -0
  24. tccli/services/teo/teo_client.py +216 -4
  25. tccli/services/teo/v20220901/api.json +375 -0
  26. tccli/services/teo/v20220901/examples.json +32 -0
  27. tccli/services/tmt/v20180321/api.json +5 -4
  28. tccli/services/trtc/v20190722/api.json +1 -1
  29. tccli/services/tse/tse_client.py +53 -0
  30. tccli/services/tse/v20201207/api.json +43 -0
  31. tccli/services/tse/v20201207/examples.json +8 -0
  32. {tccli-3.0.1125.1.dist-info → tccli-3.0.1127.1.dist-info}/METADATA +2 -2
  33. {tccli-3.0.1125.1.dist-info → tccli-3.0.1127.1.dist-info}/RECORD +36 -36
  34. {tccli-3.0.1125.1.dist-info → tccli-3.0.1127.1.dist-info}/WHEEL +0 -0
  35. {tccli-3.0.1125.1.dist-info → tccli-3.0.1127.1.dist-info}/entry_points.txt +0 -0
  36. {tccli-3.0.1125.1.dist-info → tccli-3.0.1127.1.dist-info}/license_files/LICENSE +0 -0
@@ -70,6 +70,13 @@
70
70
  "output": "CreateConfigGroupVersionResponse",
71
71
  "status": "online"
72
72
  },
73
+ "CreateCustomizeErrorPage": {
74
+ "document": "创建自定义错误页面。",
75
+ "input": "CreateCustomizeErrorPageRequest",
76
+ "name": "创建自定义错误页面",
77
+ "output": "CreateCustomizeErrorPageResponse",
78
+ "status": "online"
79
+ },
73
80
  "CreateL4Proxy": {
74
81
  "document": "用于创建四层代理实例。",
75
82
  "input": "CreateL4ProxyRequest",
@@ -182,6 +189,13 @@
182
189
  "output": "DeleteApplicationProxyRuleResponse",
183
190
  "status": "online"
184
191
  },
192
+ "DeleteCustomErrorPage": {
193
+ "document": "删除自定义错误页面。",
194
+ "input": "DeleteCustomErrorPageRequest",
195
+ "name": "删除自定义错误页面",
196
+ "output": "DeleteCustomErrorPageResponse",
197
+ "status": "online"
198
+ },
185
199
  "DeleteL4Proxy": {
186
200
  "document": "用于删除四层代理实例。",
187
201
  "input": "DeleteL4ProxyRequest",
@@ -301,6 +315,13 @@
301
315
  "output": "DescribeContentQuotaResponse",
302
316
  "status": "online"
303
317
  },
318
+ "DescribeCustomErrorPages": {
319
+ "document": "查询自定义错误页列表。",
320
+ "input": "DescribeCustomErrorPagesRequest",
321
+ "name": "查询自定义错误页列表",
322
+ "output": "DescribeCustomErrorPagesResponse",
323
+ "status": "online"
324
+ },
304
325
  "DescribeDDoSAttackData": {
305
326
  "document": "本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。",
306
327
  "input": "DescribeDDoSAttackDataRequest",
@@ -595,6 +616,13 @@
595
616
  "output": "ModifyApplicationProxyStatusResponse",
596
617
  "status": "online"
597
618
  },
619
+ "ModifyCustomErrorPage": {
620
+ "document": "修改自定义错误页面。",
621
+ "input": "ModifyCustomErrorPageRequest",
622
+ "name": "修改自定义错误页面",
623
+ "output": "ModifyCustomErrorPageResponse",
624
+ "status": "online"
625
+ },
598
626
  "ModifyHostsCertificate": {
599
627
  "document": "完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。\n如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名\n](https://cloud.tencent.com/document/product/1552/88874)。",
600
628
  "input": "ModifyHostsCertificateRequest",
@@ -3622,6 +3650,79 @@
3622
3650
  ],
3623
3651
  "type": "object"
3624
3652
  },
3653
+ "CreateCustomizeErrorPageRequest": {
3654
+ "document": "CreateCustomizeErrorPage请求参数结构体",
3655
+ "members": [
3656
+ {
3657
+ "disabled": false,
3658
+ "document": "站点 ID。",
3659
+ "example": "zone-2kplomhisdcb",
3660
+ "member": "string",
3661
+ "name": "ZoneId",
3662
+ "required": true,
3663
+ "type": "string"
3664
+ },
3665
+ {
3666
+ "disabled": false,
3667
+ "document": "自定义错误页名称,名称为 2-30 个字符。",
3668
+ "example": "错误定制页",
3669
+ "member": "string",
3670
+ "name": "Name",
3671
+ "required": true,
3672
+ "type": "string"
3673
+ },
3674
+ {
3675
+ "disabled": false,
3676
+ "document": "自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li>",
3677
+ "example": "application/json",
3678
+ "member": "string",
3679
+ "name": "ContentType",
3680
+ "required": true,
3681
+ "type": "string"
3682
+ },
3683
+ {
3684
+ "disabled": false,
3685
+ "document": "自定义错误页面描述,描述不超过 60 个字符。",
3686
+ "example": "web规则自定义错误页面",
3687
+ "member": "string",
3688
+ "name": "Description",
3689
+ "required": false,
3690
+ "type": "string"
3691
+ },
3692
+ {
3693
+ "disabled": false,
3694
+ "document": "自定义错误页面内容,内容不超过 2KB。",
3695
+ "example": "{\"title\":\"自定义错误页\", \"Content\":\"自定义错误页面内容\"}",
3696
+ "member": "string",
3697
+ "name": "Content",
3698
+ "required": false,
3699
+ "type": "string"
3700
+ }
3701
+ ],
3702
+ "type": "object"
3703
+ },
3704
+ "CreateCustomizeErrorPageResponse": {
3705
+ "document": "CreateCustomizeErrorPage返回参数结构体",
3706
+ "members": [
3707
+ {
3708
+ "disabled": false,
3709
+ "document": "页面 ID。",
3710
+ "example": "p-2kplomhisdcb",
3711
+ "member": "string",
3712
+ "name": "PageId",
3713
+ "output_required": true,
3714
+ "type": "string",
3715
+ "value_allowed_null": false
3716
+ },
3717
+ {
3718
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3719
+ "member": "string",
3720
+ "name": "RequestId",
3721
+ "type": "string"
3722
+ }
3723
+ ],
3724
+ "type": "object"
3725
+ },
3625
3726
  "CreateL4ProxyRequest": {
3626
3727
  "document": "CreateL4Proxy请求参数结构体",
3627
3728
  "members": [
@@ -4638,6 +4739,82 @@
4638
4739
  ],
4639
4740
  "usage": "both"
4640
4741
  },
4742
+ "CustomErrorPage": {
4743
+ "document": "自定义错误码页面结构体。",
4744
+ "members": [
4745
+ {
4746
+ "disabled": false,
4747
+ "document": "自定义错误页面 ID。",
4748
+ "example": "p-2kplomhisdcb",
4749
+ "member": "string",
4750
+ "name": "PageId",
4751
+ "output_required": false,
4752
+ "type": "string",
4753
+ "value_allowed_null": false
4754
+ },
4755
+ {
4756
+ "disabled": false,
4757
+ "document": "站点 ID。",
4758
+ "example": "zone-2kplomhisdcb",
4759
+ "member": "string",
4760
+ "name": "ZoneId",
4761
+ "output_required": false,
4762
+ "type": "string",
4763
+ "value_allowed_null": false
4764
+ },
4765
+ {
4766
+ "disabled": false,
4767
+ "document": "自定义错误页面名称。",
4768
+ "example": "web防护页面",
4769
+ "member": "string",
4770
+ "name": "Name",
4771
+ "output_required": false,
4772
+ "type": "string",
4773
+ "value_allowed_null": false
4774
+ },
4775
+ {
4776
+ "disabled": false,
4777
+ "document": "自定义错误页面类型。",
4778
+ "example": "application/json",
4779
+ "member": "string",
4780
+ "name": "ContentType",
4781
+ "output_required": false,
4782
+ "type": "string",
4783
+ "value_allowed_null": false
4784
+ },
4785
+ {
4786
+ "disabled": false,
4787
+ "document": "自定义错误页面描述。",
4788
+ "example": "web防护页面",
4789
+ "member": "string",
4790
+ "name": "Description",
4791
+ "output_required": false,
4792
+ "type": "string",
4793
+ "value_allowed_null": false
4794
+ },
4795
+ {
4796
+ "disabled": false,
4797
+ "document": "自定义错误页面内容。",
4798
+ "example": "{\"title\": \"自定义错误页面title\",\"content\": \"自定义错误页面内容\"}",
4799
+ "member": "string",
4800
+ "name": "Content",
4801
+ "output_required": false,
4802
+ "type": "string",
4803
+ "value_allowed_null": false
4804
+ },
4805
+ {
4806
+ "disabled": false,
4807
+ "document": "自定义错误页面引用。",
4808
+ "example": "无",
4809
+ "member": "ErrorPageReference",
4810
+ "name": "References",
4811
+ "output_required": false,
4812
+ "type": "list",
4813
+ "value_allowed_null": false
4814
+ }
4815
+ ],
4816
+ "usage": "out"
4817
+ },
4641
4818
  "CustomField": {
4642
4819
  "document": "实时日志投递任务中的自定义日志字段。",
4643
4820
  "members": [
@@ -5152,6 +5329,42 @@
5152
5329
  ],
5153
5330
  "type": "object"
5154
5331
  },
5332
+ "DeleteCustomErrorPageRequest": {
5333
+ "document": "DeleteCustomErrorPage请求参数结构体",
5334
+ "members": [
5335
+ {
5336
+ "disabled": false,
5337
+ "document": "站点 ID。",
5338
+ "example": "zone-2kplomhisdcb",
5339
+ "member": "string",
5340
+ "name": "ZoneId",
5341
+ "required": true,
5342
+ "type": "string"
5343
+ },
5344
+ {
5345
+ "disabled": false,
5346
+ "document": "自定义页面 ID。",
5347
+ "example": "p-2kplomhisdcb",
5348
+ "member": "string",
5349
+ "name": "PageId",
5350
+ "required": true,
5351
+ "type": "string"
5352
+ }
5353
+ ],
5354
+ "type": "object"
5355
+ },
5356
+ "DeleteCustomErrorPageResponse": {
5357
+ "document": "DeleteCustomErrorPage返回参数结构体",
5358
+ "members": [
5359
+ {
5360
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5361
+ "member": "string",
5362
+ "name": "RequestId",
5363
+ "type": "string"
5364
+ }
5365
+ ],
5366
+ "type": "object"
5367
+ },
5155
5368
  "DeleteL4ProxyRequest": {
5156
5369
  "document": "DeleteL4Proxy请求参数结构体",
5157
5370
  "members": [
@@ -6131,6 +6344,80 @@
6131
6344
  ],
6132
6345
  "type": "object"
6133
6346
  },
6347
+ "DescribeCustomErrorPagesRequest": {
6348
+ "document": "DescribeCustomErrorPages请求参数结构体",
6349
+ "members": [
6350
+ {
6351
+ "disabled": false,
6352
+ "document": "站点 ID。",
6353
+ "example": "zone-2kplomhisdcb",
6354
+ "member": "string",
6355
+ "name": "ZoneId",
6356
+ "required": true,
6357
+ "type": "string"
6358
+ },
6359
+ {
6360
+ "disabled": false,
6361
+ "document": "过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:\n<li>page-id: 按照页面 ID 进行过滤;</li>\n<li>name: 按照页面名称进行过滤;</li>\n<li>description:按照页面描述过滤;</li>\n<li>content-type:按照页面类型过滤。</li>",
6362
+ "example": "无",
6363
+ "member": "AdvancedFilter",
6364
+ "name": "Filters",
6365
+ "required": false,
6366
+ "type": "list"
6367
+ },
6368
+ {
6369
+ "disabled": false,
6370
+ "document": "分页查询偏移量。默认值:0。",
6371
+ "example": "0",
6372
+ "member": "uint64",
6373
+ "name": "Offset",
6374
+ "required": false,
6375
+ "type": "int"
6376
+ },
6377
+ {
6378
+ "disabled": false,
6379
+ "document": "分页查询限制数目。默认值:20,最大值:1000。 ",
6380
+ "example": "20",
6381
+ "member": "uint64",
6382
+ "name": "Limit",
6383
+ "required": false,
6384
+ "type": "int"
6385
+ }
6386
+ ],
6387
+ "type": "object"
6388
+ },
6389
+ "DescribeCustomErrorPagesResponse": {
6390
+ "document": "DescribeCustomErrorPages返回参数结构体",
6391
+ "members": [
6392
+ {
6393
+ "disabled": false,
6394
+ "document": "自定义错误页面总数。",
6395
+ "example": "0",
6396
+ "member": "uint64",
6397
+ "name": "TotalCount",
6398
+ "output_required": false,
6399
+ "type": "int",
6400
+ "value_allowed_null": false
6401
+ },
6402
+ {
6403
+ "disabled": false,
6404
+ "document": "自定义错误页面数据列表。",
6405
+ "example": "无",
6406
+ "member": "CustomErrorPage",
6407
+ "name": "ErrorPages",
6408
+ "output_required": false,
6409
+ "type": "list",
6410
+ "value_allowed_null": false
6411
+ },
6412
+ {
6413
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6414
+ "member": "string",
6415
+ "name": "RequestId",
6416
+ "type": "string"
6417
+ }
6418
+ ],
6419
+ "type": "object"
6420
+ },
6134
6421
  "DescribeDDoSAttackDataRequest": {
6135
6422
  "document": "DescribeDDoSAttackData请求参数结构体",
6136
6423
  "members": [
@@ -9152,6 +9439,22 @@
9152
9439
  ],
9153
9440
  "usage": "out"
9154
9441
  },
9442
+ "ErrorPageReference": {
9443
+ "document": "自定义错误页面被引用的来源",
9444
+ "members": [
9445
+ {
9446
+ "disabled": false,
9447
+ "document": "引用的业务 ID,如自定义拦截规则 ID。",
9448
+ "example": "2181757654",
9449
+ "member": "string",
9450
+ "name": "BusinessId",
9451
+ "output_required": false,
9452
+ "type": "string",
9453
+ "value_allowed_null": false
9454
+ }
9455
+ ],
9456
+ "usage": "out"
9457
+ },
9155
9458
  "ExceptConfig": {
9156
9459
  "document": "例外规则,用于配置需要跳过特定场景的规则",
9157
9460
  "members": [
@@ -11310,6 +11613,78 @@
11310
11613
  ],
11311
11614
  "type": "object"
11312
11615
  },
11616
+ "ModifyCustomErrorPageRequest": {
11617
+ "document": "ModifyCustomErrorPage请求参数结构体",
11618
+ "members": [
11619
+ {
11620
+ "disabled": false,
11621
+ "document": "自定义错误页面 ID。",
11622
+ "example": "p-2kplomhisdcb",
11623
+ "member": "string",
11624
+ "name": "PageId",
11625
+ "required": true,
11626
+ "type": "string"
11627
+ },
11628
+ {
11629
+ "disabled": false,
11630
+ "document": "站点 ID。",
11631
+ "example": "zone-2kplomhisdcb",
11632
+ "member": "string",
11633
+ "name": "ZoneId",
11634
+ "required": true,
11635
+ "type": "string"
11636
+ },
11637
+ {
11638
+ "disabled": false,
11639
+ "document": "自定义错误页名称,名称为2 - 60个字符。",
11640
+ "example": "web防护自定义错误页",
11641
+ "member": "string",
11642
+ "name": "Name",
11643
+ "required": false,
11644
+ "type": "string"
11645
+ },
11646
+ {
11647
+ "disabled": false,
11648
+ "document": "自定义错误页描述,描述内容不超过60个字符。",
11649
+ "example": "web规则自定义错误页面",
11650
+ "member": "string",
11651
+ "name": "Description",
11652
+ "required": false,
11653
+ "type": "string"
11654
+ },
11655
+ {
11656
+ "disabled": false,
11657
+ "document": "自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li>",
11658
+ "example": "application/json",
11659
+ "member": "string",
11660
+ "name": "ContentType",
11661
+ "required": false,
11662
+ "type": "string"
11663
+ },
11664
+ {
11665
+ "disabled": false,
11666
+ "document": "自定义错误页面内容。内容不超过 2KB。",
11667
+ "example": "{\"title\":\"自定义错误页\", \"Content\":\"自定义错误页面内容\"}",
11668
+ "member": "string",
11669
+ "name": "Content",
11670
+ "required": false,
11671
+ "type": "string"
11672
+ }
11673
+ ],
11674
+ "type": "object"
11675
+ },
11676
+ "ModifyCustomErrorPageResponse": {
11677
+ "document": "ModifyCustomErrorPage返回参数结构体",
11678
+ "members": [
11679
+ {
11680
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11681
+ "member": "string",
11682
+ "name": "RequestId",
11683
+ "type": "string"
11684
+ }
11685
+ ],
11686
+ "type": "object"
11687
+ },
11313
11688
  "ModifyHostsCertificateRequest": {
11314
11689
  "document": "ModifyHostsCertificate请求参数结构体",
11315
11690
  "members": [
@@ -98,6 +98,14 @@
98
98
  "title": "为指定配置组创建新版本"
99
99
  }
100
100
  ],
101
+ "CreateCustomizeErrorPage": [
102
+ {
103
+ "document": "创建自定义错误页面接口",
104
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomizeErrorPage\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2kplomhisdcb\",\n \"Name\": \"web防护自定义错误页面\",\n \"Description\": \"web防护自定义错误页面\",\n \"ContentType\": \"application/json\",\n \"Content\": \"{\\\"title\\\":\\\"自定义错误页\\\", \\\"Content\\\":\\\"自定义错误页面内容\\\"}\"\n}",
105
+ "output": "{\n \"Response\": {\n \"PageId\": \"p-2kplomhisdcb\",\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
106
+ "title": "创建自定义错误页面接口"
107
+ }
108
+ ],
101
109
  "CreateL4Proxy": [
102
110
  {
103
111
  "document": "在 ZoneId 为 zone-2jc2xy3hr7f7 的站点下创建一个名称为 test,加速区域为中国大陆可用区的四层实例。",
@@ -316,6 +324,14 @@
316
324
  "title": "删除应用代理规则"
317
325
  }
318
326
  ],
327
+ "DeleteCustomErrorPage": [
328
+ {
329
+ "document": "删除自定义错误页面接口",
330
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomErrorPage\n<公共请求参数>\n\n{\n \"PageId\": \"p-2kplomhisdcb\",\n \"ZoneId\": \"zone-2kplomhisdcb\"\n}",
331
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
332
+ "title": "删除自定义错误页面接口"
333
+ }
334
+ ],
319
335
  "DeleteL4Proxy": [
320
336
  {
321
337
  "document": "删除 ZoneId 为 zone-24wjy25v1cwi 下,ProxyId 为 sid-2qwk27xf7j9g 的四层代理实例。",
@@ -452,6 +468,14 @@
452
468
  "title": "查询配额"
453
469
  }
454
470
  ],
471
+ "DescribeCustomErrorPages": [
472
+ {
473
+ "document": "自定义错误页面查询列表",
474
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCustomErrorPages\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2kplomhisdcb\",\n \"Filters\": [\n {\n \"Name\": \"name\",\n \"Values\": [\n \"web防护错误页面\"\n ]\n }\n ],\n \"Offset\": 1,\n \"Limit\": 20\n}",
475
+ "output": "{\n \"Response\": {\n \"ErrorPages\": [\n {\n \"PageId\": \"p-2kplomhisdcb\",\n \"Name\": \"web防护错误页面\",\n \"ContentType\": \"application/json\",\n \"Content\": \"{\\\"title\\\": \\\"自定义错误页面title\\\",\\\"content\\\": \\\"自定义错误页面内容\\\"}\",\n \"Description\": \"自定义的web防护错误页面\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
476
+ "title": "自定义错误页面查询列表"
477
+ }
478
+ ],
455
479
  "DescribeDDoSAttackData": [
456
480
  {
457
481
  "document": "",
@@ -872,6 +896,14 @@
872
896
  "title": "修改应用代理的状态"
873
897
  }
874
898
  ],
899
+ "ModifyCustomErrorPage": [
900
+ {
901
+ "document": "修改自定义错误页面。",
902
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomErrorPage\n<公共请求参数>\n\n{\n \"PageId\": \"p-2kplomhisdcb\",\n \"ZoneId\": \"zone-2kplomhisdcb\",\n \"Name\": \"web防护自定义错误页面\",\n \"Description\": \"web防护自定义错误页面\",\n \"ContentType\": \"application/json\",\n \"Content\": \"{\\\"title\\\": \\\"自定义错误页面title\\\",\\\"content\\\": \\\"自定义错误页面内容\\\"}\"\n}",
903
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
904
+ "title": "修改自定义错误页面"
905
+ }
906
+ ],
875
907
  "ModifyHostsCertificate": [
876
908
  {
877
909
  "document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 SSL 证书(CertId 为 cert-244ffgv7m17xw)。",
@@ -335,7 +335,7 @@
335
335
  "example": "session-00001",
336
336
  "member": "string",
337
337
  "name": "SessionUuid",
338
- "required": true,
338
+ "output_required": true,
339
339
  "type": "string",
340
340
  "value_allowed_null": false
341
341
  },
@@ -345,7 +345,7 @@
345
345
  "example": "zh",
346
346
  "member": "string",
347
347
  "name": "Source",
348
- "required": true,
348
+ "output_required": true,
349
349
  "type": "string",
350
350
  "value_allowed_null": false
351
351
  },
@@ -355,7 +355,7 @@
355
355
  "example": "en",
356
356
  "member": "string",
357
357
  "name": "Target",
358
- "required": true,
358
+ "output_required": true,
359
359
  "type": "string",
360
360
  "value_allowed_null": false
361
361
  },
@@ -365,7 +365,7 @@
365
365
  "example": "无",
366
366
  "member": "ImageRecord",
367
367
  "name": "ImageRecord",
368
- "required": true,
368
+ "output_required": true,
369
369
  "type": "object",
370
370
  "value_allowed_null": false
371
371
  },
@@ -477,6 +477,7 @@
477
477
  "example": "zh",
478
478
  "member": "string",
479
479
  "name": "Lang",
480
+ "output_required": true,
480
481
  "type": "string",
481
482
  "value_allowed_null": false
482
483
  },
@@ -5845,7 +5845,7 @@
5845
5845
  },
5846
5846
  {
5847
5847
  "disabled": false,
5848
- "document": "云存储相关的参数,目前支持腾讯云对象存储,不支持第三方云存储以及VOD",
5848
+ "document": "云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储",
5849
5849
  "example": "无",
5850
5850
  "member": "StorageParams",
5851
5851
  "name": "StorageParams",
@@ -4801,6 +4801,58 @@ def doDeleteWafDomains(args, parsed_globals):
4801
4801
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4802
4802
 
4803
4803
 
4804
+ def doDescribePublicAddressConfig(args, parsed_globals):
4805
+ g_param = parse_global_arg(parsed_globals)
4806
+
4807
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4808
+ cred = credential.CVMRoleCredential()
4809
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4810
+ cred = credential.STSAssumeRoleCredential(
4811
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4812
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4813
+ )
4814
+ 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):
4815
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4816
+ else:
4817
+ cred = credential.Credential(
4818
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4819
+ )
4820
+ http_profile = HttpProfile(
4821
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4822
+ reqMethod="POST",
4823
+ endpoint=g_param[OptionsDefine.Endpoint],
4824
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4825
+ )
4826
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4827
+ if g_param[OptionsDefine.Language]:
4828
+ profile.language = g_param[OptionsDefine.Language]
4829
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4830
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
4831
+ client._sdkVersion += ("_CLI_" + __version__)
4832
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4833
+ model = models.DescribePublicAddressConfigRequest()
4834
+ model.from_json_string(json.dumps(args))
4835
+ start_time = time.time()
4836
+ while True:
4837
+ rsp = client.DescribePublicAddressConfig(model)
4838
+ result = rsp.to_json_string()
4839
+ try:
4840
+ json_obj = json.loads(result)
4841
+ except TypeError as e:
4842
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4843
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4844
+ break
4845
+ cur_time = time.time()
4846
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4847
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4848
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4849
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4850
+ else:
4851
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4852
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4853
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4854
+
4855
+
4804
4856
  def doDeleteCloudNativeAPIGatewayService(args, parsed_globals):
4805
4857
  g_param = parse_global_arg(parsed_globals)
4806
4858
 
@@ -5892,6 +5944,7 @@ ACTION_MAP = {
5892
5944
  "BindAutoScalerResourceStrategyToGroups": doBindAutoScalerResourceStrategyToGroups,
5893
5945
  "CreateCloudNativeAPIGatewayRouteRateLimit": doCreateCloudNativeAPIGatewayRouteRateLimit,
5894
5946
  "DeleteWafDomains": doDeleteWafDomains,
5947
+ "DescribePublicAddressConfig": doDescribePublicAddressConfig,
5895
5948
  "DeleteCloudNativeAPIGatewayService": doDeleteCloudNativeAPIGatewayService,
5896
5949
  "DescribeCloudNativeAPIGatewayRoutes": doDescribeCloudNativeAPIGatewayRoutes,
5897
5950
  "DescribeConfigFileGroups": doDescribeConfigFileGroups,