@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAugmentedAIRuntimeClient extends AmazonWebServiceClient implements AmazonAugmentedAIRuntime
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 |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonAugmentedAIRuntimeClientBuilder |
builder() |
DeleteHumanLoopResult |
deleteHumanLoop(DeleteHumanLoopRequest request)
Deletes the specified human loop for a flow definition.
|
DescribeHumanLoopResult |
describeHumanLoop(DescribeHumanLoopRequest request)
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 request)
Returns information about human loops, given the specified parameters.
|
StartHumanLoopResult |
startHumanLoop(StartHumanLoopRequest request)
Starts a human loop, provided that at least one activation condition is met.
|
StopHumanLoopResult |
stopHumanLoop(StopHumanLoopRequest request)
Stops the specified human loop.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AmazonAugmentedAIRuntimeClientBuilder builder()
public DeleteHumanLoopResult deleteHumanLoop(DeleteHumanLoopRequest request)
Deletes the specified human loop for a flow definition.
deleteHumanLoop in interface AmazonAugmentedAIRuntimedeleteHumanLoopRequest - 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.public DescribeHumanLoopResult describeHumanLoop(DescribeHumanLoopRequest request)
Returns information about the specified human loop.
describeHumanLoop in interface AmazonAugmentedAIRuntimedescribeHumanLoopRequest - 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.public ListHumanLoopsResult listHumanLoops(ListHumanLoopsRequest request)
Returns information about human loops, given the specified parameters.
listHumanLoops in interface AmazonAugmentedAIRuntimelistHumanLoopsRequest - 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.public StartHumanLoopResult startHumanLoop(StartHumanLoopRequest request)
Starts a human loop, provided that at least one activation condition is met.
startHumanLoop in interface AmazonAugmentedAIRuntimestartHumanLoopRequest - 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.public StopHumanLoopResult stopHumanLoop(StopHumanLoopRequest request)
Stops the specified human loop.
stopHumanLoop in interface AmazonAugmentedAIRuntimestopHumanLoopRequest - 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.public 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 the request.
getCachedResponseMetadata in interface AmazonAugmentedAIRuntimerequest - The originally executed requestCopyright © 2019. All rights reserved.