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; } }
internal ListSimulationJobsPaginator(IAmazonRoboMaker client, ListSimulationJobsRequest request) { this._client = client; this._request = request; }
internal ListWorldsPaginator(IAmazonRoboMaker client, ListWorldsRequest request) { this._client = client; this._request = request; }
internal ListRobotApplicationsPaginator(IAmazonRoboMaker client, ListRobotApplicationsRequest request) { this._client = client; this._request = request; }
internal ListDeploymentJobsPaginator(IAmazonRoboMaker client, ListDeploymentJobsRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }