@Generated(value="software.amazon.awssdk:codegen") public final class AutomationExecutionMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>
Details about a specific Automation execution.
Modifier and Type | Class and Description |
---|---|
static interface |
AutomationExecutionMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
String |
automationExecutionId()
The execution ID.
|
AutomationExecutionStatus |
automationExecutionStatus()
The status of the execution.
|
String |
automationExecutionStatusAsString()
The status of the execution.
|
AutomationType |
automationType()
Use this filter with DescribeAutomationExecution.
|
String |
automationTypeAsString()
Use this filter with DescribeAutomationExecution.
|
static AutomationExecutionMetadata.Builder |
builder() |
String |
currentAction()
The action of the currently executing step.
|
String |
currentStepName()
The name of the currently executing step.
|
String |
documentName()
The name of the Automation document used during execution.
|
String |
documentVersion()
The document version used during the execution.
|
boolean |
equals(Object obj) |
String |
executedBy()
The IAM role ARN of the user who executed the Automation.
|
Instant |
executionEndTime()
The time the execution finished.
|
Instant |
executionStartTime()
The time the execution started.>
|
String |
failureMessage()
The list of execution outputs as defined in the Automation document.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logFile()
An Amazon S3 bucket where execution information is stored.
|
String |
maxConcurrency()
The MaxConcurrency value specified by the user when starting the Automation.
|
String |
maxErrors()
The MaxErrors value specified by the user when starting the Automation.
|
ExecutionMode |
mode()
The Automation execution mode.
|
String |
modeAsString()
The Automation execution mode.
|
Map<String,List<String>> |
outputs()
The list of execution outputs as defined in the Automation document.
|
String |
parentAutomationExecutionId()
The ExecutionId of the parent Automation.
|
ResolvedTargets |
resolvedTargets()
A list of targets that resolved during the execution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutomationExecutionMetadata.Builder> |
serializableBuilderClass() |
String |
target()
The list of execution outputs as defined in the Automation document.
|
List<Map<String,List<String>>> |
targetMaps()
The specified key-value mapping of document parameters to target resources.
|
String |
targetParameterName()
The list of execution outputs as defined in the Automation document.
|
List<Target> |
targets()
The targets defined by the user when starting the Automation.
|
AutomationExecutionMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String automationExecutionId()
The execution ID.
public String documentName()
The name of the Automation document used during execution.
public String documentVersion()
The document version used during the execution.
public AutomationExecutionStatus automationExecutionStatus()
The status of the execution. Valid values include: Running, Succeeded, Failed, Timed out, or Cancelled.
If the service returns an enum value that is not available in the current SDK version,
automationExecutionStatus
will return AutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from automationExecutionStatusAsString()
.
AutomationExecutionStatus
public String automationExecutionStatusAsString()
The status of the execution. Valid values include: Running, Succeeded, Failed, Timed out, or Cancelled.
If the service returns an enum value that is not available in the current SDK version,
automationExecutionStatus
will return AutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from automationExecutionStatusAsString()
.
AutomationExecutionStatus
public Instant executionStartTime()
The time the execution started.>
public Instant executionEndTime()
The time the execution finished. This is not populated if the execution is still in progress.
public String executedBy()
The IAM role ARN of the user who executed the Automation.
public String logFile()
An Amazon S3 bucket where execution information is stored.
public Map<String,List<String>> outputs()
The list of execution outputs as defined in the Automation document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ExecutionMode mode()
The Automation execution mode.
If the service returns an enum value that is not available in the current SDK version, mode
will return
ExecutionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
modeAsString()
.
ExecutionMode
public String modeAsString()
The Automation execution mode.
If the service returns an enum value that is not available in the current SDK version, mode
will return
ExecutionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
modeAsString()
.
ExecutionMode
public String parentAutomationExecutionId()
The ExecutionId of the parent Automation.
public String currentStepName()
The name of the currently executing step.
public String currentAction()
The action of the currently executing step.
public String failureMessage()
The list of execution outputs as defined in the Automation document.
public String targetParameterName()
The list of execution outputs as defined in the Automation document.
public List<Target> targets()
The targets defined by the user when starting the Automation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Map<String,List<String>>> targetMaps()
The specified key-value mapping of document parameters to target resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResolvedTargets resolvedTargets()
A list of targets that resolved during the execution.
public String maxConcurrency()
The MaxConcurrency value specified by the user when starting the Automation.
public String maxErrors()
The MaxErrors value specified by the user when starting the Automation.
public String target()
The list of execution outputs as defined in the Automation document.
public AutomationType automationType()
Use this filter with DescribeAutomationExecution. Specify either Local of CrossAccount. CrossAccount is an Automation that executes in multiple AWS Regions and accounts. For more information, see Concurrently Executing Automations in Multiple AWS Regions and Accounts in the AWS Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version, automationType
will return AutomationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from automationTypeAsString()
.
AutomationType
public String automationTypeAsString()
Use this filter with DescribeAutomationExecution. Specify either Local of CrossAccount. CrossAccount is an Automation that executes in multiple AWS Regions and accounts. For more information, see Concurrently Executing Automations in Multiple AWS Regions and Accounts in the AWS Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version, automationType
will return AutomationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from automationTypeAsString()
.
AutomationType
public AutomationExecutionMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>
public static AutomationExecutionMetadata.Builder builder()
public static Class<? extends AutomationExecutionMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.