# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import builtins as _builtins
import warnings
import sys
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
if sys.version_info >= (3, 11):
    from typing import NotRequired, TypedDict, TypeAlias
else:
    from typing_extensions import NotRequired, TypedDict, TypeAlias
from .. import _utilities
from . import outputs
from ._enums import *

__all__ = [
    'ListBlueprintSyncsResult',
    'AwaitableListBlueprintSyncsResult',
    'list_blueprint_syncs',
    'list_blueprint_syncs_output',
]

@pulumi.output_type
class ListBlueprintSyncsResult:
    def __init__(__self__, items=None):
        if items and not isinstance(items, list):
            raise TypeError("Expected argument 'items' to be a list")
        pulumi.set(__self__, "items", items)

    @_builtins.property
    @pulumi.getter
    def items(self) -> Sequence['outputs.SyncWithCursor']:
        return pulumi.get(self, "items")


class AwaitableListBlueprintSyncsResult(ListBlueprintSyncsResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return ListBlueprintSyncsResult(
            items=self.items)


def list_blueprint_syncs(blueprint_id: Optional[_builtins.str] = None,
                         opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBlueprintSyncsResult:
    """
    Use this data source to access information about an existing resource.

    :param _builtins.str blueprint_id: The ID of the Blueprint
    """
    __args__ = dict()
    __args__['blueprintId'] = blueprint_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('render:blueprints:listBlueprintSyncs', __args__, opts=opts, typ=ListBlueprintSyncsResult).value

    return AwaitableListBlueprintSyncsResult(
        items=pulumi.get(__ret__, 'items'))
def list_blueprint_syncs_output(blueprint_id: Optional[pulumi.Input[_builtins.str]] = None,
                                opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListBlueprintSyncsResult]:
    """
    Use this data source to access information about an existing resource.

    :param _builtins.str blueprint_id: The ID of the Blueprint
    """
    __args__ = dict()
    __args__['blueprintId'] = blueprint_id
    opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke_output('render:blueprints:listBlueprintSyncs', __args__, opts=opts, typ=ListBlueprintSyncsResult)
    return __ret__.apply(lambda __response__: ListBlueprintSyncsResult(
        items=pulumi.get(__response__, 'items')))
