deleteFunctionConcurrency method
Removes a concurrent execution limit from a function.
May throw ServiceException. May throw ResourceNotFoundException. May throw TooManyRequestsException. May throw InvalidParameterValueException. May throw ResourceConflictException.
Parameter functionName
:
The name of the Lambda function.
Name formats
-
Function name -
my-function
. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN -
123456789012:function:my-function
.
Implementation
Future<void> deleteFunctionConcurrency({
required String functionName,
}) async {
ArgumentError.checkNotNull(functionName, 'functionName');
_s.validateStringLength(
'functionName',
functionName,
1,
140,
isRequired: true,
);
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2017-10-31/functions/${Uri.encodeComponent(functionName)}/concurrency',
exceptionFnMap: _exceptionFns,
);
}