The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::SimpleWorkflow::ActivityTaskScheduledEventAttributes

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ActivityTaskScheduledEventAttributes object:

  $service_obj->Method(Att1 => { ActivityId => $value, ..., TaskPriority => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ActivityTaskScheduledEventAttributes object:

  $result = $service_obj->Method(...);
  $result->Att1->ActivityId

DESCRIPTION

Provides the details of the ActivityTaskScheduled event.

ATTRIBUTES

REQUIRED ActivityId => Str

The unique ID of the activity task.

REQUIRED ActivityType => Paws::SimpleWorkflow::ActivityType

The type of the activity task.

Control => Str

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.

REQUIRED DecisionTaskCompletedEventId => Int

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.

HeartbeatTimeout => Str

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.

Input => Str

The input provided to the activity task.

ScheduleToCloseTimeout => Str

The maximum amount of time for this activity task.

ScheduleToStartTimeout => Str

The maximum amount of time the activity task can wait to be assigned to a worker.

StartToCloseTimeout => Str

The maximum amount of time a worker may take to process the activity task.

REQUIRED TaskList => Paws::SimpleWorkflow::TaskList

The task list in which the activity task has been scheduled.

TaskPriority => Str

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SimpleWorkflow

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues