Exemplo n.º 1
0
        public void SnowballGetJobManifest()
        {
            #region to-get-the-manifest-for-a-job-youve-created-for-aws-snowball-1482540389246

            var response = client.GetJobManifest(new GetJobManifestRequest
            {
                JobId = "JID123e4567-e89b-12d3-a456-426655440000"
            });

            string manifestURI = response.ManifestURI;

            #endregion
        }
Exemplo n.º 2
0
 private Amazon.Snowball.Model.GetJobManifestResponse CallAWSServiceOperation(IAmazonSnowball client, Amazon.Snowball.Model.GetJobManifestRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Import/Export Snowball", "GetJobManifest");
     try
     {
         #if DESKTOP
         return(client.GetJobManifest(request));
         #elif CORECLR
         return(client.GetJobManifestAsync(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;
     }
 }