DeleteCodeArtifact
Permanently deletes a Code Artifact and all its versions.
Stored Procedure-Specific Information
Required input: ArtifactId. Returns the deleted Id and confirmation Type. Content removal completes asynchronously.
To execute this procedure, enter:
EXEC DeleteCodeArtifact ArtifactId = 'cart_123';
Input
| Name | Type | Required | Description |
| ArtifactId | String | True | The tagged Code Artifact Id to delete. Required: Obtain it from CodeArtifacts.Id (for example, cart_abc123). |
Result Set Columns
| Name | Type | Description |
| Id | String | The Id of the deleted Code Artifact. |
| Type | String | The deletion confirmation type: code_artifact_deleted. |