DeleteCodeSigningConfig
Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.
Request Syntax
DELETE /2020-04-22/code-signing-configs/CodeSigningConfigArn
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- CodeSigningConfigArn
-
The The Amazon Resource Name (ARN) of the code signing configuration.
Length Constraints: Maximum length of 200.
Pattern:
arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:\d{12}:code-signing-config:csc-[a-z0-9]{17}
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 204
Response Elements
If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.
Errors
- InvalidParameterValueException
-
One of the parameters in the request is not valid.
HTTP Status Code: 400
- ResourceConflictException
-
The resource already exists, or another operation is in progress.
HTTP Status Code: 409
- ResourceNotFoundException
-
The resource specified in the request does not exist.
HTTP Status Code: 404
- ServiceException
-
The Amazon Lambda service encountered an internal error.
HTTP Status Code: 500
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: