tccli 3.0.847.1__py2.py3-none-any.whl → 3.0.849.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/__init__.py +1 -0
- tccli/services/billing/v20180709/api.json +1 -9
- tccli/services/billing/v20180709/examples.json +1 -1
- tccli/services/bma/v20221115/api.json +9 -0
- tccli/services/bma/v20221115/examples.json +1 -1
- tccli/services/cdn/v20180606/api.json +0 -14
- tccli/services/cdn/v20180606/examples.json +2 -2
- tccli/services/cfs/v20190719/api.json +2 -2
- tccli/services/ckafka/ckafka_client.py +61 -8
- tccli/services/ckafka/v20190819/api.json +78 -15
- tccli/services/ckafka/v20190819/examples.json +11 -3
- tccli/services/cwp/cwp_client.py +61 -8
- tccli/services/cwp/v20180228/api.json +361 -117
- tccli/services/cwp/v20180228/examples.json +25 -17
- tccli/services/dcdb/v20180411/api.json +8 -50
- tccli/services/dcdb/v20180411/examples.json +3 -3
- tccli/services/dlc/v20210125/api.json +1 -1
- tccli/services/ess/v20201111/api.json +51 -2
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/live/v20180801/api.json +0 -4
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +8 -55
- tccli/services/mariadb/v20170312/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +5 -20
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/v20180724/api.json +2 -32
- tccli/services/ocr/v20181119/api.json +20 -1
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/region/v20220627/api.json +16 -6
- tccli/services/region/v20220627/examples.json +7 -7
- tccli/services/ssl/v20191205/api.json +18 -53
- tccli/services/ssl/v20191205/examples.json +6 -6
- tccli/services/tcb/v20180608/api.json +16 -137
- tccli/services/tcb/v20180608/examples.json +10 -10
- tccli/services/tcr/v20190924/api.json +4 -4
- tccli/services/tdmq/v20200217/api.json +0 -2
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/thpc/thpc_client.py +13 -8
- tccli/services/thpc/v20230321/api.json +2414 -0
- tccli/services/thpc/v20230321/examples.json +125 -0
- tccli/services/tiw/tiw_client.py +53 -0
- tccli/services/tiw/v20190919/api.json +216 -0
- tccli/services/tiw/v20190919/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +5 -17
- tccli/services/tse/v20201207/api.json +45 -2
- tccli/services/tts/v20190823/api.json +10 -21
- tccli/services/tts/v20190823/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +20 -12
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +6 -5
- tccli/services/vpc/v20170312/examples.json +2 -2
- {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/METADATA +2 -2
- {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/RECORD +58 -56
- {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/LICENSE +0 -0
- {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/top_level.txt +0 -0
@@ -50,9 +50,9 @@
|
|
50
50
|
],
|
51
51
|
"CreateCloudBaseRunServerVersion": [
|
52
52
|
{
|
53
|
-
"document": "",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"MaxNum\": 0,\n \"Branch\": \"
|
55
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
53
|
+
"document": "创建版本",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"UploadType\": \"abc\",\n \"RepositoryType\": \"abc\",\n \"FlowRatio\": 0,\n \"DockerfilePath\": \"abc\",\n \"BuildDir\": \"abc\",\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 0,\n \"MaxNum\": 0,\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0,\n \"EnvParams\": \"abc\",\n \"ContainerPort\": 0,\n \"ServerName\": \"abc\",\n \"Repository\": \"abc\",\n \"Branch\": \"abc\",\n \"VersionRemark\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"ImageInfo\": {\n \"RepositoryName\": \"abc\",\n \"IsPublic\": true,\n \"TagName\": \"abc\",\n \"ServerAddr\": \"abc\",\n \"ImageUrl\": \"abc\"\n },\n \"CodeDetail\": {\n \"Name\": {\n \"Name\": \"abc\",\n \"FullName\": \"abc\"\n },\n \"Url\": \"abc\"\n },\n \"ImageSecretInfo\": {\n \"RegistryServer\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Email\": \"abc\"\n },\n \"ImagePullSecret\": \"abc\",\n \"CustomLogs\": \"abc\",\n \"InitialDelaySeconds\": 0,\n \"MountVolumeInfo\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"NfsVolumes\": [\n {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n }\n ]\n }\n ],\n \"AccessType\": 0,\n \"EsInfo\": {\n \"Id\": 0,\n \"SecretName\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"Index\": \"abc\",\n \"Account\": \"abc\",\n \"Password\": \"abc\"\n },\n \"EnableUnion\": true,\n \"OperatorRemark\": \"abc\",\n \"ServerPath\": \"abc\",\n \"ImageReuseKey\": \"abc\",\n \"SidecarSpecs\": [\n {\n \"ContainerImage\": \"abc\",\n \"ContainerPort\": 0,\n \"ContainerName\": \"abc\",\n \"EnvVar\": \"abc\",\n \"InitialDelaySeconds\": 0,\n \"Cpu\": 0,\n \"Mem\": 0,\n \"Security\": {\n \"Capabilities\": {\n \"Add\": [\n \"abc\"\n ],\n \"Drop\": [\n \"abc\"\n ]\n }\n },\n \"VolumeMountInfos\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"NfsVolumes\": [\n {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n }\n ]\n }\n ]\n }\n ],\n \"Security\": {\n \"Capabilities\": {\n \"Add\": [\n \"abc\"\n ],\n \"Drop\": [\n \"abc\"\n ]\n }\n },\n \"ServiceVolumes\": [\n {\n \"Name\": \"abc\",\n \"NFS\": {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n },\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true,\n \"EmptyDir\": {\n \"EnableEmptyDirVolume\": true,\n \"Medium\": \"abc\",\n \"SizeLimit\": \"abc\"\n },\n \"HostPath\": {}\n }\n ],\n \"IsCreateJnsGw\": 0,\n \"ServiceVolumeMounts\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"SubPath\": \"abc\",\n \"MountPropagation\": \"abc\"\n }\n ],\n \"HasDockerfile\": 0,\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"UploadFilename\": \"abc\",\n \"PolicyDetail\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0\n }\n ]\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"Result\": \"abc\",\n \"VersionName\": \"abc\",\n \"RunId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
56
56
|
"title": "示例"
|
57
57
|
}
|
58
58
|
],
|
@@ -66,7 +66,7 @@
|
|
66
66
|
],
|
67
67
|
"CreatePostpayPackage": [
|
68
68
|
{
|
69
|
-
"document": "",
|
69
|
+
"document": "开通后付费资源",
|
70
70
|
"input": "https://tcb.tencentcloudapi.com/?Action=CreatePostpayPackage\n&EnvId=cdnheader-v2a\n&FreeQuota=basic\n&<公共请求参数>",
|
71
71
|
"output": "{\n \"Response\": {\n \"EnvId\": \"cdnheader-v2a\",\n \"RequestId\": \"52537e93-2a50-4269-a638-e03e6bb6426e\",\n \"TranId\": \"20200603119423\"\n }\n}",
|
72
72
|
"title": "开通后付费资源"
|
@@ -278,9 +278,9 @@
|
|
278
278
|
],
|
279
279
|
"DescribeCloudBaseRunServerVersion": [
|
280
280
|
{
|
281
|
-
"document": "",
|
282
|
-
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"
|
283
|
-
"output": "{\n \"Response\": {\n \"
|
281
|
+
"document": "查询版本信息",
|
282
|
+
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"VersionName\": \"abc\"\n}",
|
283
|
+
"output": "{\n \"Response\": {\n \"VersionName\": \"abc\",\n \"Remark\": \"abc\",\n \"DockerfilePath\": \"abc\",\n \"BuildDir\": \"abc\",\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 0,\n \"MaxNum\": 0,\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0,\n \"EnvParams\": \"abc\",\n \"CreatedTime\": \"abc\",\n \"UpdatedTime\": \"abc\",\n \"VersionIP\": \"abc\",\n \"VersionPort\": 0,\n \"Status\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"UploadType\": \"abc\",\n \"RepoType\": \"abc\",\n \"Repo\": \"abc\",\n \"Branch\": \"abc\",\n \"ServerName\": \"abc\",\n \"IsPublic\": true,\n \"VpcId\": \"abc\",\n \"SubnetIds\": [\n \"abc\"\n ],\n \"CustomLogs\": \"abc\",\n \"ContainerPort\": 0,\n \"InitialDelaySeconds\": 0,\n \"ImageUrl\": \"abc\",\n \"CpuSize\": 0,\n \"MemSize\": 0,\n \"HasDockerfile\": 0,\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"PolicyDetail\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0\n }\n ],\n \"TkeClusterInfo\": {\n \"ClusterId\": \"abc\",\n \"VpcId\": \"abc\",\n \"VersionClbSubnetId\": \"abc\"\n },\n \"TkeWorkloadType\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
284
284
|
"title": "示例"
|
285
285
|
}
|
286
286
|
],
|
@@ -622,9 +622,9 @@
|
|
622
622
|
],
|
623
623
|
"RollUpdateCloudBaseRunServerVersion": [
|
624
624
|
{
|
625
|
-
"document": "",
|
626
|
-
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollUpdateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"
|
627
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
625
|
+
"document": "滚动更新",
|
626
|
+
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollUpdateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"VersionName\": \"abc\",\n \"UploadType\": \"abc\",\n \"RepositoryType\": \"abc\",\n \"FlowRatio\": 0,\n \"DockerfilePath\": \"abc\",\n \"BuildDir\": \"abc\",\n \"Cpu\": \"abc\",\n \"Mem\": \"abc\",\n \"MinNum\": \"abc\",\n \"MaxNum\": \"abc\",\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": \"abc\",\n \"EnvParams\": \"abc\",\n \"ContainerPort\": 0,\n \"ServerName\": \"abc\",\n \"Repository\": \"abc\",\n \"Branch\": \"abc\",\n \"VersionRemark\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"ImageInfo\": {\n \"RepositoryName\": \"abc\",\n \"IsPublic\": true,\n \"TagName\": \"abc\",\n \"ServerAddr\": \"abc\",\n \"ImageUrl\": \"abc\"\n },\n \"CodeDetail\": {\n \"Name\": {\n \"Name\": \"abc\",\n \"FullName\": \"abc\"\n },\n \"Url\": \"abc\"\n },\n \"IsRebuild\": true,\n \"InitialDelaySeconds\": 0,\n \"MountVolumeInfo\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"NfsVolumes\": [\n {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n }\n ]\n }\n ],\n \"Rollback\": true,\n \"SnapshotName\": \"abc\",\n \"CustomLogs\": \"abc\",\n \"EnableUnion\": true,\n \"OperatorRemark\": \"abc\",\n \"ServerPath\": \"abc\",\n \"IsUpdateCls\": true,\n \"PolicyDetail\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0\n }\n ]\n}",
|
627
|
+
"output": "{\n \"Response\": {\n \"Result\": \"abc\",\n \"VersionName\": \"abc\",\n \"RunId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
628
628
|
"title": "示例"
|
629
629
|
}
|
630
630
|
],
|
@@ -43,11 +43,11 @@
|
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
45
|
"CreateImageLifecyclePersonal": {
|
46
|
-
"document": "用于在个人版中创建清理策略",
|
46
|
+
"document": "前端与现有逻辑均不再使用,可下线\n\n用于在个人版中创建清理策略",
|
47
47
|
"input": "CreateImageLifecyclePersonalRequest",
|
48
48
|
"name": "创建个人版镜像版本清理策略",
|
49
49
|
"output": "CreateImageLifecyclePersonalResponse",
|
50
|
-
"status": "
|
50
|
+
"status": "deprecated"
|
51
51
|
},
|
52
52
|
"CreateImmutableTagRules": {
|
53
53
|
"document": "创建镜像不可变规则",
|
@@ -204,11 +204,11 @@
|
|
204
204
|
"status": "online"
|
205
205
|
},
|
206
206
|
"DeleteImageLifecyclePersonal": {
|
207
|
-
"document": "用于在个人版镜像仓库中删除仓库Tag自动清理策略",
|
207
|
+
"document": "前端与后端目前现有逻辑均不再使用,可下线\n\n用于在个人版镜像仓库中删除仓库Tag自动清理策略",
|
208
208
|
"input": "DeleteImageLifecyclePersonalRequest",
|
209
209
|
"name": "删除个人版镜像仓库Tag自动清理策略",
|
210
210
|
"output": "DeleteImageLifecyclePersonalResponse",
|
211
|
-
"status": "
|
211
|
+
"status": "deprecated"
|
212
212
|
},
|
213
213
|
"DeleteImagePersonal": {
|
214
214
|
"document": "用于在个人版中删除tag",
|
@@ -6000,7 +6000,6 @@
|
|
6000
6000
|
"document": "DescribeCmqQueueDetail请求参数结构体",
|
6001
6001
|
"members": [
|
6002
6002
|
{
|
6003
|
-
"default": "",
|
6004
6003
|
"document": "精确匹配QueueName",
|
6005
6004
|
"example": "xxx",
|
6006
6005
|
"member": "string",
|
@@ -6019,7 +6018,6 @@
|
|
6019
6018
|
"example": "无",
|
6020
6019
|
"member": "CmqQueue",
|
6021
6020
|
"name": "QueueDescribe",
|
6022
|
-
"required": true,
|
6023
6021
|
"type": "object",
|
6024
6022
|
"value_allowed_null": false
|
6025
6023
|
},
|
@@ -438,9 +438,9 @@
|
|
438
438
|
],
|
439
439
|
"DescribeCmqQueueDetail": [
|
440
440
|
{
|
441
|
-
"document": "",
|
441
|
+
"document": "获取队列详情",
|
442
442
|
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeCmqQueueDetail\n&QueueName=cmq-xxx\n&<公共请求参数>",
|
443
|
-
"output": "{\n \"Response\": {\n \"QueueDescribe\": {\n \"QueueId\": \"
|
443
|
+
"output": "{\n \"Response\": {\n \"QueueDescribe\": {\n \"QueueId\": \"abc\",\n \"QueueName\": \"abc\",\n \"Qps\": 1,\n \"Bps\": 1,\n \"MaxDelaySeconds\": 1,\n \"MaxMsgHeapNum\": 1,\n \"PollingWaitSeconds\": 1,\n \"MsgRetentionSeconds\": 1,\n \"VisibilityTimeout\": 1,\n \"MaxMsgSize\": 1,\n \"RewindSeconds\": 1,\n \"CreateTime\": 1,\n \"LastModifyTime\": 1,\n \"ActiveMsgNum\": 1,\n \"InactiveMsgNum\": 1,\n \"DelayMsgNum\": 1,\n \"RewindMsgNum\": 1,\n \"MinMsgTime\": 1,\n \"Transaction\": true,\n \"DeadLetterSource\": [\n {\n \"QueueId\": \"abc\",\n \"QueueName\": \"abc\"\n }\n ],\n \"DeadLetterPolicy\": {\n \"DeadLetterQueue\": \"abc\",\n \"Policy\": 1,\n \"MaxTimeToLive\": 1,\n \"MaxReceiveCount\": 1\n },\n \"TransactionPolicy\": {\n \"FirstQueryInterval\": 1,\n \"MaxQueryCount\": 1\n },\n \"CreateUin\": 1,\n \"Tags\": null,\n \"Trace\": true,\n \"TenantId\": \"abc\",\n \"NamespaceName\": \"abc\",\n \"Status\": 0,\n \"MaxUnackedMsgNum\": 0,\n \"MaxMsgBacklogSize\": 0,\n \"RetentionSizeInMB\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
|
444
444
|
"title": "获取cmq队列详情"
|
445
445
|
}
|
446
446
|
],
|
@@ -11,6 +11,8 @@ from tccli.exceptions import ConfigurationError, ClientError, ParamError
|
|
11
11
|
from tencentcloud.common import credential
|
12
12
|
from tencentcloud.common.profile.http_profile import HttpProfile
|
13
13
|
from tencentcloud.common.profile.client_profile import ClientProfile
|
14
|
+
from tencentcloud.thpc.v20230321 import thpc_client as thpc_client_v20230321
|
15
|
+
from tencentcloud.thpc.v20230321 import models as models_v20230321
|
14
16
|
from tencentcloud.thpc.v20220401 import thpc_client as thpc_client_v20220401
|
15
17
|
from tencentcloud.thpc.v20220401 import models as models_v20220401
|
16
18
|
from tencentcloud.thpc.v20211109 import thpc_client as thpc_client_v20211109
|
@@ -487,7 +489,7 @@ def doDeleteQueue(args, parsed_globals):
|
|
487
489
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
488
490
|
|
489
491
|
|
490
|
-
def
|
492
|
+
def doDescribeQueues(args, parsed_globals):
|
491
493
|
g_param = parse_global_arg(parsed_globals)
|
492
494
|
|
493
495
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -516,11 +518,11 @@ def doDescribeAutoScalingConfiguration(args, parsed_globals):
|
|
516
518
|
client = mod.ThpcClient(cred, g_param[OptionsDefine.Region], profile)
|
517
519
|
client._sdkVersion += ("_CLI_" + __version__)
|
518
520
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
519
|
-
model = models.
|
521
|
+
model = models.DescribeQueuesRequest()
|
520
522
|
model.from_json_string(json.dumps(args))
|
521
523
|
start_time = time.time()
|
522
524
|
while True:
|
523
|
-
rsp = client.
|
525
|
+
rsp = client.DescribeQueues(model)
|
524
526
|
result = rsp.to_json_string()
|
525
527
|
try:
|
526
528
|
json_obj = json.loads(result)
|
@@ -591,7 +593,7 @@ def doAddNodes(args, parsed_globals):
|
|
591
593
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
592
594
|
|
593
595
|
|
594
|
-
def
|
596
|
+
def doDescribeAutoScalingConfiguration(args, parsed_globals):
|
595
597
|
g_param = parse_global_arg(parsed_globals)
|
596
598
|
|
597
599
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -620,11 +622,11 @@ def doDescribeQueues(args, parsed_globals):
|
|
620
622
|
client = mod.ThpcClient(cred, g_param[OptionsDefine.Region], profile)
|
621
623
|
client._sdkVersion += ("_CLI_" + __version__)
|
622
624
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
623
|
-
model = models.
|
625
|
+
model = models.DescribeAutoScalingConfigurationRequest()
|
624
626
|
model.from_json_string(json.dumps(args))
|
625
627
|
start_time = time.time()
|
626
628
|
while True:
|
627
|
-
rsp = client.
|
629
|
+
rsp = client.DescribeAutoScalingConfiguration(model)
|
628
630
|
result = rsp.to_json_string()
|
629
631
|
try:
|
630
632
|
json_obj = json.loads(result)
|
@@ -852,12 +854,14 @@ def doDeleteCluster(args, parsed_globals):
|
|
852
854
|
|
853
855
|
|
854
856
|
CLIENT_MAP = {
|
857
|
+
"v20230321": thpc_client_v20230321,
|
855
858
|
"v20220401": thpc_client_v20220401,
|
856
859
|
"v20211109": thpc_client_v20211109,
|
857
860
|
|
858
861
|
}
|
859
862
|
|
860
863
|
MODELS_MAP = {
|
864
|
+
"v20230321": models_v20230321,
|
861
865
|
"v20220401": models_v20220401,
|
862
866
|
"v20211109": models_v20211109,
|
863
867
|
|
@@ -873,9 +877,9 @@ ACTION_MAP = {
|
|
873
877
|
"AddQueue": doAddQueue,
|
874
878
|
"DescribeNodes": doDescribeNodes,
|
875
879
|
"DeleteQueue": doDeleteQueue,
|
876
|
-
"DescribeAutoScalingConfiguration": doDescribeAutoScalingConfiguration,
|
877
|
-
"AddNodes": doAddNodes,
|
878
880
|
"DescribeQueues": doDescribeQueues,
|
881
|
+
"AddNodes": doAddNodes,
|
882
|
+
"DescribeAutoScalingConfiguration": doDescribeAutoScalingConfiguration,
|
879
883
|
"DescribeClusters": doDescribeClusters,
|
880
884
|
"AddClusterStorageOption": doAddClusterStorageOption,
|
881
885
|
"DescribeClusterActivities": doDescribeClusterActivities,
|
@@ -884,6 +888,7 @@ ACTION_MAP = {
|
|
884
888
|
}
|
885
889
|
|
886
890
|
AVAILABLE_VERSION_LIST = [
|
891
|
+
"v20230321",
|
887
892
|
"v20220401",
|
888
893
|
"v20211109",
|
889
894
|
|