Update
The Update activity is used to update properties of Amazon S3 objects and buckets. If you update the Access Control List of objects and buckets, a new access control rule is added to the original Access Control List. If you update any other properties, the properties are reset.
General
The General tab contains the following fields:
Input
The input of the activity varies depending on the Service Name and Operation Type specified in the General tab.
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket |
acl | Complex | Access Control List
You can set permissions to the bucket by Canonical type, Email Address type, and Group type. |
amazonS3Connection | String | AmazonS3Client object |
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket |
policy | String | Policy of the bucket
You can input the JSON text of the policy. It is a good practice not to use any white space in the JSON text. |
amazonS3Connection | String | AmazonS3Client object |
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket |
Configuration | Complex | Configuration of the website |
amazonS3Connection | String | AmazonS3Client object |
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket |
corsRule | Complex | Rule for Cross-Origin Resource Sharing |
amazonS3Connection | String | AmazonS3Client object |
Input Item | Data Type | Description |
---|---|---|
id | String | Arbitrary ID of this rule |
allowedHeader | String | List of allowed headers
Duplicate this node for each specified header. |
allowedOrigin | String | Set the allowed origins of this rule
Duplicate this node for each specified origin. |
allowedMethod | String | HTTP methods GET, PUT, HEAD, POST, and DELETE |
maxAgeSeconds | Integer | Set the maximum age of this rule in seconds |
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the object |
key | String | Key of the object |
acl | Complex | Access Control List
You can set permissions to the bucket by ID, email address, or group. In each case, the permission is Read, Write, ReadAcp, or WriteAcp. |
amazonS3Connection | String | AmazonS3Client object |
Fault
The Fault tab lists exceptions that are thrown by the Update 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 |