Exemplo n.º 1
0
 private Amazon.GroundStation.Model.GetConfigResponse CallAWSServiceOperation(IAmazonGroundStation client, Amazon.GroundStation.Model.GetConfigRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Ground Station", "GetConfig");
     try
     {
         #if DESKTOP
         return(client.GetConfig(request));
         #elif CORECLR
         return(client.GetConfigAsync(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;
     }
 }
Exemplo n.º 2
0
 internal ListContactsPaginator(IAmazonGroundStation client, ListContactsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 3
0
 internal ListDataflowEndpointGroupsPaginator(IAmazonGroundStation client, ListDataflowEndpointGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 4
0
 internal ListSatellitesPaginator(IAmazonGroundStation client, ListSatellitesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal GroundStationPaginatorFactory(IAmazonGroundStation client)
 {
     this.client = client;
 }
Exemplo n.º 6
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Exemplo n.º 7
0
 internal ListMissionProfilesPaginator(IAmazonGroundStation client, ListMissionProfilesRequest request)
 {
     this._client  = client;
     this._request = request;
 }