private Amazon.WorkSpacesWeb.Model.GetPortalResponse CallAWSServiceOperation(IAmazonWorkSpacesWeb client, Amazon.WorkSpacesWeb.Model.GetPortalRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon WorkSpaces Web", "GetPortal"); try { #if DESKTOP return(client.GetPortal(request)); #elif CORECLR return(client.GetPortalAsync(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 ListNetworkSettingsPaginator(IAmazonWorkSpacesWeb client, ListNetworkSettingsRequest request) { this._client = client; this._request = request; }
internal WorkSpacesWebPaginatorFactory(IAmazonWorkSpacesWeb client) { this.client = client; }
internal ListIdentityProvidersPaginator(IAmazonWorkSpacesWeb client, ListIdentityProvidersRequest request) { this._client = client; this._request = request; }
internal ListTrustStoresPaginator(IAmazonWorkSpacesWeb client, ListTrustStoresRequest request) { this._client = client; this._request = request; }
internal ListPortalsPaginator(IAmazonWorkSpacesWeb client, ListPortalsRequest request) { this._client = client; this._request = request; }