{"base_path":null,"components":null,"consumes":"","definitions":{"Dataset":{"description":"文件集","properties":{"catalog_id":{"description":"catalogID","maxLength":24,"minLength":1,"type":"string"},"catalog_name":{"description":"catalog名称","example":"catalog1","maxLength":256,"minLength":1,"pattern":"[a-zA-Z0-9_]+","type":"string"},"create_time":{"description":"数据集创建时间","format":"date-time","type":"string"},"database_id":{"description":"数据库ID。","maxLength":24,"minLength":1,"type":"string"},"database_name":{"description":"数据库名称。","example":"db1","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_-]*$","type":"string"},"dataset_format":{"$ref":"#/definitions/DatasetFileFormat"},"dataset_id":{"description":"DatasetID","maxLength":24,"minLength":1,"type":"string"},"dataset_name":{"description":"数据集名称","example":"testfileset","maxLength":256,"minLength":1,"pattern":"[a-zA-Z0-9_]+","type":"string"},"description":{"description":"数据集的描述信息","example":"this is a fileset","maxLength":2048,"pattern":"[\\u0020-\\uD7FF\\uFF00-\\uFFFF\\u000A\\u000D]+","type":"string"},"location":{"description":"外置存储类型的元数据存储位置","example":"obs://location/uri/","maxLength":4000,"pattern":"^(obs|aihub)://.+/.+$","type":"string"},"owner":{"description":"Dataset所有者","example":"testowner","maxLength":128,"minLength":0,"pattern":"[a-zA-Z0-9_]+","type":"string"},"owner_source":{"description":"所有者来源,IAM-云用户,SAML-联邦,LDAP-ld用户,LOCAL-本地用户,AGENTTENANT-委托,OTHER-其它。LakeFormation服务一期实例响应Body无该参数。","enum":["IAM","SAML","LDAP","LOCAL","AGENTTENANT","OTHER"],"example":"IAM","type":"string"},"owner_type":{"description":"所有者类型,USER-用户,GROUP-组,ROLE-角色。LakeFormation服务一期实例响应Body无该参数。","enum":["USER","ROLE","GROUP"],"example":"USER","type":"string"},"properties":{"additionalProperties":{"maxLength":409600,"pattern":"[\\u0020-\\uD7FF\\uFF00-\\uFFFF]+","type":"string"},"description":"数据集其他属性","type":"object"},"storage_type":{"description":"数据集存储类型:EXTERNAL-外置存储,MANAGED-系统托管存储","enum":["EXTERNAL","MANAGED"],"example":"EXTERNAL","type":"string"},"update_time":{"description":"数据集修改时间","format":"date-time","type":"string"}},"required":["catalog_name","dataset_name"],"type":"object"},"DatasetFileFormat":{"description":"文件类型","properties":{"content_types":{"description":"文件内容类型。行存文件格式,format为ROW时设置,可选值: CSV-Comma Separated Values文件,JSONL-Json对象行文件,AVRO-AVRO行存文件\n图片文件格式,format为IMAGE时设置,可选值: JPG-JPG图片,PNG-PNG图片,TIFF-TIFF图片\n音频文件格式,format为AUDIO时设置,可选值: WAV-WAV音频,MP3-MP3音频,FLAC-FLAC音频\n视频文件格式,format为VIDEO时设置,可选值: MP4-MP4视频,MOV-MOV视频,AVI-AVI视频","example":"CSV","items":{"type":"string"},"maxItems":64,"minItems":0,"type":"array"},"format":{"description":"文件格式:\nROW-行存储文件,\nTEXT-无格式文本文件,\nIMAGE-图片文件,\nAUDIO-音频文件,\nVIDEO-视频文件,\nCUSTOM-其他文件","enum":["ROW","TEXT","IMAGE","AUDIO","VIDEO","CUSTOM"],"example":"ROW","type":"string"}},"required":["format","content_types"],"type":"object"},"Error":{"description":"失败403时返回的错误对象。","properties":{"code":{"description":"状态码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_code":{"description":"错误码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","example":"failed","maxLength":4096,"minLength":0,"type":"string"},"message":{"description":"错误信息。","example":"X-Auth-Token is invalid in the request","maxLength":4096,"minLength":0,"type":"string"},"title":{"description":"标题。","example":"Forbidden","maxLength":36,"minLength":0,"type":"string"}},"type":"object"},"ErrorForbiddenMessage":{"description":"失败403时返回的错误对象。","properties":{"error":{"$ref":"#/definitions/Error","description":"错误信息。"},"error_code":{"description":"错误码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","example":"X-Auth-Token is invalid in the request","maxLength":4096,"minLength":2,"type":"string"},"title":{"description":"标题。","example":"Forbidden","maxLength":1024,"minLength":0,"type":"string"}},"required":["error","error_code","error_msg","title"],"type":"object"},"ErrorMessage":{"description":"失败时返回的错误对象","properties":{"common_error_code":{"description":"CBC公共错误码","example":"CMM.1008","maxLength":36,"minLength":1,"type":"string"},"error_code":{"description":"错误码","example":"lakeformation.00010003","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"failed","maxLength":4096,"minLength":2,"type":"string"},"solution_msg":{"description":"解决方案描述","example":"Please use correct instance id.","maxLength":4096,"minLength":2,"type":"string"}},"required":["error_code","error_msg"],"type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"b1c5f94955e64cba8b604ba480b21cb9","info_version":"v1","method":"get","name":"ShowDataset","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/{database_name}/datasets/{dataset_name}":{"get":{"deprecated":false,"description":"按名称获取数据集信息详情。","operationId":"ShowDataset","parameters":[{"description":"**参数解释:**\n租户token。\n**约束限制:**\n数组元素个数为1~100\n**取值范围:**\n数组元素个数为1~100\n**默认取值:**\n不涉及","in":"header","items":{"type":"string"},"maxItems":100,"minItems":1,"name":"X-Auth-Token","required":true,"type":"array"},{"description":"**参数解释:**\n项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。\n**约束限制:**\n长度为1~64个字符\n**取值范围:**\n长度为1~64个字符\n**默认取值:**\n不涉及","in":"path","maxLength":64,"minLength":1,"name":"project_id","pattern":"^[a-z0-9]+$","required":true,"type":"string"},{"description":"**参数解释:**\nLakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"path","name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$|default","required":true,"type":"string"},{"description":"**参数解释:**\ncatalog名称。\n**约束限制:**\n只能包含字母、数字和下划线,且长度为1~256个字符。\n**取值范围:**\n长度为1~256个字符\n**默认取值:**\n不涉及","in":"path","maxLength":256,"minLength":1,"name":"catalog_name","pattern":"^[a-zA-Z_0-9]+$","required":true,"type":"string"},{"description":"**参数解释:**\n数据集名称。\n**约束限制:**\n只能包含中文、字母、数字、下划线、中划线,且长度为1~256个字符。\n**取值范围:**\n长度为1~256个字符\n**默认取值:**\n不涉及","in":"path","maxLength":256,"minLength":1,"name":"dataset_name","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_-]*$","required":true,"type":"string"},{"description":"**参数解释:**\n数据库名称。\n**约束限制:**\n只能包含中文、字母、数字、下划线、中划线,且长度为1~128个字符。\n**取值范围:**\n长度为1~128个字符\n**默认取值:**\n不涉及","in":"path","maxLength":128,"minLength":1,"name":"database_name","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_-]*$","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"catalog_id":"string","catalog_name":"catalog1","create_time":"2024-02-28T08:28:23.288Z","dataset_format":{"content_types":["PNG","CSV"],"format":"ROW"},"dataset_id":"string","dataset_name":"testfileset","description":"this is a fileset","location":"obs://location/uri/","owner":"testowner","owner_source":"IAM","owner_type":"USER","properties":{"additionalProp1":"string","additionalProp2":"string","additionalProp3":"string"},"storage_type":"EXTERNAL","update_time":"2024-02-28T08:28:23.288Z"}},"schema":{"$ref":"#/definitions/Dataset"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"common.01000001","error_msg":"failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"401":{"description":"Unauthorized","examples":{"application/json":{"error_code":"APIG.1002","error_msg":"Incorrect token or token resolution failed"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"403":{"description":"Forbidden","examples":{"application/json":{"error":{"code":"403","error_code":null,"error_msg":null,"message":"X-Auth-Token is invalid in the request","title":"Forbidden"},"error_code":"403","error_msg":"X-Auth-Token is invalid in the request","title":"Forbidden"}},"schema":{"$ref":"#/definitions/ErrorForbiddenMessage"}},"404":{"description":"Not Found","examples":{"application/json":{"error_code":"common.01000001","error_msg":"response status exception, code: 404"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"408":{"description":"Request Timeout","examples":{"application/json":{"error_code":"common.00000408","error_msg":"timeout exception occurred"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"common.00000500","error_msg":"internal error"}},"schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"获取数据集信息详情","tags":["Dataset"],"x-apiexplorer-hide":"N","x-apigw-publish":"Y","x-iam-auth-meta-anno":{"abacAction":"lakeformation:dataset:describe","authLevel":"INSTANCE","model":"v3","needAbacCheck":true,"needAbacResourceCheck":false,"needCbcCheck":false,"needRbacCheck":false,"supportAllGrantedEps":false},"x-imports":["com.huawei.lakeformation.common.annotation.ApiCount;"],"x-is-registered":"Y","x-method-annotations":["@ApiCount"],"x-order":2,"x-request-examples-url-1":"GET https://{endpoint}/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/{database_name}/datasets/{dataset_name}","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取数据集信息详情","tags":"Dataset","uri":null,"version":"2.0"}