aws-sdk-go: github.com/aws/aws-sdk-go/service/swf Index | Files | Directories

package swf

import "github.com/aws/aws-sdk-go/service/swf"

Package swf provides the client and types for making API requests to Amazon Simple Workflow Service.

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 task 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.

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.

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide (https://docs.aws.amazon.com/amazonswf/latest/developerguide/) .

See swf package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/swf/

Using the Client

To contact Amazon Simple Workflow Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Simple Workflow Service client SWF for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/swf/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // ActivityTaskTimeoutTypeStartToClose is a ActivityTaskTimeoutType enum value
    ActivityTaskTimeoutTypeStartToClose = "START_TO_CLOSE"

    // ActivityTaskTimeoutTypeScheduleToStart is a ActivityTaskTimeoutType enum value
    ActivityTaskTimeoutTypeScheduleToStart = "SCHEDULE_TO_START"

    // ActivityTaskTimeoutTypeScheduleToClose is a ActivityTaskTimeoutType enum value
    ActivityTaskTimeoutTypeScheduleToClose = "SCHEDULE_TO_CLOSE"

    // ActivityTaskTimeoutTypeHeartbeat is a ActivityTaskTimeoutType enum value
    ActivityTaskTimeoutTypeHeartbeat = "HEARTBEAT"
)
const (
    // CancelTimerFailedCauseTimerIdUnknown is a CancelTimerFailedCause enum value
    CancelTimerFailedCauseTimerIdUnknown = "TIMER_ID_UNKNOWN"

    // CancelTimerFailedCauseOperationNotPermitted is a CancelTimerFailedCause enum value
    CancelTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // CancelWorkflowExecutionFailedCauseUnhandledDecision is a CancelWorkflowExecutionFailedCause enum value
    CancelWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION"

    // CancelWorkflowExecutionFailedCauseOperationNotPermitted is a CancelWorkflowExecutionFailedCause enum value
    CancelWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // ChildPolicyTerminate is a ChildPolicy enum value
    ChildPolicyTerminate = "TERMINATE"

    // ChildPolicyRequestCancel is a ChildPolicy enum value
    ChildPolicyRequestCancel = "REQUEST_CANCEL"

    // ChildPolicyAbandon is a ChildPolicy enum value
    ChildPolicyAbandon = "ABANDON"
)
const (
    // CloseStatusCompleted is a CloseStatus enum value
    CloseStatusCompleted = "COMPLETED"

    // CloseStatusFailed is a CloseStatus enum value
    CloseStatusFailed = "FAILED"

    // CloseStatusCanceled is a CloseStatus enum value
    CloseStatusCanceled = "CANCELED"

    // CloseStatusTerminated is a CloseStatus enum value
    CloseStatusTerminated = "TERMINATED"

    // CloseStatusContinuedAsNew is a CloseStatus enum value
    CloseStatusContinuedAsNew = "CONTINUED_AS_NEW"

    // CloseStatusTimedOut is a CloseStatus enum value
    CloseStatusTimedOut = "TIMED_OUT"
)
const (
    // CompleteWorkflowExecutionFailedCauseUnhandledDecision is a CompleteWorkflowExecutionFailedCause enum value
    CompleteWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION"

    // CompleteWorkflowExecutionFailedCauseOperationNotPermitted is a CompleteWorkflowExecutionFailedCause enum value
    CompleteWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION"

    // ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated = "WORKFLOW_TYPE_DEPRECATED"

    // ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST"

    // ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"

    // ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"

    // ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED"

    // ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined = "DEFAULT_CHILD_POLICY_UNDEFINED"

    // ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"

    // ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted is a ContinueAsNewWorkflowExecutionFailedCause enum value
    ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // DecisionTypeScheduleActivityTask is a DecisionType enum value
    DecisionTypeScheduleActivityTask = "ScheduleActivityTask"

    // DecisionTypeRequestCancelActivityTask is a DecisionType enum value
    DecisionTypeRequestCancelActivityTask = "RequestCancelActivityTask"

    // DecisionTypeCompleteWorkflowExecution is a DecisionType enum value
    DecisionTypeCompleteWorkflowExecution = "CompleteWorkflowExecution"

    // DecisionTypeFailWorkflowExecution is a DecisionType enum value
    DecisionTypeFailWorkflowExecution = "FailWorkflowExecution"

    // DecisionTypeCancelWorkflowExecution is a DecisionType enum value
    DecisionTypeCancelWorkflowExecution = "CancelWorkflowExecution"

    // DecisionTypeContinueAsNewWorkflowExecution is a DecisionType enum value
    DecisionTypeContinueAsNewWorkflowExecution = "ContinueAsNewWorkflowExecution"

    // DecisionTypeRecordMarker is a DecisionType enum value
    DecisionTypeRecordMarker = "RecordMarker"

    // DecisionTypeStartTimer is a DecisionType enum value
    DecisionTypeStartTimer = "StartTimer"

    // DecisionTypeCancelTimer is a DecisionType enum value
    DecisionTypeCancelTimer = "CancelTimer"

    // DecisionTypeSignalExternalWorkflowExecution is a DecisionType enum value
    DecisionTypeSignalExternalWorkflowExecution = "SignalExternalWorkflowExecution"

    // DecisionTypeRequestCancelExternalWorkflowExecution is a DecisionType enum value
    DecisionTypeRequestCancelExternalWorkflowExecution = "RequestCancelExternalWorkflowExecution"

    // DecisionTypeStartChildWorkflowExecution is a DecisionType enum value
    DecisionTypeStartChildWorkflowExecution = "StartChildWorkflowExecution"

    // DecisionTypeScheduleLambdaFunction is a DecisionType enum value
    DecisionTypeScheduleLambdaFunction = "ScheduleLambdaFunction"
)
const (
    // EventTypeWorkflowExecutionStarted is a EventType enum value
    EventTypeWorkflowExecutionStarted = "WorkflowExecutionStarted"

    // EventTypeWorkflowExecutionCancelRequested is a EventType enum value
    EventTypeWorkflowExecutionCancelRequested = "WorkflowExecutionCancelRequested"

    // EventTypeWorkflowExecutionCompleted is a EventType enum value
    EventTypeWorkflowExecutionCompleted = "WorkflowExecutionCompleted"

    // EventTypeCompleteWorkflowExecutionFailed is a EventType enum value
    EventTypeCompleteWorkflowExecutionFailed = "CompleteWorkflowExecutionFailed"

    // EventTypeWorkflowExecutionFailed is a EventType enum value
    EventTypeWorkflowExecutionFailed = "WorkflowExecutionFailed"

    // EventTypeFailWorkflowExecutionFailed is a EventType enum value
    EventTypeFailWorkflowExecutionFailed = "FailWorkflowExecutionFailed"

    // EventTypeWorkflowExecutionTimedOut is a EventType enum value
    EventTypeWorkflowExecutionTimedOut = "WorkflowExecutionTimedOut"

    // EventTypeWorkflowExecutionCanceled is a EventType enum value
    EventTypeWorkflowExecutionCanceled = "WorkflowExecutionCanceled"

    // EventTypeCancelWorkflowExecutionFailed is a EventType enum value
    EventTypeCancelWorkflowExecutionFailed = "CancelWorkflowExecutionFailed"

    // EventTypeWorkflowExecutionContinuedAsNew is a EventType enum value
    EventTypeWorkflowExecutionContinuedAsNew = "WorkflowExecutionContinuedAsNew"

    // EventTypeContinueAsNewWorkflowExecutionFailed is a EventType enum value
    EventTypeContinueAsNewWorkflowExecutionFailed = "ContinueAsNewWorkflowExecutionFailed"

    // EventTypeWorkflowExecutionTerminated is a EventType enum value
    EventTypeWorkflowExecutionTerminated = "WorkflowExecutionTerminated"

    // EventTypeDecisionTaskScheduled is a EventType enum value
    EventTypeDecisionTaskScheduled = "DecisionTaskScheduled"

    // EventTypeDecisionTaskStarted is a EventType enum value
    EventTypeDecisionTaskStarted = "DecisionTaskStarted"

    // EventTypeDecisionTaskCompleted is a EventType enum value
    EventTypeDecisionTaskCompleted = "DecisionTaskCompleted"

    // EventTypeDecisionTaskTimedOut is a EventType enum value
    EventTypeDecisionTaskTimedOut = "DecisionTaskTimedOut"

    // EventTypeActivityTaskScheduled is a EventType enum value
    EventTypeActivityTaskScheduled = "ActivityTaskScheduled"

    // EventTypeScheduleActivityTaskFailed is a EventType enum value
    EventTypeScheduleActivityTaskFailed = "ScheduleActivityTaskFailed"

    // EventTypeActivityTaskStarted is a EventType enum value
    EventTypeActivityTaskStarted = "ActivityTaskStarted"

    // EventTypeActivityTaskCompleted is a EventType enum value
    EventTypeActivityTaskCompleted = "ActivityTaskCompleted"

    // EventTypeActivityTaskFailed is a EventType enum value
    EventTypeActivityTaskFailed = "ActivityTaskFailed"

    // EventTypeActivityTaskTimedOut is a EventType enum value
    EventTypeActivityTaskTimedOut = "ActivityTaskTimedOut"

    // EventTypeActivityTaskCanceled is a EventType enum value
    EventTypeActivityTaskCanceled = "ActivityTaskCanceled"

    // EventTypeActivityTaskCancelRequested is a EventType enum value
    EventTypeActivityTaskCancelRequested = "ActivityTaskCancelRequested"

    // EventTypeRequestCancelActivityTaskFailed is a EventType enum value
    EventTypeRequestCancelActivityTaskFailed = "RequestCancelActivityTaskFailed"

    // EventTypeWorkflowExecutionSignaled is a EventType enum value
    EventTypeWorkflowExecutionSignaled = "WorkflowExecutionSignaled"

    // EventTypeMarkerRecorded is a EventType enum value
    EventTypeMarkerRecorded = "MarkerRecorded"

    // EventTypeRecordMarkerFailed is a EventType enum value
    EventTypeRecordMarkerFailed = "RecordMarkerFailed"

    // EventTypeTimerStarted is a EventType enum value
    EventTypeTimerStarted = "TimerStarted"

    // EventTypeStartTimerFailed is a EventType enum value
    EventTypeStartTimerFailed = "StartTimerFailed"

    // EventTypeTimerFired is a EventType enum value
    EventTypeTimerFired = "TimerFired"

    // EventTypeTimerCanceled is a EventType enum value
    EventTypeTimerCanceled = "TimerCanceled"

    // EventTypeCancelTimerFailed is a EventType enum value
    EventTypeCancelTimerFailed = "CancelTimerFailed"

    // EventTypeStartChildWorkflowExecutionInitiated is a EventType enum value
    EventTypeStartChildWorkflowExecutionInitiated = "StartChildWorkflowExecutionInitiated"

    // EventTypeStartChildWorkflowExecutionFailed is a EventType enum value
    EventTypeStartChildWorkflowExecutionFailed = "StartChildWorkflowExecutionFailed"

    // EventTypeChildWorkflowExecutionStarted is a EventType enum value
    EventTypeChildWorkflowExecutionStarted = "ChildWorkflowExecutionStarted"

    // EventTypeChildWorkflowExecutionCompleted is a EventType enum value
    EventTypeChildWorkflowExecutionCompleted = "ChildWorkflowExecutionCompleted"

    // EventTypeChildWorkflowExecutionFailed is a EventType enum value
    EventTypeChildWorkflowExecutionFailed = "ChildWorkflowExecutionFailed"

    // EventTypeChildWorkflowExecutionTimedOut is a EventType enum value
    EventTypeChildWorkflowExecutionTimedOut = "ChildWorkflowExecutionTimedOut"

    // EventTypeChildWorkflowExecutionCanceled is a EventType enum value
    EventTypeChildWorkflowExecutionCanceled = "ChildWorkflowExecutionCanceled"

    // EventTypeChildWorkflowExecutionTerminated is a EventType enum value
    EventTypeChildWorkflowExecutionTerminated = "ChildWorkflowExecutionTerminated"

    // EventTypeSignalExternalWorkflowExecutionInitiated is a EventType enum value
    EventTypeSignalExternalWorkflowExecutionInitiated = "SignalExternalWorkflowExecutionInitiated"

    // EventTypeSignalExternalWorkflowExecutionFailed is a EventType enum value
    EventTypeSignalExternalWorkflowExecutionFailed = "SignalExternalWorkflowExecutionFailed"

    // EventTypeExternalWorkflowExecutionSignaled is a EventType enum value
    EventTypeExternalWorkflowExecutionSignaled = "ExternalWorkflowExecutionSignaled"

    // EventTypeRequestCancelExternalWorkflowExecutionInitiated is a EventType enum value
    EventTypeRequestCancelExternalWorkflowExecutionInitiated = "RequestCancelExternalWorkflowExecutionInitiated"

    // EventTypeRequestCancelExternalWorkflowExecutionFailed is a EventType enum value
    EventTypeRequestCancelExternalWorkflowExecutionFailed = "RequestCancelExternalWorkflowExecutionFailed"

    // EventTypeExternalWorkflowExecutionCancelRequested is a EventType enum value
    EventTypeExternalWorkflowExecutionCancelRequested = "ExternalWorkflowExecutionCancelRequested"

    // EventTypeLambdaFunctionScheduled is a EventType enum value
    EventTypeLambdaFunctionScheduled = "LambdaFunctionScheduled"

    // EventTypeLambdaFunctionStarted is a EventType enum value
    EventTypeLambdaFunctionStarted = "LambdaFunctionStarted"

    // EventTypeLambdaFunctionCompleted is a EventType enum value
    EventTypeLambdaFunctionCompleted = "LambdaFunctionCompleted"

    // EventTypeLambdaFunctionFailed is a EventType enum value
    EventTypeLambdaFunctionFailed = "LambdaFunctionFailed"

    // EventTypeLambdaFunctionTimedOut is a EventType enum value
    EventTypeLambdaFunctionTimedOut = "LambdaFunctionTimedOut"

    // EventTypeScheduleLambdaFunctionFailed is a EventType enum value
    EventTypeScheduleLambdaFunctionFailed = "ScheduleLambdaFunctionFailed"

    // EventTypeStartLambdaFunctionFailed is a EventType enum value
    EventTypeStartLambdaFunctionFailed = "StartLambdaFunctionFailed"
)
const (
    // ExecutionStatusOpen is a ExecutionStatus enum value
    ExecutionStatusOpen = "OPEN"

    // ExecutionStatusClosed is a ExecutionStatus enum value
    ExecutionStatusClosed = "CLOSED"
)
const (
    // FailWorkflowExecutionFailedCauseUnhandledDecision is a FailWorkflowExecutionFailedCause enum value
    FailWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION"

    // FailWorkflowExecutionFailedCauseOperationNotPermitted is a FailWorkflowExecutionFailedCause enum value
    FailWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // RegistrationStatusRegistered is a RegistrationStatus enum value
    RegistrationStatusRegistered = "REGISTERED"

    // RegistrationStatusDeprecated is a RegistrationStatus enum value
    RegistrationStatusDeprecated = "DEPRECATED"
)
const (
    // RequestCancelActivityTaskFailedCauseActivityIdUnknown is a RequestCancelActivityTaskFailedCause enum value
    RequestCancelActivityTaskFailedCauseActivityIdUnknown = "ACTIVITY_ID_UNKNOWN"

    // RequestCancelActivityTaskFailedCauseOperationNotPermitted is a RequestCancelActivityTaskFailedCause enum value
    RequestCancelActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a RequestCancelExternalWorkflowExecutionFailedCause enum value
    RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"

    // RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded is a RequestCancelExternalWorkflowExecutionFailedCause enum value
    RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"

    // RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted is a RequestCancelExternalWorkflowExecutionFailedCause enum value
    RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // ScheduleActivityTaskFailedCauseActivityTypeDeprecated is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseActivityTypeDeprecated = "ACTIVITY_TYPE_DEPRECATED"

    // ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist = "ACTIVITY_TYPE_DOES_NOT_EXIST"

    // ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse = "ACTIVITY_ID_ALREADY_IN_USE"

    // ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded = "OPEN_ACTIVITIES_LIMIT_EXCEEDED"

    // ScheduleActivityTaskFailedCauseActivityCreationRateExceeded is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseActivityCreationRateExceeded = "ACTIVITY_CREATION_RATE_EXCEEDED"

    // ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"

    // ScheduleActivityTaskFailedCauseDefaultTaskListUndefined is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED"

    // ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"

    // ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"

    // ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"

    // ScheduleActivityTaskFailedCauseOperationNotPermitted is a ScheduleActivityTaskFailedCause enum value
    ScheduleActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // ScheduleLambdaFunctionFailedCauseIdAlreadyInUse is a ScheduleLambdaFunctionFailedCause enum value
    ScheduleLambdaFunctionFailedCauseIdAlreadyInUse = "ID_ALREADY_IN_USE"

    // ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded is a ScheduleLambdaFunctionFailedCause enum value
    ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"

    // ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded is a ScheduleLambdaFunctionFailedCause enum value
    ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"

    // ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion is a ScheduleLambdaFunctionFailedCause enum value
    ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"
)
const (
    // SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a SignalExternalWorkflowExecutionFailedCause enum value
    SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"

    // SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded is a SignalExternalWorkflowExecutionFailedCause enum value
    SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"

    // SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted is a SignalExternalWorkflowExecutionFailedCause enum value
    SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST"

    // StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated = "WORKFLOW_TYPE_DEPRECATED"

    // StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded = "OPEN_CHILDREN_LIMIT_EXCEEDED"

    // StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded = "OPEN_WORKFLOWS_LIMIT_EXCEEDED"

    // StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded = "CHILD_CREATION_RATE_EXCEEDED"

    // StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning = "WORKFLOW_ALREADY_RUNNING"

    // StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"

    // StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED"

    // StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"

    // StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined = "DEFAULT_CHILD_POLICY_UNDEFINED"

    // StartChildWorkflowExecutionFailedCauseOperationNotPermitted is a StartChildWorkflowExecutionFailedCause enum value
    StartChildWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // StartTimerFailedCauseTimerIdAlreadyInUse is a StartTimerFailedCause enum value
    StartTimerFailedCauseTimerIdAlreadyInUse = "TIMER_ID_ALREADY_IN_USE"

    // StartTimerFailedCauseOpenTimersLimitExceeded is a StartTimerFailedCause enum value
    StartTimerFailedCauseOpenTimersLimitExceeded = "OPEN_TIMERS_LIMIT_EXCEEDED"

    // StartTimerFailedCauseTimerCreationRateExceeded is a StartTimerFailedCause enum value
    StartTimerFailedCauseTimerCreationRateExceeded = "TIMER_CREATION_RATE_EXCEEDED"

    // StartTimerFailedCauseOperationNotPermitted is a StartTimerFailedCause enum value
    StartTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // WorkflowExecutionTerminatedCauseChildPolicyApplied is a WorkflowExecutionTerminatedCause enum value
    WorkflowExecutionTerminatedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED"

    // WorkflowExecutionTerminatedCauseEventLimitExceeded is a WorkflowExecutionTerminatedCause enum value
    WorkflowExecutionTerminatedCauseEventLimitExceeded = "EVENT_LIMIT_EXCEEDED"

    // WorkflowExecutionTerminatedCauseOperatorInitiated is a WorkflowExecutionTerminatedCause enum value
    WorkflowExecutionTerminatedCauseOperatorInitiated = "OPERATOR_INITIATED"
)
const (

    // ErrCodeDefaultUndefinedFault for service response error code
    // "DefaultUndefinedFault".
    //
    // The StartWorkflowExecution API action was called without the required parameters
    // set.
    //
    // Some workflow execution parameters, such as the decision taskList, must be
    // set to start the execution. However, these parameters might have been set
    // as defaults when the workflow type was registered. In this case, you can
    // omit these parameters from the StartWorkflowExecution call and Amazon SWF
    // uses the values defined in the workflow type.
    //
    // If these parameters aren't set and no default parameters were defined in
    // the workflow type, this error is displayed.
    ErrCodeDefaultUndefinedFault = "DefaultUndefinedFault"

    // ErrCodeDomainAlreadyExistsFault for service response error code
    // "DomainAlreadyExistsFault".
    //
    // Returned if the domain already exists. You may get this fault if you are
    // registering a domain that is either already registered or deprecated, or
    // if you undeprecate a domain that is currently registered.
    ErrCodeDomainAlreadyExistsFault = "DomainAlreadyExistsFault"

    // ErrCodeDomainDeprecatedFault for service response error code
    // "DomainDeprecatedFault".
    //
    // Returned when the specified domain has been deprecated.
    ErrCodeDomainDeprecatedFault = "DomainDeprecatedFault"

    // ErrCodeLimitExceededFault for service response error code
    // "LimitExceededFault".
    //
    // Returned by any operation if a system imposed limitation has been reached.
    // To address this fault you should either clean up unused resources or increase
    // the limit by contacting AWS.
    ErrCodeLimitExceededFault = "LimitExceededFault"

    // ErrCodeOperationNotPermittedFault for service response error code
    // "OperationNotPermittedFault".
    //
    // Returned when the caller doesn't have sufficient permissions to invoke the
    // action.
    ErrCodeOperationNotPermittedFault = "OperationNotPermittedFault"

    // ErrCodeTooManyTagsFault for service response error code
    // "TooManyTagsFault".
    //
    // You've exceeded the number of tags allowed for a domain.
    ErrCodeTooManyTagsFault = "TooManyTagsFault"

    // ErrCodeTypeAlreadyExistsFault for service response error code
    // "TypeAlreadyExistsFault".
    //
    // Returned if the type already exists in the specified domain. You may get
    // this fault if you are registering a type that is either already registered
    // or deprecated, or if you undeprecate a type that is currently registered.
    ErrCodeTypeAlreadyExistsFault = "TypeAlreadyExistsFault"

    // ErrCodeTypeDeprecatedFault for service response error code
    // "TypeDeprecatedFault".
    //
    // Returned when the specified activity or workflow type was already deprecated.
    ErrCodeTypeDeprecatedFault = "TypeDeprecatedFault"

    // ErrCodeUnknownResourceFault for service response error code
    // "UnknownResourceFault".
    //
    // Returned when the named resource cannot be found with in the scope of this
    // operation (region or domain). This could happen if the named resource was
    // never created or is no longer available for this operation.
    ErrCodeUnknownResourceFault = "UnknownResourceFault"

    // ErrCodeWorkflowExecutionAlreadyStartedFault for service response error code
    // "WorkflowExecutionAlreadyStartedFault".
    //
    // Returned by StartWorkflowExecution when an open execution with the same workflowId
    // is already running in the specified domain.
    ErrCodeWorkflowExecutionAlreadyStartedFault = "WorkflowExecutionAlreadyStartedFault"
)
const (
    ServiceName = "swf"       // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "SWF"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // DecisionTaskTimeoutTypeStartToClose is a DecisionTaskTimeoutType enum value
    DecisionTaskTimeoutTypeStartToClose = "START_TO_CLOSE"
)
const (
    // LambdaFunctionTimeoutTypeStartToClose is a LambdaFunctionTimeoutType enum value
    LambdaFunctionTimeoutTypeStartToClose = "START_TO_CLOSE"
)
const (
    // RecordMarkerFailedCauseOperationNotPermitted is a RecordMarkerFailedCause enum value
    RecordMarkerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED"
)
const (
    // StartLambdaFunctionFailedCauseAssumeRoleFailed is a StartLambdaFunctionFailedCause enum value
    StartLambdaFunctionFailedCauseAssumeRoleFailed = "ASSUME_ROLE_FAILED"
)
const (
    // WorkflowExecutionCancelRequestedCauseChildPolicyApplied is a WorkflowExecutionCancelRequestedCause enum value
    WorkflowExecutionCancelRequestedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED"
)
const (
    // WorkflowExecutionTimeoutTypeStartToClose is a WorkflowExecutionTimeoutType enum value
    WorkflowExecutionTimeoutTypeStartToClose = "START_TO_CLOSE"
)

type ActivityTaskCancelRequestedEventAttributes Uses

type ActivityTaskCancelRequestedEventAttributes struct {

    // The unique ID of the task.
    //
    // ActivityId is a required field
    ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the RequestCancelActivityTask 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.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskCancelRequested event.

func (ActivityTaskCancelRequestedEventAttributes) GoString Uses

func (s ActivityTaskCancelRequestedEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskCancelRequestedEventAttributes) SetActivityId Uses

func (s *ActivityTaskCancelRequestedEventAttributes) SetActivityId(v string) *ActivityTaskCancelRequestedEventAttributes

SetActivityId sets the ActivityId field's value.

func (*ActivityTaskCancelRequestedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *ActivityTaskCancelRequestedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ActivityTaskCancelRequestedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (ActivityTaskCancelRequestedEventAttributes) String Uses

func (s ActivityTaskCancelRequestedEventAttributes) String() string

String returns the string representation

type ActivityTaskCanceledEventAttributes Uses

type ActivityTaskCanceledEventAttributes struct {

    // Details of the cancellation.
    Details *string `locationName:"details" type:"string"`

    // If set, contains the ID of the last ActivityTaskCancelRequested event recorded
    // for this activity task. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    LatestCancelRequestedEventId *int64 `locationName:"latestCancelRequestedEventId" type:"long"`

    // The ID of the ActivityTaskScheduled event that was recorded when this activity
    // task was scheduled. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the ActivityTaskStarted event recorded when this activity task
    // was started. This information can be useful for diagnosing problems by tracing
    // back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskCanceled event.

func (ActivityTaskCanceledEventAttributes) GoString Uses

func (s ActivityTaskCanceledEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskCanceledEventAttributes) SetDetails Uses

func (s *ActivityTaskCanceledEventAttributes) SetDetails(v string) *ActivityTaskCanceledEventAttributes

SetDetails sets the Details field's value.

func (*ActivityTaskCanceledEventAttributes) SetLatestCancelRequestedEventId Uses

func (s *ActivityTaskCanceledEventAttributes) SetLatestCancelRequestedEventId(v int64) *ActivityTaskCanceledEventAttributes

SetLatestCancelRequestedEventId sets the LatestCancelRequestedEventId field's value.

func (*ActivityTaskCanceledEventAttributes) SetScheduledEventId Uses

func (s *ActivityTaskCanceledEventAttributes) SetScheduledEventId(v int64) *ActivityTaskCanceledEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*ActivityTaskCanceledEventAttributes) SetStartedEventId Uses

func (s *ActivityTaskCanceledEventAttributes) SetStartedEventId(v int64) *ActivityTaskCanceledEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (ActivityTaskCanceledEventAttributes) String Uses

func (s ActivityTaskCanceledEventAttributes) String() string

String returns the string representation

type ActivityTaskCompletedEventAttributes Uses

type ActivityTaskCompletedEventAttributes struct {

    // The results of the activity task.
    Result *string `locationName:"result" type:"string"`

    // The ID of the ActivityTaskScheduled event that was recorded when this activity
    // task was scheduled. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the ActivityTaskStarted event recorded when this activity task
    // was started. This information can be useful for diagnosing problems by tracing
    // back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskCompleted event.

func (ActivityTaskCompletedEventAttributes) GoString Uses

func (s ActivityTaskCompletedEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskCompletedEventAttributes) SetResult Uses

func (s *ActivityTaskCompletedEventAttributes) SetResult(v string) *ActivityTaskCompletedEventAttributes

SetResult sets the Result field's value.

func (*ActivityTaskCompletedEventAttributes) SetScheduledEventId Uses

func (s *ActivityTaskCompletedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskCompletedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*ActivityTaskCompletedEventAttributes) SetStartedEventId Uses

func (s *ActivityTaskCompletedEventAttributes) SetStartedEventId(v int64) *ActivityTaskCompletedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (ActivityTaskCompletedEventAttributes) String Uses

func (s ActivityTaskCompletedEventAttributes) String() string

String returns the string representation

type ActivityTaskFailedEventAttributes Uses

type ActivityTaskFailedEventAttributes struct {

    // The details of the failure.
    Details *string `locationName:"details" type:"string"`

    // The reason provided for the failure.
    Reason *string `locationName:"reason" type:"string"`

    // The ID of the ActivityTaskScheduled event that was recorded when this activity
    // task was scheduled. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the ActivityTaskStarted event recorded when this activity task
    // was started. This information can be useful for diagnosing problems by tracing
    // back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskFailed event.

func (ActivityTaskFailedEventAttributes) GoString Uses

func (s ActivityTaskFailedEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskFailedEventAttributes) SetDetails Uses

func (s *ActivityTaskFailedEventAttributes) SetDetails(v string) *ActivityTaskFailedEventAttributes

SetDetails sets the Details field's value.

func (*ActivityTaskFailedEventAttributes) SetReason Uses

func (s *ActivityTaskFailedEventAttributes) SetReason(v string) *ActivityTaskFailedEventAttributes

SetReason sets the Reason field's value.

func (*ActivityTaskFailedEventAttributes) SetScheduledEventId Uses

func (s *ActivityTaskFailedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskFailedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*ActivityTaskFailedEventAttributes) SetStartedEventId Uses

func (s *ActivityTaskFailedEventAttributes) SetStartedEventId(v int64) *ActivityTaskFailedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (ActivityTaskFailedEventAttributes) String Uses

func (s ActivityTaskFailedEventAttributes) String() string

String returns the string representation

type ActivityTaskScheduledEventAttributes Uses

type ActivityTaskScheduledEventAttributes struct {

    // The unique ID of the activity task.
    //
    // ActivityId is a required field
    ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"`

    // The type of the activity task.
    //
    // ActivityType is a required field
    ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"`

    // Data attached to the event that can be used by the decider in subsequent
    // workflow tasks. This data isn't sent to the activity.
    Control *string `locationName:"control" type:"string"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision that
    // resulted in the scheduling of this activity task. This information can be
    // useful for diagnosing problems by tracing back the chain of events leading
    // up to this event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`

    // The maximum time before which the worker processing this task must report
    // progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded,
    // the activity task is automatically timed out. If the worker subsequently
    // attempts to record a heartbeat or return a result, it is ignored.
    HeartbeatTimeout *string `locationName:"heartbeatTimeout" type:"string"`

    // The input provided to the activity task.
    Input *string `locationName:"input" type:"string"`

    // The maximum amount of time for this activity task.
    ScheduleToCloseTimeout *string `locationName:"scheduleToCloseTimeout" type:"string"`

    // The maximum amount of time the activity task can wait to be assigned to a
    // worker.
    ScheduleToStartTimeout *string `locationName:"scheduleToStartTimeout" type:"string"`

    // The maximum amount of time a worker may take to process the activity task.
    StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"`

    // The task list in which the activity task has been scheduled.
    //
    // TaskList is a required field
    TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"`

    // The priority to assign to the scheduled activity task. If set, this overrides
    // any default priority value that was assigned when the activity type was registered.
    //
    // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648)
    // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.
    //
    // For more information about setting task priority, see Setting Task Priority
    // (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
    // in the Amazon SWF Developer Guide.
    TaskPriority *string `locationName:"taskPriority" type:"string"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskScheduled event.

func (ActivityTaskScheduledEventAttributes) GoString Uses

func (s ActivityTaskScheduledEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskScheduledEventAttributes) SetActivityId Uses

func (s *ActivityTaskScheduledEventAttributes) SetActivityId(v string) *ActivityTaskScheduledEventAttributes

SetActivityId sets the ActivityId field's value.

func (*ActivityTaskScheduledEventAttributes) SetActivityType Uses

func (s *ActivityTaskScheduledEventAttributes) SetActivityType(v *ActivityType) *ActivityTaskScheduledEventAttributes

SetActivityType sets the ActivityType field's value.

func (*ActivityTaskScheduledEventAttributes) SetControl Uses

func (s *ActivityTaskScheduledEventAttributes) SetControl(v string) *ActivityTaskScheduledEventAttributes

SetControl sets the Control field's value.

func (*ActivityTaskScheduledEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *ActivityTaskScheduledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ActivityTaskScheduledEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (*ActivityTaskScheduledEventAttributes) SetHeartbeatTimeout Uses

func (s *ActivityTaskScheduledEventAttributes) SetHeartbeatTimeout(v string) *ActivityTaskScheduledEventAttributes

SetHeartbeatTimeout sets the HeartbeatTimeout field's value.

func (*ActivityTaskScheduledEventAttributes) SetInput Uses

func (s *ActivityTaskScheduledEventAttributes) SetInput(v string) *ActivityTaskScheduledEventAttributes

SetInput sets the Input field's value.

func (*ActivityTaskScheduledEventAttributes) SetScheduleToCloseTimeout Uses

func (s *ActivityTaskScheduledEventAttributes) SetScheduleToCloseTimeout(v string) *ActivityTaskScheduledEventAttributes

SetScheduleToCloseTimeout sets the ScheduleToCloseTimeout field's value.

func (*ActivityTaskScheduledEventAttributes) SetScheduleToStartTimeout Uses

func (s *ActivityTaskScheduledEventAttributes) SetScheduleToStartTimeout(v string) *ActivityTaskScheduledEventAttributes

SetScheduleToStartTimeout sets the ScheduleToStartTimeout field's value.

func (*ActivityTaskScheduledEventAttributes) SetStartToCloseTimeout Uses

func (s *ActivityTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *ActivityTaskScheduledEventAttributes

SetStartToCloseTimeout sets the StartToCloseTimeout field's value.

func (*ActivityTaskScheduledEventAttributes) SetTaskList Uses

func (s *ActivityTaskScheduledEventAttributes) SetTaskList(v *TaskList) *ActivityTaskScheduledEventAttributes

SetTaskList sets the TaskList field's value.

func (*ActivityTaskScheduledEventAttributes) SetTaskPriority Uses

func (s *ActivityTaskScheduledEventAttributes) SetTaskPriority(v string) *ActivityTaskScheduledEventAttributes

SetTaskPriority sets the TaskPriority field's value.

func (ActivityTaskScheduledEventAttributes) String Uses

func (s ActivityTaskScheduledEventAttributes) String() string

String returns the string representation

type ActivityTaskStartedEventAttributes Uses

type ActivityTaskStartedEventAttributes struct {

    // Identity of the worker that was assigned this task. This aids diagnostics
    // when problems arise. The form of this identity is user defined.
    Identity *string `locationName:"identity" type:"string"`

    // The ID of the ActivityTaskScheduled event that was recorded when this activity
    // task was scheduled. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskStarted event.

func (ActivityTaskStartedEventAttributes) GoString Uses

func (s ActivityTaskStartedEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskStartedEventAttributes) SetIdentity Uses

func (s *ActivityTaskStartedEventAttributes) SetIdentity(v string) *ActivityTaskStartedEventAttributes

SetIdentity sets the Identity field's value.

func (*ActivityTaskStartedEventAttributes) SetScheduledEventId Uses

func (s *ActivityTaskStartedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskStartedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (ActivityTaskStartedEventAttributes) String Uses

func (s ActivityTaskStartedEventAttributes) String() string

String returns the string representation

type ActivityTaskTimedOutEventAttributes Uses

type ActivityTaskTimedOutEventAttributes struct {

    // Contains the content of the details parameter for the last call made by the
    // activity to RecordActivityTaskHeartbeat.
    Details *string `locationName:"details" type:"string"`

    // The ID of the ActivityTaskScheduled event that was recorded when this activity
    // task was scheduled. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the ActivityTaskStarted event recorded when this activity task
    // was started. This information can be useful for diagnosing problems by tracing
    // back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The type of the timeout that caused this event.
    //
    // TimeoutType is a required field
    TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"ActivityTaskTimeoutType"`
    // contains filtered or unexported fields
}

Provides the details of the ActivityTaskTimedOut event.

func (ActivityTaskTimedOutEventAttributes) GoString Uses

func (s ActivityTaskTimedOutEventAttributes) GoString() string

GoString returns the string representation

func (*ActivityTaskTimedOutEventAttributes) SetDetails Uses

func (s *ActivityTaskTimedOutEventAttributes) SetDetails(v string) *ActivityTaskTimedOutEventAttributes

SetDetails sets the Details field's value.

func (*ActivityTaskTimedOutEventAttributes) SetScheduledEventId Uses

func (s *ActivityTaskTimedOutEventAttributes) SetScheduledEventId(v int64) *ActivityTaskTimedOutEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*ActivityTaskTimedOutEventAttributes) SetStartedEventId Uses

func (s *ActivityTaskTimedOutEventAttributes) SetStartedEventId(v int64) *ActivityTaskTimedOutEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*ActivityTaskTimedOutEventAttributes) SetTimeoutType Uses

func (s *ActivityTaskTimedOutEventAttributes) SetTimeoutType(v string) *ActivityTaskTimedOutEventAttributes

SetTimeoutType sets the TimeoutType field's value.

func (ActivityTaskTimedOutEventAttributes) String Uses

func (s ActivityTaskTimedOutEventAttributes) String() string

String returns the string representation

type ActivityType Uses

type ActivityType struct {

    // The name of this activity.
    //
    // The combination of activity type name and version must be unique within a
    // domain.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The version of this activity.
    //
    // The combination of activity type name and version must be unique with in
    // a domain.
    //
    // Version is a required field
    Version *string `locationName:"version" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents an activity type.

func (ActivityType) GoString Uses

func (s ActivityType) GoString() string

GoString returns the string representation

func (*ActivityType) SetName Uses

func (s *ActivityType) SetName(v string) *ActivityType

SetName sets the Name field's value.

func (*ActivityType) SetVersion Uses

func (s *ActivityType) SetVersion(v string) *ActivityType

SetVersion sets the Version field's value.

func (ActivityType) String Uses

func (s ActivityType) String() string

String returns the string representation

func (*ActivityType) Validate Uses

func (s *ActivityType) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ActivityTypeConfiguration Uses

type ActivityTypeConfiguration struct {

    // The default maximum time, in seconds, before which a worker processing a
    // task must report progress by calling RecordActivityTaskHeartbeat.
    //
    // You can specify this value only when registering an activity type. The registered
    // default value can be overridden when you schedule a task through the ScheduleActivityTask
    // Decision. If the activity worker subsequently attempts to record a heartbeat
    // or returns a result, the activity worker receives an UnknownResource fault.
    // In this case, Amazon SWF no longer considers the activity task to be valid;
    // the activity worker should clean up the activity task.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    DefaultTaskHeartbeatTimeout *string `locationName:"defaultTaskHeartbeatTimeout" type:"string"`

    // The default task list specified for this activity type at registration. This
    // default is used if a task list isn't provided when a task is scheduled through
    // the ScheduleActivityTask Decision. You can override the default registered
    // task list when scheduling a task through the ScheduleActivityTask Decision.
    DefaultTaskList *TaskList `locationName:"defaultTaskList" type:"structure"`

    // The default task priority for tasks of this activity type, specified at registration.
    // If not set, then 0 is used as the default priority. This default can be overridden
    // when scheduling an activity task.
    //
    // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648)
    // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.
    //
    // For more information about setting task priority, see Setting Task Priority
    // (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
    // in the Amazon SWF Developer Guide.
    DefaultTaskPriority *string `locationName:"defaultTaskPriority" type:"string"`

    // The default maximum duration, specified when registering the activity type,
    // for tasks of this activity type. You can override this default when scheduling
    // a task through the ScheduleActivityTask Decision.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    DefaultTaskScheduleToCloseTimeout *string `locationName:"defaultTaskScheduleToCloseTimeout" type:"string"`

    // The default maximum duration, specified when registering the activity type,
    // that a task of an activity type can wait before being assigned to a worker.
    // You can override this default when scheduling a task through the ScheduleActivityTask
    // Decision.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    DefaultTaskScheduleToStartTimeout *string `locationName:"defaultTaskScheduleToStartTimeout" type:"string"`

    // The default maximum duration for tasks of an activity type specified when
    // registering the activity type. You can override this default when scheduling
    // a task through the ScheduleActivityTask Decision.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string"`
    // contains filtered or unexported fields
}

Configuration settings registered with the activity type.

func (ActivityTypeConfiguration) GoString Uses

func (s ActivityTypeConfiguration) GoString() string

GoString returns the string representation

func (*ActivityTypeConfiguration) SetDefaultTaskHeartbeatTimeout Uses

func (s *ActivityTypeConfiguration) SetDefaultTaskHeartbeatTimeout(v string) *ActivityTypeConfiguration

SetDefaultTaskHeartbeatTimeout sets the DefaultTaskHeartbeatTimeout field's value.

func (*ActivityTypeConfiguration) SetDefaultTaskList Uses

func (s *ActivityTypeConfiguration) SetDefaultTaskList(v *TaskList) *ActivityTypeConfiguration

SetDefaultTaskList sets the DefaultTaskList field's value.

func (*ActivityTypeConfiguration) SetDefaultTaskPriority Uses

func (s *ActivityTypeConfiguration) SetDefaultTaskPriority(v string) *ActivityTypeConfiguration

SetDefaultTaskPriority sets the DefaultTaskPriority field's value.

func (*ActivityTypeConfiguration) SetDefaultTaskScheduleToCloseTimeout Uses

func (s *ActivityTypeConfiguration) SetDefaultTaskScheduleToCloseTimeout(v string) *ActivityTypeConfiguration

SetDefaultTaskScheduleToCloseTimeout sets the DefaultTaskScheduleToCloseTimeout field's value.

func (*ActivityTypeConfiguration) SetDefaultTaskScheduleToStartTimeout Uses

func (s *ActivityTypeConfiguration) SetDefaultTaskScheduleToStartTimeout(v string) *ActivityTypeConfiguration

SetDefaultTaskScheduleToStartTimeout sets the DefaultTaskScheduleToStartTimeout field's value.

func (*ActivityTypeConfiguration) SetDefaultTaskStartToCloseTimeout Uses

func (s *ActivityTypeConfiguration) SetDefaultTaskStartToCloseTimeout(v string) *ActivityTypeConfiguration

SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value.

func (ActivityTypeConfiguration) String Uses

func (s ActivityTypeConfiguration) String() string

String returns the string representation

type ActivityTypeInfo Uses

type ActivityTypeInfo struct {

    // The ActivityType type structure representing the activity type.
    //
    // ActivityType is a required field
    ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"`

    // The date and time this activity type was created through RegisterActivityType.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

    // If DEPRECATED, the date and time DeprecateActivityType was called.
    DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp"`

    // The description of the activity type provided in RegisterActivityType.
    Description *string `locationName:"description" type:"string"`

    // The current status of the activity type.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"`
    // contains filtered or unexported fields
}

Detailed information about an activity type.

func (ActivityTypeInfo) GoString Uses

func (s ActivityTypeInfo) GoString() string

GoString returns the string representation

func (*ActivityTypeInfo) SetActivityType Uses

func (s *ActivityTypeInfo) SetActivityType(v *ActivityType) *ActivityTypeInfo

SetActivityType sets the ActivityType field's value.

func (*ActivityTypeInfo) SetCreationDate Uses

func (s *ActivityTypeInfo) SetCreationDate(v time.Time) *ActivityTypeInfo

SetCreationDate sets the CreationDate field's value.

func (*ActivityTypeInfo) SetDeprecationDate Uses

func (s *ActivityTypeInfo) SetDeprecationDate(v time.Time) *ActivityTypeInfo

SetDeprecationDate sets the DeprecationDate field's value.

func (*ActivityTypeInfo) SetDescription Uses

func (s *ActivityTypeInfo) SetDescription(v string) *ActivityTypeInfo

SetDescription sets the Description field's value.

func (*ActivityTypeInfo) SetStatus Uses

func (s *ActivityTypeInfo) SetStatus(v string) *ActivityTypeInfo

SetStatus sets the Status field's value.

func (ActivityTypeInfo) String Uses

func (s ActivityTypeInfo) String() string

String returns the string representation

type CancelTimerDecisionAttributes Uses

type CancelTimerDecisionAttributes struct {

    // The unique ID of the timer to cancel.
    //
    // TimerId is a required field
    TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the CancelTimer decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

* Use a Resource element with the domain name to limit the action to only
specified domains.

* Use an Action element to allow or deny permission to call this action.

* You cannot use an IAM policy to constrain this action's parameters.

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 cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

func (CancelTimerDecisionAttributes) GoString Uses

func (s CancelTimerDecisionAttributes) GoString() string

GoString returns the string representation

func (*CancelTimerDecisionAttributes) SetTimerId Uses

func (s *CancelTimerDecisionAttributes) SetTimerId(v string) *CancelTimerDecisionAttributes

SetTimerId sets the TimerId field's value.

func (CancelTimerDecisionAttributes) String Uses

func (s CancelTimerDecisionAttributes) String() string

String returns the string representation

func (*CancelTimerDecisionAttributes) Validate Uses

func (s *CancelTimerDecisionAttributes) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelTimerFailedEventAttributes Uses

type CancelTimerFailedEventAttributes struct {

    // The cause of the failure. This information is generated by the system and
    // can be useful for diagnostic purposes.
    //
    // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it
    // lacked sufficient permissions. For details and example IAM policies, see
    // Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
    // in the Amazon SWF Developer Guide.
    //
    // Cause is a required field
    Cause *string `locationName:"cause" type:"string" required:"true" enum:"CancelTimerFailedCause"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the CancelTimer decision to cancel this timer. This information
    // can be useful for diagnosing problems by tracing back the chain of events
    // leading up to this event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`

    // The timerId provided in the CancelTimer decision that failed.
    //
    // TimerId is a required field
    TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the CancelTimerFailed event.

func (CancelTimerFailedEventAttributes) GoString Uses

func (s CancelTimerFailedEventAttributes) GoString() string

GoString returns the string representation

func (*CancelTimerFailedEventAttributes) SetCause Uses

func (s *CancelTimerFailedEventAttributes) SetCause(v string) *CancelTimerFailedEventAttributes

SetCause sets the Cause field's value.

func (*CancelTimerFailedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *CancelTimerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CancelTimerFailedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (*CancelTimerFailedEventAttributes) SetTimerId Uses

func (s *CancelTimerFailedEventAttributes) SetTimerId(v string) *CancelTimerFailedEventAttributes

SetTimerId sets the TimerId field's value.

func (CancelTimerFailedEventAttributes) String Uses

func (s CancelTimerFailedEventAttributes) String() string

String returns the string representation

type CancelWorkflowExecutionDecisionAttributes Uses

type CancelWorkflowExecutionDecisionAttributes struct {

    // Details of the cancellation.
    Details *string `locationName:"details" type:"string"`
    // contains filtered or unexported fields
}

Provides the details of the CancelWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

* Use a Resource element with the domain name to limit the action to only
specified domains.

* Use an Action element to allow or deny permission to call this action.

* You cannot use an IAM policy to constrain this action's parameters.

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 cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

func (CancelWorkflowExecutionDecisionAttributes) GoString Uses

func (s CancelWorkflowExecutionDecisionAttributes) GoString() string

GoString returns the string representation

func (*CancelWorkflowExecutionDecisionAttributes) SetDetails Uses

func (s *CancelWorkflowExecutionDecisionAttributes) SetDetails(v string) *CancelWorkflowExecutionDecisionAttributes

SetDetails sets the Details field's value.

func (CancelWorkflowExecutionDecisionAttributes) String Uses

func (s CancelWorkflowExecutionDecisionAttributes) String() string

String returns the string representation

type CancelWorkflowExecutionFailedEventAttributes Uses

type CancelWorkflowExecutionFailedEventAttributes struct {

    // The cause of the failure. This information is generated by the system and
    // can be useful for diagnostic purposes.
    //
    // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it
    // lacked sufficient permissions. For details and example IAM policies, see
    // Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
    // in the Amazon SWF Developer Guide.
    //
    // Cause is a required field
    Cause *string `locationName:"cause" type:"string" required:"true" enum:"CancelWorkflowExecutionFailedCause"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the CancelWorkflowExecution 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.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the CancelWorkflowExecutionFailed event.

func (CancelWorkflowExecutionFailedEventAttributes) GoString Uses

func (s CancelWorkflowExecutionFailedEventAttributes) GoString() string

GoString returns the string representation

func (*CancelWorkflowExecutionFailedEventAttributes) SetCause Uses

func (s *CancelWorkflowExecutionFailedEventAttributes) SetCause(v string) *CancelWorkflowExecutionFailedEventAttributes

SetCause sets the Cause field's value.

func (*CancelWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *CancelWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CancelWorkflowExecutionFailedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (CancelWorkflowExecutionFailedEventAttributes) String Uses

func (s CancelWorkflowExecutionFailedEventAttributes) String() string

String returns the string representation

type ChildWorkflowExecutionCanceledEventAttributes Uses

type ChildWorkflowExecutionCanceledEventAttributes struct {

    // Details of the cancellation (if provided).
    Details *string `locationName:"details" type:"string"`

    // The ID of the StartChildWorkflowExecutionInitiated event corresponding to
    // the StartChildWorkflowExecution Decision to start this child workflow execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The ID of the ChildWorkflowExecutionStarted event recorded when this child
    // workflow execution was started. This information can be useful for diagnosing
    // problems by tracing back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The child workflow execution that was canceled.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the child workflow execution.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provide details of the ChildWorkflowExecutionCanceled event.

func (ChildWorkflowExecutionCanceledEventAttributes) GoString Uses

func (s ChildWorkflowExecutionCanceledEventAttributes) GoString() string

GoString returns the string representation

func (*ChildWorkflowExecutionCanceledEventAttributes) SetDetails Uses

func (s *ChildWorkflowExecutionCanceledEventAttributes) SetDetails(v string) *ChildWorkflowExecutionCanceledEventAttributes

SetDetails sets the Details field's value.

func (*ChildWorkflowExecutionCanceledEventAttributes) SetInitiatedEventId Uses

func (s *ChildWorkflowExecutionCanceledEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionCanceledEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ChildWorkflowExecutionCanceledEventAttributes) SetStartedEventId Uses

func (s *ChildWorkflowExecutionCanceledEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionCanceledEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowExecution Uses

func (s *ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionCanceledEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowType Uses

func (s *ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionCanceledEventAttributes

SetWorkflowType sets the WorkflowType field's value.

func (ChildWorkflowExecutionCanceledEventAttributes) String Uses

func (s ChildWorkflowExecutionCanceledEventAttributes) String() string

String returns the string representation

type ChildWorkflowExecutionCompletedEventAttributes Uses

type ChildWorkflowExecutionCompletedEventAttributes struct {

    // The ID of the StartChildWorkflowExecutionInitiated event corresponding to
    // the StartChildWorkflowExecution Decision to start this child workflow execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The result of the child workflow execution.
    Result *string `locationName:"result" type:"string"`

    // The ID of the ChildWorkflowExecutionStarted event recorded when this child
    // workflow execution was started. This information can be useful for diagnosing
    // problems by tracing back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The child workflow execution that was completed.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the child workflow execution.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ChildWorkflowExecutionCompleted event.

func (ChildWorkflowExecutionCompletedEventAttributes) GoString Uses

func (s ChildWorkflowExecutionCompletedEventAttributes) GoString() string

GoString returns the string representation

func (*ChildWorkflowExecutionCompletedEventAttributes) SetInitiatedEventId Uses

func (s *ChildWorkflowExecutionCompletedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionCompletedEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ChildWorkflowExecutionCompletedEventAttributes) SetResult Uses

func (s *ChildWorkflowExecutionCompletedEventAttributes) SetResult(v string) *ChildWorkflowExecutionCompletedEventAttributes

SetResult sets the Result field's value.

func (*ChildWorkflowExecutionCompletedEventAttributes) SetStartedEventId Uses

func (s *ChildWorkflowExecutionCompletedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionCompletedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowExecution Uses

func (s *ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionCompletedEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowType Uses

func (s *ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionCompletedEventAttributes

SetWorkflowType sets the WorkflowType field's value.

func (ChildWorkflowExecutionCompletedEventAttributes) String Uses

func (s ChildWorkflowExecutionCompletedEventAttributes) String() string

String returns the string representation

type ChildWorkflowExecutionFailedEventAttributes Uses

type ChildWorkflowExecutionFailedEventAttributes struct {

    // The details of the failure (if provided).
    Details *string `locationName:"details" type:"string"`

    // The ID of the StartChildWorkflowExecutionInitiated event corresponding to
    // the StartChildWorkflowExecution Decision to start this child workflow execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The reason for the failure (if provided).
    Reason *string `locationName:"reason" type:"string"`

    // The ID of the ChildWorkflowExecutionStarted event recorded when this child
    // workflow execution was started. This information can be useful for diagnosing
    // problems by tracing back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The child workflow execution that failed.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the child workflow execution.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ChildWorkflowExecutionFailed event.

func (ChildWorkflowExecutionFailedEventAttributes) GoString Uses

func (s ChildWorkflowExecutionFailedEventAttributes) GoString() string

GoString returns the string representation

func (*ChildWorkflowExecutionFailedEventAttributes) SetDetails Uses

func (s *ChildWorkflowExecutionFailedEventAttributes) SetDetails(v string) *ChildWorkflowExecutionFailedEventAttributes

SetDetails sets the Details field's value.

func (*ChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId Uses

func (s *ChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ChildWorkflowExecutionFailedEventAttributes) SetReason Uses

func (s *ChildWorkflowExecutionFailedEventAttributes) SetReason(v string) *ChildWorkflowExecutionFailedEventAttributes

SetReason sets the Reason field's value.

func (*ChildWorkflowExecutionFailedEventAttributes) SetStartedEventId Uses

func (s *ChildWorkflowExecutionFailedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*ChildWorkflowExecutionFailedEventAttributes) SetWorkflowExecution Uses

func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionFailedEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*ChildWorkflowExecutionFailedEventAttributes) SetWorkflowType Uses

func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionFailedEventAttributes

SetWorkflowType sets the WorkflowType field's value.

func (ChildWorkflowExecutionFailedEventAttributes) String Uses

func (s ChildWorkflowExecutionFailedEventAttributes) String() string

String returns the string representation

type ChildWorkflowExecutionStartedEventAttributes Uses

type ChildWorkflowExecutionStartedEventAttributes struct {

    // The ID of the StartChildWorkflowExecutionInitiated event corresponding to
    // the StartChildWorkflowExecution Decision to start this child workflow execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The child workflow execution that was started.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the child workflow execution.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ChildWorkflowExecutionStarted event.

func (ChildWorkflowExecutionStartedEventAttributes) GoString Uses

func (s ChildWorkflowExecutionStartedEventAttributes) GoString() string

GoString returns the string representation

func (*ChildWorkflowExecutionStartedEventAttributes) SetInitiatedEventId Uses

func (s *ChildWorkflowExecutionStartedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionStartedEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ChildWorkflowExecutionStartedEventAttributes) SetWorkflowExecution Uses

func (s *ChildWorkflowExecutionStartedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionStartedEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*ChildWorkflowExecutionStartedEventAttributes) SetWorkflowType Uses

func (s *ChildWorkflowExecutionStartedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionStartedEventAttributes

SetWorkflowType sets the WorkflowType field's value.

func (ChildWorkflowExecutionStartedEventAttributes) String Uses

func (s ChildWorkflowExecutionStartedEventAttributes) String() string

String returns the string representation

type ChildWorkflowExecutionTerminatedEventAttributes Uses

type ChildWorkflowExecutionTerminatedEventAttributes struct {

    // The ID of the StartChildWorkflowExecutionInitiated event corresponding to
    // the StartChildWorkflowExecution Decision to start this child workflow execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The ID of the ChildWorkflowExecutionStarted event recorded when this child
    // workflow execution was started. This information can be useful for diagnosing
    // problems by tracing back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The child workflow execution that was terminated.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the child workflow execution.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ChildWorkflowExecutionTerminated event.

func (ChildWorkflowExecutionTerminatedEventAttributes) GoString Uses

func (s ChildWorkflowExecutionTerminatedEventAttributes) GoString() string

GoString returns the string representation

func (*ChildWorkflowExecutionTerminatedEventAttributes) SetInitiatedEventId Uses

func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionTerminatedEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ChildWorkflowExecutionTerminatedEventAttributes) SetStartedEventId Uses

func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionTerminatedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowExecution Uses

func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionTerminatedEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowType Uses

func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionTerminatedEventAttributes

SetWorkflowType sets the WorkflowType field's value.

func (ChildWorkflowExecutionTerminatedEventAttributes) String Uses

func (s ChildWorkflowExecutionTerminatedEventAttributes) String() string

String returns the string representation

type ChildWorkflowExecutionTimedOutEventAttributes Uses

type ChildWorkflowExecutionTimedOutEventAttributes struct {

    // The ID of the StartChildWorkflowExecutionInitiated event corresponding to
    // the StartChildWorkflowExecution Decision to start this child workflow execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The ID of the ChildWorkflowExecutionStarted event recorded when this child
    // workflow execution was started. This information can be useful for diagnosing
    // problems by tracing back the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The type of the timeout that caused the child workflow execution to time
    // out.
    //
    // TimeoutType is a required field
    TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"WorkflowExecutionTimeoutType"`

    // The child workflow execution that timed out.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the child workflow execution.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ChildWorkflowExecutionTimedOut event.

func (ChildWorkflowExecutionTimedOutEventAttributes) GoString Uses

func (s ChildWorkflowExecutionTimedOutEventAttributes) GoString() string

GoString returns the string representation

func (*ChildWorkflowExecutionTimedOutEventAttributes) SetInitiatedEventId Uses

func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionTimedOutEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ChildWorkflowExecutionTimedOutEventAttributes) SetStartedEventId Uses

func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionTimedOutEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*ChildWorkflowExecutionTimedOutEventAttributes) SetTimeoutType Uses

func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetTimeoutType(v string) *ChildWorkflowExecutionTimedOutEventAttributes

SetTimeoutType sets the TimeoutType field's value.

func (*ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowExecution Uses

func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionTimedOutEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowType Uses

func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionTimedOutEventAttributes

SetWorkflowType sets the WorkflowType field's value.

func (ChildWorkflowExecutionTimedOutEventAttributes) String Uses

func (s ChildWorkflowExecutionTimedOutEventAttributes) String() string

String returns the string representation

type CloseStatusFilter Uses

type CloseStatusFilter struct {

    // The close status that must match the close status of an execution for it
    // to meet the criteria of this filter.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"CloseStatus"`
    // contains filtered or unexported fields
}

Used to filter the closed workflow executions in visibility APIs by their close status.

func (CloseStatusFilter) GoString Uses

func (s CloseStatusFilter) GoString() string

GoString returns the string representation

func (*CloseStatusFilter) SetStatus Uses

func (s *CloseStatusFilter) SetStatus(v string) *CloseStatusFilter

SetStatus sets the Status field's value.

func (CloseStatusFilter) String Uses

func (s CloseStatusFilter) String() string

String returns the string representation

func (*CloseStatusFilter) Validate Uses

func (s *CloseStatusFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CompleteWorkflowExecutionDecisionAttributes Uses

type CompleteWorkflowExecutionDecisionAttributes struct {

    // The result of the workflow execution. The form of the result is implementation
    // defined.
    Result *string `locationName:"result" type:"string"`
    // contains filtered or unexported fields
}

Provides the details of the CompleteWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

* Use a Resource element with the domain name to limit the action to only
specified domains.

* Use an Action element to allow or deny permission to call this action.

* You cannot use an IAM policy to constrain this action's parameters.

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 cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

func (CompleteWorkflowExecutionDecisionAttributes) GoString Uses

func (s CompleteWorkflowExecutionDecisionAttributes) GoString() string

GoString returns the string representation

func (*CompleteWorkflowExecutionDecisionAttributes) SetResult Uses

func (s *CompleteWorkflowExecutionDecisionAttributes) SetResult(v string) *CompleteWorkflowExecutionDecisionAttributes

SetResult sets the Result field's value.

func (CompleteWorkflowExecutionDecisionAttributes) String Uses

func (s CompleteWorkflowExecutionDecisionAttributes) String() string

String returns the string representation

type CompleteWorkflowExecutionFailedEventAttributes Uses

type CompleteWorkflowExecutionFailedEventAttributes struct {

    // The cause of the failure. This information is generated by the system and
    // can be useful for diagnostic purposes.
    //
    // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it
    // lacked sufficient permissions. For details and example IAM policies, see
    // Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
    // in the Amazon SWF Developer Guide.
    //
    // Cause is a required field
    Cause *string `locationName:"cause" type:"string" required:"true" enum:"CompleteWorkflowExecutionFailedCause"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the CompleteWorkflowExecution decision to complete this
    // execution. This information can be useful for diagnosing problems by tracing
    // back the chain of events leading up to this event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the CompleteWorkflowExecutionFailed event.

func (CompleteWorkflowExecutionFailedEventAttributes) GoString Uses

func (s CompleteWorkflowExecutionFailedEventAttributes) GoString() string

GoString returns the string representation

func (*CompleteWorkflowExecutionFailedEventAttributes) SetCause Uses

func (s *CompleteWorkflowExecutionFailedEventAttributes) SetCause(v string) *CompleteWorkflowExecutionFailedEventAttributes

SetCause sets the Cause field's value.

func (*CompleteWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *CompleteWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CompleteWorkflowExecutionFailedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (CompleteWorkflowExecutionFailedEventAttributes) String Uses

func (s CompleteWorkflowExecutionFailedEventAttributes) String() string

String returns the string representation

type ContinueAsNewWorkflowExecutionDecisionAttributes Uses

type ContinueAsNewWorkflowExecutionDecisionAttributes struct {

    // If set, specifies the policy to use for the child workflow executions of
    // the new execution if it is terminated by calling the TerminateWorkflowExecution
    // action explicitly or due to an expired timeout. This policy overrides the
    // default child policy specified when registering the workflow type using RegisterWorkflowType.
    //
    // The supported child policies are:
    //
    //    * TERMINATE – The child executions are terminated.
    //
    //    * REQUEST_CANCEL – A request to cancel is attempted for each child execution
    //    by recording a WorkflowExecutionCancelRequested event in its history.
    //    It is up to the decider to take appropriate actions when it receives an
    //    execution history with this event.
    //
    //    * ABANDON – No action is taken. The child executions continue to run.
    //
    // A child policy for this workflow execution must be specified either as a
    // default for the workflow type or through this parameter. If neither this
    // parameter is set nor a default child policy was specified at registration
    // time then a fault is returned.
    ChildPolicy *string `locationName:"childPolicy" type:"string" enum:"ChildPolicy"`

    // If set, specifies the total duration for this workflow execution. This overrides
    // the defaultExecutionStartToCloseTimeout specified when registering the workflow
    // type.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    //
    // An execution start-to-close timeout for this workflow execution must be specified
    // either as a default for the workflow type or through this field. If neither
    // this field is set nor a default execution start-to-close timeout was specified
    // at registration time then a fault is returned.
    ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"`

    // The input provided to the new workflow execution.
    Input *string `locationName:"input" type:"string"`

    // The IAM role to attach to the new (continued) execution.
    LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"`

    // The list of tags to associate with the new workflow execution. A maximum
    // of 5 tags can be specified. You can list workflow executions with a specific
    // tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions
    // and specifying a TagFilter.
    TagList []*string `locationName:"tagList" type:"list"`

    // The task list to use for the decisions of the new (continued) workflow execution.
    TaskList *TaskList `locationName:"taskList" type:"structure"`

    // The task priority that, if set, specifies the priority for the decision tasks
    // for this workflow execution. This overrides the defaultTaskPriority specified
    // when registering the workflow type. Valid values are integers that range
    // from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647).
    // Higher numbers indicate higher priority.
    //
    // For more information about setting task priority, see Setting Task Priority
    // (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
    // in the Amazon SWF Developer Guide.
    TaskPriority *string `locationName:"taskPriority" type:"string"`

    // Specifies the maximum duration of decision tasks for the new workflow execution.
    // This parameter overrides the defaultTaskStartToCloseTimout specified when
    // registering the workflow type using RegisterWorkflowType.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    //
    // A task start-to-close timeout for the new workflow execution must be specified
    // either as a default for the workflow type or through this parameter. If neither
    // this parameter is set nor a default task start-to-close timeout was specified
    // at registration time then a fault is returned.
    TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"`

    // The version of the workflow to start.
    WorkflowTypeVersion *string `locationName:"workflowTypeVersion" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Provides the details of the ContinueAsNewWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

* Use a Resource element with the domain name to limit the action to only
specified domains.

* Use an Action element to allow or deny permission to call this action.

* Constrain the following parameters by using a Condition element with
the appropriate keys. tag – A tag used to identify the workflow execution
taskList – String constraint. The key is swf:taskList.name. workflowType.version
– String constraint. The key is swf:workflowType.version.

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 cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

func (ContinueAsNewWorkflowExecutionDecisionAttributes) GoString Uses

func (s ContinueAsNewWorkflowExecutionDecisionAttributes) GoString() string

GoString returns the string representation

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetChildPolicy Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetChildPolicy(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetChildPolicy sets the ChildPolicy field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetExecutionStartToCloseTimeout Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetExecutionStartToCloseTimeout(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetInput Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetInput(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetInput sets the Input field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetLambdaRole Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetLambdaRole(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetLambdaRole sets the LambdaRole field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetTagList Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTagList(v []*string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetTagList sets the TagList field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskList Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskList(v *TaskList) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetTaskList sets the TaskList field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskPriority Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskPriority(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetTaskPriority sets the TaskPriority field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskStartToCloseTimeout Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskStartToCloseTimeout(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) SetWorkflowTypeVersion Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetWorkflowTypeVersion(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes

SetWorkflowTypeVersion sets the WorkflowTypeVersion field's value.

func (ContinueAsNewWorkflowExecutionDecisionAttributes) String Uses

func (s ContinueAsNewWorkflowExecutionDecisionAttributes) String() string

String returns the string representation

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) Validate Uses

func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContinueAsNewWorkflowExecutionFailedEventAttributes Uses

type ContinueAsNewWorkflowExecutionFailedEventAttributes struct {

    // The cause of the failure. This information is generated by the system and
    // can be useful for diagnostic purposes.
    //
    // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it
    // lacked sufficient permissions. For details and example IAM policies, see
    // Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
    // in the Amazon SWF Developer Guide.
    //
    // Cause is a required field
    Cause *string `locationName:"cause" type:"string" required:"true" enum:"ContinueAsNewWorkflowExecutionFailedCause"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the ContinueAsNewWorkflowExecution decision that started
    // this execution. This information can be useful for diagnosing problems by
    // tracing back the chain of events leading up to this event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ContinueAsNewWorkflowExecutionFailed event.

func (ContinueAsNewWorkflowExecutionFailedEventAttributes) GoString Uses

func (s ContinueAsNewWorkflowExecutionFailedEventAttributes) GoString() string

GoString returns the string representation

func (*ContinueAsNewWorkflowExecutionFailedEventAttributes) SetCause Uses

func (s *ContinueAsNewWorkflowExecutionFailedEventAttributes) SetCause(v string) *ContinueAsNewWorkflowExecutionFailedEventAttributes

SetCause sets the Cause field's value.

func (*ContinueAsNewWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *ContinueAsNewWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ContinueAsNewWorkflowExecutionFailedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (ContinueAsNewWorkflowExecutionFailedEventAttributes) String Uses

func (s ContinueAsNewWorkflowExecutionFailedEventAttributes) String() string

String returns the string representation

type CountClosedWorkflowExecutionsInput Uses

type CountClosedWorkflowExecutionsInput struct {

    // If specified, only workflow executions that match this close status are counted.
    // This filter has an affect only if executionStatus is specified as CLOSED.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    CloseStatusFilter *CloseStatusFilter `locationName:"closeStatusFilter" type:"structure"`

    // If specified, only workflow executions that meet the close time criteria
    // of the filter are counted.
    //
    // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify
    // one of these in a request but not both.
    CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure"`

    // The name of the domain containing the workflow executions to count.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // If specified, only workflow executions matching the WorkflowId in the filter
    // are counted.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"`

    // If specified, only workflow executions that meet the start time criteria
    // of the filter are counted.
    //
    // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify
    // one of these in a request but not both.
    StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure"`

    // If specified, only executions that have a tag that matches the filter are
    // counted.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    TagFilter *TagFilter `locationName:"tagFilter" type:"structure"`

    // If specified, indicates the type of the workflow executions to be counted.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"`
    // contains filtered or unexported fields
}

func (CountClosedWorkflowExecutionsInput) GoString Uses

func (s CountClosedWorkflowExecutionsInput) GoString() string

GoString returns the string representation

func (*CountClosedWorkflowExecutionsInput) SetCloseStatusFilter Uses

func (s *CountClosedWorkflowExecutionsInput) SetCloseStatusFilter(v *CloseStatusFilter) *CountClosedWorkflowExecutionsInput

SetCloseStatusFilter sets the CloseStatusFilter field's value.

func (*CountClosedWorkflowExecutionsInput) SetCloseTimeFilter Uses

func (s *CountClosedWorkflowExecutionsInput) SetCloseTimeFilter(v *ExecutionTimeFilter) *CountClosedWorkflowExecutionsInput

SetCloseTimeFilter sets the CloseTimeFilter field's value.

func (*CountClosedWorkflowExecutionsInput) SetDomain Uses

func (s *CountClosedWorkflowExecutionsInput) SetDomain(v string) *CountClosedWorkflowExecutionsInput

SetDomain sets the Domain field's value.

func (*CountClosedWorkflowExecutionsInput) SetExecutionFilter Uses

func (s *CountClosedWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *CountClosedWorkflowExecutionsInput

SetExecutionFilter sets the ExecutionFilter field's value.

func (*CountClosedWorkflowExecutionsInput) SetStartTimeFilter Uses

func (s *CountClosedWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *CountClosedWorkflowExecutionsInput

SetStartTimeFilter sets the StartTimeFilter field's value.

func (*CountClosedWorkflowExecutionsInput) SetTagFilter Uses

func (s *CountClosedWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *CountClosedWorkflowExecutionsInput

SetTagFilter sets the TagFilter field's value.

func (*CountClosedWorkflowExecutionsInput) SetTypeFilter Uses

func (s *CountClosedWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *CountClosedWorkflowExecutionsInput

SetTypeFilter sets the TypeFilter field's value.

func (CountClosedWorkflowExecutionsInput) String Uses

func (s CountClosedWorkflowExecutionsInput) String() string

String returns the string representation

func (*CountClosedWorkflowExecutionsInput) Validate Uses

func (s *CountClosedWorkflowExecutionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CountOpenWorkflowExecutionsInput Uses

type CountOpenWorkflowExecutionsInput struct {

    // The name of the domain containing the workflow executions to count.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // If specified, only workflow executions matching the WorkflowId in the filter
    // are counted.
    //
    // executionFilter, typeFilter and tagFilter are mutually exclusive. You can
    // specify at most one of these in a request.
    ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"`

    // Specifies the start time criteria that workflow executions must meet in order
    // to be counted.
    //
    // StartTimeFilter is a required field
    StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"`

    // If specified, only executions that have a tag that matches the filter are
    // counted.
    //
    // executionFilter, typeFilter and tagFilter are mutually exclusive. You can
    // specify at most one of these in a request.
    TagFilter *TagFilter `locationName:"tagFilter" type:"structure"`

    // Specifies the type of the workflow executions to be counted.
    //
    // executionFilter, typeFilter and tagFilter are mutually exclusive. You can
    // specify at most one of these in a request.
    TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"`
    // contains filtered or unexported fields
}

func (CountOpenWorkflowExecutionsInput) GoString Uses

func (s CountOpenWorkflowExecutionsInput) GoString() string

GoString returns the string representation

func (*CountOpenWorkflowExecutionsInput) SetDomain Uses

func (s *CountOpenWorkflowExecutionsInput) SetDomain(v string) *CountOpenWorkflowExecutionsInput

SetDomain sets the Domain field's value.

func (*CountOpenWorkflowExecutionsInput) SetExecutionFilter Uses

func (s *CountOpenWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *CountOpenWorkflowExecutionsInput

SetExecutionFilter sets the ExecutionFilter field's value.

func (*CountOpenWorkflowExecutionsInput) SetStartTimeFilter Uses

func (s *CountOpenWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *CountOpenWorkflowExecutionsInput

SetStartTimeFilter sets the StartTimeFilter field's value.

func (*CountOpenWorkflowExecutionsInput) SetTagFilter Uses

func (s *CountOpenWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *CountOpenWorkflowExecutionsInput

SetTagFilter sets the TagFilter field's value.

func (*CountOpenWorkflowExecutionsInput) SetTypeFilter Uses

func (s *CountOpenWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *CountOpenWorkflowExecutionsInput

SetTypeFilter sets the TypeFilter field's value.

func (CountOpenWorkflowExecutionsInput) String Uses

func (s CountOpenWorkflowExecutionsInput) String() string

String returns the string representation

func (*CountOpenWorkflowExecutionsInput) Validate Uses

func (s *CountOpenWorkflowExecutionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CountPendingActivityTasksInput Uses

type CountPendingActivityTasksInput struct {

    // The name of the domain that contains the task list.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The name of the task list.
    //
    // TaskList is a required field
    TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CountPendingActivityTasksInput) GoString Uses

func (s CountPendingActivityTasksInput) GoString() string

GoString returns the string representation

func (*CountPendingActivityTasksInput) SetDomain Uses

func (s *CountPendingActivityTasksInput) SetDomain(v string) *CountPendingActivityTasksInput

SetDomain sets the Domain field's value.

func (*CountPendingActivityTasksInput) SetTaskList Uses

func (s *CountPendingActivityTasksInput) SetTaskList(v *TaskList) *CountPendingActivityTasksInput

SetTaskList sets the TaskList field's value.

func (CountPendingActivityTasksInput) String Uses

func (s CountPendingActivityTasksInput) String() string

String returns the string representation

func (*CountPendingActivityTasksInput) Validate Uses

func (s *CountPendingActivityTasksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CountPendingDecisionTasksInput Uses

type CountPendingDecisionTasksInput struct {

    // The name of the domain that contains the task list.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The name of the task list.
    //
    // TaskList is a required field
    TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CountPendingDecisionTasksInput) GoString Uses

func (s CountPendingDecisionTasksInput) GoString() string

GoString returns the string representation

func (*CountPendingDecisionTasksInput) SetDomain Uses

func (s *CountPendingDecisionTasksInput) SetDomain(v string) *CountPendingDecisionTasksInput

SetDomain sets the Domain field's value.

func (*CountPendingDecisionTasksInput) SetTaskList Uses

func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingDecisionTasksInput

SetTaskList sets the TaskList field's value.

func (CountPendingDecisionTasksInput) String Uses

func (s CountPendingDecisionTasksInput) String() string

String returns the string representation

func (*CountPendingDecisionTasksInput) Validate Uses

func (s *CountPendingDecisionTasksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Decision Uses

type Decision struct {

    // Provides the details of the CancelTimer decision. It isn't set for other
    // decision types.
    CancelTimerDecisionAttributes *CancelTimerDecisionAttributes `locationName:"cancelTimerDecisionAttributes" type:"structure"`

    // Provides the details of the CancelWorkflowExecution decision. It isn't set
    // for other decision types.
    CancelWorkflowExecutionDecisionAttributes *CancelWorkflowExecutionDecisionAttributes `locationName:"cancelWorkflowExecutionDecisionAttributes" type:"structure"`

    // Provides the details of the CompleteWorkflowExecution decision. It isn't
    // set for other decision types.
    CompleteWorkflowExecutionDecisionAttributes *CompleteWorkflowExecutionDecisionAttributes `locationName:"completeWorkflowExecutionDecisionAttributes" type:"structure"`

    // Provides the details of the ContinueAsNewWorkflowExecution decision. It isn't
    // set for other decision types.
    ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes `locationName:"continueAsNewWorkflowExecutionDecisionAttributes" type:"structure"`

    // Specifies the type of the decision.
    //
    // DecisionType is a required field
    DecisionType *string `locationName:"decisionType" type:"string" required:"true" enum:"DecisionType"`

    // Provides the details of the FailWorkflowExecution decision. It isn't set
    // for other decision types.
    FailWorkflowExecutionDecisionAttributes *FailWorkflowExecutionDecisionAttributes `locationName:"failWorkflowExecutionDecisionAttributes" type:"structure"`

    // Provides the details of the RecordMarker decision. It isn't set for other
    // decision types.
    RecordMarkerDecisionAttributes *RecordMarkerDecisionAttributes `locationName:"recordMarkerDecisionAttributes" type:"structure"`

    // Provides the details of the RequestCancelActivityTask decision. It isn't
    // set for other decision types.
    RequestCancelActivityTaskDecisionAttributes *RequestCancelActivityTaskDecisionAttributes `locationName:"requestCancelActivityTaskDecisionAttributes" type:"structure"`

    // Provides the details of the RequestCancelExternalWorkflowExecution decision.
    // It isn't set for other decision types.
    RequestCancelExternalWorkflowExecutionDecisionAttributes *RequestCancelExternalWorkflowExecutionDecisionAttributes `locationName:"requestCancelExternalWorkflowExecutionDecisionAttributes" type:"structure"`

    // Provides the details of the ScheduleActivityTask decision. It isn't set for
    // other decision types.
    ScheduleActivityTaskDecisionAttributes *ScheduleActivityTaskDecisionAttributes `locationName:"scheduleActivityTaskDecisionAttributes" type:"structure"`

    // Provides the details of the ScheduleLambdaFunction decision. It isn't set
    // for other decision types.
    ScheduleLambdaFunctionDecisionAttributes *ScheduleLambdaFunctionDecisionAttributes `locationName:"scheduleLambdaFunctionDecisionAttributes" type:"structure"`

    // Provides the details of the SignalExternalWorkflowExecution decision. It
    // isn't set for other decision types.
    SignalExternalWorkflowExecutionDecisionAttributes *SignalExternalWorkflowExecutionDecisionAttributes `locationName:"signalExternalWorkflowExecutionDecisionAttributes" type:"structure"`

    // Provides the details of the StartChildWorkflowExecution decision. It isn't
    // set for other decision types.
    StartChildWorkflowExecutionDecisionAttributes *StartChildWorkflowExecutionDecisionAttributes `locationName:"startChildWorkflowExecutionDecisionAttributes" type:"structure"`

    // Provides the details of the StartTimer decision. It isn't set for other decision
    // types.
    StartTimerDecisionAttributes *StartTimerDecisionAttributes `locationName:"startTimerDecisionAttributes" type:"structure"`
    // contains filtered or unexported fields
}

Specifies a decision made by the decider. A decision can be one of these types:

* CancelTimer – Cancels a previously started timer and records a TimerCanceled
event in the history.

* CancelWorkflowExecution – Closes the workflow execution and records
a WorkflowExecutionCanceled event in the history.

* CompleteWorkflowExecution – Closes the workflow execution and records
a WorkflowExecutionCompleted event in the history .

* ContinueAsNewWorkflowExecution – Closes the workflow execution and
starts a new workflow execution of the same type using the same workflow
ID and a unique run Id. A WorkflowExecutionContinuedAsNew event is recorded
in the history.

* FailWorkflowExecution – Closes the workflow execution and records
a WorkflowExecutionFailed event in the history.

* RecordMarker – Records a MarkerRecorded event in the history. Markers
can be used for adding custom information in the history for instance
to let deciders know that they don't need to look at the history beyond
the marker event.

* RequestCancelActivityTask – Attempts to cancel a previously scheduled
activity task. If the activity task was scheduled but has not been assigned
to a worker, then it is canceled. If the activity task was already assigned
to a worker, then the worker is informed that cancellation has been requested
in the response to RecordActivityTaskHeartbeat.

* RequestCancelExternalWorkflowExecution – Requests that a request be
made to cancel the specified external workflow execution and records a
RequestCancelExternalWorkflowExecutionInitiated event in the history.

* ScheduleActivityTask – Schedules an activity task.

* SignalExternalWorkflowExecution – Requests a signal to be delivered
to the specified external workflow execution and records a SignalExternalWorkflowExecutionInitiated
event in the history.

* StartChildWorkflowExecution – Requests that a child workflow execution
be started and records a StartChildWorkflowExecutionInitiated event in
the history. The child workflow execution is a separate workflow execution
with its own history.

* StartTimer – Starts a timer for this workflow execution and records
a TimerStarted event in the history. This timer fires after the specified
delay and record a TimerFired event.

Access Control

If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express permissions for the list of decisions returned by this action as if they were members of the API. Treating decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

Decision Failure

Decisions can fail for several reasons

* The ordering of decisions should follow a logical flow. Some decisions
might not make sense in the current context of the workflow execution
and therefore fails.

* A limit on your account was reached.

* The decision lacks sufficient permissions.

One of the following events might be added to the history to indicate an error. The event attribute's cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

* ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed.
This could happen if the activity type specified in the decision isn't
registered, is in a deprecated state, or the decision isn't properly configured.

* RequestCancelActivityTaskFailed – A RequestCancelActivityTask decision
failed. This could happen if there is no open activity task with the specified
activityId.

* StartTimerFailed – A StartTimer decision failed. This could happen
if there is another open timer with the same timerId.

* CancelTimerFailed – A CancelTimer decision failed. This could happen
if there is no open timer with the specified timerId.

* StartChildWorkflowExecutionFailed – A StartChildWorkflowExecution
decision failed. This could happen if the workflow type specified isn't
registered, is deprecated, or the decision isn't properly configured.

* SignalExternalWorkflowExecutionFailed – A SignalExternalWorkflowExecution
decision failed. This could happen if the workflowID specified in the
decision was incorrect.

* RequestCancelExternalWorkflowExecutionFailed – A RequestCancelExternalWorkflowExecution
decision failed. This could happen if the workflowID specified in the
decision was incorrect.

* CancelWorkflowExecutionFailed – A CancelWorkflowExecution decision
failed. This could happen if there is an unhandled decision task pending
in the workflow execution.

* CompleteWorkflowExecutionFailed – A CompleteWorkflowExecution decision
failed. This could happen if there is an unhandled decision task pending
in the workflow execution.

* ContinueAsNewWorkflowExecutionFailed – A ContinueAsNewWorkflowExecution
decision failed. This could happen if there is an unhandled decision task
pending in the workflow execution or the ContinueAsNewWorkflowExecution
decision was not configured correctly.

* FailWorkflowExecutionFailed – A FailWorkflowExecution decision failed.
This could happen if there is an unhandled decision task pending in the
workflow execution.

The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.

A workflow execution may be closed by the decider by returning one of the following decisions when completing a decision task: CompleteWorkflowExecution, FailWorkflowExecution, CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault is returned if a workflow closing decision is specified and a signal or activity event had been added to the history while the decision task was being performed by the decider. Unlike the above situations which are logic issues, this fault is always possible because of race conditions in a distributed system. The right action here is to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task with these new events included in the history. The decider should handle the new events and may decide to close the workflow execution.

How to Code a Decision

You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

* ScheduleActivityTaskDecisionAttributes

* RequestCancelActivityTaskDecisionAttributes

* CompleteWorkflowExecutionDecisionAttributes

* FailWorkflowExecutionDecisionAttributes

* CancelWorkflowExecutionDecisionAttributes

* ContinueAsNewWorkflowExecutionDecisionAttributes

* RecordMarkerDecisionAttributes

* StartTimerDecisionAttributes

* CancelTimerDecisionAttributes

* SignalExternalWorkflowExecutionDecisionAttributes

* RequestCancelExternalWorkflowExecutionDecisionAttributes

* StartChildWorkflowExecutionDecisionAttributes

func (Decision) GoString Uses

func (s Decision) GoString() string

GoString returns the string representation

func (*Decision) SetCancelTimerDecisionAttributes Uses

func (s *Decision) SetCancelTimerDecisionAttributes(v *CancelTimerDecisionAttributes) *Decision

SetCancelTimerDecisionAttributes sets the CancelTimerDecisionAttributes field's value.

func (*Decision) SetCancelWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetCancelWorkflowExecutionDecisionAttributes(v *CancelWorkflowExecutionDecisionAttributes) *Decision

SetCancelWorkflowExecutionDecisionAttributes sets the CancelWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetCompleteWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetCompleteWorkflowExecutionDecisionAttributes(v *CompleteWorkflowExecutionDecisionAttributes) *Decision

SetCompleteWorkflowExecutionDecisionAttributes sets the CompleteWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetContinueAsNewWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetContinueAsNewWorkflowExecutionDecisionAttributes(v *ContinueAsNewWorkflowExecutionDecisionAttributes) *Decision

SetContinueAsNewWorkflowExecutionDecisionAttributes sets the ContinueAsNewWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetDecisionType Uses

func (s *Decision) SetDecisionType(v string) *Decision

SetDecisionType sets the DecisionType field's value.

func (*Decision) SetFailWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetFailWorkflowExecutionDecisionAttributes(v *FailWorkflowExecutionDecisionAttributes) *Decision

SetFailWorkflowExecutionDecisionAttributes sets the FailWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetRecordMarkerDecisionAttributes Uses

func (s *Decision) SetRecordMarkerDecisionAttributes(v *RecordMarkerDecisionAttributes) *Decision

SetRecordMarkerDecisionAttributes sets the RecordMarkerDecisionAttributes field's value.

func (*Decision) SetRequestCancelActivityTaskDecisionAttributes Uses

func (s *Decision) SetRequestCancelActivityTaskDecisionAttributes(v *RequestCancelActivityTaskDecisionAttributes) *Decision

SetRequestCancelActivityTaskDecisionAttributes sets the RequestCancelActivityTaskDecisionAttributes field's value.

func (*Decision) SetRequestCancelExternalWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetRequestCancelExternalWorkflowExecutionDecisionAttributes(v *RequestCancelExternalWorkflowExecutionDecisionAttributes) *Decision

SetRequestCancelExternalWorkflowExecutionDecisionAttributes sets the RequestCancelExternalWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetScheduleActivityTaskDecisionAttributes Uses

func (s *Decision) SetScheduleActivityTaskDecisionAttributes(v *ScheduleActivityTaskDecisionAttributes) *Decision

SetScheduleActivityTaskDecisionAttributes sets the ScheduleActivityTaskDecisionAttributes field's value.

func (*Decision) SetScheduleLambdaFunctionDecisionAttributes Uses

func (s *Decision) SetScheduleLambdaFunctionDecisionAttributes(v *ScheduleLambdaFunctionDecisionAttributes) *Decision

SetScheduleLambdaFunctionDecisionAttributes sets the ScheduleLambdaFunctionDecisionAttributes field's value.

func (*Decision) SetSignalExternalWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetSignalExternalWorkflowExecutionDecisionAttributes(v *SignalExternalWorkflowExecutionDecisionAttributes) *Decision

SetSignalExternalWorkflowExecutionDecisionAttributes sets the SignalExternalWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetStartChildWorkflowExecutionDecisionAttributes Uses

func (s *Decision) SetStartChildWorkflowExecutionDecisionAttributes(v *StartChildWorkflowExecutionDecisionAttributes) *Decision

SetStartChildWorkflowExecutionDecisionAttributes sets the StartChildWorkflowExecutionDecisionAttributes field's value.

func (*Decision) SetStartTimerDecisionAttributes Uses

func (s *Decision) SetStartTimerDecisionAttributes(v *StartTimerDecisionAttributes) *Decision

SetStartTimerDecisionAttributes sets the StartTimerDecisionAttributes field's value.

func (Decision) String Uses

func (s Decision) String() string

String returns the string representation

func (*Decision) Validate Uses

func (s *Decision) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DecisionTaskCompletedEventAttributes Uses

type DecisionTaskCompletedEventAttributes struct {

    // User defined context for the workflow execution.
    ExecutionContext *string `locationName:"executionContext" type:"string"`

    // The ID of the DecisionTaskScheduled 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.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the DecisionTaskStarted 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.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the DecisionTaskCompleted event.

func (DecisionTaskCompletedEventAttributes) GoString Uses

func (s DecisionTaskCompletedEventAttributes) GoString() string

GoString returns the string representation

func (*DecisionTaskCompletedEventAttributes) SetExecutionContext Uses

func (s *DecisionTaskCompletedEventAttributes) SetExecutionContext(v string) *DecisionTaskCompletedEventAttributes

SetExecutionContext sets the ExecutionContext field's value.

func (*DecisionTaskCompletedEventAttributes) SetScheduledEventId Uses

func (s *DecisionTaskCompletedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskCompletedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*DecisionTaskCompletedEventAttributes) SetStartedEventId Uses

func (s *DecisionTaskCompletedEventAttributes) SetStartedEventId(v int64) *DecisionTaskCompletedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (DecisionTaskCompletedEventAttributes) String Uses

func (s DecisionTaskCompletedEventAttributes) String() string

String returns the string representation

type DecisionTaskScheduledEventAttributes Uses

type DecisionTaskScheduledEventAttributes struct {

    // The maximum duration for this decision task. The task is considered timed
    // out if it doesn't completed within this duration.
    //
    // The duration is specified in seconds, an integer greater than or equal to
    // 0. You can use NONE to specify unlimited duration.
    StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"`

    // The name of the task list in which the decision task was scheduled.
    //
    // TaskList is a required field
    TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"`

    // A task priority that, if set, specifies the priority for this decision task.
    // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648)
    // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.
    //
    // For more information about setting task priority, see Setting Task Priority
    // (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
    // in the Amazon SWF Developer Guide.
    TaskPriority *string `locationName:"taskPriority" type:"string"`
    // contains filtered or unexported fields
}

Provides details about the DecisionTaskScheduled event.

func (DecisionTaskScheduledEventAttributes) GoString Uses

func (s DecisionTaskScheduledEventAttributes) GoString() string

GoString returns the string representation

func (*DecisionTaskScheduledEventAttributes) SetStartToCloseTimeout Uses

func (s *DecisionTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *DecisionTaskScheduledEventAttributes

SetStartToCloseTimeout sets the StartToCloseTimeout field's value.

func (*DecisionTaskScheduledEventAttributes) SetTaskList Uses

func (s *DecisionTaskScheduledEventAttributes) SetTaskList(v *TaskList) *DecisionTaskScheduledEventAttributes

SetTaskList sets the TaskList field's value.

func (*DecisionTaskScheduledEventAttributes) SetTaskPriority Uses

func (s *DecisionTaskScheduledEventAttributes) SetTaskPriority(v string) *DecisionTaskScheduledEventAttributes

SetTaskPriority sets the TaskPriority field's value.

func (DecisionTaskScheduledEventAttributes) String Uses

func (s DecisionTaskScheduledEventAttributes) String() string

String returns the string representation

type DecisionTaskStartedEventAttributes Uses

type DecisionTaskStartedEventAttributes struct {

    // Identity of the decider making the request. This enables diagnostic tracing
    // when problems arise. The form of this identity is user defined.
    Identity *string `locationName:"identity" type:"string"`

    // The ID of the DecisionTaskScheduled 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.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the DecisionTaskStarted event.

func (DecisionTaskStartedEventAttributes) GoString Uses

func (s DecisionTaskStartedEventAttributes) GoString() string

GoString returns the string representation

func (*DecisionTaskStartedEventAttributes) SetIdentity Uses

func (s *DecisionTaskStartedEventAttributes) SetIdentity(v string) *DecisionTaskStartedEventAttributes

SetIdentity sets the Identity field's value.

func (*DecisionTaskStartedEventAttributes) SetScheduledEventId Uses

func (s *DecisionTaskStartedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskStartedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (DecisionTaskStartedEventAttributes) String Uses

func (s DecisionTaskStartedEventAttributes) String() string

String returns the string representation

type DecisionTaskTimedOutEventAttributes Uses

type DecisionTaskTimedOutEventAttributes struct {

    // The ID of the DecisionTaskScheduled 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.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the DecisionTaskStarted 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.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The type of timeout that expired before the decision task could be completed.
    //
    // TimeoutType is a required field
    TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"DecisionTaskTimeoutType"`
    // contains filtered or unexported fields
}

Provides the details of the DecisionTaskTimedOut event.

func (DecisionTaskTimedOutEventAttributes) GoString Uses

func (s DecisionTaskTimedOutEventAttributes) GoString() string

GoString returns the string representation

func (*DecisionTaskTimedOutEventAttributes) SetScheduledEventId Uses

func (s *DecisionTaskTimedOutEventAttributes) SetScheduledEventId(v int64) *DecisionTaskTimedOutEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*DecisionTaskTimedOutEventAttributes) SetStartedEventId Uses

func (s *DecisionTaskTimedOutEventAttributes) SetStartedEventId(v int64) *DecisionTaskTimedOutEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*DecisionTaskTimedOutEventAttributes) SetTimeoutType Uses

func (s *DecisionTaskTimedOutEventAttributes) SetTimeoutType(v string) *DecisionTaskTimedOutEventAttributes

SetTimeoutType sets the TimeoutType field's value.

func (DecisionTaskTimedOutEventAttributes) String Uses

func (s DecisionTaskTimedOutEventAttributes) String() string

String returns the string representation

type DeprecateActivityTypeInput Uses

type DeprecateActivityTypeInput struct {

    // The activity type to deprecate.
    //
    // ActivityType is a required field
    ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"`

    // The name of the domain in which the activity type is registered.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeprecateActivityTypeInput) GoString Uses

func (s DeprecateActivityTypeInput) GoString() string

GoString returns the string representation

func (*DeprecateActivityTypeInput) SetActivityType Uses

func (s *DeprecateActivityTypeInput) SetActivityType(v *ActivityType) *DeprecateActivityTypeInput

SetActivityType sets the ActivityType field's value.

func (*DeprecateActivityTypeInput) SetDomain Uses

func (s *DeprecateActivityTypeInput) SetDomain(v string) *DeprecateActivityTypeInput

SetDomain sets the Domain field's value.

func (DeprecateActivityTypeInput) String Uses

func (s DeprecateActivityTypeInput) String() string

String returns the string representation

func (*DeprecateActivityTypeInput) Validate Uses

func (s *DeprecateActivityTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeprecateActivityTypeOutput Uses

type DeprecateActivityTypeOutput struct {
    // contains filtered or unexported fields
}

func (DeprecateActivityTypeOutput) GoString Uses

func (s DeprecateActivityTypeOutput) GoString() string

GoString returns the string representation

func (DeprecateActivityTypeOutput) String Uses

func (s DeprecateActivityTypeOutput) String() string

String returns the string representation

type DeprecateDomainInput Uses

type DeprecateDomainInput struct {

    // The name of the domain to deprecate.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeprecateDomainInput) GoString Uses

func (s DeprecateDomainInput) GoString() string

GoString returns the string representation

func (*DeprecateDomainInput) SetName Uses

func (s *DeprecateDomainInput) SetName(v string) *DeprecateDomainInput

SetName sets the Name field's value.

func (DeprecateDomainInput) String Uses

func (s DeprecateDomainInput) String() string

String returns the string representation

func (*DeprecateDomainInput) Validate Uses

func (s *DeprecateDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeprecateDomainOutput Uses

type DeprecateDomainOutput struct {
    // contains filtered or unexported fields
}

func (DeprecateDomainOutput) GoString Uses

func (s DeprecateDomainOutput) GoString() string

GoString returns the string representation

func (DeprecateDomainOutput) String Uses

func (s DeprecateDomainOutput) String() string

String returns the string representation

type DeprecateWorkflowTypeInput Uses

type DeprecateWorkflowTypeInput struct {

    // The name of the domain in which the workflow type is registered.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The workflow type to deprecate.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeprecateWorkflowTypeInput) GoString Uses

func (s DeprecateWorkflowTypeInput) GoString() string

GoString returns the string representation

func (*DeprecateWorkflowTypeInput) SetDomain Uses

func (s *DeprecateWorkflowTypeInput) SetDomain(v string) *DeprecateWorkflowTypeInput

SetDomain sets the Domain field's value.

func (*DeprecateWorkflowTypeInput) SetWorkflowType Uses

func (s *DeprecateWorkflowTypeInput) SetWorkflowType(v *WorkflowType) *DeprecateWorkflowTypeInput

SetWorkflowType sets the WorkflowType field's value.

func (DeprecateWorkflowTypeInput) String Uses

func (s DeprecateWorkflowTypeInput) String() string

String returns the string representation

func (*DeprecateWorkflowTypeInput) Validate Uses

func (s *DeprecateWorkflowTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeprecateWorkflowTypeOutput Uses

type DeprecateWorkflowTypeOutput struct {
    // contains filtered or unexported fields
}

func (DeprecateWorkflowTypeOutput) GoString Uses

func (s DeprecateWorkflowTypeOutput) GoString() string

GoString returns the string representation

func (DeprecateWorkflowTypeOutput) String Uses

func (s DeprecateWorkflowTypeOutput) String() string

String returns the string representation

type DescribeActivityTypeInput Uses

type DescribeActivityTypeInput struct {

    // The activity type to get information about. Activity types are identified
    // by the name and version that were supplied when the activity was registered.
    //
    // ActivityType is a required field
    ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"`

    // The name of the domain in which the activity type is registered.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeActivityTypeInput) GoString Uses

func (s DescribeActivityTypeInput) GoString() string

GoString returns the string representation

func (*DescribeActivityTypeInput) SetActivityType Uses

func (s *DescribeActivityTypeInput) SetActivityType(v *ActivityType) *DescribeActivityTypeInput

SetActivityType sets the ActivityType field's value.

func (*DescribeActivityTypeInput) SetDomain Uses

func (s *DescribeActivityTypeInput) SetDomain(v string) *DescribeActivityTypeInput

SetDomain sets the Domain field's value.

func (DescribeActivityTypeInput) String Uses

func (s DescribeActivityTypeInput) String() string

String returns the string representation

func (*DescribeActivityTypeInput) Validate Uses

func (s *DescribeActivityTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeActivityTypeOutput Uses

type DescribeActivityTypeOutput struct {

    // The configuration settings registered with the activity type.
    //
    // Configuration is a required field
    Configuration *ActivityTypeConfiguration `locationName:"configuration" type:"structure" required:"true"`

    // General information about the activity type.
    //
    // The status of activity type (returned in the ActivityTypeInfo structure)
    // can be one of the following.
    //
    //    * REGISTERED – The type is registered and available. Workers supporting
    //    this type should be running.
    //
    //    * DEPRECATED – The type was deprecated using DeprecateActivityType,
    //    but is still in use. You should keep workers supporting this type running.
    //    You cannot create new tasks of this type.
    //
    // TypeInfo is a required field
    TypeInfo *ActivityTypeInfo `locationName:"typeInfo" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Detailed information about an activity type.

func (DescribeActivityTypeOutput) GoString Uses

func (s DescribeActivityTypeOutput) GoString() string

GoString returns the string representation

func (*DescribeActivityTypeOutput) SetConfiguration Uses

func (s *DescribeActivityTypeOutput) SetConfiguration(v *ActivityTypeConfiguration) *DescribeActivityTypeOutput

SetConfiguration sets the Configuration field's value.

func (*DescribeActivityTypeOutput) SetTypeInfo Uses

func (s *DescribeActivityTypeOutput) SetTypeInfo(v *ActivityTypeInfo) *DescribeActivityTypeOutput

SetTypeInfo sets the TypeInfo field's value.

func (DescribeActivityTypeOutput) String Uses

func (s DescribeActivityTypeOutput) String() string

String returns the string representation

type DescribeDomainInput Uses

type DescribeDomainInput struct {

    // The name of the domain to describe.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDomainInput) GoString Uses

func (s DescribeDomainInput) GoString() string

GoString returns the string representation

func (*DescribeDomainInput) SetName Uses

func (s *DescribeDomainInput) SetName(v string) *DescribeDomainInput

SetName sets the Name field's value.

func (DescribeDomainInput) String Uses

func (s DescribeDomainInput) String() string

String returns the string representation

func (*DescribeDomainInput) Validate Uses

func (s *DescribeDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDomainOutput Uses

type DescribeDomainOutput struct {

    // The domain configuration. Currently, this includes only the domain's retention
    // period.
    //
    // Configuration is a required field
    Configuration *DomainConfiguration `locationName:"configuration" type:"structure" required:"true"`

    // The basic information about a domain, such as its name, status, and description.
    //
    // DomainInfo is a required field
    DomainInfo *DomainInfo `locationName:"domainInfo" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains details of a domain.

func (DescribeDomainOutput) GoString Uses

func (s DescribeDomainOutput) GoString() string

GoString returns the string representation

func (*DescribeDomainOutput) SetConfiguration Uses

func (s *DescribeDomainOutput) SetConfiguration(v *DomainConfiguration) *DescribeDomainOutput

SetConfiguration sets the Configuration field's value.

func (*DescribeDomainOutput) SetDomainInfo Uses

func (s *DescribeDomainOutput) SetDomainInfo(v *DomainInfo) *DescribeDomainOutput

SetDomainInfo sets the DomainInfo field's value.

func (DescribeDomainOutput) String Uses

func (s DescribeDomainOutput) String() string

String returns the string representation

type DescribeWorkflowExecutionInput Uses

type DescribeWorkflowExecutionInput struct {

    // The name of the domain containing the workflow execution.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The workflow execution to describe.
    //
    // Execution is a required field
    Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeWorkflowExecutionInput) GoString Uses

func (s DescribeWorkflowExecutionInput) GoString() string

GoString returns the string representation

func (*DescribeWorkflowExecutionInput) SetDomain Uses

func (s *DescribeWorkflowExecutionInput) SetDomain(v string) *DescribeWorkflowExecutionInput

SetDomain sets the Domain field's value.

func (*DescribeWorkflowExecutionInput) SetExecution Uses

func (s *DescribeWorkflowExecutionInput) SetExecution(v *WorkflowExecution) *DescribeWorkflowExecutionInput

SetExecution sets the Execution field's value.

func (DescribeWorkflowExecutionInput) String Uses

func (s DescribeWorkflowExecutionInput) String() string

String returns the string representation

func (*DescribeWorkflowExecutionInput) Validate Uses

func (s *DescribeWorkflowExecutionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkflowExecutionOutput Uses

type DescribeWorkflowExecutionOutput struct {

    // The configuration settings for this workflow execution including timeout
    // values, tasklist etc.
    //
    // ExecutionConfiguration is a required field
    ExecutionConfiguration *WorkflowExecutionConfiguration `locationName:"executionConfiguration" type:"structure" required:"true"`

    // Information about the workflow execution.
    //
    // ExecutionInfo is a required field
    ExecutionInfo *WorkflowExecutionInfo `locationName:"executionInfo" type:"structure" required:"true"`

    // The time when the last activity task was scheduled for this workflow execution.
    // You can use this information to determine if the workflow has not made progress
    // for an unusually long period of time and might require a corrective action.
    LatestActivityTaskTimestamp *time.Time `locationName:"latestActivityTaskTimestamp" type:"timestamp"`

    // The latest executionContext provided by the decider for this workflow execution.
    // A decider can provide an executionContext (a free-form string) when closing
    // a decision task using RespondDecisionTaskCompleted.
    LatestExecutionContext *string `locationName:"latestExecutionContext" type:"string"`

    // The number of tasks for this workflow execution. This includes open and closed
    // tasks of all types.
    //
    // OpenCounts is a required field
    OpenCounts *WorkflowExecutionOpenCounts `locationName:"openCounts" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a workflow execution.

func (DescribeWorkflowExecutionOutput) GoString Uses

func (s DescribeWorkflowExecutionOutput) GoString() string

GoString returns the string representation

func (*DescribeWorkflowExecutionOutput) SetExecutionConfiguration Uses

func (s *DescribeWorkflowExecutionOutput) SetExecutionConfiguration(v *WorkflowExecutionConfiguration) *DescribeWorkflowExecutionOutput

SetExecutionConfiguration sets the ExecutionConfiguration field's value.

func (*DescribeWorkflowExecutionOutput) SetExecutionInfo Uses

func (s *DescribeWorkflowExecutionOutput) SetExecutionInfo(v *WorkflowExecutionInfo) *DescribeWorkflowExecutionOutput

SetExecutionInfo sets the ExecutionInfo field's value.

func (*DescribeWorkflowExecutionOutput) SetLatestActivityTaskTimestamp Uses

func (s *DescribeWorkflowExecutionOutput) SetLatestActivityTaskTimestamp(v time.Time) *DescribeWorkflowExecutionOutput

SetLatestActivityTaskTimestamp sets the LatestActivityTaskTimestamp field's value.

func (*DescribeWorkflowExecutionOutput) SetLatestExecutionContext Uses

func (s *DescribeWorkflowExecutionOutput) SetLatestExecutionContext(v string) *DescribeWorkflowExecutionOutput

SetLatestExecutionContext sets the LatestExecutionContext field's value.

func (*DescribeWorkflowExecutionOutput) SetOpenCounts Uses

func (s *DescribeWorkflowExecutionOutput) SetOpenCounts(v *WorkflowExecutionOpenCounts) *DescribeWorkflowExecutionOutput

SetOpenCounts sets the OpenCounts field's value.

func (DescribeWorkflowExecutionOutput) String Uses

func (s DescribeWorkflowExecutionOutput) String() string

String returns the string representation

type DescribeWorkflowTypeInput Uses

type DescribeWorkflowTypeInput struct {

    // The name of the domain in which this workflow type is registered.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The workflow type to describe.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeWorkflowTypeInput) GoString Uses

func (s DescribeWorkflowTypeInput) GoString() string

GoString returns the string representation

func (*DescribeWorkflowTypeInput) SetDomain Uses

func (s *DescribeWorkflowTypeInput) SetDomain(v string) *DescribeWorkflowTypeInput

SetDomain sets the Domain field's value.

func (*DescribeWorkflowTypeInput) SetWorkflowType Uses

func (s *DescribeWorkflowTypeInput) SetWorkflowType(v *WorkflowType) *DescribeWorkflowTypeInput

SetWorkflowType sets the WorkflowType field's value.

func (DescribeWorkflowTypeInput) String Uses

func (s DescribeWorkflowTypeInput) String() string

String returns the string representation

func (*DescribeWorkflowTypeInput) Validate Uses

func (s *DescribeWorkflowTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkflowTypeOutput Uses

type DescribeWorkflowTypeOutput struct {

    // Configuration settings of the workflow type registered through RegisterWorkflowType
    //
    // Configuration is a required field
    Configuration *WorkflowTypeConfiguration `locationName:"configuration" type:"structure" required:"true"`

    // General information about the workflow type.
    //
    // The status of the workflow type (returned in the WorkflowTypeInfo structure)
    // can be one of the following.
    //
    //    * REGISTERED – The type is registered and available. Workers supporting
    //    this type should be running.
    //
    //    * DEPRECATED – The type was deprecated using DeprecateWorkflowType,
    //    but is still in use. You should keep workers supporting this type running.
    //    You cannot create new workflow executions of this type.
    //
    // TypeInfo is a required field
    TypeInfo *WorkflowTypeInfo `locationName:"typeInfo" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a workflow type.

func (DescribeWorkflowTypeOutput) GoString Uses

func (s DescribeWorkflowTypeOutput) GoString() string

GoString returns the string representation

func (*DescribeWorkflowTypeOutput) SetConfiguration Uses

func (s *DescribeWorkflowTypeOutput) SetConfiguration(v *WorkflowTypeConfiguration) *DescribeWorkflowTypeOutput

SetConfiguration sets the Configuration field's value.

func (*DescribeWorkflowTypeOutput) SetTypeInfo Uses

func (s *DescribeWorkflowTypeOutput) SetTypeInfo(v *WorkflowTypeInfo) *DescribeWorkflowTypeOutput

SetTypeInfo sets the TypeInfo field's value.

func (DescribeWorkflowTypeOutput) String Uses

func (s DescribeWorkflowTypeOutput) String() string

String returns the string representation

type DomainConfiguration Uses

type DomainConfiguration struct {

    // The retention period for workflow executions in this domain.
    //
    // WorkflowExecutionRetentionPeriodInDays is a required field
    WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the configuration settings of a domain.

func (DomainConfiguration) GoString Uses

func (s DomainConfiguration) GoString() string

GoString returns the string representation

func (*DomainConfiguration) SetWorkflowExecutionRetentionPeriodInDays Uses

func (s *DomainConfiguration) SetWorkflowExecutionRetentionPeriodInDays(v string) *DomainConfiguration

SetWorkflowExecutionRetentionPeriodInDays sets the WorkflowExecutionRetentionPeriodInDays field's value.

func (DomainConfiguration) String Uses

func (s DomainConfiguration) String() string

String returns the string representation

type DomainInfo Uses

type DomainInfo struct {

    // The ARN of the domain.
    Arn *string `locationName:"arn" min:"1" type:"string"`

    // The description of the domain provided through RegisterDomain.
    Description *string `locationName:"description" type:"string"`

    // The name of the domain. This name is unique within the account.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The status of the domain:
    //
    //    * REGISTERED – The domain is properly registered and available. You
    //    can use this domain for registering types and creating new workflow executions.
    //
    //    * DEPRECATED – The domain was deprecated using DeprecateDomain, but
    //    is still in use. You should not create new workflow executions in this
    //    domain.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"`
    // contains filtered or unexported fields
}

Contains general information about a domain.

func (DomainInfo) GoString Uses

func (s DomainInfo) GoString() string

GoString returns the string representation

func (*DomainInfo) SetArn Uses

func (s *DomainInfo) SetArn(v string) *DomainInfo

SetArn sets the Arn field's value.

func (*DomainInfo) SetDescription Uses

func (s *DomainInfo) SetDescription(v string) *DomainInfo

SetDescription sets the Description field's value.

func (*DomainInfo) SetName Uses

func (s *DomainInfo) SetName(v string) *DomainInfo

SetName sets the Name field's value.

func (*DomainInfo) SetStatus Uses

func (s *DomainInfo) SetStatus(v string) *DomainInfo

SetStatus sets the Status field's value.

func (DomainInfo) String Uses

func (s DomainInfo) String() string

String returns the string representation

type ExecutionTimeFilter Uses

type ExecutionTimeFilter struct {

    // Specifies the latest start or close date and time to return.
    LatestDate *time.Time `locationName:"latestDate" type:"timestamp"`

    // Specifies the oldest start or close date and time to return.
    //
    // OldestDate is a required field
    OldestDate *time.Time `locationName:"oldestDate" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format (https://en.wikipedia.org/wiki/Unix_time). For example: "oldestDate": 1325376070.

func (ExecutionTimeFilter) GoString Uses

func (s ExecutionTimeFilter) GoString() string

GoString returns the string representation

func (*ExecutionTimeFilter) SetLatestDate Uses

func (s *ExecutionTimeFilter) SetLatestDate(v time.Time) *ExecutionTimeFilter

SetLatestDate sets the LatestDate field's value.

func (*ExecutionTimeFilter) SetOldestDate Uses

func (s *ExecutionTimeFilter) SetOldestDate(v time.Time) *ExecutionTimeFilter

SetOldestDate sets the OldestDate field's value.

func (ExecutionTimeFilter) String Uses

func (s ExecutionTimeFilter) String() string

String returns the string representation

func (*ExecutionTimeFilter) Validate Uses

func (s *ExecutionTimeFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExternalWorkflowExecutionCancelRequestedEventAttributes Uses

type ExternalWorkflowExecutionCancelRequestedEventAttributes struct {

    // The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding
    // to the RequestCancelExternalWorkflowExecution decision to cancel this external
    // workflow execution. This information can be useful for diagnosing problems
    // by tracing back the chain of events leading up to this event.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The external workflow execution to which the cancellation request was delivered.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ExternalWorkflowExecutionCancelRequested event.

func (ExternalWorkflowExecutionCancelRequestedEventAttributes) GoString Uses

func (s ExternalWorkflowExecutionCancelRequestedEventAttributes) GoString() string

GoString returns the string representation

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) SetInitiatedEventId Uses

func (s *ExternalWorkflowExecutionCancelRequestedEventAttributes) SetInitiatedEventId(v int64) *ExternalWorkflowExecutionCancelRequestedEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) SetWorkflowExecution Uses

func (s *ExternalWorkflowExecutionCancelRequestedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ExternalWorkflowExecutionCancelRequestedEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (ExternalWorkflowExecutionCancelRequestedEventAttributes) String Uses

func (s ExternalWorkflowExecutionCancelRequestedEventAttributes) String() string

String returns the string representation

type ExternalWorkflowExecutionSignaledEventAttributes Uses

type ExternalWorkflowExecutionSignaledEventAttributes struct {

    // The ID of the SignalExternalWorkflowExecutionInitiated event corresponding
    // to the SignalExternalWorkflowExecution 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.
    //
    // InitiatedEventId is a required field
    InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"`

    // The external workflow execution that the signal was delivered to.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the ExternalWorkflowExecutionSignaled event.

func (ExternalWorkflowExecutionSignaledEventAttributes) GoString Uses

func (s ExternalWorkflowExecutionSignaledEventAttributes) GoString() string

GoString returns the string representation

func (*ExternalWorkflowExecutionSignaledEventAttributes) SetInitiatedEventId Uses

func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetInitiatedEventId(v int64) *ExternalWorkflowExecutionSignaledEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

func (*ExternalWorkflowExecutionSignaledEventAttributes) SetWorkflowExecution Uses

func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ExternalWorkflowExecutionSignaledEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

func (ExternalWorkflowExecutionSignaledEventAttributes) String Uses

func (s ExternalWorkflowExecutionSignaledEventAttributes) String() string

String returns the string representation

type FailWorkflowExecutionDecisionAttributes Uses

type FailWorkflowExecutionDecisionAttributes struct {

    // Details of the failure.
    Details *string `locationName:"details" type:"string"`

    // A descriptive reason for the failure that may help in diagnostics.
    Reason *string `locationName:"reason" type:"string"`
    // contains filtered or unexported fields
}

Provides the details of the FailWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

* Use a Resource element with the domain name to limit the action to only
specified domains.

* Use an Action element to allow or deny permission to call this action.

* You cannot use an IAM policy to constrain this action's parameters.

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 cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

func (FailWorkflowExecutionDecisionAttributes) GoString Uses

func (s FailWorkflowExecutionDecisionAttributes) GoString() string

GoString returns the string representation

func (*FailWorkflowExecutionDecisionAttributes) SetDetails Uses

func (s *FailWorkflowExecutionDecisionAttributes) SetDetails(v string) *FailWorkflowExecutionDecisionAttributes

SetDetails sets the Details field's value.

func (*FailWorkflowExecutionDecisionAttributes) SetReason Uses

func (s *FailWorkflowExecutionDecisionAttributes) SetReason(v string) *FailWorkflowExecutionDecisionAttributes

SetReason sets the Reason field's value.

func (FailWorkflowExecutionDecisionAttributes) String Uses

func (s FailWorkflowExecutionDecisionAttributes) String() string

String returns the string representation

type FailWorkflowExecutionFailedEventAttributes Uses

type FailWorkflowExecutionFailedEventAttributes struct {

    // The cause of the failure. This information is generated by the system and
    // can be useful for diagnostic purposes.
    //
    // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it
    // lacked sufficient permissions. For details and example IAM policies, see
    // Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
    // in the Amazon SWF Developer Guide.
    //
    // Cause is a required field
    Cause *string `locationName:"cause" type:"string" required:"true" enum:"FailWorkflowExecutionFailedCause"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the FailWorkflowExecution decision to fail this execution.
    // This information can be useful for diagnosing problems by tracing back the
    // chain of events leading up to this event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the FailWorkflowExecutionFailed event.

func (FailWorkflowExecutionFailedEventAttributes) GoString Uses

func (s FailWorkflowExecutionFailedEventAttributes) GoString() string

GoString returns the string representation

func (*FailWorkflowExecutionFailedEventAttributes) SetCause Uses

func (s *FailWorkflowExecutionFailedEventAttributes) SetCause(v string) *FailWorkflowExecutionFailedEventAttributes

SetCause sets the Cause field's value.

func (*FailWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *FailWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *FailWorkflowExecutionFailedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (FailWorkflowExecutionFailedEventAttributes) String Uses

func (s FailWorkflowExecutionFailedEventAttributes) String() string

String returns the string representation

type GetWorkflowExecutionHistoryInput Uses

type GetWorkflowExecutionHistoryInput struct {

    // The name of the domain containing the workflow execution.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // Specifies the workflow execution for which to return the history.
    //
    // Execution is a required field
    Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"`

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // When set to true, returns the events in reverse order. By default the results
    // are returned in ascending order of the eventTimeStamp of the events.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`
    // contains filtered or unexported fields
}

func (GetWorkflowExecutionHistoryInput) GoString Uses

func (s GetWorkflowExecutionHistoryInput) GoString() string

GoString returns the string representation

func (*GetWorkflowExecutionHistoryInput) SetDomain Uses

func (s *GetWorkflowExecutionHistoryInput) SetDomain(v string) *GetWorkflowExecutionHistoryInput

SetDomain sets the Domain field's value.

func (*GetWorkflowExecutionHistoryInput) SetExecution Uses

func (s *GetWorkflowExecutionHistoryInput) SetExecution(v *WorkflowExecution) *GetWorkflowExecutionHistoryInput

SetExecution sets the Execution field's value.

func (*GetWorkflowExecutionHistoryInput) SetMaximumPageSize Uses

func (s *GetWorkflowExecutionHistoryInput) SetMaximumPageSize(v int64) *GetWorkflowExecutionHistoryInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*GetWorkflowExecutionHistoryInput) SetNextPageToken Uses

func (s *GetWorkflowExecutionHistoryInput) SetNextPageToken(v string) *GetWorkflowExecutionHistoryInput

SetNextPageToken sets the NextPageToken field's value.

func (*GetWorkflowExecutionHistoryInput) SetReverseOrder Uses

func (s *GetWorkflowExecutionHistoryInput) SetReverseOrder(v bool) *GetWorkflowExecutionHistoryInput

SetReverseOrder sets the ReverseOrder field's value.

func (GetWorkflowExecutionHistoryInput) String Uses

func (s GetWorkflowExecutionHistoryInput) String() string

String returns the string representation

func (*GetWorkflowExecutionHistoryInput) Validate Uses

func (s *GetWorkflowExecutionHistoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetWorkflowExecutionHistoryOutput Uses

type GetWorkflowExecutionHistoryOutput struct {

    // The list of history events.
    //
    // Events is a required field
    Events []*HistoryEvent `locationName:"events" type:"list" required:"true"`

    // If a NextPageToken was returned by a previous call, there are more results
    // available. To retrieve the next page of results, make the call again using
    // the returned token in nextPageToken. Keep all other arguments unchanged.
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`
    // contains filtered or unexported fields
}

Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.

func (GetWorkflowExecutionHistoryOutput) GoString Uses

func (s GetWorkflowExecutionHistoryOutput) GoString() string

GoString returns the string representation

func (*GetWorkflowExecutionHistoryOutput) SetEvents Uses

func (s *GetWorkflowExecutionHistoryOutput) SetEvents(v []*HistoryEvent) *GetWorkflowExecutionHistoryOutput

SetEvents sets the Events field's value.

func (*GetWorkflowExecutionHistoryOutput) SetNextPageToken Uses

func (s *GetWorkflowExecutionHistoryOutput) SetNextPageToken(v string) *GetWorkflowExecutionHistoryOutput

SetNextPageToken sets the NextPageToken field's value.

func (GetWorkflowExecutionHistoryOutput) String Uses

func (s GetWorkflowExecutionHistoryOutput) String() string

String returns the string representation

type HistoryEvent Uses

type HistoryEvent struct {

    // If the event is of type ActivityTaskcancelRequested then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    ActivityTaskCancelRequestedEventAttributes *ActivityTaskCancelRequestedEventAttributes `locationName:"activityTaskCancelRequestedEventAttributes" type:"structure"`

    // If the event is of type ActivityTaskCanceled then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    ActivityTaskCanceledEventAttributes *ActivityTaskCanceledEventAttributes `locationName:"activityTaskCanceledEventAttributes" type:"structure"`

    // If the event is of type ActivityTaskCompleted then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    ActivityTaskCompletedEventAttributes *ActivityTaskCompletedEventAttributes `locationName:"activityTaskCompletedEventAttributes" type:"structure"`

    // If the event is of type ActivityTaskFailed then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    ActivityTaskFailedEventAttributes *ActivityTaskFailedEventAttributes `locationName:"activityTaskFailedEventAttributes" type:"structure"`

    // If the event is of type ActivityTaskScheduled then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    ActivityTaskScheduledEventAttributes *ActivityTaskScheduledEventAttributes `locationName:"activityTaskScheduledEventAttributes" type:"structure"`

    // If the event is of type ActivityTaskStarted then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    ActivityTaskStartedEventAttributes *ActivityTaskStartedEventAttributes `locationName:"activityTaskStartedEventAttributes" type:"structure"`

    // If the event is of type ActivityTaskTimedOut then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    ActivityTaskTimedOutEventAttributes *ActivityTaskTimedOutEventAttributes `locationName:"activityTaskTimedOutEventAttributes" type:"structure"`

    // If the event is of type CancelTimerFailed then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    CancelTimerFailedEventAttributes *CancelTimerFailedEventAttributes `locationName:"cancelTimerFailedEventAttributes" type:"structure"`

    // If the event is of type CancelWorkflowExecutionFailed then this member is
    // set and provides detailed information about the event. It isn't set for other
    // event types.
    CancelWorkflowExecutionFailedEventAttributes *CancelWorkflowExecutionFailedEventAttributes `locationName:"cancelWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type ChildWorkflowExecutionCanceled then this member is
    // set and provides detailed information about the event. It isn't set for other
    // event types.
    ChildWorkflowExecutionCanceledEventAttributes *ChildWorkflowExecutionCanceledEventAttributes `locationName:"childWorkflowExecutionCanceledEventAttributes" type:"structure"`

    // If the event is of type ChildWorkflowExecutionCompleted then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    ChildWorkflowExecutionCompletedEventAttributes *ChildWorkflowExecutionCompletedEventAttributes `locationName:"childWorkflowExecutionCompletedEventAttributes" type:"structure"`

    // If the event is of type ChildWorkflowExecutionFailed then this member is
    // set and provides detailed information about the event. It isn't set for other
    // event types.
    ChildWorkflowExecutionFailedEventAttributes *ChildWorkflowExecutionFailedEventAttributes `locationName:"childWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type ChildWorkflowExecutionStarted then this member is
    // set and provides detailed information about the event. It isn't set for other
    // event types.
    ChildWorkflowExecutionStartedEventAttributes *ChildWorkflowExecutionStartedEventAttributes `locationName:"childWorkflowExecutionStartedEventAttributes" type:"structure"`

    // If the event is of type ChildWorkflowExecutionTerminated then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    ChildWorkflowExecutionTerminatedEventAttributes *ChildWorkflowExecutionTerminatedEventAttributes `locationName:"childWorkflowExecutionTerminatedEventAttributes" type:"structure"`

    // If the event is of type ChildWorkflowExecutionTimedOut then this member is
    // set and provides detailed information about the event. It isn't set for other
    // event types.
    ChildWorkflowExecutionTimedOutEventAttributes *ChildWorkflowExecutionTimedOutEventAttributes `locationName:"childWorkflowExecutionTimedOutEventAttributes" type:"structure"`

    // If the event is of type CompleteWorkflowExecutionFailed then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    CompleteWorkflowExecutionFailedEventAttributes *CompleteWorkflowExecutionFailedEventAttributes `locationName:"completeWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type ContinueAsNewWorkflowExecutionFailed then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    ContinueAsNewWorkflowExecutionFailedEventAttributes *ContinueAsNewWorkflowExecutionFailedEventAttributes `locationName:"continueAsNewWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type DecisionTaskCompleted then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    DecisionTaskCompletedEventAttributes *DecisionTaskCompletedEventAttributes `locationName:"decisionTaskCompletedEventAttributes" type:"structure"`

    // If the event is of type DecisionTaskScheduled then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    DecisionTaskScheduledEventAttributes *DecisionTaskScheduledEventAttributes `locationName:"decisionTaskScheduledEventAttributes" type:"structure"`

    // If the event is of type DecisionTaskStarted then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    DecisionTaskStartedEventAttributes *DecisionTaskStartedEventAttributes `locationName:"decisionTaskStartedEventAttributes" type:"structure"`

    // If the event is of type DecisionTaskTimedOut then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    DecisionTaskTimedOutEventAttributes *DecisionTaskTimedOutEventAttributes `locationName:"decisionTaskTimedOutEventAttributes" type:"structure"`

    // The system generated ID of the event. This ID uniquely identifies the event
    // with in the workflow execution history.
    //
    // EventId is a required field
    EventId *int64 `locationName:"eventId" type:"long" required:"true"`

    // The date and time when the event occurred.
    //
    // EventTimestamp is a required field
    EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp" required:"true"`

    // The type of the history event.
    //
    // EventType is a required field
    EventType *string `locationName:"eventType" type:"string" required:"true" enum:"EventType"`

    // If the event is of type ExternalWorkflowExecutionCancelRequested then this
    // member is set and provides detailed information about the event. It isn't
    // set for other event types.
    ExternalWorkflowExecutionCancelRequestedEventAttributes *ExternalWorkflowExecutionCancelRequestedEventAttributes `locationName:"externalWorkflowExecutionCancelRequestedEventAttributes" type:"structure"`

    // If the event is of type ExternalWorkflowExecutionSignaled then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    ExternalWorkflowExecutionSignaledEventAttributes *ExternalWorkflowExecutionSignaledEventAttributes `locationName:"externalWorkflowExecutionSignaledEventAttributes" type:"structure"`

    // If the event is of type FailWorkflowExecutionFailed then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    FailWorkflowExecutionFailedEventAttributes *FailWorkflowExecutionFailedEventAttributes `locationName:"failWorkflowExecutionFailedEventAttributes" type:"structure"`

    // Provides the details of the LambdaFunctionCompleted event. It isn't set for
    // other event types.
    LambdaFunctionCompletedEventAttributes *LambdaFunctionCompletedEventAttributes `locationName:"lambdaFunctionCompletedEventAttributes" type:"structure"`

    // Provides the details of the LambdaFunctionFailed event. It isn't set for
    // other event types.
    LambdaFunctionFailedEventAttributes *LambdaFunctionFailedEventAttributes `locationName:"lambdaFunctionFailedEventAttributes" type:"structure"`

    // Provides the details of the LambdaFunctionScheduled event. It isn't set for
    // other event types.
    LambdaFunctionScheduledEventAttributes *LambdaFunctionScheduledEventAttributes `locationName:"lambdaFunctionScheduledEventAttributes" type:"structure"`

    // Provides the details of the LambdaFunctionStarted event. It isn't set for
    // other event types.
    LambdaFunctionStartedEventAttributes *LambdaFunctionStartedEventAttributes `locationName:"lambdaFunctionStartedEventAttributes" type:"structure"`

    // Provides the details of the LambdaFunctionTimedOut event. It isn't set for
    // other event types.
    LambdaFunctionTimedOutEventAttributes *LambdaFunctionTimedOutEventAttributes `locationName:"lambdaFunctionTimedOutEventAttributes" type:"structure"`

    // If the event is of type MarkerRecorded then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    MarkerRecordedEventAttributes *MarkerRecordedEventAttributes `locationName:"markerRecordedEventAttributes" type:"structure"`

    // If the event is of type DecisionTaskFailed then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    RecordMarkerFailedEventAttributes *RecordMarkerFailedEventAttributes `locationName:"recordMarkerFailedEventAttributes" type:"structure"`

    // If the event is of type RequestCancelActivityTaskFailed then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    RequestCancelActivityTaskFailedEventAttributes *RequestCancelActivityTaskFailedEventAttributes `locationName:"requestCancelActivityTaskFailedEventAttributes" type:"structure"`

    // If the event is of type RequestCancelExternalWorkflowExecutionFailed then
    // this member is set and provides detailed information about the event. It
    // isn't set for other event types.
    RequestCancelExternalWorkflowExecutionFailedEventAttributes *RequestCancelExternalWorkflowExecutionFailedEventAttributes `locationName:"requestCancelExternalWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type RequestCancelExternalWorkflowExecutionInitiated then
    // this member is set and provides detailed information about the event. It
    // isn't set for other event types.
    RequestCancelExternalWorkflowExecutionInitiatedEventAttributes *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes `locationName:"requestCancelExternalWorkflowExecutionInitiatedEventAttributes" type:"structure"`

    // If the event is of type ScheduleActivityTaskFailed then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    ScheduleActivityTaskFailedEventAttributes *ScheduleActivityTaskFailedEventAttributes `locationName:"scheduleActivityTaskFailedEventAttributes" type:"structure"`

    // Provides the details of the ScheduleLambdaFunctionFailed event. It isn't
    // set for other event types.
    ScheduleLambdaFunctionFailedEventAttributes *ScheduleLambdaFunctionFailedEventAttributes `locationName:"scheduleLambdaFunctionFailedEventAttributes" type:"structure"`

    // If the event is of type SignalExternalWorkflowExecutionFailed then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    SignalExternalWorkflowExecutionFailedEventAttributes *SignalExternalWorkflowExecutionFailedEventAttributes `locationName:"signalExternalWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type SignalExternalWorkflowExecutionInitiated then this
    // member is set and provides detailed information about the event. It isn't
    // set for other event types.
    SignalExternalWorkflowExecutionInitiatedEventAttributes *SignalExternalWorkflowExecutionInitiatedEventAttributes `locationName:"signalExternalWorkflowExecutionInitiatedEventAttributes" type:"structure"`

    // If the event is of type StartChildWorkflowExecutionFailed then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    StartChildWorkflowExecutionFailedEventAttributes *StartChildWorkflowExecutionFailedEventAttributes `locationName:"startChildWorkflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type StartChildWorkflowExecutionInitiated then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    StartChildWorkflowExecutionInitiatedEventAttributes *StartChildWorkflowExecutionInitiatedEventAttributes `locationName:"startChildWorkflowExecutionInitiatedEventAttributes" type:"structure"`

    // Provides the details of the StartLambdaFunctionFailed event. It isn't set
    // for other event types.
    StartLambdaFunctionFailedEventAttributes *StartLambdaFunctionFailedEventAttributes `locationName:"startLambdaFunctionFailedEventAttributes" type:"structure"`

    // If the event is of type StartTimerFailed then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    StartTimerFailedEventAttributes *StartTimerFailedEventAttributes `locationName:"startTimerFailedEventAttributes" type:"structure"`

    // If the event is of type TimerCanceled then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    TimerCanceledEventAttributes *TimerCanceledEventAttributes `locationName:"timerCanceledEventAttributes" type:"structure"`

    // If the event is of type TimerFired then this member is set and provides detailed
    // information about the event. It isn't set for other event types.
    TimerFiredEventAttributes *TimerFiredEventAttributes `locationName:"timerFiredEventAttributes" type:"structure"`

    // If the event is of type TimerStarted then this member is set and provides
    // detailed information about the event. It isn't set for other event types.
    TimerStartedEventAttributes *TimerStartedEventAttributes `locationName:"timerStartedEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionCancelRequested then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    WorkflowExecutionCancelRequestedEventAttributes *WorkflowExecutionCancelRequestedEventAttributes `locationName:"workflowExecutionCancelRequestedEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionCanceled then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    WorkflowExecutionCanceledEventAttributes *WorkflowExecutionCanceledEventAttributes `locationName:"workflowExecutionCanceledEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionCompleted then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    WorkflowExecutionCompletedEventAttributes *WorkflowExecutionCompletedEventAttributes `locationName:"workflowExecutionCompletedEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionContinuedAsNew then this member
    // is set and provides detailed information about the event. It isn't set for
    // other event types.
    WorkflowExecutionContinuedAsNewEventAttributes *WorkflowExecutionContinuedAsNewEventAttributes `locationName:"workflowExecutionContinuedAsNewEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionFailed then this member is set and
    // provides detailed information about the event. It isn't set for other event
    // types.
    WorkflowExecutionFailedEventAttributes *WorkflowExecutionFailedEventAttributes `locationName:"workflowExecutionFailedEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionSignaled then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    WorkflowExecutionSignaledEventAttributes *WorkflowExecutionSignaledEventAttributes `locationName:"workflowExecutionSignaledEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionStarted then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    WorkflowExecutionStartedEventAttributes *WorkflowExecutionStartedEventAttributes `locationName:"workflowExecutionStartedEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionTerminated then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    WorkflowExecutionTerminatedEventAttributes *WorkflowExecutionTerminatedEventAttributes `locationName:"workflowExecutionTerminatedEventAttributes" type:"structure"`

    // If the event is of type WorkflowExecutionTimedOut then this member is set
    // and provides detailed information about the event. It isn't set for other
    // event types.
    WorkflowExecutionTimedOutEventAttributes *WorkflowExecutionTimedOutEventAttributes `locationName:"workflowExecutionTimedOutEventAttributes" type:"structure"`
    // contains filtered or unexported fields
}

Event within a workflow execution. A history event can be one of these types:

* ActivityTaskCancelRequested – A RequestCancelActivityTask decision
was received by the system.

* ActivityTaskCanceled – The activity task was successfully canceled.

* ActivityTaskCompleted – An activity worker successfully completed
an activity task by calling RespondActivityTaskCompleted.

* ActivityTaskFailed – An activity worker failed an activity task by
calling RespondActivityTaskFailed.

* ActivityTaskScheduled – An activity task was scheduled for execution.

* ActivityTaskStarted – The scheduled activity task was dispatched to
a worker.

* ActivityTaskTimedOut – The activity task timed out.

* CancelTimerFailed – Failed to process CancelTimer decision. This happens
when the decision isn't configured properly, for example no timer exists
with the specified timer Id.

* CancelWorkflowExecutionFailed – A request to cancel a workflow execution
failed.

* ChildWorkflowExecutionCanceled – A child workflow execution, started
by this workflow execution, was canceled and closed.

* ChildWorkflowExecutionCompleted – A child workflow execution, started
by this workflow execution, completed successfully and was closed.

* ChildWorkflowExecutionFailed – A child workflow execution, started
by this workflow execution, failed to complete successfully and was closed.

* ChildWorkflowExecutionStarted – A child workflow execution was successfully
started.

* ChildWorkflowExecutionTerminated – A child workflow execution, started
by this workflow execution, was terminated.

* ChildWorkflowExecutionTimedOut – A child workflow execution, started
by this workflow execution, timed out and was closed.

* CompleteWorkflowExecutionFailed – The workflow execution failed to
complete.

* ContinueAsNewWorkflowExecutionFailed – The workflow execution failed
to complete after being continued as a new workflow execution.

* DecisionTaskCompleted – The decider successfully completed a decision
task by calling RespondDecisionTaskCompleted.

* DecisionTaskScheduled – A decision task was scheduled for the workflow
execution.

* DecisionTaskStarted – The decision task was dispatched to a decider.

* DecisionTaskTimedOut – The decision task timed out.

* ExternalWorkflowExecutionCancelRequested – Request to cancel an external
workflow execution was successfully delivered to the target execution.

* ExternalWorkflowExecutionSignaled – A signal, requested by this workflow
execution, was successfully delivered to the target external workflow
execution.

* FailWorkflowExecutionFailed – A request to mark a workflow execution
as failed, itself failed.

* MarkerRecorded – A marker was recorded in the workflow history as
the result of a RecordMarker decision.

* RecordMarkerFailed – A RecordMarker decision was returned as failed.

* RequestCancelActivityTaskFailed – Failed to process RequestCancelActivityTask
decision. This happens when the decision isn't configured properly.

* RequestCancelExternalWorkflowExecutionFailed – Request to cancel an
external workflow execution failed.

* RequestCancelExternalWorkflowExecutionInitiated – A request was made
to request the cancellation of an external workflow execution.

* ScheduleActivityTaskFailed – Failed to process ScheduleActivityTask
decision. This happens when the decision isn't configured properly, for
example the activity type specified isn't registered.

* SignalExternalWorkflowExecutionFailed – The request to signal an external
workflow execution failed.

* SignalExternalWorkflowExecutionInitiated – A request to signal an
external workflow was made.

* StartActivityTaskFailed – A scheduled activity task failed to start.

* StartChildWorkflowExecutionFailed – Failed to process StartChildWorkflowExecution
decision. This happens when the decision isn't configured properly, for
example the workflow type specified isn't registered.

* StartChildWorkflowExecutionInitiated – A request was made to start
a child workflow execution.

* StartTimerFailed – Failed to process StartTimer decision. This happens
when the decision isn't configured properly, for example a timer already
exists with the specified timer Id.

* TimerCanceled – A timer, previously started for this workflow execution,
was successfully canceled.

* TimerFired – A timer, previously started for this workflow execution,
fired.

* TimerStarted – A timer was started for the workflow execution due
to a StartTimer decision.

* WorkflowExecutionCancelRequested – A request to cancel this workflow
execution was made.

* WorkflowExecutionCanceled – The workflow execution was successfully
canceled and closed.

* WorkflowExecutionCompleted – The workflow execution was closed due
to successful completion.

* WorkflowExecutionContinuedAsNew – The workflow execution was closed
and a new execution of the same type was created with the same workflowId.

* WorkflowExecutionFailed – The workflow execution closed due to a failure.

* WorkflowExecutionSignaled – An external signal was received for the
workflow execution.

* WorkflowExecutionStarted – The workflow execution was started.

* WorkflowExecutionTerminated – The workflow execution was terminated.

* WorkflowExecutionTimedOut – The workflow execution was closed because
a time out was exceeded.

func (HistoryEvent) GoString Uses

func (s HistoryEvent) GoString() string

GoString returns the string representation

func (*HistoryEvent) SetActivityTaskCancelRequestedEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskCancelRequestedEventAttributes(v *ActivityTaskCancelRequestedEventAttributes) *HistoryEvent

SetActivityTaskCancelRequestedEventAttributes sets the ActivityTaskCancelRequestedEventAttributes field's value.

func (*HistoryEvent) SetActivityTaskCanceledEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskCanceledEventAttributes(v *ActivityTaskCanceledEventAttributes) *HistoryEvent

SetActivityTaskCanceledEventAttributes sets the ActivityTaskCanceledEventAttributes field's value.

func (*HistoryEvent) SetActivityTaskCompletedEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskCompletedEventAttributes(v *ActivityTaskCompletedEventAttributes) *HistoryEvent

SetActivityTaskCompletedEventAttributes sets the ActivityTaskCompletedEventAttributes field's value.

func (*HistoryEvent) SetActivityTaskFailedEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskFailedEventAttributes(v *ActivityTaskFailedEventAttributes) *HistoryEvent

SetActivityTaskFailedEventAttributes sets the ActivityTaskFailedEventAttributes field's value.

func (*HistoryEvent) SetActivityTaskScheduledEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskScheduledEventAttributes(v *ActivityTaskScheduledEventAttributes) *HistoryEvent

SetActivityTaskScheduledEventAttributes sets the ActivityTaskScheduledEventAttributes field's value.

func (*HistoryEvent) SetActivityTaskStartedEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskStartedEventAttributes(v *ActivityTaskStartedEventAttributes) *HistoryEvent

SetActivityTaskStartedEventAttributes sets the ActivityTaskStartedEventAttributes field's value.

func (*HistoryEvent) SetActivityTaskTimedOutEventAttributes Uses

func (s *HistoryEvent) SetActivityTaskTimedOutEventAttributes(v *ActivityTaskTimedOutEventAttributes) *HistoryEvent

SetActivityTaskTimedOutEventAttributes sets the ActivityTaskTimedOutEventAttributes field's value.

func (*HistoryEvent) SetCancelTimerFailedEventAttributes Uses

func (s *HistoryEvent) SetCancelTimerFailedEventAttributes(v *CancelTimerFailedEventAttributes) *HistoryEvent

SetCancelTimerFailedEventAttributes sets the CancelTimerFailedEventAttributes field's value.

func (*HistoryEvent) SetCancelWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetCancelWorkflowExecutionFailedEventAttributes(v *CancelWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetCancelWorkflowExecutionFailedEventAttributes sets the CancelWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetChildWorkflowExecutionCanceledEventAttributes Uses

func (s *HistoryEvent) SetChildWorkflowExecutionCanceledEventAttributes(v *ChildWorkflowExecutionCanceledEventAttributes) *HistoryEvent

SetChildWorkflowExecutionCanceledEventAttributes sets the ChildWorkflowExecutionCanceledEventAttributes field's value.

func (*HistoryEvent) SetChildWorkflowExecutionCompletedEventAttributes Uses

func (s *HistoryEvent) SetChildWorkflowExecutionCompletedEventAttributes(v *ChildWorkflowExecutionCompletedEventAttributes) *HistoryEvent

SetChildWorkflowExecutionCompletedEventAttributes sets the ChildWorkflowExecutionCompletedEventAttributes field's value.

func (*HistoryEvent) SetChildWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetChildWorkflowExecutionFailedEventAttributes(v *ChildWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetChildWorkflowExecutionFailedEventAttributes sets the ChildWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetChildWorkflowExecutionStartedEventAttributes Uses

func (s *HistoryEvent) SetChildWorkflowExecutionStartedEventAttributes(v *ChildWorkflowExecutionStartedEventAttributes) *HistoryEvent

SetChildWorkflowExecutionStartedEventAttributes sets the ChildWorkflowExecutionStartedEventAttributes field's value.

func (*HistoryEvent) SetChildWorkflowExecutionTerminatedEventAttributes Uses

func (s *HistoryEvent) SetChildWorkflowExecutionTerminatedEventAttributes(v *ChildWorkflowExecutionTerminatedEventAttributes) *HistoryEvent

SetChildWorkflowExecutionTerminatedEventAttributes sets the ChildWorkflowExecutionTerminatedEventAttributes field's value.

func (*HistoryEvent) SetChildWorkflowExecutionTimedOutEventAttributes Uses

func (s *HistoryEvent) SetChildWorkflowExecutionTimedOutEventAttributes(v *ChildWorkflowExecutionTimedOutEventAttributes) *HistoryEvent

SetChildWorkflowExecutionTimedOutEventAttributes sets the ChildWorkflowExecutionTimedOutEventAttributes field's value.

func (*HistoryEvent) SetCompleteWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetCompleteWorkflowExecutionFailedEventAttributes(v *CompleteWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetCompleteWorkflowExecutionFailedEventAttributes sets the CompleteWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetContinueAsNewWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetContinueAsNewWorkflowExecutionFailedEventAttributes(v *ContinueAsNewWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetContinueAsNewWorkflowExecutionFailedEventAttributes sets the ContinueAsNewWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetDecisionTaskCompletedEventAttributes Uses

func (s *HistoryEvent) SetDecisionTaskCompletedEventAttributes(v *DecisionTaskCompletedEventAttributes) *HistoryEvent

SetDecisionTaskCompletedEventAttributes sets the DecisionTaskCompletedEventAttributes field's value.

func (*HistoryEvent) SetDecisionTaskScheduledEventAttributes Uses

func (s *HistoryEvent) SetDecisionTaskScheduledEventAttributes(v *DecisionTaskScheduledEventAttributes) *HistoryEvent

SetDecisionTaskScheduledEventAttributes sets the DecisionTaskScheduledEventAttributes field's value.

func (*HistoryEvent) SetDecisionTaskStartedEventAttributes Uses

func (s *HistoryEvent) SetDecisionTaskStartedEventAttributes(v *DecisionTaskStartedEventAttributes) *HistoryEvent

SetDecisionTaskStartedEventAttributes sets the DecisionTaskStartedEventAttributes field's value.

func (*HistoryEvent) SetDecisionTaskTimedOutEventAttributes Uses

func (s *HistoryEvent) SetDecisionTaskTimedOutEventAttributes(v *DecisionTaskTimedOutEventAttributes) *HistoryEvent

SetDecisionTaskTimedOutEventAttributes sets the DecisionTaskTimedOutEventAttributes field's value.

func (*HistoryEvent) SetEventId Uses

func (s *HistoryEvent) SetEventId(v int64) *HistoryEvent

SetEventId sets the EventId field's value.

func (*HistoryEvent) SetEventTimestamp Uses

func (s *HistoryEvent) SetEventTimestamp(v time.Time) *HistoryEvent

SetEventTimestamp sets the EventTimestamp field's value.

func (*HistoryEvent) SetEventType Uses

func (s *HistoryEvent) SetEventType(v string) *HistoryEvent

SetEventType sets the EventType field's value.

func (*HistoryEvent) SetExternalWorkflowExecutionCancelRequestedEventAttributes Uses

func (s *HistoryEvent) SetExternalWorkflowExecutionCancelRequestedEventAttributes(v *ExternalWorkflowExecutionCancelRequestedEventAttributes) *HistoryEvent

SetExternalWorkflowExecutionCancelRequestedEventAttributes sets the ExternalWorkflowExecutionCancelRequestedEventAttributes field's value.

func (*HistoryEvent) SetExternalWorkflowExecutionSignaledEventAttributes Uses

func (s *HistoryEvent) SetExternalWorkflowExecutionSignaledEventAttributes(v *ExternalWorkflowExecutionSignaledEventAttributes) *HistoryEvent

SetExternalWorkflowExecutionSignaledEventAttributes sets the ExternalWorkflowExecutionSignaledEventAttributes field's value.

func (*HistoryEvent) SetFailWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetFailWorkflowExecutionFailedEventAttributes(v *FailWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetFailWorkflowExecutionFailedEventAttributes sets the FailWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetLambdaFunctionCompletedEventAttributes Uses

func (s *HistoryEvent) SetLambdaFunctionCompletedEventAttributes(v *LambdaFunctionCompletedEventAttributes) *HistoryEvent

SetLambdaFunctionCompletedEventAttributes sets the LambdaFunctionCompletedEventAttributes field's value.

func (*HistoryEvent) SetLambdaFunctionFailedEventAttributes Uses

func (s *HistoryEvent) SetLambdaFunctionFailedEventAttributes(v *LambdaFunctionFailedEventAttributes) *HistoryEvent

SetLambdaFunctionFailedEventAttributes sets the LambdaFunctionFailedEventAttributes field's value.

func (*HistoryEvent) SetLambdaFunctionScheduledEventAttributes Uses

func (s *HistoryEvent) SetLambdaFunctionScheduledEventAttributes(v *LambdaFunctionScheduledEventAttributes) *HistoryEvent

SetLambdaFunctionScheduledEventAttributes sets the LambdaFunctionScheduledEventAttributes field's value.

func (*HistoryEvent) SetLambdaFunctionStartedEventAttributes Uses

func (s *HistoryEvent) SetLambdaFunctionStartedEventAttributes(v *LambdaFunctionStartedEventAttributes) *HistoryEvent

SetLambdaFunctionStartedEventAttributes sets the LambdaFunctionStartedEventAttributes field's value.

func (*HistoryEvent) SetLambdaFunctionTimedOutEventAttributes Uses

func (s *HistoryEvent) SetLambdaFunctionTimedOutEventAttributes(v *LambdaFunctionTimedOutEventAttributes) *HistoryEvent

SetLambdaFunctionTimedOutEventAttributes sets the LambdaFunctionTimedOutEventAttributes field's value.

func (*HistoryEvent) SetMarkerRecordedEventAttributes Uses

func (s *HistoryEvent) SetMarkerRecordedEventAttributes(v *MarkerRecordedEventAttributes) *HistoryEvent

SetMarkerRecordedEventAttributes sets the MarkerRecordedEventAttributes field's value.

func (*HistoryEvent) SetRecordMarkerFailedEventAttributes Uses

func (s *HistoryEvent) SetRecordMarkerFailedEventAttributes(v *RecordMarkerFailedEventAttributes) *HistoryEvent

SetRecordMarkerFailedEventAttributes sets the RecordMarkerFailedEventAttributes field's value.

func (*HistoryEvent) SetRequestCancelActivityTaskFailedEventAttributes Uses

func (s *HistoryEvent) SetRequestCancelActivityTaskFailedEventAttributes(v *RequestCancelActivityTaskFailedEventAttributes) *HistoryEvent

SetRequestCancelActivityTaskFailedEventAttributes sets the RequestCancelActivityTaskFailedEventAttributes field's value.

func (*HistoryEvent) SetRequestCancelExternalWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetRequestCancelExternalWorkflowExecutionFailedEventAttributes(v *RequestCancelExternalWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetRequestCancelExternalWorkflowExecutionFailedEventAttributes sets the RequestCancelExternalWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes Uses

func (s *HistoryEvent) SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(v *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) *HistoryEvent

SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes sets the RequestCancelExternalWorkflowExecutionInitiatedEventAttributes field's value.

func (*HistoryEvent) SetScheduleActivityTaskFailedEventAttributes Uses

func (s *HistoryEvent) SetScheduleActivityTaskFailedEventAttributes(v *ScheduleActivityTaskFailedEventAttributes) *HistoryEvent

SetScheduleActivityTaskFailedEventAttributes sets the ScheduleActivityTaskFailedEventAttributes field's value.

func (*HistoryEvent) SetScheduleLambdaFunctionFailedEventAttributes Uses

func (s *HistoryEvent) SetScheduleLambdaFunctionFailedEventAttributes(v *ScheduleLambdaFunctionFailedEventAttributes) *HistoryEvent

SetScheduleLambdaFunctionFailedEventAttributes sets the ScheduleLambdaFunctionFailedEventAttributes field's value.

func (*HistoryEvent) SetSignalExternalWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetSignalExternalWorkflowExecutionFailedEventAttributes(v *SignalExternalWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetSignalExternalWorkflowExecutionFailedEventAttributes sets the SignalExternalWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetSignalExternalWorkflowExecutionInitiatedEventAttributes Uses

func (s *HistoryEvent) SetSignalExternalWorkflowExecutionInitiatedEventAttributes(v *SignalExternalWorkflowExecutionInitiatedEventAttributes) *HistoryEvent

SetSignalExternalWorkflowExecutionInitiatedEventAttributes sets the SignalExternalWorkflowExecutionInitiatedEventAttributes field's value.

func (*HistoryEvent) SetStartChildWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetStartChildWorkflowExecutionFailedEventAttributes(v *StartChildWorkflowExecutionFailedEventAttributes) *HistoryEvent

SetStartChildWorkflowExecutionFailedEventAttributes sets the StartChildWorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetStartChildWorkflowExecutionInitiatedEventAttributes Uses

func (s *HistoryEvent) SetStartChildWorkflowExecutionInitiatedEventAttributes(v *StartChildWorkflowExecutionInitiatedEventAttributes) *HistoryEvent

SetStartChildWorkflowExecutionInitiatedEventAttributes sets the StartChildWorkflowExecutionInitiatedEventAttributes field's value.

func (*HistoryEvent) SetStartLambdaFunctionFailedEventAttributes Uses

func (s *HistoryEvent) SetStartLambdaFunctionFailedEventAttributes(v *StartLambdaFunctionFailedEventAttributes) *HistoryEvent

SetStartLambdaFunctionFailedEventAttributes sets the StartLambdaFunctionFailedEventAttributes field's value.

func (*HistoryEvent) SetStartTimerFailedEventAttributes Uses

func (s *HistoryEvent) SetStartTimerFailedEventAttributes(v *StartTimerFailedEventAttributes) *HistoryEvent

SetStartTimerFailedEventAttributes sets the StartTimerFailedEventAttributes field's value.

func (*HistoryEvent) SetTimerCanceledEventAttributes Uses

func (s *HistoryEvent) SetTimerCanceledEventAttributes(v *TimerCanceledEventAttributes) *HistoryEvent

SetTimerCanceledEventAttributes sets the TimerCanceledEventAttributes field's value.

func (*HistoryEvent) SetTimerFiredEventAttributes Uses

func (s *HistoryEvent) SetTimerFiredEventAttributes(v *TimerFiredEventAttributes) *HistoryEvent

SetTimerFiredEventAttributes sets the TimerFiredEventAttributes field's value.

func (*HistoryEvent) SetTimerStartedEventAttributes Uses

func (s *HistoryEvent) SetTimerStartedEventAttributes(v *TimerStartedEventAttributes) *HistoryEvent

SetTimerStartedEventAttributes sets the TimerStartedEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionCancelRequestedEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionCancelRequestedEventAttributes(v *WorkflowExecutionCancelRequestedEventAttributes) *HistoryEvent

SetWorkflowExecutionCancelRequestedEventAttributes sets the WorkflowExecutionCancelRequestedEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionCanceledEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionCanceledEventAttributes(v *WorkflowExecutionCanceledEventAttributes) *HistoryEvent

SetWorkflowExecutionCanceledEventAttributes sets the WorkflowExecutionCanceledEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionCompletedEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionCompletedEventAttributes(v *WorkflowExecutionCompletedEventAttributes) *HistoryEvent

SetWorkflowExecutionCompletedEventAttributes sets the WorkflowExecutionCompletedEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionContinuedAsNewEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionContinuedAsNewEventAttributes(v *WorkflowExecutionContinuedAsNewEventAttributes) *HistoryEvent

SetWorkflowExecutionContinuedAsNewEventAttributes sets the WorkflowExecutionContinuedAsNewEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionFailedEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionFailedEventAttributes(v *WorkflowExecutionFailedEventAttributes) *HistoryEvent

SetWorkflowExecutionFailedEventAttributes sets the WorkflowExecutionFailedEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionSignaledEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionSignaledEventAttributes(v *WorkflowExecutionSignaledEventAttributes) *HistoryEvent

SetWorkflowExecutionSignaledEventAttributes sets the WorkflowExecutionSignaledEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionStartedEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionStartedEventAttributes(v *WorkflowExecutionStartedEventAttributes) *HistoryEvent

SetWorkflowExecutionStartedEventAttributes sets the WorkflowExecutionStartedEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionTerminatedEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionTerminatedEventAttributes(v *WorkflowExecutionTerminatedEventAttributes) *HistoryEvent

SetWorkflowExecutionTerminatedEventAttributes sets the WorkflowExecutionTerminatedEventAttributes field's value.

func (*HistoryEvent) SetWorkflowExecutionTimedOutEventAttributes Uses

func (s *HistoryEvent) SetWorkflowExecutionTimedOutEventAttributes(v *WorkflowExecutionTimedOutEventAttributes) *HistoryEvent

SetWorkflowExecutionTimedOutEventAttributes sets the WorkflowExecutionTimedOutEventAttributes field's value.

func (HistoryEvent) String Uses

func (s HistoryEvent) String() string

String returns the string representation

type LambdaFunctionCompletedEventAttributes Uses

type LambdaFunctionCompletedEventAttributes struct {

    // The results of the Lambda task.
    Result *string `locationName:"result" type:"string"`

    // The ID of the LambdaFunctionScheduled event that was recorded when this Lambda
    // task was scheduled. To help diagnose issues, use this information to trace
    // back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the LambdaFunctionStarted event recorded when this activity task
    // started. To help diagnose issues, use this information to trace back the
    // chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types.

func (LambdaFunctionCompletedEventAttributes) GoString Uses

func (s LambdaFunctionCompletedEventAttributes) GoString() string

GoString returns the string representation

func (*LambdaFunctionCompletedEventAttributes) SetResult Uses

func (s *LambdaFunctionCompletedEventAttributes) SetResult(v string) *LambdaFunctionCompletedEventAttributes

SetResult sets the Result field's value.

func (*LambdaFunctionCompletedEventAttributes) SetScheduledEventId Uses

func (s *LambdaFunctionCompletedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionCompletedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*LambdaFunctionCompletedEventAttributes) SetStartedEventId Uses

func (s *LambdaFunctionCompletedEventAttributes) SetStartedEventId(v int64) *LambdaFunctionCompletedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (LambdaFunctionCompletedEventAttributes) String Uses

func (s LambdaFunctionCompletedEventAttributes) String() string

String returns the string representation

type LambdaFunctionFailedEventAttributes Uses

type LambdaFunctionFailedEventAttributes struct {

    // The details of the failure.
    Details *string `locationName:"details" type:"string"`

    // The reason provided for the failure.
    Reason *string `locationName:"reason" type:"string"`

    // The ID of the LambdaFunctionScheduled event that was recorded when this activity
    // task was scheduled. To help diagnose issues, use this information to trace
    // back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the LambdaFunctionStarted event recorded when this activity task
    // started. To help diagnose issues, use this information to trace back the
    // chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the LambdaFunctionFailed event. It isn't set for other event types.

func (LambdaFunctionFailedEventAttributes) GoString Uses

func (s LambdaFunctionFailedEventAttributes) GoString() string

GoString returns the string representation

func (*LambdaFunctionFailedEventAttributes) SetDetails Uses

func (s *LambdaFunctionFailedEventAttributes) SetDetails(v string) *LambdaFunctionFailedEventAttributes

SetDetails sets the Details field's value.

func (*LambdaFunctionFailedEventAttributes) SetReason Uses

func (s *LambdaFunctionFailedEventAttributes) SetReason(v string) *LambdaFunctionFailedEventAttributes

SetReason sets the Reason field's value.

func (*LambdaFunctionFailedEventAttributes) SetScheduledEventId Uses

func (s *LambdaFunctionFailedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionFailedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*LambdaFunctionFailedEventAttributes) SetStartedEventId Uses

func (s *LambdaFunctionFailedEventAttributes) SetStartedEventId(v int64) *LambdaFunctionFailedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (LambdaFunctionFailedEventAttributes) String Uses

func (s LambdaFunctionFailedEventAttributes) String() string

String returns the string representation

type LambdaFunctionScheduledEventAttributes Uses

type LambdaFunctionScheduledEventAttributes struct {

    // Data attached to the event that the decider can use in subsequent workflow
    // tasks. This data isn't sent to the Lambda task.
    Control *string `locationName:"control" type:"string"`

    // The ID of the LambdaFunctionCompleted event corresponding to the decision
    // that resulted in scheduling this activity task. To help diagnose issues,
    // use this information to trace back the chain of events leading up to this
    // event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`

    // The unique ID of the Lambda task.
    //
    // Id is a required field
    Id  *string `locationName:"id" min:"1" type:"string" required:"true"`

    // The input provided to the Lambda task.
    Input *string `locationName:"input" type:"string"`

    // The name of the Lambda function.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The maximum amount of time a worker can take to process the Lambda task.
    StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"`
    // contains filtered or unexported fields
}

Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.

func (LambdaFunctionScheduledEventAttributes) GoString Uses

func (s LambdaFunctionScheduledEventAttributes) GoString() string

GoString returns the string representation

func (*LambdaFunctionScheduledEventAttributes) SetControl Uses

func (s *LambdaFunctionScheduledEventAttributes) SetControl(v string) *LambdaFunctionScheduledEventAttributes

SetControl sets the Control field's value.

func (*LambdaFunctionScheduledEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *LambdaFunctionScheduledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *LambdaFunctionScheduledEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (*LambdaFunctionScheduledEventAttributes) SetId Uses

func (s *LambdaFunctionScheduledEventAttributes) SetId(v string) *LambdaFunctionScheduledEventAttributes

SetId sets the Id field's value.

func (*LambdaFunctionScheduledEventAttributes) SetInput Uses

func (s *LambdaFunctionScheduledEventAttributes) SetInput(v string) *LambdaFunctionScheduledEventAttributes

SetInput sets the Input field's value.

func (*LambdaFunctionScheduledEventAttributes) SetName Uses

func (s *LambdaFunctionScheduledEventAttributes) SetName(v string) *LambdaFunctionScheduledEventAttributes

SetName sets the Name field's value.

func (*LambdaFunctionScheduledEventAttributes) SetStartToCloseTimeout Uses

func (s *LambdaFunctionScheduledEventAttributes) SetStartToCloseTimeout(v string) *LambdaFunctionScheduledEventAttributes

SetStartToCloseTimeout sets the StartToCloseTimeout field's value.

func (LambdaFunctionScheduledEventAttributes) String Uses

func (s LambdaFunctionScheduledEventAttributes) String() string

String returns the string representation

type LambdaFunctionStartedEventAttributes Uses

type LambdaFunctionStartedEventAttributes struct {

    // The ID of the LambdaFunctionScheduled event that was recorded when this activity
    // task was scheduled. To help diagnose issues, use this information to trace
    // back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the LambdaFunctionStarted event. It isn't set for other event types.

func (LambdaFunctionStartedEventAttributes) GoString Uses

func (s LambdaFunctionStartedEventAttributes) GoString() string

GoString returns the string representation

func (*LambdaFunctionStartedEventAttributes) SetScheduledEventId Uses

func (s *LambdaFunctionStartedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionStartedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (LambdaFunctionStartedEventAttributes) String Uses

func (s LambdaFunctionStartedEventAttributes) String() string

String returns the string representation

type LambdaFunctionTimedOutEventAttributes Uses

type LambdaFunctionTimedOutEventAttributes struct {

    // The ID of the LambdaFunctionScheduled event that was recorded when this activity
    // task was scheduled. To help diagnose issues, use this information to trace
    // back the chain of events leading up to this event.
    //
    // ScheduledEventId is a required field
    ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"`

    // The ID of the ActivityTaskStarted event that was recorded when this activity
    // task started. To help diagnose issues, use this information to trace back
    // the chain of events leading up to this event.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The type of the timeout that caused this event.
    TimeoutType *string `locationName:"timeoutType" type:"string" enum:"LambdaFunctionTimeoutType"`
    // contains filtered or unexported fields
}

Provides details of the LambdaFunctionTimedOut event.

func (LambdaFunctionTimedOutEventAttributes) GoString Uses

func (s LambdaFunctionTimedOutEventAttributes) GoString() string

GoString returns the string representation

func (*LambdaFunctionTimedOutEventAttributes) SetScheduledEventId Uses

func (s *LambdaFunctionTimedOutEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionTimedOutEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

func (*LambdaFunctionTimedOutEventAttributes) SetStartedEventId Uses

func (s *LambdaFunctionTimedOutEventAttributes) SetStartedEventId(v int64) *LambdaFunctionTimedOutEventAttributes

SetStartedEventId sets the StartedEventId field's value.

func (*LambdaFunctionTimedOutEventAttributes) SetTimeoutType Uses

func (s *LambdaFunctionTimedOutEventAttributes) SetTimeoutType(v string) *LambdaFunctionTimedOutEventAttributes

SetTimeoutType sets the TimeoutType field's value.

func (LambdaFunctionTimedOutEventAttributes) String Uses

func (s LambdaFunctionTimedOutEventAttributes) String() string

String returns the string representation

type ListActivityTypesInput Uses

type ListActivityTypesInput struct {

    // The name of the domain in which the activity types have been registered.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If specified, only lists the activity types that have this name.
    Name *string `locationName:"name" min:"1" type:"string"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // Specifies the registration status of the activity types to list.
    //
    // RegistrationStatus is a required field
    RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"`

    // When set to true, returns the results in reverse order. By default, the results
    // are returned in ascending alphabetical order by name of the activity types.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`
    // contains filtered or unexported fields
}

func (ListActivityTypesInput) GoString Uses

func (s ListActivityTypesInput) GoString() string

GoString returns the string representation

func (*ListActivityTypesInput) SetDomain Uses

func (s *ListActivityTypesInput) SetDomain(v string) *ListActivityTypesInput

SetDomain sets the Domain field's value.

func (*ListActivityTypesInput) SetMaximumPageSize Uses

func (s *ListActivityTypesInput) SetMaximumPageSize(v int64) *ListActivityTypesInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*ListActivityTypesInput) SetName Uses

func (s *ListActivityTypesInput) SetName(v string) *ListActivityTypesInput

SetName sets the Name field's value.

func (*ListActivityTypesInput) SetNextPageToken Uses

func (s *ListActivityTypesInput) SetNextPageToken(v string) *ListActivityTypesInput

SetNextPageToken sets the NextPageToken field's value.

func (*ListActivityTypesInput) SetRegistrationStatus Uses

func (s *ListActivityTypesInput) SetRegistrationStatus(v string) *ListActivityTypesInput

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*ListActivityTypesInput) SetReverseOrder Uses

func (s *ListActivityTypesInput) SetReverseOrder(v bool) *ListActivityTypesInput

SetReverseOrder sets the ReverseOrder field's value.

func (ListActivityTypesInput) String Uses

func (s ListActivityTypesInput) String() string

String returns the string representation

func (*ListActivityTypesInput) Validate Uses

func (s *ListActivityTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListActivityTypesOutput Uses

type ListActivityTypesOutput struct {

    // If a NextPageToken was returned by a previous call, there are more results
    // available. To retrieve the next page of results, make the call again using
    // the returned token in nextPageToken. Keep all other arguments unchanged.
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // List of activity type information.
    //
    // TypeInfos is a required field
    TypeInfos []*ActivityTypeInfo `locationName:"typeInfos" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains a paginated list of activity type information structures.

func (ListActivityTypesOutput) GoString Uses

func (s ListActivityTypesOutput) GoString() string

GoString returns the string representation

func (*ListActivityTypesOutput) SetNextPageToken Uses

func (s *ListActivityTypesOutput) SetNextPageToken(v string) *ListActivityTypesOutput

SetNextPageToken sets the NextPageToken field's value.

func (*ListActivityTypesOutput) SetTypeInfos Uses

func (s *ListActivityTypesOutput) SetTypeInfos(v []*ActivityTypeInfo) *ListActivityTypesOutput

SetTypeInfos sets the TypeInfos field's value.

func (ListActivityTypesOutput) String Uses

func (s ListActivityTypesOutput) String() string

String returns the string representation

type ListClosedWorkflowExecutionsInput Uses

type ListClosedWorkflowExecutionsInput struct {

    // If specified, only workflow executions that match this close status are listed.
    // For example, if TERMINATED is specified, then only TERMINATED workflow executions
    // are listed.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    CloseStatusFilter *CloseStatusFilter `locationName:"closeStatusFilter" type:"structure"`

    // If specified, the workflow executions are included in the returned results
    // based on whether their close times are within the range specified by this
    // filter. Also, if this parameter is specified, the returned results are ordered
    // by their close times.
    //
    // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify
    // one of these in a request but not both.
    CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure"`

    // The name of the domain that contains the workflow executions to list.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // If specified, only workflow executions matching the workflow ID specified
    // in the filter are returned.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"`

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // When set to true, returns the results in reverse order. By default the results
    // are returned in descending order of the start or the close time of the executions.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`

    // If specified, the workflow executions are included in the returned results
    // based on whether their start times are within the range specified by this
    // filter. Also, if this parameter is specified, the returned results are ordered
    // by their start times.
    //
    // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify
    // one of these in a request but not both.
    StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure"`

    // If specified, only executions that have the matching tag are listed.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    TagFilter *TagFilter `locationName:"tagFilter" type:"structure"`

    // If specified, only executions of the type specified in the filter are returned.
    //
    // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually
    // exclusive. You can specify at most one of these in a request.
    TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"`
    // contains filtered or unexported fields
}

func (ListClosedWorkflowExecutionsInput) GoString Uses

func (s ListClosedWorkflowExecutionsInput) GoString() string

GoString returns the string representation

func (*ListClosedWorkflowExecutionsInput) SetCloseStatusFilter Uses

func (s *ListClosedWorkflowExecutionsInput) SetCloseStatusFilter(v *CloseStatusFilter) *ListClosedWorkflowExecutionsInput

SetCloseStatusFilter sets the CloseStatusFilter field's value.

func (*ListClosedWorkflowExecutionsInput) SetCloseTimeFilter Uses

func (s *ListClosedWorkflowExecutionsInput) SetCloseTimeFilter(v *ExecutionTimeFilter) *ListClosedWorkflowExecutionsInput

SetCloseTimeFilter sets the CloseTimeFilter field's value.

func (*ListClosedWorkflowExecutionsInput) SetDomain Uses

func (s *ListClosedWorkflowExecutionsInput) SetDomain(v string) *ListClosedWorkflowExecutionsInput

SetDomain sets the Domain field's value.

func (*ListClosedWorkflowExecutionsInput) SetExecutionFilter Uses

func (s *ListClosedWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *ListClosedWorkflowExecutionsInput

SetExecutionFilter sets the ExecutionFilter field's value.

func (*ListClosedWorkflowExecutionsInput) SetMaximumPageSize Uses

func (s *ListClosedWorkflowExecutionsInput) SetMaximumPageSize(v int64) *ListClosedWorkflowExecutionsInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*ListClosedWorkflowExecutionsInput) SetNextPageToken Uses

func (s *ListClosedWorkflowExecutionsInput) SetNextPageToken(v string) *ListClosedWorkflowExecutionsInput

SetNextPageToken sets the NextPageToken field's value.

func (*ListClosedWorkflowExecutionsInput) SetReverseOrder Uses

func (s *ListClosedWorkflowExecutionsInput) SetReverseOrder(v bool) *ListClosedWorkflowExecutionsInput

SetReverseOrder sets the ReverseOrder field's value.

func (*ListClosedWorkflowExecutionsInput) SetStartTimeFilter Uses

func (s *ListClosedWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *ListClosedWorkflowExecutionsInput

SetStartTimeFilter sets the StartTimeFilter field's value.

func (*ListClosedWorkflowExecutionsInput) SetTagFilter Uses

func (s *ListClosedWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *ListClosedWorkflowExecutionsInput

SetTagFilter sets the TagFilter field's value.

func (*ListClosedWorkflowExecutionsInput) SetTypeFilter Uses

func (s *ListClosedWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *ListClosedWorkflowExecutionsInput

SetTypeFilter sets the TypeFilter field's value.

func (ListClosedWorkflowExecutionsInput) String Uses

func (s ListClosedWorkflowExecutionsInput) String() string

String returns the string representation

func (*ListClosedWorkflowExecutionsInput) Validate Uses

func (s *ListClosedWorkflowExecutionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDomainsInput Uses

type ListDomainsInput struct {

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // Specifies the registration status of the domains to list.
    //
    // RegistrationStatus is a required field
    RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"`

    // When set to true, returns the results in reverse order. By default, the results
    // are returned in ascending alphabetical order by name of the domains.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`
    // contains filtered or unexported fields
}

func (ListDomainsInput) GoString Uses

func (s ListDomainsInput) GoString() string

GoString returns the string representation

func (*ListDomainsInput) SetMaximumPageSize Uses

func (s *ListDomainsInput) SetMaximumPageSize(v int64) *ListDomainsInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*ListDomainsInput) SetNextPageToken Uses

func (s *ListDomainsInput) SetNextPageToken(v string) *ListDomainsInput

SetNextPageToken sets the NextPageToken field's value.

func (*ListDomainsInput) SetRegistrationStatus Uses

func (s *ListDomainsInput) SetRegistrationStatus(v string) *ListDomainsInput

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*ListDomainsInput) SetReverseOrder Uses

func (s *ListDomainsInput) SetReverseOrder(v bool) *ListDomainsInput

SetReverseOrder sets the ReverseOrder field's value.

func (ListDomainsInput) String Uses

func (s ListDomainsInput) String() string

String returns the string representation

func (*ListDomainsInput) Validate Uses

func (s *ListDomainsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDomainsOutput Uses

type ListDomainsOutput struct {

    // A list of DomainInfo structures.
    //
    // DomainInfos is a required field
    DomainInfos []*DomainInfo `locationName:"domainInfos" type:"list" required:"true"`

    // If a NextPageToken was returned by a previous call, there are more results
    // available. To retrieve the next page of results, make the call again using
    // the returned token in nextPageToken. Keep all other arguments unchanged.
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`
    // contains filtered or unexported fields
}

Contains a paginated collection of DomainInfo structures.

func (ListDomainsOutput) GoString Uses

func (s ListDomainsOutput) GoString() string

GoString returns the string representation

func (*ListDomainsOutput) SetDomainInfos Uses

func (s *ListDomainsOutput) SetDomainInfos(v []*DomainInfo) *ListDomainsOutput

SetDomainInfos sets the DomainInfos field's value.

func (*ListDomainsOutput) SetNextPageToken Uses

func (s *ListDomainsOutput) SetNextPageToken(v string) *ListDomainsOutput

SetNextPageToken sets the NextPageToken field's value.

func (ListDomainsOutput) String Uses

func (s ListDomainsOutput) String() string

String returns the string representation

type ListOpenWorkflowExecutionsInput Uses

type ListOpenWorkflowExecutionsInput struct {

    // The name of the domain that contains the workflow executions to list.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // If specified, only workflow executions matching the workflow ID specified
    // in the filter are returned.
    //
    // executionFilter, typeFilter and tagFilter are mutually exclusive. You can
    // specify at most one of these in a request.
    ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"`

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // When set to true, returns the results in reverse order. By default the results
    // are returned in descending order of the start time of the executions.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`

    // Workflow executions are included in the returned results based on whether
    // their start times are within the range specified by this filter.
    //
    // StartTimeFilter is a required field
    StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"`

    // If specified, only executions that have the matching tag are listed.
    //
    // executionFilter, typeFilter and tagFilter are mutually exclusive. You can
    // specify at most one of these in a request.
    TagFilter *TagFilter `locationName:"tagFilter" type:"structure"`

    // If specified, only executions of the type specified in the filter are returned.
    //
    // executionFilter, typeFilter and tagFilter are mutually exclusive. You can
    // specify at most one of these in a request.
    TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"`
    // contains filtered or unexported fields
}

func (ListOpenWorkflowExecutionsInput) GoString Uses

func (s ListOpenWorkflowExecutionsInput) GoString() string

GoString returns the string representation

func (*ListOpenWorkflowExecutionsInput) SetDomain Uses

func (s *ListOpenWorkflowExecutionsInput) SetDomain(v string) *ListOpenWorkflowExecutionsInput

SetDomain sets the Domain field's value.

func (*ListOpenWorkflowExecutionsInput) SetExecutionFilter Uses

func (s *ListOpenWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *ListOpenWorkflowExecutionsInput

SetExecutionFilter sets the ExecutionFilter field's value.

func (*ListOpenWorkflowExecutionsInput) SetMaximumPageSize Uses

func (s *ListOpenWorkflowExecutionsInput) SetMaximumPageSize(v int64) *ListOpenWorkflowExecutionsInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*ListOpenWorkflowExecutionsInput) SetNextPageToken Uses

func (s *ListOpenWorkflowExecutionsInput) SetNextPageToken(v string) *ListOpenWorkflowExecutionsInput

SetNextPageToken sets the NextPageToken field's value.

func (*ListOpenWorkflowExecutionsInput) SetReverseOrder Uses

func (s *ListOpenWorkflowExecutionsInput) SetReverseOrder(v bool) *ListOpenWorkflowExecutionsInput

SetReverseOrder sets the ReverseOrder field's value.

func (*ListOpenWorkflowExecutionsInput) SetStartTimeFilter Uses

func (s *ListOpenWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *ListOpenWorkflowExecutionsInput

SetStartTimeFilter sets the StartTimeFilter field's value.

func (*ListOpenWorkflowExecutionsInput) SetTagFilter Uses

func (s *ListOpenWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *ListOpenWorkflowExecutionsInput

SetTagFilter sets the TagFilter field's value.

func (*ListOpenWorkflowExecutionsInput) SetTypeFilter Uses

func (s *ListOpenWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *ListOpenWorkflowExecutionsInput

SetTypeFilter sets the TypeFilter field's value.

func (ListOpenWorkflowExecutionsInput) String Uses

func (s ListOpenWorkflowExecutionsInput) String() string

String returns the string representation

func (*ListOpenWorkflowExecutionsInput) Validate Uses

func (s *ListOpenWorkflowExecutionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

    // The Amazon Resource Name (ARN) for the Amazon SWF domain.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

    // An array of tags associated with the domain.
    Tags []*ResourceTag `locationName:"tags" type:"list"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v []*ResourceTag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListWorkflowTypesInput Uses

type ListWorkflowTypesInput struct {

    // The name of the domain in which the workflow types have been registered.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If specified, lists the workflow type with this name.
    Name *string `locationName:"name" min:"1" type:"string"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // Specifies the registration status of the workflow types to list.
    //
    // RegistrationStatus is a required field
    RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"`

    // When set to true, returns the results in reverse order. By default the results
    // are returned in ascending alphabetical order of the name of the workflow
    // types.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`
    // contains filtered or unexported fields
}

func (ListWorkflowTypesInput) GoString Uses

func (s ListWorkflowTypesInput) GoString() string

GoString returns the string representation

func (*ListWorkflowTypesInput) SetDomain Uses

func (s *ListWorkflowTypesInput) SetDomain(v string) *ListWorkflowTypesInput

SetDomain sets the Domain field's value.

func (*ListWorkflowTypesInput) SetMaximumPageSize Uses

func (s *ListWorkflowTypesInput) SetMaximumPageSize(v int64) *ListWorkflowTypesInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*ListWorkflowTypesInput) SetName Uses

func (s *ListWorkflowTypesInput) SetName(v string) *ListWorkflowTypesInput

SetName sets the Name field's value.

func (*ListWorkflowTypesInput) SetNextPageToken Uses

func (s *ListWorkflowTypesInput) SetNextPageToken(v string) *ListWorkflowTypesInput

SetNextPageToken sets the NextPageToken field's value.

func (*ListWorkflowTypesInput) SetRegistrationStatus Uses

func (s *ListWorkflowTypesInput) SetRegistrationStatus(v string) *ListWorkflowTypesInput

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*ListWorkflowTypesInput) SetReverseOrder Uses

func (s *ListWorkflowTypesInput) SetReverseOrder(v bool) *ListWorkflowTypesInput

SetReverseOrder sets the ReverseOrder field's value.

func (ListWorkflowTypesInput) String Uses

func (s ListWorkflowTypesInput) String() string

String returns the string representation

func (*ListWorkflowTypesInput) Validate Uses

func (s *ListWorkflowTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListWorkflowTypesOutput Uses

type ListWorkflowTypesOutput struct {

    // If a NextPageToken was returned by a previous call, there are more results
    // available. To retrieve the next page of results, make the call again using
    // the returned token in nextPageToken. Keep all other arguments unchanged.
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // The list of workflow type information.
    //
    // TypeInfos is a required field
    TypeInfos []*WorkflowTypeInfo `locationName:"typeInfos" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains a paginated list of information structures about workflow types.

func (ListWorkflowTypesOutput) GoString Uses

func (s ListWorkflowTypesOutput) GoString() string

GoString returns the string representation

func (*ListWorkflowTypesOutput) SetNextPageToken Uses

func (s *ListWorkflowTypesOutput) SetNextPageToken(v string) *ListWorkflowTypesOutput

SetNextPageToken sets the NextPageToken field's value.

func (*ListWorkflowTypesOutput) SetTypeInfos Uses

func (s *ListWorkflowTypesOutput) SetTypeInfos(v []*WorkflowTypeInfo) *ListWorkflowTypesOutput

SetTypeInfos sets the TypeInfos field's value.

func (ListWorkflowTypesOutput) String Uses

func (s ListWorkflowTypesOutput) String() string

String returns the string representation

type MarkerRecordedEventAttributes Uses

type MarkerRecordedEventAttributes struct {

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the RecordMarker decision that requested this marker. This
    // information can be useful for diagnosing problems by tracing back the chain
    // of events leading up to this event.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`

    // The details of the marker.
    Details *string `locationName:"details" type:"string"`

    // The name of the marker.
    //
    // MarkerName is a required field
    MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the MarkerRecorded event.

func (MarkerRecordedEventAttributes) GoString Uses

func (s MarkerRecordedEventAttributes) GoString() string

GoString returns the string representation

func (*MarkerRecordedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *MarkerRecordedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *MarkerRecordedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (*MarkerRecordedEventAttributes) SetDetails Uses

func (s *MarkerRecordedEventAttributes) SetDetails(v string) *MarkerRecordedEventAttributes

SetDetails sets the Details field's value.

func (*MarkerRecordedEventAttributes) SetMarkerName Uses

func (s *MarkerRecordedEventAttributes) SetMarkerName(v string) *MarkerRecordedEventAttributes

SetMarkerName sets the MarkerName field's value.

func (MarkerRecordedEventAttributes) String Uses

func (s MarkerRecordedEventAttributes) String() string

String returns the string representation

type PendingTaskCount Uses

type PendingTaskCount struct {

    // The number of tasks in the task list.
    //
    // Count is a required field
    Count *int64 `locationName:"count" type:"integer" required:"true"`

    // If set to true, indicates that the actual count was more than the maximum
    // supported by this API and the count returned is the truncated value.
    Truncated *bool `locationName:"truncated" type:"boolean"`
    // contains filtered or unexported fields
}

Contains the count of tasks in a task list.

func (PendingTaskCount) GoString Uses

func (s PendingTaskCount) GoString() string

GoString returns the string representation

func (*PendingTaskCount) SetCount Uses

func (s *PendingTaskCount) SetCount(v int64) *PendingTaskCount

SetCount sets the Count field's value.

func (*PendingTaskCount) SetTruncated Uses

func (s *PendingTaskCount) SetTruncated(v bool) *PendingTaskCount

SetTruncated sets the Truncated field's value.

func (PendingTaskCount) String Uses

func (s PendingTaskCount) String() string

String returns the string representation

type PollForActivityTaskInput Uses

type PollForActivityTaskInput struct {

    // The name of the domain that contains the task lists being polled.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // Identity of the worker making the request, recorded in the ActivityTaskStarted
    // event in the workflow history. This enables diagnostic tracing when problems
    // arise. The form of this identity is user defined.
    Identity *string `locationName:"identity" type:"string"`

    // Specifies the task list to poll for activity tasks.
    //
    // The specified string must not start or end with whitespace. It must not contain
    // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f
    // | \u007f-\u009f). Also, it must not be the literal string arn.
    //
    // TaskList is a required field
    TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (PollForActivityTaskInput) GoString Uses

func (s PollForActivityTaskInput) GoString() string

GoString returns the string representation

func (*PollForActivityTaskInput) SetDomain Uses

func (s *PollForActivityTaskInput) SetDomain(v string) *PollForActivityTaskInput

SetDomain sets the Domain field's value.

func (*PollForActivityTaskInput) SetIdentity Uses

func (s *PollForActivityTaskInput) SetIdentity(v string) *PollForActivityTaskInput

SetIdentity sets the Identity field's value.

func (*PollForActivityTaskInput) SetTaskList Uses

func (s *PollForActivityTaskInput) SetTaskList(v *TaskList) *PollForActivityTaskInput

SetTaskList sets the TaskList field's value.

func (PollForActivityTaskInput) String Uses

func (s PollForActivityTaskInput) String() string

String returns the string representation

func (*PollForActivityTaskInput) Validate Uses

func (s *PollForActivityTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PollForActivityTaskOutput Uses

type PollForActivityTaskOutput struct {

    // The unique ID of the task.
    //
    // ActivityId is a required field
    ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"`

    // The type of this activity task.
    //
    // ActivityType is a required field
    ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"`

    // The inputs provided when the activity task was scheduled. The form of the
    // input is user defined and should be meaningful to the activity implementation.
    Input *string `locationName:"input" type:"string"`

    // The ID of the ActivityTaskStarted event recorded in the history.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The opaque string used as a handle on the task. This token is used by workers
    // to communicate progress and response information back to the system about
    // the task.
    //
    // TaskToken is a required field
    TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"`

    // The workflow execution that started this activity task.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Unit of work sent to an activity worker.

func (PollForActivityTaskOutput) GoString Uses

func (s PollForActivityTaskOutput) GoString() string

GoString returns the string representation

func (*PollForActivityTaskOutput) SetActivityId Uses

func (s *PollForActivityTaskOutput) SetActivityId(v string) *PollForActivityTaskOutput

SetActivityId sets the ActivityId field's value.

func (*PollForActivityTaskOutput) SetActivityType Uses

func (s *PollForActivityTaskOutput) SetActivityType(v *ActivityType) *PollForActivityTaskOutput

SetActivityType sets the ActivityType field's value.

func (*PollForActivityTaskOutput) SetInput Uses

func (s *PollForActivityTaskOutput) SetInput(v string) *PollForActivityTaskOutput

SetInput sets the Input field's value.

func (*PollForActivityTaskOutput) SetStartedEventId Uses

func (s *PollForActivityTaskOutput) SetStartedEventId(v int64) *PollForActivityTaskOutput

SetStartedEventId sets the StartedEventId field's value.

func (*PollForActivityTaskOutput) SetTaskToken Uses

func (s *PollForActivityTaskOutput) SetTaskToken(v string) *PollForActivityTaskOutput

SetTaskToken sets the TaskToken field's value.

func (*PollForActivityTaskOutput) SetWorkflowExecution Uses

func (s *PollForActivityTaskOutput) SetWorkflowExecution(v *WorkflowExecution) *PollForActivityTaskOutput

SetWorkflowExecution sets the WorkflowExecution field's value.

func (PollForActivityTaskOutput) String Uses

func (s PollForActivityTaskOutput) String() string

String returns the string representation

type PollForDecisionTaskInput Uses

type PollForDecisionTaskInput struct {

    // The name of the domain containing the task lists to poll.
    //
    // Domain is a required field
    Domain *string `locationName:"domain" min:"1" type:"string" required:"true"`

    // 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.
    Identity *string `locationName:"identity" type:"string"`

    // The maximum number of results that are returned per call. Use nextPageToken
    // to obtain further pages of results.
    //
    // This is an upper limit only; the actual number of results returned per call
    // may be fewer than the specified maximum.
    MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"`

    // If NextPageToken is returned there are more results available. The value
    // of NextPageToken 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 60 seconds. Using
    // an expired pagination token will return a 400 error: "Specified token has
    // exceeded its maximum lifetime".
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    //
    // The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory
    // to get the next page. You must call PollForDecisionTask again (with the nextPageToken)
    // to retrieve the next page of history records. Calling PollForDecisionTask
    // with a nextPageToken doesn't return a new decision task.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // When set to true, returns the events in reverse order. By default the results
    // are returned in ascending order of the eventTimestamp of the events.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`

    // Specifies the task list to poll for decision tasks.
    //
    // The specified string must not start or end with whitespace. It must not contain
    // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f
    // | \u007f-\u009f). Also, it must not be the literal string arn.
    //
    // TaskList is a required field
    TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (PollForDecisionTaskInput) GoString Uses

func (s PollForDecisionTaskInput) GoString() string

GoString returns the string representation

func (*PollForDecisionTaskInput) SetDomain Uses

func (s *PollForDecisionTaskInput) SetDomain(v string) *PollForDecisionTaskInput

SetDomain sets the Domain field's value.

func (*PollForDecisionTaskInput) SetIdentity Uses

func (s *PollForDecisionTaskInput) SetIdentity(v string) *PollForDecisionTaskInput

SetIdentity sets the Identity field's value.

func (*PollForDecisionTaskInput) SetMaximumPageSize Uses

func (s *PollForDecisionTaskInput) SetMaximumPageSize(v int64) *PollForDecisionTaskInput

SetMaximumPageSize sets the MaximumPageSize field's value.

func (*PollForDecisionTaskInput) SetNextPageToken Uses

func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput

SetNextPageToken sets the NextPageToken field's value.

func (*PollForDecisionTaskInput) SetReverseOrder Uses

func (s *PollForDecisionTaskInput) SetReverseOrder(v bool) *PollForDecisionTaskInput

SetReverseOrder sets the ReverseOrder field's value.

func (*PollForDecisionTaskInput) SetTaskList Uses

func (s *PollForDecisionTaskInput) SetTaskList(v *TaskList) *PollForDecisionTaskInput

SetTaskList sets the TaskList field's value.

func (PollForDecisionTaskInput) String Uses

func (s PollForDecisionTaskInput) String() string

String returns the string representation

func (*PollForDecisionTaskInput) Validate Uses

func (s *PollForDecisionTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PollForDecisionTaskOutput Uses

type PollForDecisionTaskOutput struct {

    // A paginated list of history events of the workflow execution. The decider
    // uses this during the processing of the decision task.
    //
    // Events is a required field
    Events []*HistoryEvent `locationName:"events" type:"list" required:"true"`

    // If a NextPageToken was returned by a previous call, there are more results
    // available. To retrieve the next page of results, make the call again using
    // the returned token in nextPageToken. Keep all other arguments unchanged.
    //
    // The configured maximumPageSize determines how many results can be returned
    // in a single call.
    NextPageToken *string `locationName:"nextPageToken" type:"string"`

    // The ID of the DecisionTaskStarted event of the previous decision task of
    // this workflow execution that was processed by the decider. This can be used
    // to determine the events in the history new since the last decision task received
    // by the decider.
    PreviousStartedEventId *int64 `locationName:"previousStartedEventId" type:"long"`

    // The ID of the DecisionTaskStarted event recorded in the history.
    //
    // StartedEventId is a required field
    StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"`

    // The opaque string used as a handle on the task. This token is used by workers
    // to communicate progress and response information back to the system about
    // the task.
    //
    // TaskToken is a required field
    TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"`

    // The workflow execution for which this decision task was created.
    //
    // WorkflowExecution is a required field
    WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"`

    // The type of the workflow execution for which this decision task was created.
    //
    // WorkflowType is a required field
    WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

func (PollForDecisionTaskOutput) GoString Uses

func (s PollForDecisionTaskOutput) GoString() string

GoString returns the string representation

func (*PollForDecisionTaskOutput) SetEvents Uses

func (s *PollForDecisionTaskOutput) SetEvents(v []*HistoryEvent) *PollForDecisionTaskOutput

SetEvents sets the Events field's value.

func (*PollForDecisionTaskOutput) SetNextPageToken Uses

func (s *PollForDecisionTaskOutput) SetNextPageToken(v string) *PollForDecisionTaskOutput

SetNextPageToken sets the NextPageToken field's value.

func (*PollForDecisionTaskOutput) SetPreviousStartedEventId Uses

func (s *PollForDecisionTaskOutput) SetPreviousStartedEventId(v int64) *PollForDecisionTaskOutput

SetPreviousStartedEventId sets the PreviousStartedEventId field's value.

func (*PollForDecisionTaskOutput) SetStartedEventId Uses

func (s *PollForDecisionTaskOutput) SetStartedEventId(v int64) *PollForDecisionTaskOutput

SetStartedEventId sets the StartedEventId field's value.

func (*PollForDecisionTaskOutput) SetTaskToken Uses

func (s *PollForDecisionTaskOutput) SetTaskToken(v string) *PollForDecisionTaskOutput

SetTaskToken sets the TaskToken field's value.

func (*PollForDecisionTaskOutput) SetWorkflowExecution Uses

func (s *PollForDecisionTaskOutput) SetWorkflowExecution(v *WorkflowExecution) *PollForDecisionTaskOutput

SetWorkflowExecution sets the WorkflowExecution field's value.

func (*PollForDecisionTaskOutput) SetWorkflowType Uses

func (s *PollForDecisionTaskOutput) SetWorkflowType(v *WorkflowType) *PollForDecisionTaskOutput

SetWorkflowType sets the WorkflowType field's value.

func (PollForDecisionTaskOutput) String Uses

func (s PollForDecisionTaskOutput) String() string

String returns the string representation

type RecordActivityTaskHeartbeatInput Uses

type RecordActivityTaskHeartbeatInput struct {

    // If specified, contains details about the progress of the task.
    Details *string `locationName:"details" type:"string"`

    // The taskToken of the ActivityTask.
    //
    // taskToken is generated by the service and should be treated as an opaque
    // value. If the task is passed to another process, its taskToken must also
    // be passed. This enables it to provide its progress and respond with results.
    //
    // TaskToken is a required field
    TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (RecordActivityTaskHeartbeatInput) GoString Uses

func (s RecordActivityTaskHeartbeatInput) GoString() string

GoString returns the string representation

func (*RecordActivityTaskHeartbeatInput) SetDetails Uses

func (s *RecordActivityTaskHeartbeatInput) SetDetails(v string) *RecordActivityTaskHeartbeatInput

SetDetails sets the Details field's value.

func (*RecordActivityTaskHeartbeatInput) SetTaskToken Uses

func (s *RecordActivityTaskHeartbeatInput) SetTaskToken(v string) *RecordActivityTaskHeartbeatInput

SetTaskToken sets the TaskToken field's value.

func (RecordActivityTaskHeartbeatInput) String Uses

func (s RecordActivityTaskHeartbeatInput) String() string

String returns the string representation

func (*RecordActivityTaskHeartbeatInput) Validate Uses

func (s *RecordActivityTaskHeartbeatInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RecordActivityTaskHeartbeatOutput Uses

type RecordActivityTaskHeartbeatOutput struct {

    // Set to true if cancellation of the task is requested.
    //
    // CancelRequested is a required field
    CancelRequested *bool `locationName:"cancelRequested" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

Status information about an activity task.

func (RecordActivityTaskHeartbeatOutput) GoString Uses

func (s RecordActivityTaskHeartbeatOutput) GoString() string

GoString returns the string representation

func (*RecordActivityTaskHeartbeatOutput) SetCancelRequested Uses

func (s *RecordActivityTaskHeartbeatOutput) SetCancelRequested(v bool) *RecordActivityTaskHeartbeatOutput

SetCancelRequested sets the CancelRequested field's value.

func (RecordActivityTaskHeartbeatOutput) String Uses

func (s RecordActivityTaskHeartbeatOutput) String() string

String returns the string representation

type RecordMarkerDecisionAttributes Uses

type RecordMarkerDecisionAttributes struct {

    // The details of the marker.
    Details *string `locationName:"details" type:"string"`

    // The name of the marker.
    //
    // MarkerName is a required field
    MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the RecordMarker decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

* Use a Resource element with the domain name to limit the action to only
specified domains.

* Use an Action element to allow or deny permission to call this action.

* You cannot use an IAM policy to constrain this action's parameters.

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 cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

func (RecordMarkerDecisionAttributes) GoString Uses

func (s RecordMarkerDecisionAttributes) GoString() string

GoString returns the string representation

func (*RecordMarkerDecisionAttributes) SetDetails Uses

func (s *RecordMarkerDecisionAttributes) SetDetails(v string) *RecordMarkerDecisionAttributes

SetDetails sets the Details field's value.

func (*RecordMarkerDecisionAttributes) SetMarkerName Uses

func (s *RecordMarkerDecisionAttributes) SetMarkerName(v string) *RecordMarkerDecisionAttributes

SetMarkerName sets the MarkerName field's value.

func (RecordMarkerDecisionAttributes) String Uses

func (s RecordMarkerDecisionAttributes) String() string

String returns the string representation

func (*RecordMarkerDecisionAttributes) Validate Uses

func (s *RecordMarkerDecisionAttributes) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RecordMarkerFailedEventAttributes Uses

type RecordMarkerFailedEventAttributes struct {

    // The cause of the failure. This information is generated by the system and
    // can be useful for diagnostic purposes.
    //
    // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it
    // lacked sufficient permissions. For details and example IAM policies, see
    // Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
    // in the Amazon SWF Developer Guide.
    //
    // Cause is a required field
    Cause *string `locationName:"cause" type:"string" required:"true" enum:"RecordMarkerFailedCause"`

    // The ID of the DecisionTaskCompleted event corresponding to the decision task
    // that resulted in the RecordMarkerFailed 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.
    //
    // DecisionTaskCompletedEventId is a required field
    DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"`

    // The marker's name.
    //
    // MarkerName is a required field
    MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides the details of the RecordMarkerFailed event.

func (RecordMarkerFailedEventAttributes) GoString Uses

func (s RecordMarkerFailedEventAttributes) GoString() string

GoString returns the string representation

func (*RecordMarkerFailedEventAttributes) SetCause Uses

func (s *RecordMarkerFailedEventAttributes) SetCause(v string) *RecordMarkerFailedEventAttributes

SetCause sets the Cause field's value.

func (*RecordMarkerFailedEventAttributes) SetDecisionTaskCompletedEventId Uses

func (s *RecordMarkerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RecordMarkerFailedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

func (*RecordMarkerFailedEventAttributes)