{"base_path":null,"components":null,"consumes":"","definitions":{"AccessClientInfo":{"description":"接入客户端信息","properties":{"access_connections":{"description":"接入连接列表","items":{"$ref":"#/definitions/AccessConnectionInfo"},"maxItems":100000,"minItems":0,"type":"array"},"access_mode":{"description":"接入模式,SYSTEM,CUSTOM,AUTO","enum":["SYSTEM","CUSTOM","AUTO"],"type":"string"},"create_time":{"description":"实例创建时间戳","format":"date-time","type":"string"},"id":{"description":"客户端ID","maxLength":65534,"minLength":0,"type":"string"},"name":{"description":"客户端名称","maxLength":65534,"minLength":0,"type":"string"},"status":{"description":"客户端状态,CREATING,RUNNING,DELETING,DELETED,CREATE_FAIL,DELETE_FAIL","enum":["CREATING","RUNNING","DELETING","DELETED","CREATE_FAIL","DELETE_FAIL"],"type":"string"},"subnet_id":{"description":"子网ID","maxLength":65534,"minLength":0,"type":"string"},"vpc_id":{"description":"VPC ID","maxLength":65534,"minLength":0,"type":"string"}}},"AccessClientRequestBody":{"description":"创建接入客户端的请求信息","properties":{"access_connections":{"description":"接入连接列表","items":{"$ref":"#/definitions/AccessConnectionRequestBody"},"maxItems":100,"minItems":0,"type":"array"},"access_mode":{"default":"SYSTEM","description":"接入模式,\nSYSTEM:系统默认模式,由系统自动创建vpcep连接,也是推荐方式。该模式下vpc_id、subnet_id必填。\nCUSTOM:定制模式,由外部服务自行创建vpcep连接,适用于跨租户场景等。该模式下access_connection必填。","enum":["SYSTEM","CUSTOM"],"type":"string"},"name":{"description":"客户端名称","example":"LakeFormation_client","maxLength":32,"minLength":4,"pattern":"^[A-Za-z0-9_-]{4,32}$","type":"string"},"subnet_id":{"description":"子网ID","pattern":"^[a-zA-Z0-9-]{36}$","type":"string"},"vpc_id":{"description":"VPC ID","pattern":"^[a-zA-Z0-9-]{36}$","type":"string"}},"required":["name"],"type":"object"},"AccessConnectionInfo":{"description":"接入连接信息","properties":{"domain":{"description":"接入域名,通过IP接入访问Lakeformation API时,需在请求头中添加HOST参数并传入该域名。","maxLength":65534,"minLength":0,"type":"string"},"ip":{"description":"接入IP","maxLength":65534,"minLength":0,"type":"string"},"owner":{"description":"拥有者","maxLength":65534,"minLength":0,"type":"string"},"vpcep_id":{"description":"虚拟私有云终端节点ID。在 接入管理-创建客户端-前往VPC创建-VPC终端节点 创建和查看。","maxLength":65534,"minLength":0,"type":"string"}}},"AccessConnectionRequestBody":{"description":"创建接入连接的请求信息","properties":{"domain":{"description":"接入域名,通过IP接入访问Lakeformation API时,需在请求头中添加HOST参数并传入该域名。","maxLength":100,"minLength":0,"type":"string"},"vpcep_id":{"description":"虚拟私有云终端节点ID。在 接入管理-创建客户端-前往VPC创建-VPC终端节点 创建和查看。","maxLength":64,"minLength":0,"type":"string"},"vpcep_service_name":{"description":"终端节点服务名称。最大长度为64个字符。","maxLength":64,"minLength":0,"type":"string"}}}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"396d9df4d34940ec966857aea29fd4fd","info_version":"v1","method":"post","name":"CreateAccessClient","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/access-clients":{"post":{"consumes":["application/json"],"description":"创建服务接入客户端。\n其他限制:\n 同一个实例下默认最多创建20个接入客户端。","operationId":"CreateAccessClient","parameters":[{"description":"租户token","in":"header","maxLength":65534,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIjxxxxxxxxxxxxxxxxxxxxxxxx4qA="},{"description":"项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。","in":"path","name":"project_id","pattern":"^[0-9a-zA-Z]{32}$","required":true,"type":"string","x-example":"41aaxxxxxxxxxxxxxxxxxxxxxxxcc046"},{"description":"LakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。","in":"path","name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$","required":true,"type":"string","x-example":"d3fcxxxxxxxxxxxxxxxxxxxxxxxxxxxx8f1e"},{"description":"申请接入信息","in":"body","name":"CreateAccessClientRequestBody","required":true,"schema":{"$ref":"#/definitions/AccessClientRequestBody"}}],"produces":["application/json"],"responses":{"202":{"description":"Created","examples":{"application/json":{"access_mode":"SYSTEM","id":"gs23xxxxxxxxxxxxxxxxxxxxxxxxxxxxfgs2","name":"lakeformation_client","status":"CREATING","subnet_id":"d3fcxxxxxxxxxxxxxxxxxxxxxxxxxxxx8f1e","vpc_id":"d3fcxxxxxxxxxxxxxxxxxxxxxxxxxxxx8f1e"}},"schema":{"$ref":"#/definitions/AccessClientInfo"}}},"summary":"创建服务接入客户端","tags":["Access"],"x-apiexplorer-hide":"N","x-cts-meta-anno":{"isAsyncApi":"true","resourceType":"Instance","traceName":"createAccessClient"},"x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:instance:access","authLevel":"instance","rbac":"te_admin"},"x-is-registered":"Y","x-request-examples-1":{"name":"lakeformation_client","subnet_id":"d3fcxxxxxxxxxxxxxxxxxxxxxxxxxxxx8f1e","vpc_id":"d3fcxxxxxxxxxxxxxxxxxxxxxxxxxxxx8f1e"},"x-request-examples-text-1":{"name":"name-example","subnet_id":"subnet-example","vpc_id":"vpc-example"},"x-request-examples-url-1":"POST https://{endpoint}/v1/{project_id}/instances/{instance_id}/access-clients","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建服务接入客户端","tags":"接入管理","uri":null,"version":"2.0"}