4.2.2.15.2. AWS Signature Version 4 (S3 Only)
Currently limited to a connection to an Amazon S3 bucket, authentication allows the execution of all actions available in the AWS API reference:
Amazon S3 API Documentation
Adding Files in an S3 Bucket
To assist you in creating your gateway to add files in your bucket, we have provided an HTTP Client Out gateway. You can find and import its configuration using the attached file HttpFlowConfig_AWS_S3_Out.xml.
In the "Global Authentication" configuration, you will find the various fields required for the connection.
In the URL, you must replace "REGION" with the AWS region of your bucket and "REPLACE_BY_YOUR_BUCKET" with the name of your bucket.
The Key at the end of the URL refers to the Key variable defined in the Start block.
Currently, it uses the "com_babelway_messaging_context_in_filename" metadata, which contains the name of the file received by the In gateway.
You are free to replace it with the filename of your choice.
Listing and Getting Files in an S3 Bucket
To assist you in creating your gateway to get files in your bucket, we have provided an HTTP Client In gateway. You can find and import its configuration using the attached file HttpFlowConfig_AWS_S3_IN.xml.
In the "Global Authentication" configuration, you will find the various fields required for the connection.
In the URL of the 2 calls, you must replace "REGION" with the AWS region of your bucket and "REPLACE_BY_YOUR_BUCKET" with the name of your bucket.
The flow was designed to first list the files contained in the bucket, and then, in a second call, retrieve each listed file individually and create a message in Babelway for each one.