tccli 3.0.1366.1__py2.py3-none-any.whl → 3.0.1367.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.
Files changed (31) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +16 -4
  3. tccli/services/cdb/v20170320/api.json +1 -1
  4. tccli/services/cdn/v20180606/api.json +11 -3
  5. tccli/services/cfw/cfw_client.py +34 -193
  6. tccli/services/cfw/v20190904/api.json +21 -341
  7. tccli/services/cfw/v20190904/examples.json +2 -26
  8. tccli/services/ctem/v20231128/api.json +5 -5
  9. tccli/services/cwp/v20180228/api.json +12 -12
  10. tccli/services/cwp/v20180228/examples.json +4 -4
  11. tccli/services/dlc/v20210125/api.json +77 -9
  12. tccli/services/dlc/v20210125/examples.json +1 -1
  13. tccli/services/es/v20250101/api.json +6 -6
  14. tccli/services/es/v20250101/examples.json +8 -8
  15. tccli/services/ess/v20201111/api.json +1 -1
  16. tccli/services/essbasic/v20210526/api.json +2 -2
  17. tccli/services/iotexplorer/v20190423/api.json +72 -2
  18. tccli/services/ocr/v20181119/api.json +123 -123
  19. tccli/services/sqlserver/v20180328/api.json +14 -14
  20. tccli/services/sqlserver/v20180328/examples.json +3 -3
  21. tccli/services/teo/v20220901/api.json +11 -11
  22. tccli/services/tsf/tsf_client.py +159 -0
  23. tccli/services/tsf/v20180326/api.json +583 -0
  24. tccli/services/tsf/v20180326/examples.json +24 -0
  25. tccli/services/wedata/v20210820/api.json +161 -9
  26. tccli/services/wedata/v20210820/examples.json +3 -9
  27. {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/METADATA +2 -2
  28. {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/RECORD +31 -31
  29. {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/WHEEL +0 -0
  30. {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/entry_points.txt +0 -0
  31. {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1366.1'
1
+ __version__ = '3.0.1367.1'
@@ -116,21 +116,23 @@
116
116
  "member": "string",
117
117
  "name": "Key",
118
118
  "output_required": true,
119
+ "required": false,
119
120
  "type": "string",
120
121
  "value_allowed_null": false
121
122
  },
122
123
  {
123
124
  "disabled": false,
124
125
  "document": "Value 值定义",
125
- "example": "CloudMonitor",
126
+ "example": "0.0",
126
127
  "member": "float",
127
128
  "name": "Value",
128
129
  "output_required": true,
130
+ "required": false,
129
131
  "type": "float",
130
132
  "value_allowed_null": false
131
133
  }
132
134
  ],
133
- "usage": "out"
135
+ "usage": "both"
134
136
  },
135
137
  "APMKVItem": {
136
138
  "document": "APM 通用 KV 结构",
@@ -477,7 +479,7 @@
477
479
  {
478
480
  "disabled": false,
479
481
  "document": "同比结果数组,推荐使用\n注意:此字段可能返回 null,表示取不到有效值。",
480
- "example": "[ { \"Key\": \"CompareByYesterday\", \"Value\": \"0.0%\" } ]",
482
+ "example": "",
481
483
  "member": "APMKVItem",
482
484
  "name": "CompareVals",
483
485
  "output_required": true,
@@ -487,7 +489,7 @@
487
489
  {
488
490
  "disabled": false,
489
491
  "document": "同比上一个周期的具体指标数值\n注意:此字段可能返回 null,表示取不到有效值。",
490
- "example": "[ { \"Key\": \"CompareByYesterday\", \"Value\": 8.092753335107176 } ]",
492
+ "example": "",
491
493
  "member": "APMKV",
492
494
  "name": "LastPeriodValue",
493
495
  "output_required": true,
@@ -503,6 +505,16 @@
503
505
  "output_required": true,
504
506
  "type": "string",
505
507
  "value_allowed_null": false
508
+ },
509
+ {
510
+ "disabled": false,
511
+ "document": "指标中文名",
512
+ "example": "吞吐量",
513
+ "member": "string",
514
+ "name": "NameCN",
515
+ "output_required": false,
516
+ "type": "string",
517
+ "value_allowed_null": false
506
518
  }
507
519
  ],
508
520
  "usage": "out"
@@ -1221,7 +1221,7 @@
1221
1221
  },
1222
1222
  "metadata": {
1223
1223
  "apiVersion": "2017-03-20",
1224
- "api_brief": "介绍如何使用API对云数据库MySQL进行操作,包括查询数据库表、查询云数据库实例任务列表、续费云数据库实例等。",
1224
+ "api_brief": "介绍如何使用 API 对云数据库 MySQL 进行操作,包括查询数据库表、查询云数据库实例任务列表、续费云数据库实例等。",
1225
1225
  "serviceNameCN": "云数据库 MySQL",
1226
1226
  "serviceShortName": "cdb"
1227
1227
  },
@@ -2597,16 +2597,18 @@
2597
2597
  "example": "off",
2598
2598
  "member": "string",
2599
2599
  "name": "FullUrlCache",
2600
+ "output_required": true,
2600
2601
  "required": false,
2601
2602
  "type": "string",
2602
2603
  "value_allowed_null": false
2603
2604
  },
2604
2605
  {
2605
2606
  "disabled": false,
2606
- "document": "是否忽略大小写缓存\n注意:此字段可能返回 null,表示取不到有效值。",
2607
+ "document": "是否忽略大小写缓存\non:开启\noff:关闭\n注意:此字段可能返回 null,表示取不到有效值。",
2607
2608
  "example": "off",
2608
2609
  "member": "string",
2609
2610
  "name": "IgnoreCase",
2611
+ "output_required": true,
2610
2612
  "required": false,
2611
2613
  "type": "string",
2612
2614
  "value_allowed_null": true
@@ -2617,6 +2619,7 @@
2617
2619
  "example": "无",
2618
2620
  "member": "QueryStringKey",
2619
2621
  "name": "QueryString",
2622
+ "output_required": true,
2620
2623
  "required": false,
2621
2624
  "type": "object",
2622
2625
  "value_allowed_null": true
@@ -2627,6 +2630,7 @@
2627
2630
  "example": "无",
2628
2631
  "member": "CookieKey",
2629
2632
  "name": "Cookie",
2633
+ "output_required": true,
2630
2634
  "required": false,
2631
2635
  "type": "object",
2632
2636
  "value_allowed_null": true
@@ -2637,6 +2641,7 @@
2637
2641
  "example": "无",
2638
2642
  "member": "HeaderKey",
2639
2643
  "name": "Header",
2644
+ "output_required": true,
2640
2645
  "required": false,
2641
2646
  "type": "object",
2642
2647
  "value_allowed_null": true
@@ -2647,6 +2652,7 @@
2647
2652
  "example": "无",
2648
2653
  "member": "CacheTagKey",
2649
2654
  "name": "CacheTag",
2655
+ "output_required": true,
2650
2656
  "required": false,
2651
2657
  "type": "object",
2652
2658
  "value_allowed_null": true
@@ -2657,6 +2663,7 @@
2657
2663
  "example": "无",
2658
2664
  "member": "SchemeKey",
2659
2665
  "name": "Scheme",
2666
+ "output_required": true,
2660
2667
  "required": false,
2661
2668
  "type": "object",
2662
2669
  "value_allowed_null": true
@@ -2667,6 +2674,7 @@
2667
2674
  "example": "无",
2668
2675
  "member": "KeyRule",
2669
2676
  "name": "KeyRules",
2677
+ "output_required": true,
2670
2678
  "required": false,
2671
2679
  "type": "list",
2672
2680
  "value_allowed_null": true
@@ -8549,7 +8557,7 @@
8549
8557
  {
8550
8558
  "disabled": false,
8551
8559
  "document": "CacheType 对应类型下的匹配内容:\nfile 时填充后缀名,如 jpg、txt\ndirectory 时填充路径,如 /xxx/test\npath 时填充绝对路径,如 /xxx/test.html\nindex 时填充 /\n注意:此字段可能返回 null,表示取不到有效值。",
8552
- "example": "jpg",
8560
+ "example": "[\"jpg\"]",
8553
8561
  "member": "string",
8554
8562
  "name": "RulePaths",
8555
8563
  "output_required": true,
@@ -8581,7 +8589,7 @@
8581
8589
  },
8582
8590
  {
8583
8591
  "disabled": false,
8584
- "document": "是否忽略大小写缓存\n注意:此字段可能返回 null,表示取不到有效值。",
8592
+ "document": "是否忽略大小写缓存\non:开启\noff:关闭\n注意:此字段可能返回 null,表示取不到有效值。",
8585
8593
  "example": "off",
8586
8594
  "member": "string",
8587
8595
  "name": "IgnoreCase",
@@ -1109,58 +1109,6 @@ def doRemoveAclRule(args, parsed_globals):
1109
1109
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
1110
 
1111
1111
 
1112
- def doDeleteNatFwInstance(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.CfwClient(cred, g_param[OptionsDefine.Region], profile)
1139
- client._sdkVersion += ("_CLI_" + __version__)
1140
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
1141
- model = models.DeleteNatFwInstanceRequest()
1142
- model.from_json_string(json.dumps(args))
1143
- start_time = time.time()
1144
- while True:
1145
- rsp = client.DeleteNatFwInstance(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
-
1164
1112
  def doCreateBlockIgnoreRuleList(args, parsed_globals):
1165
1113
  g_param = parse_global_arg(parsed_globals)
1166
1114
 
@@ -1941,7 +1889,7 @@ def doModifyVpcAcRule(args, parsed_globals):
1941
1889
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
1890
 
1943
1891
 
1944
- def doDescribeAssetSync(args, parsed_globals):
1892
+ def doDeleteNatFwInstance(args, parsed_globals):
1945
1893
  g_param = parse_global_arg(parsed_globals)
1946
1894
 
1947
1895
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1970,11 +1918,11 @@ def doDescribeAssetSync(args, parsed_globals):
1970
1918
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
1971
1919
  client._sdkVersion += ("_CLI_" + __version__)
1972
1920
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1973
- model = models.DescribeAssetSyncRequest()
1921
+ model = models.DeleteNatFwInstanceRequest()
1974
1922
  model.from_json_string(json.dumps(args))
1975
1923
  start_time = time.time()
1976
1924
  while True:
1977
- rsp = client.DescribeAssetSync(model)
1925
+ rsp = client.DeleteNatFwInstance(model)
1978
1926
  result = rsp.to_json_string()
1979
1927
  try:
1980
1928
  json_obj = json.loads(result)
@@ -2305,58 +2253,6 @@ def doDescribeNatFwInstanceWithRegion(args, parsed_globals):
2305
2253
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
2254
 
2307
2255
 
2308
- def doDeleteAddressTemplate(args, parsed_globals):
2309
- g_param = parse_global_arg(parsed_globals)
2310
-
2311
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2312
- cred = credential.CVMRoleCredential()
2313
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2314
- cred = credential.STSAssumeRoleCredential(
2315
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2316
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2317
- )
2318
- 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):
2319
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2320
- else:
2321
- cred = credential.Credential(
2322
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2323
- )
2324
- http_profile = HttpProfile(
2325
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2326
- reqMethod="POST",
2327
- endpoint=g_param[OptionsDefine.Endpoint],
2328
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2329
- )
2330
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2331
- if g_param[OptionsDefine.Language]:
2332
- profile.language = g_param[OptionsDefine.Language]
2333
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2334
- client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
2335
- client._sdkVersion += ("_CLI_" + __version__)
2336
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
2337
- model = models.DeleteAddressTemplateRequest()
2338
- model.from_json_string(json.dumps(args))
2339
- start_time = time.time()
2340
- while True:
2341
- rsp = client.DeleteAddressTemplate(model)
2342
- result = rsp.to_json_string()
2343
- try:
2344
- json_obj = json.loads(result)
2345
- except TypeError as e:
2346
- json_obj = json.loads(result.decode('utf-8')) # python3.3
2347
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2348
- break
2349
- cur_time = time.time()
2350
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2351
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2352
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2353
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2354
- else:
2355
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2356
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2357
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2358
-
2359
-
2360
2256
  def doCreateBlockIgnoreRuleNew(args, parsed_globals):
2361
2257
  g_param = parse_global_arg(parsed_globals)
2362
2258
 
@@ -2669,58 +2565,6 @@ def doCreateAlertCenterOmit(args, parsed_globals):
2669
2565
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
2566
 
2671
2567
 
2672
- def doCreateIdsWhiteRule(args, parsed_globals):
2673
- g_param = parse_global_arg(parsed_globals)
2674
-
2675
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2676
- cred = credential.CVMRoleCredential()
2677
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2678
- cred = credential.STSAssumeRoleCredential(
2679
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2680
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2681
- )
2682
- 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):
2683
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2684
- else:
2685
- cred = credential.Credential(
2686
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2687
- )
2688
- http_profile = HttpProfile(
2689
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2690
- reqMethod="POST",
2691
- endpoint=g_param[OptionsDefine.Endpoint],
2692
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2693
- )
2694
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2695
- if g_param[OptionsDefine.Language]:
2696
- profile.language = g_param[OptionsDefine.Language]
2697
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2698
- client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
2699
- client._sdkVersion += ("_CLI_" + __version__)
2700
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
2701
- model = models.CreateIdsWhiteRuleRequest()
2702
- model.from_json_string(json.dumps(args))
2703
- start_time = time.time()
2704
- while True:
2705
- rsp = client.CreateIdsWhiteRule(model)
2706
- result = rsp.to_json_string()
2707
- try:
2708
- json_obj = json.loads(result)
2709
- except TypeError as e:
2710
- json_obj = json.loads(result.decode('utf-8')) # python3.3
2711
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2712
- break
2713
- cur_time = time.time()
2714
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2715
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2716
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2717
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2718
- else:
2719
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2720
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2721
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2722
-
2723
-
2724
2568
  def doDescribeVpcAcRule(args, parsed_globals):
2725
2569
  g_param = parse_global_arg(parsed_globals)
2726
2570
 
@@ -3345,7 +3189,7 @@ def doModifyAssetScan(args, parsed_globals):
3345
3189
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3346
3190
 
3347
3191
 
3348
- def doDeleteIdsWhiteRule(args, parsed_globals):
3192
+ def doDeleteAddressTemplate(args, parsed_globals):
3349
3193
  g_param = parse_global_arg(parsed_globals)
3350
3194
 
3351
3195
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3374,11 +3218,11 @@ def doDeleteIdsWhiteRule(args, parsed_globals):
3374
3218
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
3375
3219
  client._sdkVersion += ("_CLI_" + __version__)
3376
3220
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3377
- model = models.DeleteIdsWhiteRuleRequest()
3221
+ model = models.DeleteAddressTemplateRequest()
3378
3222
  model.from_json_string(json.dumps(args))
3379
3223
  start_time = time.time()
3380
3224
  while True:
3381
- rsp = client.DeleteIdsWhiteRule(model)
3225
+ rsp = client.DeleteAddressTemplate(model)
3382
3226
  result = rsp.to_json_string()
3383
3227
  try:
3384
3228
  json_obj = json.loads(result)
@@ -4333,7 +4177,7 @@ def doRemoveNatAcRule(args, parsed_globals):
4333
4177
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4334
4178
 
4335
4179
 
4336
- def doDescribeAcLists(args, parsed_globals):
4180
+ def doDescribeAssetSync(args, parsed_globals):
4337
4181
  g_param = parse_global_arg(parsed_globals)
4338
4182
 
4339
4183
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4362,11 +4206,11 @@ def doDescribeAcLists(args, parsed_globals):
4362
4206
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
4363
4207
  client._sdkVersion += ("_CLI_" + __version__)
4364
4208
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4365
- model = models.DescribeAcListsRequest()
4209
+ model = models.DescribeAssetSyncRequest()
4366
4210
  model.from_json_string(json.dumps(args))
4367
4211
  start_time = time.time()
4368
4212
  while True:
4369
- rsp = client.DescribeAcLists(model)
4213
+ rsp = client.DescribeAssetSync(model)
4370
4214
  result = rsp.to_json_string()
4371
4215
  try:
4372
4216
  json_obj = json.loads(result)
@@ -5633,7 +5477,7 @@ def doModifyAcRule(args, parsed_globals):
5633
5477
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5634
5478
 
5635
5479
 
5636
- def doDescribeIdsWhiteRule(args, parsed_globals):
5480
+ def doModifyNatFwSwitch(args, parsed_globals):
5637
5481
  g_param = parse_global_arg(parsed_globals)
5638
5482
 
5639
5483
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5662,11 +5506,11 @@ def doDescribeIdsWhiteRule(args, parsed_globals):
5662
5506
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5663
5507
  client._sdkVersion += ("_CLI_" + __version__)
5664
5508
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5665
- model = models.DescribeIdsWhiteRuleRequest()
5509
+ model = models.ModifyNatFwSwitchRequest()
5666
5510
  model.from_json_string(json.dumps(args))
5667
5511
  start_time = time.time()
5668
5512
  while True:
5669
- rsp = client.DescribeIdsWhiteRule(model)
5513
+ rsp = client.ModifyNatFwSwitch(model)
5670
5514
  result = rsp.to_json_string()
5671
5515
  try:
5672
5516
  json_obj = json.loads(result)
@@ -5685,7 +5529,7 @@ def doDescribeIdsWhiteRule(args, parsed_globals):
5685
5529
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5686
5530
 
5687
5531
 
5688
- def doModifyNatFwSwitch(args, parsed_globals):
5532
+ def doDescribeTLogIpList(args, parsed_globals):
5689
5533
  g_param = parse_global_arg(parsed_globals)
5690
5534
 
5691
5535
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5714,11 +5558,11 @@ def doModifyNatFwSwitch(args, parsed_globals):
5714
5558
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5715
5559
  client._sdkVersion += ("_CLI_" + __version__)
5716
5560
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5717
- model = models.ModifyNatFwSwitchRequest()
5561
+ model = models.DescribeTLogIpListRequest()
5718
5562
  model.from_json_string(json.dumps(args))
5719
5563
  start_time = time.time()
5720
5564
  while True:
5721
- rsp = client.ModifyNatFwSwitch(model)
5565
+ rsp = client.DescribeTLogIpList(model)
5722
5566
  result = rsp.to_json_string()
5723
5567
  try:
5724
5568
  json_obj = json.loads(result)
@@ -5737,7 +5581,7 @@ def doModifyNatFwSwitch(args, parsed_globals):
5737
5581
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5738
5582
 
5739
5583
 
5740
- def doDescribeTLogIpList(args, parsed_globals):
5584
+ def doCreateAddressTemplate(args, parsed_globals):
5741
5585
  g_param = parse_global_arg(parsed_globals)
5742
5586
 
5743
5587
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5766,11 +5610,11 @@ def doDescribeTLogIpList(args, parsed_globals):
5766
5610
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5767
5611
  client._sdkVersion += ("_CLI_" + __version__)
5768
5612
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5769
- model = models.DescribeTLogIpListRequest()
5613
+ model = models.CreateAddressTemplateRequest()
5770
5614
  model.from_json_string(json.dumps(args))
5771
5615
  start_time = time.time()
5772
5616
  while True:
5773
- rsp = client.DescribeTLogIpList(model)
5617
+ rsp = client.CreateAddressTemplate(model)
5774
5618
  result = rsp.to_json_string()
5775
5619
  try:
5776
5620
  json_obj = json.loads(result)
@@ -5789,7 +5633,7 @@ def doDescribeTLogIpList(args, parsed_globals):
5789
5633
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5790
5634
 
5791
5635
 
5792
- def doCreateAddressTemplate(args, parsed_globals):
5636
+ def doAddNatAcRule(args, parsed_globals):
5793
5637
  g_param = parse_global_arg(parsed_globals)
5794
5638
 
5795
5639
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5818,11 +5662,11 @@ def doCreateAddressTemplate(args, parsed_globals):
5818
5662
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5819
5663
  client._sdkVersion += ("_CLI_" + __version__)
5820
5664
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5821
- model = models.CreateAddressTemplateRequest()
5665
+ model = models.AddNatAcRuleRequest()
5822
5666
  model.from_json_string(json.dumps(args))
5823
5667
  start_time = time.time()
5824
5668
  while True:
5825
- rsp = client.CreateAddressTemplate(model)
5669
+ rsp = client.AddNatAcRule(model)
5826
5670
  result = rsp.to_json_string()
5827
5671
  try:
5828
5672
  json_obj = json.loads(result)
@@ -5841,7 +5685,7 @@ def doCreateAddressTemplate(args, parsed_globals):
5841
5685
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5842
5686
 
5843
5687
 
5844
- def doAddNatAcRule(args, parsed_globals):
5688
+ def doDescribeBlockStaticList(args, parsed_globals):
5845
5689
  g_param = parse_global_arg(parsed_globals)
5846
5690
 
5847
5691
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5870,11 +5714,11 @@ def doAddNatAcRule(args, parsed_globals):
5870
5714
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5871
5715
  client._sdkVersion += ("_CLI_" + __version__)
5872
5716
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5873
- model = models.AddNatAcRuleRequest()
5717
+ model = models.DescribeBlockStaticListRequest()
5874
5718
  model.from_json_string(json.dumps(args))
5875
5719
  start_time = time.time()
5876
5720
  while True:
5877
- rsp = client.AddNatAcRule(model)
5721
+ rsp = client.DescribeBlockStaticList(model)
5878
5722
  result = rsp.to_json_string()
5879
5723
  try:
5880
5724
  json_obj = json.loads(result)
@@ -5893,7 +5737,7 @@ def doAddNatAcRule(args, parsed_globals):
5893
5737
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5894
5738
 
5895
5739
 
5896
- def doDescribeBlockStaticList(args, parsed_globals):
5740
+ def doDescribeFwEdgeIps(args, parsed_globals):
5897
5741
  g_param = parse_global_arg(parsed_globals)
5898
5742
 
5899
5743
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5922,11 +5766,11 @@ def doDescribeBlockStaticList(args, parsed_globals):
5922
5766
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5923
5767
  client._sdkVersion += ("_CLI_" + __version__)
5924
5768
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5925
- model = models.DescribeBlockStaticListRequest()
5769
+ model = models.DescribeFwEdgeIpsRequest()
5926
5770
  model.from_json_string(json.dumps(args))
5927
5771
  start_time = time.time()
5928
5772
  while True:
5929
- rsp = client.DescribeBlockStaticList(model)
5773
+ rsp = client.DescribeFwEdgeIps(model)
5930
5774
  result = rsp.to_json_string()
5931
5775
  try:
5932
5776
  json_obj = json.loads(result)
@@ -5945,7 +5789,7 @@ def doDescribeBlockStaticList(args, parsed_globals):
5945
5789
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5946
5790
 
5947
5791
 
5948
- def doDescribeFwEdgeIps(args, parsed_globals):
5792
+ def doDescribeAcLists(args, parsed_globals):
5949
5793
  g_param = parse_global_arg(parsed_globals)
5950
5794
 
5951
5795
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5974,11 +5818,11 @@ def doDescribeFwEdgeIps(args, parsed_globals):
5974
5818
  client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
5975
5819
  client._sdkVersion += ("_CLI_" + __version__)
5976
5820
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5977
- model = models.DescribeFwEdgeIpsRequest()
5821
+ model = models.DescribeAcListsRequest()
5978
5822
  model.from_json_string(json.dumps(args))
5979
5823
  start_time = time.time()
5980
5824
  while True:
5981
- rsp = client.DescribeFwEdgeIps(model)
5825
+ rsp = client.DescribeAcLists(model)
5982
5826
  result = rsp.to_json_string()
5983
5827
  try:
5984
5828
  json_obj = json.loads(result)
@@ -6029,7 +5873,6 @@ ACTION_MAP = {
6029
5873
  "ModifyBlockTop": doModifyBlockTop,
6030
5874
  "DeleteRemoteAccessDomain": doDeleteRemoteAccessDomain,
6031
5875
  "RemoveAclRule": doRemoveAclRule,
6032
- "DeleteNatFwInstance": doDeleteNatFwInstance,
6033
5876
  "CreateBlockIgnoreRuleList": doCreateBlockIgnoreRuleList,
6034
5877
  "ModifyBlockIgnoreRuleNew": doModifyBlockIgnoreRuleNew,
6035
5878
  "ModifyEdgeIpSwitch": doModifyEdgeIpSwitch,
@@ -6045,21 +5888,19 @@ ACTION_MAP = {
6045
5888
  "DeleteAllAccessControlRule": doDeleteAllAccessControlRule,
6046
5889
  "DescribeSecurityGroupList": doDescribeSecurityGroupList,
6047
5890
  "ModifyVpcAcRule": doModifyVpcAcRule,
6048
- "DescribeAssetSync": doDescribeAssetSync,
5891
+ "DeleteNatFwInstance": doDeleteNatFwInstance,
6049
5892
  "CreateSecurityGroupRules": doCreateSecurityGroupRules,
6050
5893
  "DescribeDefenseSwitch": doDescribeDefenseSwitch,
6051
5894
  "DescribeFwGroupInstanceInfo": doDescribeFwGroupInstanceInfo,
6052
5895
  "ModifyNatFwVpcDnsSwitch": doModifyNatFwVpcDnsSwitch,
6053
5896
  "ModifySecurityGroupItemRuleStatus": doModifySecurityGroupItemRuleStatus,
6054
5897
  "DescribeNatFwInstanceWithRegion": doDescribeNatFwInstanceWithRegion,
6055
- "DeleteAddressTemplate": doDeleteAddressTemplate,
6056
5898
  "CreateBlockIgnoreRuleNew": doCreateBlockIgnoreRuleNew,
6057
5899
  "DescribeSourceAsset": doDescribeSourceAsset,
6058
5900
  "DeleteResourceGroup": doDeleteResourceGroup,
6059
5901
  "RemoveAcRule": doRemoveAcRule,
6060
5902
  "ModifyVpcFwSequenceRules": doModifyVpcFwSequenceRules,
6061
5903
  "CreateAlertCenterOmit": doCreateAlertCenterOmit,
6062
- "CreateIdsWhiteRule": doCreateIdsWhiteRule,
6063
5904
  "DescribeVpcAcRule": doDescribeVpcAcRule,
6064
5905
  "ModifyEnterpriseSecurityGroupRule": doModifyEnterpriseSecurityGroupRule,
6065
5906
  "AddAclRule": doAddAclRule,
@@ -6072,7 +5913,7 @@ ACTION_MAP = {
6072
5913
  "ModifyBlockIgnoreList": doModifyBlockIgnoreList,
6073
5914
  "CreateChooseVpcs": doCreateChooseVpcs,
6074
5915
  "ModifyAssetScan": doModifyAssetScan,
6075
- "DeleteIdsWhiteRule": doDeleteIdsWhiteRule,
5916
+ "DeleteAddressTemplate": doDeleteAddressTemplate,
6076
5917
  "ModifySequenceRules": doModifySequenceRules,
6077
5918
  "ModifySequenceAclRules": doModifySequenceAclRules,
6078
5919
  "DescribeRuleOverview": doDescribeRuleOverview,
@@ -6091,7 +5932,7 @@ ACTION_MAP = {
6091
5932
  "DescribeCfwEips": doDescribeCfwEips,
6092
5933
  "DescribeBlockIgnoreList": doDescribeBlockIgnoreList,
6093
5934
  "RemoveNatAcRule": doRemoveNatAcRule,
6094
- "DescribeAcLists": doDescribeAcLists,
5935
+ "DescribeAssetSync": doDescribeAssetSync,
6095
5936
  "DescribeLogStorageStatistic": doDescribeLogStorageStatistic,
6096
5937
  "ExpandCfwVertical": doExpandCfwVertical,
6097
5938
  "CreateVpcFwGroup": doCreateVpcFwGroup,
@@ -6116,13 +5957,13 @@ ACTION_MAP = {
6116
5957
  "DescribeResourceGroup": doDescribeResourceGroup,
6117
5958
  "SyncFwOperate": doSyncFwOperate,
6118
5959
  "ModifyAcRule": doModifyAcRule,
6119
- "DescribeIdsWhiteRule": doDescribeIdsWhiteRule,
6120
5960
  "ModifyNatFwSwitch": doModifyNatFwSwitch,
6121
5961
  "DescribeTLogIpList": doDescribeTLogIpList,
6122
5962
  "CreateAddressTemplate": doCreateAddressTemplate,
6123
5963
  "AddNatAcRule": doAddNatAcRule,
6124
5964
  "DescribeBlockStaticList": doDescribeBlockStaticList,
6125
5965
  "DescribeFwEdgeIps": doDescribeFwEdgeIps,
5966
+ "DescribeAcLists": doDescribeAcLists,
6126
5967
 
6127
5968
  }
6128
5969