Update Activity

The Amazon S3 Update activity updates ACL and tagging properties of Amazon S3 objects and versioning, ACL, policy, website, and CORS properties of Amazon S3 buckets.

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.
Service Name Drop-down Yes None You can choose from the following options provided:
  • Object - Updates properties of objects.
  • Bucket - Updates properties of buckets.
Update Type Drop-down Yes None Type of property that needs to be updated.

You can choose one of the following options when the service name is Object:

  • ACL - Add access control list rule for an object.
  • Tagging - Add tagging information for an object.
You can choose one of the following options when the service name is Bucket:
  • Versioning - Set versioning status for a bucket.
  • ACL - Add the Access Control List rule for a bucket.
  • Policy - Set policy for a bucket.
  • Website - Set website configuration for a bucket.
  • CORS - Set CORS for a bucket.

Input

The input element 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.

Loop

If you want this activity to iterate multiple times within the flow, enter an expression that evaluates the iteration details. Select a type of iteration from the Type menu. The default type is None, which means the activity does not iterate.