NovaActService / Client / update_act

update_act

NovaActService.Client.update_act(**kwargs)

Updates an existing act’s configuration, status, or error information.

See also: AWS API Documentation

Request Syntax

response = client.update_act(
    workflowDefinitionName='string',
    workflowRunId='string',
    sessionId='string',
    actId='string',
    status='RUNNING'|'PENDING_CLIENT_ACTION'|'PENDING_HUMAN_ACTION'|'SUCCEEDED'|'FAILED'|'TIMED_OUT',
    error={
        'message': 'string',
        'type': 'string'
    }
)
Parameters:
  • workflowDefinitionName (string) –

    [REQUIRED]

    The name of the workflow definition containing the act.

  • workflowRunId (string) –

    [REQUIRED]

    The unique identifier of the workflow run containing the act.

  • sessionId (string) –

    [REQUIRED]

    The unique identifier of the session containing the act.

  • actId (string) –

    [REQUIRED]

    The unique identifier of the act to update.

  • status (string) –

    [REQUIRED]

    The new status to set for the act.

  • error (dict) –

    Error information to associate with the act, if applicable.

    • message (string) – [REQUIRED]

      A human-readable description of the error that occurred.

    • type (string) –

      The type or category of error that occurred.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • NovaActService.Client.exceptions.AccessDeniedException

  • NovaActService.Client.exceptions.ConflictException

  • NovaActService.Client.exceptions.ResourceNotFoundException

  • NovaActService.Client.exceptions.ThrottlingException

  • NovaActService.Client.exceptions.InternalServerException

  • NovaActService.Client.exceptions.ValidationException