@SdkInternalApi
    final DescribePrincipalIdFormatResult executeDescribePrincipalIdFormat(DescribePrincipalIdFormatRequest describePrincipalIdFormatRequest) {

        ExecutionContext executionContext = createExecutionContext(describePrincipalIdFormatRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DescribePrincipalIdFormatRequest> request = null;
        Response<DescribePrincipalIdFormatResult> response = null;

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

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

            StaxResponseHandler<DescribePrincipalIdFormatResult> responseHandler = new StaxResponseHandler<DescribePrincipalIdFormatResult>(
                    new DescribePrincipalIdFormatResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Describes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified
a longer ID (17-character ID) preference.
</p>
<p>
By default, all IAM roles and IAM users default to the same ID settings as the root user, unless they explicitly
override the settings. This request is useful for identifying those IAM users and IAM roles that have overridden
the default ID settings.
</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>

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