public void SnowballUpdateJob() { #region to-update-a-job-1482863556886 var response = client.UpdateJob(new UpdateJobRequest { AddressId = "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", Description = "Upgraded to Edge, shipped to Finance Dept, and requested faster shipping speed - TS.", JobId = "JID123e4567-e89b-12d3-a456-426655440000", ShippingOption = "NEXT_DAY", SnowballCapacityPreference = "T100" }); #endregion }
private Amazon.Snowball.Model.UpdateJobResponse CallAWSServiceOperation(IAmazonSnowball client, Amazon.Snowball.Model.UpdateJobRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Import/Export Snowball", "UpdateJob"); try { #if DESKTOP return(client.UpdateJob(request)); #elif CORECLR return(client.UpdateJobAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }