GameLift / Client / delete_script
Deletes a Realtime script. This operation permanently deletes the script record. If script files were uploaded, they are also deleted (files stored in an S3 bucket are not deleted).
To delete a script, specify the script ID. Before deleting a script, be sure to terminate all fleets that are deployed with the script being deleted. Fleet instances periodically check for script updates, and if the script record no longer exists, the instance will go into an error state and be unable to host game sessions.
See also: AWS API Documentation
response = client.delete_script( ScriptId='string' )
ScriptId (string) –
A unique identifier for the Realtime script to delete. You can use either the script ID or ARN value.