Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Script = Script' {}
- newScript :: Script
- script_creationTime :: Lens' Script (Maybe UTCTime)
- script_name :: Lens' Script (Maybe Text)
- script_scriptArn :: Lens' Script (Maybe Text)
- script_scriptId :: Lens' Script (Maybe Text)
- script_sizeOnDisk :: Lens' Script (Maybe Natural)
- script_storageLocation :: Lens' Script (Maybe S3Location)
- script_version :: Lens' Script (Maybe Text)
Documentation
Script' | |
|
Instances
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_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.