Exemple #1
0
 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;
     }
 }
Exemple #2
0
        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;
 }
Exemple #6
0
 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;
 }