private Amazon.IoTTwinMaker.Model.ListScenesResponse CallAWSServiceOperation(IAmazonIoTTwinMaker client, Amazon.IoTTwinMaker.Model.ListScenesRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS IoT TwinMaker", "ListScenes"); try { #if DESKTOP return(client.ListScenes(request)); #elif CORECLR return(client.ListScenesAsync(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 IoTTwinMakerPaginatorFactory(IAmazonIoTTwinMaker client) { this.client = client; }
internal ListComponentTypesPaginator(IAmazonIoTTwinMaker client, ListComponentTypesRequest request) { this._client = client; this._request = request; }
internal GetPropertyValueHistoryPaginator(IAmazonIoTTwinMaker client, GetPropertyValueHistoryRequest request) { this._client = client; this._request = request; }
internal ListEntitiesPaginator(IAmazonIoTTwinMaker client, ListEntitiesRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }