tccli 3.0.1387.1__py2.py3-none-any.whl → 3.0.1389.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/bi/v20220105/api.json +8 -8
- tccli/services/bi/v20220105/examples.json +4 -4
- tccli/services/cdc/v20201214/api.json +1 -1
- tccli/services/cdc/v20201214/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/chc/v20230418/api.json +69 -1
- tccli/services/ckafka/v20190819/api.json +112 -103
- tccli/services/ckafka/v20190819/examples.json +7 -7
- tccli/services/cls/v20201016/api.json +81 -4
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/ctem/v20231128/api.json +40 -0
- tccli/services/dc/v20180410/api.json +26 -6
- tccli/services/dts/v20211206/api.json +6 -6
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +172 -11
- tccli/services/es/v20180416/api.json +4 -4
- tccli/services/es/v20250101/api.json +119 -8
- tccli/services/ess/v20201111/api.json +30 -1
- tccli/services/essbasic/v20210526/api.json +21 -3
- tccli/services/gme/gme_client.py +509 -32
- tccli/services/gme/v20180711/api.json +1172 -46
- tccli/services/gme/v20180711/examples.json +72 -0
- tccli/services/hunyuan/v20230901/api.json +18 -0
- tccli/services/ioa/v20220601/api.json +44 -8
- tccli/services/ioa/v20220601/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +432 -8
- tccli/services/iotexplorer/v20190423/api.json +979 -43
- tccli/services/iotexplorer/v20190423/examples.json +64 -0
- tccli/services/lighthouse/v20200324/api.json +18 -0
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +18 -0
- tccli/services/mqtt/v20240516/api.json +89 -0
- tccli/services/ocr/ocr_client.py +114 -8
- tccli/services/ocr/v20181119/api.json +225 -0
- tccli/services/ocr/v20181119/examples.json +28 -0
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/thpc/v20230321/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +9 -9
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/wsa/v20250508/api.json +2 -2
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/license_files/LICENSE +0 -0
@@ -225,7 +225,7 @@ def doDescribeDevicePackages(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
-
def
|
228
|
+
def doListProductOtaModules(args, parsed_globals):
|
229
229
|
g_param = parse_global_arg(parsed_globals)
|
230
230
|
|
231
231
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -254,11 +254,11 @@ def doDescribeFirmwareUpdateStatus(args, parsed_globals):
|
|
254
254
|
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
255
255
|
client._sdkVersion += ("_CLI_" + __version__)
|
256
256
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.
|
257
|
+
model = models.ListProductOtaModulesRequest()
|
258
258
|
model.from_json_string(json.dumps(args))
|
259
259
|
start_time = time.time()
|
260
260
|
while True:
|
261
|
-
rsp = client.
|
261
|
+
rsp = client.ListProductOtaModules(model)
|
262
262
|
result = rsp.to_json_string()
|
263
263
|
try:
|
264
264
|
json_obj = json.loads(result)
|
@@ -1109,6 +1109,58 @@ def doDeleteDevice(args, parsed_globals):
|
|
1109
1109
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1110
|
|
1111
1111
|
|
1112
|
+
def doDescribeFirmwareUpdateStatus(args, parsed_globals):
|
1113
|
+
g_param = parse_global_arg(parsed_globals)
|
1114
|
+
|
1115
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1116
|
+
cred = credential.CVMRoleCredential()
|
1117
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1118
|
+
cred = credential.STSAssumeRoleCredential(
|
1119
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1120
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1121
|
+
)
|
1122
|
+
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):
|
1123
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1124
|
+
else:
|
1125
|
+
cred = credential.Credential(
|
1126
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1127
|
+
)
|
1128
|
+
http_profile = HttpProfile(
|
1129
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1130
|
+
reqMethod="POST",
|
1131
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1132
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1133
|
+
)
|
1134
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1135
|
+
if g_param[OptionsDefine.Language]:
|
1136
|
+
profile.language = g_param[OptionsDefine.Language]
|
1137
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1138
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
1139
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1140
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1141
|
+
model = models.DescribeFirmwareUpdateStatusRequest()
|
1142
|
+
model.from_json_string(json.dumps(args))
|
1143
|
+
start_time = time.time()
|
1144
|
+
while True:
|
1145
|
+
rsp = client.DescribeFirmwareUpdateStatus(model)
|
1146
|
+
result = rsp.to_json_string()
|
1147
|
+
try:
|
1148
|
+
json_obj = json.loads(result)
|
1149
|
+
except TypeError as e:
|
1150
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1151
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1152
|
+
break
|
1153
|
+
cur_time = time.time()
|
1154
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1155
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1156
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1157
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1158
|
+
else:
|
1159
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1160
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1161
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1162
|
+
|
1163
|
+
|
1112
1164
|
def doGetLoRaGatewayList(args, parsed_globals):
|
1113
1165
|
g_param = parse_global_arg(parsed_globals)
|
1114
1166
|
|
@@ -1837,7 +1889,7 @@ def doModifyLoRaGateway(args, parsed_globals):
|
|
1837
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1890
|
|
1839
1891
|
|
1840
|
-
def
|
1892
|
+
def doDescribeFirmwareTasks(args, parsed_globals):
|
1841
1893
|
g_param = parse_global_arg(parsed_globals)
|
1842
1894
|
|
1843
1895
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1866,11 +1918,11 @@ def doDescribeDevice(args, parsed_globals):
|
|
1866
1918
|
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
1867
1919
|
client._sdkVersion += ("_CLI_" + __version__)
|
1868
1920
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1869
|
-
model = models.
|
1921
|
+
model = models.DescribeFirmwareTasksRequest()
|
1870
1922
|
model.from_json_string(json.dumps(args))
|
1871
1923
|
start_time = time.time()
|
1872
1924
|
while True:
|
1873
|
-
rsp = client.
|
1925
|
+
rsp = client.DescribeFirmwareTasks(model)
|
1874
1926
|
result = rsp.to_json_string()
|
1875
1927
|
try:
|
1876
1928
|
json_obj = json.loads(result)
|
@@ -2097,6 +2149,58 @@ def doDeleteTopicRule(args, parsed_globals):
|
|
2097
2149
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2098
2150
|
|
2099
2151
|
|
2152
|
+
def doDeleteOtaModule(args, parsed_globals):
|
2153
|
+
g_param = parse_global_arg(parsed_globals)
|
2154
|
+
|
2155
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2156
|
+
cred = credential.CVMRoleCredential()
|
2157
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2158
|
+
cred = credential.STSAssumeRoleCredential(
|
2159
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2160
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2161
|
+
)
|
2162
|
+
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):
|
2163
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2164
|
+
else:
|
2165
|
+
cred = credential.Credential(
|
2166
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2167
|
+
)
|
2168
|
+
http_profile = HttpProfile(
|
2169
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2170
|
+
reqMethod="POST",
|
2171
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2172
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2173
|
+
)
|
2174
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2175
|
+
if g_param[OptionsDefine.Language]:
|
2176
|
+
profile.language = g_param[OptionsDefine.Language]
|
2177
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2178
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
2179
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2180
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2181
|
+
model = models.DeleteOtaModuleRequest()
|
2182
|
+
model.from_json_string(json.dumps(args))
|
2183
|
+
start_time = time.time()
|
2184
|
+
while True:
|
2185
|
+
rsp = client.DeleteOtaModule(model)
|
2186
|
+
result = rsp.to_json_string()
|
2187
|
+
try:
|
2188
|
+
json_obj = json.loads(result)
|
2189
|
+
except TypeError as e:
|
2190
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2191
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2192
|
+
break
|
2193
|
+
cur_time = time.time()
|
2194
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2195
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2196
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2197
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2198
|
+
else:
|
2199
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2200
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2201
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
|
+
|
2203
|
+
|
2100
2204
|
def doDescribeCloudStorageAIService(args, parsed_globals):
|
2101
2205
|
g_param = parse_global_arg(parsed_globals)
|
2102
2206
|
|
@@ -2773,6 +2877,58 @@ def doDescribeVideoLicense(args, parsed_globals):
|
|
2773
2877
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2774
2878
|
|
2775
2879
|
|
2880
|
+
def doBatchUpdateFirmware(args, parsed_globals):
|
2881
|
+
g_param = parse_global_arg(parsed_globals)
|
2882
|
+
|
2883
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2884
|
+
cred = credential.CVMRoleCredential()
|
2885
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2886
|
+
cred = credential.STSAssumeRoleCredential(
|
2887
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2888
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2889
|
+
)
|
2890
|
+
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):
|
2891
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2892
|
+
else:
|
2893
|
+
cred = credential.Credential(
|
2894
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2895
|
+
)
|
2896
|
+
http_profile = HttpProfile(
|
2897
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2898
|
+
reqMethod="POST",
|
2899
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2900
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2901
|
+
)
|
2902
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2903
|
+
if g_param[OptionsDefine.Language]:
|
2904
|
+
profile.language = g_param[OptionsDefine.Language]
|
2905
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2906
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
2907
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2908
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2909
|
+
model = models.BatchUpdateFirmwareRequest()
|
2910
|
+
model.from_json_string(json.dumps(args))
|
2911
|
+
start_time = time.time()
|
2912
|
+
while True:
|
2913
|
+
rsp = client.BatchUpdateFirmware(model)
|
2914
|
+
result = rsp.to_json_string()
|
2915
|
+
try:
|
2916
|
+
json_obj = json.loads(result)
|
2917
|
+
except TypeError as e:
|
2918
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2919
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2920
|
+
break
|
2921
|
+
cur_time = time.time()
|
2922
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2923
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2924
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2925
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2926
|
+
else:
|
2927
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2928
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2929
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2930
|
+
|
2931
|
+
|
2776
2932
|
def doGetTWeTalkProductConfigList(args, parsed_globals):
|
2777
2933
|
g_param = parse_global_arg(parsed_globals)
|
2778
2934
|
|
@@ -3033,6 +3189,58 @@ def doInheritCloudStorageUser(args, parsed_globals):
|
|
3033
3189
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3034
3190
|
|
3035
3191
|
|
3192
|
+
def doListOtaModules(args, parsed_globals):
|
3193
|
+
g_param = parse_global_arg(parsed_globals)
|
3194
|
+
|
3195
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3196
|
+
cred = credential.CVMRoleCredential()
|
3197
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3198
|
+
cred = credential.STSAssumeRoleCredential(
|
3199
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3200
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3201
|
+
)
|
3202
|
+
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):
|
3203
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3204
|
+
else:
|
3205
|
+
cred = credential.Credential(
|
3206
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3207
|
+
)
|
3208
|
+
http_profile = HttpProfile(
|
3209
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3210
|
+
reqMethod="POST",
|
3211
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3212
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3213
|
+
)
|
3214
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3215
|
+
if g_param[OptionsDefine.Language]:
|
3216
|
+
profile.language = g_param[OptionsDefine.Language]
|
3217
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3218
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
3219
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3220
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3221
|
+
model = models.ListOtaModulesRequest()
|
3222
|
+
model.from_json_string(json.dumps(args))
|
3223
|
+
start_time = time.time()
|
3224
|
+
while True:
|
3225
|
+
rsp = client.ListOtaModules(model)
|
3226
|
+
result = rsp.to_json_string()
|
3227
|
+
try:
|
3228
|
+
json_obj = json.loads(result)
|
3229
|
+
except TypeError as e:
|
3230
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3231
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3232
|
+
break
|
3233
|
+
cur_time = time.time()
|
3234
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3235
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3236
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3237
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3238
|
+
else:
|
3239
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3240
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3241
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3242
|
+
|
3243
|
+
|
3036
3244
|
def doModifyTWeTalkProductConfig(args, parsed_globals):
|
3037
3245
|
g_param = parse_global_arg(parsed_globals)
|
3038
3246
|
|
@@ -3657,6 +3865,58 @@ def doInvokeExternalSourceAIServiceTask(args, parsed_globals):
|
|
3657
3865
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3658
3866
|
|
3659
3867
|
|
3868
|
+
def doDescribeFirmwareTaskDevices(args, parsed_globals):
|
3869
|
+
g_param = parse_global_arg(parsed_globals)
|
3870
|
+
|
3871
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3872
|
+
cred = credential.CVMRoleCredential()
|
3873
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3874
|
+
cred = credential.STSAssumeRoleCredential(
|
3875
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3876
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3877
|
+
)
|
3878
|
+
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):
|
3879
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3880
|
+
else:
|
3881
|
+
cred = credential.Credential(
|
3882
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3883
|
+
)
|
3884
|
+
http_profile = HttpProfile(
|
3885
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3886
|
+
reqMethod="POST",
|
3887
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3888
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3889
|
+
)
|
3890
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3891
|
+
if g_param[OptionsDefine.Language]:
|
3892
|
+
profile.language = g_param[OptionsDefine.Language]
|
3893
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3894
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
3895
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3896
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3897
|
+
model = models.DescribeFirmwareTaskDevicesRequest()
|
3898
|
+
model.from_json_string(json.dumps(args))
|
3899
|
+
start_time = time.time()
|
3900
|
+
while True:
|
3901
|
+
rsp = client.DescribeFirmwareTaskDevices(model)
|
3902
|
+
result = rsp.to_json_string()
|
3903
|
+
try:
|
3904
|
+
json_obj = json.loads(result)
|
3905
|
+
except TypeError as e:
|
3906
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3907
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3908
|
+
break
|
3909
|
+
cur_time = time.time()
|
3910
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3911
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3912
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3913
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3914
|
+
else:
|
3915
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3916
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3917
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3918
|
+
|
3919
|
+
|
3660
3920
|
def doDescribeLoRaFrequency(args, parsed_globals):
|
3661
3921
|
g_param = parse_global_arg(parsed_globals)
|
3662
3922
|
|
@@ -4905,6 +5165,58 @@ def doCreateTopicRule(args, parsed_globals):
|
|
4905
5165
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4906
5166
|
|
4907
5167
|
|
5168
|
+
def doUpdateOtaModule(args, parsed_globals):
|
5169
|
+
g_param = parse_global_arg(parsed_globals)
|
5170
|
+
|
5171
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5172
|
+
cred = credential.CVMRoleCredential()
|
5173
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5174
|
+
cred = credential.STSAssumeRoleCredential(
|
5175
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5176
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5177
|
+
)
|
5178
|
+
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):
|
5179
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5180
|
+
else:
|
5181
|
+
cred = credential.Credential(
|
5182
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5183
|
+
)
|
5184
|
+
http_profile = HttpProfile(
|
5185
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5186
|
+
reqMethod="POST",
|
5187
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5188
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5189
|
+
)
|
5190
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5191
|
+
if g_param[OptionsDefine.Language]:
|
5192
|
+
profile.language = g_param[OptionsDefine.Language]
|
5193
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5194
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
5195
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5196
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5197
|
+
model = models.UpdateOtaModuleRequest()
|
5198
|
+
model.from_json_string(json.dumps(args))
|
5199
|
+
start_time = time.time()
|
5200
|
+
while True:
|
5201
|
+
rsp = client.UpdateOtaModule(model)
|
5202
|
+
result = rsp.to_json_string()
|
5203
|
+
try:
|
5204
|
+
json_obj = json.loads(result)
|
5205
|
+
except TypeError as e:
|
5206
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5207
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5208
|
+
break
|
5209
|
+
cur_time = time.time()
|
5210
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5211
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5212
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5213
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5214
|
+
else:
|
5215
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5216
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5217
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5218
|
+
|
5219
|
+
|
4908
5220
|
def doCreateLoRaFrequency(args, parsed_globals):
|
4909
5221
|
g_param = parse_global_arg(parsed_globals)
|
4910
5222
|
|
@@ -5945,6 +6257,58 @@ def doDescribeGatewaySubProducts(args, parsed_globals):
|
|
5945
6257
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5946
6258
|
|
5947
6259
|
|
6260
|
+
def doCreateOtaModule(args, parsed_globals):
|
6261
|
+
g_param = parse_global_arg(parsed_globals)
|
6262
|
+
|
6263
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6264
|
+
cred = credential.CVMRoleCredential()
|
6265
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6266
|
+
cred = credential.STSAssumeRoleCredential(
|
6267
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6268
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6269
|
+
)
|
6270
|
+
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):
|
6271
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6272
|
+
else:
|
6273
|
+
cred = credential.Credential(
|
6274
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6275
|
+
)
|
6276
|
+
http_profile = HttpProfile(
|
6277
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6278
|
+
reqMethod="POST",
|
6279
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6280
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6281
|
+
)
|
6282
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6283
|
+
if g_param[OptionsDefine.Language]:
|
6284
|
+
profile.language = g_param[OptionsDefine.Language]
|
6285
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6286
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
6287
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6288
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6289
|
+
model = models.CreateOtaModuleRequest()
|
6290
|
+
model.from_json_string(json.dumps(args))
|
6291
|
+
start_time = time.time()
|
6292
|
+
while True:
|
6293
|
+
rsp = client.CreateOtaModule(model)
|
6294
|
+
result = rsp.to_json_string()
|
6295
|
+
try:
|
6296
|
+
json_obj = json.loads(result)
|
6297
|
+
except TypeError as e:
|
6298
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6299
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6300
|
+
break
|
6301
|
+
cur_time = time.time()
|
6302
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6303
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6304
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6305
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6306
|
+
else:
|
6307
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6308
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6309
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6310
|
+
|
6311
|
+
|
5948
6312
|
def doDescribeDevicePositionList(args, parsed_globals):
|
5949
6313
|
g_param = parse_global_arg(parsed_globals)
|
5950
6314
|
|
@@ -6673,6 +7037,58 @@ def doDescribeTWeSeeRecognitionTask(args, parsed_globals):
|
|
6673
7037
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6674
7038
|
|
6675
7039
|
|
7040
|
+
def doDescribeDevice(args, parsed_globals):
|
7041
|
+
g_param = parse_global_arg(parsed_globals)
|
7042
|
+
|
7043
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
7044
|
+
cred = credential.CVMRoleCredential()
|
7045
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
7046
|
+
cred = credential.STSAssumeRoleCredential(
|
7047
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
7048
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
7049
|
+
)
|
7050
|
+
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):
|
7051
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
7052
|
+
else:
|
7053
|
+
cred = credential.Credential(
|
7054
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
7055
|
+
)
|
7056
|
+
http_profile = HttpProfile(
|
7057
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
7058
|
+
reqMethod="POST",
|
7059
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
7060
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
7061
|
+
)
|
7062
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
7063
|
+
if g_param[OptionsDefine.Language]:
|
7064
|
+
profile.language = g_param[OptionsDefine.Language]
|
7065
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
7066
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
7067
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
7068
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7069
|
+
model = models.DescribeDeviceRequest()
|
7070
|
+
model.from_json_string(json.dumps(args))
|
7071
|
+
start_time = time.time()
|
7072
|
+
while True:
|
7073
|
+
rsp = client.DescribeDevice(model)
|
7074
|
+
result = rsp.to_json_string()
|
7075
|
+
try:
|
7076
|
+
json_obj = json.loads(result)
|
7077
|
+
except TypeError as e:
|
7078
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
7079
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
7080
|
+
break
|
7081
|
+
cur_time = time.time()
|
7082
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
7083
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
7084
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
7085
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
7086
|
+
else:
|
7087
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
7088
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
7089
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7090
|
+
|
7091
|
+
|
6676
7092
|
def doDescribeBatchProduction(args, parsed_globals):
|
6677
7093
|
g_param = parse_global_arg(parsed_globals)
|
6678
7094
|
|
@@ -9080,7 +9496,7 @@ ACTION_MAP = {
|
|
9080
9496
|
"GetCOSURL": doGetCOSURL,
|
9081
9497
|
"ModifyStudioProduct": doModifyStudioProduct,
|
9082
9498
|
"DescribeDevicePackages": doDescribeDevicePackages,
|
9083
|
-
"
|
9499
|
+
"ListProductOtaModules": doListProductOtaModules,
|
9084
9500
|
"DescribeAISearchTaskAsync": doDescribeAISearchTaskAsync,
|
9085
9501
|
"DescribeP2PRoute": doDescribeP2PRoute,
|
9086
9502
|
"DescribeCloudStorageEventsWithAITasks": doDescribeCloudStorageEventsWithAITasks,
|
@@ -9097,6 +9513,7 @@ ACTION_MAP = {
|
|
9097
9513
|
"GetDeviceLocationHistory": doGetDeviceLocationHistory,
|
9098
9514
|
"ListEventHistory": doListEventHistory,
|
9099
9515
|
"DeleteDevice": doDeleteDevice,
|
9516
|
+
"DescribeFirmwareUpdateStatus": doDescribeFirmwareUpdateStatus,
|
9100
9517
|
"GetLoRaGatewayList": doGetLoRaGatewayList,
|
9101
9518
|
"BindCloudStorageUser": doBindCloudStorageUser,
|
9102
9519
|
"ReleaseStudioProduct": doReleaseStudioProduct,
|
@@ -9111,11 +9528,12 @@ ACTION_MAP = {
|
|
9111
9528
|
"DescribeActivateDevice": doDescribeActivateDevice,
|
9112
9529
|
"DescribeBindedProducts": doDescribeBindedProducts,
|
9113
9530
|
"ModifyLoRaGateway": doModifyLoRaGateway,
|
9114
|
-
"
|
9531
|
+
"DescribeFirmwareTasks": doDescribeFirmwareTasks,
|
9115
9532
|
"ControlDeviceData": doControlDeviceData,
|
9116
9533
|
"DescribeUnbindedDevices": doDescribeUnbindedDevices,
|
9117
9534
|
"CreateIotVideoCloudStorage": doCreateIotVideoCloudStorage,
|
9118
9535
|
"DeleteTopicRule": doDeleteTopicRule,
|
9536
|
+
"DeleteOtaModule": doDeleteOtaModule,
|
9119
9537
|
"DescribeCloudStorageAIService": doDescribeCloudStorageAIService,
|
9120
9538
|
"DescribeFenceBindList": doDescribeFenceBindList,
|
9121
9539
|
"CreateLoRaGateway": doCreateLoRaGateway,
|
@@ -9129,11 +9547,13 @@ ACTION_MAP = {
|
|
9129
9547
|
"DescribeCloudStorageUsers": doDescribeCloudStorageUsers,
|
9130
9548
|
"TransferCloudStorage": doTransferCloudStorage,
|
9131
9549
|
"DescribeVideoLicense": doDescribeVideoLicense,
|
9550
|
+
"BatchUpdateFirmware": doBatchUpdateFirmware,
|
9132
9551
|
"GetTWeTalkProductConfigList": doGetTWeTalkProductConfigList,
|
9133
9552
|
"ChangeP2PRoute": doChangeP2PRoute,
|
9134
9553
|
"SearchStudioProduct": doSearchStudioProduct,
|
9135
9554
|
"ModifyTopicRule": doModifyTopicRule,
|
9136
9555
|
"InheritCloudStorageUser": doInheritCloudStorageUser,
|
9556
|
+
"ListOtaModules": doListOtaModules,
|
9137
9557
|
"ModifyTWeTalkProductConfig": doModifyTWeTalkProductConfig,
|
9138
9558
|
"TransferTWeCallDevice": doTransferTWeCallDevice,
|
9139
9559
|
"ListFirmwares": doListFirmwares,
|
@@ -9146,6 +9566,7 @@ ACTION_MAP = {
|
|
9146
9566
|
"GetPositionSpaceList": doGetPositionSpaceList,
|
9147
9567
|
"ResetCloudStorage": doResetCloudStorage,
|
9148
9568
|
"InvokeExternalSourceAIServiceTask": doInvokeExternalSourceAIServiceTask,
|
9569
|
+
"DescribeFirmwareTaskDevices": doDescribeFirmwareTaskDevices,
|
9149
9570
|
"DescribeLoRaFrequency": doDescribeLoRaFrequency,
|
9150
9571
|
"ModifyPositionSpace": doModifyPositionSpace,
|
9151
9572
|
"DescribeCloudStorageTime": doDescribeCloudStorageTime,
|
@@ -9170,6 +9591,7 @@ ACTION_MAP = {
|
|
9170
9591
|
"ModifyProductCloudStorageAIService": doModifyProductCloudStorageAIService,
|
9171
9592
|
"ModifyTWeSeeConfig": doModifyTWeSeeConfig,
|
9172
9593
|
"CreateTopicRule": doCreateTopicRule,
|
9594
|
+
"UpdateOtaModule": doUpdateOtaModule,
|
9173
9595
|
"CreateLoRaFrequency": doCreateLoRaFrequency,
|
9174
9596
|
"CreateTopicPolicy": doCreateTopicPolicy,
|
9175
9597
|
"PublishRRPCMessage": doPublishRRPCMessage,
|
@@ -9190,6 +9612,7 @@ ACTION_MAP = {
|
|
9190
9612
|
"UpdateFirmware": doUpdateFirmware,
|
9191
9613
|
"GetTWeCallActiveStatus": doGetTWeCallActiveStatus,
|
9192
9614
|
"DescribeGatewaySubProducts": doDescribeGatewaySubProducts,
|
9615
|
+
"CreateOtaModule": doCreateOtaModule,
|
9193
9616
|
"DescribeDevicePositionList": doDescribeDevicePositionList,
|
9194
9617
|
"DescribeFirmware": doDescribeFirmware,
|
9195
9618
|
"DescribeDeviceFirmwares": doDescribeDeviceFirmwares,
|
@@ -9204,6 +9627,7 @@ ACTION_MAP = {
|
|
9204
9627
|
"GetStudioProductList": doGetStudioProductList,
|
9205
9628
|
"InvokeVideosKeywordsAnalyzer": doInvokeVideosKeywordsAnalyzer,
|
9206
9629
|
"DescribeTWeSeeRecognitionTask": doDescribeTWeSeeRecognitionTask,
|
9630
|
+
"DescribeDevice": doDescribeDevice,
|
9207
9631
|
"DescribeBatchProduction": doDescribeBatchProduction,
|
9208
9632
|
"CreateExternalSourceAIServiceTask": doCreateExternalSourceAIServiceTask,
|
9209
9633
|
"ActivateTWeCallLicense": doActivateTWeCallLicense,
|