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::SSM::StepExecution

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::SSM::StepExecution object:

  $service_obj->Method(Att1 => { Action => $value, ..., ValidNextSteps => $value  });

Results returned from an API call

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

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

DESCRIPTION

Detailed information about an the execution state of an Automation step.

ATTRIBUTES

Action => Str

The action this step performs. The action determines the behavior of the step.

ExecutionEndTime => Str

If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated.

ExecutionStartTime => Str

If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated.

FailureDetails => Paws::SSM::FailureDetails

Information about the Automation failure.

FailureMessage => Str

If a step failed, this message explains why the execution failed.

Inputs => Paws::SSM::NormalStringMap

Fully-resolved values passed into the step before execution.

IsCritical => Bool

The flag which can be used to help decide whether the failure of current step leads to the Automation failure.

IsEnd => Bool

The flag which can be used to end automation no matter whether the step succeeds or fails.

MaxAttempts => Int

The maximum number of tries to run the action of the step. The default value is 1.

NextStep => Str

The next step after the step succeeds.

OnFailure => Str

The action to take if the step fails. The default value is Abort.

Outputs => Paws::SSM::AutomationParameterMap

Returned values from the execution of the step.

OverriddenParameters => Paws::SSM::AutomationParameterMap

A user-specified list of parameters to override when running a step.

Response => Str

A message associated with the response code for an execution.

ResponseCode => Str

The response code returned by the execution of the step.

StepExecutionId => Str

The unique ID of a step execution.

StepName => Str

The name of this execution step.

StepStatus => Str

The execution status for this step.

TargetLocation => Paws::SSM::TargetLocation

The combination of AWS Regions and accounts targeted by the current Automation execution.

Targets => ArrayRef[Paws::SSM::Target]

The targets for the step execution.

TimeoutSeconds => Int

The timeout seconds of the step.

ValidNextSteps => ArrayRef[Str|Undef]

Strategies used when step fails, we support Continue and Abort. Abort will fail the automation when the step fails. Continue will ignore the failure of current step and allow automation to run the next step. With conditional branching, we add step:stepName to support the automation to go to another specific step.

SEE ALSO

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

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