Beispiel #1
0
 private Amazon.LookoutforVision.Model.DetectAnomaliesResponse CallAWSServiceOperation(IAmazonLookoutforVision client, Amazon.LookoutforVision.Model.DetectAnomaliesRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Lookout for Vision", "DetectAnomalies");
     try
     {
         #if DESKTOP
         return(client.DetectAnomalies(request));
         #elif CORECLR
         return(client.DetectAnomaliesAsync(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;
     }
 }
Beispiel #2
0
 internal ListModelPackagingJobsPaginator(IAmazonLookoutforVision client, ListModelPackagingJobsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListDatasetEntriesPaginator(IAmazonLookoutforVision client, ListDatasetEntriesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListProjectsPaginator(IAmazonLookoutforVision client, ListProjectsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Beispiel #5
0
 internal LookoutforVisionPaginatorFactory(IAmazonLookoutforVision client)
 {
     this.client = client;
 }