Amazon.GameLift.AmazonGameLiftClient.RequestUploadCredentials C# (CSharp) Method

RequestUploadCredentials() public method

Retrieves a fresh set of upload credentials and the assigned Amazon S3 storage location for a specific build. Valid credentials are required to upload your game build files to Amazon S3.

Call this action only if you need credentials for a build created with CreateBuild . This is a rare situation; in most cases, builds are created using the CLI command upload-build, which creates a build record and also uploads build files.

Upload credentials are returned when you create the build, but they have a limited lifespan. You can get fresh credentials and use them to re-upload game files until the status of that build changes to READY. Once this happens, you must create a brand new build.

/// The service encountered an unrecoverable internal failure while processing the request. /// Clients can retry such requests immediately or after a waiting period. /// /// One or more parameter values in the request are invalid. Correct the invalid parameter /// values before retrying. /// /// A service resource associated with the request could not be found. Clients should /// not retry such requests. /// /// The client failed authentication. Clients should not retry such requests. ///
public RequestUploadCredentials ( RequestUploadCredentialsRequest request ) : Amazon.GameLift.Model.RequestUploadCredentialsResponse
request Amazon.GameLift.Model.RequestUploadCredentialsRequest Container for the necessary parameters to execute the RequestUploadCredentials service method.
return Amazon.GameLift.Model.RequestUploadCredentialsResponse
        public RequestUploadCredentialsResponse RequestUploadCredentials(RequestUploadCredentialsRequest request)
        {
            var marshaller = new RequestUploadCredentialsRequestMarshaller();
            var unmarshaller = RequestUploadCredentialsResponseUnmarshaller.Instance;

            return Invoke<RequestUploadCredentialsRequest,RequestUploadCredentialsResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonGameLiftClient::RequestUploadCredentials ( string buildId ) : Amazon.GameLift.Model.RequestUploadCredentialsResponse
AmazonGameLiftClient