@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetLambdaFunctionParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using a Lambda function as a target.
Constructor and Description |
---|
PipeTargetLambdaFunctionParameters() |
Modifier and Type | Method and Description |
---|---|
PipeTargetLambdaFunctionParameters |
clone() |
boolean |
equals(Object obj) |
String |
getInvocationType()
Choose from the following options.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInvocationType(String invocationType)
Choose from the following options.
|
String |
toString()
Returns a string representation of this object.
|
PipeTargetLambdaFunctionParameters |
withInvocationType(PipeTargetInvocationType invocationType)
Choose from the following options.
|
PipeTargetLambdaFunctionParameters |
withInvocationType(String invocationType)
Choose from the following options.
|
public void setInvocationType(String invocationType)
Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until the
function returns a response or times out. The API response includes the function response and additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke the
function.
invocationType
- Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until
the function returns a response or times out. The API response includes the function response and
additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke
the function.
PipeTargetInvocationType
public String getInvocationType()
Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until the
function returns a response or times out. The API response includes the function response and additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke the
function.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open
until the function returns a response or times out. The API response includes the function response and
additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke
the function.
PipeTargetInvocationType
public PipeTargetLambdaFunctionParameters withInvocationType(String invocationType)
Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until the
function returns a response or times out. The API response includes the function response and additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke the
function.
invocationType
- Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until
the function returns a response or times out. The API response includes the function response and
additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke
the function.
PipeTargetInvocationType
public PipeTargetLambdaFunctionParameters withInvocationType(PipeTargetInvocationType invocationType)
Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until the
function returns a response or times out. The API response includes the function response and additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke the
function.
invocationType
- Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until
the function returns a response or times out. The API response includes the function response and
additional data.
Event
- Invoke the function asynchronously. 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.
DryRun
- Validate parameter values and verify that the user or role has permission to invoke
the function.
PipeTargetInvocationType
public String toString()
toString
in class Object
Object.toString()
public PipeTargetLambdaFunctionParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.