aws autoscaling complete-lifecycle-action --lifecycle-action-token ???????? --lifecycle-hook-name ReadyForSoftwareInstall --auto-scaling-group-name --lifecycle-action-result CONTINUE
The lifecycle-action-token is provided by Auto Scaling in the message sent as part of processing the lifecycle hook. You need to get the token from the original message.
If this is a CodeDeploy hook in your Auto Scaling Group, that message goes to CodeDeploy. You can't manually close the Auto Scaling lifecycle action in that case.