internal ListTestCasesPaginator(IAmazonIoTDeviceAdvisor client, ListTestCasesRequest request) { this._client = client; this._request = request; }
private Amazon.IoTDeviceAdvisor.Model.ListSuiteDefinitionsResponse CallAWSServiceOperation(IAmazonIoTDeviceAdvisor client, Amazon.IoTDeviceAdvisor.Model.ListSuiteDefinitionsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS IoT Core Device Advisor", "ListSuiteDefinitions"); try { #if DESKTOP return(client.ListSuiteDefinitions(request)); #elif CORECLR return(client.ListSuiteDefinitionsAsync(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 ListSuiteDefinitionsPaginator(IAmazonIoTDeviceAdvisor client, ListSuiteDefinitionsRequest request) { this._client = client; this._request = request; }
internal IoTDeviceAdvisorPaginatorFactory(IAmazonIoTDeviceAdvisor client) { this.client = client; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }