amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.Types.StepExecution

Description

 
Synopsis

Documentation

data StepExecution Source #

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

See: newStepExecution smart constructor.

Constructors

StepExecution' 

Fields

Instances

Instances details
FromJSON StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

Generic StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

Associated Types

type Rep StepExecution :: Type -> Type #

Read StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

Show StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

NFData StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

Methods

rnf :: StepExecution -> () #

Eq StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

Hashable StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

type Rep StepExecution Source # 
Instance details

Defined in Amazonka.SSM.Types.StepExecution

type Rep StepExecution = D1 ('MetaData "StepExecution" "Amazonka.SSM.Types.StepExecution" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "StepExecution'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "executionEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "executionStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "failureDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FailureDetails)) :*: S1 ('MetaSel ('Just "failureMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "inputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "isCritical") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "maxAttempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "onFailure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: (S1 ('MetaSel ('Just "overriddenParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "responseCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stepExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stepName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "stepStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutomationExecutionStatus)) :*: (S1 ('MetaSel ('Just "targetLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetLocation)) :*: S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Target])))) :*: (S1 ('MetaSel ('Just "timeoutSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "triggeredAlarms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty AlarmStateInformation))) :*: S1 ('MetaSel ('Just "validNextSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))))

newStepExecution :: StepExecution Source #

Create a value of StepExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:action:StepExecution', stepExecution_action - The action this step performs. The action determines the behavior of the step.

$sel:executionEndTime:StepExecution', stepExecution_executionEndTime - If a step has finished execution, this contains the time the execution ended. If the step hasn't yet concluded, this field isn't populated.

$sel:executionStartTime:StepExecution', stepExecution_executionStartTime - If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field isn't populated.

$sel:failureDetails:StepExecution', stepExecution_failureDetails - Information about the Automation failure.

$sel:failureMessage:StepExecution', stepExecution_failureMessage - If a step failed, this message explains why the execution failed.

$sel:inputs:StepExecution', stepExecution_inputs - Fully-resolved values passed into the step before execution.

$sel:isCritical:StepExecution', stepExecution_isCritical - The flag which can be used to help decide whether the failure of current step leads to the Automation failure.

$sel:isEnd:StepExecution', stepExecution_isEnd - The flag which can be used to end automation no matter whether the step succeeds or fails.

$sel:maxAttempts:StepExecution', stepExecution_maxAttempts - The maximum number of tries to run the action of the step. The default value is 1.

$sel:nextStep:StepExecution', stepExecution_nextStep - The next step after the step succeeds.

$sel:onFailure:StepExecution', stepExecution_onFailure - The action to take if the step fails. The default value is Abort.

$sel:outputs:StepExecution', stepExecution_outputs - Returned values from the execution of the step.

$sel:overriddenParameters:StepExecution', stepExecution_overriddenParameters - A user-specified list of parameters to override when running a step.

$sel:response:StepExecution', stepExecution_response - A message associated with the response code for an execution.

$sel:responseCode:StepExecution', stepExecution_responseCode - The response code returned by the execution of the step.

$sel:stepExecutionId:StepExecution', stepExecution_stepExecutionId - The unique ID of a step execution.

$sel:stepName:StepExecution', stepExecution_stepName - The name of this execution step.

$sel:stepStatus:StepExecution', stepExecution_stepStatus - The execution status for this step.

$sel:targetLocation:StepExecution', stepExecution_targetLocation - The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.

$sel:targets:StepExecution', stepExecution_targets - The targets for the step execution.

$sel:timeoutSeconds:StepExecution', stepExecution_timeoutSeconds - The timeout seconds of the step.

$sel:triggeredAlarms:StepExecution', stepExecution_triggeredAlarms - The CloudWatch alarms that were invoked by the automation.

$sel:validNextSteps:StepExecution', stepExecution_validNextSteps - 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.

stepExecution_action :: Lens' StepExecution (Maybe Text) Source #

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

stepExecution_executionEndTime :: Lens' StepExecution (Maybe UTCTime) Source #

If a step has finished execution, this contains the time the execution ended. If the step hasn't yet concluded, this field isn't populated.

stepExecution_executionStartTime :: Lens' StepExecution (Maybe UTCTime) Source #

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

stepExecution_failureDetails :: Lens' StepExecution (Maybe FailureDetails) Source #

Information about the Automation failure.

stepExecution_failureMessage :: Lens' StepExecution (Maybe Text) Source #

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

stepExecution_inputs :: Lens' StepExecution (Maybe (HashMap Text Text)) Source #

Fully-resolved values passed into the step before execution.

stepExecution_isCritical :: Lens' StepExecution (Maybe Bool) Source #

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

stepExecution_isEnd :: Lens' StepExecution (Maybe Bool) Source #

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

stepExecution_maxAttempts :: Lens' StepExecution (Maybe Int) Source #

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

stepExecution_nextStep :: Lens' StepExecution (Maybe Text) Source #

The next step after the step succeeds.

stepExecution_onFailure :: Lens' StepExecution (Maybe Text) Source #

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

stepExecution_outputs :: Lens' StepExecution (Maybe (HashMap Text [Text])) Source #

Returned values from the execution of the step.

stepExecution_overriddenParameters :: Lens' StepExecution (Maybe (HashMap Text [Text])) Source #

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

stepExecution_response :: Lens' StepExecution (Maybe Text) Source #

A message associated with the response code for an execution.

stepExecution_responseCode :: Lens' StepExecution (Maybe Text) Source #

The response code returned by the execution of the step.

stepExecution_stepExecutionId :: Lens' StepExecution (Maybe Text) Source #

The unique ID of a step execution.

stepExecution_stepName :: Lens' StepExecution (Maybe Text) Source #

The name of this execution step.

stepExecution_targetLocation :: Lens' StepExecution (Maybe TargetLocation) Source #

The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.

stepExecution_targets :: Lens' StepExecution (Maybe [Target]) Source #

The targets for the step execution.

stepExecution_triggeredAlarms :: Lens' StepExecution (Maybe (NonEmpty AlarmStateInformation)) Source #

The CloudWatch alarms that were invoked by the automation.

stepExecution_validNextSteps :: Lens' StepExecution (Maybe [Text]) Source #

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.