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.Types.Script

Description

 
Synopsis

Documentation

data Script Source #

Properties describing a Realtime script.

Related actions

All APIs by task

See: newScript smart constructor.

Constructors

Script' 

Fields

  • creationTime :: Maybe POSIX

    A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

  • name :: Maybe Text

    A descriptive label that is associated with a script. Script names do not need to be unique.

  • scriptArn :: Maybe Text

    The Amazon Resource Name (ARN) that is assigned to a GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.

  • scriptId :: Maybe Text

    A unique identifier for the Realtime script

  • sizeOnDisk :: Maybe Natural

    The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".

  • storageLocation :: Maybe S3Location

    The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion parameter to specify an earlier version.

  • version :: Maybe Text

    Version information associated with a build or script. Version strings do not need to be unique.

Instances

Instances details
FromJSON Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

Generic Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

Associated Types

type Rep Script :: Type -> Type #

Methods

from :: Script -> Rep Script x #

to :: Rep Script x -> Script #

Read Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

Show Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

NFData Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

Methods

rnf :: Script -> () #

Eq Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

Methods

(==) :: Script -> Script -> Bool #

(/=) :: Script -> Script -> Bool #

Hashable Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

Methods

hashWithSalt :: Int -> Script -> Int #

hash :: Script -> Int #

type Rep Script Source # 
Instance details

Defined in Amazonka.GameLift.Types.Script

newScript :: Script Source #

Create a value of Script 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:creationTime:Script', script_creationTime - A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

$sel:name:Script', script_name - A descriptive label that is associated with a script. Script names do not need to be unique.

$sel:scriptArn:Script', script_scriptArn - The Amazon Resource Name (ARN) that is assigned to a GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.

$sel:scriptId:Script', script_scriptId - A unique identifier for the Realtime script

$sel:sizeOnDisk:Script', script_sizeOnDisk - The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".

$sel:storageLocation:Script', script_storageLocation - The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion parameter to specify an earlier version.

$sel:version:Script', script_version - Version information associated with a build or script. Version strings do not need to be unique.

script_creationTime :: Lens' Script (Maybe UTCTime) Source #

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

script_name :: Lens' Script (Maybe Text) Source #

A descriptive label that is associated with a script. Script names do not need to be unique.

script_scriptArn :: Lens' Script (Maybe Text) Source #

The Amazon Resource Name (ARN) that is assigned to a GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.

script_scriptId :: Lens' Script (Maybe Text) Source #

A unique identifier for the Realtime script

script_sizeOnDisk :: Lens' Script (Maybe Natural) Source #

The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".

script_storageLocation :: Lens' Script (Maybe S3Location) Source #

The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion parameter to specify an earlier version.

script_version :: Lens' Script (Maybe Text) Source #

Version information associated with a build or script. Version strings do not need to be unique.