Enum InterceptionPoint
java.lang.Object
java.lang.Enum<InterceptionPoint>
software.amazon.awscdk.services.bedrockagentcore.InterceptionPoint
- All Implemented Interfaces:
Serializable,Comparable<InterceptionPoint>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.451Z")
@Stability(Stable)
public enum InterceptionPoint
extends Enum<InterceptionPoint>
The interception point where the interceptor will be invoked.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExecute before the gateway makes a call to the target Useful for request validation, transformation, or custom authorization.Execute after the target responds but before the gateway sends the response back Useful for response transformation, filtering, or adding custom headers. -
Method Summary
Modifier and TypeMethodDescriptionstatic InterceptionPointReturns the enum constant of this type with the specified name.static InterceptionPoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REQUEST
Execute before the gateway makes a call to the target Useful for request validation, transformation, or custom authorization. -
RESPONSE
Execute after the target responds but before the gateway sends the response back Useful for response transformation, filtering, or adding custom headers.
-
-
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
-