@SdkInternalApi
    final UpdateMapRunResult executeUpdateMapRun(UpdateMapRunRequest updateMapRunRequest) {

        ExecutionContext executionContext = createExecutionContext(updateMapRunRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<UpdateMapRunRequest> request = null;
        Response<UpdateMapRunResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new UpdateMapRunRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateMapRunRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "SFN");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateMapRun");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<UpdateMapRunResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateMapRunResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Updates an in-progress Map Run's configuration to include changes to the settings that control maximum
concurrency and Map Run failure.
</p>

@param updateMapRunRequest
@return Result of the UpdateMapRun operation returned by the service.
@throws ResourceNotFoundException
        Could not find the referenced resource.
@throws InvalidArnException
        The provided Amazon Resource Name (ARN) is not valid.
@throws ValidationException
        The input does not satisfy the constraints specified by an Amazon Web Services service.
@sample AWSStepFunctions.UpdateMapRun
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateMapRun" target="_top">AWS API
     Documentation</a>
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/AWSStepFunctionsClient.java