Functions of org.wso2.ballerina.connectors.amazonauth package
function generateSignature(message msg, string accessKeyId, string secretAccessKey, string region, string serviceName, string terminationString, string httpVerb, string requestURI, string payload) (message )
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
msg | message | |
accessKeyId | string | |
secretAccessKey | string | |
region | string | |
serviceName | string | |
terminationString | string | |
httpVerb | string | |
requestURI | string | |
payload | string |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message |
Connectors of org.wso2.ballerina.connectors.amazonauth package
connector ClientConnector (string accessKeyId, string secretAccessKey, string region, string serviceName, string terminationString, string endpoint)
Amazon Auth connector
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
accessKeyId | string | The access key ID of the Amazon Account |
secretAccessKey | string | The secret access key of the Amazon Account |
region | string | The region to which the request is made |
serviceName | string | The Amazon service that should be invoked |
terminationString | string | The termination string for the request |
endpoint | string | The Endpoint of the amazon service |
action request()
Get List of Objects in a bucket
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amazonAuthConnector | ClientConnector | The amazonAuthConnector instance |
requestMsg | message | The request message object |
httpVerb | string | The HTTP verb |
requestURI | string | The URI of the service to be invoked |
payload | string | The payload to be sent |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response object |