Exemple #1
0
 internal ListInferenceExecutionsPaginator(IAmazonLookoutEquipment client, ListInferenceExecutionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 private Amazon.LookoutEquipment.Model.StopInferenceSchedulerResponse CallAWSServiceOperation(IAmazonLookoutEquipment client, Amazon.LookoutEquipment.Model.StopInferenceSchedulerRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Lookout for Equipment", "StopInferenceScheduler");
     try
     {
         #if DESKTOP
         return(client.StopInferenceScheduler(request));
         #elif CORECLR
         return(client.StopInferenceSchedulerAsync(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;
     }
 }
Exemple #3
0
 internal ListDataIngestionJobsPaginator(IAmazonLookoutEquipment client, ListDataIngestionJobsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #4
0
 internal LookoutEquipmentPaginatorFactory(IAmazonLookoutEquipment client)
 {
     this.client = client;
 }
Exemple #5
0
 internal ListInferenceSchedulersPaginator(IAmazonLookoutEquipment client, ListInferenceSchedulersRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #6
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Exemple #7
0
 internal ListModelsPaginator(IAmazonLookoutEquipment client, ListModelsRequest request)
 {
     this._client  = client;
     this._request = request;
 }