internal RoboMakerPaginatorFactory(IAmazonRoboMaker client)
 {
     this.client = client;
 }
 private Amazon.RoboMaker.Model.CreateRobotApplicationVersionResponse CallAWSServiceOperation(IAmazonRoboMaker client, Amazon.RoboMaker.Model.CreateRobotApplicationVersionRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS RoboMaker", "CreateRobotApplicationVersion");
     try
     {
         #if DESKTOP
         return(client.CreateRobotApplicationVersion(request));
         #elif CORECLR
         return(client.CreateRobotApplicationVersionAsync(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;
     }
 }
Esempio n. 3
0
 internal ListSimulationJobsPaginator(IAmazonRoboMaker client, ListSimulationJobsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 4
0
 internal ListWorldsPaginator(IAmazonRoboMaker client, ListWorldsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 5
0
 internal ListRobotApplicationsPaginator(IAmazonRoboMaker client, ListRobotApplicationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListDeploymentJobsPaginator(IAmazonRoboMaker client, ListDeploymentJobsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 7
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }