Class ActionExecution

    • Method Detail

      • actionExecutionId

        public final String actionExecutionId()

        ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.

        For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.

        Returns:
        ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.

        For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.

      • statusAsString

        public final String statusAsString()

        The status of the action, or for a completed action, the last status of the action.

        If the service returns an enum value that is not available in the current SDK version, status will return ActionExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the action, or for a completed action, the last status of the action.
        See Also:
        ActionExecutionStatus
      • summary

        public final String summary()

        A summary of the run of the action.

        Returns:
        A summary of the run of the action.
      • lastStatusChange

        public final Instant lastStatusChange()

        The last status change of the action.

        Returns:
        The last status change of the action.
      • token

        public final String token()

        The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command. It is used to validate that the approval request corresponding to this token is still valid.

        Returns:
        The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command. It is used to validate that the approval request corresponding to this token is still valid.
      • lastUpdatedBy

        public final String lastUpdatedBy()

        The ARN of the user who last changed the pipeline.

        Returns:
        The ARN of the user who last changed the pipeline.
      • externalExecutionId

        public final String externalExecutionId()

        The external ID of the run of the action.

        Returns:
        The external ID of the run of the action.
      • externalExecutionUrl

        public final String externalExecutionUrl()

        The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).

        Returns:
        The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
      • percentComplete

        public final Integer percentComplete()

        A percentage of completeness of the action as it runs.

        Returns:
        A percentage of completeness of the action as it runs.
      • errorDetails

        public final ErrorDetails errorDetails()

        The details of an error returned by a URL external to Amazon Web Services.

        Returns:
        The details of an error returned by a URL external to Amazon Web Services.
      • logStreamARN

        public final String logStreamARN()

        The Amazon Resource Name (ARN) of the log stream for the action compute.

        Returns:
        The Amazon Resource Name (ARN) of the log stream for the action compute.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)