@Override
    public DescribeDeviceEc2InstancesResult describeDeviceEc2Instances(DescribeDeviceEc2InstancesRequest request) {
        request = beforeClientExecution(request);
        return executeDescribeDeviceEc2Instances(request);
    }
<p>
Checks the current state of the Amazon EC2 instances. The output is similar to <code>describeDevice</code>, but
the results are sourced from the device cache in the Amazon Web Services Cloud and include a subset of the
available fields.
</p>

@param describeDeviceEc2InstancesRequest
@return Result of the DescribeDeviceEc2Instances operation returned by the service.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws InternalServerException
        An unexpected error occurred while processing the request.
@throws ResourceNotFoundException
        The request references a resource that doesn't exist.
@throws ValidationException
        The input fails to satisfy the constraints specified by an Amazon Web Services service.
@throws AccessDeniedException
        You don't have sufficient access to perform this action.
@sample AWSSnowDeviceManagement.DescribeDeviceEc2Instances
@see <a
     href="http://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeDeviceEc2Instances"
     target="_top">AWS API Documentation</a>
aws-java-sdk-snowdevicemanagement/src/main/java/com/amazonaws/services/snowdevicemanagement/AWSSnowDeviceManagementClient.java