getFunctionCodeSigningConfig method
Future<GetFunctionCodeSigningConfigResponse>
getFunctionCodeSigningConfig({
- required String functionName,
Returns the code signing configuration for the specified function.
May throw InvalidParameterValueException.
May throw ResourceNotFoundException.
May throw ServiceException.
May throw TooManyRequestsException.
Parameter functionName :
The name or ARN of the Lambda function.
Name formats
-
Function name -
MyFunction. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Partial ARN -
123456789012:function:MyFunction.
Implementation
Future<GetFunctionCodeSigningConfigResponse> getFunctionCodeSigningConfig({
required String functionName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2020-06-30/functions/${Uri.encodeComponent(functionName)}/code-signing-config',
exceptionFnMap: _exceptionFns,
);
return GetFunctionCodeSigningConfigResponse.fromJson(response);
}