@Generated(value="jsii-pacmak/0.22.0 (build 14afdde)", date="2020-02-13T18:54:15.796Z") @Stability(value=Experimental) public enum InvocationType extends Enum<InvocationType>
EXPERIMENTAL
| Enum Constant and Description |
|---|
DRY_RUN
TValidate parameter values and verify that the user or role has permission to invoke the function.
|
EVENT
Invoke asynchronously.
|
REQUEST_RESPONSE
Invoke synchronously.
|
| Modifier and Type | Method and Description |
|---|---|
static InvocationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final InvocationType REQUEST_RESPONSE
The API response includes the function response and additional data.
EXPERIMENTAL
@Stability(value=Experimental) public static final InvocationType EVENT
Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code.
EXPERIMENTAL
@Stability(value=Experimental) public static final InvocationType DRY_RUN
EXPERIMENTAL
public static InvocationType[] values()
for (InvocationType c : InvocationType.values()) System.out.println(c);
public static InvocationType 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 nullCopyright © 2020. All rights reserved.