Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Learn more
Amazon GameLift Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
Synopsis
Creating a Request
data DeleteScript Source #
See: newDeleteScript
smart constructor.
Instances
Create a value of DeleteScript
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scriptId:DeleteScript'
, deleteScript_scriptId
- A unique identifier for the Realtime script to delete. You can use
either the script ID or ARN value.
Request Lenses
deleteScript_scriptId :: Lens' DeleteScript Text Source #
A unique identifier for the Realtime script to delete. You can use either the script ID or ARN value.
Destructuring the Response
data DeleteScriptResponse Source #
See: newDeleteScriptResponse
smart constructor.
Instances
Eq DeleteScriptResponse Source # | |
Defined in Amazonka.GameLift.DeleteScript (==) :: DeleteScriptResponse -> DeleteScriptResponse -> Bool # (/=) :: DeleteScriptResponse -> DeleteScriptResponse -> Bool # | |
Read DeleteScriptResponse Source # | |
Show DeleteScriptResponse Source # | |
Defined in Amazonka.GameLift.DeleteScript showsPrec :: Int -> DeleteScriptResponse -> ShowS # show :: DeleteScriptResponse -> String # showList :: [DeleteScriptResponse] -> ShowS # | |
Generic DeleteScriptResponse Source # | |
Defined in Amazonka.GameLift.DeleteScript type Rep DeleteScriptResponse :: Type -> Type # from :: DeleteScriptResponse -> Rep DeleteScriptResponse x # to :: Rep DeleteScriptResponse x -> DeleteScriptResponse # | |
NFData DeleteScriptResponse Source # | |
Defined in Amazonka.GameLift.DeleteScript rnf :: DeleteScriptResponse -> () # | |
type Rep DeleteScriptResponse Source # | |
newDeleteScriptResponse :: DeleteScriptResponse Source #
Create a value of DeleteScriptResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.