def METHOD_NAME(filter: Optional[pulumi.InputType['GetTagsFilterArgs']] = None,
             search_string: Optional[str] = None,
             sort_bies: Optional[Sequence[pulumi.InputType['GetTagsSortByArgs']]] = None,
             tag_key: Optional[str] = None,
             time_period: Optional[pulumi.InputType['GetTagsTimePeriodArgs']] = None,
             opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagsResult:
    """
    Provides details about a specific CE Tags.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    test = aws.costexplorer.get_tags(time_period=aws.costexplorer.GetTagsTimePeriodArgs(
        end="2022-12-01",
        start="2021-01-01",
    ))
    ```
    :param pulumi.InputType['GetTagsFilterArgs'] filter: Configuration block for the `Expression` object used to categorize costs. See below.
    :param str search_string: Value that you want to search for.
    :param Sequence[pulumi.InputType['GetTagsSortByArgs']] sort_bies: Configuration block for the value by which you want to sort the data. See below.
    :param str tag_key: Key of the tag that you want to return values for.
    :param pulumi.InputType['GetTagsTimePeriodArgs'] time_period: Configuration block for the start and end dates for retrieving the dimension values.
           The following arguments are optional:
    """
    __args__ = dict()
    __args__['filter'] = filter
    __args__['searchString'] = search_string
    __args__['sortBies'] = sort_bies
    __args__['tagKey'] = tag_key
    __args__['timePeriod'] = time_period
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('aws:costexplorer/getTags:getTags', __args__, opts=opts, typ=GetTagsResult).value
    return AwaitableGetTagsResult(
        filter=pulumi.get(__ret__, 'filter'),
        id=pulumi.get(__ret__, 'id'),
        search_string=pulumi.get(__ret__, 'search_string'),
        sort_bies=pulumi.get(__ret__, 'sort_bies'),
        tag_key=pulumi.get(__ret__, 'tag_key'),
        tags=pulumi.get(__ret__, 'tags'),
        time_period=pulumi.get(__ret__, 'time_period'))