コード例 #1
0
 /// <summary>
 /// Paginator for ListJobs operation
 ///</summary>
 public IListJobsPaginator ListJobs(ListJobsRequest request)
 {
     return(new ListJobsPaginator(this.client, request));
 }
コード例 #2
0
 internal ListJobsPaginator(IAmazonS3Control client, ListJobsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #3
0
 private Amazon.S3Control.Model.ListJobsResponse CallAWSServiceOperation(IAmazonS3Control client, Amazon.S3Control.Model.ListJobsRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon S3 Control", "ListJobs");
     try
     {
         #if DESKTOP
         return(client.ListJobs(request));
         #elif CORECLR
         return(client.ListJobsAsync(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;
     }
 }