@SdkInternalApi
    final DescribeIdFormatResult executeDescribeIdFormat(DescribeIdFormatRequest describeIdFormatRequest) {

        ExecutionContext executionContext = createExecutionContext(describeIdFormatRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DescribeIdFormatRequest> request = null;
        Response<DescribeIdFormatResult> response = null;

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

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

            StaxResponseHandler<DescribeIdFormatResult> responseHandler = new StaxResponseHandler<DescribeIdFormatResult>(
                    new DescribeIdFormatResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource
types are enabled for longer IDs. This request only returns information about resource types whose ID formats can
be modified; it does not return information about other resource types.
</p>
<p>
The following resource types support longer IDs: <code>bundle</code> | <code>conversion-task</code> |
<code>customer-gateway</code> | <code>dhcp-options</code> | <code>elastic-ip-allocation</code> |
<code>elastic-ip-association</code> | <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
<code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> | <code>network-acl</code> |
<code>network-acl-association</code> | <code>network-interface</code> | <code>network-interface-attachment</code>
| <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
<code>route-table-association</code> | <code>security-group</code> | <code>snapshot</code> | <code>subnet</code>
| <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code> |
<code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> | <code>vpc-peering-connection</code> |
<code>vpn-connection</code> | <code>vpn-gateway</code>.
</p>
<p>
These settings apply to the IAM user who makes the request; they do not apply to the entire Amazon Web Services
account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override
the settings by running the <a>ModifyIdFormat</a> command. Resources created with longer IDs are visible to all
IAM users, regardless of these settings and provided that they have permission to use the relevant
<code>Describe</code> command for the resource type.
</p>

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