def METHOD_NAME(env_id: Optional[str] = None,
                               org_id: Optional[str] = None,
                               opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentIamPolicyResult:
    """
    Retrieves the current IAM policy data for environment
    ## example
    ```python
    import pulumi
    import pulumi_gcp as gcp
    policy = gcp.apigee.get_environment_iam_policy(org_id=google_apigee_environment["apigee_environment"]["org_id"],
        env_id=google_apigee_environment["apigee_environment"]["name"])
    ```
    :param str env_id: Used to find the parent resource to bind the IAM policy to
    """
    __args__ = dict()
    __args__['envId'] = env_id
    __args__['orgId'] = org_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('gcp:apigee/getEnvironmentIamPolicy:getEnvironmentIamPolicy', __args__, opts=opts, typ=GetEnvironmentIamPolicyResult).value
    return AwaitableGetEnvironmentIamPolicyResult(
        env_id=pulumi.get(__ret__, 'env_id'),
        etag=pulumi.get(__ret__, 'etag'),
        id=pulumi.get(__ret__, 'id'),
        org_id=pulumi.get(__ret__, 'org_id'),
        policy_data=pulumi.get(__ret__, 'policy_data'))