In this article
You can use this account type to connect REST Snaps with data sources that use REST AWS SigV4 accounts. Amazon Web Services (AWS) Signature Version 4 is the process of adding authentication information to AWS requests sent by the HTTP client.
None.
None.
Parameter | Data Type | Description |
---|---|---|
Label* Default Value: N/A | String | Specify a unique label for the account. |
Access-key ID* Default Value: N/A | String/Expression | Specify the access key ID associated with your AWS authentication. |
Secret Key* Default Value: N/A | String/Expression | Specify the secret key associated with your AWS authentication. |
Security Token Default Value: N/A | String/Expression | Specify the security token to make requests using temporary credentials (for example, AWS STS) for accessing AWS resources. You do not have to specify Security Token if you use permanent credentials. Learn more about adding signature to the HTTP request - AWS General Reference. |
AWS Region Default Value: N/A | String/Expression | Specify the AWS Region for constructing the authorization header. |
Service Name Default Value: N/A | String/Expression | Specify the Service Name for constructing the authorization header. |
If you configure this account for your REST Snaps, you must include the service and region in the Service URL field of the Snap settings. See the example below for more information.
|
The following example Pipeline demonstrates how we can create a new file in AWS S3 bucket. Broadly, creating a new file in AWS S3 is a three step process:
Prerequisites:
First, we configure the REST POST Snap to perform the create file operation. To this end, we configure the Snap as follows:
Next, we configure the Mapper Snap to map the response.entity to the XMLOutput column.
Then, we configure another Mapper Snap to extract the uploadId of the entity.
Upon validation, the Snap generates the output with uploadId as follows:
Next, we configure the REST PUT Snap as follows to perform the upload file operation.
Next, we configure the Mapper Snap to extract the etag and uploadId.
Upon validation, the Snap generates the output with etag and uploadId entities as follows:
We configure the REST HTTP POST Snap to complete the file operation.
Upon validation, the Snap generates the output preview as follows:
Finally, we configure the REST GET Snap to extract the required details from the uploaded file.
Upon validation, the Snap gets the entity data in the file as follows:
Related Links