@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonAugmentedAIRuntime
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonAugmentedAIRuntime 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.
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteHumanLoopResult |
deleteHumanLoop(DeleteHumanLoopRequest deleteHumanLoopRequest)
Deletes the specified human loop for a flow definition.
|
DescribeHumanLoopResult |
describeHumanLoop(DescribeHumanLoopRequest describeHumanLoopRequest)
Returns information about the specified human loop.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListHumanLoopsResult |
listHumanLoops(ListHumanLoopsRequest listHumanLoopsRequest)
Returns information about human loops, given the specified parameters.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartHumanLoopResult |
startHumanLoop(StartHumanLoopRequest startHumanLoopRequest)
Starts a human loop, provided that at least one activation condition is met.
|
StopHumanLoopResult |
stopHumanLoop(StopHumanLoopRequest stopHumanLoopRequest)
Stops the specified human loop.
|
static final String ENDPOINT_PREFIX
DeleteHumanLoopResult deleteHumanLoop(DeleteHumanLoopRequest deleteHumanLoopRequest)
Deletes the specified human loop for a flow definition.
deleteHumanLoopRequest - ValidationException - Your request was not valid. Check the syntax and try again.ResourceNotFoundException - We were unable to find the requested resource.ThrottlingException - Your request has exceeded the allowed amount of requests.InternalServerException - Your request could not be processed.DescribeHumanLoopResult describeHumanLoop(DescribeHumanLoopRequest describeHumanLoopRequest)
Returns information about the specified human loop.
describeHumanLoopRequest - ValidationException - Your request was not valid. Check the syntax and try again.ResourceNotFoundException - We were unable to find the requested resource.ThrottlingException - Your request has exceeded the allowed amount of requests.InternalServerException - Your request could not be processed.ListHumanLoopsResult listHumanLoops(ListHumanLoopsRequest listHumanLoopsRequest)
Returns information about human loops, given the specified parameters.
listHumanLoopsRequest - ValidationException - Your request was not valid. Check the syntax and try again.ThrottlingException - Your request has exceeded the allowed amount of requests.InternalServerException - Your request could not be processed.StartHumanLoopResult startHumanLoop(StartHumanLoopRequest startHumanLoopRequest)
Starts a human loop, provided that at least one activation condition is met.
startHumanLoopRequest - ValidationException - Your request was not valid. Check the syntax and try again.ThrottlingException - Your request has exceeded the allowed amount of requests.ServiceQuotaExceededException - You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or request a service quota increase.InternalServerException - Your request could not be processed.StopHumanLoopResult stopHumanLoop(StopHumanLoopRequest stopHumanLoopRequest)
Stops the specified human loop.
stopHumanLoopRequest - ValidationException - Your request was not valid. Check the syntax and try again.ResourceNotFoundException - We were unable to find the requested resource.ThrottlingException - Your request has exceeded the allowed amount of requests.InternalServerException - Your request could not be processed.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request - The originally executed request.Copyright © 2019. All rights reserved.