internal LocationServicePaginatorFactory(IAmazonLocationService client)
 {
     this.client = client;
 }
Exemple #2
0
 private Amazon.LocationService.Model.TagResourceResponse CallAWSServiceOperation(IAmazonLocationService client, Amazon.LocationService.Model.TagResourceRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Location Service", "TagResource");
     try
     {
         #if DESKTOP
         return(client.TagResource(request));
         #elif CORECLR
         return(client.TagResourceAsync(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 #3
0
 internal ListDevicePositionsPaginator(IAmazonLocationService client, ListDevicePositionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListTrackersPaginator(IAmazonLocationService client, ListTrackersRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #5
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Exemple #6
0
 internal GetDevicePositionHistoryPaginator(IAmazonLocationService client, GetDevicePositionHistoryRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #7
0
 internal ListPlaceIndexesPaginator(IAmazonLocationService client, ListPlaceIndexesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListGeofenceCollectionsPaginator(IAmazonLocationService client, ListGeofenceCollectionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #9
0
 internal ListRouteCalculatorsPaginator(IAmazonLocationService client, ListRouteCalculatorsRequest request)
 {
     this._client  = client;
     this._request = request;
 }