GetFunctionRecursionConfigCommand
Returns your function's recursive loop detection configuration.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { LambdaClient, GetFunctionRecursionConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
// const { LambdaClient, GetFunctionRecursionConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
const client = new LambdaClient(config);
const input = { // GetFunctionRecursionConfigRequest
FunctionName: "STRING_VALUE", // required
};
const command = new GetFunctionRecursionConfigCommand(input);
const response = await client.send(command);
// { // GetFunctionRecursionConfigResponse
// RecursiveLoop: "Allow" || "Terminate",
// };
GetFunctionRecursionConfigCommand Input
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
FunctionName Required | string | undefined |
GetFunctionRecursionConfigCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
RecursiveLoop | RecursiveLoop | undefined | If your function's recursive loop detection configuration is If your function's recursive loop detection configuration is By default, Lambda sets your function's configuration to |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InvalidParameterValueException | client | One of the parameters in the request is not valid. |
ResourceNotFoundException | client | The resource specified in the request does not exist. |
ServiceException | server | The Lambda service encountered an internal error. |
TooManyRequestsException | client | The request throughput limit was exceeded. For more information, see Lambda quotas . |
LambdaServiceException | Base exception class for all service exceptions from Lambda service. |