tccli 3.0.1229.1__py2.py3-none-any.whl → 3.0.1231.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 (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +110 -4
  3. tccli/services/aiart/v20221229/api.json +197 -10
  4. tccli/services/aiart/v20221229/examples.json +16 -0
  5. tccli/services/batch/v20170312/api.json +19 -14
  6. tccli/services/cam/cam_client.py +53 -0
  7. tccli/services/cam/v20190116/api.json +125 -52
  8. tccli/services/cam/v20190116/examples.json +12 -4
  9. tccli/services/cfg/v20210820/api.json +9 -0
  10. tccli/services/cfw/v20190904/api.json +1 -1
  11. tccli/services/cloudaudit/v20190319/api.json +39 -39
  12. tccli/services/cloudaudit/v20190319/examples.json +5 -5
  13. tccli/services/cvm/v20170312/api.json +53 -55
  14. tccli/services/cvm/v20170312/examples.json +3 -3
  15. tccli/services/cwp/v20180228/api.json +1 -1
  16. tccli/services/cynosdb/cynosdb_client.py +110 -57
  17. tccli/services/cynosdb/v20190107/api.json +166 -18
  18. tccli/services/cynosdb/v20190107/examples.json +14 -0
  19. tccli/services/dbbrain/v20210527/api.json +3 -1
  20. tccli/services/emr/emr_client.py +110 -4
  21. tccli/services/emr/v20190103/api.json +645 -0
  22. tccli/services/emr/v20190103/examples.json +16 -0
  23. tccli/services/es/v20180416/api.json +106 -8
  24. tccli/services/essbasic/v20210526/api.json +2 -2
  25. tccli/services/iotexplorer/v20190423/api.json +10 -0
  26. tccli/services/ivld/v20210903/api.json +25 -25
  27. tccli/services/ivld/v20210903/examples.json +1 -1
  28. tccli/services/lcic/v20220817/api.json +2 -2
  29. tccli/services/lke/v20231130/api.json +4 -4
  30. tccli/services/memcached/v20190318/api.json +20 -20
  31. tccli/services/mps/v20190612/api.json +65 -1
  32. tccli/services/mqtt/mqtt_client.py +283 -71
  33. tccli/services/mqtt/v20240516/api.json +312 -0
  34. tccli/services/mqtt/v20240516/examples.json +32 -0
  35. tccli/services/ocr/v20181119/api.json +251 -28
  36. tccli/services/ocr/v20181119/examples.json +1 -1
  37. tccli/services/postgres/v20170312/api.json +232 -228
  38. tccli/services/postgres/v20170312/examples.json +38 -38
  39. tccli/services/redis/v20180412/examples.json +2 -2
  40. tccli/services/ssl/v20191205/api.json +4 -4
  41. tccli/services/ssl/v20191205/examples.json +1 -1
  42. tccli/services/sts/v20180813/api.json +9 -9
  43. tccli/services/tdmq/v20200217/api.json +2 -2
  44. tccli/services/trtc/v20190722/api.json +4 -8
  45. tccli/services/tse/tse_client.py +228 -16
  46. tccli/services/tse/v20201207/api.json +476 -0
  47. tccli/services/tse/v20201207/examples.json +32 -0
  48. tccli/services/vclm/v20240523/api.json +3 -3
  49. tccli/services/vdb/v20230616/api.json +3 -3
  50. tccli/services/vdb/v20230616/examples.json +1 -1
  51. tccli/services/vod/v20180717/api.json +17 -17
  52. tccli/services/vpc/v20170312/api.json +510 -34
  53. tccli/services/vpc/v20170312/examples.json +68 -12
  54. tccli/services/vpc/vpc_client.py +475 -104
  55. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/RECORD +59 -59
  57. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1229.1.dist-info → tccli-3.0.1231.1.dist-info}/license_files/LICENSE +0 -0
@@ -381,6 +381,58 @@ def doModifyAddressInternetChargeType(args, parsed_globals):
381
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
382
 
383
383
 
384
+ def doModifyIPv6AddressesAttributes(args, parsed_globals):
385
+ g_param = parse_global_arg(parsed_globals)
386
+
387
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
388
+ cred = credential.CVMRoleCredential()
389
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
390
+ cred = credential.STSAssumeRoleCredential(
391
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
392
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
393
+ )
394
+ 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):
395
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
396
+ else:
397
+ cred = credential.Credential(
398
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
399
+ )
400
+ http_profile = HttpProfile(
401
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
402
+ reqMethod="POST",
403
+ endpoint=g_param[OptionsDefine.Endpoint],
404
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
405
+ )
406
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
407
+ if g_param[OptionsDefine.Language]:
408
+ profile.language = g_param[OptionsDefine.Language]
409
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
410
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
411
+ client._sdkVersion += ("_CLI_" + __version__)
412
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
+ model = models.ModifyIPv6AddressesAttributesRequest()
414
+ model.from_json_string(json.dumps(args))
415
+ start_time = time.time()
416
+ while True:
417
+ rsp = client.ModifyIPv6AddressesAttributes(model)
418
+ result = rsp.to_json_string()
419
+ try:
420
+ json_obj = json.loads(result)
421
+ except TypeError as e:
422
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
423
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
424
+ break
425
+ cur_time = time.time()
426
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
427
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
428
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
429
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
430
+ else:
431
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
432
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
433
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
+
435
+
384
436
  def doCreatePrivateNatGateway(args, parsed_globals):
385
437
  g_param = parse_global_arg(parsed_globals)
386
438
 
@@ -4333,7 +4385,7 @@ def doCreateReserveIpAddresses(args, parsed_globals):
4333
4385
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4334
4386
 
4335
4387
 
4336
- def doRefreshDirectConnectGatewayRouteToNatGateway(args, parsed_globals):
4388
+ def doDescribeCrossBorderCcnRegionBandwidthLimits(args, parsed_globals):
4337
4389
  g_param = parse_global_arg(parsed_globals)
4338
4390
 
4339
4391
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4362,11 +4414,11 @@ def doRefreshDirectConnectGatewayRouteToNatGateway(args, parsed_globals):
4362
4414
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
4363
4415
  client._sdkVersion += ("_CLI_" + __version__)
4364
4416
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4365
- model = models.RefreshDirectConnectGatewayRouteToNatGatewayRequest()
4417
+ model = models.DescribeCrossBorderCcnRegionBandwidthLimitsRequest()
4366
4418
  model.from_json_string(json.dumps(args))
4367
4419
  start_time = time.time()
4368
4420
  while True:
4369
- rsp = client.RefreshDirectConnectGatewayRouteToNatGateway(model)
4421
+ rsp = client.DescribeCrossBorderCcnRegionBandwidthLimits(model)
4370
4422
  result = rsp.to_json_string()
4371
4423
  try:
4372
4424
  json_obj = json.loads(result)
@@ -5789,6 +5841,58 @@ def doUnassignIpv6Addresses(args, parsed_globals):
5789
5841
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5790
5842
 
5791
5843
 
5844
+ def doAssociateIPv6Address(args, parsed_globals):
5845
+ g_param = parse_global_arg(parsed_globals)
5846
+
5847
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5848
+ cred = credential.CVMRoleCredential()
5849
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5850
+ cred = credential.STSAssumeRoleCredential(
5851
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5852
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5853
+ )
5854
+ 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):
5855
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5856
+ else:
5857
+ cred = credential.Credential(
5858
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5859
+ )
5860
+ http_profile = HttpProfile(
5861
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5862
+ reqMethod="POST",
5863
+ endpoint=g_param[OptionsDefine.Endpoint],
5864
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5865
+ )
5866
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5867
+ if g_param[OptionsDefine.Language]:
5868
+ profile.language = g_param[OptionsDefine.Language]
5869
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5870
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
5871
+ client._sdkVersion += ("_CLI_" + __version__)
5872
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5873
+ model = models.AssociateIPv6AddressRequest()
5874
+ model.from_json_string(json.dumps(args))
5875
+ start_time = time.time()
5876
+ while True:
5877
+ rsp = client.AssociateIPv6Address(model)
5878
+ result = rsp.to_json_string()
5879
+ try:
5880
+ json_obj = json.loads(result)
5881
+ except TypeError as e:
5882
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5883
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5884
+ break
5885
+ cur_time = time.time()
5886
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5887
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5888
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5889
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5890
+ else:
5891
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5892
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5893
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5894
+
5895
+
5792
5896
  def doDeleteAddressTemplateGroup(args, parsed_globals):
5793
5897
  g_param = parse_global_arg(parsed_globals)
5794
5898
 
@@ -6153,7 +6257,7 @@ def doModifyVpnGatewayRoutes(args, parsed_globals):
6153
6257
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6154
6258
 
6155
6259
 
6156
- def doDescribeVpcEndPointService(args, parsed_globals):
6260
+ def doModifyIPv6AddressesBandwidth(args, parsed_globals):
6157
6261
  g_param = parse_global_arg(parsed_globals)
6158
6262
 
6159
6263
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -6182,11 +6286,11 @@ def doDescribeVpcEndPointService(args, parsed_globals):
6182
6286
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
6183
6287
  client._sdkVersion += ("_CLI_" + __version__)
6184
6288
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
6185
- model = models.DescribeVpcEndPointServiceRequest()
6289
+ model = models.ModifyIPv6AddressesBandwidthRequest()
6186
6290
  model.from_json_string(json.dumps(args))
6187
6291
  start_time = time.time()
6188
6292
  while True:
6189
- rsp = client.DescribeVpcEndPointService(model)
6293
+ rsp = client.ModifyIPv6AddressesBandwidth(model)
6190
6294
  result = rsp.to_json_string()
6191
6295
  try:
6192
6296
  json_obj = json.loads(result)
@@ -6205,7 +6309,7 @@ def doDescribeVpcEndPointService(args, parsed_globals):
6205
6309
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6206
6310
 
6207
6311
 
6208
- def doDescribeCrossBorderCcnRegionBandwidthLimits(args, parsed_globals):
6312
+ def doRefreshDirectConnectGatewayRouteToNatGateway(args, parsed_globals):
6209
6313
  g_param = parse_global_arg(parsed_globals)
6210
6314
 
6211
6315
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -6234,11 +6338,11 @@ def doDescribeCrossBorderCcnRegionBandwidthLimits(args, parsed_globals):
6234
6338
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
6235
6339
  client._sdkVersion += ("_CLI_" + __version__)
6236
6340
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
6237
- model = models.DescribeCrossBorderCcnRegionBandwidthLimitsRequest()
6341
+ model = models.RefreshDirectConnectGatewayRouteToNatGatewayRequest()
6238
6342
  model.from_json_string(json.dumps(args))
6239
6343
  start_time = time.time()
6240
6344
  while True:
6241
- rsp = client.DescribeCrossBorderCcnRegionBandwidthLimits(model)
6345
+ rsp = client.RefreshDirectConnectGatewayRouteToNatGateway(model)
6242
6346
  result = rsp.to_json_string()
6243
6347
  try:
6244
6348
  json_obj = json.loads(result)
@@ -9273,7 +9377,7 @@ def doCreateNetDetect(args, parsed_globals):
9273
9377
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9274
9378
 
9275
9379
 
9276
- def doCreateSnapshotPolicies(args, parsed_globals):
9380
+ def doReleaseIPv6Addresses(args, parsed_globals):
9277
9381
  g_param = parse_global_arg(parsed_globals)
9278
9382
 
9279
9383
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -9302,11 +9406,11 @@ def doCreateSnapshotPolicies(args, parsed_globals):
9302
9406
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
9303
9407
  client._sdkVersion += ("_CLI_" + __version__)
9304
9408
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
9305
- model = models.CreateSnapshotPoliciesRequest()
9409
+ model = models.ReleaseIPv6AddressesRequest()
9306
9410
  model.from_json_string(json.dumps(args))
9307
9411
  start_time = time.time()
9308
9412
  while True:
9309
- rsp = client.CreateSnapshotPolicies(model)
9413
+ rsp = client.ReleaseIPv6Addresses(model)
9310
9414
  result = rsp.to_json_string()
9311
9415
  try:
9312
9416
  json_obj = json.loads(result)
@@ -9637,7 +9741,7 @@ def doReleaseIp6AddressesBandwidth(args, parsed_globals):
9637
9741
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9638
9742
 
9639
9743
 
9640
- def doCreatePrivateNatGatewayTranslationAclRule(args, parsed_globals):
9744
+ def doModifyCcnAttribute(args, parsed_globals):
9641
9745
  g_param = parse_global_arg(parsed_globals)
9642
9746
 
9643
9747
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -9666,11 +9770,11 @@ def doCreatePrivateNatGatewayTranslationAclRule(args, parsed_globals):
9666
9770
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
9667
9771
  client._sdkVersion += ("_CLI_" + __version__)
9668
9772
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
9669
- model = models.CreatePrivateNatGatewayTranslationAclRuleRequest()
9773
+ model = models.ModifyCcnAttributeRequest()
9670
9774
  model.from_json_string(json.dumps(args))
9671
9775
  start_time = time.time()
9672
9776
  while True:
9673
- rsp = client.CreatePrivateNatGatewayTranslationAclRule(model)
9777
+ rsp = client.ModifyCcnAttribute(model)
9674
9778
  result = rsp.to_json_string()
9675
9779
  try:
9676
9780
  json_obj = json.loads(result)
@@ -9689,7 +9793,7 @@ def doCreatePrivateNatGatewayTranslationAclRule(args, parsed_globals):
9689
9793
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9690
9794
 
9691
9795
 
9692
- def doDescribeSecurityGroupReferences(args, parsed_globals):
9796
+ def doInquirePriceCreateDirectConnectGateway(args, parsed_globals):
9693
9797
  g_param = parse_global_arg(parsed_globals)
9694
9798
 
9695
9799
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -9718,11 +9822,11 @@ def doDescribeSecurityGroupReferences(args, parsed_globals):
9718
9822
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
9719
9823
  client._sdkVersion += ("_CLI_" + __version__)
9720
9824
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
9721
- model = models.DescribeSecurityGroupReferencesRequest()
9825
+ model = models.InquirePriceCreateDirectConnectGatewayRequest()
9722
9826
  model.from_json_string(json.dumps(args))
9723
9827
  start_time = time.time()
9724
9828
  while True:
9725
- rsp = client.DescribeSecurityGroupReferences(model)
9829
+ rsp = client.InquirePriceCreateDirectConnectGateway(model)
9726
9830
  result = rsp.to_json_string()
9727
9831
  try:
9728
9832
  json_obj = json.loads(result)
@@ -12237,6 +12341,58 @@ def doDeleteNatGatewaySourceIpTranslationNatRule(args, parsed_globals):
12237
12341
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
12238
12342
 
12239
12343
 
12344
+ def doDisassociateIPv6Address(args, parsed_globals):
12345
+ g_param = parse_global_arg(parsed_globals)
12346
+
12347
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
12348
+ cred = credential.CVMRoleCredential()
12349
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
12350
+ cred = credential.STSAssumeRoleCredential(
12351
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
12352
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
12353
+ )
12354
+ 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):
12355
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
12356
+ else:
12357
+ cred = credential.Credential(
12358
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
12359
+ )
12360
+ http_profile = HttpProfile(
12361
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
12362
+ reqMethod="POST",
12363
+ endpoint=g_param[OptionsDefine.Endpoint],
12364
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
12365
+ )
12366
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
12367
+ if g_param[OptionsDefine.Language]:
12368
+ profile.language = g_param[OptionsDefine.Language]
12369
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
12370
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
12371
+ client._sdkVersion += ("_CLI_" + __version__)
12372
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
12373
+ model = models.DisassociateIPv6AddressRequest()
12374
+ model.from_json_string(json.dumps(args))
12375
+ start_time = time.time()
12376
+ while True:
12377
+ rsp = client.DisassociateIPv6Address(model)
12378
+ result = rsp.to_json_string()
12379
+ try:
12380
+ json_obj = json.loads(result)
12381
+ except TypeError as e:
12382
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
12383
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
12384
+ break
12385
+ cur_time = time.time()
12386
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
12387
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
12388
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
12389
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
12390
+ else:
12391
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
12392
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
12393
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
12394
+
12395
+
12240
12396
  def doModifyNatGatewaySourceIpTranslationNatRule(args, parsed_globals):
12241
12397
  g_param = parse_global_arg(parsed_globals)
12242
12398
 
@@ -13589,58 +13745,6 @@ def doModifyNatGatewayDestinationIpPortTranslationNatRule(args, parsed_globals):
13589
13745
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
13590
13746
 
13591
13747
 
13592
- def doDisableVpnGatewaySslClientCert(args, parsed_globals):
13593
- g_param = parse_global_arg(parsed_globals)
13594
-
13595
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
13596
- cred = credential.CVMRoleCredential()
13597
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
13598
- cred = credential.STSAssumeRoleCredential(
13599
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
13600
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
13601
- )
13602
- 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):
13603
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
13604
- else:
13605
- cred = credential.Credential(
13606
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
13607
- )
13608
- http_profile = HttpProfile(
13609
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
13610
- reqMethod="POST",
13611
- endpoint=g_param[OptionsDefine.Endpoint],
13612
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
13613
- )
13614
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
13615
- if g_param[OptionsDefine.Language]:
13616
- profile.language = g_param[OptionsDefine.Language]
13617
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
13618
- client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
13619
- client._sdkVersion += ("_CLI_" + __version__)
13620
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
13621
- model = models.DisableVpnGatewaySslClientCertRequest()
13622
- model.from_json_string(json.dumps(args))
13623
- start_time = time.time()
13624
- while True:
13625
- rsp = client.DisableVpnGatewaySslClientCert(model)
13626
- result = rsp.to_json_string()
13627
- try:
13628
- json_obj = json.loads(result)
13629
- except TypeError as e:
13630
- json_obj = json.loads(result.decode('utf-8')) # python3.3
13631
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
13632
- break
13633
- cur_time = time.time()
13634
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
13635
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
13636
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
13637
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
13638
- else:
13639
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
13640
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
13641
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
13642
-
13643
-
13644
13748
  def doDescribeHaVips(args, parsed_globals):
13645
13749
  g_param = parse_global_arg(parsed_globals)
13646
13750
 
@@ -14473,7 +14577,7 @@ def doDescribeTrafficQosPolicy(args, parsed_globals):
14473
14577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
14474
14578
 
14475
14579
 
14476
- def doCreateFlowLog(args, parsed_globals):
14580
+ def doDescribeIPv6Addresses(args, parsed_globals):
14477
14581
  g_param = parse_global_arg(parsed_globals)
14478
14582
 
14479
14583
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -14502,11 +14606,11 @@ def doCreateFlowLog(args, parsed_globals):
14502
14606
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
14503
14607
  client._sdkVersion += ("_CLI_" + __version__)
14504
14608
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
14505
- model = models.CreateFlowLogRequest()
14609
+ model = models.DescribeIPv6AddressesRequest()
14506
14610
  model.from_json_string(json.dumps(args))
14507
14611
  start_time = time.time()
14508
14612
  while True:
14509
- rsp = client.CreateFlowLog(model)
14613
+ rsp = client.DescribeIPv6Addresses(model)
14510
14614
  result = rsp.to_json_string()
14511
14615
  try:
14512
14616
  json_obj = json.loads(result)
@@ -14525,7 +14629,7 @@ def doCreateFlowLog(args, parsed_globals):
14525
14629
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
14526
14630
 
14527
14631
 
14528
- def doCreateRouteTable(args, parsed_globals):
14632
+ def doCreateFlowLog(args, parsed_globals):
14529
14633
  g_param = parse_global_arg(parsed_globals)
14530
14634
 
14531
14635
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -14554,11 +14658,11 @@ def doCreateRouteTable(args, parsed_globals):
14554
14658
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
14555
14659
  client._sdkVersion += ("_CLI_" + __version__)
14556
14660
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
14557
- model = models.CreateRouteTableRequest()
14661
+ model = models.CreateFlowLogRequest()
14558
14662
  model.from_json_string(json.dumps(args))
14559
14663
  start_time = time.time()
14560
14664
  while True:
14561
- rsp = client.CreateRouteTable(model)
14665
+ rsp = client.CreateFlowLog(model)
14562
14666
  result = rsp.to_json_string()
14563
14667
  try:
14564
14668
  json_obj = json.loads(result)
@@ -14577,7 +14681,7 @@ def doCreateRouteTable(args, parsed_globals):
14577
14681
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
14578
14682
 
14579
14683
 
14580
- def doModifyPrivateNatGatewayAttribute(args, parsed_globals):
14684
+ def doCreateRouteTable(args, parsed_globals):
14581
14685
  g_param = parse_global_arg(parsed_globals)
14582
14686
 
14583
14687
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -14606,11 +14710,11 @@ def doModifyPrivateNatGatewayAttribute(args, parsed_globals):
14606
14710
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
14607
14711
  client._sdkVersion += ("_CLI_" + __version__)
14608
14712
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
14609
- model = models.ModifyPrivateNatGatewayAttributeRequest()
14713
+ model = models.CreateRouteTableRequest()
14610
14714
  model.from_json_string(json.dumps(args))
14611
14715
  start_time = time.time()
14612
14716
  while True:
14613
- rsp = client.ModifyPrivateNatGatewayAttribute(model)
14717
+ rsp = client.CreateRouteTable(model)
14614
14718
  result = rsp.to_json_string()
14615
14719
  try:
14616
14720
  json_obj = json.loads(result)
@@ -14629,7 +14733,7 @@ def doModifyPrivateNatGatewayAttribute(args, parsed_globals):
14629
14733
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
14630
14734
 
14631
14735
 
14632
- def doDeleteNetworkAcl(args, parsed_globals):
14736
+ def doModifyPrivateNatGatewayAttribute(args, parsed_globals):
14633
14737
  g_param = parse_global_arg(parsed_globals)
14634
14738
 
14635
14739
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -14658,11 +14762,11 @@ def doDeleteNetworkAcl(args, parsed_globals):
14658
14762
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
14659
14763
  client._sdkVersion += ("_CLI_" + __version__)
14660
14764
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
14661
- model = models.DeleteNetworkAclRequest()
14765
+ model = models.ModifyPrivateNatGatewayAttributeRequest()
14662
14766
  model.from_json_string(json.dumps(args))
14663
14767
  start_time = time.time()
14664
14768
  while True:
14665
- rsp = client.DeleteNetworkAcl(model)
14769
+ rsp = client.ModifyPrivateNatGatewayAttribute(model)
14666
14770
  result = rsp.to_json_string()
14667
14771
  try:
14668
14772
  json_obj = json.loads(result)
@@ -14681,7 +14785,7 @@ def doDeleteNetworkAcl(args, parsed_globals):
14681
14785
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
14682
14786
 
14683
14787
 
14684
- def doDeleteVpcEndPointServiceWhiteList(args, parsed_globals):
14788
+ def doDeleteNetworkAcl(args, parsed_globals):
14685
14789
  g_param = parse_global_arg(parsed_globals)
14686
14790
 
14687
14791
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -14710,11 +14814,63 @@ def doDeleteVpcEndPointServiceWhiteList(args, parsed_globals):
14710
14814
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
14711
14815
  client._sdkVersion += ("_CLI_" + __version__)
14712
14816
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
14713
- model = models.DeleteVpcEndPointServiceWhiteListRequest()
14817
+ model = models.DeleteNetworkAclRequest()
14714
14818
  model.from_json_string(json.dumps(args))
14715
14819
  start_time = time.time()
14716
14820
  while True:
14717
- rsp = client.DeleteVpcEndPointServiceWhiteList(model)
14821
+ rsp = client.DeleteNetworkAcl(model)
14822
+ result = rsp.to_json_string()
14823
+ try:
14824
+ json_obj = json.loads(result)
14825
+ except TypeError as e:
14826
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
14827
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
14828
+ break
14829
+ cur_time = time.time()
14830
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
14831
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
14832
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
14833
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
14834
+ else:
14835
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
14836
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
14837
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
14838
+
14839
+
14840
+ def doDeleteVpcEndPointServiceWhiteList(args, parsed_globals):
14841
+ g_param = parse_global_arg(parsed_globals)
14842
+
14843
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
14844
+ cred = credential.CVMRoleCredential()
14845
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
14846
+ cred = credential.STSAssumeRoleCredential(
14847
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
14848
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
14849
+ )
14850
+ 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):
14851
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
14852
+ else:
14853
+ cred = credential.Credential(
14854
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
14855
+ )
14856
+ http_profile = HttpProfile(
14857
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
14858
+ reqMethod="POST",
14859
+ endpoint=g_param[OptionsDefine.Endpoint],
14860
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
14861
+ )
14862
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
14863
+ if g_param[OptionsDefine.Language]:
14864
+ profile.language = g_param[OptionsDefine.Language]
14865
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
14866
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
14867
+ client._sdkVersion += ("_CLI_" + __version__)
14868
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
14869
+ model = models.DeleteVpcEndPointServiceWhiteListRequest()
14870
+ model.from_json_string(json.dumps(args))
14871
+ start_time = time.time()
14872
+ while True:
14873
+ rsp = client.DeleteVpcEndPointServiceWhiteList(model)
14718
14874
  result = rsp.to_json_string()
14719
14875
  try:
14720
14876
  json_obj = json.loads(result)
@@ -15149,6 +15305,58 @@ def doDeleteSnapshotPolicies(args, parsed_globals):
15149
15305
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
15150
15306
 
15151
15307
 
15308
+ def doDescribeVpcEndPointService(args, parsed_globals):
15309
+ g_param = parse_global_arg(parsed_globals)
15310
+
15311
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
15312
+ cred = credential.CVMRoleCredential()
15313
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
15314
+ cred = credential.STSAssumeRoleCredential(
15315
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
15316
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
15317
+ )
15318
+ 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):
15319
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
15320
+ else:
15321
+ cred = credential.Credential(
15322
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
15323
+ )
15324
+ http_profile = HttpProfile(
15325
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
15326
+ reqMethod="POST",
15327
+ endpoint=g_param[OptionsDefine.Endpoint],
15328
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
15329
+ )
15330
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
15331
+ if g_param[OptionsDefine.Language]:
15332
+ profile.language = g_param[OptionsDefine.Language]
15333
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
15334
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
15335
+ client._sdkVersion += ("_CLI_" + __version__)
15336
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
15337
+ model = models.DescribeVpcEndPointServiceRequest()
15338
+ model.from_json_string(json.dumps(args))
15339
+ start_time = time.time()
15340
+ while True:
15341
+ rsp = client.DescribeVpcEndPointService(model)
15342
+ result = rsp.to_json_string()
15343
+ try:
15344
+ json_obj = json.loads(result)
15345
+ except TypeError as e:
15346
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
15347
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
15348
+ break
15349
+ cur_time = time.time()
15350
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
15351
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
15352
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
15353
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
15354
+ else:
15355
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
15356
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
15357
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
15358
+
15359
+
15152
15360
  def doCreatePrivateNatGatewayTranslationNatRule(args, parsed_globals):
15153
15361
  g_param = parse_global_arg(parsed_globals)
15154
15362
 
@@ -16917,6 +17125,58 @@ def doDeleteNatGateway(args, parsed_globals):
16917
17125
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
16918
17126
 
16919
17127
 
17128
+ def doModifyIpv6AddressesAttribute(args, parsed_globals):
17129
+ g_param = parse_global_arg(parsed_globals)
17130
+
17131
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
17132
+ cred = credential.CVMRoleCredential()
17133
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
17134
+ cred = credential.STSAssumeRoleCredential(
17135
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
17136
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
17137
+ )
17138
+ 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):
17139
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
17140
+ else:
17141
+ cred = credential.Credential(
17142
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
17143
+ )
17144
+ http_profile = HttpProfile(
17145
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
17146
+ reqMethod="POST",
17147
+ endpoint=g_param[OptionsDefine.Endpoint],
17148
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
17149
+ )
17150
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
17151
+ if g_param[OptionsDefine.Language]:
17152
+ profile.language = g_param[OptionsDefine.Language]
17153
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
17154
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
17155
+ client._sdkVersion += ("_CLI_" + __version__)
17156
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
17157
+ model = models.ModifyIpv6AddressesAttributeRequest()
17158
+ model.from_json_string(json.dumps(args))
17159
+ start_time = time.time()
17160
+ while True:
17161
+ rsp = client.ModifyIpv6AddressesAttribute(model)
17162
+ result = rsp.to_json_string()
17163
+ try:
17164
+ json_obj = json.loads(result)
17165
+ except TypeError as e:
17166
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
17167
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
17168
+ break
17169
+ cur_time = time.time()
17170
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
17171
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
17172
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
17173
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
17174
+ else:
17175
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
17176
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
17177
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
17178
+
17179
+
16920
17180
  def doDescribeBandwidthPackageQuota(args, parsed_globals):
16921
17181
  g_param = parse_global_arg(parsed_globals)
16922
17182
 
@@ -17021,6 +17281,58 @@ def doModifyHighPriorityRouteTableAttribute(args, parsed_globals):
17021
17281
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
17022
17282
 
17023
17283
 
17284
+ def doCreateSnapshotPolicies(args, parsed_globals):
17285
+ g_param = parse_global_arg(parsed_globals)
17286
+
17287
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
17288
+ cred = credential.CVMRoleCredential()
17289
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
17290
+ cred = credential.STSAssumeRoleCredential(
17291
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
17292
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
17293
+ )
17294
+ 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):
17295
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
17296
+ else:
17297
+ cred = credential.Credential(
17298
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
17299
+ )
17300
+ http_profile = HttpProfile(
17301
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
17302
+ reqMethod="POST",
17303
+ endpoint=g_param[OptionsDefine.Endpoint],
17304
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
17305
+ )
17306
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
17307
+ if g_param[OptionsDefine.Language]:
17308
+ profile.language = g_param[OptionsDefine.Language]
17309
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
17310
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
17311
+ client._sdkVersion += ("_CLI_" + __version__)
17312
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
17313
+ model = models.CreateSnapshotPoliciesRequest()
17314
+ model.from_json_string(json.dumps(args))
17315
+ start_time = time.time()
17316
+ while True:
17317
+ rsp = client.CreateSnapshotPolicies(model)
17318
+ result = rsp.to_json_string()
17319
+ try:
17320
+ json_obj = json.loads(result)
17321
+ except TypeError as e:
17322
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
17323
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
17324
+ break
17325
+ cur_time = time.time()
17326
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
17327
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
17328
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
17329
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
17330
+ else:
17331
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
17332
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
17333
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
17334
+
17335
+
17024
17336
  def doDeleteReserveIpAddresses(args, parsed_globals):
17025
17337
  g_param = parse_global_arg(parsed_globals)
17026
17338
 
@@ -17489,7 +17801,7 @@ def doModifySecurityGroupPolicies(args, parsed_globals):
17489
17801
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
17490
17802
 
17491
17803
 
17492
- def doModifyCcnAttribute(args, parsed_globals):
17804
+ def doCreatePrivateNatGatewayTranslationAclRule(args, parsed_globals):
17493
17805
  g_param = parse_global_arg(parsed_globals)
17494
17806
 
17495
17807
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -17518,11 +17830,11 @@ def doModifyCcnAttribute(args, parsed_globals):
17518
17830
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
17519
17831
  client._sdkVersion += ("_CLI_" + __version__)
17520
17832
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
17521
- model = models.ModifyCcnAttributeRequest()
17833
+ model = models.CreatePrivateNatGatewayTranslationAclRuleRequest()
17522
17834
  model.from_json_string(json.dumps(args))
17523
17835
  start_time = time.time()
17524
17836
  while True:
17525
- rsp = client.ModifyCcnAttribute(model)
17837
+ rsp = client.CreatePrivateNatGatewayTranslationAclRule(model)
17526
17838
  result = rsp.to_json_string()
17527
17839
  try:
17528
17840
  json_obj = json.loads(result)
@@ -17645,7 +17957,7 @@ def doDescribeCdcUsedIdcVlan(args, parsed_globals):
17645
17957
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
17646
17958
 
17647
17959
 
17648
- def doInquirePriceCreateDirectConnectGateway(args, parsed_globals):
17960
+ def doDescribeSecurityGroupReferences(args, parsed_globals):
17649
17961
  g_param = parse_global_arg(parsed_globals)
17650
17962
 
17651
17963
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -17674,11 +17986,11 @@ def doInquirePriceCreateDirectConnectGateway(args, parsed_globals):
17674
17986
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
17675
17987
  client._sdkVersion += ("_CLI_" + __version__)
17676
17988
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
17677
- model = models.InquirePriceCreateDirectConnectGatewayRequest()
17989
+ model = models.DescribeSecurityGroupReferencesRequest()
17678
17990
  model.from_json_string(json.dumps(args))
17679
17991
  start_time = time.time()
17680
17992
  while True:
17681
- rsp = client.InquirePriceCreateDirectConnectGateway(model)
17993
+ rsp = client.DescribeSecurityGroupReferences(model)
17682
17994
  result = rsp.to_json_string()
17683
17995
  try:
17684
17996
  json_obj = json.loads(result)
@@ -17697,7 +18009,7 @@ def doInquirePriceCreateDirectConnectGateway(args, parsed_globals):
17697
18009
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
17698
18010
 
17699
18011
 
17700
- def doModifyIpv6AddressesAttribute(args, parsed_globals):
18012
+ def doDisableVpnGatewaySslClientCert(args, parsed_globals):
17701
18013
  g_param = parse_global_arg(parsed_globals)
17702
18014
 
17703
18015
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -17726,11 +18038,11 @@ def doModifyIpv6AddressesAttribute(args, parsed_globals):
17726
18038
  client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
17727
18039
  client._sdkVersion += ("_CLI_" + __version__)
17728
18040
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
17729
- model = models.ModifyIpv6AddressesAttributeRequest()
18041
+ model = models.DisableVpnGatewaySslClientCertRequest()
17730
18042
  model.from_json_string(json.dumps(args))
17731
18043
  start_time = time.time()
17732
18044
  while True:
17733
- rsp = client.ModifyIpv6AddressesAttribute(model)
18045
+ rsp = client.DisableVpnGatewaySslClientCert(model)
17734
18046
  result = rsp.to_json_string()
17735
18047
  try:
17736
18048
  json_obj = json.loads(result)
@@ -18789,6 +19101,58 @@ def doMigrateNetworkInterface(args, parsed_globals):
18789
19101
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
18790
19102
 
18791
19103
 
19104
+ def doAllocateIPv6Addresses(args, parsed_globals):
19105
+ g_param = parse_global_arg(parsed_globals)
19106
+
19107
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
19108
+ cred = credential.CVMRoleCredential()
19109
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
19110
+ cred = credential.STSAssumeRoleCredential(
19111
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
19112
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
19113
+ )
19114
+ 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):
19115
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
19116
+ else:
19117
+ cred = credential.Credential(
19118
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
19119
+ )
19120
+ http_profile = HttpProfile(
19121
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
19122
+ reqMethod="POST",
19123
+ endpoint=g_param[OptionsDefine.Endpoint],
19124
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
19125
+ )
19126
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
19127
+ if g_param[OptionsDefine.Language]:
19128
+ profile.language = g_param[OptionsDefine.Language]
19129
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
19130
+ client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
19131
+ client._sdkVersion += ("_CLI_" + __version__)
19132
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
19133
+ model = models.AllocateIPv6AddressesRequest()
19134
+ model.from_json_string(json.dumps(args))
19135
+ start_time = time.time()
19136
+ while True:
19137
+ rsp = client.AllocateIPv6Addresses(model)
19138
+ result = rsp.to_json_string()
19139
+ try:
19140
+ json_obj = json.loads(result)
19141
+ except TypeError as e:
19142
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
19143
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
19144
+ break
19145
+ cur_time = time.time()
19146
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
19147
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
19148
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
19149
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
19150
+ else:
19151
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
19152
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
19153
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
19154
+
19155
+
18792
19156
  def doModifyAssistantCidr(args, parsed_globals):
18793
19157
  g_param = parse_global_arg(parsed_globals)
18794
19158
 
@@ -19639,6 +20003,7 @@ ACTION_MAP = {
19639
20003
  "RemoveBandwidthPackageResources": doRemoveBandwidthPackageResources,
19640
20004
  "ModifyServiceTemplateGroupAttribute": doModifyServiceTemplateGroupAttribute,
19641
20005
  "ModifyAddressInternetChargeType": doModifyAddressInternetChargeType,
20006
+ "ModifyIPv6AddressesAttributes": doModifyIPv6AddressesAttributes,
19642
20007
  "CreatePrivateNatGateway": doCreatePrivateNatGateway,
19643
20008
  "AcceptVpcPeeringConnection": doAcceptVpcPeeringConnection,
19644
20009
  "EnableGatewayFlowMonitor": doEnableGatewayFlowMonitor,
@@ -19715,7 +20080,7 @@ ACTION_MAP = {
19715
20080
  "CreateDirectConnectGateway": doCreateDirectConnectGateway,
19716
20081
  "DetachCcnInstances": doDetachCcnInstances,
19717
20082
  "CreateReserveIpAddresses": doCreateReserveIpAddresses,
19718
- "RefreshDirectConnectGatewayRouteToNatGateway": doRefreshDirectConnectGatewayRouteToNatGateway,
20083
+ "DescribeCrossBorderCcnRegionBandwidthLimits": doDescribeCrossBorderCcnRegionBandwidthLimits,
19719
20084
  "SetCcnRegionBandwidthLimits": doSetCcnRegionBandwidthLimits,
19720
20085
  "EnableRoutes": doEnableRoutes,
19721
20086
  "ModifyRouteTableAttribute": doModifyRouteTableAttribute,
@@ -19743,6 +20108,7 @@ ACTION_MAP = {
19743
20108
  "DisassociateNatGatewayAddress": doDisassociateNatGatewayAddress,
19744
20109
  "DescribeGatewayFlowMonitorDetail": doDescribeGatewayFlowMonitorDetail,
19745
20110
  "UnassignIpv6Addresses": doUnassignIpv6Addresses,
20111
+ "AssociateIPv6Address": doAssociateIPv6Address,
19746
20112
  "DeleteAddressTemplateGroup": doDeleteAddressTemplateGroup,
19747
20113
  "DescribeVpcTaskResult": doDescribeVpcTaskResult,
19748
20114
  "ModifyNetworkInterfaceQos": doModifyNetworkInterfaceQos,
@@ -19750,8 +20116,8 @@ ACTION_MAP = {
19750
20116
  "DeleteCcnRouteTables": doDeleteCcnRouteTables,
19751
20117
  "ModifyPrivateNatGatewayTranslationNatRule": doModifyPrivateNatGatewayTranslationNatRule,
19752
20118
  "ModifyVpnGatewayRoutes": doModifyVpnGatewayRoutes,
19753
- "DescribeVpcEndPointService": doDescribeVpcEndPointService,
19754
- "DescribeCrossBorderCcnRegionBandwidthLimits": doDescribeCrossBorderCcnRegionBandwidthLimits,
20119
+ "ModifyIPv6AddressesBandwidth": doModifyIPv6AddressesBandwidth,
20120
+ "RefreshDirectConnectGatewayRouteToNatGateway": doRefreshDirectConnectGatewayRouteToNatGateway,
19755
20121
  "ModifySnapshotPolicies": doModifySnapshotPolicies,
19756
20122
  "DeleteVpnGatewaySslClient": doDeleteVpnGatewaySslClient,
19757
20123
  "CreateNatGatewayDestinationIpPortTranslationNatRule": doCreateNatGatewayDestinationIpPortTranslationNatRule,
@@ -19810,15 +20176,15 @@ ACTION_MAP = {
19810
20176
  "DescribeNatGatewaySourceIpTranslationNatRules": doDescribeNatGatewaySourceIpTranslationNatRules,
19811
20177
  "ModifyNetDetect": doModifyNetDetect,
19812
20178
  "CreateNetDetect": doCreateNetDetect,
19813
- "CreateSnapshotPolicies": doCreateSnapshotPolicies,
20179
+ "ReleaseIPv6Addresses": doReleaseIPv6Addresses,
19814
20180
  "ResetAttachCcnInstances": doResetAttachCcnInstances,
19815
20181
  "ModifyVpcEndPointServiceAttribute": doModifyVpcEndPointServiceAttribute,
19816
20182
  "DescribeBandwidthPackages": doDescribeBandwidthPackages,
19817
20183
  "DescribeRouteTableAssociatedInstances": doDescribeRouteTableAssociatedInstances,
19818
20184
  "CreateServiceTemplateGroup": doCreateServiceTemplateGroup,
19819
20185
  "ReleaseIp6AddressesBandwidth": doReleaseIp6AddressesBandwidth,
19820
- "CreatePrivateNatGatewayTranslationAclRule": doCreatePrivateNatGatewayTranslationAclRule,
19821
- "DescribeSecurityGroupReferences": doDescribeSecurityGroupReferences,
20186
+ "ModifyCcnAttribute": doModifyCcnAttribute,
20187
+ "InquirePriceCreateDirectConnectGateway": doInquirePriceCreateDirectConnectGateway,
19822
20188
  "DescribeAddressTemplateGroups": doDescribeAddressTemplateGroups,
19823
20189
  "DetachClassicLinkVpc": doDetachClassicLinkVpc,
19824
20190
  "CreateSecurityGroupPolicies": doCreateSecurityGroupPolicies,
@@ -19867,6 +20233,7 @@ ACTION_MAP = {
19867
20233
  "ModifyCcnRegionBandwidthLimitsType": doModifyCcnRegionBandwidthLimitsType,
19868
20234
  "ModifyHighPriorityRouteECMPAlgorithm": doModifyHighPriorityRouteECMPAlgorithm,
19869
20235
  "DeleteNatGatewaySourceIpTranslationNatRule": doDeleteNatGatewaySourceIpTranslationNatRule,
20236
+ "DisassociateIPv6Address": doDisassociateIPv6Address,
19870
20237
  "ModifyNatGatewaySourceIpTranslationNatRule": doModifyNatGatewaySourceIpTranslationNatRule,
19871
20238
  "UnassignIpv6SubnetCidrBlock": doUnassignIpv6SubnetCidrBlock,
19872
20239
  "DisableRoutes": doDisableRoutes,
@@ -19893,7 +20260,6 @@ ACTION_MAP = {
19893
20260
  "EnableFlowLogs": doEnableFlowLogs,
19894
20261
  "CreateCdcLDCXList": doCreateCdcLDCXList,
19895
20262
  "ModifyNatGatewayDestinationIpPortTranslationNatRule": doModifyNatGatewayDestinationIpPortTranslationNatRule,
19896
- "DisableVpnGatewaySslClientCert": doDisableVpnGatewaySslClientCert,
19897
20263
  "DescribeHaVips": doDescribeHaVips,
19898
20264
  "CreateLocalGateway": doCreateLocalGateway,
19899
20265
  "ResetVpnGatewayInternetMaxBandwidth": doResetVpnGatewayInternetMaxBandwidth,
@@ -19910,6 +20276,7 @@ ACTION_MAP = {
19910
20276
  "DescribeIpGeolocationDatabaseUrl": doDescribeIpGeolocationDatabaseUrl,
19911
20277
  "ModifyAddressAttribute": doModifyAddressAttribute,
19912
20278
  "DescribeTrafficQosPolicy": doDescribeTrafficQosPolicy,
20279
+ "DescribeIPv6Addresses": doDescribeIPv6Addresses,
19913
20280
  "CreateFlowLog": doCreateFlowLog,
19914
20281
  "CreateRouteTable": doCreateRouteTable,
19915
20282
  "ModifyPrivateNatGatewayAttribute": doModifyPrivateNatGatewayAttribute,
@@ -19923,6 +20290,7 @@ ACTION_MAP = {
19923
20290
  "DescribeCcnRouteTableInputPolicys": doDescribeCcnRouteTableInputPolicys,
19924
20291
  "CloneSecurityGroup": doCloneSecurityGroup,
19925
20292
  "DeleteSnapshotPolicies": doDeleteSnapshotPolicies,
20293
+ "DescribeVpcEndPointService": doDescribeVpcEndPointService,
19926
20294
  "CreatePrivateNatGatewayTranslationNatRule": doCreatePrivateNatGatewayTranslationNatRule,
19927
20295
  "ModifyVpcEndPointAttribute": doModifyVpcEndPointAttribute,
19928
20296
  "ModifyHighPriorityRouteAttribute": doModifyHighPriorityRouteAttribute,
@@ -19957,8 +20325,10 @@ ACTION_MAP = {
19957
20325
  "ReplaceHighPriorityRoutes": doReplaceHighPriorityRoutes,
19958
20326
  "ModifyCcnAttachedInstancesAttribute": doModifyCcnAttachedInstancesAttribute,
19959
20327
  "DeleteNatGateway": doDeleteNatGateway,
20328
+ "ModifyIpv6AddressesAttribute": doModifyIpv6AddressesAttribute,
19960
20329
  "DescribeBandwidthPackageQuota": doDescribeBandwidthPackageQuota,
19961
20330
  "ModifyHighPriorityRouteTableAttribute": doModifyHighPriorityRouteTableAttribute,
20331
+ "CreateSnapshotPolicies": doCreateSnapshotPolicies,
19962
20332
  "DeleteReserveIpAddresses": doDeleteReserveIpAddresses,
19963
20333
  "ModifyCdcLDCXAttribute": doModifyCdcLDCXAttribute,
19964
20334
  "DeleteVpcEndPointService": doDeleteVpcEndPointService,
@@ -19968,11 +20338,11 @@ ACTION_MAP = {
19968
20338
  "ModifyBandwidthPackageBandwidth": doModifyBandwidthPackageBandwidth,
19969
20339
  "DescribePrivateNatGatewayLimits": doDescribePrivateNatGatewayLimits,
19970
20340
  "ModifySecurityGroupPolicies": doModifySecurityGroupPolicies,
19971
- "ModifyCcnAttribute": doModifyCcnAttribute,
20341
+ "CreatePrivateNatGatewayTranslationAclRule": doCreatePrivateNatGatewayTranslationAclRule,
19972
20342
  "DescribeSecurityGroupLimits": doDescribeSecurityGroupLimits,
19973
20343
  "DescribeCdcUsedIdcVlan": doDescribeCdcUsedIdcVlan,
19974
- "InquirePriceCreateDirectConnectGateway": doInquirePriceCreateDirectConnectGateway,
19975
- "ModifyIpv6AddressesAttribute": doModifyIpv6AddressesAttribute,
20344
+ "DescribeSecurityGroupReferences": doDescribeSecurityGroupReferences,
20345
+ "DisableVpnGatewaySslClientCert": doDisableVpnGatewaySslClientCert,
19976
20346
  "DescribeDirectConnectGateways": doDescribeDirectConnectGateways,
19977
20347
  "RenewVpnGateway": doRenewVpnGateway,
19978
20348
  "MigratePrivateIpAddress": doMigratePrivateIpAddress,
@@ -19993,6 +20363,7 @@ ACTION_MAP = {
19993
20363
  "DescribeClassicLinkInstances": doDescribeClassicLinkInstances,
19994
20364
  "ClearRouteTableSelectionPolicies": doClearRouteTableSelectionPolicies,
19995
20365
  "MigrateNetworkInterface": doMigrateNetworkInterface,
20366
+ "AllocateIPv6Addresses": doAllocateIPv6Addresses,
19996
20367
  "ModifyAssistantCidr": doModifyAssistantCidr,
19997
20368
  "DeleteNatGatewayDestinationIpPortTranslationNatRule": doDeleteNatGatewayDestinationIpPortTranslationNatRule,
19998
20369
  "CreateTrafficPackages": doCreateTrafficPackages,