libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.Types.Build

Description

 
Synopsis

Documentation

data Build Source #

Properties describing a custom game build.

Related actions

CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task

See: newBuild smart constructor.

Constructors

Build' 

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").

  • status :: Maybe BuildStatus

    Current status of the build.

    Possible build statuses include the following:

    • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
    • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
    • FAILED -- The game build upload failed. You cannot create new fleets for this build.
  • operatingSystem :: Maybe OperatingSystem

    Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.

  • buildId :: Maybe Text

    A unique identifier for the build.

  • name :: Maybe Text

    A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.

  • version :: Maybe Text

    Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.

  • buildArn :: Maybe Text

    The Amazon Resource Name (ARN) that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift build ARN, the resource ID matches the BuildId value.

  • sizeOnDisk :: Maybe Natural

    File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED, this value is 0.

Instances

Instances details
Eq Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

Methods

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

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

Read Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

Show Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

Methods

showsPrec :: Int -> Build -> ShowS #

show :: Build -> String #

showList :: [Build] -> ShowS #

Generic Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

Associated Types

type Rep Build :: Type -> Type #

Methods

from :: Build -> Rep Build x #

to :: Rep Build x -> Build #

NFData Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

Methods

rnf :: Build -> () #

Hashable Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

Methods

hashWithSalt :: Int -> Build -> Int #

hash :: Build -> Int #

FromJSON Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

type Rep Build Source # 
Instance details

Defined in Amazonka.GameLift.Types.Build

newBuild :: Build Source #

Create a value of Build 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:Build', build_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:status:Build', build_status - Current status of the build.

Possible build statuses include the following:

  • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
  • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
  • FAILED -- The game build upload failed. You cannot create new fleets for this build.

$sel:operatingSystem:Build', build_operatingSystem - Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.

$sel:buildId:Build', build_buildId - A unique identifier for the build.

$sel:name:Build', build_name - A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.

$sel:version:Build', build_version - Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.

$sel:buildArn:Build', build_buildArn - The Amazon Resource Name (ARN) that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift build ARN, the resource ID matches the BuildId value.

$sel:sizeOnDisk:Build', build_sizeOnDisk - File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED, this value is 0.

build_creationTime :: Lens' Build (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").

build_status :: Lens' Build (Maybe BuildStatus) Source #

Current status of the build.

Possible build statuses include the following:

  • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
  • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
  • FAILED -- The game build upload failed. You cannot create new fleets for this build.

build_operatingSystem :: Lens' Build (Maybe OperatingSystem) Source #

Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.

build_buildId :: Lens' Build (Maybe Text) Source #

A unique identifier for the build.

build_name :: Lens' Build (Maybe Text) Source #

A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.

build_version :: Lens' Build (Maybe Text) Source #

Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.

build_buildArn :: Lens' Build (Maybe Text) Source #

The Amazon Resource Name (ARN) that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift build ARN, the resource ID matches the BuildId value.

build_sizeOnDisk :: Lens' Build (Maybe Natural) Source #

File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED, this value is 0.