@SdkInternalApi
    final GetPositionConfigurationResult executeGetPositionConfiguration(GetPositionConfigurationRequest getPositionConfigurationRequest) {

        ExecutionContext executionContext = createExecutionContext(getPositionConfigurationRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetPositionConfigurationRequest> request = null;
        Response<GetPositionConfigurationResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetPositionConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(getPositionConfigurationRequest));
                // 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, "IoT Wireless");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetPositionConfiguration");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Get position configuration for a given resource.
</p>
<important>
<p>
This action is no longer supported. Calls to retrieve the position configuration should use the <a
href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html"
>GetResourcePosition</a> API operation instead.
</p>
</important>

@param getPositionConfigurationRequest
@return Result of the GetPositionConfiguration operation returned by the service.
@throws ValidationException
        The input did not meet the specified constraints.
@throws AccessDeniedException
        User does not have permission to perform this action.
@throws ResourceNotFoundException
        Resource does not exist.
@throws ThrottlingException
        The request was denied because it exceeded the allowed API request rate.
@throws InternalServerException
        An unexpected error occurred while processing a request.
@sample AWSIoTWireless.GetPositionConfiguration
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetPositionConfiguration"
     target="_top">AWS API Documentation</a>
aws-java-sdk-iotwireless/src/main/java/com/amazonaws/services/iotwireless/AWSIoTWirelessClient.java