@SdkInternalApi
    final ModifyIpamResourceCidrResult executeModifyIpamResourceCidr(ModifyIpamResourceCidrRequest modifyIpamResourceCidrRequest) {

        ExecutionContext executionContext = createExecutionContext(modifyIpamResourceCidrRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ModifyIpamResourceCidrRequest> request = null;
        Response<ModifyIpamResourceCidrResult> response = null;

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

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

            StaxResponseHandler<ModifyIpamResourceCidrResult> responseHandler = new StaxResponseHandler<ModifyIpamResourceCidrResult>(
                    new ModifyIpamResourceCidrResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource
CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be
auto-imported into a pool, and it will be removed from any pool it has an allocation in.
</p>
<p>
For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/move-resource-ipam.html">Move
resource CIDRs between scopes</a> and <a
href="https://docs.aws.amazon.com/vpc/latest/ipam/change-monitoring-state-ipam.html">Change the monitoring state
of resource CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i>.
</p>

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