Class: DescribeActivityExecutionResponse
workflowservice.v1.DescribeActivityExecutionResponse
Represents a DescribeActivityExecutionResponse.
Implements
Constructors
constructor
• new DescribeActivityExecutionResponse(properties?): DescribeActivityExecutionResponse
Constructs a new DescribeActivityExecutionResponse.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IDescribeActivityExecutionResponse | Properties to set |
Returns
DescribeActivityExecutionResponse
Properties
callbacks
• callbacks: ICallbackInfo[]
Callbacks attached to this activity execution and their current state.
Implementation of
IDescribeActivityExecutionResponse.callbacks
info
• Optional info: null | IActivityExecutionInfo
Information about the activity execution. Fields heartbeat_details and last_failure are omitted unless the request has include_heartbeat_details or include_last_failure set to true, respectively.
Implementation of
IDescribeActivityExecutionResponse.info
input
• Optional input: null | IPayloads
Serialized activity input, passed as arguments to the activity function. Only set if include_input was true in the request.
Implementation of
IDescribeActivityExecutionResponse.input
longPollToken
• longPollToken: Uint8Array
Token for follow-on long-poll requests. Absent only if the activity is complete.
Implementation of
IDescribeActivityExecutionResponse.longPollToken
outcome
• Optional outcome: null | IActivityExecutionOutcome
Only set if the activity is completed and include_outcome was true in the request.
Implementation of
IDescribeActivityExecutionResponse.outcome
runId
• runId: string
The run ID of the activity, useful when run_id was not specified in the request.
Implementation of
IDescribeActivityExecutionResponse.runId
Methods
toJSON
▸ toJSON(): Object
Converts this DescribeActivityExecutionResponse to JSON.
Returns
Object
JSON object
create
▸ create(properties?): DescribeActivityExecutionResponse
Creates a new DescribeActivityExecutionResponse instance using the specified properties.