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 a global resource.
![]()
|
|
Copy source bucket name | Required | Available | Select or enter a copy source bucket. |
|
Copy source folder path | Required | Available | Select or enter Amazon S3 folder path of copy source. |
|
Copy source file/folder name | Required | Available | Select or enter a copy source file/folder. |
|
Copy destination bucket name | Required | Available | Select or enter a copy destination bucket. |
|
Create copy destination bucket when it doesn't exist | Optional | Not Available | Select whether to create a bucket when the specified copy destination bucket doesn't exist.
|
|
Copy destination folder path | Required | Available | Select or enter Amazon S3 folder path of copy destination. |
|
Create copy destination folder when it doesn't exist | Optional | Not Available | Select whether to create folder when the specified copy destination folder doesn't exist.
|
|
Copy destination file/folder name | Optional | Available | Select or enter a copy destination file/folder. |
|
Overwrite a copy destination file when it exists | Optional | Not Available | Select whether to overwrite the file when a file with the same name exists on the specified copy destination folder.
|
|
Include permissions in result | Optional | Not Available | Select whether to include information of copy destination file/folder access rights in the result.
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Data processing method | Required | Not Available | Select the 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 source_name="" destination_name="" status="" > <file etag="" name="" public="" source_remotepath="" destination_remotepath="" size="" status="" storageclass="" type="" source_updated="" destination_updated="" /> </bucket> </server>
Element name | Attribute name | Description | Remarks |
---|---|---|---|
server | - | ||
bucket | - | Bucket that has been get appears. | |
source_name | Outputs the copy source bucket name that has been get. | ||
destination_name | Outputs the copy destination bucket name that has been get. | ||
status | Outputs the bucket status of copy source and copy destination that has been get.
|
||
file | - | It appears for each copied file/folder. | |
etag | Outputs ETag of the copied file/folder. |
|
|
name | Outputs the name of the copied file/folder. |
|
|
public |
Outputs the access right of copied file/folder.
|
|
|
source_remotepath | Outputs the file path available on Amazon S3 of copy source file/folder. | ||
destination_remotepath | Outputs the file path available on Amazon S3 of copy destination file/folder. | ||
size | Outputs the size of the copied file/folder. The unit is byte. |
|
|
status | Outputs the status of copy source and copy destination file/folder.
|
||
storageclass |
Outputs the Storage Class of the copied file/folder.
|
|
|
type | Outputs the type of the copied file/folder.
|
||
source_updated | Outputs the last modified date and time of the copy source file/folder. |
|
|
destination_updated | Outputs the last modified date and time of the copy destination file/folder. |
|
Component variable name | Description | Remarks |
---|---|---|
count | Number of copied files and folders is stored. |
|
folder_count | The number of copied folders are stored. |
|
file_count | The number of copied files are stored. |
|
message_category | When an error occurs, the category of the message code corresponding to the occurred error is stored. |
|
message_code | When an error occurs, the code of the message code corresponding to the occurred error is stored. |
|
message_level | When an error occurs, the severity of the message code corresponding to the occurred error is stored. |
|
error_type | When an error occurs, the type of the occurred error is stored. |
|
error_message | When an error occurs, the message of the occurred error is stored. |
|
error_trace | When an error occurs, the trace information of the occurred error is stored. |
|
Exception Name | Cause | Measures |
---|---|---|
ResourceNotFoundException Resource definition is not found. Name:[] |
[Destination] is not specified. | Specify [Destination]. |
ResourceNotFoundException Resource definition is not found. Name : [<global resource name>] |
The resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException <property name> is not specified. |
[<property name>] is not specified | Specify [<property name>]. |
InvalidPropertyConfigurationException Copy source file/folder name contains "/". |
[Copy source file/folder name] contains "/" | In [Copy source file/folder name], specify a file/folder name which does not contain "/". |
InvalidPropertyConfigurationException Copy destination file/folder name contains "/". |
[Copy destination file/folder name] contains "/". | In [Copy destination file/folder name], specify a file/folder name which does not contain "/". |
com.amazonaws.services.s3.model.AmazonS3Exception The AWS Access Key Id you provided does not exist in our records. |
The [Access Key ID] of global resource specified in [Destination] is wrong. | Please check the settings of global resource specified in [Destination]. |
com.amazonaws.services.s3.model.AmazonS3Exception The request signature we calculated does not match the signature you provided. Check your key and signing method. |
The [Secret Access Key] of global resource specified in [Destination] is wrong. | Please check the settings of global resource specified in [Destination]. |
InvalidPropertyException Endpoint does not contain a valid host name: <endpoint> |
The [Endpoint] of global resource specified in [Destination] is wrong. | Please check the settings of global resource specified in [Destination]. |
Key | Location | Description | Remarks |
---|---|---|---|
itemmaxsize | $DATASPIDER_HOME/server/plugin/data_processing/modules/amazon_s3_adapter/META-INF/ adapter.properties |
Setting procedure is as follows.
|
|
[Endpoint] settings | Region of bucket | Remarks |
---|---|---|
unset | US Standard | |
s3.amazonaws.com | US Standard | |
s3-us-west-1.amazonaws.com | US-West (Northern California) | |
s3-ap-southeast-1.amazonaws.com | Asia Pacific (Singapore) |