def by_device_compliance_policy_assignment_id(self,device_compliance_policy_assignment_id: str) -> DeviceCompliancePolicyAssignmentItemRequestBuilder:
        """
        Provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity.
        param device_compliance_policy_assignment_id: The unique identifier of deviceCompliancePolicyAssignment
        Returns: DeviceCompliancePolicyAssignmentItemRequestBuilder
        """
        if device_compliance_policy_assignment_id is None:
            raise TypeError("device_compliance_policy_assignment_id cannot be null.")
        from .item.device_compliance_policy_assignment_item_request_builder import DeviceCompliancePolicyAssignmentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["deviceCompliancePolicyAssignment%2Did"] = device_compliance_policy_assignment_id
        return DeviceCompliancePolicyAssignmentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity.
        param device_compliance_policy_assignment_id: The unique identifier of deviceCompliancePolicyAssignment
        Returns: DeviceCompliancePolicyAssignmentItemRequestBuilder
        
msgraph/generated/device_management/device_compliance_policies/item/assignments/assignments_request_builder.py