Class: AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
- Defined in:
- bedrock_agent_core/api_gateway_http_method.rb
Overview
HTTP methods supported by API Gateway.
Class Method Summary collapse
-
.DELETE ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
DELETE method.
-
.GET ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
GET method.
-
.HEAD ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
HEAD method.
- .jsii_overridable_methods ⇒ Object
-
.of(value) ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
Use a custom HTTP method not yet defined in this class.
-
.OPTIONS ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
OPTIONS method.
-
.PATCH ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
PATCH method.
-
.POST ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
POST method.
-
.PUT ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
PUT method.
Instance Method Summary collapse
-
#initialize(*args) ⇒ APIGatewayHttpMethod
constructor
A new instance of APIGatewayHttpMethod.
-
#to_string ⇒ String
Returns the string value.
-
#value ⇒ String
The HTTP method string value.
Constructor Details
#initialize(*args) ⇒ APIGatewayHttpMethod
Returns a new instance of APIGatewayHttpMethod.
8 9 10 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.DELETE ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
DELETE method.
31 32 33 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 31 def self.DELETE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "DELETE") end |
.GET ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
GET method.
38 39 40 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 38 def self.GET() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "GET") end |
.HEAD ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
HEAD method.
45 46 47 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 45 def self.HEAD() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "HEAD") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 17 |
# File 'bedrock_agent_core/api_gateway_http_method.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::APIGatewayHttpMethod
Use a custom HTTP method not yet defined in this class.
23 24 25 26 |
# File 'bedrock_agent_core/api_gateway_http_method.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.ApiGatewayHttpMethod", "of", [value]) end |
.OPTIONS ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
OPTIONS method.
52 53 54 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 52 def self.OPTIONS() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "OPTIONS") end |
.PATCH ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
PATCH method.
59 60 61 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 59 def self.PATCH() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "PATCH") end |
.POST ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
POST method.
66 67 68 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 66 def self.POST() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "POST") end |
.PUT ⇒ AWSCDK::BedrockAgentCore::APIGatewayHttpMethod
PUT method.
73 74 75 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 73 def self.PUT() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ApiGatewayHttpMethod", "PUT") end |
Instance Method Details
#to_string ⇒ String
Returns the string value.
87 88 89 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 87 def to_string() jsii_call_method("toString", []) end |
#value ⇒ String
The HTTP method string value.
80 81 82 |
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 80 def value() jsii_get_property("value") end |