public static enum Config.InvocationMode extends Enum<Config.InvocationMode> implements com.google.protobuf.ProtocolMessageEnum
envoy.extensions.filters.http.aws_lambda.v3.Config.InvocationMode| Enum Constant and Description |
|---|
ASYNCHRONOUS
In this mode Lambda responds immediately but continues to process the function asynchronously.
|
SYNCHRONOUS
This is the more common mode of invocation, in which Lambda responds after it has completed the function.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASYNCHRONOUS_VALUE
In this mode Lambda responds immediately but continues to process the function asynchronously.
|
static int |
SYNCHRONOUS_VALUE
This is the more common mode of invocation, in which Lambda responds after it has completed the function.
|
| Modifier and Type | Method and Description |
|---|---|
static Config.InvocationMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Config.InvocationMode> |
internalGetValueMap() |
static Config.InvocationMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Config.InvocationMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Config.InvocationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.InvocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.InvocationMode SYNCHRONOUS
This is the more common mode of invocation, in which Lambda responds after it has completed the function. In this mode the output of the Lambda function becomes the response of the HTTP request.
SYNCHRONOUS = 0;public static final Config.InvocationMode ASYNCHRONOUS
In this mode Lambda responds immediately but continues to process the function asynchronously. This mode can be used to signal events for example. In this mode, Lambda responds with an acknowledgment that it received the call which is translated to an HTTP 200 OK by the filter.
ASYNCHRONOUS = 1;public static final Config.InvocationMode UNRECOGNIZED
public static final int SYNCHRONOUS_VALUE
This is the more common mode of invocation, in which Lambda responds after it has completed the function. In this mode the output of the Lambda function becomes the response of the HTTP request.
SYNCHRONOUS = 0;public static final int ASYNCHRONOUS_VALUE
In this mode Lambda responds immediately but continues to process the function asynchronously. This mode can be used to signal events for example. In this mode, Lambda responds with an acknowledgment that it received the call which is translated to an HTTP 200 OK by the filter.
ASYNCHRONOUS = 1;public static Config.InvocationMode[] values()
for (Config.InvocationMode c : Config.InvocationMode.values()) System.out.println(c);
public static Config.InvocationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Config.InvocationMode valueOf(int value)
forNumber(int) instead.public static Config.InvocationMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Config.InvocationMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Config.InvocationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.