Class: AWSCDK::BedrockAgentCore::GatewayExceptionLevel
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::BedrockAgentCore::GatewayExceptionLevel
- Defined in:
- bedrock_agent_core/gateway_exception_level.rb
Overview
Exception levels for gateway.
Class Method Summary collapse
-
.DEBUG ⇒ AWSCDK::BedrockAgentCore::GatewayExceptionLevel
Debug mode for granular exception messages.
- .jsii_overridable_methods ⇒ Object
-
.of(value) ⇒ AWSCDK::BedrockAgentCore::GatewayExceptionLevel
Use a custom exception level not yet defined in this class.
Instance Method Summary collapse
-
#initialize(*args) ⇒ GatewayExceptionLevel
constructor
A new instance of GatewayExceptionLevel.
-
#to_string ⇒ String
Returns the string value.
-
#value ⇒ String
The exception level string value.
Constructor Details
#initialize(*args) ⇒ GatewayExceptionLevel
Returns a new instance of GatewayExceptionLevel.
8 9 10 |
# File 'bedrock_agent_core/gateway_exception_level.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_bedrockagentcore.GatewayExceptionLevel does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.DEBUG ⇒ AWSCDK::BedrockAgentCore::GatewayExceptionLevel
Debug mode for granular exception messages.
Allows the return of specific error messages related to the gateway target configuration to help you with debugging.
35 36 37 |
# File 'bedrock_agent_core/gateway_exception_level.rb', line 35 def self.DEBUG() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.GatewayExceptionLevel", "DEBUG") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 17 |
# File 'bedrock_agent_core/gateway_exception_level.rb', line 12 def self.jsii_overridable_methods { :value => { kind: :property, name: "value", is_optional: false }, :to_string => { kind: :method, name: "toString", is_optional: false }, } end |
.of(value) ⇒ AWSCDK::BedrockAgentCore::GatewayExceptionLevel
Use a custom exception level not yet defined in this class.
23 24 25 26 |
# File 'bedrock_agent_core/gateway_exception_level.rb', line 23 def self.of(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_bedrockagentcore.GatewayExceptionLevel", "of", [value]) end |
Instance Method Details
#to_string ⇒ String
Returns the string value.
49 50 51 |
# File 'bedrock_agent_core/gateway_exception_level.rb', line 49 def to_string() jsii_call_method("toString", []) end |
#value ⇒ String
The exception level string value.
42 43 44 |
# File 'bedrock_agent_core/gateway_exception_level.rb', line 42 def value() jsii_get_property("value") end |