@SdkInternalApi
    final GetIpamDiscoveredAccountsResult executeGetIpamDiscoveredAccounts(GetIpamDiscoveredAccountsRequest getIpamDiscoveredAccountsRequest) {

        ExecutionContext executionContext = createExecutionContext(getIpamDiscoveredAccountsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetIpamDiscoveredAccountsRequest> request = null;
        Response<GetIpamDiscoveredAccountsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetIpamDiscoveredAccountsRequestMarshaller().marshall(super.beforeMarshalling(getIpamDiscoveredAccountsRequest));
                // 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, "EC2");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetIpamDiscoveredAccounts");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<GetIpamDiscoveredAccountsResult> responseHandler = new StaxResponseHandler<GetIpamDiscoveredAccountsResult>(
                    new GetIpamDiscoveredAccountsResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a
resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the
organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.
</p>

@param getIpamDiscoveredAccountsRequest
@return Result of the GetIpamDiscoveredAccounts operation returned by the service.
@sample AmazonEC2.GetIpamDiscoveredAccounts
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredAccounts" target="_top">AWS
     API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java