Class AutomationExecutionMetadata
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>
Details about a specific Automation execution.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AlarmConfigurationThe details for the CloudWatch alarm applied to your automation.final StringThe ID of a State Manager association used in the Automation operation.final StringThe execution ID.The status of the execution.final StringThe status of the execution.final AutomationSubtypeThe subtype of the Automation operation.final StringThe subtype of the Automation operation.final AutomationTypeUse this filter with DescribeAutomationExecutions.final StringUse this filter with DescribeAutomationExecutions.builder()final StringThe name of the Change Manager change request.final StringThe action of the step that is currently running.final StringThe name of the step that is currently running.final StringThe name of the Automation runbook used during execution.final StringThe document version used during the execution.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe IAM role ARN of the user who ran the automation.final InstantThe time the execution finished.final InstantThe time the execution started.final StringThe list of execution outputs as defined in the Automation runbook.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the Outputs property.final booleanFor responses, this returns true if the service returned a value for the Runbooks property.final booleanFor responses, this returns true if the service returned a value for the TargetMaps property.final booleanFor responses, this returns true if the service returned a value for the Targets property.final booleanFor responses, this returns true if the service returned a value for the TriggeredAlarms property.final StringlogFile()An S3 bucket where execution information is stored.final StringTheMaxConcurrencyvalue specified by the user when starting the automation.final StringTheMaxErrorsvalue specified by the user when starting the automation.final ExecutionModemode()The Automation execution mode.final StringThe Automation execution mode.final StringThe ID of an OpsItem that is created to represent a Change Manager change request.outputs()The list of execution outputs as defined in the Automation runbook.final StringThe execution ID of the parent automation.final ResolvedTargetsA list of targets that resolved during the execution.runbooks()Information about the Automation runbooks that are run during a runbook workflow in Change Manager.final InstantThe date and time the Automation operation is scheduled to start.static Class<? extends AutomationExecutionMetadata.Builder> final Stringtarget()The list of execution outputs as defined in the Automation runbook.final StringA publicly accessible URL for a file that contains theTargetLocationsbody.The specified key-value mapping of document parameters to target resources.final StringThe list of execution outputs as defined in the Automation runbook.targets()The targets defined by the user when starting the automation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final List<AlarmStateInformation> The CloudWatch alarm that was invoked by the automation.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
automationExecutionId
-
documentName
The name of the Automation runbook used during execution.
- Returns:
- The name of the Automation runbook used during execution.
-
documentVersion
The document version used during the execution.
- Returns:
- The document version used during the execution.
-
automationExecutionStatus
The status of the execution.
If the service returns an enum value that is not available in the current SDK version,
automationExecutionStatuswill returnAutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautomationExecutionStatusAsString().- Returns:
- The status of the execution.
- See Also:
-
automationExecutionStatusAsString
The status of the execution.
If the service returns an enum value that is not available in the current SDK version,
automationExecutionStatuswill returnAutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautomationExecutionStatusAsString().- Returns:
- The status of the execution.
- See Also:
-
executionStartTime
The time the execution started.
- Returns:
- The time the execution started.
-
executionEndTime
The time the execution finished. This isn't populated if the execution is still in progress.
- Returns:
- The time the execution finished. This isn't populated if the execution is still in progress.
-
executedBy
The IAM role ARN of the user who ran the automation.
- Returns:
- The IAM role ARN of the user who ran the automation.
-
logFile
An S3 bucket where execution information is stored.
- Returns:
- An S3 bucket where execution information is stored.
-
hasOutputs
public final boolean hasOutputs()For responses, this returns true if the service returned a value for the Outputs property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
outputs
The list of execution outputs as defined in the Automation runbook.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOutputs()method.- Returns:
- The list of execution outputs as defined in the Automation runbook.
-
mode
The Automation execution mode.
If the service returns an enum value that is not available in the current SDK version,
modewill returnExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The Automation execution mode.
- See Also:
-
modeAsString
The Automation execution mode.
If the service returns an enum value that is not available in the current SDK version,
modewill returnExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The Automation execution mode.
- See Also:
-
parentAutomationExecutionId
The execution ID of the parent automation.
- Returns:
- The execution ID of the parent automation.
-
currentStepName
The name of the step that is currently running.
- Returns:
- The name of the step that is currently running.
-
currentAction
The action of the step that is currently running.
- Returns:
- The action of the step that is currently running.
-
failureMessage
The list of execution outputs as defined in the Automation runbook.
- Returns:
- The list of execution outputs as defined in the Automation runbook.
-
targetParameterName
The list of execution outputs as defined in the Automation runbook.
- Returns:
- The list of execution outputs as defined in the Automation runbook.
-
hasTargets
public final boolean hasTargets()For responses, this returns true if the service returned a value for the Targets property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTargets()method.- Returns:
- The targets defined by the user when starting the automation.
-
hasTargetMaps
public final boolean hasTargetMaps()For responses, this returns true if the service returned a value for the TargetMaps property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTargetMaps()method.- Returns:
- The specified key-value mapping of document parameters to target resources.
-
resolvedTargets
A list of targets that resolved during the execution.
- Returns:
- A list of targets that resolved during the execution.
-
maxConcurrency
The
MaxConcurrencyvalue specified by the user when starting the automation.- Returns:
- The
MaxConcurrencyvalue specified by the user when starting the automation.
-
maxErrors
The
MaxErrorsvalue specified by the user when starting the automation.- Returns:
- The
MaxErrorsvalue specified by the user when starting the automation.
-
target
The list of execution outputs as defined in the Automation runbook.
- Returns:
- The list of execution outputs as defined in the Automation runbook.
-
automationType
Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version,
automationTypewill returnAutomationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautomationTypeAsString().- Returns:
- Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
- See Also:
-
automationTypeAsString
Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version,
automationTypewill returnAutomationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautomationTypeAsString().- Returns:
- Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
- See Also:
-
alarmConfiguration
The details for the CloudWatch alarm applied to your automation.
- Returns:
- The details for the CloudWatch alarm applied to your automation.
-
hasTriggeredAlarms
public final boolean hasTriggeredAlarms()For responses, this returns true if the service returned a value for the TriggeredAlarms property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
triggeredAlarms
The CloudWatch alarm that was invoked by the automation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTriggeredAlarms()method.- Returns:
- The CloudWatch alarm that was invoked by the automation.
-
targetLocationsURL
A publicly accessible URL for a file that contains the
TargetLocationsbody. Currently, only files in presigned Amazon S3 buckets are supported- Returns:
- A publicly accessible URL for a file that contains the
TargetLocationsbody. Currently, only files in presigned Amazon S3 buckets are supported
-
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,
automationSubtypewill returnAutomationSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautomationSubtypeAsString().- Returns:
- The subtype of the Automation operation. Currently, the only supported value is
ChangeRequest. - See Also:
-
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,
automationSubtypewill returnAutomationSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautomationSubtypeAsString().- Returns:
- The subtype of the Automation operation. Currently, the only supported value is
ChangeRequest. - See Also:
-
scheduledTime
The date and time the Automation operation is scheduled to start.
- Returns:
- The date and time the Automation operation is scheduled to start.
-
hasRunbooks
public final boolean hasRunbooks()For responses, this returns true if the service returned a value for the Runbooks property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
runbooks
Information about the Automation runbooks 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.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRunbooks()method.- Returns:
- Information about the Automation runbooks 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.
-
opsItemId
The ID of an OpsItem that is created to represent a Change Manager change request.
- Returns:
- The ID of an OpsItem that is created to represent a Change Manager change request.
-
associationId
The ID of a State Manager association used in the Automation operation.
- Returns:
- The ID of a State Manager association used in the Automation operation.
-
changeRequestName
The name of the Change Manager change request.
- Returns:
- The name of the Change Manager change request.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-