private Amazon.AugmentedAIRuntime.Model.DescribeHumanLoopResponse CallAWSServiceOperation(IAmazonAugmentedAIRuntime client, Amazon.AugmentedAIRuntime.Model.DescribeHumanLoopRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Augmented AI (A2I) Runtime", "DescribeHumanLoop"); try { #if DESKTOP return(client.DescribeHumanLoop(request)); #elif CORECLR return(client.DescribeHumanLoopAsync(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; } }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }
internal AugmentedAIRuntimePaginatorFactory(IAmazonAugmentedAIRuntime client) { this.client = client; }
internal ListHumanLoopsPaginator(IAmazonAugmentedAIRuntime client, ListHumanLoopsRequest request) { this._client = client; this._request = request; }