View on GitHub

aws-sdk-swift

SageMakerA2IRuntimeClientProtocol

Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning application. When an AI application can’t evaluate data with a high degree of confidence, human reviewers can take over. This human review is called a human review workflow. To create and start a human review workflow, you need three resources: a worker task template, a flow definition, and a human loop. For information about these resources and prerequisites for using Amazon A2I, see Get Started with Amazon Augmented AI in the Amazon SageMaker Developer Guide. This API reference includes information about API actions and data types that you can use to interact with Amazon A2I programmatically. Use this guide to:

public protocol SageMakerA2IRuntimeClientProtocol 

Amazon A2I integrates APIs from various AWS services to create and start human review workflows for those services. To learn how Amazon A2I uses these APIs, see Use APIs in Amazon A2I in the Amazon SageMaker Developer Guide.

Requirements

deleteHumanLoop(input:completion:)

Deletes the specified human loop for a flow definition. If the human loop was deleted, this operation will return a ResourceNotFoundException.

func deleteHumanLoop(input: DeleteHumanLoopInput, completion: @escaping (ClientRuntime.SdkResult<DeleteHumanLoopOutputResponse, DeleteHumanLoopOutputError>) -> Void)

describeHumanLoop(input:completion:)

Returns information about the specified human loop. If the human loop was deleted, this operation will return a ResourceNotFoundException error.

func describeHumanLoop(input: DescribeHumanLoopInput, completion: @escaping (ClientRuntime.SdkResult<DescribeHumanLoopOutputResponse, DescribeHumanLoopOutputError>) -> Void)

listHumanLoops(input:completion:)

Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.

func listHumanLoops(input: ListHumanLoopsInput, completion: @escaping (ClientRuntime.SdkResult<ListHumanLoopsOutputResponse, ListHumanLoopsOutputError>) -> Void)

startHumanLoop(input:completion:)

Starts a human loop, provided that at least one activation condition is met.

func startHumanLoop(input: StartHumanLoopInput, completion: @escaping (ClientRuntime.SdkResult<StartHumanLoopOutputResponse, StartHumanLoopOutputError>) -> Void)

stopHumanLoop(input:completion:)

Stops the specified human loop.

func stopHumanLoop(input: StopHumanLoopInput, completion: @escaping (ClientRuntime.SdkResult<StopHumanLoopOutputResponse, StopHumanLoopOutputError>) -> Void)