def by_targeted_managed_app_policy_assignment_id(self,targeted_managed_app_policy_assignment_id: str) -> TargetedManagedAppPolicyAssignmentItemRequestBuilder:
        """
        Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity.
        param targeted_managed_app_policy_assignment_id: The unique identifier of targetedManagedAppPolicyAssignment
        Returns: TargetedManagedAppPolicyAssignmentItemRequestBuilder
        """
        if targeted_managed_app_policy_assignment_id is None:
            raise TypeError("targeted_managed_app_policy_assignment_id cannot be null.")
        from .item.targeted_managed_app_policy_assignment_item_request_builder import TargetedManagedAppPolicyAssignmentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["targetedManagedAppPolicyAssignment%2Did"] = targeted_managed_app_policy_assignment_id
        return TargetedManagedAppPolicyAssignmentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity.
        param targeted_managed_app_policy_assignment_id: The unique identifier of targetedManagedAppPolicyAssignment
        Returns: TargetedManagedAppPolicyAssignmentItemRequestBuilder
        
msgraph/generated/device_app_management/ios_managed_app_protections/item/assignments/assignments_request_builder.py