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.crEnum Members
-
Http =
0 -
Aws =
1 -
Mock =
2 -
HttpProxy =
3 -
AwsProxy =
4
Class Method Summary
- .from_json(pull : JSON::PullParser) : AAG::IntegrationType
- .from_json_object_key?(key : String) : AAG::IntegrationType | Nil
- .to_json(e : IntegrationType, json : JSON::Builder) : Nil
Instance Method Summary
-
#aws?
Returns
trueif this enum value equalsAws -
#aws_proxy?
Returns
trueif this enum value equalsAwsProxy -
#http?
Returns
trueif this enum value equalsHttp -
#http_proxy?
Returns
trueif this enum value equalsHttpProxy -
#mock?
Returns
trueif this enum value equalsMock - #to_json_object_key : String