tccli 3.0.1196.1__py2.py3-none-any.whl → 3.0.1197.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1196.1'
1
+ __version__ = '3.0.1197.1'
@@ -227,7 +227,7 @@
227
227
  },
228
228
  {
229
229
  "disabled": false,
230
- "document": "图文并茂开关。\n说明:\n1. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)时生效。\n2. hunyuan-lite 无图文并茂能力,该参数对 hunyuan-lite 版本不生效。\n3. 未传值时默认关闭。\n4. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。",
230
+ "document": "图文并茂开关。\n详细介绍请阅读 [图文并茂](https://cloud.tencent.com/document/product/1729/111178) 中的说明。\n说明:\n1. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)时生效。\n2. hunyuan-lite 无图文并茂能力,该参数对 hunyuan-lite 版本不生效。\n3. 未传值时默认关闭。\n4. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。",
231
231
  "example": "false",
232
232
  "member": "bool",
233
233
  "name": "EnableMultimedia",
@@ -5635,6 +5635,58 @@ def doListRoleConfigurations(args, parsed_globals):
5635
5635
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5636
5636
 
5637
5637
 
5638
+ def doInviteOrganizationMember(args, parsed_globals):
5639
+ g_param = parse_global_arg(parsed_globals)
5640
+
5641
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5642
+ cred = credential.CVMRoleCredential()
5643
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5644
+ cred = credential.STSAssumeRoleCredential(
5645
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5646
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5647
+ )
5648
+ 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):
5649
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5650
+ else:
5651
+ cred = credential.Credential(
5652
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5653
+ )
5654
+ http_profile = HttpProfile(
5655
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5656
+ reqMethod="POST",
5657
+ endpoint=g_param[OptionsDefine.Endpoint],
5658
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5659
+ )
5660
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5661
+ if g_param[OptionsDefine.Language]:
5662
+ profile.language = g_param[OptionsDefine.Language]
5663
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5664
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
5665
+ client._sdkVersion += ("_CLI_" + __version__)
5666
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5667
+ model = models.InviteOrganizationMemberRequest()
5668
+ model.from_json_string(json.dumps(args))
5669
+ start_time = time.time()
5670
+ while True:
5671
+ rsp = client.InviteOrganizationMember(model)
5672
+ result = rsp.to_json_string()
5673
+ try:
5674
+ json_obj = json.loads(result)
5675
+ except TypeError as e:
5676
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5677
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5678
+ break
5679
+ cur_time = time.time()
5680
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5681
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5682
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5683
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5684
+ else:
5685
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5686
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5687
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5688
+
5689
+
5638
5690
  def doAddShareUnitResources(args, parsed_globals):
5639
5691
  g_param = parse_global_arg(parsed_globals)
5640
5692
 
@@ -6623,6 +6675,58 @@ def doListOrganizationService(args, parsed_globals):
6623
6675
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6624
6676
 
6625
6677
 
6678
+ def doUpdateCustomPolicyForRoleConfiguration(args, parsed_globals):
6679
+ g_param = parse_global_arg(parsed_globals)
6680
+
6681
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6682
+ cred = credential.CVMRoleCredential()
6683
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6684
+ cred = credential.STSAssumeRoleCredential(
6685
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6686
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6687
+ )
6688
+ 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):
6689
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6690
+ else:
6691
+ cred = credential.Credential(
6692
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6693
+ )
6694
+ http_profile = HttpProfile(
6695
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6696
+ reqMethod="POST",
6697
+ endpoint=g_param[OptionsDefine.Endpoint],
6698
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6699
+ )
6700
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6701
+ if g_param[OptionsDefine.Language]:
6702
+ profile.language = g_param[OptionsDefine.Language]
6703
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6704
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
6705
+ client._sdkVersion += ("_CLI_" + __version__)
6706
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6707
+ model = models.UpdateCustomPolicyForRoleConfigurationRequest()
6708
+ model.from_json_string(json.dumps(args))
6709
+ start_time = time.time()
6710
+ while True:
6711
+ rsp = client.UpdateCustomPolicyForRoleConfiguration(model)
6712
+ result = rsp.to_json_string()
6713
+ try:
6714
+ json_obj = json.loads(result)
6715
+ except TypeError as e:
6716
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6717
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6718
+ break
6719
+ cur_time = time.time()
6720
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6721
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6722
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6723
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6724
+ else:
6725
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6726
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6727
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6728
+
6729
+
6626
6730
  def doDeleteOrganizationMemberAuthIdentity(args, parsed_globals):
6627
6731
  g_param = parse_global_arg(parsed_globals)
6628
6732
 
@@ -6796,6 +6900,7 @@ ACTION_MAP = {
6796
6900
  "DescribeOrganizationMemberPolicies": doDescribeOrganizationMemberPolicies,
6797
6901
  "DeleteUserSyncProvisioning": doDeleteUserSyncProvisioning,
6798
6902
  "ListRoleConfigurations": doListRoleConfigurations,
6903
+ "InviteOrganizationMember": doInviteOrganizationMember,
6799
6904
  "AddShareUnitResources": doAddShareUnitResources,
6800
6905
  "AttachPolicy": doAttachPolicy,
6801
6906
  "DescribeShareAreas": doDescribeShareAreas,
@@ -6815,6 +6920,7 @@ ACTION_MAP = {
6815
6920
  "GetTaskStatus": doGetTaskStatus,
6816
6921
  "CreateOrganizationMemberPolicy": doCreateOrganizationMemberPolicy,
6817
6922
  "ListOrganizationService": doListOrganizationService,
6923
+ "UpdateCustomPolicyForRoleConfiguration": doUpdateCustomPolicyForRoleConfiguration,
6818
6924
  "DeleteOrganizationMemberAuthIdentity": doDeleteOrganizationMemberAuthIdentity,
6819
6925
 
6820
6926
  }
@@ -532,6 +532,13 @@
532
532
  "output": "GetZoneStatisticsResponse",
533
533
  "status": "online"
534
534
  },
535
+ "InviteOrganizationMember": {
536
+ "document": "邀请组织成员",
537
+ "input": "InviteOrganizationMemberRequest",
538
+ "name": "邀请组织成员",
539
+ "output": "InviteOrganizationMemberResponse",
540
+ "status": "online"
541
+ },
535
542
  "ListExternalSAMLIdPCertificates": {
536
543
  "document": "查询SAML签名证书列表",
537
544
  "input": "ListExternalSAMLIdPCertificatesRequest",
@@ -728,6 +735,13 @@
728
735
  "output": "SetExternalSAMLIdentityProviderResponse",
729
736
  "status": "online"
730
737
  },
738
+ "UpdateCustomPolicyForRoleConfiguration": {
739
+ "document": "为权限配置修改自定义策略",
740
+ "input": "UpdateCustomPolicyForRoleConfigurationRequest",
741
+ "name": "为权限配置修改自定义策略",
742
+ "output": "UpdateCustomPolicyForRoleConfigurationResponse",
743
+ "status": "online"
744
+ },
731
745
  "UpdateGroup": {
732
746
  "document": "修改用户组信息",
733
747
  "input": "UpdateGroupRequest",
@@ -986,6 +1000,15 @@
986
1000
  "name": "Remark",
987
1001
  "required": false,
988
1002
  "type": "string"
1003
+ },
1004
+ {
1005
+ "disabled": false,
1006
+ "document": "部门标签列表。最大10个",
1007
+ "example": "[]",
1008
+ "member": "Tag",
1009
+ "name": "Tags",
1010
+ "required": false,
1011
+ "type": "list"
989
1012
  }
990
1013
  ],
991
1014
  "type": "object"
@@ -1035,7 +1058,7 @@
1035
1058
  },
1036
1059
  {
1037
1060
  "disabled": false,
1038
- "document": "权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。 前期只支持系统策略,自定义策略后期在支持",
1061
+ "document": "权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。 ",
1039
1062
  "example": "System",
1040
1063
  "member": "string",
1041
1064
  "name": "RolePolicyType",
@@ -1044,7 +1067,7 @@
1044
1067
  },
1045
1068
  {
1046
1069
  "disabled": false,
1047
- "document": "权限策略名称,长度最大为 20策略,每个策略长度最大32个字符。",
1070
+ "document": "权限策略名称,长度最大为 20策略,每个策略长度最大32个字符。如果要添加系统策略,建议使用RolePolicies参数。自定义策略时,数组长度最大为1。",
1048
1071
  "example": "[\"TestPolicy\",\"Admin\"]",
1049
1072
  "member": "string",
1050
1073
  "name": "RolePolicyNames",
@@ -1053,7 +1076,7 @@
1053
1076
  },
1054
1077
  {
1055
1078
  "disabled": false,
1056
- "document": "策略详情。",
1079
+ "document": "添加的系统策略详情。",
1057
1080
  "example": "[{'PolicyId':426322, 'PolicyName':'QcloudAccessForOceanusRole'}]",
1058
1081
  "member": "PolicyDetail",
1059
1082
  "name": "RolePolicies",
@@ -1063,7 +1086,7 @@
1063
1086
  {
1064
1087
  "disabled": false,
1065
1088
  "document": "自定义策略内容。长度:最大 4096 个字符。当RolePolicyType为Inline时,该参数必须配置。关于权限策略的语法和结构,请参见权限策略语法和结构。",
1066
- "example": "{ \"Version\": \"1\", \"Statement\": [ { \"Effect\": \"Allow\", \"Action\": \"*\", \"Resource\": \"*\" } ] }",
1089
+ "example": "{\\\"statement\\\":{\\\"action\\\":[\\\"name/cvm:*\\\",\\\"name/vpc:*\\\",\\\"name/cos:*\\\",\\\"name/cmqtopic:*\\\",\\\"name/cmqqueue:*\\\"],\\\"effect\\\":\\\"allow\\\",\\\"resource\\\":\\\"*\\\"},\\\"version\\\":\\\"2.0\\\"}",
1067
1090
  "member": "string",
1068
1091
  "name": "CustomPolicyDocument",
1069
1092
  "required": false,
@@ -1382,6 +1405,34 @@
1382
1405
  ],
1383
1406
  "usage": "out"
1384
1407
  },
1408
+ "AuthRelationFile": {
1409
+ "document": "野鹤实名互信申请证明文件",
1410
+ "members": [
1411
+ {
1412
+ "disabled": false,
1413
+ "document": "文件名。\n注意:此字段可能返回 null,表示取不到有效值。",
1414
+ "example": "test",
1415
+ "member": "string",
1416
+ "name": "Name",
1417
+ "output_required": false,
1418
+ "required": true,
1419
+ "type": "string",
1420
+ "value_allowed_null": true
1421
+ },
1422
+ {
1423
+ "disabled": false,
1424
+ "document": "文件路径。\n注意:此字段可能返回 null,表示取不到有效值。",
1425
+ "example": "aaa/test.txt",
1426
+ "member": "string",
1427
+ "name": "Url",
1428
+ "output_required": false,
1429
+ "required": true,
1430
+ "type": "string",
1431
+ "value_allowed_null": true
1432
+ }
1433
+ ],
1434
+ "usage": "both"
1435
+ },
1385
1436
  "BindOrganizationMemberAuthAccountRequest": {
1386
1437
  "document": "BindOrganizationMemberAuthAccount请求参数结构体",
1387
1438
  "members": [
@@ -1911,6 +1962,15 @@
1911
1962
  "name": "AuthRelationId",
1912
1963
  "required": false,
1913
1964
  "type": "int"
1965
+ },
1966
+ {
1967
+ "disabled": false,
1968
+ "document": "成员标签列表。最大10个",
1969
+ "example": "[]",
1970
+ "member": "Tag",
1971
+ "name": "Tags",
1972
+ "required": false,
1973
+ "type": "list"
1914
1974
  }
1915
1975
  ],
1916
1976
  "type": "object"
@@ -3832,6 +3892,15 @@
3832
3892
  "name": "Product",
3833
3893
  "required": false,
3834
3894
  "type": "string"
3895
+ },
3896
+ {
3897
+ "disabled": false,
3898
+ "document": "成员标签搜索列表,最大10个",
3899
+ "example": "[]",
3900
+ "member": "Tag",
3901
+ "name": "Tags",
3902
+ "required": false,
3903
+ "type": "list"
3835
3904
  }
3836
3905
  ],
3837
3906
  "type": "object"
@@ -3888,6 +3957,15 @@
3888
3957
  "name": "Offset",
3889
3958
  "required": true,
3890
3959
  "type": "int"
3960
+ },
3961
+ {
3962
+ "disabled": false,
3963
+ "document": "部门标签搜索列表,最大10个",
3964
+ "example": "[]",
3965
+ "member": "Tag",
3966
+ "name": "Tags",
3967
+ "required": false,
3968
+ "type": "list"
3891
3969
  }
3892
3970
  ],
3893
3971
  "type": "object"
@@ -5412,6 +5490,123 @@
5412
5490
  ],
5413
5491
  "usage": "both"
5414
5492
  },
5493
+ "InviteOrganizationMemberRequest": {
5494
+ "document": "InviteOrganizationMember请求参数结构体",
5495
+ "members": [
5496
+ {
5497
+ "disabled": false,
5498
+ "document": "被邀请账号Uin。",
5499
+ "example": "111111111111",
5500
+ "member": "int64",
5501
+ "name": "MemberUin",
5502
+ "required": true,
5503
+ "type": "int"
5504
+ },
5505
+ {
5506
+ "disabled": false,
5507
+ "document": "成员名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,",
5508
+ "example": "member_name",
5509
+ "member": "string",
5510
+ "name": "Name",
5511
+ "required": true,
5512
+ "type": "string"
5513
+ },
5514
+ {
5515
+ "disabled": false,
5516
+ "document": "关系策略。取值:Financial",
5517
+ "example": "Finical",
5518
+ "member": "string",
5519
+ "name": "PolicyType",
5520
+ "required": true,
5521
+ "type": "string"
5522
+ },
5523
+ {
5524
+ "disabled": false,
5525
+ "document": "成员财务权限ID列表。取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票、6-优惠继承、7-代付费,1、2 默认必须",
5526
+ "example": "[1,2]",
5527
+ "member": "uint64",
5528
+ "name": "PermissionIds",
5529
+ "required": true,
5530
+ "type": "list"
5531
+ },
5532
+ {
5533
+ "disabled": false,
5534
+ "document": "成员所属部门的节点ID。可以通过[DescribeOrganizationNodes](https://cloud.tencent.com/document/product/850/82926)获取",
5535
+ "example": "1001",
5536
+ "member": "int64",
5537
+ "name": "NodeId",
5538
+ "required": true,
5539
+ "type": "int"
5540
+ },
5541
+ {
5542
+ "disabled": false,
5543
+ "document": "备注。",
5544
+ "example": "\"\"",
5545
+ "member": "string",
5546
+ "name": "Remark",
5547
+ "required": false,
5548
+ "type": "string"
5549
+ },
5550
+ {
5551
+ "disabled": false,
5552
+ "document": "是否允许成员退出。允许:Allow,不允许:Denied。",
5553
+ "example": "Allow",
5554
+ "member": "string",
5555
+ "name": "IsAllowQuit",
5556
+ "required": false,
5557
+ "type": "string"
5558
+ },
5559
+ {
5560
+ "disabled": false,
5561
+ "document": "代付者Uin。成员代付费时需要",
5562
+ "example": "\"\"",
5563
+ "member": "string",
5564
+ "name": "PayUin",
5565
+ "required": false,
5566
+ "type": "string"
5567
+ },
5568
+ {
5569
+ "disabled": false,
5570
+ "document": "互信实名主体名称。",
5571
+ "example": "\"\"",
5572
+ "member": "string",
5573
+ "name": "RelationAuthName",
5574
+ "required": false,
5575
+ "type": "string"
5576
+ },
5577
+ {
5578
+ "disabled": false,
5579
+ "document": "互信主体证明文件列表。",
5580
+ "example": "[]",
5581
+ "member": "AuthRelationFile",
5582
+ "name": "AuthFile",
5583
+ "required": false,
5584
+ "type": "list"
5585
+ },
5586
+ {
5587
+ "disabled": false,
5588
+ "document": "成员标签列表。最大10个",
5589
+ "example": "[]",
5590
+ "member": "Tag",
5591
+ "name": "Tags",
5592
+ "required": false,
5593
+ "type": "list"
5594
+ }
5595
+ ],
5596
+ "type": "object"
5597
+ },
5598
+ "InviteOrganizationMemberResponse": {
5599
+ "document": "InviteOrganizationMember返回参数结构体",
5600
+ "members": [
5601
+ {
5602
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5603
+ "member": "string",
5604
+ "name": "RequestId",
5605
+ "type": "string"
5606
+ }
5607
+ ],
5608
+ "type": "object"
5609
+ },
5415
5610
  "JoinedGroups": {
5416
5611
  "document": "用户加入的用户组",
5417
5612
  "members": [
@@ -8040,7 +8235,7 @@
8040
8235
  "example": "1000001",
8041
8236
  "member": "int64",
8042
8237
  "name": "MemberUin",
8043
- "required": true,
8238
+ "output_required": true,
8044
8239
  "type": "int",
8045
8240
  "value_allowed_null": true
8046
8241
  },
@@ -8050,7 +8245,7 @@
8050
8245
  "example": "tt",
8051
8246
  "member": "string",
8052
8247
  "name": "Name",
8053
- "required": true,
8248
+ "output_required": true,
8054
8249
  "type": "string",
8055
8250
  "value_allowed_null": true
8056
8251
  },
@@ -8060,7 +8255,7 @@
8060
8255
  "example": "Invite",
8061
8256
  "member": "string",
8062
8257
  "name": "MemberType",
8063
- "required": true,
8258
+ "output_required": true,
8064
8259
  "type": "string",
8065
8260
  "value_allowed_null": true
8066
8261
  },
@@ -8070,7 +8265,7 @@
8070
8265
  "example": "Finical",
8071
8266
  "member": "string",
8072
8267
  "name": "OrgPolicyType",
8073
- "required": true,
8268
+ "output_required": true,
8074
8269
  "type": "string",
8075
8270
  "value_allowed_null": true
8076
8271
  },
@@ -8080,7 +8275,7 @@
8080
8275
  "example": "财务管理",
8081
8276
  "member": "string",
8082
8277
  "name": "OrgPolicyName",
8083
- "required": true,
8278
+ "output_required": true,
8084
8279
  "type": "string",
8085
8280
  "value_allowed_null": true
8086
8281
  },
@@ -8090,7 +8285,7 @@
8090
8285
  "example": "无",
8091
8286
  "member": "OrgPermission",
8092
8287
  "name": "OrgPermission",
8093
- "required": true,
8288
+ "output_required": true,
8094
8289
  "type": "list",
8095
8290
  "value_allowed_null": true
8096
8291
  },
@@ -8100,7 +8295,7 @@
8100
8295
  "example": "1002",
8101
8296
  "member": "int64",
8102
8297
  "name": "NodeId",
8103
- "required": true,
8298
+ "output_required": true,
8104
8299
  "type": "int",
8105
8300
  "value_allowed_null": true
8106
8301
  },
@@ -8110,7 +8305,7 @@
8110
8305
  "example": "Root",
8111
8306
  "member": "string",
8112
8307
  "name": "NodeName",
8113
- "required": true,
8308
+ "output_required": true,
8114
8309
  "type": "string",
8115
8310
  "value_allowed_null": true
8116
8311
  },
@@ -8120,7 +8315,7 @@
8120
8315
  "example": "tt",
8121
8316
  "member": "string",
8122
8317
  "name": "Remark",
8123
- "required": true,
8318
+ "output_required": true,
8124
8319
  "type": "string",
8125
8320
  "value_allowed_null": true
8126
8321
  },
@@ -8130,7 +8325,7 @@
8130
8325
  "example": "2021-03-12 12:12:22",
8131
8326
  "member": "string",
8132
8327
  "name": "CreateTime",
8133
- "required": true,
8328
+ "output_required": true,
8134
8329
  "type": "string",
8135
8330
  "value_allowed_null": true
8136
8331
  },
@@ -8140,7 +8335,7 @@
8140
8335
  "example": "2021-03-12 12:12:22",
8141
8336
  "member": "string",
8142
8337
  "name": "UpdateTime",
8143
- "required": true,
8338
+ "output_required": true,
8144
8339
  "type": "string",
8145
8340
  "value_allowed_null": true
8146
8341
  },
@@ -8150,7 +8345,7 @@
8150
8345
  "example": "Allow",
8151
8346
  "member": "string",
8152
8347
  "name": "IsAllowQuit",
8153
- "required": true,
8348
+ "output_required": true,
8154
8349
  "type": "string",
8155
8350
  "value_allowed_null": true
8156
8351
  },
@@ -8160,7 +8355,7 @@
8160
8355
  "example": "\"\"",
8161
8356
  "member": "string",
8162
8357
  "name": "PayUin",
8163
- "required": true,
8358
+ "output_required": true,
8164
8359
  "type": "string",
8165
8360
  "value_allowed_null": true
8166
8361
  },
@@ -8170,7 +8365,7 @@
8170
8365
  "example": "\"\"",
8171
8366
  "member": "string",
8172
8367
  "name": "PayName",
8173
- "required": true,
8368
+ "output_required": true,
8174
8369
  "type": "string",
8175
8370
  "value_allowed_null": true
8176
8371
  },
@@ -8180,7 +8375,7 @@
8180
8375
  "example": "无",
8181
8376
  "member": "MemberIdentity",
8182
8377
  "name": "OrgIdentity",
8183
- "required": true,
8378
+ "output_required": true,
8184
8379
  "type": "list",
8185
8380
  "value_allowed_null": true
8186
8381
  },
@@ -8190,7 +8385,7 @@
8190
8385
  "example": "Unbound",
8191
8386
  "member": "string",
8192
8387
  "name": "BindStatus",
8193
- "required": true,
8388
+ "output_required": true,
8194
8389
  "type": "string",
8195
8390
  "value_allowed_null": true
8196
8391
  },
@@ -8200,9 +8395,19 @@
8200
8395
  "example": "Confirmed",
8201
8396
  "member": "string",
8202
8397
  "name": "PermissionStatus",
8203
- "required": true,
8398
+ "output_required": true,
8204
8399
  "type": "string",
8205
8400
  "value_allowed_null": true
8401
+ },
8402
+ {
8403
+ "disabled": false,
8404
+ "document": "成员标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
8405
+ "example": "[]",
8406
+ "member": "Tag",
8407
+ "name": "Tags",
8408
+ "output_required": false,
8409
+ "type": "list",
8410
+ "value_allowed_null": true
8206
8411
  }
8207
8412
  ],
8208
8413
  "usage": "out"
@@ -8550,7 +8755,7 @@
8550
8755
  "example": "1001",
8551
8756
  "member": "int64",
8552
8757
  "name": "NodeId",
8553
- "required": true,
8758
+ "output_required": true,
8554
8759
  "type": "int",
8555
8760
  "value_allowed_null": true
8556
8761
  },
@@ -8560,7 +8765,7 @@
8560
8765
  "example": "test",
8561
8766
  "member": "string",
8562
8767
  "name": "Name",
8563
- "required": true,
8768
+ "output_required": true,
8564
8769
  "type": "string",
8565
8770
  "value_allowed_null": true
8566
8771
  },
@@ -8570,7 +8775,7 @@
8570
8775
  "example": "1000",
8571
8776
  "member": "int64",
8572
8777
  "name": "ParentNodeId",
8573
- "required": true,
8778
+ "output_required": true,
8574
8779
  "type": "int",
8575
8780
  "value_allowed_null": true
8576
8781
  },
@@ -8580,7 +8785,7 @@
8580
8785
  "example": "test",
8581
8786
  "member": "string",
8582
8787
  "name": "Remark",
8583
- "required": true,
8788
+ "output_required": true,
8584
8789
  "type": "string",
8585
8790
  "value_allowed_null": true
8586
8791
  },
@@ -8590,7 +8795,7 @@
8590
8795
  "example": "2021-03-12 12:12:11",
8591
8796
  "member": "string",
8592
8797
  "name": "CreateTime",
8593
- "required": true,
8798
+ "output_required": true,
8594
8799
  "type": "string",
8595
8800
  "value_allowed_null": true
8596
8801
  },
@@ -8600,9 +8805,19 @@
8600
8805
  "example": "2021-03-12 12:12:11",
8601
8806
  "member": "string",
8602
8807
  "name": "UpdateTime",
8603
- "required": true,
8808
+ "output_required": true,
8604
8809
  "type": "string",
8605
8810
  "value_allowed_null": true
8811
+ },
8812
+ {
8813
+ "disabled": false,
8814
+ "document": "成员标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
8815
+ "example": "[]",
8816
+ "member": "Tag",
8817
+ "name": "Tags",
8818
+ "output_required": false,
8819
+ "type": "list",
8820
+ "value_allowed_null": true
8606
8821
  }
8607
8822
  ],
8608
8823
  "usage": "out"
@@ -10308,6 +10523,34 @@
10308
10523
  ],
10309
10524
  "usage": "out"
10310
10525
  },
10526
+ "Tag": {
10527
+ "document": "标签键值对",
10528
+ "members": [
10529
+ {
10530
+ "disabled": false,
10531
+ "document": "标签键\n注意:此字段可能返回 null,表示取不到有效值。",
10532
+ "example": "key",
10533
+ "member": "string",
10534
+ "name": "TagKey",
10535
+ "output_required": false,
10536
+ "required": true,
10537
+ "type": "string",
10538
+ "value_allowed_null": true
10539
+ },
10540
+ {
10541
+ "disabled": false,
10542
+ "document": "标签值\n注意:此字段可能返回 null,表示取不到有效值。",
10543
+ "example": "value",
10544
+ "member": "string",
10545
+ "name": "TagValue",
10546
+ "output_required": false,
10547
+ "required": true,
10548
+ "type": "string",
10549
+ "value_allowed_null": true
10550
+ }
10551
+ ],
10552
+ "usage": "both"
10553
+ },
10311
10554
  "TagComplianceDetails": {
10312
10555
  "document": "标签合规信息",
10313
10556
  "members": [
@@ -10536,6 +10779,60 @@
10536
10779
  ],
10537
10780
  "usage": "both"
10538
10781
  },
10782
+ "UpdateCustomPolicyForRoleConfigurationRequest": {
10783
+ "document": "UpdateCustomPolicyForRoleConfiguration请求参数结构体",
10784
+ "members": [
10785
+ {
10786
+ "disabled": false,
10787
+ "document": "空间 ID",
10788
+ "example": "z-29n23ien",
10789
+ "member": "string",
10790
+ "name": "ZoneId",
10791
+ "required": true,
10792
+ "type": "string"
10793
+ },
10794
+ {
10795
+ "disabled": false,
10796
+ "document": "权限配置 ID",
10797
+ "example": "rc-so2msow",
10798
+ "member": "string",
10799
+ "name": "RoleConfigurationId",
10800
+ "required": true,
10801
+ "type": "string"
10802
+ },
10803
+ {
10804
+ "disabled": false,
10805
+ "document": "权限策略名称,长度最大为 32 个字符。",
10806
+ "example": "TestPolicy",
10807
+ "member": "string",
10808
+ "name": "CustomPolicyName",
10809
+ "required": true,
10810
+ "type": "string"
10811
+ },
10812
+ {
10813
+ "disabled": false,
10814
+ "document": "自定义策略内容。长度:最大 4096 个字符。当RolePolicyType为Inline时,该参数必须配置。关于权限策略的语法和结构,请参见权限策略语法和结构。",
10815
+ "example": "{\\\"statement\\\":{\\\"action\\\":[\\\"name/cvm:*\\\",\\\"name/vpc:*\\\",\\\"name/cos:*\\\",\\\"name/cmqtopic:*\\\",\\\"name/cmqqueue:*\\\"],\\\"effect\\\":\\\"allow\\\",\\\"resource\\\":\\\"*\\\"},\\\"version\\\":\\\"2.0\\\"}",
10816
+ "member": "string",
10817
+ "name": "NewCustomPolicyDocument",
10818
+ "required": false,
10819
+ "type": "string"
10820
+ }
10821
+ ],
10822
+ "type": "object"
10823
+ },
10824
+ "UpdateCustomPolicyForRoleConfigurationResponse": {
10825
+ "document": "UpdateCustomPolicyForRoleConfiguration返回参数结构体",
10826
+ "members": [
10827
+ {
10828
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
10829
+ "member": "string",
10830
+ "name": "RequestId",
10831
+ "type": "string"
10832
+ }
10833
+ ],
10834
+ "type": "object"
10835
+ },
10539
10836
  "UpdateGroupRequest": {
10540
10837
  "document": "UpdateGroup请求参数结构体",
10541
10838
  "members": [
@@ -35,7 +35,7 @@
35
35
  "AddPermissionPolicyToRoleConfiguration": [
36
36
  {
37
37
  "document": "为权限配置添加策略",
38
- "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddPermissionPolicyToRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-29wm2iwn\",\n \"RoleConfigurationId\": \"rc-aiwmsiw\",\n \"RolePolicyType\": \"System\",\n \"RolePolicyNames\": [\n \"TestPolicy\"\n ],\n \"CustomPolicyDocument\": \"\"\n}",
38
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddPermissionPolicyToRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-29wm2iwn\",\n \"RoleConfigurationId\": \"rc-aiwmsiw\",\n \"RolePolicyType\": \"System\",\n \"RolePolicyNames\": [\n \"TestPolicy\"\n ],\n \"CustomPolicyDocument\": \"{\\\"statement\\\":{\\\"action\\\":[\\\"name/cvm:*\\\",\\\"name/vpc:*\\\",\\\"name/cos:*\\\",\\\"name/cmqtopic:*\\\",\\\"name/cmqqueue:*\\\"],\\\"effect\\\":\\\"allow\\\",\\\"resource\\\":\\\"*\\\"},\\\"version\\\":\\\"2.0\\\"}\"\n}",
39
39
  "output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
40
40
  "title": "为权限配置添加策略"
41
41
  }
@@ -608,6 +608,14 @@
608
608
  "title": "查询空间的统计信息"
609
609
  }
610
610
  ],
611
+ "InviteOrganizationMember": [
612
+ {
613
+ "document": "邀请成员",
614
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InviteOrganizationMember\n<公共请求参数>\n\n{\n \"Remark\": \"\",\n \"MemberUin\": 111111111111,\n \"Name\": \"member_name\",\n \"NodeId\": 1001,\n \"PermissionIds\": [\n 1,\n 2\n ],\n \"PolicyType\": \"Financial\",\n \"PayUin\": \"\"\n}",
615
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9be34d82-b614-4010-8cd8-d907b4d303f2\"\n }\n}",
616
+ "title": "邀请成员"
617
+ }
618
+ ],
611
619
  "ListExternalSAMLIdPCertificates": [
612
620
  {
613
621
  "document": "查询SAML签名证书列表",
@@ -832,6 +840,14 @@
832
840
  "title": "配置SAML身份提供商信息"
833
841
  }
834
842
  ],
843
+ "UpdateCustomPolicyForRoleConfiguration": [
844
+ {
845
+ "document": "为权限配置修改自定义策略",
846
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCustomPolicyForRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-fdk3o32kqw\",\n \"RoleConfigurationId\": \"rc-sin23wj29s\",\n \"CustomPolicyName\": \"test\",\n \"NewCustomPolicyDocument\": \"{\\\"statement\\\":{\\\"action\\\":[\\\"name/cvm:*\\\",\\\"name/vpc:*\\\",\\\"name/cos:*\\\",\\\"name/cmqtopic:*\\\",\\\"name/cmqqueue:*\\\"],\\\"effect\\\":\\\"allow\\\",\\\"resource\\\":\\\"*\\\"},\\\"version\\\":\\\"2.0\\\"}\"\n}",
847
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
848
+ "title": "为权限配置修改自定义策略"
849
+ }
850
+ ],
835
851
  "UpdateGroup": [
836
852
  {
837
853
  "document": "修改用户组信息",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1196.1
3
+ Version: 3.0.1197.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1196
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1197
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介
@@ -1,4 +1,4 @@
1
- tccli/__init__.py,sha256=RfNpSezFdrT6_fjgjedLnkoZzQxtakQSO0Vm99P-rMY,27
1
+ tccli/__init__.py,sha256=nZ6JqZP7ftkOBiQy5X8LpVh75JJ98DnKGx2eddpMRUY,27
2
2
  tccli/argparser.py,sha256=iFaw_iIMdyVwUdcv2_2OHQfe7-7j9yGzoOgXgXswoBo,5555
3
3
  tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
4
4
  tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
@@ -524,7 +524,7 @@ tccli/services/hcm/v20181106/api.json,sha256=9Jxpj-fhbXJGkO_nCVUL4nlhcfMICA3snOG
524
524
  tccli/services/hcm/v20181106/examples.json,sha256=TKTLt4hcnqYSjpxTCwtJyoFUc2I23ySZL0Ar-aa6v98,1466
525
525
  tccli/services/hunyuan/__init__.py,sha256=ZWaLaByP6wMQSS7nntZKqol4lzuJKslQFdB4Bv3kYwU,93
526
526
  tccli/services/hunyuan/hunyuan_client.py,sha256=hjP8FO9uEP_X2RwGjs1fFoYDZpfwhqAmnxCAgL1fqsA,36465
527
- tccli/services/hunyuan/v20230901/api.json,sha256=afmg5wFTdhEg6PG_0c-VfajC9VndVfcFuOoWrLI8nDI,63468
527
+ tccli/services/hunyuan/v20230901/api.json,sha256=6tT1Ds1XHBNQ52cRKeHdy8CSq9yzSg-JS36heNY3Wkc,63578
528
528
  tccli/services/hunyuan/v20230901/examples.json,sha256=2p0zZQWASh0FQcCcWQmhUr-KVq6Q2RfKQ0CV7i3k_Jk,36754
529
529
  tccli/services/iai/__init__.py,sha256=pyYHUQUj82fBZdJ7cEUsTpy6VP8aU0siS32k7-3aM9Q,85
530
530
  tccli/services/iai/iai_client.py,sha256=Heo7mlB-dWK2PDDh7vZnRQsFwGlRVozdo-jk6Hl3pgo,113648
@@ -723,11 +723,11 @@ tccli/services/omics/omics_client.py,sha256=D589nMlFbMtuOazg_7UEh3YYfTHvnDwjI-0J
723
723
  tccli/services/omics/v20221128/api.json,sha256=D0vg37s5PPbL56l2KzNrp70YJNRAvwnTy1Pk3touthU,107208
724
724
  tccli/services/omics/v20221128/examples.json,sha256=3WRc7Du_jQ_aUUU0KT0nsoLyua59MrjUJFW-VEAzxl8,29446
725
725
  tccli/services/organization/__init__.py,sha256=ctNPQB07daPeppmKKoViB5ommtY2F8xr2Ks2I9WGWCE,103
726
- tccli/services/organization/organization_client.py,sha256=IOYouVELmVuxwjHkuZ44f8Ek2Tiw-9erfl7z_lgsPuA,405394
726
+ tccli/services/organization/organization_client.py,sha256=5MjVRKkCYQ8SpKATHKUBBigJaawlLEga1AOX0sHU_oM,411716
727
727
  tccli/services/organization/v20181225/api.json,sha256=Bq0n7euJrpJ9MQeruDyZyC2eM0T8b1ZepvhVZVK_Oto,37473
728
728
  tccli/services/organization/v20181225/examples.json,sha256=7vLd0IMYvL3fUbl0tzptov0jTz_K_v4afVjhdQ626Yw,9513
729
- tccli/services/organization/v20210331/api.json,sha256=P2dkDO1u0727mrqx9zSlWZmNrSxkUigh0M1un9O5hxo,414099
730
- tccli/services/organization/v20210331/examples.json,sha256=ll7g11p7YkSr8cD73ywtZ_QyeWB5cPvd9qA3W06Wo6E,95562
729
+ tccli/services/organization/v20210331/api.json,sha256=DKyFsFvvRgJgOflrbpcjbSdt--WqfEnnkmHh2IsMuMA,424300
730
+ tccli/services/organization/v20210331/examples.json,sha256=m0KlyDUhRZrEb0xf62IP4hD3JjTClajL_oIB92064hQ,97317
731
731
  tccli/services/partners/__init__.py,sha256=AP1gFrD80rauxk19ybZuAoeHwKlORcA0SSd0lWV4MQM,95
732
732
  tccli/services/partners/partners_client.py,sha256=X_58_RrKS4JMa4bEiwzkHuKPeqyVaZbAVzziGy8COOs,64685
733
733
  tccli/services/partners/v20180321/api.json,sha256=RkXC-eBnPmi-j0eP-P84VLrtHd2ae4PypouAGgZb9bY,86136
@@ -1124,8 +1124,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
1124
1124
  tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
1125
1125
  tccli/services/yunsou/v20191115/api.json,sha256=r_p7c7fMNylQVDpSN0CkUB4Cx1nYW1lI3BM_Zi50FNs,15932
1126
1126
  tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
1127
- tccli-3.0.1196.1.dist-info/METADATA,sha256=Q4UW31i50d0Ithenkrz6AWzSz40aaQ5WYOq9VnIDVbY,16172
1128
- tccli-3.0.1196.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
1129
- tccli-3.0.1196.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
1130
- tccli-3.0.1196.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1131
- tccli-3.0.1196.1.dist-info/RECORD,,
1127
+ tccli-3.0.1197.1.dist-info/METADATA,sha256=bdOF7KIzk2M-qEvI_obXPOauw4EGxx9ezTgZWEfOadc,16172
1128
+ tccli-3.0.1197.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
1129
+ tccli-3.0.1197.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
1130
+ tccli-3.0.1197.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1131
+ tccli-3.0.1197.1.dist-info/RECORD,,