MENU
      getCloudHadoopObjectList

        getCloudHadoopObjectList


        Article summary

        Available in VPC

        Searches for the file list of the Object Storage bucket that can be used in Cloud Hadoop.

        Requests

        Request Parameters

        Parameter NameRequirement StatusTypeRestrictionsDescription
        regionCodeNoString- 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.
        bucketNameYesString- Bucket name
        - Refers to a space to store data in Object Storage
        The bucketName can be obtained by the getCloudHadoopInstanceList action.
        prefixNoString- Prefix of the object name to search
        - Limits the response to object names starting with the prefix.
        delimiterNoString- Position separator of the object structure
        - Binds the objects between the prefix and delimiter together.
        maxKeysNoString- Limits the number of objects to be displayed in the response.
        markerNoString- Specifies objects from place where the list should start, in the UTF-8 binary order.
        responseFormatTypeNoString- 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"
        }
        JSON

        Responses

        Response bodies

        Errors

        See Cloud Hadoop(VPC) overview.

        Examples

        Request Examples

        GET {API_URL}/getCloudHadoopObjectList
        ?regionCode=KR
        &bucketName=test***
        HTTP

        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"
          }
        }
        JSON
        <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>
        XML

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.