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

Description

Retrieves build resources for all builds associated with the Amazon Web Services account in use. You can limit results to builds that are in a specific status by using the Status parameter. Use the pagination parameters to retrieve results in a set of sequential pages.

Build resources are not listed in any particular order.

Learn more

Upload a Custom Server Build

All APIs by task

This operation returns paginated results.

Synopsis

Creating a Request

data ListBuilds Source #

See: newListBuilds smart constructor.

Constructors

ListBuilds' 

Fields

  • limit :: Maybe Natural

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

  • nextToken :: Maybe Text

    A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

  • status :: Maybe BuildStatus

    Build status to filter results by. To retrieve all builds, leave this parameter empty.

    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.

Instances

Instances details
ToJSON ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

ToHeaders ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Methods

toHeaders :: ListBuilds -> [Header] #

ToPath ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

ToQuery ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

AWSPager ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

AWSRequest ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Associated Types

type AWSResponse ListBuilds #

Generic ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Associated Types

type Rep ListBuilds :: Type -> Type #

Read ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Show ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

NFData ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Methods

rnf :: ListBuilds -> () #

Eq ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Hashable ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

type AWSResponse ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

type Rep ListBuilds Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

type Rep ListBuilds = D1 ('MetaData "ListBuilds" "Amazonka.GameLift.ListBuilds" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "ListBuilds'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BuildStatus)))))

newListBuilds :: ListBuilds Source #

Create a value of ListBuilds 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:limit:ListBuilds', listBuilds_limit - The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

ListBuilds, listBuilds_nextToken - A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

ListBuilds, listBuilds_status - Build status to filter results by. To retrieve all builds, leave this parameter empty.

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.

Request Lenses

listBuilds_limit :: Lens' ListBuilds (Maybe Natural) Source #

The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

listBuilds_nextToken :: Lens' ListBuilds (Maybe Text) Source #

A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

listBuilds_status :: Lens' ListBuilds (Maybe BuildStatus) Source #

Build status to filter results by. To retrieve all builds, leave this parameter empty.

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.

Destructuring the Response

data ListBuildsResponse Source #

See: newListBuildsResponse smart constructor.

Constructors

ListBuildsResponse' 

Fields

  • builds :: Maybe [Build]

    A collection of build resources that match the request.

  • nextToken :: Maybe Text

    A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListBuildsResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Associated Types

type Rep ListBuildsResponse :: Type -> Type #

Read ListBuildsResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Show ListBuildsResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

NFData ListBuildsResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

Methods

rnf :: ListBuildsResponse -> () #

Eq ListBuildsResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

type Rep ListBuildsResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListBuilds

type Rep ListBuildsResponse = D1 ('MetaData "ListBuildsResponse" "Amazonka.GameLift.ListBuilds" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "ListBuildsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "builds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Build])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBuildsResponse Source #

Create a value of ListBuildsResponse 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:builds:ListBuildsResponse', listBuildsResponse_builds - A collection of build resources that match the request.

ListBuilds, listBuildsResponse_nextToken - A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.

$sel:httpStatus:ListBuildsResponse', listBuildsResponse_httpStatus - The response's http status code.

Response Lenses

listBuildsResponse_builds :: Lens' ListBuildsResponse (Maybe [Build]) Source #

A collection of build resources that match the request.

listBuildsResponse_nextToken :: Lens' ListBuildsResponse (Maybe Text) Source #

A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.