Amazon S3 Get Activity

The Amazon S3 Get activity fetches an Amazon S3 object from a selected bucket, lists all objects from a selected bucket, or lists all buckets available to the user.

Settings

The Settings tab has the following fields:

Field Type Required Default Value Description
AWS Connection Name Connector Yes None AWS connection to create the session and perform various operations.
Operation Type Drop-down Yes None Type of operation performed by the activity.
You can choose the type of operation from the following options provided:
  • Single Object - Retrieves an object from the selected bucket.
  • List Objects - Lists objects in the selected bucket.
  • List Buckets - Provides a list of all buckets available to the user based on the AWS credentials passed.
Output Type Drop-down Yes None Type of output generated by the activity.

You can choose the type of output from the following options provided:

  • File - Retrieves the object and stores it on the specified file path.
  • Text - Retrieves the object and outputs the object content as text.

This field is visible only when the value in Operation Type field is Single Object.

Input

The Input element on the Input tab displays the input schema of the activity as a tree structure. The input values vary depending on the action selected on the Settings tab. All the elements marked with a red asterisk are required fields.

Output

The Output tab displays the output schema of the activity as a tree structure. The output is read-only. The information in the schema varies based on the fields selected on the Settings tab. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.

The Output tab consists of two elements:
  • Output element: Displays the output schema of the activity as a tree structure.
  • Error element: The error element has four attributes:
    • Code - It is a string that uniquely identifies an error condition.
    • Message - It contains a generic description of the error condition.
    • RequestId - It is a string ID of the request associated with the error that occurs.
    • StatusCode - It is the HTTP response code corresponding to the error code.