Enum ChangeSetStatus

java.lang.Object
java.lang.Enum<ChangeSetStatus>
software.amazon.awssdk.services.context.model.ChangeSetStatus
All Implemented Interfaces:
Serializable, Comparable<ChangeSetStatus>

@Generated("software.amazon.awssdk:codegen") public enum ChangeSetStatus extends Enum<ChangeSetStatus>

The lifecycle status of a change set. Valid values:

  • DRAFT - AWS Context is evaluating the change set against the agent context's curation policies. It moves to SUPPRESSED if a policy denies it, to PENDING if a policy holds it for review, or to AUTHORIZED if the policies permit it.

  • PENDING - Held for review as a curation proposal. It moves to AUTHORIZED or SUPPRESSED when the proposal is decided, or to FAILED if applying the accepted change set fails. While the change set is PENDING, you can remove operations from it with UpdateChangeSet.

  • AUTHORIZED - The change set is approved, and AWS Context is applying it. It moves to PUBLISHED or FAILED, or back to PENDING if it must be reviewed again.

  • SUPPRESSED - AWS Context won't apply the change set. This status is final.

  • PUBLISHED - AWS Context applied the change set. This status is final.

  • FAILED - AWS Context couldn't apply the change set. If AWS Context retries the apply, the status can change to PUBLISHED or PENDING.

changeSetVersion increases on each edit and each status change.

  • Enum Constant Details

  • Method Details

    • values

      public static ChangeSetStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ChangeSetStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ChangeSetStatus>
    • fromValue

      public static ChangeSetStatus fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      ChangeSetStatus corresponding to the value
    • knownValues

      public static Set<ChangeSetStatus> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known ChangeSetStatuss