amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.DeleteScript

Description

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

All APIs by task

Synopsis

Creating a Request

data DeleteScript Source #

See: newDeleteScript smart constructor.

Constructors

DeleteScript' 

Fields

  • scriptId :: Text

    A unique identifier for the Realtime script to delete. You can use either the script ID or ARN value.

Instances

Instances details
ToJSON DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

ToHeaders DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

ToPath DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

ToQuery DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

AWSRequest DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Associated Types

type AWSResponse DeleteScript #

Generic DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Associated Types

type Rep DeleteScript :: Type -> Type #

Read DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Show DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

NFData DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Methods

rnf :: DeleteScript -> () #

Eq DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Hashable DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

type AWSResponse DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

type Rep DeleteScript Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

type Rep DeleteScript = D1 ('MetaData "DeleteScript" "Amazonka.GameLift.DeleteScript" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DeleteScript'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scriptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteScript Source #

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:

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.

Constructors

DeleteScriptResponse' 

Instances

Instances details
Generic DeleteScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Associated Types

type Rep DeleteScriptResponse :: Type -> Type #

Read DeleteScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Show DeleteScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

NFData DeleteScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

Methods

rnf :: DeleteScriptResponse -> () #

Eq DeleteScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

type Rep DeleteScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScript

type Rep DeleteScriptResponse = D1 ('MetaData "DeleteScriptResponse" "Amazonka.GameLift.DeleteScript" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DeleteScriptResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteScriptResponse :: DeleteScriptResponse Source #

Create a value of DeleteScriptResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.