tccli 3.0.1027.1__py2.py3-none-any.whl → 3.0.1029.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 (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/asr/v20190614/CreateAsyncRecognitionTask.md +1 -1
  3. tccli/examples/cls/v20201016/CreateCosRecharge.md +1 -1
  4. tccli/examples/cls/v20201016/CreateKafkaRecharge.md +9 -8
  5. tccli/examples/cls/v20201016/CreateScheduledSql.md +1 -1
  6. tccli/examples/cls/v20201016/GetAlarmLog.md +108 -15
  7. tccli/examples/cls/v20201016/SearchCosRechargeInfo.md +4 -4
  8. tccli/examples/oceanus/v20190422/DescribeJobEvents.md +36 -0
  9. tccli/examples/ocr/v20181119/VatInvoiceVerifyNew.md +56 -0
  10. tccli/examples/tdmq/v20200217/DescribeNamespaceBundlesOpt.md +1 -23
  11. tccli/examples/tem/v20210701/CreateCosToken.md +5 -5
  12. tccli/examples/teo/v20220901/ModifyAccelerationDomainStatuses.md +1 -1
  13. tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md +72 -22
  14. tccli/examples/tione/v20211111/DescribeModelAccelerateVersions.md +76 -0
  15. tccli/examples/tse/v20201207/CreateEngine.md +2 -2
  16. tccli/examples/vod/v20180717/EnhanceMediaQuality.md +22 -0
  17. tccli/examples/waf/v20180125/GetAttackHistogram.md +5 -4
  18. tccli/loaders.py +1 -1
  19. tccli/services/asr/v20190614/api.json +2 -2
  20. tccli/services/asr/v20190614/examples.json +1 -1
  21. tccli/services/cdwdoris/v20211228/api.json +11 -1
  22. tccli/services/cls/v20201016/api.json +52 -43
  23. tccli/services/cls/v20201016/examples.json +13 -7
  24. tccli/services/dlc/v20210125/api.json +7 -4
  25. tccli/services/ecm/v20190719/api.json +17 -17
  26. tccli/services/ess/v20201111/api.json +58 -49
  27. tccli/services/essbasic/v20210526/api.json +18 -18
  28. tccli/services/essbasic/v20210526/examples.json +1 -1
  29. tccli/services/lcic/v20220817/api.json +13 -4
  30. tccli/services/lighthouse/v20200324/api.json +55 -50
  31. tccli/services/oceanus/oceanus_client.py +57 -4
  32. tccli/services/oceanus/v20190422/api.json +175 -0
  33. tccli/services/oceanus/v20190422/examples.json +8 -0
  34. tccli/services/ocr/v20181119/api.json +548 -10
  35. tccli/services/ocr/v20181119/examples.json +1 -1
  36. tccli/services/ssl/v20191205/api.json +54 -11
  37. tccli/services/tat/v20201028/api.json +1 -1
  38. tccli/services/tdmq/v20200217/api.json +2 -15
  39. tccli/services/tdmq/v20200217/examples.json +1 -1
  40. tccli/services/tem/v20210701/api.json +3 -3
  41. tccli/services/tem/v20210701/examples.json +3 -3
  42. tccli/services/teo/v20220901/api.json +4 -2
  43. tccli/services/teo/v20220901/examples.json +1 -1
  44. tccli/services/tione/tione_client.py +53 -0
  45. tccli/services/tione/v20211111/api.json +389 -18
  46. tccli/services/tione/v20211111/examples.json +10 -2
  47. tccli/services/tse/v20201207/api.json +7 -3
  48. tccli/services/tse/v20201207/examples.json +1 -1
  49. tccli/services/vod/v20180717/api.json +131 -0
  50. tccli/services/vod/v20180717/examples.json +8 -0
  51. tccli/services/vod/vod_client.py +53 -0
  52. tccli/services/waf/v20180125/api.json +10 -7
  53. tccli/services/waf/v20180125/examples.json +2 -2
  54. tccli/services/wedata/v20210820/api.json +22 -12
  55. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/RECORD +59 -56
  57. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/license_files/LICENSE +0 -0
@@ -650,7 +650,7 @@
650
650
  {
651
651
  "document": "增值税发票核验示例代码",
652
652
  "input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatInvoiceVerifyNew\n<公共请求参数>\n\n{\n \"InvoiceCode\": \"144002288010\",\n \"InvoiceNo\": \"04138864\",\n \"InvoiceDate\": \"2022-11-16\",\n \"Amount\": \"498.90\",\n \"CheckCode\": \"00000000005672311400\",\n \"RegionCode\": \"4400\",\n \"SellerTaxCode\": \"44078819091887401X\",\n \"EnableCommonElectronic\": true\n}",
653
- "output": "{\n \"Response\": {\n \"Invoice\": {\n \"AmountWithTax\": \"498.90\",\n \"AmountWithoutTax\": \"0.00\",\n \"BuyerAddressPhone\": \"\",\n \"BuyerBankAccount\": \"\",\n \"BuyerName\": \"\",\n \"BuyerTaxCode\": \"\",\n \"CheckCode\": \"\",\n \"Code\": \"144002288010\",\n \"Date\": \"\",\n \"HasSellerList\": \"\",\n \"IsAbandoned\": \"N\",\n \"Items\": [],\n \"MachineNo\": \"\",\n \"Number\": \"04138864\",\n \"Remark\": \"\",\n \"RedLetterInvoiceMark\": false,\n \"IssuingTypeMark\": 1,\n \"SellerAddressPhone\": \"\",\n \"SellerBankAccount\": \"\",\n \"SellerAgentName\": \"\",\n \"SellerAgentTaxID\": \"\",\n \"SellerListTax\": \"\",\n \"SellerListTitle\": \"\",\n \"SellerName\": \"广州市天河区员美丽美食店\",\n \"SellerTaxCode\": \"\",\n \"TaxAmount\": \"0.00\",\n \"TaxBureau\": \"\",\n \"TrafficFreeFlag\": \"N\",\n \"Type\": \"102\"\n },\n \"PassInvoiceInfoList\": [],\n \"RequestId\": \"f3cd280c-6d3a-41c5-8493-4ed98f8b2755\",\n \"UsedVehicleInvoiceInfo\": {\n \"Auctioneer\": \"\",\n \"AuctioneerAddress\": \"\",\n \"AuctioneerBankAccount\": \"\",\n \"AuctioneerTaxpayerNum\": \"\",\n \"AuctioneerTel\": \"\",\n \"Buyer\": \"\",\n \"BuyerAddress\": \"\",\n \"BuyerNo\": \"\",\n \"BuyerTel\": \"\",\n \"ManagementOffice\": \"\",\n \"Market\": \"\",\n \"MarketAddress\": \"\",\n \"MarketBankAccount\": \"\",\n \"MarketTaxpayerNum\": \"\",\n \"MarketTel\": \"\",\n \"RegisterNo\": \"\",\n \"Seller\": \"\",\n \"SellerAddress\": \"\",\n \"SellerNo\": \"\",\n \"SellerTel\": \"\",\n \"TaxBureau\": \"\",\n \"VehicleIdentifyNo\": \"\",\n \"VehicleLicenseNo\": \"\",\n \"VehicleTotalPrice\": \"\"\n },\n \"VehicleInvoiceInfo\": {\n \"BizCheckFormNo\": \"\",\n \"BuyerNo\": \"\",\n \"CarType\": \"\",\n \"CertificateNo\": \"\",\n \"EngineNo\": \"\",\n \"ImportNo\": \"\",\n \"LimitCount\": \"\",\n \"MotorBankAccount\": \"\",\n \"MotorBankName\": \"\",\n \"MotorTaxRate\": \"\",\n \"PayTaxesNo\": \"\",\n \"PlateModel\": \"\",\n \"ProduceAddress\": \"\",\n \"SellerAddress\": \"\",\n \"SellerTel\": \"\",\n \"TaxtationOrgCode\": \"\",\n \"TaxtationOrgName\": \"\",\n \"Tonnage\": \"\",\n \"VinNo\": \"\"\n }\n }\n}",
653
+ "output": "{\n \"Response\": {\n \"Invoice\": {\n \"AmountWithTax\": \"498.90\",\n \"AmountWithoutTax\": \"0.00\",\n \"BuyerAddressPhone\": \"\",\n \"BuyerBankAccount\": \"\",\n \"BuyerName\": \"\",\n \"BuyerTaxCode\": \"\",\n \"CheckCode\": \"\",\n \"Code\": \"144002288010\",\n \"Date\": \"\",\n \"ElectronicType\": \"\",\n \"HasSellerList\": \"\",\n \"IsAbandoned\": \"N\",\n \"Items\": [],\n \"MachineNo\": \"\",\n \"Number\": \"04138864\",\n \"Remark\": \"\",\n \"RedLetterInvoiceMark\": false,\n \"IssuingTypeMark\": 1,\n \"SellerAddressPhone\": \"\",\n \"SellerBankAccount\": \"\",\n \"SellerAgentName\": \"\",\n \"SellerAgentTaxID\": \"\",\n \"SellerListTax\": \"\",\n \"SellerListTitle\": \"\",\n \"SellerName\": \"广州市天河区员美丽美食店\",\n \"SellerTaxCode\": \"\",\n \"TaxAmount\": \"0.00\",\n \"TaxBureau\": \"\",\n \"TrafficFreeFlag\": \"N\",\n \"Type\": \"102\"\n },\n \"PassInvoiceInfoList\": [],\n \"RequestId\": \"f3cd280c-6d3a-41c5-8493-4ed98f8b2755\",\n \"UsedVehicleInvoiceInfo\": {\n \"Auctioneer\": \"\",\n \"AuctioneerAddress\": \"\",\n \"AuctioneerBankAccount\": \"\",\n \"AuctioneerTaxpayerNum\": \"\",\n \"AuctioneerTel\": \"\",\n \"Buyer\": \"\",\n \"BuyerAddress\": \"\",\n \"BuyerNo\": \"\",\n \"BuyerTel\": \"\",\n \"ManagementOffice\": \"\",\n \"Market\": \"\",\n \"MarketAddress\": \"\",\n \"MarketBankAccount\": \"\",\n \"MarketTaxpayerNum\": \"\",\n \"MarketTel\": \"\",\n \"RegisterNo\": \"\",\n \"Seller\": \"\",\n \"SellerAddress\": \"\",\n \"SellerNo\": \"\",\n \"SellerTel\": \"\",\n \"TaxBureau\": \"\",\n \"VehicleIdentifyNo\": \"\",\n \"VehicleLicenseNo\": \"\",\n \"VehicleTotalPrice\": \"\"\n },\n \"VehicleInvoiceInfo\": {\n \"BizCheckFormNo\": \"\",\n \"BuyerNo\": \"\",\n \"CarType\": \"\",\n \"CertificateNo\": \"\",\n \"EngineNo\": \"\",\n \"ImportNo\": \"\",\n \"LimitCount\": \"\",\n \"MotorBankAccount\": \"\",\n \"MotorBankName\": \"\",\n \"MotorTaxRate\": \"\",\n \"PayTaxesNo\": \"\",\n \"PlateModel\": \"\",\n \"ProduceAddress\": \"\",\n \"SellerAddress\": \"\",\n \"SellerTel\": \"\",\n \"TaxtationOrgCode\": \"\",\n \"TaxtationOrgName\": \"\",\n \"Tonnage\": \"\",\n \"VinNo\": \"\"\n },\n \"ElectronicTrainTicket\": {\n \"BuyerName\": \"abc\",\n \"BuyerTaxCode\": \"abc\",\n \"Number\": \"abc\",\n \"Date\": \"abc\",\n \"TotalCN\": \"abc\",\n \"Tax\": \"abc\",\n \"ServiceType\": \"abc\",\n \"TimeGetOn\": \"abc\",\n \"TrainNumber\": \"abc\",\n \"Code\": \"abc\",\n \"SeatType\": \"abc\",\n \"DateGetOn\": \"abc\",\n \"TrainCabin\": \"abc\",\n \"StationGetOn\": \"abc\",\n \"ElectronicNumber\": \"abc\",\n \"PassengerName\": \"abc\",\n \"PassengerNo\": \"abc\",\n \"Amount\": \"abc\",\n \"StationGetOff\": \"abc\",\n \"TaxRate\": \"abc\",\n \"Seat\": \"abc\",\n \"Total\": \"abc\",\n \"CheckCode\": \"abc\",\n \"StateCode\": \"0\"\n },\n \"ElectronicAirTransport\": {\n \"Code\": \"abc\",\n \"Number\": \"abc\",\n \"Date\": \"abc\",\n \"Amount\": \"abc\",\n \"CheckCode\": \"abc\",\n \"Total\": \"abc\",\n \"DeductionMark\": \"abc\",\n \"StateCode\": \"abc\",\n \"BuyerTaxCode\": \"abc\",\n \"BuyerName\": \"abc\",\n \"DomesticInternationalMark\": \"abc\",\n \"PassengerName\": \"abc\",\n \"PassengerNo\": \"abc\",\n \"ElectronicNumber\": \"abc\",\n \"ElectronicAirTransportDetails\": [\n {\n \"FlightSegment\": \"abc\",\n \"StationGetOn\": \"abc\",\n \"StationGetOff\": \"abc\",\n \"Carrier\": \"abc\",\n \"FlightNumber\": \"abc\",\n \"SeatLevel\": \"abc\",\n \"FlightDate\": \"abc\",\n \"DepartureTime\": \"abc\",\n \"FareBasis\": \"abc\"\n }\n ]\n }\n }\n}",
654
654
  "title": "增值税发票核验示例代码"
655
655
  }
656
656
  ],
@@ -3705,7 +3705,7 @@
3705
3705
  {
3706
3706
  "disabled": false,
3707
3707
  "document": "偏移量,默认为0。",
3708
- "example": "",
3708
+ "example": "",
3709
3709
  "member": "uint64",
3710
3710
  "name": "Offset",
3711
3711
  "required": false,
@@ -3714,7 +3714,7 @@
3714
3714
  {
3715
3715
  "disabled": false,
3716
3716
  "document": "请求日志数量,默认为20。",
3717
- "example": "",
3717
+ "example": "",
3718
3718
  "member": "uint64",
3719
3719
  "name": "Limit",
3720
3720
  "required": false,
@@ -3723,7 +3723,7 @@
3723
3723
  {
3724
3724
  "disabled": false,
3725
3725
  "document": "开始时间,默认15天前。",
3726
- "example": "",
3726
+ "example": "",
3727
3727
  "member": "datetime",
3728
3728
  "name": "StartTime",
3729
3729
  "required": false,
@@ -3732,7 +3732,7 @@
3732
3732
  {
3733
3733
  "disabled": false,
3734
3734
  "document": "结束时间,默认现在时间。",
3735
- "example": "",
3735
+ "example": "",
3736
3736
  "member": "datetime",
3737
3737
  "name": "EndTime",
3738
3738
  "required": false,
@@ -3747,27 +3747,30 @@
3747
3747
  {
3748
3748
  "disabled": false,
3749
3749
  "document": "当前查询条件日志总数。",
3750
- "example": "",
3750
+ "example": "",
3751
3751
  "member": "uint64",
3752
3752
  "name": "AllTotal",
3753
+ "output_required": true,
3753
3754
  "type": "int",
3754
3755
  "value_allowed_null": false
3755
3756
  },
3756
3757
  {
3757
3758
  "disabled": false,
3758
3759
  "document": "本次请求返回的日志数量。",
3759
- "example": "",
3760
+ "example": "",
3760
3761
  "member": "uint64",
3761
3762
  "name": "TotalCount",
3763
+ "output_required": true,
3762
3764
  "type": "int",
3763
3765
  "value_allowed_null": false
3764
3766
  },
3765
3767
  {
3766
3768
  "disabled": false,
3767
3769
  "document": "证书操作日志列表。\n注意:此字段可能返回 null,表示取不到有效值。",
3768
- "example": "",
3770
+ "example": "",
3769
3771
  "member": "OperationLog",
3770
3772
  "name": "OperateLogs",
3773
+ "output_required": true,
3771
3774
  "type": "list",
3772
3775
  "value_allowed_null": true
3773
3776
  },
@@ -7083,22 +7086,62 @@
7083
7086
  {
7084
7087
  "disabled": false,
7085
7088
  "document": "操作证书动作。",
7086
- "example": "",
7089
+ "example": "",
7087
7090
  "member": "string",
7088
7091
  "name": "Action",
7089
- "required": true,
7092
+ "output_required": true,
7090
7093
  "type": "string",
7091
7094
  "value_allowed_null": false
7092
7095
  },
7093
7096
  {
7094
7097
  "disabled": false,
7095
7098
  "document": "操作时间。",
7096
- "example": "",
7099
+ "example": "",
7097
7100
  "member": "datetime",
7098
7101
  "name": "CreatedOn",
7099
- "required": true,
7102
+ "output_required": true,
7100
7103
  "type": "string",
7101
7104
  "value_allowed_null": false
7105
+ },
7106
+ {
7107
+ "disabled": false,
7108
+ "document": "主账号\n注意:此字段可能返回 null,表示取不到有效值。",
7109
+ "example": "无",
7110
+ "member": "string",
7111
+ "name": "Uin",
7112
+ "output_required": false,
7113
+ "type": "string",
7114
+ "value_allowed_null": true
7115
+ },
7116
+ {
7117
+ "disabled": false,
7118
+ "document": "子账号\n注意:此字段可能返回 null,表示取不到有效值。",
7119
+ "example": "无",
7120
+ "member": "string",
7121
+ "name": "SubAccountUin",
7122
+ "output_required": false,
7123
+ "type": "string",
7124
+ "value_allowed_null": true
7125
+ },
7126
+ {
7127
+ "disabled": false,
7128
+ "document": "证书ID\n注意:此字段可能返回 null,表示取不到有效值。",
7129
+ "example": "无",
7130
+ "member": "string",
7131
+ "name": "CertId",
7132
+ "output_required": false,
7133
+ "type": "string",
7134
+ "value_allowed_null": true
7135
+ },
7136
+ {
7137
+ "disabled": false,
7138
+ "document": "操作\n注意:此字段可能返回 null,表示取不到有效值。",
7139
+ "example": "无",
7140
+ "member": "string",
7141
+ "name": "Type",
7142
+ "output_required": false,
7143
+ "type": "string",
7144
+ "value_allowed_null": true
7102
7145
  }
7103
7146
  ],
7104
7147
  "usage": "out"
@@ -2890,7 +2890,7 @@
2890
2890
  },
2891
2891
  {
2892
2892
  "disabled": false,
2893
- "document": "该注册码允许注册的实列数目。\n注意:此字段可能返回 null,表示取不到有效值。",
2893
+ "document": "该注册码允许注册的实例数目。\n注意:此字段可能返回 null,表示取不到有效值。",
2894
2894
  "example": "100",
2895
2895
  "member": "int64",
2896
2896
  "name": "RegisterLimit",
@@ -1186,11 +1186,6 @@
1186
1186
  ],
1187
1187
  "usage": "out"
1188
1188
  },
1189
- "BundleSetOpt": {
1190
- "document": "运营端命名空间bundle实体",
1191
- "members": [],
1192
- "usage": "out"
1193
- },
1194
1189
  "ClearCmqQueueRequest": {
1195
1190
  "document": "ClearCmqQueue请求参数结构体",
1196
1191
  "members": [
@@ -6410,7 +6405,7 @@
6410
6405
  },
6411
6406
  {
6412
6407
  "disabled": false,
6413
- "document": "bundle 所属的 broker ip 地址,支持模糊查询",
6408
+ "document": "bundle 所属的 broker IP 地址,支持模糊查询",
6414
6409
  "example": "127.0.0.1",
6415
6410
  "member": "string",
6416
6411
  "name": "OwnerBroker",
@@ -6429,18 +6424,10 @@
6429
6424
  "example": "10",
6430
6425
  "member": "int64",
6431
6426
  "name": "TotalCount",
6427
+ "output_required": true,
6432
6428
  "type": "int",
6433
6429
  "value_allowed_null": false
6434
6430
  },
6435
- {
6436
- "disabled": false,
6437
- "document": "bundle列表",
6438
- "example": "无",
6439
- "member": "BundleSetOpt",
6440
- "name": "BundleSet",
6441
- "type": "list",
6442
- "value_allowed_null": false
6443
- },
6444
6431
  {
6445
6432
  "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
6446
6433
  "member": "string",
@@ -464,7 +464,7 @@
464
464
  {
465
465
  "document": "测试",
466
466
  "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNamespaceBundlesOpt\n<公共请求参数>\n\n{\n \"ClusterName\": \"tdmq_txy_gz_01\",\n \"Limit\": 20,\n \"NamespaceName\": \"ns_1\",\n \"NeedMetrics\": true,\n \"Offset\": 0,\n \"TenantId\": \"pulsar-pbkdk57xz9wv\"\n}",
467
- "output": "{\n \"Response\": {\n \"RequestId\": \"d2d3e253-3b1d-4471-a350-25e6ae20916c\",\n \"TotalCount\": 30,\n \"BundleSet\": [\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {}\n ]\n }\n}",
467
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d2d3e253-3b1d-4471-a350-25e6ae20916c\",\n \"TotalCount\": 30\n }\n}",
468
468
  "title": "test"
469
469
  }
470
470
  ],
@@ -29,9 +29,9 @@
29
29
  "status": "online"
30
30
  },
31
31
  "CreateCosToken": {
32
- "document": "生成Cos临时秘钥",
32
+ "document": "生成Cos临时密钥",
33
33
  "input": "CreateCosTokenRequest",
34
- "name": "生成Cos临时秘钥",
34
+ "name": "生成Cos临时密钥",
35
35
  "output": "CreateCosTokenResponse",
36
36
  "status": "online"
37
37
  },
@@ -1022,7 +1022,7 @@
1022
1022
  "example": "1",
1023
1023
  "member": "CosToken",
1024
1024
  "name": "Result",
1025
- "required": true,
1025
+ "output_required": true,
1026
1026
  "type": "object",
1027
1027
  "value_allowed_null": true
1028
1028
  },
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "CreateCosToken": [
36
36
  {
37
- "document": "为上传jar包和war包,生成Cos临时秘钥",
38
- "input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCosToken\n<公共请求参数>\n\n{\n \"PkgName\": \"xx\",\n \"TimeVersion\": \"xx\",\n \"ApplicationId\": \"xx\",\n \"SourceChannel\": 0,\n \"OptType\": 0\n}",
37
+ "document": "为上传jar包和war包,生成Cos临时密钥",
38
+ "input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCosToken\n<公共请求参数>\n\n{\n \"PkgName\": \"test.jar\",\n \"TimeVersion\": \"1.0\",\n \"ApplicationId\": \"app-testid\",\n \"SourceChannel\": 0,\n \"OptType\": 0\n}",
39
39
  "output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": {}\n }\n}",
40
- "title": "生成Cos临时秘钥"
40
+ "title": "生成Cos临时密钥"
41
41
  }
42
42
  ],
43
43
  "CreateEnvironment": [
@@ -3490,6 +3490,7 @@
3490
3490
  "example": "jkqj4hahfkaf",
3491
3491
  "member": "string",
3492
3492
  "name": "JobId",
3493
+ "output_required": true,
3493
3494
  "type": "string",
3494
3495
  "value_allowed_null": false
3495
3496
  },
@@ -3499,6 +3500,7 @@
3499
3500
  "example": "[]",
3500
3501
  "member": "FailReason",
3501
3502
  "name": "FailedList",
3503
+ "output_required": true,
3502
3504
  "type": "list",
3503
3505
  "value_allowed_null": true
3504
3506
  },
@@ -5044,7 +5046,7 @@
5044
5046
  "example": "无",
5045
5047
  "member": "Quota",
5046
5048
  "name": "PurgeQuota",
5047
- "required": true,
5049
+ "output_required": true,
5048
5050
  "type": "list",
5049
5051
  "value_allowed_null": true
5050
5052
  },
@@ -5054,7 +5056,7 @@
5054
5056
  "example": "无",
5055
5057
  "member": "Quota",
5056
5058
  "name": "PrefetchQuota",
5057
- "required": true,
5059
+ "output_required": true,
5058
5060
  "type": "list",
5059
5061
  "value_allowed_null": true
5060
5062
  },
@@ -660,7 +660,7 @@
660
660
  ],
661
661
  "ModifyAccelerationDomainStatuses": [
662
662
  {
663
- "document": "停用指定DomainId的加速域名。",
663
+ "document": "停用指定名称的加速域名。",
664
664
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccelerationDomainStatuses\n<公共请求参数>\n\n{\n \"DomainNames\": [\n \"example.com\"\n ],\n \"ZoneId\": \"zone-225qgrnvbi9w\",\n \"Status\": \"offline\",\n \"Force\": \"false\"\n}",
665
665
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
666
666
  "title": "批量修改加速域名状态"
@@ -435,6 +435,58 @@ def doDescribeTrainingTask(args, parsed_globals):
435
435
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
436
436
 
437
437
 
438
+ def doDescribeModelAccelerateVersions(args, parsed_globals):
439
+ g_param = parse_global_arg(parsed_globals)
440
+
441
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
442
+ cred = credential.CVMRoleCredential()
443
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
444
+ cred = credential.STSAssumeRoleCredential(
445
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
446
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
447
+ )
448
+ 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):
449
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
450
+ else:
451
+ cred = credential.Credential(
452
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
453
+ )
454
+ http_profile = HttpProfile(
455
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
456
+ reqMethod="POST",
457
+ endpoint=g_param[OptionsDefine.Endpoint],
458
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
459
+ )
460
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
461
+ if g_param[OptionsDefine.Language]:
462
+ profile.language = g_param[OptionsDefine.Language]
463
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
464
+ client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
465
+ client._sdkVersion += ("_CLI_" + __version__)
466
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
467
+ model = models.DescribeModelAccelerateVersionsRequest()
468
+ model.from_json_string(json.dumps(args))
469
+ start_time = time.time()
470
+ while True:
471
+ rsp = client.DescribeModelAccelerateVersions(model)
472
+ result = rsp.to_json_string()
473
+ try:
474
+ json_obj = json.loads(result)
475
+ except TypeError as e:
476
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
477
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
478
+ break
479
+ cur_time = time.time()
480
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
481
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
482
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
483
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
484
+ else:
485
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
486
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
487
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
488
+
489
+
438
490
  def doDeleteModelServiceGroup(args, parsed_globals):
439
491
  g_param = parse_global_arg(parsed_globals)
440
492
 
@@ -5032,6 +5084,7 @@ ACTION_MAP = {
5032
5084
  "DescribeDatasetDetailUnstructured": doDescribeDatasetDetailUnstructured,
5033
5085
  "DeleteNotebook": doDeleteNotebook,
5034
5086
  "DescribeTrainingTask": doDescribeTrainingTask,
5087
+ "DescribeModelAccelerateVersions": doDescribeModelAccelerateVersions,
5035
5088
  "DeleteModelServiceGroup": doDeleteModelServiceGroup,
5036
5089
  "DescribeBatchTasks": doDescribeBatchTasks,
5037
5090
  "CreateCodeRepository": doCreateCodeRepository,