S3 Get List of Objects

Amazon S3 (Simple Storage Service) is an online storage service by Amazon. You can use this service to store any kind of data on the internet, and retrieve it at anytime, from anywhere. In Amazon S3, data is stored in buckets. These buckets are like containers that can hold any number of objects.

If you have uploaded a lot of objects in a number of buckets, it becomes difficult and tedious to keep a track of which objects belong to which bucket. Using this action, you can quickly get the list of all the objects that belong to a particular bucket. Apart from this, you can also use a variety of search criteria to get the exact piece of information that you are looking for.

s3-get-list-of-objects

Configure the action, and select the required AWS connection. First, you need to specify the name of the bucket under which the objects search needs to be performed. Next, you can optionally specify other parameters for your search, such as:

Delimiter: This is character that is used to group keys.

Marker: This is used to specify the keys to start when listing objects in a bucket. If specified, the response will include only those records that are beyond this marker.

Prefix: This helps in searching only those objects that starts with the specified prefix.    

Once you have entered all the required details, click on ‘Done’ and run the workflow. This will return the list of objects that matches your search criteria.

Output:
  • output-arrow aws-128 S3 Get List of Objects
    • left-triangle IsTruncated boolean
    • left-triangle Marker string
    • left-triangle Contents array
    • left-triangle Name string
    • left-triangle Prefix string
    • left-triangle MaxKeys number
    • left-triangle CommonPrefixes array
    • left-triangle EncodingType string