Amazon Simple Workflow Service #X Amz Target=SimpleWorkflowService.PollForDecisionTask API

The #X Amz Target=SimpleWorkflowService.PollForDecisionTask API from Amazon Simple Workflow Service — 1 operation(s) for #x amz target=simpleworkflowservice.pollfordecisiontask.

OpenAPI Specification

amazon-swf-x-amz-target-simpleworkflowservice-pollfordecisiontask-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  version: '2012-01-25'
  x-release: v4
  title: 'Amazon Simple Workflow Service #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.PollForDecisionTask API'
  description: <fullname>Amazon Simple Workflow Service</fullname> <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a <i>task</i> represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.</p> <p>Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.</p> <p>This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the <i> <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a> </i>.</p>
  x-logo:
    url: https://twitter.com/awscloud/profile_image?size=original
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: swf
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/swf-2012-01-25.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://swf.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon SWF multi-region endpoint
- url: https://swf.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon SWF multi-region endpoint
- url: http://swf.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon SWF endpoint for China (Beijing) and China (Ningxia)
- url: https://swf.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon SWF endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: '#X Amz Target=SimpleWorkflowService.PollForDecisionTask'
paths:
  /#X-Amz-Target=SimpleWorkflowService.PollForDecisionTask:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: PollForDecisionTask
      description: <p>Used by deciders to get a <a>DecisionTask</a> from the specified decision <code>taskList</code>. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task.</p> <p>This action initiates a long poll, where the service holds the HTTP connection open and responds as soon a task becomes available. If no decision task is available in the specified task list before the timeout of 60 seconds expires, an empty result is returned. An empty result, in this context, means that a DecisionTask is returned, but that the value of taskToken is an empty string.</p> <important> <p>Deciders should set their client side socket timeout to at least 70 seconds (10 seconds higher than the timeout).</p> </important> <important> <p>Because the number of workflow history events for a single workflow execution might be very large, the result returned might be split up across a number of pages. To retrieve subsequent pages, make additional calls to <code>PollForDecisionTask</code> using the <code>nextPageToken</code> returned by the initial call. Note that you do <i>not</i> call <code>GetWorkflowExecutionHistory</code> with this <code>nextPageToken</code>. Instead, call <code>PollForDecisionTask</code> again.</p> </important> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the <code>taskList.name</code> parameter by using a <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the action to access only certain task lists.</p> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionTask'
        '480':
          description: UnknownResourceFault
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnknownResourceFault'
        '481':
          description: OperationNotPermittedFault
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationNotPermittedFault'
        '482':
          description: LimitExceededFault
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededFault'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PollForDecisionTaskInput'
      parameters:
      - name: maximumPageSize
        in: query
        schema:
          type: string
        description: Pagination limit
        required: false
        example: example
      - name: nextPageToken
        in: query
        schema:
          type: string
        description: Pagination token
        required: false
        example: token123
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - SimpleWorkflowService.PollForDecisionTask
        example: SimpleWorkflowService.PollForDecisionTask
      summary: Amazon SWF Poll for Decision Task
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      tags:
      - '#X Amz Target=SimpleWorkflowService.PollForDecisionTask'
components:
  schemas:
    ExternalWorkflowExecutionSignaledEventAttributes:
      type: object
      required:
      - workflowExecution
      - initiatedEventId
      properties:
        workflowExecution:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecution'
          - description: The external workflow execution that the signal was delivered to.
        initiatedEventId:
          allOf:
          - $ref: '#/components/schemas/EventId'
          - description: The ID of the <code>SignalExternalWorkflowExecutionInitiated</code> event corresponding to the <code>SignalExternalWorkflowExecution</code> decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      description: Provides the details of the <code>ExternalWorkflowExecutionSignaled</code> event.
    WorkflowId:
      type: string
      minLength: 1
      maxLength: 256
    FailWorkflowExecutionFailedCause:
      type: string
      enum:
      - UNHANDLED_DECISION
      - OPERATION_NOT_PERMITTED
    ActivityType:
      type: object
      required:
      - name
      - version
      properties:
        name:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: <p>The name of this activity.</p> <note> <p>The combination of activity type name and version must be unique within a domain.</p> </note>
        version:
          allOf:
          - $ref: '#/components/schemas/Version'
          - description: <p>The version of this activity.</p> <note> <p>The combination of activity type name and version must be unique with in a domain.</p> </note>
      description: Represents an activity type.
    RecordMarkerFailedEventAttributes:
      type: object
      required:
      - markerName
      - cause
      - decisionTaskCompletedEventId
      properties:
        markerName:
          allOf:
          - $ref: '#/components/schemas/MarkerName'
          - description: The marker's name.
        cause:
          allOf:
          - $ref: '#/components/schemas/RecordMarkerFailedCause'
          - description: <p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p> <note> <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p> </note>
        decisionTaskCompletedEventId:
          allOf:
          - $ref: '#/components/schemas/EventId'
          - description: The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>RecordMarkerFailed</code> decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      description: Provides the details of the <code>RecordMarkerFailed</code> event.
    ChildPolicy:
      type: string
      enum:
      - TERMINATE
      - REQUEST_CANCEL
      - ABANDON
    DomainName:
      type: string
      minLength: 1
      maxLength: 256
    EventId:
      type: integer
    PollForDecisionTaskInput:
      type: object
      required:
      - domain
      - taskList
      title: PollForDecisionTaskInput
      properties:
        domain:
          allOf:
          - $ref: '#/components/schemas/DomainName'
          - description: The name of the domain containing the task lists to poll.
        taskList:
          allOf:
          - $ref: '#/components/schemas/TaskList'
          - description: <p>Specifies the task list to poll for decision tasks.</p> <p>The specified string must not contain a <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must <i>not</i> be the literal string <code>arn</code>.</p>
        identity:
          allOf:
          - $ref: '#/components/schemas/Identity'
          - description: Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
        nextPageToken:
          allOf:
          - $ref: '#/components/schemas/PageToken'
          - description: '<p>If <code>NextPageToken</code> is returned there are more results available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has exceeded its maximum lifetime</code>". </p> <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call. </p> <note> <p>The <code>nextPageToken</code> returned by this action cannot be used with <a>GetWorkflowExecutionHistory</a> to get the next page. You must call <a>PollForDecisionTask</a> again (with the <code>nextPageToken</code>) to retrieve the next page of history records. Calling <a>PollForDecisionTask</a> with a <code>nextPageToken</code> doesn''t return a new decision task.</p> </note>'
        maximumPageSize:
          allOf:
          - $ref: '#/components/schemas/PageSize'
          - description: <p>The maximum number of results that are returned per call. Use <code>nextPageToken</code> to obtain further pages of results. </p> <p>This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.</p>
        reverseOrder:
          allOf:
          - $ref: '#/components/schemas/ReverseOrder'
          - description: When set to <code>true</code>, returns the events in reverse order. By default the results are returned in ascending order of the <code>eventTimestamp</code> of the events.
        startAtPreviousStartedEvent:
          allOf:
          - $ref: '#/components/schemas/StartAtPreviousStartedEvent'
          - description: When set to <code>true</code>, returns the events with <code>eventTimestamp</code> greater than or equal to <code>eventTimestamp</code> of the most recent <code>DecisionTaskStarted</code> event. By default, this parameter is set to <code>false</code>.
    WorkflowRunIdOptional:
      type: string
      maxLength: 64
    DecisionTaskCompletedEventAttributes:
      type: object
      required:
      - scheduledEventId
      - startedEventId
      properties:
        executionContext:
          allOf:
          - $ref: '#/components/schemas/Data'
          - description: User defined context for the workflow execution.
        scheduledEventId:
          allOf:
          - $ref: '#/components/schemas/EventId'
          - description: The ID of the <code>DecisionTaskScheduled</code> event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
        startedEventId:
          allOf:
          - $ref: '#/components/schemas/EventId'
          - description: The ID of the <code>DecisionTaskStarted</code> event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      description: Provides the details of the <code>DecisionTaskCompleted</code> event.
    WorkflowExecutionSignaledEventAttributes:
      type: object
      required:
      - signalName
      properties:
        signalName:
          allOf:
          - $ref: '#/components/schemas/SignalName'
          - description: The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
        input:
          allOf:
          - $ref: '#/components/schemas/Data'
          - description: The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
        externalWorkflowExecution:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecution'
          - description: The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
        externalInitiatedEventId:
          allOf:
          - $ref: '#/components/schemas/EventId'
          - description: The ID of the <code>SignalExternalWorkflowExecutionInitiated</code> event corresponding to the <code>SignalExternalWorkflow</code> decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.
      description: Provides the details of the <code>WorkflowExecutionSignaled</code> event.
    HistoryEvent:
      type: object
      required:
      - eventTimestamp
      - eventType
      - eventId
      properties:
        eventTimestamp:
          allOf:
          - $ref: '#/components/schemas/Timestamp'
          - description: The date and time when the event occurred.
        eventType:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: The type of the history event.
        eventId:
          allOf:
          - $ref: '#/components/schemas/EventId'
          - description: The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
        workflowExecutionStartedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionStartedEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionStarted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionCompletedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionCompletedEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionCompleted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        completeWorkflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/CompleteWorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>CompleteWorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        failWorkflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/FailWorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>FailWorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionTimedOutEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionTimedOutEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionTimedOut</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionCanceledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionCanceledEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionCanceled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        cancelWorkflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/CancelWorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>CancelWorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionContinuedAsNewEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionContinuedAsNewEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionContinuedAsNew</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        continueAsNewWorkflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ContinueAsNewWorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>ContinueAsNewWorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionTerminatedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionTerminatedEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionTerminated</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionCancelRequestedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionCancelRequestedEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionCancelRequested</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        decisionTaskScheduledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/DecisionTaskScheduledEventAttributes'
          - description: If the event is of type <code>DecisionTaskScheduled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        decisionTaskStartedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/DecisionTaskStartedEventAttributes'
          - description: If the event is of type <code>DecisionTaskStarted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        decisionTaskCompletedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/DecisionTaskCompletedEventAttributes'
          - description: If the event is of type <code>DecisionTaskCompleted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        decisionTaskTimedOutEventAttributes:
          allOf:
          - $ref: '#/components/schemas/DecisionTaskTimedOutEventAttributes'
          - description: If the event is of type <code>DecisionTaskTimedOut</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskScheduledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskScheduledEventAttributes'
          - description: If the event is of type <code>ActivityTaskScheduled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskStartedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskStartedEventAttributes'
          - description: If the event is of type <code>ActivityTaskStarted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskCompletedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskCompletedEventAttributes'
          - description: If the event is of type <code>ActivityTaskCompleted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskFailedEventAttributes'
          - description: If the event is of type <code>ActivityTaskFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskTimedOutEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskTimedOutEventAttributes'
          - description: If the event is of type <code>ActivityTaskTimedOut</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskCanceledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskCanceledEventAttributes'
          - description: If the event is of type <code>ActivityTaskCanceled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        activityTaskCancelRequestedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ActivityTaskCancelRequestedEventAttributes'
          - description: If the event is of type <code>ActivityTaskcancelRequested</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        workflowExecutionSignaledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/WorkflowExecutionSignaledEventAttributes'
          - description: If the event is of type <code>WorkflowExecutionSignaled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        markerRecordedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/MarkerRecordedEventAttributes'
          - description: If the event is of type <code>MarkerRecorded</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        recordMarkerFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/RecordMarkerFailedEventAttributes'
          - description: If the event is of type <code>DecisionTaskFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        timerStartedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/TimerStartedEventAttributes'
          - description: If the event is of type <code>TimerStarted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        timerFiredEventAttributes:
          allOf:
          - $ref: '#/components/schemas/TimerFiredEventAttributes'
          - description: If the event is of type <code>TimerFired</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        timerCanceledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/TimerCanceledEventAttributes'
          - description: If the event is of type <code>TimerCanceled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        startChildWorkflowExecutionInitiatedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/StartChildWorkflowExecutionInitiatedEventAttributes'
          - description: If the event is of type <code>StartChildWorkflowExecutionInitiated</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        childWorkflowExecutionStartedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ChildWorkflowExecutionStartedEventAttributes'
          - description: If the event is of type <code>ChildWorkflowExecutionStarted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        childWorkflowExecutionCompletedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ChildWorkflowExecutionCompletedEventAttributes'
          - description: If the event is of type <code>ChildWorkflowExecutionCompleted</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        childWorkflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ChildWorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>ChildWorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        childWorkflowExecutionTimedOutEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ChildWorkflowExecutionTimedOutEventAttributes'
          - description: If the event is of type <code>ChildWorkflowExecutionTimedOut</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        childWorkflowExecutionCanceledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ChildWorkflowExecutionCanceledEventAttributes'
          - description: If the event is of type <code>ChildWorkflowExecutionCanceled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        childWorkflowExecutionTerminatedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ChildWorkflowExecutionTerminatedEventAttributes'
          - description: If the event is of type <code>ChildWorkflowExecutionTerminated</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        signalExternalWorkflowExecutionInitiatedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/SignalExternalWorkflowExecutionInitiatedEventAttributes'
          - description: If the event is of type <code>SignalExternalWorkflowExecutionInitiated</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        externalWorkflowExecutionSignaledEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ExternalWorkflowExecutionSignaledEventAttributes'
          - description: If the event is of type <code>ExternalWorkflowExecutionSignaled</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        signalExternalWorkflowExecutionFailedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/SignalExternalWorkflowExecutionFailedEventAttributes'
          - description: If the event is of type <code>SignalExternalWorkflowExecutionFailed</code> then this member is set and provides detailed information about the event. It isn't set for other event types.
        externalWorkflowExecutionCancelRequestedEventAttributes:
          allOf:
          - $ref: '#/components/schemas/ExternalWorkflowExecutionCancelRequestedEventAttributes'
          - description: 'If the event is of type <code>ExternalWorkflowExecutionCancelRequested</code> then this member is set and provides detailed information about the event. It isn''t set for other event types. '
        requestC

# --- truncated at 32 KB (129 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-swf/refs/heads/main/openapi/amazon-swf-x-amz-target-simpleworkflowservice-pollfordecisiontask-api-openapi.yml