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; }
internal GetAssetPropertyValueHistoryPaginator(IAmazonIoTSiteWise client, GetAssetPropertyValueHistoryRequest request) { this._client = client; this._request = request; }
internal ListProjectsPaginator(IAmazonIoTSiteWise client, ListProjectsRequest request) { this._client = client; this._request = request; }
internal GetInterpolatedAssetPropertyValuesPaginator(IAmazonIoTSiteWise client, GetInterpolatedAssetPropertyValuesRequest request) { this._client = client; this._request = request; }
internal ListAccessPoliciesPaginator(IAmazonIoTSiteWise client, ListAccessPoliciesRequest request) { this._client = client; this._request = request; }
internal ListAssetRelationshipsPaginator(IAmazonIoTSiteWise client, ListAssetRelationshipsRequest request) { this._client = client; this._request = request; }
internal ListTimeSeriesPaginator(IAmazonIoTSiteWise client, ListTimeSeriesRequest request) { this._client = client; this._request = request; }
internal ListGatewaysPaginator(IAmazonIoTSiteWise client, ListGatewaysRequest request) { this._client = client; this._request = request; }
internal ListDashboardsPaginator(IAmazonIoTSiteWise client, ListDashboardsRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }