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.UpdateBuild

Description

Updates metadata in a build resource, including the build name and version. To update the metadata, specify the build ID to update and provide the new values. If successful, a build object containing the updated metadata is returned.

Learn more

Upload a Custom Server Build

Related actions

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

Synopsis

Creating a Request

data UpdateBuild Source #

Represents the input for a request operation.

See: newUpdateBuild smart constructor.

Constructors

UpdateBuild' 

Fields

  • name :: Maybe Text

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

  • version :: Maybe Text

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

  • buildId :: Text

    A unique identifier for the build to update. You can use either the build ID or ARN value.

Instances

Instances details
Eq UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Read UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Show UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Generic UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Associated Types

type Rep UpdateBuild :: Type -> Type #

NFData UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Methods

rnf :: UpdateBuild -> () #

Hashable UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

ToJSON UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

AWSRequest UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Associated Types

type AWSResponse UpdateBuild #

ToHeaders UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Methods

toHeaders :: UpdateBuild -> [Header] #

ToPath UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

ToQuery UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

type Rep UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

type Rep UpdateBuild = D1 ('MetaData "UpdateBuild" "Amazonka.GameLift.UpdateBuild" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "UpdateBuild'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "buildId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateBuild Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

newUpdateBuild Source #

Create a value of UpdateBuild 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:name:UpdateBuild', updateBuild_name - A descriptive label that is associated with a build. Build names do not need to be unique.

$sel:version:UpdateBuild', updateBuild_version - Version information that is associated with a build or script. Version strings do not need to be unique.

$sel:buildId:UpdateBuild', updateBuild_buildId - A unique identifier for the build to update. You can use either the build ID or ARN value.

Request Lenses

updateBuild_name :: Lens' UpdateBuild (Maybe Text) Source #

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

updateBuild_version :: Lens' UpdateBuild (Maybe Text) Source #

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

updateBuild_buildId :: Lens' UpdateBuild Text Source #

A unique identifier for the build to update. You can use either the build ID or ARN value.

Destructuring the Response

data UpdateBuildResponse Source #

Represents the returned data in response to a request operation.

See: newUpdateBuildResponse smart constructor.

Constructors

UpdateBuildResponse' 

Fields

Instances

Instances details
Eq UpdateBuildResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Read UpdateBuildResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Show UpdateBuildResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Generic UpdateBuildResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Associated Types

type Rep UpdateBuildResponse :: Type -> Type #

NFData UpdateBuildResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

Methods

rnf :: UpdateBuildResponse -> () #

type Rep UpdateBuildResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateBuild

type Rep UpdateBuildResponse = D1 ('MetaData "UpdateBuildResponse" "Amazonka.GameLift.UpdateBuild" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "UpdateBuildResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "build") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Build)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateBuildResponse Source #

Create a value of UpdateBuildResponse 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:build:UpdateBuildResponse', updateBuildResponse_build - The updated build resource.

$sel:httpStatus:UpdateBuildResponse', updateBuildResponse_httpStatus - The response's http status code.

Response Lenses