Enum CurationProposalStatus

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

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

The review status of a curation proposal. Valid values:

  • PENDING_REVIEW - Waiting for a curator's decision. This is the initial status, and the only status that AcceptCurationProposal and RejectCurationProposal act on.

  • APPROVED - A curator accepted the proposal. Its change set is published or publishing.

  • REJECTED - The proposal was closed without applying its change set. A curator rejected it, or AWS Context rejected it when the review window of a policy that held it passed with no decision ( statusReasonCode REQUEST_EXPIRED). This status is final.

  • SUPERSEDED - A newer proposal for the same document replaced this one. This status is final.

  • PUBLISHING - The proposal was accepted, and AWS Context is publishing a change set that loads an ontology schema asynchronously. The status then changes to APPROVED or FAILED. A change set from an IMPORT_ONTOLOGY task publishes synchronously when accepted, so its proposal never has this status.

  • FAILED - The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again.

  • ARCHIVED - The connection that produced the proposal was removed from the agent context, and statusReason.code is CONNECTION_REMOVED. AWS Context moves a proposal from PENDING_REVIEW to ARCHIVED without any curator action. This status is final.

Accepting or rejecting a proposal that isn't PENDING_REVIEW fails with ConflictException, unless it's a retry with the same clientToken. AWS Context can add values to this set, so handle a status that you don't recognize.