@SdkInternalApi
    final DomainMetadataResult executeDomainMetadata(DomainMetadataRequest domainMetadataRequest) {

        ExecutionContext executionContext = createExecutionContext(domainMetadataRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DomainMetadataRequest> request = null;
        Response<DomainMetadataResult> response = null;

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

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

            StaxResponseHandler<DomainMetadataResult> responseHandler = new com.amazonaws.services.simpledb.internal.SimpleDBStaxResponseHandler<DomainMetadataResult>(
                    new DomainMetadataResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Returns information about the domain, including when the domain was created, the number of items and attributes
in the domain, and the size of the attribute names and values.
</p>

@param domainMetadataRequest
@return Result of the DomainMetadata operation returned by the service.
@throws MissingParameterException
        The request must contain the specified missing parameter.
@throws NoSuchDomainException
        The specified domain does not exist.
@sample AmazonSimpleDB.DomainMetadata
aws-java-sdk-simpledb/src/main/java/com/amazonaws/services/simpledb/AmazonSimpleDBClient.java