For information about using variables, refer to "variables".
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Enter the name on the script canvas. |
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Destination | Required | Not available | Select Global Resources.
|
|
| Bucket name | Required | Available | Specify Bucket. |
|
| Folder path | Required | Available | Enter Amazon S3 folder path. |
|
| File/folder name | Required | Available | Specify file /folder. |
|
| Local directory | Required | Available | Specify a directory path of DataSpider filesystem. Select a directory in the directory Selectr that is launched by pressing [Browse] button. |
|
| Overwrite | Optional | Not available | Select whether to overwrite when file with the same name exists on the specified local directory.
|
|
| Replace invalid file name | Optional | Not available | Select whether to replace a name of a file/folder on Amazon S3 when the name of the file/folder has Constrained characters of DataSpider File System or tabs.
|
|
| Recursive processing | Optional | Not available | For a specified folder, select whether to get the file/folder recursively or not.
|
|
| Include permissions in result | Optional | Not available | Select whether to include file access right information in the results.
|
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Secret Key | Optional | Available | Enter file path of Secret Key to decrypt client encrypted file.
Click [Browse] button to activate the file Selectr and Select the file. |
|
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Mass data processing | Required | Not available | Select a data processing method.
|
| 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. |
<?xml version="1.0"?>
<server>
<bucket name="" status="" >
<file etag="" localpath="" name="" public="" remotepath="" size="" status="" storageclass="" type="" updated="" />
</bucket>
</server>
| Element Name | Attribute Name | Description | Remarks |
|---|---|---|---|
| server | - | ||
| bucket | - | Appear in each Bucket which is gotten. | |
| name | Output the name of the retrieved bucket. | ||
| status | Output the status of the retrieved bucket.
|
||
| file | - | Appear in each gotten file/folder. | |
| etag | Outputs the ETag of the retrieved file/folder. |
|
|
| localpath | Outputs the local path of the retrieved file/folder. |
|
|
| name | Output the name on Amazon S3 of the retrieved file/ folder. |
|
|
| public |
Output access right of retrieved files/folder.
|
|
|
| remotepath | Output file path on Amazon S3 of the retrieved file/folder. |
|
|
| size | Outputs the size of the file/folder retrieved. The unit is byte. |
|
|
| status | Output the status of the gotten file/folder.
|
||
| storageclass |
Output Storage Class of the gotten file/folder.
|
|
|
| type | Output the classification of gotten file/folder.
|
||
| updated | Output the last updated date of the retrieved file/folder. |
|
See "Edit Schema" for details with regards to defining a schema.
| Component variable name | Description | Remarks |
|---|---|---|
| count | Return the number which is the total number of the gotten folder number and file number. |
|
| folder_count | Returns the number of retrieved folder. |
|
| file_count | Returns the number of retrieved file. |
|
| message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
| message_code | Stores its corresponding message code of occured error. |
|
| message_level | Stores the severity of the corresponding message code of the occured error. |
|
| error_type | Stores the type of the occured error. |
|
| error_message | Stores the error message for the occured error. |
|
| error_trace | Stores stack trace of the occurred error. |
|
| Unable to build cipher: Illegal key size Make sure you have the JCE unlimited strength policy files installed and configured for your JVM |
We recommend taking backups of policy file just in case.| Exception name | Causes | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition could not be found.Name: [] |
[Destination] is not specified. | Please specify [Destination]. |
| ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Destination] is not found. | Please check the global resource specified in [Destination]. |
| InvalidPropertyConfigurationException <Property Name> is not specified. |
[<Property Name>] is not specified. | Please specify [<Property Name>]. |
| InvalidPropertyConfigurationException "/" is included in file/folder name. |
"/" is included in [File/folder name]. | In [File/folder name], please specify the file/folder name which do not include "/". |
| InvalidPropertyConfigurationException Specified secret key does not exist. |
File path specified in [Secret Key] does not exist.; | Specify the existing file path to [Secret Key]. |
| InvalidPropertyConfigurationException Specified secret key is directory. |
[Secret Key] is set as directory path. | Specify file path for [Secret Key]. |
| Status Code: 403, AWS Request ID: XXXXXXXXXXXXXXXX, AWS Error Code: InvalidAccessKeyId, AWS Error Message: The AWS Access Key Id you provided does not exist in our records., S3 Extended Request ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | [Access Key ID] of global resources specified in [Destination] is not correct. | Check the settings of the global resource specified in [Destination]. |
| Status Code: 403, AWS Request ID: XXXXXXXXXXXXXXXX, AWS Error Code: SignatureDoesNotMatch, AWS Error Message: The request signature we calculated does not match the signature you provided. Check your key and signing method., S3 Extended Request ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | [Secret Access Key] of the global resources specified in [Destination] is incorrect. | Check the settings of the global resource specified in [Destination]. |
| com.amazonaws.SdkClientException Unable to execute HTTP request: <endpoint> |
[Endpoint] of the global resource specified in [Destination] is incorrect. | Check the settings of the global resource specified in [Destination]. |
| Key | Location | Description | Remarks |
|---|---|---|---|
| itemmaxsize | $DATASPIDER_HOME/server/plugin/data_processing/modules/amazon_s3_adapter/META-INF/ adapter.properties |
The setting procedure is as follows.
|
|