private Amazon.WorkSpaces.Model.DescribeTagsResponse CallAWSServiceOperation(IAmazonWorkSpaces client, Amazon.WorkSpaces.Model.DescribeTagsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon WorkSpaces", "DescribeTags"); try { #if DESKTOP return(client.DescribeTags(request)); #elif CORECLR return(client.DescribeTagsAsync(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 DescribeWorkspaceBundlesPaginator(IAmazonWorkSpaces client, DescribeWorkspaceBundlesRequest request) { this._client = client; this._request = request; }
internal WorkSpacesPaginatorFactory(IAmazonWorkSpaces client) { this.client = client; }