예제 #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;
     }
 }
예제 #2
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
예제 #3
0
 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;
 }
예제 #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;
 }