Ejemplo n.º 1
0
 private Amazon.IoTSiteWise.Model.ListPortalsResponse CallAWSServiceOperation(IAmazonIoTSiteWise client, Amazon.IoTSiteWise.Model.ListPortalsRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS IoT SiteWise", "ListPortals");
     try
     {
         #if DESKTOP
         return(client.ListPortals(request));
         #elif CORECLR
         return(client.ListPortalsAsync(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;
     }
 }
 internal ListAssetModelsPaginator(IAmazonIoTSiteWise client, ListAssetModelsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal IoTSiteWisePaginatorFactory(IAmazonIoTSiteWise client)
 {
     this.client = client;
 }
 internal GetAssetPropertyAggregatesPaginator(IAmazonIoTSiteWise client, GetAssetPropertyAggregatesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 5
0
 internal GetAssetPropertyValueHistoryPaginator(IAmazonIoTSiteWise client, GetAssetPropertyValueHistoryRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 6
0
 internal ListProjectsPaginator(IAmazonIoTSiteWise client, ListProjectsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 7
0
 internal GetInterpolatedAssetPropertyValuesPaginator(IAmazonIoTSiteWise client, GetInterpolatedAssetPropertyValuesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 8
0
 internal ListAccessPoliciesPaginator(IAmazonIoTSiteWise client, ListAccessPoliciesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 9
0
 internal ListAssetRelationshipsPaginator(IAmazonIoTSiteWise client, ListAssetRelationshipsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 10
0
 internal ListTimeSeriesPaginator(IAmazonIoTSiteWise client, ListTimeSeriesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 11
0
 internal ListGatewaysPaginator(IAmazonIoTSiteWise client, ListGatewaysRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 12
0
 internal ListDashboardsPaginator(IAmazonIoTSiteWise client, ListDashboardsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }