Honeycode.Client.
invoke_screen_automation
(**kwargs)¶The InvokeScreenAutomation API allows invoking an action defined in a screen in a Honeycode app. The API allows setting local variables, which can then be used in the automation being invoked. This allows automating the Honeycode app interactions to write, update or delete data in the workbook.
See also: AWS API Documentation
Request Syntax
response = client.invoke_screen_automation(
workbookId='string',
appId='string',
screenId='string',
screenAutomationId='string',
variables={
'string': {
'rawValue': 'string'
}
},
rowId='string',
clientRequestToken='string'
)
[REQUIRED]
The ID of the workbook that contains the screen automation.
[REQUIRED]
The ID of the app that contains the screen automation.
[REQUIRED]
The ID of the screen that contains the screen automation.
[REQUIRED]
The ID of the automation action to be performed.
Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen. Any variables defined in a screen are required to be passed in the call.
The input variables to the app to be used by the InvokeScreenAutomation action request.
Raw value of the variable.
The request token for performing the automation action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will return the response of the previous call rather than performing the action again.
Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.
dict
Response Syntax
{
'workbookCursor': 123
}
Response Structure
(dict) --
workbookCursor (integer) --
The updated workbook cursor after performing the automation action.
Exceptions
Honeycode.Client.exceptions.AccessDeniedException
Honeycode.Client.exceptions.InternalServerException
Honeycode.Client.exceptions.ResourceNotFoundException
Honeycode.Client.exceptions.ValidationException
Honeycode.Client.exceptions.ThrottlingException
Honeycode.Client.exceptions.ServiceUnavailableException
Honeycode.Client.exceptions.AutomationExecutionException
Honeycode.Client.exceptions.AutomationExecutionTimeoutException
Honeycode.Client.exceptions.RequestTimeoutException
Honeycode.Client.exceptions.ServiceQuotaExceededException