Operations (sample payloads)

Main operations

Raw AWS request

Make a raw HTTP request to an AWS service. This operation is only functional with AWS Services that use the AWS Signature 4 authentication mechanism. Sample Input

{
    "method": "GET",
    "service": "s3",
    "target_url": "https://s3.amazonaws.com/my-bucket/my-object.txt",
    "region": "us-east-1",
    "headers": [
        \{
            "key": "Content-Type",
            "value": "application/json"
        \}
    ],
    "query_parameters": [
        \{
            "key": "versionId",
            "value": "abc123"
        \}
    ]
}

Sample Output

{
    "response": \{
        "status_code": 200,
        "headers": "Content-Type: text/plain\nContent-Length: 14\nETag: \"686897696a7c876b7e\"\nServer: AmazonS3",
        "body": "Hello, World!"
    \}
}

Was this page helpful?