getCloudHadoopObjectList
- Print
- PDF
getCloudHadoopObjectList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Searches for the file list of the Object Storage bucket that can be used in Cloud Hadoop.
Requests
Request Parameters
Parameter Name | Requirement Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code - Able to determine a region to test whether the Hive metastore can be connected - The regionCode can be obtained by the getRegionList action. Default: the first Region of the getRegionList search results is selected. | |
bucketName | Yes | String | - Bucket name - Refers to a space to store data in Object Storage The bucketName can be obtained by the getCloudHadoopInstanceList action. | |
prefix | No | String | - Prefix of the object name to search - Limits the response to object names starting with the prefix. | |
delimiter | No | String | - Position separator of the object structure - Binds the objects between the prefix and delimiter together. | |
maxKeys | No | String | - Limits the number of objects to be displayed in the response. | |
marker | No | String | - Specifies objects from place where the list should start, in the UTF-8 binary order. | |
responseFormatType | No | String | - Format type of the response result - Options: xml | json - Default: xml |
Request bodies
{
"regionCode": "string",
"bucketName": "string",
"prefix": "string",
"delimiter": "string",
"maxKeys": "string",
"marker": "string",
"responseFormatType": "string"
}
Responses
Response bodies
Errors
See Cloud Hadoop(VPC) overview.
Examples
Request Examples
GET {API_URL}/getCloudHadoopObjectList
?regionCode=KR
&bucketName=test***
Response examples
{
"getCloudHadoopObjectListResponse": {
"commonPrefixList": [],
"cloudHadoopObjectList": [
{
"key": "api-xxx-xxxxx.PNG",
"lastModified": "2023-06-15T14:03:33+0900",
"size": 248729
}
],
"requestId": "d9d326ed-63ac-4f43-a548-e09daec0a96b",
"returnCode": "0",
"returnMessage": "success"
}
}
<getCloudHadoopObjectListResponse>
<requestId>d3b26cc2-d47e-4a97-9e9b-468dac851fb4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<commonPrefixList/>
<cloudHadoopObjectList>
<cloudHadoopObject>
<key>20210916-dasd002.backup.tar.gz</key>
<lastModified>2021-09-16T14:45:23+0900</lastModified>
<size>10142</size>
</cloudHadoopObject>
<cloudHadoopObject>
<key>CONFIG-BACKUP/</key>
<lastModified>2021-11-09T18:08:23+0900</lastModified>
<size>0</size>
</cloudHadoopObject>
</cloudHadoopObjectList>
</getCloudHadoopObjectListResponse>
Was this article helpful?