def METHOD_NAME(image_id: Optional[str] = None,
              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult:
    """
    Use this data source to get information about a Workspaces image.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    example = aws.workspaces.get_image(image_id="wsi-ten5h0y19")
    ```
    :param str image_id: ID of the image.
    """
    __args__ = dict()
    __args__['imageId'] = image_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('aws:workspaces/getImage:getImage', __args__, opts=opts, typ=GetImageResult).value
    return AwaitableGetImageResult(
        description=pulumi.get(__ret__, 'description'),
        id=pulumi.get(__ret__, 'id'),
        image_id=pulumi.get(__ret__, 'image_id'),
        name=pulumi.get(__ret__, 'name'),
        operating_system_type=pulumi.get(__ret__, 'operating_system_type'),
        required_tenancy=pulumi.get(__ret__, 'required_tenancy'),
        state=pulumi.get(__ret__, 'state'))