public void Validate(MonitoringAPICallEvent monitoringAPICallEvent)
 {
     Assert.Equal(Service, monitoringAPICallEvent.Service);
     Assert.Equal(ApiCall, monitoringAPICallEvent.Api);
     Assert.Equal("ApiCall", monitoringAPICallEvent.Type);
     Assert.Equal(1, monitoringAPICallEvent.Version);
     Assert.Equal(AttemptCount, monitoringAPICallEvent.AttemptCount);
     Assert.Equal(ClientId, monitoringAPICallEvent.ClientId);
     Assert.Equal(MaxRetriesExceeded, monitoringAPICallEvent.MaxRetriesExceeded);
     Assert.Equal(Region, monitoringAPICallEvent.Region);
     Assert.Equal(HttpStatusCode, monitoringAPICallEvent.FinalHttpStatusCode);
     Assert.NotNull(monitoringAPICallEvent.UserAgent);
     if (!string.IsNullOrEmpty(monitoringAPICallEvent.FinalAWSException))
     {
         Assert.Contains(AWSException, monitoringAPICallEvent.FinalAWSException);
     }
     if (!string.IsNullOrEmpty(monitoringAPICallEvent.FinalAWSExceptionMessage))
     {
         Assert.Contains(AWSExceptionMessage, monitoringAPICallEvent.FinalAWSExceptionMessage);
     }
     if (!string.IsNullOrEmpty(monitoringAPICallEvent.FinalSdkException))
     {
         Assert.Contains(SdkException, monitoringAPICallEvent.FinalSdkException);
     }
     if (!string.IsNullOrEmpty(monitoringAPICallEvent.FinalSdkExceptionMessage))
     {
         Assert.Contains(SdkExceptionMessage, monitoringAPICallEvent.FinalSdkExceptionMessage);
     }
 }
 public void Validate(MonitoringAPICallEvent monitoringAPICallEvent)
 {
     Assert.Equal(Service, monitoringAPICallEvent.Service);
     Assert.Equal(ApiCall, monitoringAPICallEvent.Api);
     Assert.Equal("ApiCall", monitoringAPICallEvent.Type);
     Assert.Equal(1, monitoringAPICallEvent.Version);
     Assert.Equal(AttemptCount, monitoringAPICallEvent.AttemptCount);
     Assert.Equal(ClientId, monitoringAPICallEvent.ClientId);
 }