GetObject
The GetObject activity is used to get an Amazon S3 object.
General
The General tab contains the following fields:
Input
The input of the activity varies depending on the Operation Type and Output Type specified on the General tab.
Input Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the Amazon S3 bucket to be listed |
prefix | String | Optional parameter
It restricts the response to keys beginning with the specified prefix. Use prefixes to separate a bucket into different sets of keys. |
amazonS3Connection | String | AmazonS3Client object |
Output
The output of the activity varies depending on the Operation Type and Output Type specified in the General tab.
Output Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket containing the desired object |
prefix | String | Prefix
Use prefixes to separate a bucket into different sets of keys |
objectList | Complex | List of objects in the bucket |
objectSummary | Complex | Information about the object |
The following information is provided in the objectSummary:
Output Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket specified as input to this activity |
eTag | String | Hex-encoded 128 bit MD5 digest of this object according to RFC 1864 |
key | String | Key that identifies this object |
lastModified | Date | Value of the Last Modified header indicating the date and time at which Amazon S3 last recorded a modification of this object |
owner | String | ID and display name of the object's owner in separate fields labeled id and displayName |
storageClass | String | Amazon S3 storage class for this object |
size | Integer | Size of the object in bytes |
Output Item | Data Type | Description |
---|---|---|
bucketName | String | Name of the bucket containing the desired object |
key | String | Key under which the desired object is stored |
destinationFilePath | String | Local path with file name when the value specified in the Output Type field in the General tab is File. |
textContent | String | The text content of the file when the value specified in the Output Type field in the General tab is Text. |
binaryContent | base64Binary | The binary content of the file when the value specified in the Output Type field in the General tab is Binary. |
metadata | Complex | Information about the object |
Output Item | Data Type | Description |
---|---|---|
versionid | String | Version ID of the object |
cacheControl | String | Optional cache control HTTP header
You can specify caching behavior along the HTTP request/reply chain. |
contentDisposition | String | Optional content disposition HTTP header
It specifies the presentation information for the object such as the recommended file name when saving the object. |
contentEncoding | String | Optional content encoding HTTP header
It specifies the content encoding which has been applied to the object. It also specifies the decoding mechanisms that must be applied in order to obtain the media-type referenced by the contentType field. |
contentLength | String | Content length HTTP header indicating the size of the object in bytes |
contentMD5 | String | Base64 encoded 128 bit MD5 digest of the associated object (excluding the headers) according to RFC 1864 |
contentType | String | Content type HTTP header
It indicates the type of content stored in the associated object. |
eTag | String | Hex-encoded 128 bit MD5 digest of the associated object according to RFC 1864 |
expirationTime | Date | Time this object expires and is completely removed from Amazon S3 |
expirationTimeRuleId | String | BucketLifeCycleConfiguration rule ID for this object's expiration; null if it does not expire. |
httpExpiresDate | Date | Date when the object can no longer be cached |
instanceLength | Integer | Physical length of the object stored in Amazon S3 |
lastModified | Date | Value of the Last Modified header indicating the date and time at which Amazon S3 last recorded a modification to the associated object |
ongoingRestore | String | Value which indicates whether there is ongoing restore request |
restoreExpirationTime | Date | Time at which an object that is temporarily restored from Amazon Glacier, expires, and needs to be restored in order to be accessed again |
serverSideEncryption | String | True if server side encryption has been enabled for this object |
seeAlgorithm | String | Server side encryption algorithm when encrypting the object by using keys managed by Amazon Web Services |
seeAwskmsKeyId | String | Amazon Web Services Key Management System key ID used for server side encryption of the Amazon S3 object |
seeCustomerKeyMd5 | String | Base64 encoded MD5 digest of the encryption key for server side encryption, if the object is encrypted by using keys provided by a customer |
storageClass | String | Amazon Web Service S3 storage class for this object |
userMetadata | String | Metadata key and metadata value are enumerated here if user metadata has been established for this object |
Fault
The Fault tab lists exceptions that are thrown by the GetObject 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 |