@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonAugmentedAIRuntimeAsync extends AmazonAugmentedAIRuntime
AsyncHandler can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonAugmentedAIRuntimeAsync instead.
Amazon Augmented AI (Augmented AI) (Preview) is a service that adds human judgment to any machine learning application. Human reviewers can take over when an AI application can't evaluate data with a high degree of confidence.
From fraudulent bank transaction identification to document processing to image analysis, machine learning models can be trained to make decisions as well as or better than a human. Nevertheless, some decisions require contextual interpretation, such as when you need to decide whether an image is appropriate for a given audience. Content moderation guidelines are nuanced and highly dependent on context, and they vary between countries. When trying to apply AI in these situations, you can be forced to choose between "ML only" systems with unacceptably high error rates or "human only" systems that are expensive and difficult to scale, and that slow down decision making.
This API reference includes information about API actions and data types you can use to interact with Augmented AI programmatically.
You can create a flow definition against the Augmented AI API. Provide the Amazon Resource Name (ARN) of a flow
definition to integrate AI service APIs, such as Textract.AnalyzeDocument and
Rekognition.DetectModerationLabels. These AI services, in turn, invoke the StartHumanLoop API,
which evaluates conditions under which humans will be invoked. If humans are required, Augmented AI creates a human
loop. Results of human work are available asynchronously in Amazon Simple Storage Service (Amazon S3). You can use
Amazon CloudWatch Events to detect human work results.
You can find additional Augmented AI API documentation in the following reference guides: Amazon Rekognition, Amazon SageMaker, and Amazon Textract.
ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<DeleteHumanLoopResult> |
deleteHumanLoopAsync(DeleteHumanLoopRequest deleteHumanLoopRequest)
Deletes the specified human loop for a flow definition.
|
Future<DeleteHumanLoopResult> |
deleteHumanLoopAsync(DeleteHumanLoopRequest deleteHumanLoopRequest,
AsyncHandler<DeleteHumanLoopRequest,DeleteHumanLoopResult> asyncHandler)
Deletes the specified human loop for a flow definition.
|
Future<DescribeHumanLoopResult> |
describeHumanLoopAsync(DescribeHumanLoopRequest describeHumanLoopRequest)
Returns information about the specified human loop.
|
Future<DescribeHumanLoopResult> |
describeHumanLoopAsync(DescribeHumanLoopRequest describeHumanLoopRequest,
AsyncHandler<DescribeHumanLoopRequest,DescribeHumanLoopResult> asyncHandler)
Returns information about the specified human loop.
|
Future<ListHumanLoopsResult> |
listHumanLoopsAsync(ListHumanLoopsRequest listHumanLoopsRequest)
Returns information about human loops, given the specified parameters.
|
Future<ListHumanLoopsResult> |
listHumanLoopsAsync(ListHumanLoopsRequest listHumanLoopsRequest,
AsyncHandler<ListHumanLoopsRequest,ListHumanLoopsResult> asyncHandler)
Returns information about human loops, given the specified parameters.
|
Future<StartHumanLoopResult> |
startHumanLoopAsync(StartHumanLoopRequest startHumanLoopRequest)
Starts a human loop, provided that at least one activation condition is met.
|
Future<StartHumanLoopResult> |
startHumanLoopAsync(StartHumanLoopRequest startHumanLoopRequest,
AsyncHandler<StartHumanLoopRequest,StartHumanLoopResult> asyncHandler)
Starts a human loop, provided that at least one activation condition is met.
|
Future<StopHumanLoopResult> |
stopHumanLoopAsync(StopHumanLoopRequest stopHumanLoopRequest)
Stops the specified human loop.
|
Future<StopHumanLoopResult> |
stopHumanLoopAsync(StopHumanLoopRequest stopHumanLoopRequest,
AsyncHandler<StopHumanLoopRequest,StopHumanLoopResult> asyncHandler)
Stops the specified human loop.
|
deleteHumanLoop, describeHumanLoop, getCachedResponseMetadata, listHumanLoops, shutdown, startHumanLoop, stopHumanLoopFuture<DeleteHumanLoopResult> deleteHumanLoopAsync(DeleteHumanLoopRequest deleteHumanLoopRequest)
Deletes the specified human loop for a flow definition.
deleteHumanLoopRequest - Future<DeleteHumanLoopResult> deleteHumanLoopAsync(DeleteHumanLoopRequest deleteHumanLoopRequest, AsyncHandler<DeleteHumanLoopRequest,DeleteHumanLoopResult> asyncHandler)
Deletes the specified human loop for a flow definition.
deleteHumanLoopRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeHumanLoopResult> describeHumanLoopAsync(DescribeHumanLoopRequest describeHumanLoopRequest)
Returns information about the specified human loop.
describeHumanLoopRequest - Future<DescribeHumanLoopResult> describeHumanLoopAsync(DescribeHumanLoopRequest describeHumanLoopRequest, AsyncHandler<DescribeHumanLoopRequest,DescribeHumanLoopResult> asyncHandler)
Returns information about the specified human loop.
describeHumanLoopRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListHumanLoopsResult> listHumanLoopsAsync(ListHumanLoopsRequest listHumanLoopsRequest)
Returns information about human loops, given the specified parameters.
listHumanLoopsRequest - Future<ListHumanLoopsResult> listHumanLoopsAsync(ListHumanLoopsRequest listHumanLoopsRequest, AsyncHandler<ListHumanLoopsRequest,ListHumanLoopsResult> asyncHandler)
Returns information about human loops, given the specified parameters.
listHumanLoopsRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartHumanLoopResult> startHumanLoopAsync(StartHumanLoopRequest startHumanLoopRequest)
Starts a human loop, provided that at least one activation condition is met.
startHumanLoopRequest - Future<StartHumanLoopResult> startHumanLoopAsync(StartHumanLoopRequest startHumanLoopRequest, AsyncHandler<StartHumanLoopRequest,StartHumanLoopResult> asyncHandler)
Starts a human loop, provided that at least one activation condition is met.
startHumanLoopRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopHumanLoopResult> stopHumanLoopAsync(StopHumanLoopRequest stopHumanLoopRequest)
Stops the specified human loop.
stopHumanLoopRequest - Future<StopHumanLoopResult> stopHumanLoopAsync(StopHumanLoopRequest stopHumanLoopRequest, AsyncHandler<StopHumanLoopRequest,StopHumanLoopResult> asyncHandler)
Stops the specified human loop.
stopHumanLoopRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2019. All rights reserved.