def by_access_package_assignment_id(self,access_package_assignment_id: str) -> AccessPackageAssignmentItemRequestBuilder:
        """
        Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity.
        param access_package_assignment_id: The unique identifier of accessPackageAssignment
        Returns: AccessPackageAssignmentItemRequestBuilder
        """
        if access_package_assignment_id is None:
            raise TypeError("access_package_assignment_id cannot be null.")
        from .item.access_package_assignment_item_request_builder import AccessPackageAssignmentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["accessPackageAssignment%2Did"] = access_package_assignment_id
        return AccessPackageAssignmentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity.
        param access_package_assignment_id: The unique identifier of accessPackageAssignment
        Returns: AccessPackageAssignmentItemRequestBuilder
        
msgraph/generated/identity_governance/entitlement_management/assignments/assignments_request_builder.py