@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 |
associationId()
The ID of a State Manager association used in the Automation operation.
|
String |
automationExecutionId()
The execution ID.
|
AutomationExecutionStatus |
automationExecutionStatus()
The status of the execution.
|
String |
automationExecutionStatusAsString()
The status of the execution.
|
AutomationSubtype |
automationSubtype()
The subtype of the Automation operation.
|
String |
automationSubtypeAsString()
The subtype of the Automation operation.
|
AutomationType |
automationType()
Use this filter with DescribeAutomationExecutions.
|
String |
automationTypeAsString()
Use this filter with DescribeAutomationExecutions.
|
static AutomationExecutionMetadata.Builder |
builder() |
String |
changeRequestName()
The name of the Change Manager change request.
|
String |
currentAction()
The action of the step that is currently running.
|
String |
currentStepName()
The name of the step that is currently running.
|
String |
documentName()
The name of the Automation document used during execution.
|
String |
documentVersion()
The document version used during the execution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executedBy()
The IAM role ARN of the user who ran 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() |
boolean |
hasOutputs()
Returns true if the Outputs property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasRunbooks()
Returns true if the Runbooks property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTargetMaps()
Returns true if the TargetMaps property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTargets()
Returns true if the Targets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
logFile()
An 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.
|
String |
opsItemId()
The ID of an OpsItem that is created to represent a Change Manager change request.
|
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<Runbook> |
runbooks()
Information about the Automation runbooks (Automation documents) that are run during a runbook workflow in Change
Manager.
|
Instant |
scheduledTime()
The date and time the Automation operation is scheduled to start.
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String automationExecutionId()
The execution ID.
public final String documentName()
The name of the Automation document used during execution.
public final String documentVersion()
The document version used during the execution.
public final AutomationExecutionStatus automationExecutionStatus()
The status of the execution.
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 final String automationExecutionStatusAsString()
The status of the execution.
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 final Instant executionStartTime()
The time the execution started.
public final Instant executionEndTime()
The time the execution finished. This is not populated if the execution is still in progress.
public final String executedBy()
The IAM role ARN of the user who ran the Automation.
public final String logFile()
An S3 bucket where execution information is stored.
public final boolean hasOutputs()
public final 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.
You can use hasOutputs()
to see if a value was sent in this field.
public final 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 final 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 final String parentAutomationExecutionId()
The ExecutionId of the parent Automation.
public final String currentStepName()
The name of the step that is currently running.
public final String currentAction()
The action of the step that is currently running.
public final String failureMessage()
The list of execution outputs as defined in the Automation document.
public final String targetParameterName()
The list of execution outputs as defined in the Automation document.
public final boolean hasTargets()
public final 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.
You can use hasTargets()
to see if a value was sent in this field.
public final boolean hasTargetMaps()
public final 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.
You can use hasTargetMaps()
to see if a value was sent in this field.
public final ResolvedTargets resolvedTargets()
A list of targets that resolved during the execution.
public final String maxConcurrency()
The MaxConcurrency value specified by the user when starting the Automation.
public final String maxErrors()
The MaxErrors value specified by the user when starting the Automation.
public final String target()
The list of execution outputs as defined in the Automation document.
public final AutomationType automationType()
Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple AWS Regions and accounts. For more information, see Running Automation workflows 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 final String automationTypeAsString()
Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple AWS Regions and accounts. For more information, see Running Automation workflows 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 final AutomationSubtype automationSubtype()
The subtype of the Automation operation. Currently, the only supported value is ChangeRequest
.
If the service returns an enum value that is not available in the current SDK version, automationSubtype
will return AutomationSubtype.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from automationSubtypeAsString()
.
ChangeRequest
.AutomationSubtype
public final String automationSubtypeAsString()
The subtype of the Automation operation. Currently, the only supported value is ChangeRequest
.
If the service returns an enum value that is not available in the current SDK version, automationSubtype
will return AutomationSubtype.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from automationSubtypeAsString()
.
ChangeRequest
.AutomationSubtype
public final Instant scheduledTime()
The date and time the Automation operation is scheduled to start.
public final boolean hasRunbooks()
public final List<Runbook> runbooks()
Information about the Automation runbooks (Automation documents) that are run during a runbook workflow in Change Manager.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRunbooks()
to see if a value was sent in this field.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
public final String opsItemId()
The ID of an OpsItem that is created to represent a Change Manager change request.
public final String associationId()
The ID of a State Manager association used in the Automation operation.
public final String changeRequestName()
The name of the Change Manager change request.
public AutomationExecutionMetadata.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>
public static AutomationExecutionMetadata.Builder builder()
public static Class<? extends AutomationExecutionMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.