Connectors of org.wso2.ballerina.connectors.amazonlambda package
connector ClientConnector (string accessKeyId, string secretAccessKey, string region)
Amazon Lambda client connector
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
accessKeyId | string | The access key ID in amazon account security credentials |
secretAccessKey | string | The secret access key in amazon account security credentials |
region | string | The region of the the amazon account server. |
action deleteFunction()
Deletes a lambda function
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
arn | string | The amazon resource name of the function to invoke |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |
action getAccountDetails()
Returns the users' account information
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |
action getFunction()
Gets the configuration information of a lambda function
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
arn | string | The amazon resource name of the function to invoke |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |
action getFunctionVersions()
Lists all versions of a amazon lambda function
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
arn | string | amz: The amazonLambda connector instance |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |
action invokeFunction()
Invokes a amazon lambda function
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
arn | string | The amazon resource name of the function to invoke |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |
action invokeFunction()
Invokes a amazon lambda function by sending parameters
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
arn | string | The amazon resource name of the function to invoke |
payload | json | The json payload containing key values of parameters to amazon lambda function |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |
action listFunctions()
Gets the list of functions and their configuration information
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
amz | ClientConnector | The amazonLambda connector instance |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response message |