tccli 3.0.1155.1__py2.py3-none-any.whl → 3.0.1157.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 (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +48 -20
  3. tccli/services/cam/v20190116/api.json +10 -0
  4. tccli/services/ccc/v20200210/api.json +10 -0
  5. tccli/services/ccc/v20200210/examples.json +1 -1
  6. tccli/services/cdb/v20170320/api.json +38 -1
  7. tccli/services/cdwch/v20200915/api.json +27 -0
  8. tccli/services/cdwdoris/v20211228/api.json +27 -0
  9. tccli/services/cynosdb/v20190107/api.json +1 -1
  10. tccli/services/dts/v20211206/api.json +9 -0
  11. tccli/services/ess/ess_client.py +53 -0
  12. tccli/services/ess/v20201111/api.json +91 -0
  13. tccli/services/ess/v20201111/examples.json +8 -0
  14. tccli/services/gaap/v20180529/api.json +17 -17
  15. tccli/services/gaap/v20180529/examples.json +7 -13
  16. tccli/services/hunyuan/v20230901/api.json +2 -2
  17. tccli/services/iss/v20230517/api.json +6 -6
  18. tccli/services/mongodb/mongodb_client.py +273 -8
  19. tccli/services/mongodb/v20190725/api.json +486 -6
  20. tccli/services/mongodb/v20190725/examples.json +40 -0
  21. tccli/services/monitor/v20180724/api.json +23 -23
  22. tccli/services/monitor/v20180724/examples.json +12 -12
  23. tccli/services/mps/v20190612/api.json +2 -2
  24. tccli/services/mps/v20190612/examples.json +2 -2
  25. tccli/services/oceanus/v20190422/api.json +9 -0
  26. tccli/services/postgres/postgres_client.py +395 -24
  27. tccli/services/postgres/v20170312/api.json +549 -0
  28. tccli/services/postgres/v20170312/examples.json +92 -0
  29. tccli/services/rce/v20201103/api.json +78 -0
  30. tccli/services/tcr/v20190924/api.json +71 -45
  31. tccli/services/tcr/v20190924/examples.json +9 -9
  32. tccli/services/tem/v20210701/api.json +21 -3
  33. tccli/services/tem/v20210701/examples.json +1 -7
  34. tccli/services/thpc/thpc_client.py +110 -4
  35. tccli/services/thpc/v20230321/api.json +170 -35
  36. tccli/services/thpc/v20230321/examples.json +17 -1
  37. tccli/services/tke/v20220501/api.json +10 -0
  38. tccli/services/vclm/v20240523/api.json +9 -0
  39. tccli/services/vpc/v20170312/api.json +74 -15
  40. tccli/services/waf/v20180125/api.json +421 -72
  41. tccli/services/waf/v20180125/examples.json +6 -6
  42. tccli/services/wedata/v20210820/api.json +45 -7
  43. tccli/services/wedata/v20210820/examples.json +6 -0
  44. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/RECORD +48 -48
  46. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/license_files/LICENSE +0 -0
@@ -1572,7 +1572,7 @@
1572
1572
  "example": "1",
1573
1573
  "member": "uint64",
1574
1574
  "name": "CheckFlag",
1575
- "required": true,
1575
+ "output_required": true,
1576
1576
  "type": "int",
1577
1577
  "value_allowed_null": false
1578
1578
  },
@@ -3832,7 +3832,7 @@
3832
3832
  "example": "1",
3833
3833
  "member": "uint64",
3834
3834
  "name": "TotalCount",
3835
- "required": true,
3835
+ "output_required": true,
3836
3836
  "type": "int",
3837
3837
  "value_allowed_null": false
3838
3838
  },
@@ -3842,7 +3842,7 @@
3842
3842
  "example": "无",
3843
3843
  "member": "RegionDetail",
3844
3844
  "name": "AccessRegionSet",
3845
- "required": true,
3845
+ "output_required": true,
3846
3846
  "type": "list",
3847
3847
  "value_allowed_null": false
3848
3848
  },
@@ -3886,7 +3886,7 @@
3886
3886
  "example": "[{\"X-REAL_IP\",\"remote_addr\"}]",
3887
3887
  "member": "string",
3888
3888
  "name": "BlackHeaders",
3889
- "required": true,
3889
+ "output_required": true,
3890
3890
  "type": "list",
3891
3891
  "value_allowed_null": true
3892
3892
  },
@@ -4015,7 +4015,7 @@
4015
4015
  "example": "无",
4016
4016
  "member": "CountryAreaMap",
4017
4017
  "name": "CountryAreaMappingList",
4018
- "required": true,
4018
+ "output_required": true,
4019
4019
  "type": "list",
4020
4020
  "value_allowed_null": false
4021
4021
  },
@@ -5699,7 +5699,7 @@
5699
5699
  "example": "26",
5700
5700
  "member": "uint64",
5701
5701
  "name": "TotalCount",
5702
- "required": true,
5702
+ "output_required": true,
5703
5703
  "type": "int",
5704
5704
  "value_allowed_null": false
5705
5705
  },
@@ -5709,7 +5709,7 @@
5709
5709
  "example": "无",
5710
5710
  "member": "RegionDetail",
5711
5711
  "name": "DestRegionSet",
5712
- "required": true,
5712
+ "output_required": true,
5713
5713
  "type": "list",
5714
5714
  "value_allowed_null": false
5715
5715
  },
@@ -5719,7 +5719,7 @@
5719
5719
  "example": "无",
5720
5720
  "member": "BandwidthPriceGradient",
5721
5721
  "name": "BandwidthUnitPrice",
5722
- "required": true,
5722
+ "output_required": true,
5723
5723
  "type": "list",
5724
5724
  "value_allowed_null": false
5725
5725
  },
@@ -5729,7 +5729,7 @@
5729
5729
  "example": "CNY",
5730
5730
  "member": "string",
5731
5731
  "name": "Currency",
5732
- "required": true,
5732
+ "output_required": true,
5733
5733
  "type": "string",
5734
5734
  "value_allowed_null": false
5735
5735
  },
@@ -7667,7 +7667,7 @@
7667
7667
  "example": "80.64",
7668
7668
  "member": "float",
7669
7669
  "name": "ProxyDailyPrice",
7670
- "required": true,
7670
+ "output_required": true,
7671
7671
  "type": "float",
7672
7672
  "value_allowed_null": false
7673
7673
  },
@@ -7677,7 +7677,7 @@
7677
7677
  "example": "无",
7678
7678
  "member": "BandwidthPriceGradient",
7679
7679
  "name": "BandwidthUnitPrice",
7680
- "required": true,
7680
+ "output_required": true,
7681
7681
  "type": "list",
7682
7682
  "value_allowed_null": true
7683
7683
  },
@@ -7687,7 +7687,7 @@
7687
7687
  "example": "56.84",
7688
7688
  "member": "float",
7689
7689
  "name": "DiscountProxyDailyPrice",
7690
- "required": true,
7690
+ "output_required": true,
7691
7691
  "type": "float",
7692
7692
  "value_allowed_null": false
7693
7693
  },
@@ -7697,7 +7697,7 @@
7697
7697
  "example": "xx",
7698
7698
  "member": "string",
7699
7699
  "name": "Currency",
7700
- "required": true,
7700
+ "output_required": true,
7701
7701
  "type": "string",
7702
7702
  "value_allowed_null": false
7703
7703
  },
@@ -7707,7 +7707,7 @@
7707
7707
  "example": "0",
7708
7708
  "member": "float",
7709
7709
  "name": "FlowUnitPrice",
7710
- "required": true,
7710
+ "output_required": true,
7711
7711
  "type": "float",
7712
7712
  "value_allowed_null": true
7713
7713
  },
@@ -7717,7 +7717,7 @@
7717
7717
  "example": "0",
7718
7718
  "member": "float",
7719
7719
  "name": "DiscountFlowUnitPrice",
7720
- "required": true,
7720
+ "output_required": true,
7721
7721
  "type": "float",
7722
7722
  "value_allowed_null": true
7723
7723
  },
@@ -7727,7 +7727,7 @@
7727
7727
  "example": "0",
7728
7728
  "member": "float",
7729
7729
  "name": "Cn2BandwidthPrice",
7730
- "required": true,
7730
+ "output_required": true,
7731
7731
  "type": "float",
7732
7732
  "value_allowed_null": true
7733
7733
  },
@@ -7737,7 +7737,7 @@
7737
7737
  "example": "0",
7738
7738
  "member": "float",
7739
7739
  "name": "Cn2BandwidthPriceWithDiscount",
7740
- "required": true,
7740
+ "output_required": true,
7741
7741
  "type": "float",
7742
7742
  "value_allowed_null": true
7743
7743
  },
@@ -322,8 +322,8 @@
322
322
  {
323
323
  "document": "",
324
324
  "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessRegions\n<公共请求参数>\n\n{}",
325
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccessRegionSet\": [\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
326
- "title": "查询加速区域"
325
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccessRegionSet\": [\n {\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\",\n \"RegionArea\": \"abc\",\n \"RegionAreaName\": \"abc\",\n \"IDCType\": \"abc\",\n \"FeatureBitmap\": 1,\n \"SupportFeature\": {\n \"NetworkType\": [\n \"abc\"\n ]\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
326
+ "title": "示例"
327
327
  }
328
328
  ],
329
329
  "DescribeAccessRegionsByDestRegion": [
@@ -587,17 +587,11 @@
587
587
  }
588
588
  ],
589
589
  "DescribeRegionAndPrice": [
590
- {
591
- "document": "获取源站区域和带宽梯度价格",
592
- "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegionAndPrice\n<公共请求参数>\n\n{}",
593
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DestRegionSet\": [\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\",\n \"BandwidthUnitPrice\": [\n {\n \"BandwidthRange\": [\n 0,\n 20\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 20,\n 100\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 100,\n 500\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 500,\n 2000\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 2000,\n 0\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n }\n ],\n \"Currency\": \"xx\"\n }\n}",
594
- "title": "获取源站区域和带宽梯度价格"
595
- },
596
590
  {
597
591
  "document": "",
598
- "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegionAndPrice\n<公共请求参数>\n\n{}",
599
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DestRegionSet\": [\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n },\n {\n \"RegionId\": \"xx\",\n \"RegionAreaName\": \"xx\",\n \"IDCType\": \"xx\",\n \"FeatureBitmap\": 1,\n \"RegionArea\": \"xx\",\n \"RegionName\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\",\n \"BandwidthUnitPrice\": [\n {\n \"BandwidthRange\": [\n 0,\n 20\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 20,\n 100\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 100,\n 500\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 500,\n 2000\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 2000,\n 0\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n }\n ],\n \"Currency\": \"xx\"\n }\n}",
600
- "title": "获取源站区域和带宽梯度价格2"
592
+ "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegionAndPrice\n<公共请求参数>\n\n{\n \"IPAddressVersion\": \"abc\",\n \"PackageType\": \"abc\"\n}",
593
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DestRegionSet\": [\n {\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\",\n \"RegionArea\": \"abc\",\n \"RegionAreaName\": \"abc\",\n \"IDCType\": \"abc\",\n \"FeatureBitmap\": 1,\n \"SupportFeature\": {\n \"NetworkType\": [\n \"abc\"\n ]\n }\n }\n ],\n \"BandwidthUnitPrice\": [\n {\n \"BandwidthRange\": [\n 0\n ],\n \"BandwidthUnitPrice\": 0,\n \"DiscountBandwidthUnitPrice\": 0\n }\n ],\n \"Currency\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
594
+ "title": "示例"
601
595
  }
602
596
  ],
603
597
  "DescribeResourcesByTag": [
@@ -698,9 +692,9 @@
698
692
  ],
699
693
  "InquiryPriceCreateProxy": [
700
694
  {
701
- "document": "",
695
+ "document": "创建加速通道询价",
702
696
  "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceCreateProxy\n<公共请求参数>\n\n{\n \"Concurrency\": \"2\",\n \"Bandwidth\": \"10\",\n \"RealServerRegion\": \"SouthChina\",\n \"AccessRegion\": \"EastChina\"\n}",
703
- "output": "{\n \"Response\": {\n \"Cn2BandwidthPrice\": 0.0,\n \"Cn2BandwidthPriceWithDiscount\": 0.0,\n \"ProxyDailyPrice\": 80.64,\n \"FlowUnitPrice\": 0.0,\n \"Currency\": \"xx\",\n \"DiscountProxyDailyPrice\": 56.84,\n \"RequestId\": \"xx\",\n \"DiscountFlowUnitPrice\": 0.0,\n \"BandwidthUnitPrice\": [\n {\n \"BandwidthRange\": [\n 0,\n 20\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 20,\n 100\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 100,\n 500\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 500,\n 2000\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n },\n {\n \"BandwidthRange\": [\n 2000,\n 0\n ],\n \"BandwidthUnitPrice\": 0.0,\n \"DiscountBandwidthUnitPrice\": 0.0\n }\n ]\n }\n}",
697
+ "output": "{\n \"Response\": {\n \"ProxyDailyPrice\": 0,\n \"BandwidthUnitPrice\": [\n {\n \"BandwidthRange\": [\n 0\n ],\n \"BandwidthUnitPrice\": 0,\n \"DiscountBandwidthUnitPrice\": 0\n }\n ],\n \"DiscountProxyDailyPrice\": 0,\n \"Currency\": \"abc\",\n \"FlowUnitPrice\": 0,\n \"DiscountFlowUnitPrice\": 0,\n \"Cn2BandwidthPrice\": 0,\n \"Cn2BandwidthPriceWithDiscount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
704
698
  "title": "创建加速通道询价"
705
699
  }
706
700
  ],
@@ -749,11 +749,11 @@
749
749
  "disabled": false,
750
750
  "document": "搜索引文序号\n注意:此字段可能返回 null,表示取不到有效值。",
751
751
  "example": "无",
752
- "member": "string",
752
+ "member": "int64",
753
753
  "name": "Index",
754
754
  "output_required": false,
755
755
  "required": false,
756
- "type": "string",
756
+ "type": "int",
757
757
  "value_allowed_null": true
758
758
  },
759
759
  {
@@ -3417,7 +3417,7 @@
3417
3417
  {
3418
3418
  "disabled": false,
3419
3419
  "document": "AI识别结果数量",
3420
- "example": "",
3420
+ "example": "10",
3421
3421
  "member": "uint64",
3422
3422
  "name": "TotalCount",
3423
3423
  "output_required": true,
@@ -6166,7 +6166,7 @@
6166
6166
  {
6167
6167
  "disabled": false,
6168
6168
  "document": "AI 任务数量",
6169
- "example": "",
6169
+ "example": "10",
6170
6170
  "member": "uint64",
6171
6171
  "name": "TotalCount",
6172
6172
  "output_required": true,
@@ -6449,7 +6449,7 @@
6449
6449
  {
6450
6450
  "disabled": false,
6451
6451
  "document": "设备总数",
6452
- "example": "",
6452
+ "example": "10",
6453
6453
  "member": "uint64",
6454
6454
  "name": "TotalCount",
6455
6455
  "output_required": true,
@@ -7618,8 +7618,8 @@
7618
7618
  },
7619
7619
  {
7620
7620
  "disabled": false,
7621
- "document": "默认不根据该字段进行筛选,否则根据设备操作类型进行筛选,目前值有:BatchDeleteUserDevice,BatchDisableDevice,BatchEnableDevice,\nBatchUpgradeDevice,\nBatchResetDevice,\nBatchRebootDevice",
7622
- "example": "",
7621
+ "document": "默认不根据该字段进行筛选,否则根据设备操作类型进行筛选,目前值有:BatchDeleteUserDevice,BatchDisableDevice,BatchEnableDevice,\nBatchUpgradeDevice,\nBatchResetDevice,\nBatchRebootDevice,\nBatchRefreshDeviceChannel",
7622
+ "example": "BatchDisableDevice",
7623
7623
  "member": "string",
7624
7624
  "name": "Operation",
7625
7625
  "required": false,
@@ -10143,7 +10143,7 @@
10143
10143
  {
10144
10144
  "disabled": false,
10145
10145
  "document": "模板ID(从查询录像上云模板列表接口ListRecordBackupTemplates中获取)",
10146
- "example": "",
10146
+ "example": "584fd9d0-569c-4153-aff7-************",
10147
10147
  "member": "string",
10148
10148
  "name": "TemplateId",
10149
10149
  "required": true,
@@ -123,6 +123,58 @@ def doDescribeDBInstanceNodeProperty(args, parsed_globals):
123
123
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
124
124
 
125
125
 
126
+ def doDescribeDBInstanceParamTpl(args, parsed_globals):
127
+ g_param = parse_global_arg(parsed_globals)
128
+
129
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
130
+ cred = credential.CVMRoleCredential()
131
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
132
+ cred = credential.STSAssumeRoleCredential(
133
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
134
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
135
+ )
136
+ 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):
137
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
138
+ else:
139
+ cred = credential.Credential(
140
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
141
+ )
142
+ http_profile = HttpProfile(
143
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
144
+ reqMethod="POST",
145
+ endpoint=g_param[OptionsDefine.Endpoint],
146
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
147
+ )
148
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
149
+ if g_param[OptionsDefine.Language]:
150
+ profile.language = g_param[OptionsDefine.Language]
151
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
152
+ client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
153
+ client._sdkVersion += ("_CLI_" + __version__)
154
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
155
+ model = models.DescribeDBInstanceParamTplRequest()
156
+ model.from_json_string(json.dumps(args))
157
+ start_time = time.time()
158
+ while True:
159
+ rsp = client.DescribeDBInstanceParamTpl(model)
160
+ result = rsp.to_json_string()
161
+ try:
162
+ json_obj = json.loads(result)
163
+ except TypeError as e:
164
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
165
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
166
+ break
167
+ cur_time = time.time()
168
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
169
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
170
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
171
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
172
+ else:
173
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
174
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
175
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
176
+
177
+
126
178
  def doDescribeDBInstanceDeal(args, parsed_globals):
127
179
  g_param = parse_global_arg(parsed_globals)
128
180
 
@@ -539,7 +591,7 @@ def doFlushInstanceRouterConfig(args, parsed_globals):
539
591
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
540
592
 
541
593
 
542
- def doSetAutoRenew(args, parsed_globals):
594
+ def doUpgradeDBInstance(args, parsed_globals):
543
595
  g_param = parse_global_arg(parsed_globals)
544
596
 
545
597
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -568,11 +620,11 @@ def doSetAutoRenew(args, parsed_globals):
568
620
  client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
569
621
  client._sdkVersion += ("_CLI_" + __version__)
570
622
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
571
- model = models.SetAutoRenewRequest()
623
+ model = models.UpgradeDBInstanceRequest()
572
624
  model.from_json_string(json.dumps(args))
573
625
  start_time = time.time()
574
626
  while True:
575
- rsp = client.SetAutoRenew(model)
627
+ rsp = client.UpgradeDBInstance(model)
576
628
  result = rsp.to_json_string()
577
629
  try:
578
630
  json_obj = json.loads(result)
@@ -643,6 +695,58 @@ def doDescribeDBBackups(args, parsed_globals):
643
695
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
644
696
 
645
697
 
698
+ def doSetAutoRenew(args, parsed_globals):
699
+ g_param = parse_global_arg(parsed_globals)
700
+
701
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
702
+ cred = credential.CVMRoleCredential()
703
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
704
+ cred = credential.STSAssumeRoleCredential(
705
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
706
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
707
+ )
708
+ 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):
709
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
710
+ else:
711
+ cred = credential.Credential(
712
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
713
+ )
714
+ http_profile = HttpProfile(
715
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
716
+ reqMethod="POST",
717
+ endpoint=g_param[OptionsDefine.Endpoint],
718
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
719
+ )
720
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
721
+ if g_param[OptionsDefine.Language]:
722
+ profile.language = g_param[OptionsDefine.Language]
723
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
724
+ client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
725
+ client._sdkVersion += ("_CLI_" + __version__)
726
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
727
+ model = models.SetAutoRenewRequest()
728
+ model.from_json_string(json.dumps(args))
729
+ start_time = time.time()
730
+ while True:
731
+ rsp = client.SetAutoRenew(model)
732
+ result = rsp.to_json_string()
733
+ try:
734
+ json_obj = json.loads(result)
735
+ except TypeError as e:
736
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
737
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
738
+ break
739
+ cur_time = time.time()
740
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
741
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
742
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
743
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
744
+ else:
745
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
746
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
747
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
748
+
749
+
646
750
  def doIsolateDBInstance(args, parsed_globals):
647
751
  g_param = parse_global_arg(parsed_globals)
648
752
 
@@ -1007,6 +1111,58 @@ def doCreateAccountUser(args, parsed_globals):
1007
1111
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1008
1112
 
1009
1113
 
1114
+ def doModifyDBInstanceParamTpl(args, parsed_globals):
1115
+ g_param = parse_global_arg(parsed_globals)
1116
+
1117
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1118
+ cred = credential.CVMRoleCredential()
1119
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1120
+ cred = credential.STSAssumeRoleCredential(
1121
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1122
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1123
+ )
1124
+ 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):
1125
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1126
+ else:
1127
+ cred = credential.Credential(
1128
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1129
+ )
1130
+ http_profile = HttpProfile(
1131
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1132
+ reqMethod="POST",
1133
+ endpoint=g_param[OptionsDefine.Endpoint],
1134
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1135
+ )
1136
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1137
+ if g_param[OptionsDefine.Language]:
1138
+ profile.language = g_param[OptionsDefine.Language]
1139
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1140
+ client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
1141
+ client._sdkVersion += ("_CLI_" + __version__)
1142
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1143
+ model = models.ModifyDBInstanceParamTplRequest()
1144
+ model.from_json_string(json.dumps(args))
1145
+ start_time = time.time()
1146
+ while True:
1147
+ rsp = client.ModifyDBInstanceParamTpl(model)
1148
+ result = rsp.to_json_string()
1149
+ try:
1150
+ json_obj = json.loads(result)
1151
+ except TypeError as e:
1152
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1153
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1154
+ break
1155
+ cur_time = time.time()
1156
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1157
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1158
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1159
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1160
+ else:
1161
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1162
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1163
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1164
+
1165
+
1010
1166
  def doCreateDBInstanceHour(args, parsed_globals):
1011
1167
  g_param = parse_global_arg(parsed_globals)
1012
1168
 
@@ -1059,6 +1215,110 @@ def doCreateDBInstanceHour(args, parsed_globals):
1059
1215
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1060
1216
 
1061
1217
 
1218
+ def doCreateDBInstanceParamTpl(args, parsed_globals):
1219
+ g_param = parse_global_arg(parsed_globals)
1220
+
1221
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1222
+ cred = credential.CVMRoleCredential()
1223
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1224
+ cred = credential.STSAssumeRoleCredential(
1225
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1226
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1227
+ )
1228
+ 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):
1229
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1230
+ else:
1231
+ cred = credential.Credential(
1232
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1233
+ )
1234
+ http_profile = HttpProfile(
1235
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1236
+ reqMethod="POST",
1237
+ endpoint=g_param[OptionsDefine.Endpoint],
1238
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1239
+ )
1240
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1241
+ if g_param[OptionsDefine.Language]:
1242
+ profile.language = g_param[OptionsDefine.Language]
1243
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1244
+ client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
1245
+ client._sdkVersion += ("_CLI_" + __version__)
1246
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1247
+ model = models.CreateDBInstanceParamTplRequest()
1248
+ model.from_json_string(json.dumps(args))
1249
+ start_time = time.time()
1250
+ while True:
1251
+ rsp = client.CreateDBInstanceParamTpl(model)
1252
+ result = rsp.to_json_string()
1253
+ try:
1254
+ json_obj = json.loads(result)
1255
+ except TypeError as e:
1256
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1257
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1258
+ break
1259
+ cur_time = time.time()
1260
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1261
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1262
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1263
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1264
+ else:
1265
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1266
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1267
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1268
+
1269
+
1270
+ def doDropDBInstanceParamTpl(args, parsed_globals):
1271
+ g_param = parse_global_arg(parsed_globals)
1272
+
1273
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1274
+ cred = credential.CVMRoleCredential()
1275
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1276
+ cred = credential.STSAssumeRoleCredential(
1277
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1278
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1279
+ )
1280
+ 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):
1281
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1282
+ else:
1283
+ cred = credential.Credential(
1284
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1285
+ )
1286
+ http_profile = HttpProfile(
1287
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1288
+ reqMethod="POST",
1289
+ endpoint=g_param[OptionsDefine.Endpoint],
1290
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1291
+ )
1292
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1293
+ if g_param[OptionsDefine.Language]:
1294
+ profile.language = g_param[OptionsDefine.Language]
1295
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1296
+ client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
1297
+ client._sdkVersion += ("_CLI_" + __version__)
1298
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1299
+ model = models.DropDBInstanceParamTplRequest()
1300
+ model.from_json_string(json.dumps(args))
1301
+ start_time = time.time()
1302
+ while True:
1303
+ rsp = client.DropDBInstanceParamTpl(model)
1304
+ result = rsp.to_json_string()
1305
+ try:
1306
+ json_obj = json.loads(result)
1307
+ except TypeError as e:
1308
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1309
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1310
+ break
1311
+ cur_time = time.time()
1312
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1313
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1314
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1315
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1316
+ else:
1317
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1318
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1319
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1320
+
1321
+
1062
1322
  def doTerminateDBInstance(args, parsed_globals):
1063
1323
  g_param = parse_global_arg(parsed_globals)
1064
1324
 
@@ -2203,7 +2463,7 @@ def doModifyInstanceParams(args, parsed_globals):
2203
2463
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2204
2464
 
2205
2465
 
2206
- def doUpgradeDBInstance(args, parsed_globals):
2466
+ def doDescribeDBInstanceParamTplDetail(args, parsed_globals):
2207
2467
  g_param = parse_global_arg(parsed_globals)
2208
2468
 
2209
2469
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2232,11 +2492,11 @@ def doUpgradeDBInstance(args, parsed_globals):
2232
2492
  client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
2233
2493
  client._sdkVersion += ("_CLI_" + __version__)
2234
2494
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2235
- model = models.UpgradeDBInstanceRequest()
2495
+ model = models.DescribeDBInstanceParamTplDetailRequest()
2236
2496
  model.from_json_string(json.dumps(args))
2237
2497
  start_time = time.time()
2238
2498
  while True:
2239
- rsp = client.UpgradeDBInstance(model)
2499
+ rsp = client.DescribeDBInstanceParamTplDetail(model)
2240
2500
  result = rsp.to_json_string()
2241
2501
  try:
2242
2502
  json_obj = json.loads(result)
@@ -2582,6 +2842,7 @@ MODELS_MAP = {
2582
2842
  ACTION_MAP = {
2583
2843
  "TerminateDBInstances": doTerminateDBInstances,
2584
2844
  "DescribeDBInstanceNodeProperty": doDescribeDBInstanceNodeProperty,
2845
+ "DescribeDBInstanceParamTpl": doDescribeDBInstanceParamTpl,
2585
2846
  "DescribeDBInstanceDeal": doDescribeDBInstanceDeal,
2586
2847
  "DescribeCurrentOp": doDescribeCurrentOp,
2587
2848
  "DescribeClientConnections": doDescribeClientConnections,
@@ -2590,8 +2851,9 @@ ACTION_MAP = {
2590
2851
  "SetPassword": doSetPassword,
2591
2852
  "SetAccountUserPrivilege": doSetAccountUserPrivilege,
2592
2853
  "FlushInstanceRouterConfig": doFlushInstanceRouterConfig,
2593
- "SetAutoRenew": doSetAutoRenew,
2854
+ "UpgradeDBInstance": doUpgradeDBInstance,
2594
2855
  "DescribeDBBackups": doDescribeDBBackups,
2856
+ "SetAutoRenew": doSetAutoRenew,
2595
2857
  "IsolateDBInstance": doIsolateDBInstance,
2596
2858
  "SetBackupRules": doSetBackupRules,
2597
2859
  "InquirePriceModifyDBInstanceSpec": doInquirePriceModifyDBInstanceSpec,
@@ -2599,7 +2861,10 @@ ACTION_MAP = {
2599
2861
  "RenameInstance": doRenameInstance,
2600
2862
  "DescribeAsyncRequestInfo": doDescribeAsyncRequestInfo,
2601
2863
  "CreateAccountUser": doCreateAccountUser,
2864
+ "ModifyDBInstanceParamTpl": doModifyDBInstanceParamTpl,
2602
2865
  "CreateDBInstanceHour": doCreateDBInstanceHour,
2866
+ "CreateDBInstanceParamTpl": doCreateDBInstanceParamTpl,
2867
+ "DropDBInstanceParamTpl": doDropDBInstanceParamTpl,
2603
2868
  "TerminateDBInstance": doTerminateDBInstance,
2604
2869
  "RenewDBInstances": doRenewDBInstances,
2605
2870
  "CreateBackupDownloadTask": doCreateBackupDownloadTask,
@@ -2622,7 +2887,7 @@ ACTION_MAP = {
2622
2887
  "DescribeSlowLog": doDescribeSlowLog,
2623
2888
  "SetInstanceMaintenance": doSetInstanceMaintenance,
2624
2889
  "ModifyInstanceParams": doModifyInstanceParams,
2625
- "UpgradeDBInstance": doUpgradeDBInstance,
2890
+ "DescribeDBInstanceParamTplDetail": doDescribeDBInstanceParamTplDetail,
2626
2891
  "KillOps": doKillOps,
2627
2892
  "EnableTransparentDataEncryption": doEnableTransparentDataEncryption,
2628
2893
  "CreateBackupDBInstance": doCreateBackupDBInstance,