Put
The Put activity is used to upload Amazon S3 objects, copy objects between buckets, and create new buckets.
General
The General tab contains the following fields:
Input
The input of the activity varies depending on the Service Name, Put Type, and Input Type specified in the General tab.
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of an existing bucket, to which the user has Write permission |
key | String | Key under which the desired object is stored |
encoding | String | Metadata that is carried with the object in and out of Amazon Web Services S3.
This item is available to the application retrieving the object so that the application performs appropriate decoding operation if required. For example, gzip.
This item is available only when the value specified in the Put Type field in the General tab is Upload. |
storageClass | String | Storage class to be used for the Put operation
The class must be either Standard or StandardInfrequentAccess. See the AWS documentation for description of these storage classes. |
serversideEncrypt | Boolean | Indicates that AWS should encrypt data when it is at rest (that is, on disk) if the value is true. In this mode, the keys are handled by AWS. |
destinationBucketName | String | Destination bucket name for the object to be copied
This item is available only when the value specified in the Put Type field in the General tab is Copy. |
destinationKey | String | Destination object name for the object to be copied
This item is available only when the value specified in the Put Type field in the General tab is Copy. |
file | String | File containing the data to be uploaded to Amazon S3
This item is available only when the value specified in the Put Type field in the General tab is Upload and the value specified in the Input Type field is File. |
textContent | String | Text content of the data to be uploaded to Amazon S3
This item is available only when the value specified in the Put Type field in the General tab is Upload and the value specified in the Input Type field is Text. |
binaryContent | base64Binary | Binary content of the data to be uploaded to Amazon S3
This item is available only when the value specified in the Put Type field in the General tab is Upload and the value specified in the Input Type field is Binary. |
Output for Put Object-upload
Output contains the information returned by Amazon S3 for the newly created object.
Output for Put Object-copy
Output contains the information returned by Amazon S3 for the copied object.
Fault
The Fault tab lists exceptions that are thrown by the Put activity. It has the following fields:
Error Schema Element | Data Type | Description |
---|---|---|
Amazon S3 Plugin Exception | Complex | Any exception created by TIBCO BusinessWorks Plug-in for Amazon S3
msg: Error message description that is returned by the plug-in msgCode: Error code that is returned by the plug-in |
Amazon S3 Client Exception | Complex | Any exception or error reported by Amazon S3 Client
msg: Error message description that is returned by the plug-in msgCode: Error code that is returned by the plug-in |
Amazon S3 Service Exception | Complex | Any exception or error reported by Amazon S3 instance
msg: Error message description that is returned by the plug-in msgCode: Error code that is returned by the plug-in |