enum Amazonite::ApiGateway::IntegrationType

Overview

The integration type. The valid value is HTTP for integrating an API method with an HTTP backend; AWS with any Amazon Web Services service endpoints; MOCK for testing without actually invoking the backend; HTTP_PROXY for integrating with the HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration.

Defined in:

api_gateway/integration_type.cr

Enum Members

Http = 0
Aws = 1
Mock = 2
HttpProxy = 3
AwsProxy = 4

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_json(pull : JSON::PullParser) : AAG::IntegrationType #

[View source]
def self.from_json_object_key?(key : String) : AAG::IntegrationType | Nil #

[View source]
def self.to_json(e : IntegrationType, json : JSON::Builder) : Nil #

[View source]

Instance Method Detail

def aws? #

Returns true if this enum value equals Aws


[View source]
def aws_proxy? #

Returns true if this enum value equals AwsProxy


[View source]
def http? #

Returns true if this enum value equals Http


[View source]
def http_proxy? #

Returns true if this enum value equals HttpProxy


[View source]
def mock? #

Returns true if this enum value equals Mock


[View source]
def to_json_object_key : String #

[View source]