@SdkInternalApi
    final GetIpamDiscoveredResourceCidrsResult executeGetIpamDiscoveredResourceCidrs(GetIpamDiscoveredResourceCidrsRequest getIpamDiscoveredResourceCidrsRequest) {

        ExecutionContext executionContext = createExecutionContext(getIpamDiscoveredResourceCidrsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetIpamDiscoveredResourceCidrsRequest> request = null;
        Response<GetIpamDiscoveredResourceCidrsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetIpamDiscoveredResourceCidrsRequestMarshaller().marshall(super.beforeMarshalling(getIpamDiscoveredResourceCidrsRequest));
                // 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, "GetIpamDiscoveredResourceCidrs");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<GetIpamDiscoveredResourceCidrsResult> responseHandler = new StaxResponseHandler<GetIpamDiscoveredResourceCidrsResult>(
                    new GetIpamDiscoveredResourceCidrsResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a
resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4
pools, VPC subnets, and Elastic IP addresses.
</p>

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