private Amazon.Panorama.Model.DescribeDeviceResponse CallAWSServiceOperation(IAmazonPanorama client, Amazon.Panorama.Model.DescribeDeviceRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Panorama", "DescribeDevice"); try { #if DESKTOP return(client.DescribeDevice(request)); #elif CORECLR return(client.DescribeDeviceAsync(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 ListNodesPaginator(IAmazonPanorama client, ListNodesRequest request) { this._client = client; this._request = request; }
internal ListApplicationInstanceNodeInstancesPaginator(IAmazonPanorama client, ListApplicationInstanceNodeInstancesRequest request) { this._client = client; this._request = request; }
internal ListNodeFromTemplateJobsPaginator(IAmazonPanorama client, ListNodeFromTemplateJobsRequest request) { this._client = client; this._request = request; }
internal ListPackageImportJobsPaginator(IAmazonPanorama client, ListPackageImportJobsRequest request) { this._client = client; this._request = request; }
internal ListDevicesJobsPaginator(IAmazonPanorama client, ListDevicesJobsRequest request) { this._client = client; this._request = request; }
internal PanoramaPaginatorFactory(IAmazonPanorama client) { this.client = client; }