Enum InsightsFailureCategory
java.lang.Object
java.lang.Enum<InsightsFailureCategory>
software.amazon.awssdk.services.bedrockagentcore.model.InsightsFailureCategory
- All Implemented Interfaces:
Serializable,Comparable<InsightsFailureCategory>
@Generated("software.amazon.awssdk:codegen")
public enum InsightsFailureCategory
extends Enum<InsightsFailureCategory>
Failure category taxonomy for agent session insights. Values must stay in sync with the category registry in AgentCoreLens (amzn_agentcore_lens.config.failure_detection.FAILURE_CATEGORIES).
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic InsightsFailureCategoryUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<InsightsFailureCategory>toString()static InsightsFailureCategoryReturns the enum constant of this type with the specified name.static InsightsFailureCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXECUTION_ERROR_CATEGORY_AUTHENTICATION
-
EXECUTION_ERROR_CATEGORY_RESOURCE_NOT_FOUND
-
EXECUTION_ERROR_CATEGORY_SERVICE_ERRORS
-
EXECUTION_ERROR_CATEGORY_RATE_LIMITING
-
EXECUTION_ERROR_CATEGORY_FORMATTING
-
EXECUTION_ERROR_CATEGORY_TIMEOUT
-
EXECUTION_ERROR_CATEGORY_RESOURCE_EXHAUSTION
-
EXECUTION_ERROR_CATEGORY_ENVIRONMENT
-
EXECUTION_ERROR_CATEGORY_TOOL_SCHEMA
-
TASK_INSTRUCTION_CATEGORY_NON_COMPLIANCE
-
TASK_INSTRUCTION_CATEGORY_PROBLEM_ID
-
INCORRECT_ACTIONS_CATEGORY_TOOL_SELECTION
-
INCORRECT_ACTIONS_CATEGORY_POOR_INFORMATION_RETRIEVAL
-
INCORRECT_ACTIONS_CATEGORY_CLARIFICATION
-
INCORRECT_ACTIONS_CATEGORY_INAPPROPRIATE_INFO_REQUEST
-
CONTEXT_HANDLING_ERROR_CATEGORY_CONTEXT_HANDLING_FAILURES
public static final InsightsFailureCategory CONTEXT_HANDLING_ERROR_CATEGORY_CONTEXT_HANDLING_FAILURES -
HALLUCINATION_CATEGORY_HALL_CAPABILITIES
-
HALLUCINATION_CATEGORY_HALL_MISUNDERSTAND
-
HALLUCINATION_CATEGORY_HALL_USAGE
-
HALLUCINATION_CATEGORY_HALL_HISTORY
-
HALLUCINATION_CATEGORY_HALL_PARAMS
-
HALLUCINATION_CATEGORY_FABRICATE_TOOL_OUTPUTS
-
REPETITIVE_BEHAVIOR_CATEGORY_REPETITION_TOOL
-
REPETITIVE_BEHAVIOR_CATEGORY_REPETITION_INFO
-
REPETITIVE_BEHAVIOR_CATEGORY_STEP_REPETITION
-
ORCHESTRATION_RELATED_ERRORS_CATEGORY_REASONING_MISMATCH
public static final InsightsFailureCategory ORCHESTRATION_RELATED_ERRORS_CATEGORY_REASONING_MISMATCH -
ORCHESTRATION_RELATED_ERRORS_CATEGORY_GOAL_DEVIATION
-
ORCHESTRATION_RELATED_ERRORS_CATEGORY_PREMATURE_TERMINATION
public static final InsightsFailureCategory ORCHESTRATION_RELATED_ERRORS_CATEGORY_PREMATURE_TERMINATION -
ORCHESTRATION_RELATED_ERRORS_CATEGORY_UNAWARE_TERMINATION
public static final InsightsFailureCategory ORCHESTRATION_RELATED_ERRORS_CATEGORY_UNAWARE_TERMINATION -
LLM_OUTPUT_CATEGORY_NONSENSICAL
-
CONFIGURATION_MISMATCH_CATEGORY_TOOL_DEFINITION
-
CODING_USE_CASE_SPECIFIC_FAILURE_TYPES_CATEGORY_EDGE_CASE_OVERSIGHTS
public static final InsightsFailureCategory CODING_USE_CASE_SPECIFIC_FAILURE_TYPES_CATEGORY_EDGE_CASE_OVERSIGHTS -
CODING_USE_CASE_SPECIFIC_FAILURE_TYPES_CATEGORY_DEPENDENCY_ISSUES
public static final InsightsFailureCategory CODING_USE_CASE_SPECIFIC_FAILURE_TYPES_CATEGORY_DEPENDENCY_ISSUES -
OTHER
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<InsightsFailureCategory>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- InsightsFailureCategory corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownInsightsFailureCategorys
-