tccli 3.0.1086.1__py2.py3-none-any.whl → 3.0.1088.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 (531) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/acp/v20220105/CreateAppScanTask.md +30 -30
  3. tccli/examples/acp/v20220105/CreateAppScanTaskRepeat.md +26 -26
  4. tccli/examples/acp/v20220105/DescribeResourceUsageInfo.md +7 -7
  5. tccli/examples/acp/v20220105/DescribeScanTaskList.md +29 -29
  6. tccli/examples/acp/v20220105/DescribeScanTaskReportUrl.md +20 -20
  7. tccli/examples/af/v20200226/DescribeAntiFraud.md +26 -26
  8. tccli/examples/ams/v20201229/CreateAudioModerationTask.md +19 -19
  9. tccli/examples/antiddos/v20200309/DescribeBasicDeviceStatus.md +18 -18
  10. tccli/examples/apigateway/v20180808/DescribeLogSearch.md +28 -28
  11. tccli/examples/apm/v20210622/DescribeGeneralMetricData.md +122 -122
  12. tccli/examples/apm/v20210622/DescribeMetricRecords.md +53 -53
  13. tccli/examples/asr/v20190614/DescribeTaskStatus.md +32 -32
  14. tccli/examples/autoscaling/v20180419/CreateLifecycleHook.md +38 -38
  15. tccli/examples/autoscaling/v20180419/CreateScalingPolicy.md +29 -29
  16. tccli/examples/autoscaling/v20180419/DescribeLaunchConfigurations.md +47 -47
  17. tccli/examples/autoscaling/v20180419/ModifyLaunchConfigurationAttributes.md +12 -12
  18. tccli/examples/autoscaling/v20180419/ModifyLoadBalancers.md +18 -18
  19. tccli/examples/autoscaling/v20180419/ModifyScalingPolicy.md +24 -24
  20. tccli/examples/bi/v20220105/CreateUserRoleProject.md +23 -23
  21. tccli/examples/bi/v20220105/DeleteDatasource.md +10 -10
  22. tccli/examples/bi/v20220105/DescribeDatasourceList.md +12 -12
  23. tccli/examples/bi/v20220105/ModifyDatasourceCloud.md +38 -38
  24. tccli/examples/billing/v20180709/DescribeBillSummary.md +147 -147
  25. tccli/examples/billing/v20180709/DescribeBillSummaryForOrganization.md +147 -147
  26. tccli/examples/bmvpc/v20180625/BindEipsToNatGateway.md +8 -8
  27. tccli/examples/bmvpc/v20180625/CreateNatGateway.md +18 -18
  28. tccli/examples/btoe/v20210514/CreateHashDepositNoCert.md +16 -16
  29. tccli/examples/cat/v20180409/CreateProbeTasks.md +17 -17
  30. tccli/examples/cat/v20180409/DescribeProbeTasks.md +46 -46
  31. tccli/examples/cbs/v20170312/CreateDisks.md +19 -19
  32. tccli/examples/cbs/v20170312/InquiryPriceCreateDisks.md +32 -32
  33. tccli/examples/cbs/v20170312/ModifyAutoSnapshotPolicyAttribute.md +11 -11
  34. tccli/examples/cdb/v20170320/AnalyzeAuditLogs.md +43 -43
  35. tccli/examples/cdb/v20170320/DescribeAuditLogs.md +19 -19
  36. tccli/examples/cdn/v20180606/ModifyDomainConfig.md +20 -20
  37. tccli/examples/cdn/v20180606/VerifyDomainRecord.md +11 -11
  38. tccli/examples/cdwch/v20200915/ScaleOutInstance.md +10 -11
  39. tccli/examples/cdwdoris/v20211228/DescribeInstanceNodesInfo.md +4 -4
  40. tccli/examples/cfg/v20210820/ModifyTaskRunStatus.md +10 -10
  41. tccli/examples/cfw/v20190904/CreateNatFwInstanceWithDomain.md +10 -10
  42. tccli/examples/cfw/v20190904/ModifyNatFwSwitch.md +6 -6
  43. tccli/examples/cfw/v20190904/SetNatFwEip.md +7 -7
  44. tccli/examples/ckafka/v20190819/CreateConnectResource.md +21 -21
  45. tccli/examples/ckafka/v20190819/CreateDatahubTask.md +36 -36
  46. tccli/examples/clb/v20180317/CreateListener.md +34 -34
  47. tccli/examples/clb/v20180317/DeleteLoadBalancerListeners.md +7 -7
  48. tccli/examples/clb/v20180317/DescribeListeners.md +7 -7
  49. tccli/examples/clb/v20180317/DescribeLoadBalancerListByCertId.md +27 -27
  50. tccli/examples/clb/v20180317/DescribeLoadBalancers.md +23 -23
  51. tccli/examples/clb/v20180317/DescribeTargets.md +55 -55
  52. tccli/examples/clb/v20180317/InquiryPriceCreateLoadBalancer.md +35 -35
  53. tccli/examples/clb/v20180317/ModifyBlockIPList.md +13 -13
  54. tccli/examples/clb/v20180317/ModifyListener.md +20 -20
  55. tccli/examples/clb/v20180317/RegisterTargets.md +9 -9
  56. tccli/examples/clb/v20180317/SetLoadBalancerClsLog.md +8 -8
  57. tccli/examples/clb/v20180317/SetLoadBalancerSecurityGroups.md +9 -9
  58. tccli/examples/cls/v20201016/CreateConfig.md +57 -57
  59. tccli/examples/cls/v20201016/DescribeDashboards.md +40 -40
  60. tccli/examples/cme/v20191029/CreateLink.md +24 -24
  61. tccli/examples/cme/v20191029/CreateProject.md +50 -50
  62. tccli/examples/cme/v20191029/DescribeMaterials.md +73 -73
  63. tccli/examples/cme/v20191029/DescribeTeamMembers.md +19 -19
  64. tccli/examples/cme/v20191029/DescribeTeams.md +18 -18
  65. tccli/examples/cme/v20191029/ExportVideoByEditorTrackData.md +29 -29
  66. tccli/examples/cme/v20191029/ExportVideoByVideoSegmentationData.md +11 -11
  67. tccli/examples/cme/v20191029/ExportVideoEditProject.md +42 -42
  68. tccli/examples/cme/v20191029/HandleMediaCastProject.md +125 -125
  69. tccli/examples/cme/v20191029/HandleStreamConnectProject.md +107 -107
  70. tccli/examples/cme/v20191029/ImportMaterial.md +48 -48
  71. tccli/examples/cme/v20191029/ImportMediaToProject.md +14 -14
  72. tccli/examples/cme/v20191029/ModifyMaterial.md +7 -7
  73. tccli/examples/cme/v20191029/MoveResource.md +20 -20
  74. tccli/examples/cme/v20191029/ParseEvent.md +66 -66
  75. tccli/examples/cme/v20191029/SearchMaterial.md +11 -11
  76. tccli/examples/cvm/v20170312/InquiryPriceRunInstances.md +42 -42
  77. tccli/examples/cvm/v20170312/ModifyInstancesChargeType.md +7 -7
  78. tccli/examples/cvm/v20170312/RunInstances.md +28 -28
  79. tccli/examples/cwp/v20180228/ModifyBaselinePolicy.md +15 -15
  80. tccli/examples/cwp/v20180228/ModifyBaselinePolicyState.md +6 -6
  81. tccli/examples/cwp/v20180228/ModifyBashPolicyStatus.md +6 -6
  82. tccli/examples/cynosdb/v20190107/DescribeAuditLogs.md +19 -19
  83. tccli/examples/cynosdb/v20190107/DescribeProxySpecs.md +16 -16
  84. tccli/examples/dc/v20180410/CreateDirectConnectTunnel.md +38 -38
  85. tccli/examples/dc/v20180410/DescribeDirectConnects.md +47 -47
  86. tccli/examples/dlc/v20210125/DescribeUserRoles.md +33 -33
  87. tccli/examples/dnspod/v20210323/DescribeSnapshotRollbackResult.md +20 -20
  88. tccli/examples/domain/v20180808/DescribeTldList.md +170 -0
  89. tccli/examples/dsgc/v20190723/DescribeDSPASupportedMetas.md +33 -33
  90. tccli/examples/dts/v20180330/CreateMigrateJob.md +29 -29
  91. tccli/examples/dts/v20180330/DescribeMigrateCheckJob.md +14 -14
  92. tccli/examples/ecc/v20181213/CorrectMultiImage.md +29 -29
  93. tccli/examples/ecc/v20181213/EHOCR.md +10 -10
  94. tccli/examples/ecm/v20190719/CreateDisks.md +19 -19
  95. tccli/examples/ecm/v20190719/DeleteSecurityGroupPolicies.md +20 -20
  96. tccli/examples/ecm/v20190719/DescribeInstances.md +160 -160
  97. tccli/examples/emr/v20190103/InquiryPriceRenewInstance.md +27 -27
  98. tccli/examples/emr/v20190103/ModifyAutoScaleStrategy.md +26 -26
  99. tccli/examples/ess/v20201111/CancelUserAutoSignEnableUrl.md +10 -10
  100. tccli/examples/ess/v20201111/CreateBatchQuickSignUrl.md +81 -81
  101. tccli/examples/ess/v20201111/CreateDocument.md +34 -34
  102. tccli/examples/ess/v20201111/CreateExtendedServiceAuthInfos.md +13 -13
  103. tccli/examples/ess/v20201111/CreateFlowApprovers.md +84 -84
  104. tccli/examples/ess/v20201111/CreateFlowByFiles.md +765 -765
  105. tccli/examples/ess/v20201111/CreateFlowEvidenceReport.md +13 -13
  106. tccli/examples/ess/v20201111/CreateFlowGroupByFiles.md +91 -91
  107. tccli/examples/ess/v20201111/CreateFlowGroupByTemplates.md +97 -97
  108. tccli/examples/ess/v20201111/CreateFlowSignUrl.md +73 -73
  109. tccli/examples/ess/v20201111/CreateIntegrationDepartment.md +17 -17
  110. tccli/examples/ess/v20201111/CreateIntegrationEmployees.md +41 -41
  111. tccli/examples/ess/v20201111/CreateIntegrationRole.md +25 -25
  112. tccli/examples/ess/v20201111/CreateMultiFlowSignQRCode.md +69 -69
  113. tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +21 -21
  114. tccli/examples/ess/v20201111/CreateOrganizationInfoChangeUrl.md +17 -17
  115. tccli/examples/ess/v20201111/CreatePrepareFlow.md +67 -67
  116. tccli/examples/ess/v20201111/CreateReleaseFlow.md +65 -65
  117. tccli/examples/ess/v20201111/CreateSchemeUrl.md +68 -68
  118. tccli/examples/ess/v20201111/CreateSeal.md +44 -44
  119. tccli/examples/ess/v20201111/DeleteExtendedServiceAuthInfos.md +8 -8
  120. tccli/examples/ess/v20201111/DescribeExtendedServiceAuthDetail.md +20 -20
  121. tccli/examples/ess/v20201111/DescribeExtendedServiceAuthInfos.md +27 -27
  122. tccli/examples/ess/v20201111/DescribeFileUrls.md +47 -47
  123. tccli/examples/ess/v20201111/DescribeFlowEvidenceReport.md +14 -14
  124. tccli/examples/ess/v20201111/DescribeIntegrationDepartments.md +29 -29
  125. tccli/examples/ess/v20201111/DescribeIntegrationEmployees.md +77 -77
  126. tccli/examples/ess/v20201111/ModifyApplicationCallbackInfo.md +18 -18
  127. tccli/examples/ess/v20201111/ModifyFlowDeadline.md +31 -31
  128. tccli/examples/ess/v20201111/ModifyIntegrationRole.md +25 -25
  129. tccli/examples/ess/v20201111/StartFlow.md +17 -17
  130. tccli/examples/ess/v20201111/UnbindEmployeeUserIdWithClientOpenId.md +13 -13
  131. tccli/examples/ess/v20201111/UpdateIntegrationEmployees.md +25 -25
  132. tccli/examples/essbasic/v20210526/ChannelBatchCancelFlows.md +10 -10
  133. tccli/examples/essbasic/v20210526/ChannelCreateBatchQuickSignUrl.md +43 -43
  134. tccli/examples/essbasic/v20210526/ChannelCreateBoundFlows.md +10 -10
  135. tccli/examples/essbasic/v20210526/ChannelCreateFlowApprovers.md +34 -34
  136. tccli/examples/essbasic/v20210526/ChannelCreateFlowByFiles.md +67 -67
  137. tccli/examples/essbasic/v20210526/ChannelCreateMultiFlowSignQRCode.md +17 -17
  138. tccli/examples/essbasic/v20210526/ChannelCreatePreparedPersonalEsign.md +27 -27
  139. tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +70 -70
  140. tccli/examples/essbasic/v20210526/ChannelCreateRole.md +26 -26
  141. tccli/examples/essbasic/v20210526/ChannelCreateSealPolicy.md +10 -10
  142. tccli/examples/essbasic/v20210526/ChannelDescribeBillUsageDetail.md +7 -7
  143. tccli/examples/essbasic/v20210526/ChannelModifyRole.md +27 -27
  144. tccli/examples/essbasic/v20210526/ChannelVerifyPdf.md +29 -29
  145. tccli/examples/essbasic/v20210526/CreateBatchOrganizationRegistrationTasks.md +16 -16
  146. tccli/examples/essbasic/v20210526/CreateChannelFlowEvidenceReport.md +14 -14
  147. tccli/examples/essbasic/v20210526/CreateConsoleLoginUrl.md +18 -18
  148. tccli/examples/essbasic/v20210526/CreateFlowGroupSignReview.md +22 -22
  149. tccli/examples/essbasic/v20210526/CreateFlowsByTemplates.md +161 -161
  150. tccli/examples/essbasic/v20210526/CreatePartnerAutoSignAuthUrl.md +5 -5
  151. tccli/examples/essbasic/v20210526/CreateSealByImage.md +22 -22
  152. tccli/examples/essbasic/v20210526/CreateSignUrls.md +153 -153
  153. tccli/examples/essbasic/v20210526/DescribeChannelFlowEvidenceReport.md +6 -6
  154. tccli/examples/essbasic/v20210526/DescribeChannelOrganizations.md +20 -20
  155. tccli/examples/essbasic/v20210526/DescribeExtendedServiceAuthDetail.md +20 -20
  156. tccli/examples/essbasic/v20210526/DescribeExtendedServiceAuthInfo.md +27 -27
  157. tccli/examples/essbasic/v20210526/DescribeResourceUrlsByFlows.md +22 -22
  158. tccli/examples/essbasic/v20210526/DescribeTemplates.md +87 -87
  159. tccli/examples/essbasic/v20210526/ModifyFlowDeadline.md +31 -31
  160. tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +41 -41
  161. tccli/examples/facefusion/v20181201/FaceFusion.md +26 -26
  162. tccli/examples/faceid/v20180301/BankCardVerification.md +10 -10
  163. tccli/examples/faceid/v20180301/DetectAIFakeFaces.md +20 -20
  164. tccli/examples/faceid/v20180301/IdCardOCRVerification.md +18 -18
  165. tccli/examples/faceid/v20180301/MobileNetworkTimeVerification.md +12 -12
  166. tccli/examples/fmu/v20191213/CreateModel.md +9 -9
  167. tccli/examples/fmu/v20191213/DeleteModel.md +8 -8
  168. tccli/examples/fmu/v20191213/StyleImagePro.md +13 -13
  169. tccli/examples/fmu/v20191213/TryLipstickPic.md +28 -28
  170. tccli/examples/gaap/v20180529/DescribeDestRegions.md +24 -24
  171. tccli/examples/gaap/v20180529/ModifyProxyGroupAttribute.md +8 -8
  172. tccli/examples/gme/v20180711/ScanVoice.md +13 -13
  173. tccli/examples/hunyuan/v20230901/ChatPro.md +66 -66
  174. tccli/examples/hunyuan/v20230901/ChatStd.md +39 -39
  175. tccli/examples/iai/v20180301/CopyPerson.md +17 -17
  176. tccli/examples/iai/v20180301/CreateFace.md +26 -26
  177. tccli/examples/iai/v20180301/CreateGroup.md +34 -34
  178. tccli/examples/iai/v20180301/CreatePerson.md +60 -60
  179. tccli/examples/iai/v20180301/DeleteFace.md +16 -16
  180. tccli/examples/iai/v20180301/DeleteGroup.md +12 -12
  181. tccli/examples/iai/v20180301/DeletePerson.md +12 -12
  182. tccli/examples/iai/v20180301/DeletePersonFromGroup.md +14 -14
  183. tccli/examples/iai/v20180301/GetGroupList.md +26 -26
  184. tccli/examples/iai/v20180301/GetPersonBaseInfo.md +18 -18
  185. tccli/examples/iai/v20180301/GetPersonGroupInfo.md +22 -22
  186. tccli/examples/iai/v20180301/GetPersonList.md +29 -29
  187. tccli/examples/iai/v20180301/GetPersonListNum.md +14 -14
  188. tccli/examples/iai/v20180301/ModifyGroup.md +31 -31
  189. tccli/examples/iai/v20180301/ModifyPersonBaseInfo.md +13 -13
  190. tccli/examples/iai/v20180301/ModifyPersonGroupInfo.md +14 -14
  191. tccli/examples/iai/v20180301/SearchFaces.md +52 -52
  192. tccli/examples/iai/v20180301/SearchPersons.md +26 -26
  193. tccli/examples/iai/v20180301/SearchPersonsReturnsByGroup.md +29 -29
  194. tccli/examples/iai/v20200303/CopyPerson.md +17 -17
  195. tccli/examples/iai/v20200303/CreateFace.md +26 -26
  196. tccli/examples/iai/v20200303/CreateGroup.md +34 -34
  197. tccli/examples/iai/v20200303/CreatePerson.md +58 -58
  198. tccli/examples/iai/v20200303/DeleteFace.md +16 -16
  199. tccli/examples/iai/v20200303/DeleteGroup.md +12 -12
  200. tccli/examples/iai/v20200303/DeletePerson.md +12 -12
  201. tccli/examples/iai/v20200303/DeletePersonFromGroup.md +14 -14
  202. tccli/examples/iai/v20200303/GetGroupList.md +26 -26
  203. tccli/examples/iai/v20200303/GetPersonBaseInfo.md +18 -18
  204. tccli/examples/iai/v20200303/GetPersonGroupInfo.md +28 -28
  205. tccli/examples/iai/v20200303/GetPersonList.md +28 -28
  206. tccli/examples/iai/v20200303/GetPersonListNum.md +14 -14
  207. tccli/examples/iai/v20200303/GetUpgradeGroupFaceModelVersionResult.md +16 -16
  208. tccli/examples/iai/v20200303/ModifyGroup.md +31 -31
  209. tccli/examples/iai/v20200303/ModifyPersonGroupInfo.md +21 -21
  210. tccli/examples/iai/v20200303/SearchFaces.md +52 -52
  211. tccli/examples/iai/v20200303/SearchPersons.md +26 -26
  212. tccli/examples/iai/v20200303/SearchPersonsReturnsByGroup.md +29 -29
  213. tccli/examples/iai/v20200303/UpgradeGroupFaceModelVersion.md +19 -19
  214. tccli/examples/iecp/v20210914/CreateEdgeUnitCloud.md +18 -18
  215. tccli/examples/iotexplorer/v20190423/CallDeviceActionSync.md +13 -13
  216. tccli/examples/iotexplorer/v20190423/ControlDeviceData.md +8 -8
  217. tccli/examples/iotexplorer/v20190423/CreateBatchProduction.md +10 -10
  218. tccli/examples/iotexplorer/v20190423/GetLoRaGatewayList.md +20 -20
  219. tccli/examples/iotvideo/v20191126/DescribeAccountBalance.md +14 -14
  220. tccli/examples/iotvideo/v20191126/DescribeRechargeRecords.md +17 -17
  221. tccli/examples/iotvideoindustry/v20201201/DescribeRecordStream.md +7 -7
  222. tccli/examples/iotvideoindustry/v20201201/GetVideoListByCon.md +5 -5
  223. tccli/examples/iss/v20230517/AddUserDevice.md +10 -10
  224. tccli/examples/iss/v20230517/ListOrganizationChannels.md +56 -56
  225. tccli/examples/iss/v20230517/ListRecordPlanDevices.md +67 -67
  226. tccli/examples/iss/v20230517/ListRecordRetrieveTasks.md +20 -20
  227. tccli/examples/iss/v20230517/UpdateRecordPlan.md +12 -12
  228. tccli/examples/iss/v20230517/UpdateRecordTemplate.md +16 -16
  229. tccli/examples/iss/v20230517/UpdateUserDevice.md +25 -25
  230. tccli/examples/ivld/v20210903/DescribeCustomCategories.md +12 -12
  231. tccli/examples/ivld/v20210903/DescribeMedia.md +24 -24
  232. tccli/examples/ivld/v20210903/ImportMedia.md +11 -11
  233. tccli/examples/lcic/v20220817/DescribeDocument.md +33 -33
  234. tccli/examples/lcic/v20220817/DescribeRoom.md +40 -40
  235. tccli/examples/lcic/v20220817/ModifyRoom.md +26 -26
  236. tccli/examples/live/v20180801/CreateCommonMixStream.md +8 -8
  237. tccli/examples/live/v20180801/CreateLiveRecordTemplate.md +22 -22
  238. tccli/examples/monitor/v20180724/CreateExporterIntegration.md +204 -204
  239. tccli/examples/monitor/v20180724/CreatePrometheusClusterAgent.md +25 -25
  240. tccli/examples/monitor/v20180724/DescribeAlarmPolicies.md +32 -32
  241. tccli/examples/monitor/v20180724/DescribeMonitorResourceInfo.md +4 -4
  242. tccli/examples/monitor/v20180724/DescribePrometheusInstanceInitStatus.md +6 -6
  243. tccli/examples/monitor/v20180724/GetMonitorData.md +51 -51
  244. tccli/examples/monitor/v20180724/ModifyAlarmPolicyCondition.md +31 -31
  245. tccli/examples/mps/v20190612/CreateAIRecognitionTemplate.md +22 -22
  246. tccli/examples/mps/v20190612/CreateContentReviewTemplate.md +23 -23
  247. tccli/examples/mps/v20190612/CreateWordSamples.md +13 -13
  248. tccli/examples/mps/v20190612/DescribeAIAnalysisTemplates.md +29 -29
  249. tccli/examples/mps/v20190612/DescribeAIRecognitionTemplates.md +17 -17
  250. tccli/examples/mps/v20190612/DescribeContentReviewTemplates.md +51 -51
  251. tccli/examples/mps/v20190612/DescribeTasks.md +9 -9
  252. tccli/examples/mps/v20190612/ModifyAIAnalysisTemplate.md +6 -6
  253. tccli/examples/mps/v20190612/ModifyContentReviewTemplate.md +7 -7
  254. tccli/examples/ms/v20180408/CreateEncryptInstance.md +48 -48
  255. tccli/examples/ms/v20180408/DescribeEncryptInstances.md +63 -63
  256. tccli/examples/ms/v20180408/DescribeEncryptPlan.md +30 -30
  257. tccli/examples/ms/v20180408/DescribeShieldResult.md +42 -42
  258. tccli/examples/oceanus/v20190422/CheckSavepoint.md +16 -16
  259. tccli/examples/oceanus/v20190422/DescribeJobSubmissionLog.md +42 -42
  260. tccli/examples/oceanus/v20190422/DescribeTreeResources.md +48 -48
  261. tccli/examples/ocr/v20181119/GeneralHandwritingOCR.md +48 -48
  262. tccli/examples/ocr/v20181119/IDCardOCR.md +30 -30
  263. tccli/examples/omics/v20221128/RetryRuns.md +11 -11
  264. tccli/examples/partners/v20180321/DescribeAgentClients.md +26 -26
  265. tccli/examples/postgres/v20170312/CreateInstances.md +15 -15
  266. tccli/examples/postgres/v20170312/DescribeDBInstanceHAConfig.md +12 -12
  267. tccli/examples/postgres/v20170312/DescribeDBInstanceSecurityGroups.md +49 -49
  268. tccli/examples/postgres/v20170312/ModifyDBInstanceDeployment.md +8 -8
  269. tccli/examples/postgres/v20170312/ModifyDBInstanceHAConfig.md +15 -15
  270. tccli/examples/postgres/v20170312/ModifyDBInstanceName.md +12 -12
  271. tccli/examples/rum/v20210622/CreateWhitelist.md +14 -14
  272. tccli/examples/rum/v20210622/DescribeDataFetchProject.md +25 -25
  273. tccli/examples/rum/v20210622/DescribeDataFetchUrl.md +29 -29
  274. tccli/examples/rum/v20210622/DescribeDataPerformancePage.md +25 -25
  275. tccli/examples/rum/v20210622/DescribeDataPvUrlStatistics.md +32 -32
  276. tccli/examples/rum/v20210622/DescribeDataSetUrlStatistics.md +25 -25
  277. tccli/examples/rum/v20210622/DescribeProjects.md +6 -6
  278. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +22 -22
  279. tccli/examples/rum/v20210622/DescribeRumLogExport.md +17 -17
  280. tccli/examples/rum/v20210622/DescribeRumLogExports.md +12 -12
  281. tccli/examples/rum/v20210622/DescribeRumLogList.md +18 -18
  282. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +16 -16
  283. tccli/examples/rum/v20210622/ModifyProjectLimit.md +13 -13
  284. tccli/examples/ses/v20201002/SendEmail.md +5 -5
  285. tccli/examples/soe/v20180724/InitOralProcess.md +18 -18
  286. tccli/examples/soe/v20180724/TransmitOralProcessWithInit.md +155 -155
  287. tccli/examples/sqlserver/v20180328/DescribeBackupByFlowId.md +24 -24
  288. tccli/examples/sqlserver/v20180328/DescribeBackupCommand.md +12 -12
  289. tccli/examples/sqlserver/v20180328/ModifyDBInstanceNetwork.md +15 -15
  290. tccli/examples/ssl/v20191205/UploadCertificate.md +17 -17
  291. tccli/examples/sts/v20180813/GetCallerIdentity.md +14 -14
  292. tccli/examples/tag/v20180813/ModifyResourceTags.md +8 -8
  293. tccli/examples/tan/v20220420/CreateBlockNodeRecords.md +4 -4
  294. tccli/examples/tat/v20201028/DescribeCommands.md +39 -39
  295. tccli/examples/tcb/v20180608/CreateWxCloudBaseRunServerDBCluster.md +16 -16
  296. tccli/examples/tcbr/v20220217/CreateCloudRunEnv.md +30 -30
  297. tccli/examples/tcbr/v20220217/CreateCloudRunServer.md +48 -48
  298. tccli/examples/tcbr/v20220217/DescribeCloudRunEnvs.md +24 -24
  299. tccli/examples/tcbr/v20220217/DescribeCloudRunServerDetail.md +25 -25
  300. tccli/examples/tcr/v20190924/CreateServiceAccount.md +28 -28
  301. tccli/examples/tcr/v20190924/ModifyInstanceToken.md +7 -7
  302. tccli/examples/tcr/v20190924/ModifyServiceAccountPassword.md +11 -11
  303. tccli/examples/tcss/v20201101/AddAssetImageRegistryRegistryDetail.md +31 -31
  304. tccli/examples/tcss/v20201101/CreateAssetImageRegistryScanTask.md +12 -12
  305. tccli/examples/tcss/v20201101/DescribeAbnormalProcessRuleDetail.md +52 -52
  306. tccli/examples/tcss/v20201101/DescribeAccessControlRuleDetail.md +54 -54
  307. tccli/examples/tcss/v20201101/DescribeAssetImageRegistryDetail.md +36 -36
  308. tccli/examples/tcss/v20201101/DescribeAssetImageRegistryScanStatusOneKey.md +29 -29
  309. tccli/examples/tcss/v20201101/ModifyAssetImageRegistryScanStop.md +9 -9
  310. tccli/examples/tcss/v20201101/ModifyAssetImageRegistryScanStopOneKey.md +8 -8
  311. tccli/examples/tdmq/v20200217/CreateCmqQueue.md +8 -8
  312. tccli/examples/tdmq/v20200217/CreateCmqTopic.md +8 -8
  313. tccli/examples/tdmq/v20200217/DescribeRocketMQMigratingTopicList.md +33 -33
  314. tccli/examples/tdmq/v20200217/DescribeRocketMQSourceClusterGroupList.md +54 -54
  315. tccli/examples/tdmq/v20200217/DescribeRocketMQSourceClusterTopicList.md +44 -44
  316. tccli/examples/tdmq/v20200217/ImportRocketMQConsumerGroups.md +14 -14
  317. tccli/examples/teo/v20220901/CreateAccelerationDomain.md +19 -19
  318. tccli/examples/teo/v20220901/CreatePurgeTask.md +24 -24
  319. tccli/examples/teo/v20220901/CreateRule.md +59 -59
  320. tccli/examples/teo/v20220901/CreateZone.md +32 -32
  321. tccli/examples/teo/v20220901/DescribeOverviewL7Data.md +16 -16
  322. tccli/examples/teo/v20220901/DescribeTimingL4Data.md +6 -6
  323. tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md +7 -7
  324. tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md +14 -14
  325. tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md +9 -9
  326. tccli/examples/teo/v20220901/DescribeTopL7CacheData.md +24 -24
  327. tccli/examples/tiia/v20190529/CreateImage.md +11 -11
  328. tccli/examples/tiia/v20190529/DeleteImages.md +8 -8
  329. tccli/examples/tiia/v20190529/DetectChefDress.md +25 -25
  330. tccli/examples/tiia/v20190529/DetectLabel.md +25 -25
  331. tccli/examples/tiia/v20190529/DetectPet.md +24 -24
  332. tccli/examples/tiia/v20190529/DetectSecurity.md +25 -25
  333. tccli/examples/tiia/v20190529/EnhanceImage.md +11 -11
  334. tccli/examples/tiia/v20190529/RecognizeCarPro.md +25 -25
  335. tccli/examples/tiia/v20190529/UpdateImage.md +13 -13
  336. tccli/examples/tke/v20180525/DeleteReservedInstances.md +12 -12
  337. tccli/examples/tke/v20180525/DescribePodsBySpec.md +15 -15
  338. tccli/examples/tke/v20180525/DescribeRIUtilizationDetail.md +16 -16
  339. tccli/examples/tke/v20180525/DescribeReservedInstances.md +17 -17
  340. tccli/examples/tke/v20180525/ModifyReservedInstanceScope.md +19 -19
  341. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +30 -30
  342. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +6 -6
  343. tccli/examples/trtc/v20190722/StartPublishCdnStream.md +24 -24
  344. tccli/examples/trtc/v20190722/UpdatePublishCdnStream.md +27 -27
  345. tccli/examples/tse/v20201207/DescribeConfigFileReleaseHistories.md +48 -48
  346. tccli/examples/tsf/v20180326/DeployGroup.md +15 -15
  347. tccli/examples/tsf/v20180326/DescribeApiGroups.md +47 -47
  348. tccli/examples/vm/v20201229/CreateVideoModerationTask.md +19 -19
  349. tccli/examples/vod/v20180717/CreateAIRecognitionTemplate.md +12 -12
  350. tccli/examples/vod/v20180717/CreateContentReviewTemplate.md +16 -16
  351. tccli/examples/vod/v20180717/CreateImageProcessingTemplate.md +12 -12
  352. tccli/examples/vod/v20180717/CreateProcedureTemplate.md +23 -23
  353. tccli/examples/vod/v20180717/CreateWordSamples.md +13 -13
  354. tccli/examples/vod/v20180717/DeleteMedia.md +10 -10
  355. tccli/examples/vod/v20180717/DescribeAIAnalysisTemplates.md +32 -32
  356. tccli/examples/vod/v20180717/DescribeAIRecognitionTemplates.md +46 -46
  357. tccli/examples/vod/v20180717/DescribeCDNUsageData.md +13 -13
  358. tccli/examples/vod/v20180717/DescribeContentReviewTemplates.md +7 -7
  359. tccli/examples/vod/v20180717/DescribeTaskDetail.md +119 -119
  360. tccli/examples/vod/v20180717/EditMedia.md +53 -53
  361. tccli/examples/vod/v20180717/ModifyAIAnalysisTemplate.md +6 -6
  362. tccli/examples/vod/v20180717/ModifyAIRecognitionTemplate.md +9 -9
  363. tccli/examples/vod/v20180717/ModifyMediaInfo.md +23 -23
  364. tccli/examples/vod/v20180717/ModifyVodDomainConfig.md +13 -13
  365. tccli/examples/vod/v20180717/ProcessMedia.md +29 -29
  366. tccli/examples/vod/v20180717/ProcessMediaByUrl.md +8 -8
  367. tccli/examples/vod/v20180717/SearchMedia.md +12 -12
  368. tccli/examples/vod/v20180717/SimpleHlsClip.md +6 -6
  369. tccli/examples/vpc/v20170312/CheckAssistantCidr.md +19 -19
  370. tccli/examples/vpc/v20170312/CloneSecurityGroup.md +15 -15
  371. tccli/examples/vpc/v20170312/CreateDefaultVpc.md +14 -14
  372. tccli/examples/vpc/v20170312/DeleteSecurityGroupPolicies.md +24 -24
  373. tccli/examples/vpc/v20170312/DescribeAddresses.md +74 -74
  374. tccli/examples/vpc/v20170312/DescribeCrossBorderCcnRegionBandwidthLimits.md +43 -43
  375. tccli/examples/vpc/v20170312/DescribeDhcpIps.md +5 -5
  376. tccli/examples/vpc/v20170312/DescribeIp6Addresses.md +7 -7
  377. tccli/examples/vpc/v20170312/DescribeNatGatewayDestinationIpPortTranslationNatRules.md +13 -13
  378. tccli/examples/vpc/v20170312/DescribeNatGateways.md +39 -39
  379. tccli/examples/vpc/v20170312/ModifyNetworkAclEntries.md +14 -14
  380. tccli/examples/vpc/v20170312/RefreshDirectConnectGatewayRouteToNatGateway.md +8 -8
  381. tccli/examples/vpc/v20170312/ReleaseIp6AddressesBandwidth.md +10 -10
  382. tccli/examples/vpc/v20170312/SetCcnRegionBandwidthLimits.md +11 -11
  383. tccli/examples/waf/v20180125/AddAntiFakeUrl.md +10 -10
  384. tccli/examples/waf/v20180125/AddSpartaProtection.md +42 -42
  385. tccli/examples/waf/v20180125/DescribeCCRuleList.md +48 -48
  386. tccli/examples/waf/v20180125/DescribeCustomRuleList.md +25 -25
  387. tccli/examples/waf/v20180125/DescribeTlsVersion.md +4 -4
  388. tccli/examples/waf/v20180125/ModifyApiAnalyzeStatus.md +7 -7
  389. tccli/examples/waf/v20180125/ModifyBotStatus.md +9 -9
  390. tccli/examples/waf/v20180125/ModifySpartaProtection.md +46 -46
  391. tccli/examples/waf/v20180125/UpsertCCRule.md +25 -25
  392. tccli/examples/wedata/v20210820/BatchCreateTaskVersionDs.md +33 -33
  393. tccli/examples/wedata/v20210820/BatchDeleteTasksDs.md +13 -13
  394. tccli/examples/wedata/v20210820/BatchStopIntegrationTasks.md +18 -18
  395. tccli/examples/wedata/v20210820/CommitIntegrationTask.md +23 -23
  396. tccli/examples/wedata/v20210820/DeleteProjectUsers.md +4 -4
  397. tccli/examples/wedata/v20210820/DescribeBatchOperateTask.md +32 -32
  398. tccli/examples/wedata/v20210820/DescribeColumnsMeta.md +48 -48
  399. tccli/examples/wedata/v20210820/DescribeIntegrationTasks.md +142 -142
  400. tccli/examples/wedata/v20210820/DescribeOperateOpsTasks.md +49 -49
  401. tccli/examples/wedata/v20210820/DescribeProject.md +6 -6
  402. tccli/examples/wedata/v20210820/DescribeSchedulerInstanceStatus.md +35 -35
  403. tccli/examples/wedata/v20210820/DescribeSchedulerRunTimeInstanceCntByStatus.md +29 -29
  404. tccli/examples/wedata/v20210820/DescribeSchedulerTaskCntByStatus.md +23 -23
  405. tccli/examples/wedata/v20210820/DescribeSchedulerTaskTypeCnt.md +26 -26
  406. tccli/examples/wedata/v20210820/DescribeStatisticInstanceStatusTrendOps.md +34 -34
  407. tccli/examples/wedata/v20210820/DescribeTableLineage.md +48 -48
  408. tccli/examples/wedata/v20210820/DescribeTaskByCycle.md +20 -20
  409. tccli/examples/wedata/v20210820/ModifyBaselineAlarmStatus.md +10 -10
  410. tccli/examples/wedata/v20210820/ResumeIntegrationTask.md +18 -18
  411. tccli/examples/wedata/v20210820/StartIntegrationTask.md +18 -18
  412. tccli/examples/weilingwith/v20230427/BatchDeleteDevice.md +22 -0
  413. tccli/examples/weilingwith/v20230427/DeleteDeviceGroup.md +27 -0
  414. tccli/examples/weilingwith/v20230427/DescribeDeviceGroupList.md +61 -0
  415. tccli/examples/weilingwith/v20230427/DescribeSpaceRelationByDeviceId.md +36 -36
  416. tccli/examples/weilingwith/v20230427/DescribeTenantDepartmentList.md +6 -6
  417. tccli/examples/weilingwith/v20230427/ModifyDeviceField.md +27 -0
  418. tccli/examples/weilingwith/v20230427/ModifyDeviceGroup.md +26 -0
  419. tccli/examples/weilingwith/v20230427/ModifyDeviceTag.md +26 -0
  420. tccli/examples/weilingwith/v20230427/SaveDeviceGroup.md +31 -0
  421. tccli/examples/yinsuda/v20220527/SyncKTVRobotCommand.md +20 -20
  422. tccli/services/acp/v20220105/examples.json +42 -42
  423. tccli/services/af/v20200226/examples.json +4 -4
  424. tccli/services/afc/v20200226/examples.json +15 -15
  425. tccli/services/ams/v20201229/examples.json +6 -6
  426. tccli/services/antiddos/v20200309/examples.json +6 -6
  427. tccli/services/apigateway/v20180808/examples.json +6 -6
  428. tccli/services/apm/v20210622/examples.json +14 -14
  429. tccli/services/asr/v20190614/examples.json +6 -6
  430. tccli/services/autoscaling/v20180419/examples.json +40 -40
  431. tccli/services/bi/v20220105/examples.json +24 -24
  432. tccli/services/billing/v20180709/examples.json +24 -24
  433. tccli/services/bmvpc/v20180625/examples.json +12 -12
  434. tccli/services/btoe/v20210514/examples.json +6 -6
  435. tccli/services/cat/v20180409/examples.json +12 -12
  436. tccli/services/cbs/v20170312/examples.json +18 -18
  437. tccli/services/cdb/v20170320/examples.json +12 -12
  438. tccli/services/cdn/v20180606/examples.json +20 -20
  439. tccli/services/cdwch/v20200915/api.json +3 -0
  440. tccli/services/cdwch/v20200915/examples.json +3 -3
  441. tccli/services/cdwdoris/v20211228/examples.json +4 -4
  442. tccli/services/cfg/v20210820/examples.json +6 -6
  443. tccli/services/cfw/v20190904/examples.json +16 -16
  444. tccli/services/ckafka/v20190819/examples.json +12 -12
  445. tccli/services/clb/v20180317/examples.json +86 -86
  446. tccli/services/cls/v20201016/examples.json +18 -18
  447. tccli/services/cme/v20191029/examples.json +192 -192
  448. tccli/services/cvm/v20170312/examples.json +20 -20
  449. tccli/services/cwp/v20180228/examples.json +18 -18
  450. tccli/services/cynosdb/v20190107/examples.json +10 -10
  451. tccli/services/dc/v20180410/examples.json +20 -20
  452. tccli/services/dlc/v20210125/examples.json +6 -6
  453. tccli/services/dnspod/v20210323/examples.json +4 -4
  454. tccli/services/domain/domain_client.py +61 -8
  455. tccli/services/domain/v20180808/api.json +34 -0
  456. tccli/services/domain/v20180808/examples.json +8 -0
  457. tccli/services/dsgc/v20190723/examples.json +6 -6
  458. tccli/services/dts/v20180330/examples.json +12 -12
  459. tccli/services/ecc/v20181213/examples.json +14 -14
  460. tccli/services/ecm/v20190719/examples.json +20 -20
  461. tccli/services/emr/v20190103/examples.json +12 -12
  462. tccli/services/ess/v20201111/api.json +1 -1
  463. tccli/services/ess/v20201111/examples.json +355 -355
  464. tccli/services/essbasic/v20210526/api.json +10 -1
  465. tccli/services/essbasic/v20210526/examples.json +215 -215
  466. tccli/services/facefusion/v20181201/examples.json +4 -4
  467. tccli/services/faceid/v20180301/examples.json +24 -24
  468. tccli/services/fmu/v20191213/examples.json +20 -20
  469. tccli/services/gaap/v20180529/examples.json +10 -10
  470. tccli/services/gme/v20180711/examples.json +6 -6
  471. tccli/services/hunyuan/v20230901/examples.json +17 -17
  472. tccli/services/iai/v20180301/examples.json +142 -142
  473. tccli/services/iai/v20200303/examples.json +136 -136
  474. tccli/services/iecp/v20210914/examples.json +6 -6
  475. tccli/services/ioa/v20220601/api.json +1 -1
  476. tccli/services/iotexplorer/v20190423/examples.json +22 -22
  477. tccli/services/iotvideo/v20191126/examples.json +12 -12
  478. tccli/services/iotvideoindustry/v20201201/examples.json +12 -12
  479. tccli/services/iss/v20230517/examples.json +40 -40
  480. tccli/services/ivld/v20210903/examples.json +14 -14
  481. tccli/services/lcic/v20220817/examples.json +18 -18
  482. tccli/services/live/v20180801/api.json +9 -0
  483. tccli/services/live/v20180801/examples.json +12 -12
  484. tccli/services/monitor/v20180724/examples.json +98 -98
  485. tccli/services/mps/v20190612/examples.json +58 -58
  486. tccli/services/mrs/v20200910/api.json +2 -1
  487. tccli/services/ms/v20180408/examples.json +24 -24
  488. tccli/services/oceanus/v20190422/examples.json +18 -18
  489. tccli/services/ocr/v20181119/api.json +10 -0
  490. tccli/services/ocr/v20181119/examples.json +12 -12
  491. tccli/services/omics/v20221128/api.json +25 -7
  492. tccli/services/omics/v20221128/examples.json +6 -6
  493. tccli/services/partners/v20180321/examples.json +6 -6
  494. tccli/services/postgres/v20170312/examples.json +36 -36
  495. tccli/services/rum/v20210622/examples.json +78 -78
  496. tccli/services/ses/v20201002/examples.json +4 -4
  497. tccli/services/soe/v20180724/examples.json +12 -12
  498. tccli/services/sqlserver/v20180328/examples.json +18 -18
  499. tccli/services/ssl/v20191205/examples.json +6 -6
  500. tccli/services/sts/v20180813/examples.json +6 -6
  501. tccli/services/tag/v20180813/examples.json +4 -4
  502. tccli/services/tan/v20220420/examples.json +4 -4
  503. tccli/services/tat/v20201028/examples.json +6 -6
  504. tccli/services/tcb/v20180608/examples.json +6 -6
  505. tccli/services/tcbr/v20220217/examples.json +24 -24
  506. tccli/services/tcr/v20190924/examples.json +18 -18
  507. tccli/services/tcss/v20201101/examples.json +47 -47
  508. tccli/services/tdmq/v20200217/examples.json +36 -36
  509. tccli/services/teo/v20220901/examples.json +78 -78
  510. tccli/services/tiia/v20190529/examples.json +52 -52
  511. tccli/services/tke/v20180525/examples.json +36 -36
  512. tccli/services/trocket/v20230308/api.json +9 -0
  513. tccli/services/trocket/v20230308/examples.json +12 -12
  514. tccli/services/trtc/v20190722/api.json +4 -7
  515. tccli/services/trtc/v20190722/examples.json +15 -15
  516. tccli/services/tse/v20201207/examples.json +6 -6
  517. tccli/services/tsf/v20180326/examples.json +12 -12
  518. tccli/services/vm/v20201229/examples.json +6 -6
  519. tccli/services/vod/v20180717/examples.json +141 -141
  520. tccli/services/vpc/v20170312/examples.json +90 -90
  521. tccli/services/waf/v20180125/examples.json +58 -58
  522. tccli/services/wedata/v20210820/examples.json +122 -122
  523. tccli/services/weilingwith/v20230427/api.json +625 -0
  524. tccli/services/weilingwith/v20230427/examples.json +68 -12
  525. tccli/services/weilingwith/weilingwith_client.py +379 -8
  526. tccli/services/yinsuda/v20220527/examples.json +12 -12
  527. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/METADATA +2 -2
  528. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/RECORD +531 -523
  529. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/WHEEL +0 -0
  530. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/entry_points.txt +0 -0
  531. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/license_files/LICENSE +0 -0
@@ -745,6 +745,110 @@ def doDescribeDeviceTagList(args, parsed_globals):
745
745
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
746
746
 
747
747
 
748
+ def doDeleteDeviceGroup(args, parsed_globals):
749
+ g_param = parse_global_arg(parsed_globals)
750
+
751
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
752
+ cred = credential.CVMRoleCredential()
753
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
754
+ cred = credential.STSAssumeRoleCredential(
755
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
756
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
757
+ )
758
+ 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):
759
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
760
+ else:
761
+ cred = credential.Credential(
762
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
763
+ )
764
+ http_profile = HttpProfile(
765
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
766
+ reqMethod="POST",
767
+ endpoint=g_param[OptionsDefine.Endpoint],
768
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
769
+ )
770
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
771
+ if g_param[OptionsDefine.Language]:
772
+ profile.language = g_param[OptionsDefine.Language]
773
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
774
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
775
+ client._sdkVersion += ("_CLI_" + __version__)
776
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
777
+ model = models.DeleteDeviceGroupRequest()
778
+ model.from_json_string(json.dumps(args))
779
+ start_time = time.time()
780
+ while True:
781
+ rsp = client.DeleteDeviceGroup(model)
782
+ result = rsp.to_json_string()
783
+ try:
784
+ json_obj = json.loads(result)
785
+ except TypeError as e:
786
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
787
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
788
+ break
789
+ cur_time = time.time()
790
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
791
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
792
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
793
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
794
+ else:
795
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
796
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
797
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
798
+
799
+
800
+ def doModifyDeviceField(args, parsed_globals):
801
+ g_param = parse_global_arg(parsed_globals)
802
+
803
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
804
+ cred = credential.CVMRoleCredential()
805
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
806
+ cred = credential.STSAssumeRoleCredential(
807
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
808
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
809
+ )
810
+ 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):
811
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
812
+ else:
813
+ cred = credential.Credential(
814
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
815
+ )
816
+ http_profile = HttpProfile(
817
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
818
+ reqMethod="POST",
819
+ endpoint=g_param[OptionsDefine.Endpoint],
820
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
821
+ )
822
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
823
+ if g_param[OptionsDefine.Language]:
824
+ profile.language = g_param[OptionsDefine.Language]
825
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
826
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
827
+ client._sdkVersion += ("_CLI_" + __version__)
828
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
829
+ model = models.ModifyDeviceFieldRequest()
830
+ model.from_json_string(json.dumps(args))
831
+ start_time = time.time()
832
+ while True:
833
+ rsp = client.ModifyDeviceField(model)
834
+ result = rsp.to_json_string()
835
+ try:
836
+ json_obj = json.loads(result)
837
+ except TypeError as e:
838
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
839
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
840
+ break
841
+ cur_time = time.time()
842
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
843
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
844
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
845
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
846
+ else:
847
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
848
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
849
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
+
851
+
748
852
  def doDescribeDeviceTypeList(args, parsed_globals):
749
853
  g_param = parse_global_arg(parsed_globals)
750
854
 
@@ -849,6 +953,58 @@ def doDescribeActionList(args, parsed_globals):
849
953
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
954
 
851
955
 
956
+ def doModifyDeviceGroup(args, parsed_globals):
957
+ g_param = parse_global_arg(parsed_globals)
958
+
959
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
960
+ cred = credential.CVMRoleCredential()
961
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
962
+ cred = credential.STSAssumeRoleCredential(
963
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
964
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
965
+ )
966
+ 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):
967
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
968
+ else:
969
+ cred = credential.Credential(
970
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
971
+ )
972
+ http_profile = HttpProfile(
973
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
974
+ reqMethod="POST",
975
+ endpoint=g_param[OptionsDefine.Endpoint],
976
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
977
+ )
978
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
979
+ if g_param[OptionsDefine.Language]:
980
+ profile.language = g_param[OptionsDefine.Language]
981
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
982
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
983
+ client._sdkVersion += ("_CLI_" + __version__)
984
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
985
+ model = models.ModifyDeviceGroupRequest()
986
+ model.from_json_string(json.dumps(args))
987
+ start_time = time.time()
988
+ while True:
989
+ rsp = client.ModifyDeviceGroup(model)
990
+ result = rsp.to_json_string()
991
+ try:
992
+ json_obj = json.loads(result)
993
+ except TypeError as e:
994
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
995
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
996
+ break
997
+ cur_time = time.time()
998
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
999
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1000
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1001
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1002
+ else:
1003
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1004
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1005
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
+
1007
+
852
1008
  def doModifyDeviceName(args, parsed_globals):
853
1009
  g_param = parse_global_arg(parsed_globals)
854
1010
 
@@ -1265,6 +1421,58 @@ def doDescribeEventList(args, parsed_globals):
1265
1421
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
1422
 
1267
1423
 
1424
+ def doBatchDeleteDevice(args, parsed_globals):
1425
+ g_param = parse_global_arg(parsed_globals)
1426
+
1427
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1428
+ cred = credential.CVMRoleCredential()
1429
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1430
+ cred = credential.STSAssumeRoleCredential(
1431
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1432
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1433
+ )
1434
+ 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):
1435
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1436
+ else:
1437
+ cred = credential.Credential(
1438
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1439
+ )
1440
+ http_profile = HttpProfile(
1441
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1442
+ reqMethod="POST",
1443
+ endpoint=g_param[OptionsDefine.Endpoint],
1444
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1445
+ )
1446
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1447
+ if g_param[OptionsDefine.Language]:
1448
+ profile.language = g_param[OptionsDefine.Language]
1449
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1450
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
1451
+ client._sdkVersion += ("_CLI_" + __version__)
1452
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1453
+ model = models.BatchDeleteDeviceRequest()
1454
+ model.from_json_string(json.dumps(args))
1455
+ start_time = time.time()
1456
+ while True:
1457
+ rsp = client.BatchDeleteDevice(model)
1458
+ result = rsp.to_json_string()
1459
+ try:
1460
+ json_obj = json.loads(result)
1461
+ except TypeError as e:
1462
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1463
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1464
+ break
1465
+ cur_time = time.time()
1466
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1467
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1468
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1469
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1470
+ else:
1471
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1472
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1473
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
+
1475
+
1268
1476
  def doDescribeProductList(args, parsed_globals):
1269
1477
  g_param = parse_global_arg(parsed_globals)
1270
1478
 
@@ -1889,6 +2097,58 @@ def doBatchCreateDevice(args, parsed_globals):
1889
2097
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1890
2098
 
1891
2099
 
2100
+ def doModifyDeviceTag(args, parsed_globals):
2101
+ g_param = parse_global_arg(parsed_globals)
2102
+
2103
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2104
+ cred = credential.CVMRoleCredential()
2105
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2106
+ cred = credential.STSAssumeRoleCredential(
2107
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2108
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2109
+ )
2110
+ 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):
2111
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2112
+ else:
2113
+ cred = credential.Credential(
2114
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2115
+ )
2116
+ http_profile = HttpProfile(
2117
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2118
+ reqMethod="POST",
2119
+ endpoint=g_param[OptionsDefine.Endpoint],
2120
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2121
+ )
2122
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2123
+ if g_param[OptionsDefine.Language]:
2124
+ profile.language = g_param[OptionsDefine.Language]
2125
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2126
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
2127
+ client._sdkVersion += ("_CLI_" + __version__)
2128
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2129
+ model = models.ModifyDeviceTagRequest()
2130
+ model.from_json_string(json.dumps(args))
2131
+ start_time = time.time()
2132
+ while True:
2133
+ rsp = client.ModifyDeviceTag(model)
2134
+ result = rsp.to_json_string()
2135
+ try:
2136
+ json_obj = json.loads(result)
2137
+ except TypeError as e:
2138
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2139
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2140
+ break
2141
+ cur_time = time.time()
2142
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2143
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2144
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2145
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2146
+ else:
2147
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2148
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2149
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2150
+
2151
+
1892
2152
  def doDescribeSpaceDeviceRelationList(args, parsed_globals):
1893
2153
  g_param = parse_global_arg(parsed_globals)
1894
2154
 
@@ -2097,7 +2357,7 @@ def doDescribeCityWorkspaceList(args, parsed_globals):
2097
2357
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2098
2358
 
2099
2359
 
2100
- def doDescribeEdgeApplicationToken(args, parsed_globals):
2360
+ def doStopVideoStreaming(args, parsed_globals):
2101
2361
  g_param = parse_global_arg(parsed_globals)
2102
2362
 
2103
2363
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2126,11 +2386,11 @@ def doDescribeEdgeApplicationToken(args, parsed_globals):
2126
2386
  client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
2127
2387
  client._sdkVersion += ("_CLI_" + __version__)
2128
2388
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2129
- model = models.DescribeEdgeApplicationTokenRequest()
2389
+ model = models.StopVideoStreamingRequest()
2130
2390
  model.from_json_string(json.dumps(args))
2131
2391
  start_time = time.time()
2132
2392
  while True:
2133
- rsp = client.DescribeEdgeApplicationToken(model)
2393
+ rsp = client.StopVideoStreaming(model)
2134
2394
  result = rsp.to_json_string()
2135
2395
  try:
2136
2396
  json_obj = json.loads(result)
@@ -2201,6 +2461,58 @@ def doDescribeBuildingModel(args, parsed_globals):
2201
2461
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2202
2462
 
2203
2463
 
2464
+ def doDescribeDeviceGroupList(args, parsed_globals):
2465
+ g_param = parse_global_arg(parsed_globals)
2466
+
2467
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2468
+ cred = credential.CVMRoleCredential()
2469
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2470
+ cred = credential.STSAssumeRoleCredential(
2471
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2472
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2473
+ )
2474
+ 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):
2475
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2476
+ else:
2477
+ cred = credential.Credential(
2478
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2479
+ )
2480
+ http_profile = HttpProfile(
2481
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2482
+ reqMethod="POST",
2483
+ endpoint=g_param[OptionsDefine.Endpoint],
2484
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2485
+ )
2486
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2487
+ if g_param[OptionsDefine.Language]:
2488
+ profile.language = g_param[OptionsDefine.Language]
2489
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2490
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
2491
+ client._sdkVersion += ("_CLI_" + __version__)
2492
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
+ model = models.DescribeDeviceGroupListRequest()
2494
+ model.from_json_string(json.dumps(args))
2495
+ start_time = time.time()
2496
+ while True:
2497
+ rsp = client.DescribeDeviceGroupList(model)
2498
+ result = rsp.to_json_string()
2499
+ try:
2500
+ json_obj = json.loads(result)
2501
+ except TypeError as e:
2502
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2503
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2504
+ break
2505
+ cur_time = time.time()
2506
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2507
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2508
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2509
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2510
+ else:
2511
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2512
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2513
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2514
+
2515
+
2204
2516
  def doDescribeSpaceTypeList(args, parsed_globals):
2205
2517
  g_param = parse_global_arg(parsed_globals)
2206
2518
 
@@ -2305,6 +2617,58 @@ def doDescribeBuildingList(args, parsed_globals):
2305
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
2618
 
2307
2619
 
2620
+ def doSaveDeviceGroup(args, parsed_globals):
2621
+ g_param = parse_global_arg(parsed_globals)
2622
+
2623
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2624
+ cred = credential.CVMRoleCredential()
2625
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2626
+ cred = credential.STSAssumeRoleCredential(
2627
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2628
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2629
+ )
2630
+ 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):
2631
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2632
+ else:
2633
+ cred = credential.Credential(
2634
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2635
+ )
2636
+ http_profile = HttpProfile(
2637
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2638
+ reqMethod="POST",
2639
+ endpoint=g_param[OptionsDefine.Endpoint],
2640
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2641
+ )
2642
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2643
+ if g_param[OptionsDefine.Language]:
2644
+ profile.language = g_param[OptionsDefine.Language]
2645
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2646
+ client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
2647
+ client._sdkVersion += ("_CLI_" + __version__)
2648
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2649
+ model = models.SaveDeviceGroupRequest()
2650
+ model.from_json_string(json.dumps(args))
2651
+ start_time = time.time()
2652
+ while True:
2653
+ rsp = client.SaveDeviceGroup(model)
2654
+ result = rsp.to_json_string()
2655
+ try:
2656
+ json_obj = json.loads(result)
2657
+ except TypeError as e:
2658
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2659
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2660
+ break
2661
+ cur_time = time.time()
2662
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2663
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2664
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2665
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2666
+ else:
2667
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2668
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2669
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
+
2671
+
2308
2672
  def doDescribeDeviceStatusList(args, parsed_globals):
2309
2673
  g_param = parse_global_arg(parsed_globals)
2310
2674
 
@@ -2929,7 +3293,7 @@ def doAddAlarmProcessRecord(args, parsed_globals):
2929
3293
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
3294
 
2931
3295
 
2932
- def doStopVideoStreaming(args, parsed_globals):
3296
+ def doDescribeEdgeApplicationToken(args, parsed_globals):
2933
3297
  g_param = parse_global_arg(parsed_globals)
2934
3298
 
2935
3299
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2958,11 +3322,11 @@ def doStopVideoStreaming(args, parsed_globals):
2958
3322
  client = mod.WeilingwithClient(cred, g_param[OptionsDefine.Region], profile)
2959
3323
  client._sdkVersion += ("_CLI_" + __version__)
2960
3324
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2961
- model = models.StopVideoStreamingRequest()
3325
+ model = models.DescribeEdgeApplicationTokenRequest()
2962
3326
  model.from_json_string(json.dumps(args))
2963
3327
  start_time = time.time()
2964
3328
  while True:
2965
- rsp = client.StopVideoStreaming(model)
3329
+ rsp = client.DescribeEdgeApplicationToken(model)
2966
3330
  result = rsp.to_json_string()
2967
3331
  try:
2968
3332
  json_obj = json.loads(result)
@@ -3006,8 +3370,11 @@ ACTION_MAP = {
3006
3370
  "CreateApplicationToken": doCreateApplicationToken,
3007
3371
  "DescribeDeviceShadowList": doDescribeDeviceShadowList,
3008
3372
  "DescribeDeviceTagList": doDescribeDeviceTagList,
3373
+ "DeleteDeviceGroup": doDeleteDeviceGroup,
3374
+ "ModifyDeviceField": doModifyDeviceField,
3009
3375
  "DescribeDeviceTypeList": doDescribeDeviceTypeList,
3010
3376
  "DescribeActionList": doDescribeActionList,
3377
+ "ModifyDeviceGroup": doModifyDeviceGroup,
3011
3378
  "ModifyDeviceName": doModifyDeviceName,
3012
3379
  "DescribeSpaceInfoByDeviceId": doDescribeSpaceInfoByDeviceId,
3013
3380
  "DescribeWorkspaceList": doDescribeWorkspaceList,
@@ -3016,6 +3383,7 @@ ACTION_MAP = {
3016
3383
  "DescribeModelList": doDescribeModelList,
3017
3384
  "DescribePropertyList": doDescribePropertyList,
3018
3385
  "DescribeEventList": doDescribeEventList,
3386
+ "BatchDeleteDevice": doBatchDeleteDevice,
3019
3387
  "DescribeProductList": doDescribeProductList,
3020
3388
  "DescribeSceneList": doDescribeSceneList,
3021
3389
  "DescribeSpaceRelationByDeviceId": doDescribeSpaceRelationByDeviceId,
@@ -3028,14 +3396,17 @@ ACTION_MAP = {
3028
3396
  "UpdateWorkspaceParkAttributes": doUpdateWorkspaceParkAttributes,
3029
3397
  "DescribeDeviceStatusStat": doDescribeDeviceStatusStat,
3030
3398
  "BatchCreateDevice": doBatchCreateDevice,
3399
+ "ModifyDeviceTag": doModifyDeviceTag,
3031
3400
  "DescribeSpaceDeviceRelationList": doDescribeSpaceDeviceRelationList,
3032
3401
  "DescribeCameraExtendInfo": doDescribeCameraExtendInfo,
3033
3402
  "DescribeFileDownloadURL": doDescribeFileDownloadURL,
3034
3403
  "DescribeCityWorkspaceList": doDescribeCityWorkspaceList,
3035
- "DescribeEdgeApplicationToken": doDescribeEdgeApplicationToken,
3404
+ "StopVideoStreaming": doStopVideoStreaming,
3036
3405
  "DescribeBuildingModel": doDescribeBuildingModel,
3406
+ "DescribeDeviceGroupList": doDescribeDeviceGroupList,
3037
3407
  "DescribeSpaceTypeList": doDescribeSpaceTypeList,
3038
3408
  "DescribeBuildingList": doDescribeBuildingList,
3409
+ "SaveDeviceGroup": doSaveDeviceGroup,
3039
3410
  "DescribeDeviceStatusList": doDescribeDeviceStatusList,
3040
3411
  "ControlCameraPTZ": doControlCameraPTZ,
3041
3412
  "DescribeInterfaceList": doDescribeInterfaceList,
@@ -3048,7 +3419,7 @@ ACTION_MAP = {
3048
3419
  "DescribeAlarmLevelList": doDescribeAlarmLevelList,
3049
3420
  "DescribeAlarmTypeList": doDescribeAlarmTypeList,
3050
3421
  "AddAlarmProcessRecord": doAddAlarmProcessRecord,
3051
- "StopVideoStreaming": doStopVideoStreaming,
3422
+ "DescribeEdgeApplicationToken": doDescribeEdgeApplicationToken,
3052
3423
 
3053
3424
  }
3054
3425
 
@@ -172,10 +172,16 @@
172
172
  "title": "播放指定音乐"
173
173
  },
174
174
  {
175
- "document": "",
176
- "input": "POST / HTTP/1.1\nHost: yinsuda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncKTVRobotCommand\n<公共请求参数>\n\n{\n \"AppName\": \"ktv\",\n \"UserId\": \"10001\",\n \"RobotId\": \"xxxxx\",\n \"SyncRobotCommands\": [\n {\n \"Command\": \"SetAudioParam\",\n \"SetAudioParamCommandInput\": {\n \"Type\": \"Accompaniment\"\n }\n }\n ]\n}",
175
+ "document": "设置播放模式为随机播放。",
176
+ "input": "POST / HTTP/1.1\nHost: yinsuda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncKTVRobotCommand\n<公共请求参数>\n\n{\n \"AppName\": \"ktv\",\n \"UserId\": \"10001\",\n \"RobotId\": \"xxxxx\",\n \"SyncRobotCommands\": [\n {\n \"Command\": \"SetPlayMode\",\n \"SetPlayModeCommandInput\": {\n \"PlayMode\": \"Shuffle\"\n }\n }\n ]\n}",
177
177
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
178
- "title": "变更歌曲音频参数"
178
+ "title": "设置播放模式"
179
+ },
180
+ {
181
+ "document": "设置销毁模式为:房间没人后,2分钟内无人进入自动销毁。",
182
+ "input": "POST / HTTP/1.1\nHost: yinsuda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncKTVRobotCommand\n<公共请求参数>\n\n{\n \"AppName\": \"ktv\",\n \"UserId\": \"10001\",\n \"RobotId\": \"xxxxx\",\n \"SyncRobotCommands\": [\n {\n \"Command\": \"SetDestroyMode\",\n \"SetDestroyModeCommandInput\": {\n \"DestroyMode\": \"Expire\",\n \"DestroyExpireTime\": 120\n }\n }\n ]\n}",
183
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
184
+ "title": "设置销毁模式"
179
185
  },
180
186
  {
181
187
  "document": "",
@@ -190,16 +196,10 @@
190
196
  "title": "发送自定义消息"
191
197
  },
192
198
  {
193
- "document": "设置播放模式为随机播放。",
194
- "input": "POST / HTTP/1.1\nHost: yinsuda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncKTVRobotCommand\n<公共请求参数>\n\n{\n \"AppName\": \"ktv\",\n \"UserId\": \"10001\",\n \"RobotId\": \"xxxxx\",\n \"SyncRobotCommands\": [\n {\n \"Command\": \"SetPlayMode\",\n \"SetPlayModeCommandInput\": {\n \"PlayMode\": \"Shuffle\"\n }\n }\n ]\n}",
195
- "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
196
- "title": "设置播放模式"
197
- },
198
- {
199
- "document": "设置销毁模式为:房间没人后,2分钟内无人进入自动销毁。",
200
- "input": "POST / HTTP/1.1\nHost: yinsuda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncKTVRobotCommand\n<公共请求参数>\n\n{\n \"AppName\": \"ktv\",\n \"UserId\": \"10001\",\n \"RobotId\": \"xxxxx\",\n \"SyncRobotCommands\": [\n {\n \"Command\": \"SetDestroyMode\",\n \"SetDestroyModeCommandInput\": {\n \"DestroyMode\": \"Expire\",\n \"DestroyExpireTime\": 120\n }\n }\n ]\n}",
199
+ "document": "",
200
+ "input": "POST / HTTP/1.1\nHost: yinsuda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncKTVRobotCommand\n<公共请求参数>\n\n{\n \"AppName\": \"ktv\",\n \"UserId\": \"10001\",\n \"RobotId\": \"xxxxx\",\n \"SyncRobotCommands\": [\n {\n \"Command\": \"SetAudioParam\",\n \"SetAudioParamCommandInput\": {\n \"Type\": \"Accompaniment\"\n }\n }\n ]\n}",
201
201
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
202
- "title": "设置销毁模式"
202
+ "title": "变更歌曲音频参数"
203
203
  },
204
204
  {
205
205
  "document": "",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1086.1
3
+ Version: 3.0.1088.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1086
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1088
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介