Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
        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;
 }
Ejemplo n.º 5
0
 internal ListIdentityProvidersPaginator(IAmazonWorkSpacesWeb client, ListIdentityProvidersRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListTrustStoresPaginator(IAmazonWorkSpacesWeb client, ListTrustStoresRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 7
0
 internal ListPortalsPaginator(IAmazonWorkSpacesWeb client, ListPortalsRequest request)
 {
     this._client  = client;
     this._request = request;
 }