Exemplo n.º 1
0
 private Amazon.ApplicationInsights.Model.UpdateLogPatternResponse CallAWSServiceOperation(IAmazonApplicationInsights client, Amazon.ApplicationInsights.Model.UpdateLogPatternRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon CloudWatch Application Insights", "UpdateLogPattern");
     try
     {
         #if DESKTOP
         return(client.UpdateLogPattern(request));
         #elif CORECLR
         return(client.UpdateLogPatternAsync(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;
     }
 }
Exemplo n.º 2
0
 internal ApplicationInsightsPaginatorFactory(IAmazonApplicationInsights client)
 {
     this.client = client;
 }
 internal ListApplicationsPaginator(IAmazonApplicationInsights client, ListApplicationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 4
0
 internal ListConfigurationHistoryPaginator(IAmazonApplicationInsights client, ListConfigurationHistoryRequest request)
 {
     this._client  = client;
     this._request = request;
 }