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

Description

Retrieves a fresh set of credentials for use when uploading a new set of game build files to Amazon GameLift's Amazon S3. This is done as part of the build creation process; see CreateBuild.

To request new credentials, specify the build ID as returned with an initial CreateBuild request. If successful, a new set of credentials are returned, along with the S3 storage location associated with the build ID.

Learn more

Create a Build with Files in S3

Related actions

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

Synopsis

Creating a Request

data RequestUploadCredentials Source #

Represents the input for a request operation.

See: newRequestUploadCredentials smart constructor.

Constructors

RequestUploadCredentials' 

Fields

  • buildId :: Text

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

Instances

Instances details
Eq RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Read RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Show RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Generic RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Associated Types

type Rep RequestUploadCredentials :: Type -> Type #

NFData RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Hashable RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

ToJSON RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

AWSRequest RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

ToHeaders RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

ToPath RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

ToQuery RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

type Rep RequestUploadCredentials Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

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

Defined in Amazonka.GameLift.RequestUploadCredentials

newRequestUploadCredentials Source #

Create a value of RequestUploadCredentials 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:buildId:RequestUploadCredentials', requestUploadCredentials_buildId - A unique identifier for the build to get credentials for. You can use either the build ID or ARN value.

Request Lenses

requestUploadCredentials_buildId :: Lens' RequestUploadCredentials Text Source #

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

Destructuring the Response

data RequestUploadCredentialsResponse Source #

Represents the returned data in response to a request operation.

See: newRequestUploadCredentialsResponse smart constructor.

Constructors

RequestUploadCredentialsResponse' 

Fields

Instances

Instances details
Eq RequestUploadCredentialsResponse Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Show RequestUploadCredentialsResponse Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Generic RequestUploadCredentialsResponse Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

Associated Types

type Rep RequestUploadCredentialsResponse :: Type -> Type #

NFData RequestUploadCredentialsResponse Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

type Rep RequestUploadCredentialsResponse Source # 
Instance details

Defined in Amazonka.GameLift.RequestUploadCredentials

type Rep RequestUploadCredentialsResponse = D1 ('MetaData "RequestUploadCredentialsResponse" "Amazonka.GameLift.RequestUploadCredentials" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "RequestUploadCredentialsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "storageLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Location)) :*: (S1 ('MetaSel ('Just "uploadCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive AwsCredentials))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRequestUploadCredentialsResponse Source #

Create a value of RequestUploadCredentialsResponse 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:storageLocation:RequestUploadCredentialsResponse', requestUploadCredentialsResponse_storageLocation - Amazon S3 path and key, identifying where the game build files are stored.

$sel:uploadCredentials:RequestUploadCredentialsResponse', requestUploadCredentialsResponse_uploadCredentials - AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.

$sel:httpStatus:RequestUploadCredentialsResponse', requestUploadCredentialsResponse_httpStatus - The response's http status code.

Response Lenses

requestUploadCredentialsResponse_storageLocation :: Lens' RequestUploadCredentialsResponse (Maybe S3Location) Source #

Amazon S3 path and key, identifying where the game build files are stored.

requestUploadCredentialsResponse_uploadCredentials :: Lens' RequestUploadCredentialsResponse (Maybe AwsCredentials) Source #

AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.