/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.pipes.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The parameters for using a Lambda function as a target. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetLambdaFunctionParameters implements Serializable, Cloneable, StructuredPojo { /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*