private Amazon.NimbleStudio.Model.GetStudioResponse CallAWSServiceOperation(IAmazonNimbleStudio client, Amazon.NimbleStudio.Model.GetStudioRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Nimble Studio", "GetStudio"); try { #if DESKTOP return(client.GetStudio(request)); #elif CORECLR return(client.GetStudioAsync(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; } }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }
internal ListStudiosPaginator(IAmazonNimbleStudio client, ListStudiosRequest request) { this._client = client; this._request = request; }
internal ListLaunchProfileMembersPaginator(IAmazonNimbleStudio client, ListLaunchProfileMembersRequest request) { this._client = client; this._request = request; }
internal NimbleStudioPaginatorFactory(IAmazonNimbleStudio client) { this.client = client; }
internal ListEulaAcceptancesPaginator(IAmazonNimbleStudio client, ListEulaAcceptancesRequest request) { this._client = client; this._request = request; }