Class: AWSCDK::BedrockAgentCore::APIGatewayHttpMethod

Inherits:
Jsii::Object
  • Object
show all
Defined in:
bedrock_agent_core/api_gateway_http_method.rb

Overview

HTTP methods supported by API Gateway.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ APIGatewayHttpMethod

Returns a new instance of APIGatewayHttpMethod.

Raises:

  • (NoMethodError)


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

.DELETEAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

DELETE method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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

.GETAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

GET method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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

.HEADAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

HEAD method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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_methodsObject



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.

Parameters:

  • value (String)

    The HTTP method string value.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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

.OPTIONSAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

OPTIONS method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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

.PATCHAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

PATCH method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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

.POSTAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

POST method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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

.PUTAWSCDK::BedrockAgentCore::APIGatewayHttpMethod

PUT method.

Returns:

  • (AWSCDK::BedrockAgentCore::APIGatewayHttpMethod)


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_stringString

Returns the string value.

Returns:

  • (String)


87
88
89
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 87

def to_string()
  jsii_call_method("toString", [])
end

#valueString

The HTTP method string value.

Returns:

  • (String)


80
81
82
# File 'bedrock_agent_core/api_gateway_http_method.rb', line 80

def value()
  jsii_get_property("value")
end