@Override
    public SendTaskSuccessResult sendTaskSuccess(SendTaskSuccessRequest request) {
        request = beforeClientExecution(request);
        return executeSendTaskSuccess(request);
    }
<p>
Used by activity workers, Task states using the <a
href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token"
>callback</a> pattern, and optionally Task states using the <a
href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-sync">job run</a>
pattern to report that the task identified by the <code>taskToken</code> completed successfully.
</p>

@param sendTaskSuccessRequest
@return Result of the SendTaskSuccess operation returned by the service.
@throws TaskDoesNotExistException
        The activity does not exist.
@throws InvalidOutputException
        The provided JSON output data is not valid.
@throws InvalidTokenException
        The provided token is not valid.
@throws TaskTimedOutException
        The task token has either expired or the task associated with the token has already been closed.
@throws KmsAccessDeniedException
        Either your KMS key policy or API caller does not have the required permissions.
@throws KmsInvalidStateException
        The KMS key is not in valid state, for example: Disabled or Deleted.
@throws KmsThrottlingException
        Received when KMS returns <code>ThrottlingException</code> for a KMS call that Step Functions makes on
        behalf of the caller.
@sample AWSStepFunctions.SendTaskSuccess
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess" target="_top">AWS API
     Documentation</a>
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/AWSStepFunctionsClient.java