...
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description | ||||
---|---|---|---|---|---|---|---|---|
Input | Document |
|
| Key/value pairs used to evaluate expression properties in this Snap. | ||||
Output | Document |
|
| The output displays the following attributes:
The attributes for each S3 object matching the specific Snap field values. For example, if you have the following S3 objects with the prefix
| ||||
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
Snap Settings
Info |
---|
|
Field Name | Field Type | Field Dependency | Description |
---|---|---|---|
Label* Default Value: S3 Browser | String | N/A | Specify a unique name for the Snap. |
Bucket* Default Value: N/A
|
<S3_bucket_name>@<s3_endpoint>
)
| String/Expression/Suggestion | N/A | Specify or select the S3 bucket name, from where the S3 objects are to be listed.
Bucket names are unique globally and can be accessed without |
the region name in most cases. If you cannot access a bucket name without its region name, you can specify the region information |
with the following |
syntax:
Note: If you enter an incorrect region name, but the bucket name is valid, the AWS S3 service might successfully access the bucket without errors.
|
|
|
|
| |||
Prefix Default Value: None
| String/Expression/Suggestion | N/A | Specify the prefix of S3 object key names.
|
Filter (Glob) Default Value: **
| String/Expression | N/A | Specify the filter the Snap should use internally to list all S3 objects. The Snap matches the specified Bucket and Prefix and then applies the filter. A glob pattern of <Prefix> + <Filter> is applied to the entire string of each S3 object key.
|
Show Advanced Properties Default Value: Deselected | Checkbox | Displays Advanced Properties when you select this checkbox. | Select this checkbox to display the advanced properties. |
Maximum Object Keys Default Value: All | String/Integer/Expression | Appears on selecting Show Advanced Properties checkbox. | Specify the maximum number of object keys at the output view. ‘All’ or an empty field produces all matching object key names. If the Delimiter is blank, the Maximum Object Keys are the number of object keys in the first output view plus the number of common prefixes in the second output view regardless of the the second output view being open or closed. |
Ignore Empty Result Default Value: Selected | Checkbox | Appears on selecting Show Advanced Properties checkbox. | Select this checkbox if you want the Snap to produce no output when there is no matching S3 object key. Else, the Snap outputs a blank document when there are no matching S3 object keys. |
Maximum Retries* Default Value: 3 | Integer/Expression | Appears on selecting Show Advanced Properties checkbox. | Specify the maximum number of retry attempts to perform in case of a temporary network loss. |
Pass Through Default Value: Deselected | Checkbox | Appears on selecting Show Advanced Properties checkbox. | Select this checkbox to pass the input document to the output view as a value under the ' |
Delimiter
| String/Expression | Appears on selecting Show Advanced Properties checkbox. | Specify an optional delimiter to produce object keys that contain the same string between the prefix and the first occurrence of the delimiter. A delimiter '/' causes the Snap to produce a nonrecursive object-key listing. When the Delimiter field is not empty and if there is a common prefix, it is displayed in the second output view. The common prefix is similar to a subfolder with one or more S3 objects in it. |
Snap Execution Default Value: Validate & Execute | Dropdown list | N/A | Select one of the three modes in which the Snap executes. Available options are:
|
Example
Basic Use Case - Managing Data in S3
...