def METHOD_NAME(id: Optional[pulumi.Input[Optional[str]]] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDetectorResult]:
    """
    Retrieve information about a GuardDuty detector.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    example = aws.guardduty.get_detector()
    ```
    :param str id: ID of the detector.
    """
    ...