예제 #1
0
 private Amazon.XRay.Model.GetServiceGraphResponse CallAWSServiceOperation(IAmazonXRay client, Amazon.XRay.Model.GetServiceGraphRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS X-Ray", "GetServiceGraph");
     try
     {
         #if DESKTOP
         return(client.GetServiceGraph(request));
         #elif CORECLR
         return(client.GetServiceGraphAsync(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 GetGroupsPaginator(IAmazonXRay client, GetGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal GetTraceGraphPaginator(IAmazonXRay client, GetTraceGraphRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal GetTimeSeriesServiceStatisticsPaginator(IAmazonXRay client, GetTimeSeriesServiceStatisticsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal GetTraceSummariesPaginator(IAmazonXRay client, GetTraceSummariesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal GetInsightEventsPaginator(IAmazonXRay client, GetInsightEventsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #7
0
 internal GetSamplingRulesPaginator(IAmazonXRay client, GetSamplingRulesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #8
0
 internal XRayPaginatorFactory(IAmazonXRay client)
 {
     this.client = client;
 }
 internal BatchGetTracesPaginator(IAmazonXRay client, BatchGetTracesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal GetSamplingStatisticSummariesPaginator(IAmazonXRay client, GetSamplingStatisticSummariesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #11
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }