private Amazon.LookoutMetrics.Model.ListAlertsResponse CallAWSServiceOperation(IAmazonLookoutMetrics client, Amazon.LookoutMetrics.Model.ListAlertsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Lookout for Metrics", "ListAlerts"); try { #if DESKTOP return(client.ListAlerts(request)); #elif CORECLR return(client.ListAlertsAsync(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; } }
internal GetFeedbackPaginator(IAmazonLookoutMetrics client, GetFeedbackRequest request) { this._client = client; this._request = request; }
internal ListMetricSetsPaginator(IAmazonLookoutMetrics client, ListMetricSetsRequest request) { this._client = client; this._request = request; }
internal ListAnomalyGroupSummariesPaginator(IAmazonLookoutMetrics client, ListAnomalyGroupSummariesRequest request) { this._client = client; this._request = request; }
internal LookoutMetricsPaginatorFactory(IAmazonLookoutMetrics client) { this.client = client; }
internal DescribeAnomalyDetectionExecutionsPaginator(IAmazonLookoutMetrics client, DescribeAnomalyDetectionExecutionsRequest request) { this._client = client; this._request = request; }
internal ListAnomalyDetectorsPaginator(IAmazonLookoutMetrics client, ListAnomalyDetectorsRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }