Get Bucket List

Operation Name

Get Bucket List

Function Overview

Gets the backet list.

Data Model

XML type.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select global resource.
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input Schema

None.

Output Schema

<?xml version="1.0"?>
<server>
  <bucket errorcode="" name="" status="" />
</server>
Element name Attribute name Description Remarks
server -    
bucket - Appears in each Bucket which is gotten.  
errorcode When an error occur in Niftycloud Storage during getting a bucket, APT error code is output which is defined at Niftycloud Storage.
  • When an error does not occur in Niftycloud Storage, there is a blank.
  • For more details about API error code defined in Niftycloud Storage, refer to (http://cloud.nifty.com/api/storage/errorcode.htm).
name Outputs the name of the gotten backet.  
status Outputs the status of the gotten backet.
  • Exist: Status that the Bucket exists.
  • Error: Status that bucket could not be obtained due to the occured error.
 

Loading Schema on Mapper

Schema is loaded automatically.
For more details, refer to "Edit Schema".

Mass Data Processing

Mass data processing is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
count Returns the number of retrieved Bucket.
  • Default value is null.
message_category Stores the category of message code corresponding to the occured error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occured error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occured error.
  • Default value is null.
error_type Returns the error type when error occurred.
  • Default value is null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on the DataSpider Servista version.
error_message Returns the error message when error occurred.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Returns the trace information when error occurred.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Specification Limits

None.

Main Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition could not be found.Name: []
[Destination]is not specified. Specify[Destination].
ResourceNotFoundException
Resource definition could not be found.Name:[<name of global resource>]
Resource definition selected in [Destination]is not found. Confirm the global resource specified in [Destination].
com.nifty.cloud.ncs.service.StorageException
The Access Key Id you provided does not exist in our records.
[AccessKey] of global resource specified in [Destination] is wrong. Confirm the settings of global resource specified in [Destination].
com.nifty.cloud.ncs.service.StorageException
The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.
[SecretAccessKey] of global resource specified in [Destination] is wrong. Confirm the settings of global resource specified in [Destination].
com.nifty.cloud.ncs.NiftyCloudClientException
Failed to execute HTTP request: Connect to ncss.nifty.com/ncss.nifty.com/xxx.xxx.xxx.xxx timed out
Connection with Niftycloud Storage could not be confirmed during [Timeout] of global resource specified in [Destination] . Confirm the settings of global resource specified in [Destination].
com.nifty.cloud.ncs.NiftyCloudClientException
Failed to execute HTTP request: peer not authenticated
Certification with Niftycloud Storage could not be confirmed during [Timeout] of global resource specified in [Destination] . Confirm the settings of global resource specified in [Destination].

Notes